@aws-sdk/client-customer-profiles 3.1180.0 → 3.1182.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 (57) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +315 -33
  3. package/dist-es/CustomerProfiles.js +12 -0
  4. package/dist-es/commands/BatchGetIntentForProfileCommand.js +4 -0
  5. package/dist-es/commands/DeleteIntentDefinitionCommand.js +4 -0
  6. package/dist-es/commands/GetIntentDefinitionCommand.js +4 -0
  7. package/dist-es/commands/ListIntentTypesCommand.js +4 -0
  8. package/dist-es/commands/PutIntentDefinitionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +24 -0
  11. package/dist-es/pagination/ListIntentTypesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +231 -32
  14. package/dist-types/CustomerProfiles.d.ts +43 -0
  15. package/dist-types/CustomerProfilesClient.d.ts +7 -2
  16. package/dist-types/commands/BatchGetIntentForProfileCommand.d.ts +109 -0
  17. package/dist-types/commands/CreateEventTriggerCommand.d.ts +40 -0
  18. package/dist-types/commands/DeleteIntentDefinitionCommand.d.ts +85 -0
  19. package/dist-types/commands/GetEventTriggerCommand.d.ts +20 -0
  20. package/dist-types/commands/GetIntentDefinitionCommand.d.ts +106 -0
  21. package/dist-types/commands/ListIntentTypesCommand.d.ts +97 -0
  22. package/dist-types/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListProfileObjectTypesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListProfileObjectsCommand.d.ts +1 -1
  28. package/dist-types/commands/PutIntentDefinitionCommand.d.ts +130 -0
  29. package/dist-types/commands/UpdateEventTriggerCommand.d.ts +40 -0
  30. package/dist-types/commands/index.d.ts +5 -0
  31. package/dist-types/models/enums.d.ts +56 -0
  32. package/dist-types/models/models_0.d.ts +361 -413
  33. package/dist-types/models/models_1.d.ts +553 -2
  34. package/dist-types/pagination/ListIntentTypesPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +28 -0
  37. package/dist-types/ts3.4/CustomerProfiles.d.ts +93 -0
  38. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetIntentForProfileCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/DeleteIntentDefinitionCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/GetIntentDefinitionCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/ListIntentTypesCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/PutIntentDefinitionCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +125 -98
  53. package/dist-types/ts3.4/models/models_1.d.ts +136 -0
  54. package/dist-types/ts3.4/pagination/ListIntentTypesPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  57. package/package.json +2 -2
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AddProfileKeyCommand, } from "./commands/AddProfileKeyCommand";
3
3
  import { AssociateStreamForSegmentsCommand, } from "./commands/AssociateStreamForSegmentsCommand";
4
4
  import { BatchGetCalculatedAttributeForProfileCommand, } from "./commands/BatchGetCalculatedAttributeForProfileCommand";
5
+ import { BatchGetIntentForProfileCommand, } from "./commands/BatchGetIntentForProfileCommand";
5
6
  import { BatchGetProfileCommand, } from "./commands/BatchGetProfileCommand";
6
7
  import { BatchPutProfileObjectCommand, } from "./commands/BatchPutProfileObjectCommand";
7
8
  import { CreateCalculatedAttributeDefinitionCommand, } from "./commands/CreateCalculatedAttributeDefinitionCommand";
@@ -25,6 +26,7 @@ import { DeleteDomainObjectTypeCommand, } from "./commands/DeleteDomainObjectTyp
25
26
  import { DeleteEventStreamCommand, } from "./commands/DeleteEventStreamCommand";
26
27
  import { DeleteEventTriggerCommand, } from "./commands/DeleteEventTriggerCommand";
27
28
  import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
29
+ import { DeleteIntentDefinitionCommand, } from "./commands/DeleteIntentDefinitionCommand";
28
30
  import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
29
31
  import { DeleteProfileKeyCommand, } from "./commands/DeleteProfileKeyCommand";
30
32
  import { DeleteProfileObjectCommand, } from "./commands/DeleteProfileObjectCommand";
