@roarkanalytics/sdk 7.9.0 → 8.0.1

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 (205) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/client.d.mts +20 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +20 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +21 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +21 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-connection.d.mts +1952 -0
  12. package/resources/agent-connection.d.mts.map +1 -0
  13. package/resources/agent-connection.d.ts +1952 -0
  14. package/resources/agent-connection.d.ts.map +1 -0
  15. package/resources/agent-connection.js +173 -0
  16. package/resources/agent-connection.js.map +1 -0
  17. package/resources/agent-connection.mjs +169 -0
  18. package/resources/agent-connection.mjs.map +1 -0
  19. package/resources/agent-conversation.d.mts +110 -0
  20. package/resources/agent-conversation.d.mts.map +1 -0
  21. package/resources/agent-conversation.d.ts +110 -0
  22. package/resources/agent-conversation.d.ts.map +1 -0
  23. package/resources/agent-conversation.js +41 -0
  24. package/resources/agent-conversation.js.map +1 -0
  25. package/resources/agent-conversation.mjs +37 -0
  26. package/resources/agent-conversation.mjs.map +1 -0
  27. package/resources/agent-draft.d.mts +101 -35
  28. package/resources/agent-draft.d.mts.map +1 -1
  29. package/resources/agent-draft.d.ts +101 -35
  30. package/resources/agent-draft.d.ts.map +1 -1
  31. package/resources/agent-endpoint.d.mts +4 -4
  32. package/resources/agent-endpoint.d.mts.map +1 -1
  33. package/resources/agent-endpoint.d.ts +4 -4
  34. package/resources/agent-endpoint.d.ts.map +1 -1
  35. package/resources/agent-setup.d.mts +1057 -0
  36. package/resources/agent-setup.d.mts.map +1 -0
  37. package/resources/agent-setup.d.ts +1057 -0
  38. package/resources/agent-setup.d.ts.map +1 -0
  39. package/resources/agent-setup.js +113 -0
  40. package/resources/agent-setup.js.map +1 -0
  41. package/resources/agent-setup.mjs +109 -0
  42. package/resources/agent-setup.mjs.map +1 -0
  43. package/resources/agent-version.d.mts +57 -18
  44. package/resources/agent-version.d.mts.map +1 -1
  45. package/resources/agent-version.d.ts +57 -18
  46. package/resources/agent-version.d.ts.map +1 -1
  47. package/resources/agent.d.mts +263 -4
  48. package/resources/agent.d.mts.map +1 -1
  49. package/resources/agent.d.ts +263 -4
  50. package/resources/agent.d.ts.map +1 -1
  51. package/resources/calendar-connection.d.mts +834 -56
  52. package/resources/calendar-connection.d.mts.map +1 -1
  53. package/resources/calendar-connection.d.ts +834 -56
  54. package/resources/calendar-connection.d.ts.map +1 -1
  55. package/resources/calendar-connection.js +127 -8
  56. package/resources/calendar-connection.js.map +1 -1
  57. package/resources/calendar-connection.mjs +127 -8
  58. package/resources/calendar-connection.mjs.map +1 -1
  59. package/resources/call.d.mts +2 -2
  60. package/resources/call.d.mts.map +1 -1
  61. package/resources/call.d.ts +2 -2
  62. package/resources/call.d.ts.map +1 -1
  63. package/resources/config.d.mts +78 -36
  64. package/resources/config.d.mts.map +1 -1
  65. package/resources/config.d.ts +78 -36
  66. package/resources/config.d.ts.map +1 -1
  67. package/resources/conversation.d.mts +156 -0
  68. package/resources/conversation.d.mts.map +1 -0
  69. package/resources/conversation.d.ts +156 -0
  70. package/resources/conversation.d.ts.map +1 -0
  71. package/resources/conversation.js +40 -0
  72. package/resources/conversation.js.map +1 -0
  73. package/resources/conversation.mjs +36 -0
  74. package/resources/conversation.mjs.map +1 -0
  75. package/resources/customer-flow-edge-case.d.mts +637 -40
  76. package/resources/customer-flow-edge-case.d.mts.map +1 -1
  77. package/resources/customer-flow-edge-case.d.ts +637 -40
  78. package/resources/customer-flow-edge-case.d.ts.map +1 -1
  79. package/resources/customer-flow.d.mts +2583 -156
  80. package/resources/customer-flow.d.mts.map +1 -1
  81. package/resources/customer-flow.d.ts +2583 -156
  82. package/resources/customer-flow.d.ts.map +1 -1
  83. package/resources/{customer-profile.d.mts → customer.d.mts} +287 -92
  84. package/resources/customer.d.mts.map +1 -0
  85. package/resources/{customer-profile.d.ts → customer.d.ts} +287 -92
  86. package/resources/customer.d.ts.map +1 -0
  87. package/resources/customer.js +180 -0
  88. package/resources/customer.js.map +1 -0
  89. package/resources/customer.mjs +176 -0
  90. package/resources/customer.mjs.map +1 -0
  91. package/resources/index.d.mts +7 -2
  92. package/resources/index.d.mts.map +1 -1
  93. package/resources/index.d.ts +7 -2
  94. package/resources/index.d.ts.map +1 -1
  95. package/resources/index.js +13 -3
  96. package/resources/index.js.map +1 -1
  97. package/resources/index.mjs +6 -1
  98. package/resources/index.mjs.map +1 -1
  99. package/resources/mcp-server.d.mts +588 -0
  100. package/resources/mcp-server.d.mts.map +1 -0
  101. package/resources/mcp-server.d.ts +588 -0
  102. package/resources/mcp-server.d.ts.map +1 -0
  103. package/resources/mcp-server.js +109 -0
  104. package/resources/mcp-server.js.map +1 -0
  105. package/resources/mcp-server.mjs +105 -0
  106. package/resources/mcp-server.mjs.map +1 -0
  107. package/resources/metric-policy.d.mts +5 -4
  108. package/resources/metric-policy.d.mts.map +1 -1
  109. package/resources/metric-policy.d.ts +5 -4
  110. package/resources/metric-policy.d.ts.map +1 -1
  111. package/resources/metric-policy.js +1 -1
  112. package/resources/metric-policy.mjs +1 -1
  113. package/resources/metric-variant.d.mts +4 -1
  114. package/resources/metric-variant.d.mts.map +1 -1
  115. package/resources/metric-variant.d.ts +4 -1
  116. package/resources/metric-variant.d.ts.map +1 -1
  117. package/resources/metric.d.mts +7 -2
  118. package/resources/metric.d.mts.map +1 -1
  119. package/resources/metric.d.ts +7 -2
  120. package/resources/metric.d.ts.map +1 -1
  121. package/resources/simulation-environment.d.mts +366 -0
  122. package/resources/simulation-environment.d.mts.map +1 -1
  123. package/resources/simulation-environment.d.ts +366 -0
  124. package/resources/simulation-environment.d.ts.map +1 -1
  125. package/resources/simulation-job.d.mts +12 -8
  126. package/resources/simulation-job.d.mts.map +1 -1
  127. package/resources/simulation-job.d.ts +12 -8
  128. package/resources/simulation-job.d.ts.map +1 -1
  129. package/resources/simulation-persona.d.mts +25 -15
  130. package/resources/simulation-persona.d.mts.map +1 -1
  131. package/resources/simulation-persona.d.ts +25 -15
  132. package/resources/simulation-persona.d.ts.map +1 -1
  133. package/resources/simulation-run-plan-job.d.mts +32 -6
  134. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  135. package/resources/simulation-run-plan-job.d.ts +32 -6
  136. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  137. package/resources/simulation-run-plan.d.mts +126 -13
  138. package/resources/simulation-run-plan.d.mts.map +1 -1
  139. package/resources/simulation-run-plan.d.ts +126 -13
  140. package/resources/simulation-run-plan.d.ts.map +1 -1
  141. package/resources/simulation-template.d.mts +1 -1
  142. package/resources/simulation-template.d.mts.map +1 -1
  143. package/resources/simulation-template.d.ts +1 -1
  144. package/resources/simulation-template.d.ts.map +1 -1
  145. package/resources/simulation.d.mts +35 -3
  146. package/resources/simulation.d.mts.map +1 -1
  147. package/resources/simulation.d.ts +35 -3
  148. package/resources/simulation.d.ts.map +1 -1
  149. package/resources/tool.d.mts +565 -6
  150. package/resources/tool.d.mts.map +1 -1
  151. package/resources/tool.d.ts +565 -6
  152. package/resources/tool.d.ts.map +1 -1
  153. package/resources/tool.js +9 -6
  154. package/resources/tool.js.map +1 -1
  155. package/resources/tool.mjs +9 -6
  156. package/resources/tool.mjs.map +1 -1
  157. package/resources/usage.d.mts +1 -1
  158. package/resources/usage.d.mts.map +1 -1
  159. package/resources/usage.d.ts +1 -1
  160. package/resources/usage.d.ts.map +1 -1
  161. package/resources/webhook.d.mts +4 -4
  162. package/resources/webhook.d.mts.map +1 -1
  163. package/resources/webhook.d.ts +4 -4
  164. package/resources/webhook.d.ts.map +1 -1
  165. package/src/client.ts +200 -34
  166. package/src/resources/agent-connection.ts +2523 -0
  167. package/src/resources/agent-conversation.ts +139 -0
  168. package/src/resources/agent-draft.ts +239 -35
  169. package/src/resources/agent-endpoint.ts +8 -4
  170. package/src/resources/agent-setup.ts +1685 -0
  171. package/src/resources/agent-version.ts +126 -18
  172. package/src/resources/agent.ts +506 -4
  173. package/src/resources/calendar-connection.ts +1035 -63
  174. package/src/resources/call.ts +12 -2
  175. package/src/resources/config.ts +198 -36
  176. package/src/resources/conversation.ts +205 -0
  177. package/src/resources/customer-flow-edge-case.ts +709 -40
  178. package/src/resources/customer-flow.ts +3141 -156
  179. package/src/resources/{customer-profile.ts → customer.ts} +406 -294
  180. package/src/resources/index.ts +91 -17
  181. package/src/resources/mcp-server.ts +786 -0
  182. package/src/resources/metric-policy.ts +5 -4
  183. package/src/resources/metric-variant.ts +4 -1
  184. package/src/resources/metric.ts +7 -2
  185. package/src/resources/simulation-environment.ts +414 -0
  186. package/src/resources/simulation-job.ts +14 -8
  187. package/src/resources/simulation-persona.ts +25 -15
  188. package/src/resources/simulation-run-plan-job.ts +47 -6
  189. package/src/resources/simulation-run-plan.ts +140 -0
  190. package/src/resources/simulation-template.ts +1 -0
  191. package/src/resources/simulation.ts +39 -0
  192. package/src/resources/tool.ts +697 -6
  193. package/src/resources/usage.ts +6 -1
  194. package/src/resources/webhook.ts +8 -0
  195. package/src/version.ts +1 -1
  196. package/version.d.mts +1 -1
  197. package/version.d.ts +1 -1
  198. package/version.js +1 -1
  199. package/version.mjs +1 -1
  200. package/resources/customer-profile.d.mts.map +0 -1
  201. package/resources/customer-profile.d.ts.map +0 -1
  202. package/resources/customer-profile.js +0 -141
  203. package/resources/customer-profile.js.map +0 -1
  204. package/resources/customer-profile.mjs +0 -137
  205. package/resources/customer-profile.mjs.map +0 -1
