Skip to content

Commit

Permalink
Update from release/1.1.3 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 23, 2023
1 parent c2e7b0a commit 4152865
Show file tree
Hide file tree
Showing 13 changed files with 112 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#### Version 1.1.3
* [BUGFIX] Fixed an issue with `contentUrl` not being returned in `MXOAsset` for external assets.
* [BUGFIX] Fixed an issue with `MXOAssetResponse` not returning `label`, `target`, and `targetUrl`.
* [BUGFIX] Fixed an issue with `MXOCaptureAttributePoint` not returning `capturePhase`, `captureType`, `captureDelay`, `elementType`, `elementName`, and `elementAttributeName`.

#### Version 1.1.2
* [BUGFIX] Fixed an issue with `directives` not being returned in `MXOOptimizationPoint`.
* [BUGFIX] Fixed an issue when a scheme was appended to a Touchpoint URI when not set by a developer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ typedef NS_ENUM(NSInteger, MXOMimeType) {

@property (nonatomic, strong, nullable, readonly) NSArray<MXOAssetResponse *> *responses;

@property (nonatomic, strong, nullable, readonly) NSString *contentUrl;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ typedef NS_ENUM(NSInteger, MXOAssetResponseSentiment) {
MXOAssetResponseSentimentUnknown NS_SWIFT_NAME(unknown)
};

typedef NS_ENUM(NSInteger, MXOAssetResponseTarget) {
MXOAssetResponseTargetInApp NS_SWIFT_NAME(in_app),
MXOAssetResponseTargetExternal NS_SWIFT_NAME(external),
MXOAssetResponseTargetContext NS_SWIFT_NAME(context),
MXOAssetResponseTargetUnknown NS_SWIFT_NAME(unknown)
};

@class MXOResponseCode;

@interface MXOAssetResponse : NSObject
Expand All @@ -24,6 +31,14 @@ typedef NS_ENUM(NSInteger, MXOAssetResponseSentiment) {

@property (nonatomic, assign, readonly) MXOAssetResponseSentiment sentiment;

@property (nonatomic, strong, nullable, readonly) NSString *label;

@property (nonatomic, strong, nullable, readonly) NSString *imageUrl;

@property (nonatomic, strong, nullable, readonly) NSString *targetUrl;

@property (nonatomic, assign, readonly) MXOAssetResponseTarget target;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,48 @@

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MXOCaptureElementType) {
MXOCaptureElementTypeTextField NS_SWIFT_NAME(textfield),
MXOCaptureElementTypeCheckboxRadio NS_SWIFT_NAME(checkbox_radio),
MXOCaptureElementTypeDisplayElem NS_SWIFT_NAME(display_elem),
MXOCaptureElementTypeDropDown NS_SWIFT_NAME(drop_down),
MXOCaptureElementTypeUnknown NS_SWIFT_NAME(unknown)
};

typedef NS_ENUM(NSInteger, MXOCaptureType) {
MXOCaptureTypeAttribute NS_SWIFT_NAME(attribute),
MXOCaptureTypeText NS_SWIFT_NAME(text),
MXOCaptureTypeValue NS_SWIFT_NAME(value),
MXOCaptureTypeCookie NS_SWIFT_NAME(cookie),
MXOCaptureTypeUnknown NS_SWIFT_NAME(unknown),
};

typedef NS_ENUM(NSInteger, MXOCapturePhase) {
MXOCapturePhaseLoad NS_SWIFT_NAME(phase_load),
MXOCapturePhaseOnClick NS_SWIFT_NAME(on_click),
MXOCapturePhaseParameter NS_SWIFT_NAME(parameter),
MXOCapturePhaseUnknown NS_SWIFT_NAME(unknown)
};


@interface MXOCaptureAttributePoint : NSObject

@property (nonatomic, copy, nullable, readonly) NSString *identifier;

@property (nonatomic, copy, nullable, readonly) NSString *path;

@property (nonatomic, assign, readonly) MXOCaptureElementType elementType;

@property (nonatomic, copy, nullable, readonly) NSString *elementName;

@property (nonatomic, copy, nullable, readonly) NSString *elementAttributeName;

@property (nonatomic, readonly) NSInteger captureDelay;

@property (nonatomic, assign, readonly) MXOCaptureType captureType;

@property (nonatomic, assign, readonly) MXOCapturePhase capturePhase;

@end

NS_ASSUME_NONNULL_END
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ typedef NS_ENUM(NSInteger, MXOMimeType) {

@property (nonatomic, strong, nullable, readonly) NSArray<MXOAssetResponse *> *responses;

@property (nonatomic, strong, nullable, readonly) NSString *contentUrl;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ typedef NS_ENUM(NSInteger, MXOAssetResponseSentiment) {
MXOAssetResponseSentimentUnknown NS_SWIFT_NAME(unknown)
};

typedef NS_ENUM(NSInteger, MXOAssetResponseTarget) {
MXOAssetResponseTargetInApp NS_SWIFT_NAME(in_app),
MXOAssetResponseTargetExternal NS_SWIFT_NAME(external),
MXOAssetResponseTargetContext NS_SWIFT_NAME(context),
MXOAssetResponseTargetUnknown NS_SWIFT_NAME(unknown)
};

@class MXOResponseCode;

@interface MXOAssetResponse : NSObject
Expand All @@ -24,6 +31,14 @@ typedef NS_ENUM(NSInteger, MXOAssetResponseSentiment) {

@property (nonatomic, assign, readonly) MXOAssetResponseSentiment sentiment;

@property (nonatomic, strong, nullable, readonly) NSString *label;

@property (nonatomic, strong, nullable, readonly) NSString *imageUrl;

@property (nonatomic, strong, nullable, readonly) NSString *targetUrl;

@property (nonatomic, assign, readonly) MXOAssetResponseTarget target;

@end

NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,48 @@

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MXOCaptureElementType) {
MXOCaptureElementTypeTextField NS_SWIFT_NAME(textfield),
MXOCaptureElementTypeCheckboxRadio NS_SWIFT_NAME(checkbox_radio),
MXOCaptureElementTypeDisplayElem NS_SWIFT_NAME(display_elem),
MXOCaptureElementTypeDropDown NS_SWIFT_NAME(drop_down),
MXOCaptureElementTypeUnknown NS_SWIFT_NAME(unknown)
};

typedef NS_ENUM(NSInteger, MXOCaptureType) {
MXOCaptureTypeAttribute NS_SWIFT_NAME(attribute),
MXOCaptureTypeText NS_SWIFT_NAME(text),
MXOCaptureTypeValue NS_SWIFT_NAME(value),
MXOCaptureTypeCookie NS_SWIFT_NAME(cookie),
MXOCaptureTypeUnknown NS_SWIFT_NAME(unknown),
};

typedef NS_ENUM(NSInteger, MXOCapturePhase) {
MXOCapturePhaseLoad NS_SWIFT_NAME(phase_load),
MXOCapturePhaseOnClick NS_SWIFT_NAME(on_click),
MXOCapturePhaseParameter NS_SWIFT_NAME(parameter),
MXOCapturePhaseUnknown NS_SWIFT_NAME(unknown)
};


@interface MXOCaptureAttributePoint : NSObject

@property (nonatomic, copy, nullable, readonly) NSString *identifier;

@property (nonatomic, copy, nullable, readonly) NSString *path;

@property (nonatomic, assign, readonly) MXOCaptureElementType elementType;

@property (nonatomic, copy, nullable, readonly) NSString *elementName;

@property (nonatomic, copy, nullable, readonly) NSString *elementAttributeName;

@property (nonatomic, readonly) NSInteger captureDelay;

@property (nonatomic, assign, readonly) MXOCaptureType captureType;

@property (nonatomic, assign, readonly) MXOCapturePhase capturePhase;

@end

NS_ASSUME_NONNULL_END
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion medallia-mxo-ios-sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

Pod::Spec.new do |s|
s.name = "medallia-mxo-ios-sdk"
s.version = "1.1.2"
s.version = "1.1.3"
s.summary = "The MedalliaMXO SDK for iOS."
s.authors = { "Medallia" => "cocoapods-mxo@medallia.com" }
s.homepage = "https://github.com/medallia/mxo-ios-sdk"
Expand Down

0 comments on commit 4152865

Please sign in to comment.