Skip to content

Commit

Permalink
feat(AWSConnect): update models to latest (#4954)
Browse files Browse the repository at this point in the history
  • Loading branch information
awsmobilesdk authored and harsh62 committed Nov 16, 2023
1 parent fc9c2f6 commit 6fb574b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions AWSConnect/AWSConnectModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ typedef NS_ENUM(NSInteger, AWSConnectEventSourceName) {
AWSConnectEventSourceNameOnZendeskTicketStatusUpdate,
AWSConnectEventSourceNameOnSalesforceCaseCreate,
AWSConnectEventSourceNameOnContactEvaluationSubmit,
AWSConnectEventSourceNameOnMetricDataUpdate,
};

typedef NS_ENUM(NSInteger, AWSConnectGrouping) {
Expand Down
15 changes: 15 additions & 0 deletions AWSConnect/AWSConnectModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -12439,6 +12439,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnContactEvaluationSubmit);
}
if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnMetricDataUpdate);
}
return @(AWSConnectEventSourceNameUnknown);
} reverseBlock:^NSString *(NSNumber *value) {
switch ([value integerValue]) {
Expand All @@ -12456,6 +12459,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
return @"OnSalesforceCaseCreate";
case AWSConnectEventSourceNameOnContactEvaluationSubmit:
return @"OnContactEvaluationSubmit";
case AWSConnectEventSourceNameOnMetricDataUpdate:
return @"OnMetricDataUpdate";
default:
return nil;
}
Expand Down Expand Up @@ -15929,6 +15934,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnContactEvaluationSubmit);
}
if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnMetricDataUpdate);
}
return @(AWSConnectEventSourceNameUnknown);
} reverseBlock:^NSString *(NSNumber *value) {
switch ([value integerValue]) {
Expand All @@ -15946,6 +15954,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
return @"OnSalesforceCaseCreate";
case AWSConnectEventSourceNameOnContactEvaluationSubmit:
return @"OnContactEvaluationSubmit";
case AWSConnectEventSourceNameOnMetricDataUpdate:
return @"OnMetricDataUpdate";
default:
return nil;
}
Expand Down Expand Up @@ -16019,6 +16029,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnContactEvaluationSubmit);
}
if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) {
return @(AWSConnectEventSourceNameOnMetricDataUpdate);
}
return @(AWSConnectEventSourceNameUnknown);
} reverseBlock:^NSString *(NSNumber *value) {
switch ([value integerValue]) {
Expand All @@ -16036,6 +16049,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer {
return @"OnSalesforceCaseCreate";
case AWSConnectEventSourceNameOnContactEvaluationSubmit:
return @"OnContactEvaluationSubmit";
case AWSConnectEventSourceNameOnMetricDataUpdate:
return @"OnMetricDataUpdate";
default:
return nil;
}
Expand Down
3 changes: 2 additions & 1 deletion AWSConnect/AWSConnectResources.m
Original file line number Diff line number Diff line change
Expand Up @@ -8735,7 +8735,8 @@ - (NSString *)definitionString {
\"OnZendeskTicketCreate\",\
\"OnZendeskTicketStatusUpdate\",\
\"OnSalesforceCaseCreate\",\
\"OnContactEvaluationSubmit\"\
\"OnContactEvaluationSubmit\",\
\"OnMetricDataUpdate\"\
]\
},\
\"FilterV2\":{\
Expand Down

0 comments on commit 6fb574b

Please sign in to comment.