@@ -5,7 +5,7 @@ import { APIPromise } from '../core/api-promise';
5
5
  import { RequestOptions } from '../internal/request-options';
6
6
  import { path } from '../internal/utils/path';
7
7
 
8
- export class CustomerProfile extends APIResource {
8
+ export class Customer extends APIResource {
9
9
  /**
10
10
  * Returns the people who have talked to your agents in this project. Customers we
11
11
  * hold nothing about beyond their identifier are left out unless includeNoData is
@@ -13,30 +13,30 @@ export class CustomerProfile extends APIResource {
13
13
  *
14
14
  * @example
15
15
  * ```ts
16
- * const customerProfiles =
17
- * await client.customerProfile.list();
16
+ * const customers = await client.customer.list();
18
17
  * ```
19
18
  */
20
19
  list(
21
- query: CustomerProfileListParams | null | undefined = {},
20
+ query: CustomerListParams | null | undefined = {},
22
21
  options?: RequestOptions,
23
- ): APIPromise<CustomerProfileListResponse> {
24
- return this._client.get('/v1/customer-profile', { query, ...options });
22
+ ): APIPromise<CustomerListResponse> {
23
+ return this._client.get('/v1/customer', { query, ...options });
25
24
  }
26
25
 
27
26
  /**
28
- * Permanently removes the profile, its fields, evidence and notes. Conversations
29
- * are kept. A new conversation from the same identifier creates a new profile.
27
+ * Permanently removes the customer, with their fields, evidence and notes.
28
+ * Conversations are kept. A new conversation from the same identifier starts a new
29
+ * customer.
30
30
  *
31
31
  * @example
32
32
  * ```ts
33
- * const customerProfile = await client.customerProfile.delete(
33
+ * const customer = await client.customer.delete(
34
34
  * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
35
35
  * );
36
36
  * ```
37
37
  */
38
- delete(customerProfileID: string, options?: RequestOptions): APIPromise<CustomerProfileDeleteResponse> {
39
- return this._client.delete(path`/v1/customer-profile/${customerProfileID}`, options);
38
+ delete(customerProfileID: string, options?: RequestOptions): APIPromise<CustomerDeleteResponse> {
39
+ return this._client.delete(path`/v1/customer/${customerProfileID}`, options);
40
40
  }
41
41
 
42
42
  /**
@@ -44,48 +44,66 @@ export class CustomerProfile extends APIResource {
44
44
  *
45
45
  * @example
46
46
  * ```ts
47
- * const response =
48
- * await client.customerProfile.clearAttribute('FULL_NAME', {
49
- * customerProfileId:
50
- * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
51
- * });
47
+ * const response = await client.customer.clearAttribute('x', {
48
+ * customerProfileId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
49
+ * });
52
50
  * ```
53
51
  */
54
52
  clearAttribute(
55
- key:
56
- | 'FULL_NAME'
57
- | 'PREFERRED_NAME'
58
- | 'ACCOUNT_ID'
59
- | 'COMPANY'
60
- | 'JOB_TITLE'
61
- | 'EMAIL'
62
- | 'ALTERNATE_PHONE'
63
- | 'AGE'
64
- | 'GENDER'
65
- | 'LANGUAGE'
66
- | 'LOCATION'
67
- | 'TIMEZONE'
68
- | 'BEST_TIME_TO_REACH'
69
- | 'PREFERRED_CHANNEL',
70
- params: CustomerProfileClearAttributeParams,
53
+ key: string,
54
+ params: CustomerClearAttributeParams,
71
55
  options?: RequestOptions,
72
- ): APIPromise<CustomerProfileClearAttributeResponse> {
56
+ ): APIPromise<CustomerClearAttributeResponse> {
73
57
  const { customerProfileId } = params;
74
- return this._client.delete(path`/v1/customer-profile/${customerProfileId}/attributes/${key}`, options);
58
+ return this._client.delete(path`/v1/customer/${customerProfileId}/attributes/${key}`, options);
59
+ }
60
+
61
+ /**
62
+ * Adds a field of your project's own. With extract on, conversations fill it from
63
+ * what customers say, guided by its description.
64
+ *
65
+ * @example
66
+ * ```ts
67
+ * const response = await client.customer.createField({
68
+ * extract: true,
69
+ * key: 'plan_tier',
70
+ * label: 'x',
71
+ * valueType: 'TEXT',
72
+ * });
73
+ * ```
74
+ */
75
+ createField(
76
+ body: CustomerCreateFieldParams,
77
+ options?: RequestOptions,
78
+ ): APIPromise<CustomerCreateFieldResponse> {
79
+ return this._client.post('/v1/customer/fields', { body, ...options });
80
+ }
81
+
82
+ /**
83
+ * Deletes a field of your project's own. Its values stop showing on customers. A
84
+ * built-in field cannot be deleted; turn it off instead.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const response = await client.customer.deleteField('x');
89
+ * ```
90
+ */
91
+ deleteField(key: string, options?: RequestOptions): APIPromise<CustomerDeleteFieldResponse> {
92
+ return this._client.delete(path`/v1/customer/fields/${key}`, options);
75
93
  }
76
94
 
77
95
  /**
78
- * Get a customer profile
96
+ * Get a customer
79
97
  *
80
98
  * @example
81
99
  * ```ts
82
- * const response = await client.customerProfile.getByID(
100
+ * const response = await client.customer.getByID(
83
101
  * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
84
102
  * );
85
103
  * ```
86
104
  */
87
- getByID(customerProfileID: string, options?: RequestOptions): APIPromise<CustomerProfileGetByIDResponse> {
88
- return this._client.get(path`/v1/customer-profile/${customerProfileID}`, options);
105
+ getByID(customerProfileID: string, options?: RequestOptions): APIPromise<CustomerGetByIDResponse> {
106
+ return this._client.get(path`/v1/customer/${customerProfileID}`, options);
89
107
  }
90
108
 
91
109
  /**
@@ -93,21 +111,30 @@ export class CustomerProfile extends APIResource {
93
111
  *
94
112
  * @example
95
113
  * ```ts
96
- * const response =
97
- * await client.customerProfile.listConversations(
98
- * 'customerProfileId',
99
- * );
114
+ * const response = await client.customer.listConversations(
115
+ * 'customerProfileId',
116
+ * );
100
117
  * ```
101
118
  */
102
119
  listConversations(
103
120
  customerProfileID: string,
104
- query: CustomerProfileListConversationsParams | null | undefined = {},
121
+ query: CustomerListConversationsParams | null | undefined = {},
105
122
  options?: RequestOptions,
106
- ): APIPromise<CustomerProfileListConversationsResponse> {
107
- return this._client.get(path`/v1/customer-profile/${customerProfileID}/conversations`, {
108
- query,
109
- ...options,
110
- });
123
+ ): APIPromise<CustomerListConversationsResponse> {
124
+ return this._client.get(path`/v1/customer/${customerProfileID}/conversations`, { query, ...options });
125
+ }
126
+
127
+ /**
128
+ * The fields this project's customers can hold, in display order. Use a field's
129
+ * key to filter, sort and set attributes.
130
+ *
131
+ * @example
132
+ * ```ts
133
+ * const response = await client.customer.listFields();
134
+ * ```
135
+ */
136
+ listFields(options?: RequestOptions): APIPromise<CustomerListFieldsResponse> {
137
+ return this._client.get('/v1/customer/fields', options);
111
138
  }
112
139
 
113
140
  /**
@@ -115,40 +142,19 @@ export class CustomerProfile extends APIResource {
115
142
  *
116
143
  * @example
117
144
  * ```ts
118
- * const response = await client.customerProfile.setAttribute(
119
- * 'FULL_NAME',
120
- * {
121
- * customerProfileId:
122
- * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
123
- * value: 'x',
124
- * },
125
- * );
145
+ * const response = await client.customer.setAttribute('x', {
146
+ * customerProfileId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
147
+ * value: 'x',
148
+ * });
126
149
  * ```
127
150
  */
128
151
  setAttribute(
129
- key:
130
- | 'FULL_NAME'
131
- | 'PREFERRED_NAME'
132
- | 'ACCOUNT_ID'
133
- | 'COMPANY'
134
- | 'JOB_TITLE'
135
- | 'EMAIL'
136
- | 'ALTERNATE_PHONE'
137
- | 'AGE'
138
- | 'GENDER'
139
- | 'LANGUAGE'
140
- | 'LOCATION'
141
- | 'TIMEZONE'
142
- | 'BEST_TIME_TO_REACH'
143
- | 'PREFERRED_CHANNEL',
144
- params: CustomerProfileSetAttributeParams,
152
+ key: string,
153
+ params: CustomerSetAttributeParams,
145
154
  options?: RequestOptions,
146
- ): APIPromise<CustomerProfileSetAttributeResponse> {
155
+ ): APIPromise<CustomerSetAttributeResponse> {
147
156
  const { customerProfileId, ...body } = params;
148
- return this._client.put(path`/v1/customer-profile/${customerProfileId}/attributes/${key}`, {
149
- body,
150
- ...options,
151
- });
157
+ return this._client.put(path`/v1/customer/${customerProfileId}/attributes/${key}`, { body, ...options });
152
158
  }
153
159
 
154
160
  /**
@@ -157,40 +163,39 @@ export class CustomerProfile extends APIResource {
157
163
  *
158
164
  * @example
159
165
  * ```ts
160
- * const response =
161
- * await client.customerProfile.unlockAttribute(
162
- * 'FULL_NAME',
163
- * {
164
- * customerProfileId:
165
- * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
166
- * },
167
- * );
166
+ * const response = await client.customer.unlockAttribute(
167
+ * 'x',
168
+ * {
169
+ * customerProfileId:
170
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
171
+ * },
172
+ * );
168
173
  * ```
169
174
  */
170
175
  unlockAttribute(
171
- key:
172
- | 'FULL_NAME'
173
- | 'PREFERRED_NAME'
174
- | 'ACCOUNT_ID'
175
- | 'COMPANY'
176
- | 'JOB_TITLE'
177
- | 'EMAIL'
178
- | 'ALTERNATE_PHONE'
179
- | 'AGE'
180
- | 'GENDER'
181
- | 'LANGUAGE'
182
- | 'LOCATION'
183
- | 'TIMEZONE'
184
- | 'BEST_TIME_TO_REACH'
185
- | 'PREFERRED_CHANNEL',
186
- params: CustomerProfileUnlockAttributeParams,
176
+ key: string,
177
+ params: CustomerUnlockAttributeParams,
187
178
  options?: RequestOptions,
188
- ): APIPromise<CustomerProfileUnlockAttributeResponse> {
179
+ ): APIPromise<CustomerUnlockAttributeResponse> {
189
180
  const { customerProfileId } = params;
190
- return this._client.post(
191
- path`/v1/customer-profile/${customerProfileId}/attributes/${key}/unlock`,
192
- options,
193
- );
181
+ return this._client.post(path`/v1/customer/${customerProfileId}/attributes/${key}/unlock`, options);
182
+ }
183
+
184
+ /**
185
+ * Changes a field. A built-in field can only be turned on or off for your project;
186
+ * any field of your project's own can change everything but its key.
187
+ *
188
+ * @example
189
+ * ```ts
190
+ * const response = await client.customer.updateField('x');
191
+ * ```
192
+ */
193
+ updateField(
194
+ key: string,
195
+ body: CustomerUpdateFieldParams | null | undefined = {},
196
+ options?: RequestOptions,
197
+ ): APIPromise<CustomerUpdateFieldResponse> {
198
+ return this._client.patch(path`/v1/customer/fields/${key}`, { body, ...options });
194
199
  }
195
200
 
196
201
  /**
@@ -199,7 +204,7 @@ export class CustomerProfile extends APIResource {
199
204
  *
200
205
  * @example
201
206
  * ```ts
202
- * const response = await client.customerProfile.updateNotes(
207
+ * const response = await client.customer.updateNotes(
203
208
  * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
204
209
  * { notes: 'notes' },
205
210
  * );
@@ -207,18 +212,18 @@ export class CustomerProfile extends APIResource {
207
212
  */
208
213
  updateNotes(
209
214
  customerProfileID: string,
210
- body: CustomerProfileUpdateNotesParams,
215
+ body: CustomerUpdateNotesParams,
211
216
  options?: RequestOptions,
212
- ): APIPromise<CustomerProfileUpdateNotesResponse> {
213
- return this._client.put(path`/v1/customer-profile/${customerProfileID}/notes`, { body, ...options });
217
+ ): APIPromise<CustomerUpdateNotesResponse> {
218
+ return this._client.put(path`/v1/customer/${customerProfileID}/notes`, { body, ...options });
214
219
  }
215
220
  }
216
221
 
217
- export interface CustomerProfileListResponse {
218
- data: CustomerProfileListResponse.Data;
222
+ export interface CustomerListResponse {
223
+ data: CustomerListResponse.Data;
219
224
  }
220
225
 
221
- export namespace CustomerProfileListResponse {
226
+ export namespace CustomerListResponse {
222
227
  export interface Data {
223
228
  items: Array<Data.Item>;
224
229
 
@@ -230,7 +235,7 @@ export namespace CustomerProfileListResponse {
230
235
  export namespace Data {
231
236
  export interface Item {
232
237
  /**
233
- * Unique identifier of the customer profile
238
+ * Unique identifier of the customer
234
239
  */
235
240
  id: string;
236
241
 
@@ -290,26 +295,18 @@ export namespace CustomerProfileListResponse {
290
295
  */
291
296
  history: Array<Attribute.History>;
292
297
 
298
+ /**
299
+ * True when the value was inferred from the conversation, such as a gender read
300
+ * from a name, rather than stated. A stated value always replaces it.
301
+ */
302
+ isInferred: boolean;
303
+
293
304
  /**
294
305
  * True when newer conversations cannot change this field
295
306
  */
296
307
  isLocked: boolean;
297
308
 
298
- key:
299
- | 'FULL_NAME'
300
- | 'PREFERRED_NAME'
301
- | 'ACCOUNT_ID'
302
- | 'COMPANY'
303
- | 'JOB_TITLE'
304
- | 'EMAIL'
305
- | 'ALTERNATE_PHONE'
306
- | 'AGE'
307
- | 'GENDER'
308
- | 'LANGUAGE'
309
- | 'LOCATION'
310
- | 'TIMEZONE'
311
- | 'BEST_TIME_TO_REACH'
312
- | 'PREFERRED_CHANNEL';
309
+ key: string;
313
310
 
314
311
  observedAt: string;
315
312
 
@@ -375,24 +372,24 @@ export namespace CustomerProfileListResponse {
375
372
  }
376
373
  }
377
374
 
378
- export interface CustomerProfileDeleteResponse {
379
- data: CustomerProfileDeleteResponse.Data;
375
+ export interface CustomerDeleteResponse {
376
+ data: CustomerDeleteResponse.Data;
380
377
  }
381
378
 
382
- export namespace CustomerProfileDeleteResponse {
379
+ export namespace CustomerDeleteResponse {
383
380
  export interface Data {
384
381
  success: boolean;
385
382
  }
386
383
  }
387
384
 
388
- export interface CustomerProfileClearAttributeResponse {
389
- data: CustomerProfileClearAttributeResponse.Data;
385
+ export interface CustomerClearAttributeResponse {
386
+ data: CustomerClearAttributeResponse.Data;
390
387
  }
391
388
 
392
- export namespace CustomerProfileClearAttributeResponse {
389
+ export namespace CustomerClearAttributeResponse {
393
390
  export interface Data {
394
391
  /**
395
- * Unique identifier of the customer profile
392
+ * Unique identifier of the customer
396
393
  */
397
394
  id: string;
398
395
 
@@ -452,26 +449,18 @@ export namespace CustomerProfileClearAttributeResponse {
452
449
  */
453
450
  history: Array<Attribute.History>;
454
451
 
452
+ /**
453
+ * True when the value was inferred from the conversation, such as a gender read
454
+ * from a name, rather than stated. A stated value always replaces it.
455
+ */
456
+ isInferred: boolean;
457
+
455
458
  /**
456
459
  * True when newer conversations cannot change this field
457
460
  */
458
461
  isLocked: boolean;
459
462
 
460
- key:
461
- | 'FULL_NAME'
462
- | 'PREFERRED_NAME'
463
- | 'ACCOUNT_ID'
464
- | 'COMPANY'
465
- | 'JOB_TITLE'
466
- | 'EMAIL'
467
- | 'ALTERNATE_PHONE'
468
- | 'AGE'
469
- | 'GENDER'
470
- | 'LANGUAGE'
471
- | 'LOCATION'
472
- | 'TIMEZONE'
473
- | 'BEST_TIME_TO_REACH'
474
- | 'PREFERRED_CHANNEL';
463
+ key: string;
475
464
 
476
465
  observedAt: string;
477
466
 
@@ -536,14 +525,70 @@ export namespace CustomerProfileClearAttributeResponse {
536
525
  }
537
526
  }
538
527
 
539
- export interface CustomerProfileGetByIDResponse {
540
- data: CustomerProfileGetByIDResponse.Data;
528
+ export interface CustomerCreateFieldResponse {
529
+ data: CustomerCreateFieldResponse.Data;
541
530
  }
542
531
 
543
- export namespace CustomerProfileGetByIDResponse {
532
+ export namespace CustomerCreateFieldResponse {
544
533
  export interface Data {
545
534
  /**
546
- * Unique identifier of the customer profile
535
+ * What extraction looks for in a conversation
536
+ */
537
+ description: string | null;
538
+
539
+ /**
540
+ * Whether conversations fill this field on this project: the project's own setting
541
+ * where it made one
542
+ */
543
+ extract: boolean;
544
+
545
+ /**
546
+ * What filters, sorts and attribute routes name the field by
547
+ */
548
+ key: string;
549
+
550
+ label: string;
551
+
552
+ /**
553
+ * The project redaction setting that, when on, keeps conversations from filling
554
+ * this field
555
+ */
556
+ redactedBy:
557
+ | 'redactName'
558
+ | 'redactEmail'
559
+ | 'redactPhone'
560
+ | 'redactDateOfBirth'
561
+ | 'redactAddress'
562
+ | 'redactBankAccountNumber'
563
+ | null;
564
+
565
+ /**
566
+ * SYSTEM for a built-in field, CUSTOM for one your project defined
567
+ */
568
+ source: 'SYSTEM' | 'CUSTOM';
569
+
570
+ valueType: 'TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'PHONE_NUMBER' | 'EMAIL' | 'CURRENCY';
571
+ }
572
+ }
573
+
574
+ export interface CustomerDeleteFieldResponse {
575
+ data: CustomerDeleteFieldResponse.Data;
576
+ }
577
+
578
+ export namespace CustomerDeleteFieldResponse {
579
+ export interface Data {
580
+ success: boolean;
581
+ }
582
+ }
583
+
584
+ export interface CustomerGetByIDResponse {
585
+ data: CustomerGetByIDResponse.Data;
586
+ }
587
+
588
+ export namespace CustomerGetByIDResponse {
589
+ export interface Data {
590
+ /**
591
+ * Unique identifier of the customer
547
592
  */
548
593
  id: string;
549
594
 
@@ -603,26 +648,18 @@ export namespace CustomerProfileGetByIDResponse {
603
648
  */
604
649
  history: Array<Attribute.History>;
605
650
 
651
+ /**
652
+ * True when the value was inferred from the conversation, such as a gender read
653
+ * from a name, rather than stated. A stated value always replaces it.
654
+ */
655
+ isInferred: boolean;
656
+
606
657
  /**
607
658
  * True when newer conversations cannot change this field
608
659
  */
609
660
  isLocked: boolean;
610
661
 
611
- key:
612
- | 'FULL_NAME'
613
- | 'PREFERRED_NAME'
614
- | 'ACCOUNT_ID'
615
- | 'COMPANY'
616
- | 'JOB_TITLE'
617
- | 'EMAIL'
618
- | 'ALTERNATE_PHONE'
619
- | 'AGE'
620
- | 'GENDER'
621
- | 'LANGUAGE'
622
- | 'LOCATION'
623
- | 'TIMEZONE'
624
- | 'BEST_TIME_TO_REACH'
625
- | 'PREFERRED_CHANNEL';
662
+ key: string;
626
663
 
627
664
  observedAt: string;
628
665
 
@@ -687,11 +724,11 @@ export namespace CustomerProfileGetByIDResponse {
687
724
  }
688
725
  }
689
726
 
690
- export interface CustomerProfileListConversationsResponse {
691
- data: CustomerProfileListConversationsResponse.Data;
727
+ export interface CustomerListConversationsResponse {
728
+ data: CustomerListConversationsResponse.Data;
692
729
  }
693
730
 
694
- export namespace CustomerProfileListConversationsResponse {
731
+ export namespace CustomerListConversationsResponse {
695
732
  export interface Data {
696
733
  items: Array<Data.Item>;
697
734
 
@@ -704,7 +741,10 @@ export namespace CustomerProfileListConversationsResponse {
704
741
  export interface Item {
705
742
  id: string;
706
743
 
707
- conversationType: 'call' | 'chat';
744
+ /**
745
+ * `voice` or `chat`.
746
+ */
747
+ conversationType: 'voice' | 'chat';
708
748
 
709
749
  durationMs: number | null;
710
750
 
@@ -717,14 +757,60 @@ export namespace CustomerProfileListConversationsResponse {
717
757
  }
718
758
  }
719
759
 
720
- export interface CustomerProfileSetAttributeResponse {
721
- data: CustomerProfileSetAttributeResponse.Data;
760
+ export interface CustomerListFieldsResponse {
761
+ data: Array<CustomerListFieldsResponse.Data>;
722
762
  }
723
763
 
724
- export namespace CustomerProfileSetAttributeResponse {
764
+ export namespace CustomerListFieldsResponse {
725
765
  export interface Data {
726
766
  /**
727
- * Unique identifier of the customer profile
767
+ * What extraction looks for in a conversation
768
+ */
769
+ description: string | null;
770
+
771
+ /**
772
+ * Whether conversations fill this field on this project: the project's own setting
773
+ * where it made one
774
+ */
775
+ extract: boolean;
776
+
777
+ /**
778
+ * What filters, sorts and attribute routes name the field by
779
+ */
780
+ key: string;
781
+
782
+ label: string;
783
+
784
+ /**
785
+ * The project redaction setting that, when on, keeps conversations from filling
786
+ * this field
787
+ */
788
+ redactedBy:
789
+ | 'redactName'
790
+ | 'redactEmail'
791
+ | 'redactPhone'
792
+ | 'redactDateOfBirth'
793
+ | 'redactAddress'
794
+ | 'redactBankAccountNumber'
795
+ | null;
796
+
797
+ /**
798
+ * SYSTEM for a built-in field, CUSTOM for one your project defined
799
+ */
800
+ source: 'SYSTEM' | 'CUSTOM';
801
+
802
+ valueType: 'TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'PHONE_NUMBER' | 'EMAIL' | 'CURRENCY';
803
+ }
804
+ }
805
+
806
+ export interface CustomerSetAttributeResponse {
807
+ data: CustomerSetAttributeResponse.Data;
808
+ }
809
+
810
+ export namespace CustomerSetAttributeResponse {
811
+ export interface Data {
812
+ /**
813
+ * Unique identifier of the customer
728
814
  */
729
815
  id: string;
730
816
 
@@ -784,26 +870,18 @@ export namespace CustomerProfileSetAttributeResponse {
784
870
  */
785
871
  history: Array<Attribute.History>;
786
872
 
873
+ /**
874
+ * True when the value was inferred from the conversation, such as a gender read
875
+ * from a name, rather than stated. A stated value always replaces it.
876
+ */
877
+ isInferred: boolean;
878
+
787
879
  /**
788
880
  * True when newer conversations cannot change this field
789
881
  */
790
882
  isLocked: boolean;
791
883
 
792
- key:
793
- | 'FULL_NAME'
794
- | 'PREFERRED_NAME'
795
- | 'ACCOUNT_ID'
796
- | 'COMPANY'
797
- | 'JOB_TITLE'
798
- | 'EMAIL'
799
- | 'ALTERNATE_PHONE'
800
- | 'AGE'
801
- | 'GENDER'
802
- | 'LANGUAGE'
803
- | 'LOCATION'
804
- | 'TIMEZONE'
805
- | 'BEST_TIME_TO_REACH'
806
- | 'PREFERRED_CHANNEL';
884
+ key: string;
807
885
 
808
886
  observedAt: string;
809
887
 
@@ -868,14 +946,14 @@ export namespace CustomerProfileSetAttributeResponse {
868
946
  }
869
947
  }
870
948
 
871
- export interface CustomerProfileUnlockAttributeResponse {
872
- data: CustomerProfileUnlockAttributeResponse.Data;
949
+ export interface CustomerUnlockAttributeResponse {
950
+ data: CustomerUnlockAttributeResponse.Data;
873
951
  }
874
952
 
875
- export namespace CustomerProfileUnlockAttributeResponse {
953
+ export namespace CustomerUnlockAttributeResponse {
876
954
  export interface Data {
877
955
  /**
878
- * Unique identifier of the customer profile
956
+ * Unique identifier of the customer
879
957
  */
880
958
  id: string;
881
959
 
@@ -935,26 +1013,18 @@ export namespace CustomerProfileUnlockAttributeResponse {
935
1013
  */
936
1014
  history: Array<Attribute.History>;
937
1015
 
1016
+ /**
1017
+ * True when the value was inferred from the conversation, such as a gender read
1018
+ * from a name, rather than stated. A stated value always replaces it.
1019
+ */
1020
+ isInferred: boolean;
1021
+
938
1022
  /**
939
1023
  * True when newer conversations cannot change this field
940
1024
  */
941
1025
  isLocked: boolean;
942
1026
 
943
- key:
944
- | 'FULL_NAME'
945
- | 'PREFERRED_NAME'
946
- | 'ACCOUNT_ID'
947
- | 'COMPANY'
948
- | 'JOB_TITLE'
949
- | 'EMAIL'
950
- | 'ALTERNATE_PHONE'
951
- | 'AGE'
952
- | 'GENDER'
953
- | 'LANGUAGE'
954
- | 'LOCATION'
955
- | 'TIMEZONE'
956
- | 'BEST_TIME_TO_REACH'
957
- | 'PREFERRED_CHANNEL';
1027
+ key: string;
958
1028
 
959
1029
  observedAt: string;
960
1030
 
@@ -1019,14 +1089,60 @@ export namespace CustomerProfileUnlockAttributeResponse {
1019
1089
  }
1020
1090
  }
1021
1091
 
1022
- export interface CustomerProfileUpdateNotesResponse {
1023
- data: CustomerProfileUpdateNotesResponse.Data;
1092
+ export interface CustomerUpdateFieldResponse {
1093
+ data: CustomerUpdateFieldResponse.Data;
1094
+ }
1095
+
1096
+ export namespace CustomerUpdateFieldResponse {
1097
+ export interface Data {
1098
+ /**
1099
+ * What extraction looks for in a conversation
1100
+ */
1101
+ description: string | null;
1102
+
1103
+ /**
1104
+ * Whether conversations fill this field on this project: the project's own setting
1105
+ * where it made one
1106
+ */
1107
+ extract: boolean;
1108
+
1109
+ /**
1110
+ * What filters, sorts and attribute routes name the field by
1111
+ */
1112
+ key: string;
1113
+
1114
+ label: string;
1115
+
1116
+ /**
1117
+ * The project redaction setting that, when on, keeps conversations from filling
1118
+ * this field
1119
+ */
1120
+ redactedBy:
1121
+ | 'redactName'
1122
+ | 'redactEmail'
1123
+ | 'redactPhone'
1124
+ | 'redactDateOfBirth'
1125
+ | 'redactAddress'
1126
+ | 'redactBankAccountNumber'
1127
+ | null;
1128
+
1129
+ /**
1130
+ * SYSTEM for a built-in field, CUSTOM for one your project defined
1131
+ */
1132
+ source: 'SYSTEM' | 'CUSTOM';
1133
+
1134
+ valueType: 'TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'PHONE_NUMBER' | 'EMAIL' | 'CURRENCY';
1135
+ }
1136
+ }
1137
+
1138
+ export interface CustomerUpdateNotesResponse {
1139
+ data: CustomerUpdateNotesResponse.Data;
1024
1140
  }
1025
1141
 
1026
- export namespace CustomerProfileUpdateNotesResponse {
1142
+ export namespace CustomerUpdateNotesResponse {
1027
1143
  export interface Data {
1028
1144
  /**
1029
- * Unique identifier of the customer profile
1145
+ * Unique identifier of the customer
1030
1146
  */
1031
1147
  id: string;
1032
1148
 
@@ -1086,26 +1202,18 @@ export namespace CustomerProfileUpdateNotesResponse {
1086
1202
  */
1087
1203
  history: Array<Attribute.History>;
1088
1204
 
1205
+ /**
1206
+ * True when the value was inferred from the conversation, such as a gender read
1207
+ * from a name, rather than stated. A stated value always replaces it.
1208
+ */
1209
+ isInferred: boolean;
1210
+
1089
1211
  /**
1090
1212
  * True when newer conversations cannot change this field
1091
1213
  */
1092
1214
  isLocked: boolean;
1093
1215
 
1094
- key:
1095
- | 'FULL_NAME'
1096
- | 'PREFERRED_NAME'
1097
- | 'ACCOUNT_ID'
1098
- | 'COMPANY'
1099
- | 'JOB_TITLE'
1100
- | 'EMAIL'
1101
- | 'ALTERNATE_PHONE'
1102
- | 'AGE'
1103
- | 'GENDER'
1104
- | 'LANGUAGE'
1105
- | 'LOCATION'
1106
- | 'TIMEZONE'
1107
- | 'BEST_TIME_TO_REACH'
1108
- | 'PREFERRED_CHANNEL';
1216
+ key: string;
1109
1217
 
1110
1218
  observedAt: string;
1111
1219
 
@@ -1170,28 +1278,14 @@ export namespace CustomerProfileUpdateNotesResponse {
1170
1278
  }
1171
1279
  }
1172
1280
 
1173
- export interface CustomerProfileListParams {
1281
+ export interface CustomerListParams {
1174
1282
  agentId?: string;
1175
1283
 
1176
1284
  /**
1177
- * Filter by this field. Use with fieldOperator and, unless checking presence,
1178
- * fieldValue.
1285
+ * Filter by this field, a key from GET /v1/customer/fields. Use with fieldOperator
1286
+ * and, unless checking presence, fieldValue.
1179
1287
  */
1180
- fieldKey?:
1181
- | 'FULL_NAME'
1182
- | 'PREFERRED_NAME'
1183
- | 'ACCOUNT_ID'
1184
- | 'COMPANY'
1185
- | 'JOB_TITLE'
1186
- | 'EMAIL'
1187
- | 'ALTERNATE_PHONE'
1188
- | 'AGE'
1189
- | 'GENDER'
1190
- | 'LANGUAGE'
1191
- | 'LOCATION'
1192
- | 'TIMEZONE'
1193
- | 'BEST_TIME_TO_REACH'
1194
- | 'PREFERRED_CHANNEL';
1288
+ fieldKey?: string;
1195
1289
 
1196
1290
  /**
1197
1291
  * How fieldValue is compared, ignoring case. NOT_EQUALS includes customers without
@@ -1209,53 +1303,55 @@ export interface CustomerProfileListParams {
1209
1303
 
1210
1304
  limit?: number;
1211
1305
 
1212
- modality?: 'call' | 'chat';
1306
+ modality?: 'voice' | 'chat' | 'call';
1213
1307
 
1214
1308
  page?: number;
1215
1309
 
1216
1310
  search?: string;
1217
1311
 
1218
1312
  /**
1219
- * A column, or field.<KEY> (for example field.COMPANY) to sort by a field's value.
1220
- * Customers without a value sort last.
1313
+ * lastSeenAt (the default), firstSeenAt, conversationCount, voiceCount, chatCount,
1314
+ * talkTimeMs or displayName, or field.<key> (for example field.COMPANY) to sort by
1315
+ * a field's value. Field keys come from GET /v1/customer/fields. Customers without
1316
+ * a value sort last.
1221
1317
  */
1222
- sortBy?:
1223
- | 'lastSeenAt'
1224
- | 'firstSeenAt'
1225
- | 'conversationCount'
1226
- | 'voiceCount'
1227
- | 'chatCount'
1228
- | 'talkTimeMs'
1229
- | 'displayName'
1230
- | 'field.FULL_NAME'
1231
- | 'field.PREFERRED_NAME'
1232
- | 'field.ACCOUNT_ID'
1233
- | 'field.COMPANY'
1234
- | 'field.JOB_TITLE'
1235
- | 'field.EMAIL'
1236
- | 'field.ALTERNATE_PHONE'
1237
- | 'field.AGE'
1238
- | 'field.GENDER'
1239
- | 'field.LANGUAGE'
1240
- | 'field.LOCATION'
1241
- | 'field.TIMEZONE'
1242
- | 'field.BEST_TIME_TO_REACH'
1243
- | 'field.PREFERRED_CHANNEL';
1318
+ sortBy?: string;
1244
1319
 
1245
1320
  sortDirection?: 'asc' | 'desc';
1246
1321
  }
1247
1322
 
1248
- export interface CustomerProfileClearAttributeParams {
1323
+ export interface CustomerClearAttributeParams {
1249
1324
  customerProfileId: string;
1250
1325
  }
1251
1326
 
1252
- export interface CustomerProfileListConversationsParams {
1327
+ export interface CustomerCreateFieldParams {
1328
+ /**
1329
+ * Whether conversations fill this field
1330
+ */
1331
+ extract: boolean;
1332
+
1333
+ /**
1334
+ * Starts with a letter; letters, numbers and underscores only. Fixed once created.
1335
+ */
1336
+ key: string;
1337
+
1338
+ label: string;
1339
+
1340
+ valueType: 'TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'PHONE_NUMBER' | 'EMAIL' | 'CURRENCY';
1341
+
1342
+ /**
1343
+ * What the agent listens for in a conversation. Required when extract is true.
1344
+ */
1345
+ description?: string | null;
1346
+ }
1347
+
1348
+ export interface CustomerListConversationsParams {
1253
1349
  limit?: number;
1254
1350
 
1255
1351
  page?: number;
1256
1352
  }
1257
1353
 
1258
- export interface CustomerProfileSetAttributeParams {
1354
+ export interface CustomerSetAttributeParams {
1259
1355
  /**
1260
1356
  * Path param
1261
1357
  */
@@ -1268,32 +1364,48 @@ export interface CustomerProfileSetAttributeParams {
1268
1364
  value: string;
1269
1365
  }
1270
1366
 
1271
- export interface CustomerProfileUnlockAttributeParams {
1367
+ export interface CustomerUnlockAttributeParams {
1272
1368
  customerProfileId: string;
1273
1369
  }
1274
1370
 
1275
- export interface CustomerProfileUpdateNotesParams {
1371
+ export interface CustomerUpdateFieldParams {
1372
+ description?: string | null;
1373
+
1374
+ extract?: boolean;
1375
+
1376
+ label?: string;
1377
+
1378
+ valueType?: 'TEXT' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'PHONE_NUMBER' | 'EMAIL' | 'CURRENCY';
1379
+ }
1380
+
1381
+ export interface CustomerUpdateNotesParams {
1276
1382
  /**
1277
1383
  * Replaces the existing notes. Null or empty clears them.
1278
1384
  */
1279
1385
  notes: string | null;
1280
1386
  }
1281
1387
 
1282
- export declare namespace CustomerProfile {
1388
+ export declare namespace Customer {
1283
1389
  export {
1284
- type CustomerProfileListResponse as CustomerProfileListResponse,
1285
- type CustomerProfileDeleteResponse as CustomerProfileDeleteResponse,
1286
- type CustomerProfileClearAttributeResponse as CustomerProfileClearAttributeResponse,
1287
- type CustomerProfileGetByIDResponse as CustomerProfileGetByIDResponse,
1288
- type CustomerProfileListConversationsResponse as CustomerProfileListConversationsResponse,
1289
- type CustomerProfileSetAttributeResponse as CustomerProfileSetAttributeResponse,
1290
- type CustomerProfileUnlockAttributeResponse as CustomerProfileUnlockAttributeResponse,
1291
- type CustomerProfileUpdateNotesResponse as CustomerProfileUpdateNotesResponse,
1292
- type CustomerProfileListParams as CustomerProfileListParams,
1293
- type CustomerProfileClearAttributeParams as CustomerProfileClearAttributeParams,
1294
- type CustomerProfileListConversationsParams as CustomerProfileListConversationsParams,
1295
- type CustomerProfileSetAttributeParams as CustomerProfileSetAttributeParams,
1296
- type CustomerProfileUnlockAttributeParams as CustomerProfileUnlockAttributeParams,
1297
- type CustomerProfileUpdateNotesParams as CustomerProfileUpdateNotesParams,
1390
+ type CustomerListResponse as CustomerListResponse,
1391
+ type CustomerDeleteResponse as CustomerDeleteResponse,
1392
+ type CustomerClearAttributeResponse as CustomerClearAttributeResponse,
1393
+ type CustomerCreateFieldResponse as CustomerCreateFieldResponse,
1394
+ type CustomerDeleteFieldResponse as CustomerDeleteFieldResponse,
1395
+ type CustomerGetByIDResponse as CustomerGetByIDResponse,
1396
+ type CustomerListConversationsResponse as CustomerListConversationsResponse,
1397
+ type CustomerListFieldsResponse as CustomerListFieldsResponse,
1398
+ type CustomerSetAttributeResponse as CustomerSetAttributeResponse,
1399
+ type CustomerUnlockAttributeResponse as CustomerUnlockAttributeResponse,
1400
+ type CustomerUpdateFieldResponse as CustomerUpdateFieldResponse,
1401
+ type CustomerUpdateNotesResponse as CustomerUpdateNotesResponse,
1402
+ type CustomerListParams as CustomerListParams,
1403
+ type CustomerClearAttributeParams as CustomerClearAttributeParams,
1404
+ type CustomerCreateFieldParams as CustomerCreateFieldParams,
1405
+ type CustomerListConversationsParams as CustomerListConversationsParams,
1406
+ type CustomerSetAttributeParams as CustomerSetAttributeParams,
1407
+ type CustomerUnlockAttributeParams as CustomerUnlockAttributeParams,
1408
+ type CustomerUpdateFieldParams as CustomerUpdateFieldParams,
1409
+ type CustomerUpdateNotesParams as CustomerUpdateNotesParams,
1298
1410
  };
1299
1411
  }