Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWSConnect Update models to latest #4954

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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