@aws-sdk/client-connect 3.703.0 → 3.709.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +18 -2
  2. package/dist-cjs/index.js +158 -60
  3. package/dist-es/Connect.js +4 -0
  4. package/dist-es/commands/CreateContactCommand.js +1 -1
  5. package/dist-es/commands/CreatePushNotificationRegistrationCommand.js +22 -0
  6. package/dist-es/commands/DeletePushNotificationRegistrationCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +5 -0
  9. package/dist-es/models/models_1.js +0 -16
  10. package/dist-es/models/models_2.js +16 -5
  11. package/dist-es/models/models_3.js +5 -0
  12. package/dist-es/protocols/Aws_restJson1.js +55 -0
  13. package/dist-types/Connect.d.ts +16 -2
  14. package/dist-types/ConnectClient.d.ts +6 -4
  15. package/dist-types/commands/CreateContactCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateEvaluationFormCommand.d.ts +1 -1
  17. package/dist-types/commands/CreatePushNotificationRegistrationCommand.d.ts +101 -0
  18. package/dist-types/commands/DeletePushNotificationRegistrationCommand.d.ts +86 -0
  19. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteViewCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteViewVersionCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteVocabularyCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +1 -2
  24. package/dist-types/commands/ImportPhoneNumberCommand.d.ts +2 -3
  25. package/dist-types/commands/SendChatIntegrationEventCommand.d.ts +2 -2
  26. package/dist-types/commands/StartOutboundChatContactCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/index.d.ts +2 -2
  29. package/dist-types/models/models_0.d.ts +120 -85
  30. package/dist-types/models/models_1.d.ts +102 -174
  31. package/dist-types/models/models_2.d.ts +158 -260
  32. package/dist-types/models/models_3.d.ts +262 -7
  33. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  34. package/dist-types/ts3.4/Connect.d.ts +46 -0
  35. package/dist-types/ts3.4/ConnectClient.d.ts +12 -0
  36. package/dist-types/ts3.4/commands/CreateContactCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/CreateEvaluationFormCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/CreatePushNotificationRegistrationCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/DeletePushNotificationRegistrationCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +4 -2
  44. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +28 -19
  46. package/dist-types/ts3.4/models/models_1.d.ts +19 -43
  47. package/dist-types/ts3.4/models/models_2.d.ts +46 -58
  48. package/dist-types/ts3.4/models/models_3.d.ts +55 -3
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  50. package/package.json +35 -35
@@ -1,6 +1,257 @@
1
- import { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, Campaign, Channel, ContactInitiationMethod, Endpoint, EvaluationFormScoringStrategy, Reference, StringCondition, UserInfo } from "./models_0";
2
- import { AnsweringMachineDetectionStatus, AttributeCondition, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, WisdomInfo } from "./models_1";
3
- import { AgentStatusSearchCriteria, ChatMessage, ContactFlowModuleSearchCriteria, ContactFlowModuleSearchFilter, ContactFlowSearchCriteria, ContactFlowSearchFilter, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, EvaluationFormItem, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SegmentAttributeValue, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
1
+ import { AdditionalEmailRecipients, AgentInfo, AgentStatusSearchFilter, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, Endpoint, EvaluationFormScoringStrategy, InitiateAs, Reference, StringCondition, UserInfo } from "./models_0";
2
+ import { AnsweringMachineDetectionStatus, AttributeCondition, ContactFlowState, Customer, CustomerVoiceActivity, DisconnectDetails, EndpointInfo, Evaluation, EvaluationFormVersionStatus, Expiry, QualityMetrics, QueueInfo, RoutingCriteriaStepStatus, WisdomInfo } from "./models_1";
3
+ import { ChatMessage, ContactFlowModuleSearchFilter, ContactFlowSearchFilter, EmailAddressInfo, EmailAddressSearchFilter, EmailAttachment, EvaluationFormItem, HierarchyGroupCondition, HoursOfOperationSearchFilter, InboundAdditionalRecipients, InboundEmailContent, ListCondition, ParticipantDetails, PersistentChat, PromptSearchFilter, QueueInfoInput, QueueSearchFilter, QuickConnectSearchFilter, RoutingCriteriaInputStepExpiry, RoutingProfileSearchFilter, SearchableQueueType, SecurityProfilesSearchFilter, SegmentAttributeValue, UserHierarchyGroupSearchFilter, UserSearchFilter } from "./models_2";
4
+ /**
5
+ * <p>Information about a section from an evaluation form. A section can contain sections and/or
6
+ * questions. Evaluation forms can only contain sections and subsections (two level nesting).</p>
7
+ * @public
8
+ */
9
+ export interface EvaluationFormSection {
10
+ /**
11
+ * <p>The title of the section.</p>
12
+ * @public
13
+ */
14
+ Title: string | undefined;
15
+ /**
16
+ * <p>The identifier of the section. An identifier must be unique within the evaluation
17
+ * form.</p>
18
+ * @public
19
+ */
20
+ RefId: string | undefined;
21
+ /**
22
+ * <p>The instructions of the section.</p>
23
+ * @public
24
+ */
25
+ Instructions?: string | undefined;
26
+ /**
27
+ * <p>The items of the section.</p>
28
+ * @public
29
+ */
30
+ Items: EvaluationFormItem[] | undefined;
31
+ /**
32
+ * <p>The scoring weight of the section.</p>
33
+ * @public
34
+ */
35
+ Weight?: number | undefined;
36
+ }
37
+ /**
38
+ * <p>The search criteria to be used to return agent statuses.</p>
39
+ * @public
40
+ */
41
+ export interface AgentStatusSearchCriteria {
42
+ /**
43
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
44
+ * condition.</p>
45
+ * @public
46
+ */
47
+ OrConditions?: AgentStatusSearchCriteria[] | undefined;
48
+ /**
49
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
50
+ * <note>
51
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
52
+ * <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
53
+ * and <code>resourceID</code>.</p>
54
+ * </note>
55
+ * @public
56
+ */
57
+ AndConditions?: AgentStatusSearchCriteria[] | undefined;
58
+ /**
59
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
60
+ * <note>
61
+ * <p>The currently supported values for <code>FieldName</code> are <code>name</code>,
62
+ * <code>description</code>, <code>state</code>, <code>type</code>, <code>displayOrder</code>,
63
+ * and <code>resourceID</code>.</p>
64
+ * </note>
65
+ * @public
66
+ */
67
+ StringCondition?: StringCondition | undefined;
68
+ }
69
+ /**
70
+ * <p>The search criteria to be used to return flow modules.</p>
71
+ * @public
72
+ */
73
+ export interface ContactFlowModuleSearchCriteria {
74
+ /**
75
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
76
+ * condition.</p>
77
+ * @public
78
+ */
79
+ OrConditions?: ContactFlowModuleSearchCriteria[] | undefined;
80
+ /**
81
+ * <p>A list of conditions which would be applied together with an <code>AND</code>
82
+ * condition.</p>
83
+ * @public
84
+ */
85
+ AndConditions?: ContactFlowModuleSearchCriteria[] | undefined;
86
+ /**
87
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
88
+ * @public
89
+ */
90
+ StringCondition?: StringCondition | undefined;
91
+ }
92
+ /**
93
+ * <p>The search criteria to be used to return flows.</p>
94
+ * @public
95
+ */
96
+ export interface ContactFlowSearchCriteria {
97
+ /**
98
+ * <p>A list of conditions which would be applied together with an <code>OR</code>
99
+ * condition.</p>
100
+ * @public
101
+ */
102
+ OrConditions?: ContactFlowSearchCriteria[] | undefined;
103
+ /**
104
+ * <p>A list of conditions which would be applied together with an <code>AND</code>
105
+ * condition.</p>
106
+ * @public
107
+ */
108
+ AndConditions?: ContactFlowSearchCriteria[] | undefined;
109
+ /**
110
+ * <p>A leaf node condition which can be used to specify a string condition.</p>
111
+ * @public
112
+ */
113
+ StringCondition?: StringCondition | undefined;
114
+ /**
115
+ * <p>The type of flow.</p>
116
+ * @public
117
+ */
118
+ TypeCondition?: ContactFlowType | undefined;
119
+ /**
120
+ * <p>The state of the flow.</p>
121
+ * @public
122
+ */
123
+ StateCondition?: ContactFlowState | undefined;
124
+ /**
125
+ * <p>The status of the flow.</p>
126
+ * @public
127
+ */
128
+ StatusCondition?: ContactFlowStatus | undefined;
129
+ }
130
+ /**
131
+ * @public
132
+ */
133
+ export interface CreateContactRequest {
134
+ /**
135
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
136
+ * @public
137
+ */
138
+ InstanceId: string | undefined;
139
+ /**
140
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
141
+ * request. If not provided, the Amazon Web Services
142
+ * SDK populates this field. For more information about idempotency, see
143
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
144
+ * @public
145
+ */
146
+ ClientToken?: string | undefined;
147
+ /**
148
+ * <p>The identifier of the contact in this instance of Amazon Connect. </p>
149
+ * @public
150
+ */
151
+ RelatedContactId?: string | undefined;
152
+ /**
153
+ * <p>A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.</p>
154
+ * <p>There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys
155
+ * can include only alphanumeric, dash, and underscore characters.</p>
156
+ * @public
157
+ */
158
+ Attributes?: Record<string, string> | undefined;
159
+ /**
160
+ * <p>A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have
161
+ * the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL |
162
+ * ATTACHMENT.</p>
163
+ * @public
164
+ */
165
+ References?: Record<string, Reference> | undefined;
166
+ /**
167
+ * <p>The channel for the contact</p>
168
+ * @public
169
+ */
170
+ Channel: Channel | undefined;
171
+ /**
172
+ * <p>Indicates how the contact was initiated.</p>
173
+ * @public
174
+ */
175
+ InitiationMethod: ContactInitiationMethod | undefined;
176
+ /**
177
+ * <p>Number of minutes the contact will be active for before expiring</p>
178
+ * @public
179
+ */
180
+ ExpiryDurationInMinutes?: number | undefined;
181
+ /**
182
+ * <p>User details for the contact</p>
183
+ * @public
184
+ */
185
+ UserInfo?: UserInfo | undefined;
186
+ /**
187
+ * <p>Initial state of the contact when it's created</p>
188
+ * @public
189
+ */
190
+ InitiateAs?: InitiateAs | undefined;
191
+ /**
192
+ * <p>The name of a the contact.</p>
193
+ * @public
194
+ */
195
+ Name?: string | undefined;
196
+ /**
197
+ * <p>A description of the contact.</p>
198
+ * @public
199
+ */
200
+ Description?: string | undefined;
201
+ /**
202
+ * <p>A set of system defined key-value pairs stored on individual contact segments (unique
203
+ * contact ID) using an attribute map. The attributes are standard Amazon Connect attributes.
204
+ * They can be accessed in flows.</p>
205
+ * <p>Attribute keys can include only alphanumeric, -, and _.</p>
206
+ * <p>This field can be used to set Segment Contact Expiry as a duration in minutes.</p>
207
+ * <note>
208
+ * <p>To set contact expiry, a ValueMap must be specified containing the integer number of
209
+ * minutes the contact will be active for before expiring, with <code>SegmentAttributes</code> like
210
+ * \{ <code> "connect:ContactExpiry": \{"ValueMap" : \{ "ExpiryDuration": \{ "ValueInteger":
211
+ * 135\}\}\}\}</code>. </p>
212
+ * </note>
213
+ * @public
214
+ */
215
+ SegmentAttributes?: Record<string, SegmentAttributeValue> | undefined;
216
+ }
217
+ /**
218
+ * @public
219
+ */
220
+ export interface CreateEvaluationFormRequest {
221
+ /**
222
+ * <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
223
+ * @public
224
+ */
225
+ InstanceId: string | undefined;
226
+ /**
227
+ * <p>A title of the evaluation form.</p>
228
+ * @public
229
+ */
230
+ Title: string | undefined;
231
+ /**
232
+ * <p>The description of the evaluation form.</p>
233
+ * @public
234
+ */
235
+ Description?: string | undefined;
236
+ /**
237
+ * <p>Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.</p>
238
+ * @public
239
+ */
240
+ Items: EvaluationFormItem[] | undefined;
241
+ /**
242
+ * <p>A scoring strategy of the evaluation form.</p>
243
+ * @public
244
+ */
245
+ ScoringStrategy?: EvaluationFormScoringStrategy | undefined;
246
+ /**
247
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
248
+ * request. If not provided, the Amazon Web Services
249
+ * SDK populates this field. For more information about idempotency, see
250
+ * <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
251
+ * @public
252
+ */
253
+ ClientToken?: string | undefined;
254
+ }
4
255
  /**
5
256
  * <p>The search criteria to be used to return email addresses.</p>
6
257
  * @public
@@ -866,16 +1117,16 @@ export interface UpdateContactRequest {
866
1117
  /**
867
1118
  * <p>The endpoint of the customer for which the contact was initiated. For external audio
868
1119
  * contacts, this is usually the end customer's phone number. This value can only be updated for
869
- * external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect
870
- * Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
1120
+ * external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens
1121
+ * integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
871
1122
  * @public
872
1123
  */
873
1124
  CustomerEndpoint?: Endpoint | undefined;
874
1125
  /**
875
1126
  * <p>External system endpoint for the contact was initiated. For external audio contacts, this is
876
1127
  * the phone number of the external system such as the contact center. This value can only be
877
- * updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect
878
- * Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
1128
+ * updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens
1129
+ * integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p>
879
1130
  * @public
880
1131
  */
881
1132
  SystemEndpoint?: Endpoint | undefined;
@@ -1800,6 +2051,10 @@ export interface DescribeContactResponse {
1800
2051
  */
1801
2052
  Contact?: Contact | undefined;
1802
2053
  }
2054
+ /**
2055
+ * @internal
2056
+ */
2057
+ export declare const CreateContactRequestFilterSensitiveLog: (obj: CreateContactRequest) => any;
1803
2058
  /**
1804
2059
  * @internal
1805
2060
  */
@@ -36,6 +36,7 @@ import { CreateParticipantCommandInput, CreateParticipantCommandOutput } from ".
36
36
  import { CreatePersistentContactAssociationCommandInput, CreatePersistentContactAssociationCommandOutput } from "../commands/CreatePersistentContactAssociationCommand";
37
37
  import { CreatePredefinedAttributeCommandInput, CreatePredefinedAttributeCommandOutput } from "../commands/CreatePredefinedAttributeCommand";
38
38
  import { CreatePromptCommandInput, CreatePromptCommandOutput } from "../commands/CreatePromptCommand";
39
+ import { CreatePushNotificationRegistrationCommandInput, CreatePushNotificationRegistrationCommandOutput } from "../commands/CreatePushNotificationRegistrationCommand";
39
40
  import { CreateQueueCommandInput, CreateQueueCommandOutput } from "../commands/CreateQueueCommand";
40
41
  import { CreateQuickConnectCommandInput, CreateQuickConnectCommandOutput } from "../commands/CreateQuickConnectCommand";
41
42
  import { CreateRoutingProfileCommandInput, CreateRoutingProfileCommandOutput } from "../commands/CreateRoutingProfileCommand";
@@ -61,6 +62,7 @@ import { DeleteInstanceCommandInput, DeleteInstanceCommandOutput } from "../comm
61
62
  import { DeleteIntegrationAssociationCommandInput, DeleteIntegrationAssociationCommandOutput } from "../commands/DeleteIntegrationAssociationCommand";
62
63
  import { DeletePredefinedAttributeCommandInput, DeletePredefinedAttributeCommandOutput } from "../commands/DeletePredefinedAttributeCommand";
63
64
  import { DeletePromptCommandInput, DeletePromptCommandOutput } from "../commands/DeletePromptCommand";
65
+ import { DeletePushNotificationRegistrationCommandInput, DeletePushNotificationRegistrationCommandOutput } from "../commands/DeletePushNotificationRegistrationCommand";
64
66
  import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "../commands/DeleteQueueCommand";
65
67
  import { DeleteQuickConnectCommandInput, DeleteQuickConnectCommandOutput } from "../commands/DeleteQuickConnectCommand";
66
68
  import { DeleteRoutingProfileCommandInput, DeleteRoutingProfileCommandOutput } from "../commands/DeleteRoutingProfileCommand";
@@ -414,6 +416,10 @@ export declare const se_CreatePredefinedAttributeCommand: (input: CreatePredefin
414
416
  * serializeAws_restJson1CreatePromptCommand
415
417
  */
416
418
  export declare const se_CreatePromptCommand: (input: CreatePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
419
+ /**
420
+ * serializeAws_restJson1CreatePushNotificationRegistrationCommand
421
+ */
422
+ export declare const se_CreatePushNotificationRegistrationCommand: (input: CreatePushNotificationRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
417
423
  /**
418
424
  * serializeAws_restJson1CreateQueueCommand
419
425
  */
@@ -514,6 +520,10 @@ export declare const se_DeletePredefinedAttributeCommand: (input: DeletePredefin
514
520
  * serializeAws_restJson1DeletePromptCommand
515
521
  */
516
522
  export declare const se_DeletePromptCommand: (input: DeletePromptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
523
+ /**
524
+ * serializeAws_restJson1DeletePushNotificationRegistrationCommand
525
+ */
526
+ export declare const se_DeletePushNotificationRegistrationCommand: (input: DeletePushNotificationRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
517
527
  /**
518
528
  * serializeAws_restJson1DeleteQueueCommand
519
529
  */
@@ -1494,6 +1504,10 @@ export declare const de_CreatePredefinedAttributeCommand: (output: __HttpRespons
1494
1504
  * deserializeAws_restJson1CreatePromptCommand
1495
1505
  */
1496
1506
  export declare const de_CreatePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePromptCommandOutput>;
1507
+ /**
1508
+ * deserializeAws_restJson1CreatePushNotificationRegistrationCommand
1509
+ */
1510
+ export declare const de_CreatePushNotificationRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePushNotificationRegistrationCommandOutput>;
1497
1511
  /**
1498
1512
  * deserializeAws_restJson1CreateQueueCommand
1499
1513
  */
@@ -1594,6 +1608,10 @@ export declare const de_DeletePredefinedAttributeCommand: (output: __HttpRespons
1594
1608
  * deserializeAws_restJson1DeletePromptCommand
1595
1609
  */
1596
1610
  export declare const de_DeletePromptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePromptCommandOutput>;
1611
+ /**
1612
+ * deserializeAws_restJson1DeletePushNotificationRegistrationCommand
1613
+ */
1614
+ export declare const de_DeletePushNotificationRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePushNotificationRegistrationCommandOutput>;
1597
1615
  /**
1598
1616
  * deserializeAws_restJson1DeleteQueueCommand
1599
1617
  */
@@ -143,6 +143,10 @@ import {
143
143
  CreatePromptCommandInput,
144
144
  CreatePromptCommandOutput,
145
145
  } from "./commands/CreatePromptCommand";
146
+ import {
147
+ CreatePushNotificationRegistrationCommandInput,
148
+ CreatePushNotificationRegistrationCommandOutput,
149
+ } from "./commands/CreatePushNotificationRegistrationCommand";
146
150
  import {
147
151
  CreateQueueCommandInput,
148
152
  CreateQueueCommandOutput,
@@ -243,6 +247,10 @@ import {
243
247
  DeletePromptCommandInput,
244
248
  DeletePromptCommandOutput,
245
249
  } from "./commands/DeletePromptCommand";
250
+ import {
251
+ DeletePushNotificationRegistrationCommandInput,
252
+ DeletePushNotificationRegistrationCommandOutput,
253
+ } from "./commands/DeletePushNotificationRegistrationCommand";
246
254
  import {
247
255
  DeleteQueueCommandInput,
248
256
  DeleteQueueCommandOutput,
@@ -1567,6 +1575,25 @@ export interface Connect {
1567
1575
  options: __HttpHandlerOptions,
1568
1576
  cb: (err: any, data?: CreatePromptCommandOutput) => void
1569
1577
  ): void;
1578
+ createPushNotificationRegistration(
1579
+ args: CreatePushNotificationRegistrationCommandInput,
1580
+ options?: __HttpHandlerOptions
1581
+ ): Promise<CreatePushNotificationRegistrationCommandOutput>;
1582
+ createPushNotificationRegistration(
1583
+ args: CreatePushNotificationRegistrationCommandInput,
1584
+ cb: (
1585
+ err: any,
1586
+ data?: CreatePushNotificationRegistrationCommandOutput
1587
+ ) => void
1588
+ ): void;
1589
+ createPushNotificationRegistration(
1590
+ args: CreatePushNotificationRegistrationCommandInput,
1591
+ options: __HttpHandlerOptions,
1592
+ cb: (
1593
+ err: any,
1594
+ data?: CreatePushNotificationRegistrationCommandOutput
1595
+ ) => void
1596
+ ): void;
1570
1597
  createQueue(
1571
1598
  args: CreateQueueCommandInput,
1572
1599
  options?: __HttpHandlerOptions
@@ -1892,6 +1919,25 @@ export interface Connect {
1892
1919
  options: __HttpHandlerOptions,
1893
1920
  cb: (err: any, data?: DeletePromptCommandOutput) => void
1894
1921
  ): void;
1922
+ deletePushNotificationRegistration(
1923
+ args: DeletePushNotificationRegistrationCommandInput,
1924
+ options?: __HttpHandlerOptions
1925
+ ): Promise<DeletePushNotificationRegistrationCommandOutput>;
1926
+ deletePushNotificationRegistration(
1927
+ args: DeletePushNotificationRegistrationCommandInput,
1928
+ cb: (
1929
+ err: any,
1930
+ data?: DeletePushNotificationRegistrationCommandOutput
1931
+ ) => void
1932
+ ): void;
1933
+ deletePushNotificationRegistration(
1934
+ args: DeletePushNotificationRegistrationCommandInput,
1935
+ options: __HttpHandlerOptions,
1936
+ cb: (
1937
+ err: any,
1938
+ data?: DeletePushNotificationRegistrationCommandOutput
1939
+ ) => void
1940
+ ): void;
1895
1941
  deleteQueue(
1896
1942
  args: DeleteQueueCommandInput,
1897
1943
  options?: __HttpHandlerOptions
@@ -189,6 +189,10 @@ import {
189
189
  CreatePromptCommandInput,
190
190
  CreatePromptCommandOutput,
191
191
  } from "./commands/CreatePromptCommand";
192
+ import {
193
+ CreatePushNotificationRegistrationCommandInput,
194
+ CreatePushNotificationRegistrationCommandOutput,
195
+ } from "./commands/CreatePushNotificationRegistrationCommand";
192
196
  import {
193
197
  CreateQueueCommandInput,
194
198
  CreateQueueCommandOutput,
@@ -289,6 +293,10 @@ import {
289
293
  DeletePromptCommandInput,
290
294
  DeletePromptCommandOutput,
291
295
  } from "./commands/DeletePromptCommand";
296
+ import {
297
+ DeletePushNotificationRegistrationCommandInput,
298
+ DeletePushNotificationRegistrationCommandOutput,
299
+ } from "./commands/DeletePushNotificationRegistrationCommand";
292
300
  import {
293
301
  DeleteQueueCommandInput,
294
302
  DeleteQueueCommandOutput,
@@ -1169,6 +1177,7 @@ export type ServiceInputTypes =
1169
1177
  | CreatePersistentContactAssociationCommandInput
1170
1178
  | CreatePredefinedAttributeCommandInput
1171
1179
  | CreatePromptCommandInput
1180
+ | CreatePushNotificationRegistrationCommandInput
1172
1181
  | CreateQueueCommandInput
1173
1182
  | CreateQuickConnectCommandInput
1174
1183
  | CreateRoutingProfileCommandInput
@@ -1194,6 +1203,7 @@ export type ServiceInputTypes =
1194
1203
  | DeleteIntegrationAssociationCommandInput
1195
1204
  | DeletePredefinedAttributeCommandInput
1196
1205
  | DeletePromptCommandInput
1206
+ | DeletePushNotificationRegistrationCommandInput
1197
1207
  | DeleteQueueCommandInput
1198
1208
  | DeleteQuickConnectCommandInput
1199
1209
  | DeleteRoutingProfileCommandInput
@@ -1440,6 +1450,7 @@ export type ServiceOutputTypes =
1440
1450
  | CreatePersistentContactAssociationCommandOutput
1441
1451
  | CreatePredefinedAttributeCommandOutput
1442
1452
  | CreatePromptCommandOutput
1453
+ | CreatePushNotificationRegistrationCommandOutput
1443
1454
  | CreateQueueCommandOutput
1444
1455
  | CreateQuickConnectCommandOutput
1445
1456
  | CreateRoutingProfileCommandOutput
@@ -1465,6 +1476,7 @@ export type ServiceOutputTypes =
1465
1476
  | DeleteIntegrationAssociationCommandOutput
1466
1477
  | DeletePredefinedAttributeCommandOutput
1467
1478
  | DeletePromptCommandOutput
1479
+ | DeletePushNotificationRegistrationCommandOutput
1468
1480
  | DeleteQueueCommandOutput
1469
1481
  | DeleteQuickConnectCommandOutput
1470
1482
  | DeleteRoutingProfileCommandOutput
@@ -6,7 +6,7 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
8
  import { CreateContactResponse } from "../models/models_0";
9
- import { CreateContactRequest } from "../models/models_2";
9
+ import { CreateContactRequest } from "../models/models_3";
10
10
  export { __MetadataBearer };
11
11
  export { $Command };
12
12
  export interface CreateContactCommandInput extends CreateContactRequest {}
@@ -6,7 +6,7 @@ import {
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
8
  import { CreateEvaluationFormResponse } from "../models/models_0";
9
- import { CreateEvaluationFormRequest } from "../models/models_2";
9
+ import { CreateEvaluationFormRequest } from "../models/models_3";
10
10
  export { __MetadataBearer };
11
11
  export { $Command };
12
12
  export interface CreateEvaluationFormCommandInput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ CreatePushNotificationRegistrationRequest,
10
+ CreatePushNotificationRegistrationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreatePushNotificationRegistrationCommandInput
15
+ extends CreatePushNotificationRegistrationRequest {}
16
+ export interface CreatePushNotificationRegistrationCommandOutput
17
+ extends CreatePushNotificationRegistrationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreatePushNotificationRegistrationCommand_base: {
20
+ new (
21
+ input: CreatePushNotificationRegistrationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreatePushNotificationRegistrationCommandInput,
24
+ CreatePushNotificationRegistrationCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreatePushNotificationRegistrationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreatePushNotificationRegistrationCommandInput,
33
+ CreatePushNotificationRegistrationCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreatePushNotificationRegistrationCommand extends CreatePushNotificationRegistrationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreatePushNotificationRegistrationRequest;
44
+ output: CreatePushNotificationRegistrationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreatePushNotificationRegistrationCommandInput;
48
+ output: CreatePushNotificationRegistrationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ConnectClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ConnectClient";
8
+ import {
9
+ DeletePushNotificationRegistrationRequest,
10
+ DeletePushNotificationRegistrationResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeletePushNotificationRegistrationCommandInput
15
+ extends DeletePushNotificationRegistrationRequest {}
16
+ export interface DeletePushNotificationRegistrationCommandOutput
17
+ extends DeletePushNotificationRegistrationResponse,
18
+ __MetadataBearer {}
19
+ declare const DeletePushNotificationRegistrationCommand_base: {
20
+ new (
21
+ input: DeletePushNotificationRegistrationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeletePushNotificationRegistrationCommandInput,
24
+ DeletePushNotificationRegistrationCommandOutput,
25
+ ConnectClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: DeletePushNotificationRegistrationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeletePushNotificationRegistrationCommandInput,
33
+ DeletePushNotificationRegistrationCommandOutput,
34
+ ConnectClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeletePushNotificationRegistrationCommand extends DeletePushNotificationRegistrationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeletePushNotificationRegistrationRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeletePushNotificationRegistrationCommandInput;
48
+ output: DeletePushNotificationRegistrationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteUserHierarchyGroupRequest } from "../models/models_0";
8
+ import { DeleteUserHierarchyGroupRequest } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteUserHierarchyGroupCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteViewRequest, DeleteViewResponse } from "../models/models_0";
8
+ import { DeleteViewRequest, DeleteViewResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteViewCommandInput extends DeleteViewRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteViewVersionRequest,
10
10
  DeleteViewVersionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteViewVersionCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../ConnectClient";
8
- import { DeleteVocabularyRequest } from "../models/models_0";
9
- import { DeleteVocabularyResponse } from "../models/models_1";
8
+ import {
9
+ DeleteVocabularyRequest,
10
+ DeleteVocabularyResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteVocabularyCommandInput extends DeleteVocabularyRequest {}
@@ -34,6 +34,7 @@ export * from "./CreateParticipantCommand";
34
34
  export * from "./CreatePersistentContactAssociationCommand";
35
35
  export * from "./CreatePredefinedAttributeCommand";
36
36
  export * from "./CreatePromptCommand";
37
+ export * from "./CreatePushNotificationRegistrationCommand";
37
38
  export * from "./CreateQueueCommand";
38
39
  export * from "./CreateQuickConnectCommand";
39
40
  export * from "./CreateRoutingProfileCommand";
@@ -59,6 +60,7 @@ export * from "./DeleteInstanceCommand";
59
60
  export * from "./DeleteIntegrationAssociationCommand";
60
61
  export * from "./DeletePredefinedAttributeCommand";
61
62
  export * from "./DeletePromptCommand";
63
+ export * from "./DeletePushNotificationRegistrationCommand";
62
64
  export * from "./DeleteQueueCommand";
63
65
  export * from "./DeleteQuickConnectCommand";
64
66
  export * from "./DeleteRoutingProfileCommand";