@@ -47,6 +49,7 @@ import { GetEventStreamCommand, } from "./commands/GetEventStreamCommand";
47
49
  import { GetEventTriggerCommand, } from "./commands/GetEventTriggerCommand";
48
50
  import { GetIdentityResolutionJobCommand, } from "./commands/GetIdentityResolutionJobCommand";
49
51
  import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
52
+ import { GetIntentDefinitionCommand, } from "./commands/GetIntentDefinitionCommand";
50
53
  import { GetMatchesCommand, } from "./commands/GetMatchesCommand";
51
54
  import { GetObjectTypeAttributeStatisticsCommand, } from "./commands/GetObjectTypeAttributeStatisticsCommand";
52
55
  import { GetProfileHistoryRecordCommand, } from "./commands/GetProfileHistoryRecordCommand";
@@ -77,6 +80,7 @@ import { ListEventStreamsCommand, } from "./commands/ListEventStreamsCommand";
77
80
  import { ListEventTriggersCommand, } from "./commands/ListEventTriggersCommand";
78
81
  import { ListIdentityResolutionJobsCommand, } from "./commands/ListIdentityResolutionJobsCommand";
79
82
  import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
83
+ import { ListIntentTypesCommand, } from "./commands/ListIntentTypesCommand";
80
84
  import { ListObjectTypeAttributesCommand, } from "./commands/ListObjectTypeAttributesCommand";
81
85
  import { ListObjectTypeAttributeValuesCommand, } from "./commands/ListObjectTypeAttributeValuesCommand";
82
86
  import { ListProfileAttributeValuesCommand, } from "./commands/ListProfileAttributeValuesCommand";
@@ -97,6 +101,7 @@ import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
97
101
  import { MergeProfilesCommand, } from "./commands/MergeProfilesCommand";
98
102
  import { PutDomainObjectTypeCommand, } from "./commands/PutDomainObjectTypeCommand";
99
103
  import { PutIntegrationCommand, } from "./commands/PutIntegrationCommand";
104
+ import { PutIntentDefinitionCommand, } from "./commands/PutIntentDefinitionCommand";
100
105
  import { PutProfileObjectCommand, } from "./commands/PutProfileObjectCommand";
101
106
  import { PutProfileObjectTypeCommand, } from "./commands/PutProfileObjectTypeCommand";
102
107
  import { PutSegmentSubscriptionCommand, } from "./commands/PutSegmentSubscriptionCommand";
@@ -120,6 +125,7 @@ import { paginateListDomainLayouts } from "./pagination/ListDomainLayoutsPaginat
120
125
  import { paginateListDomainObjectTypes } from "./pagination/ListDomainObjectTypesPaginator";
121
126
  import { paginateListEventStreams } from "./pagination/ListEventStreamsPaginator";
122
127
  import { paginateListEventTriggers } from "./pagination/ListEventTriggersPaginator";
128
+ import { paginateListIntentTypes } from "./pagination/ListIntentTypesPaginator";
123
129
  import { paginateListObjectTypeAttributes } from "./pagination/ListObjectTypeAttributesPaginator";
124
130
  import { paginateListRecommenderFilters } from "./pagination/ListRecommenderFiltersPaginator";
125
131
  import { paginateListRecommenderRecipes } from "./pagination/ListRecommenderRecipesPaginator";
@@ -133,6 +139,7 @@ const commands = {
133
139
  AddProfileKeyCommand,
134
140
  AssociateStreamForSegmentsCommand,
135
141
  BatchGetCalculatedAttributeForProfileCommand,
142
+ BatchGetIntentForProfileCommand,
136
143
  BatchGetProfileCommand,
137
144
  BatchPutProfileObjectCommand,
138
145
  CreateCalculatedAttributeDefinitionCommand,
@@ -156,6 +163,7 @@ const commands = {
156
163
  DeleteEventStreamCommand,
157
164
  DeleteEventTriggerCommand,
158
165
  DeleteIntegrationCommand,
166
+ DeleteIntentDefinitionCommand,
159
167
  DeleteProfileCommand,
160
168
  DeleteProfileKeyCommand,
161
169
  DeleteProfileObjectCommand,
@@ -178,6 +186,7 @@ const commands = {
178
186
  GetEventTriggerCommand,
179
187
  GetIdentityResolutionJobCommand,
180
188
  GetIntegrationCommand,
189
+ GetIntentDefinitionCommand,
181
190
  GetMatchesCommand,
182
191
  GetObjectTypeAttributeStatisticsCommand,
183
192
  GetProfileHistoryRecordCommand,
@@ -208,6 +217,7 @@ const commands = {
208
217
  ListEventTriggersCommand,
209
218
  ListIdentityResolutionJobsCommand,
210
219
  ListIntegrationsCommand,
220
+ ListIntentTypesCommand,
211
221
  ListObjectTypeAttributesCommand,
212
222
  ListObjectTypeAttributeValuesCommand,
213
223
  ListProfileAttributeValuesCommand,
@@ -228,6 +238,7 @@ const commands = {
228
238
  MergeProfilesCommand,
229
239
  PutDomainObjectTypeCommand,
230
240
  PutIntegrationCommand,
241
+ PutIntentDefinitionCommand,
231
242
  PutProfileObjectCommand,
232
243
  PutProfileObjectTypeCommand,
233
244
  PutSegmentSubscriptionCommand,
@@ -252,6 +263,7 @@ const paginators = {
252
263
  paginateListDomainObjectTypes,
253
264
  paginateListEventStreams,
254
265
  paginateListEventTriggers,
266
+ paginateListIntentTypes,
255
267
  paginateListObjectTypeAttributes,
256
268
  paginateListRecommenderFilters,
257
269
  paginateListRecommenderRecipes,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { BatchGetIntentForProfile$ } from "../schemas/schemas_0";
3
+ export class BatchGetIntentForProfileCommand extends command(_ep0, _mw0, "BatchGetIntentForProfile", BatchGetIntentForProfile$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteIntentDefinition$ } from "../schemas/schemas_0";
3
+ export class DeleteIntentDefinitionCommand extends command(_ep0, _mw0, "DeleteIntentDefinition", DeleteIntentDefinition$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetIntentDefinition$ } from "../schemas/schemas_0";
3
+ export class GetIntentDefinitionCommand extends command(_ep0, _mw0, "GetIntentDefinition", GetIntentDefinition$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListIntentTypes$ } from "../schemas/schemas_0";
3
+ export class ListIntentTypesCommand extends command(_ep0, _mw0, "ListIntentTypes", ListIntentTypes$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { PutIntentDefinition$ } from "../schemas/schemas_0";
3
+ export class PutIntentDefinitionCommand extends command(_ep0, _mw0, "PutIntentDefinition", PutIntentDefinition$) {
4
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./AddProfileKeyCommand";
2
2
  export * from "./AssociateStreamForSegmentsCommand";
3
3
  export * from "./BatchGetCalculatedAttributeForProfileCommand";
4
+ export * from "./BatchGetIntentForProfileCommand";
4
5
  export * from "./BatchGetProfileCommand";
5
6
  export * from "./BatchPutProfileObjectCommand";
6
7
  export * from "./CreateCalculatedAttributeDefinitionCommand";
@@ -24,6 +25,7 @@ export * from "./DeleteDomainObjectTypeCommand";
24
25
  export * from "./DeleteEventStreamCommand";
25
26
  export * from "./DeleteEventTriggerCommand";
26
27
  export * from "./DeleteIntegrationCommand";
28
+ export * from "./DeleteIntentDefinitionCommand";
27
29
  export * from "./DeleteProfileCommand";
28
30
  export * from "./DeleteProfileKeyCommand";
29
31
  export * from "./DeleteProfileObjectCommand";
@@ -46,6 +48,7 @@ export * from "./GetEventStreamCommand";
46
48
  export * from "./GetEventTriggerCommand";
47
49
  export * from "./GetIdentityResolutionJobCommand";
48
50
  export * from "./GetIntegrationCommand";
51
+ export * from "./GetIntentDefinitionCommand";
49
52
  export * from "./GetMatchesCommand";
50
53
  export * from "./GetObjectTypeAttributeStatisticsCommand";
51
54
  export * from "./GetProfileHistoryRecordCommand";
@@ -76,6 +79,7 @@ export * from "./ListEventStreamsCommand";
76
79
  export * from "./ListEventTriggersCommand";
77
80
  export * from "./ListIdentityResolutionJobsCommand";
78
81
  export * from "./ListIntegrationsCommand";
82
+ export * from "./ListIntentTypesCommand";
79
83
  export * from "./ListObjectTypeAttributeValuesCommand";
80
84
  export * from "./ListObjectTypeAttributesCommand";
81
85
  export * from "./ListProfileAttributeValuesCommand";
@@ -96,6 +100,7 @@ export * from "./ListWorkflowsCommand";
96
100
  export * from "./MergeProfilesCommand";
97
101
  export * from "./PutDomainObjectTypeCommand";
98
102
  export * from "./PutIntegrationCommand";
103
+ export * from "./PutIntentDefinitionCommand";
99
104
  export * from "./PutProfileObjectCommand";
100
105
  export * from "./PutProfileObjectTypeCommand";
101
106
  export * from "./PutSegmentSubscriptionCommand";
@@ -221,6 +221,20 @@ export const ConflictResolvingModel = {
221
221
  export const RangeUnit = {
222
222
  DAYS: "DAYS",
223
223
  };
224
+ export const IntentDomain = {
225
+ DEFAULT: "DEFAULT",
226
+ };
227
+ export const IntentType = {
228
+ LAST_SEARCH_INTENT: "LAST_SEARCH_INTENT",
229
+ PRICE_SENSITIVITY: "PRICE_SENSITIVITY",
230
+ UPGRADE_UPSELL_PROPENSITY: "UPGRADE_UPSELL_PROPENSITY",
231
+ WEB_SESSION_SUMMARY: "WEB_SESSION_SUMMARY",
232
+ };
233
+ export const IntentErrorCode = {
234
+ INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
235
+ INTENT_NOT_ENABLED: "INTENT_NOT_ENABLED",
236
+ INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
237
+ };
224
238
  export const ContactType = {
225
239
  BUSINESS_EMAIL_ADDRESS: "BusinessEmailAddress",
226
240
  BUSINESS_PHONE_NUMBER: "BusinessPhoneNumber",
@@ -330,6 +344,16 @@ export const PeriodUnit = {
330
344
  MONTHS: "MONTHS",
331
345
  WEEKS: "WEEKS",
332
346
  };
347
+ export const IntentFilterComparisonOperator = {
348
+ CONTAINS: "CONTAINS",
349
+ EQUAL: "EQUAL",
350
+ EXCLUSIVE: "EXCLUSIVE",
351
+ GREATER_THAN: "GREATER_THAN",
352
+ GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
353
+ INCLUSIVE: "INCLUSIVE",
354
+ LESS_THAN: "LESS_THAN",
355
+ LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
356
+ };
333
357
  export const WorkflowType = {
334
358
  APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
335
359
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListIntentTypesCommand, } from "../commands/ListIntentTypesCommand";
3
+ import { CustomerProfilesClient } from "../CustomerProfilesClient";
4
+ export const paginateListIntentTypes = createPaginator(CustomerProfilesClient, ListIntentTypesCommand, "NextToken", "NextToken", "MaxResults");
@@ -4,6 +4,7 @@ export * from "./ListDomainLayoutsPaginator";
4
4
  export * from "./ListDomainObjectTypesPaginator";
5
5
  export * from "./ListEventStreamsPaginator";
6
6
  export * from "./ListEventTriggersPaginator";
7
+ export * from "./ListIntentTypesPaginator";
7
8
  export * from "./ListObjectTypeAttributesPaginator";
8
9
  export * from "./ListRecommenderFiltersPaginator";
9
10
  export * from "./ListRecommenderRecipesPaginator";