@gtmi/ramp-api-client 0.0.1 → 0.0.2
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.
- package/dist/es/index.d.mts +2386 -205
- package/dist/es/index.mjs +447 -8
- package/package.json +1 -1
- package/src/generated/index.ts +134 -0
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +1362 -143
- package/src/generated/zod.gen.ts +487 -4
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -69,200 +69,334 @@ export {
|
|
|
69
69
|
} from './sdk.gen';
|
|
70
70
|
export type {
|
|
71
71
|
AutogenRequest,
|
|
72
|
+
CalledByData,
|
|
73
|
+
Campaign,
|
|
72
74
|
ClientOptions,
|
|
75
|
+
Conversation,
|
|
73
76
|
DeleteConversationMemoryConversationSummariesData,
|
|
77
|
+
DeleteConversationMemoryConversationSummariesError,
|
|
74
78
|
DeleteConversationMemoryConversationSummariesErrors,
|
|
79
|
+
DeleteConversationMemoryConversationSummariesResponse,
|
|
75
80
|
DeleteConversationMemoryConversationSummariesResponses,
|
|
76
81
|
DeleteConversationMemoryIdentifiersData,
|
|
82
|
+
DeleteConversationMemoryIdentifiersError,
|
|
77
83
|
DeleteConversationMemoryIdentifiersErrors,
|
|
84
|
+
DeleteConversationMemoryIdentifiersResponse,
|
|
78
85
|
DeleteConversationMemoryIdentifiersResponses,
|
|
79
86
|
DeleteConversationMemoryObservationsData,
|
|
87
|
+
DeleteConversationMemoryObservationsError,
|
|
80
88
|
DeleteConversationMemoryObservationsErrors,
|
|
89
|
+
DeleteConversationMemoryObservationsResponse,
|
|
81
90
|
DeleteConversationMemoryObservationsResponses,
|
|
82
91
|
DeleteConversationMemoryProfilesData,
|
|
92
|
+
DeleteConversationMemoryProfilesError,
|
|
83
93
|
DeleteConversationMemoryProfilesErrors,
|
|
94
|
+
DeleteConversationMemoryProfilesResponse,
|
|
84
95
|
DeleteConversationMemoryProfilesResponses,
|
|
85
96
|
DeleteConversationMemoryResetData,
|
|
97
|
+
DeleteConversationMemoryResetError,
|
|
86
98
|
DeleteConversationMemoryResetErrors,
|
|
99
|
+
DeleteConversationMemoryResetResponse,
|
|
87
100
|
DeleteConversationMemoryResetResponses,
|
|
88
101
|
DeleteConversationMemoryTraitGroupsData,
|
|
102
|
+
DeleteConversationMemoryTraitGroupsError,
|
|
89
103
|
DeleteConversationMemoryTraitGroupsErrors,
|
|
104
|
+
DeleteConversationMemoryTraitGroupsResponse,
|
|
90
105
|
DeleteConversationMemoryTraitGroupsResponses,
|
|
91
106
|
DeleteConversationalIntelligenceOperatorData,
|
|
107
|
+
DeleteConversationalIntelligenceOperatorError,
|
|
92
108
|
DeleteConversationalIntelligenceOperatorErrors,
|
|
109
|
+
DeleteConversationalIntelligenceOperatorResponse,
|
|
93
110
|
DeleteConversationalIntelligenceOperatorResponses,
|
|
94
111
|
DeleteLeadGenData,
|
|
112
|
+
DeleteLeadGenError,
|
|
95
113
|
DeleteLeadGenErrors,
|
|
114
|
+
DeleteLeadGenResponse,
|
|
96
115
|
DeleteLeadGenResponses,
|
|
97
116
|
DeleteLinkShortenerByCodeData,
|
|
117
|
+
DeleteLinkShortenerByCodeError,
|
|
98
118
|
DeleteLinkShortenerByCodeErrors,
|
|
119
|
+
DeleteLinkShortenerByCodeResponse,
|
|
99
120
|
DeleteLinkShortenerByCodeResponses,
|
|
100
121
|
DeleteTemplateData,
|
|
122
|
+
DeleteTemplateError,
|
|
101
123
|
DeleteTemplateErrors,
|
|
124
|
+
DeleteTemplateResponse,
|
|
102
125
|
DeleteTemplateResponses,
|
|
126
|
+
ErrorResponse,
|
|
103
127
|
GetCampaignData,
|
|
128
|
+
GetCampaignError,
|
|
104
129
|
GetCampaignErrors,
|
|
130
|
+
GetCampaignResponse,
|
|
105
131
|
GetCampaignResponses,
|
|
106
132
|
GetConversationMemoryConversationSummariesData,
|
|
133
|
+
GetConversationMemoryConversationSummariesError,
|
|
107
134
|
GetConversationMemoryConversationSummariesErrors,
|
|
135
|
+
GetConversationMemoryConversationSummariesResponse,
|
|
108
136
|
GetConversationMemoryConversationSummariesResponses,
|
|
109
137
|
GetConversationMemoryIdentifiersData,
|
|
138
|
+
GetConversationMemoryIdentifiersError,
|
|
110
139
|
GetConversationMemoryIdentifiersErrors,
|
|
140
|
+
GetConversationMemoryIdentifiersResponse,
|
|
111
141
|
GetConversationMemoryIdentifiersResponses,
|
|
112
142
|
GetConversationMemoryObservationsData,
|
|
143
|
+
GetConversationMemoryObservationsError,
|
|
113
144
|
GetConversationMemoryObservationsErrors,
|
|
145
|
+
GetConversationMemoryObservationsResponse,
|
|
114
146
|
GetConversationMemoryObservationsResponses,
|
|
115
147
|
GetConversationMemoryProfilesData,
|
|
148
|
+
GetConversationMemoryProfilesError,
|
|
116
149
|
GetConversationMemoryProfilesErrors,
|
|
150
|
+
GetConversationMemoryProfilesResponse,
|
|
117
151
|
GetConversationMemoryProfilesResponses,
|
|
118
152
|
GetConversationMemoryTraitGroupsData,
|
|
153
|
+
GetConversationMemoryTraitGroupsError,
|
|
119
154
|
GetConversationMemoryTraitGroupsErrors,
|
|
155
|
+
GetConversationMemoryTraitGroupsResponse,
|
|
120
156
|
GetConversationMemoryTraitGroupsResponses,
|
|
121
157
|
GetConversationMemoryTraitsData,
|
|
158
|
+
GetConversationMemoryTraitsError,
|
|
122
159
|
GetConversationMemoryTraitsErrors,
|
|
160
|
+
GetConversationMemoryTraitsResponse,
|
|
123
161
|
GetConversationMemoryTraitsResponses,
|
|
124
162
|
GetConversationalIntelligenceOperatorData,
|
|
163
|
+
GetConversationalIntelligenceOperatorError,
|
|
125
164
|
GetConversationalIntelligenceOperatorErrors,
|
|
165
|
+
GetConversationalIntelligenceOperatorResponse,
|
|
126
166
|
GetConversationalIntelligenceOperatorResponses,
|
|
127
167
|
GetConversationsFetchData,
|
|
168
|
+
GetConversationsFetchError,
|
|
128
169
|
GetConversationsFetchErrors,
|
|
170
|
+
GetConversationsFetchResponse,
|
|
129
171
|
GetConversationsFetchResponses,
|
|
130
172
|
GetDocsOpenapiJsonData,
|
|
173
|
+
GetDocsOpenapiJsonError,
|
|
131
174
|
GetDocsOpenapiJsonErrors,
|
|
175
|
+
GetDocsOpenapiJsonResponse,
|
|
132
176
|
GetDocsOpenapiJsonResponses,
|
|
133
177
|
GetHealthData,
|
|
134
178
|
GetHealthErrors,
|
|
179
|
+
GetHealthResponse,
|
|
135
180
|
GetHealthResponses,
|
|
136
181
|
GetIntelligenceConfigurationData,
|
|
182
|
+
GetIntelligenceConfigurationError,
|
|
137
183
|
GetIntelligenceConfigurationErrors,
|
|
184
|
+
GetIntelligenceConfigurationResponse,
|
|
138
185
|
GetIntelligenceConfigurationResponses,
|
|
139
186
|
GetLinkShortenerData,
|
|
187
|
+
GetLinkShortenerError,
|
|
140
188
|
GetLinkShortenerErrors,
|
|
189
|
+
GetLinkShortenerResponse,
|
|
141
190
|
GetLinkShortenerResponses,
|
|
142
191
|
GetLookupDemoData,
|
|
192
|
+
GetLookupDemoError,
|
|
143
193
|
GetLookupDemoErrors,
|
|
194
|
+
GetLookupDemoResponse,
|
|
144
195
|
GetLookupDemoResponses,
|
|
145
196
|
GetParticipantsData,
|
|
197
|
+
GetParticipantsError,
|
|
146
198
|
GetParticipantsErrors,
|
|
199
|
+
GetParticipantsResponse,
|
|
147
200
|
GetParticipantsResponses,
|
|
148
201
|
GetSupportedRegionsData,
|
|
202
|
+
GetSupportedRegionsError,
|
|
149
203
|
GetSupportedRegionsErrors,
|
|
150
204
|
GetSupportedRegionsResponse,
|
|
151
205
|
GetSupportedRegionsResponses,
|
|
152
206
|
GetSyncTokenData,
|
|
207
|
+
GetSyncTokenError,
|
|
153
208
|
GetSyncTokenErrors,
|
|
209
|
+
GetSyncTokenResponse,
|
|
154
210
|
GetSyncTokenResponses,
|
|
155
211
|
GetVoiceTokenData,
|
|
212
|
+
GetVoiceTokenError,
|
|
156
213
|
GetVoiceTokenErrors,
|
|
214
|
+
GetVoiceTokenResponse,
|
|
157
215
|
GetVoiceTokenResponses,
|
|
216
|
+
IntelligenceConfiguration,
|
|
217
|
+
Operator,
|
|
218
|
+
Participant,
|
|
158
219
|
PatchConversationMemoryConversationSummariesData,
|
|
220
|
+
PatchConversationMemoryConversationSummariesError,
|
|
159
221
|
PatchConversationMemoryConversationSummariesErrors,
|
|
222
|
+
PatchConversationMemoryConversationSummariesResponse,
|
|
160
223
|
PatchConversationMemoryConversationSummariesResponses,
|
|
161
224
|
PatchConversationMemoryIdentifiersData,
|
|
225
|
+
PatchConversationMemoryIdentifiersError,
|
|
162
226
|
PatchConversationMemoryIdentifiersErrors,
|
|
227
|
+
PatchConversationMemoryIdentifiersResponse,
|
|
163
228
|
PatchConversationMemoryIdentifiersResponses,
|
|
164
229
|
PatchConversationMemoryObservationsData,
|
|
230
|
+
PatchConversationMemoryObservationsError,
|
|
165
231
|
PatchConversationMemoryObservationsErrors,
|
|
232
|
+
PatchConversationMemoryObservationsResponse,
|
|
166
233
|
PatchConversationMemoryObservationsResponses,
|
|
167
234
|
PatchConversationMemoryProfilesData,
|
|
235
|
+
PatchConversationMemoryProfilesError,
|
|
168
236
|
PatchConversationMemoryProfilesErrors,
|
|
237
|
+
PatchConversationMemoryProfilesResponse,
|
|
169
238
|
PatchConversationMemoryProfilesResponses,
|
|
170
239
|
PatchConversationMemoryTraitGroupsData,
|
|
240
|
+
PatchConversationMemoryTraitGroupsError,
|
|
171
241
|
PatchConversationMemoryTraitGroupsErrors,
|
|
242
|
+
PatchConversationMemoryTraitGroupsResponse,
|
|
172
243
|
PatchConversationMemoryTraitGroupsResponses,
|
|
173
244
|
PatchLeadGenData,
|
|
245
|
+
PatchLeadGenError,
|
|
174
246
|
PatchLeadGenErrors,
|
|
247
|
+
PatchLeadGenResponse,
|
|
175
248
|
PatchLeadGenResponses,
|
|
176
249
|
PatchLinkShortenerData,
|
|
250
|
+
PatchLinkShortenerError,
|
|
177
251
|
PatchLinkShortenerErrors,
|
|
252
|
+
PatchLinkShortenerResponse,
|
|
178
253
|
PatchLinkShortenerResponses,
|
|
179
254
|
PostAssignDemoData,
|
|
255
|
+
PostAssignDemoError,
|
|
180
256
|
PostAssignDemoErrors,
|
|
257
|
+
PostAssignDemoResponse,
|
|
181
258
|
PostAssignDemoResponses,
|
|
182
259
|
PostConversationMemoryConversationSummariesData,
|
|
260
|
+
PostConversationMemoryConversationSummariesError,
|
|
183
261
|
PostConversationMemoryConversationSummariesErrors,
|
|
262
|
+
PostConversationMemoryConversationSummariesResponse,
|
|
184
263
|
PostConversationMemoryConversationSummariesResponses,
|
|
185
264
|
PostConversationMemoryIdentifiersData,
|
|
265
|
+
PostConversationMemoryIdentifiersError,
|
|
186
266
|
PostConversationMemoryIdentifiersErrors,
|
|
267
|
+
PostConversationMemoryIdentifiersResponse,
|
|
187
268
|
PostConversationMemoryIdentifiersResponses,
|
|
188
269
|
PostConversationMemoryObservationsData,
|
|
270
|
+
PostConversationMemoryObservationsError,
|
|
189
271
|
PostConversationMemoryObservationsErrors,
|
|
272
|
+
PostConversationMemoryObservationsResponse,
|
|
190
273
|
PostConversationMemoryObservationsResponses,
|
|
191
274
|
PostConversationMemoryProfilesData,
|
|
275
|
+
PostConversationMemoryProfilesError,
|
|
192
276
|
PostConversationMemoryProfilesErrors,
|
|
193
277
|
PostConversationMemoryProfilesLookupData,
|
|
278
|
+
PostConversationMemoryProfilesLookupError,
|
|
194
279
|
PostConversationMemoryProfilesLookupErrors,
|
|
280
|
+
PostConversationMemoryProfilesLookupResponse,
|
|
195
281
|
PostConversationMemoryProfilesLookupResponses,
|
|
282
|
+
PostConversationMemoryProfilesResponse,
|
|
196
283
|
PostConversationMemoryProfilesResponses,
|
|
197
284
|
PostConversationMemoryRecallData,
|
|
285
|
+
PostConversationMemoryRecallError,
|
|
198
286
|
PostConversationMemoryRecallErrors,
|
|
287
|
+
PostConversationMemoryRecallResponse,
|
|
199
288
|
PostConversationMemoryRecallResponses,
|
|
200
289
|
PostConversationMemoryTraitGroupsData,
|
|
290
|
+
PostConversationMemoryTraitGroupsError,
|
|
201
291
|
PostConversationMemoryTraitGroupsErrors,
|
|
292
|
+
PostConversationMemoryTraitGroupsResponse,
|
|
202
293
|
PostConversationMemoryTraitGroupsResponses,
|
|
203
294
|
PostConversationalIntelligenceOperatorData,
|
|
295
|
+
PostConversationalIntelligenceOperatorError,
|
|
204
296
|
PostConversationalIntelligenceOperatorErrors,
|
|
297
|
+
PostConversationalIntelligenceOperatorResponse,
|
|
205
298
|
PostConversationalIntelligenceOperatorResponses,
|
|
206
299
|
PostConversationsCommunicationsByConversationIdData,
|
|
300
|
+
PostConversationsCommunicationsByConversationIdError,
|
|
207
301
|
PostConversationsCommunicationsByConversationIdErrors,
|
|
302
|
+
PostConversationsCommunicationsByConversationIdResponse,
|
|
208
303
|
PostConversationsCommunicationsByConversationIdResponses,
|
|
209
304
|
PostConversationsData,
|
|
305
|
+
PostConversationsError,
|
|
210
306
|
PostConversationsErrors,
|
|
307
|
+
PostConversationsResponse,
|
|
211
308
|
PostConversationsResponses,
|
|
212
309
|
PostConversationsTokenData,
|
|
310
|
+
PostConversationsTokenError,
|
|
213
311
|
PostConversationsTokenErrors,
|
|
312
|
+
PostConversationsTokenResponse,
|
|
214
313
|
PostConversationsTokenResponses,
|
|
215
314
|
PostCreateExternalFlexConnectionData,
|
|
315
|
+
PostCreateExternalFlexConnectionError,
|
|
216
316
|
PostCreateExternalFlexConnectionErrors,
|
|
317
|
+
PostCreateExternalFlexConnectionResponse,
|
|
217
318
|
PostCreateExternalFlexConnectionResponses,
|
|
218
319
|
PostInstallFlexPluginData,
|
|
320
|
+
PostInstallFlexPluginError,
|
|
219
321
|
PostInstallFlexPluginErrors,
|
|
322
|
+
PostInstallFlexPluginResponse,
|
|
220
323
|
PostInstallFlexPluginResponses,
|
|
221
324
|
PostIntelligenceConfigurationData,
|
|
325
|
+
PostIntelligenceConfigurationError,
|
|
222
326
|
PostIntelligenceConfigurationErrors,
|
|
327
|
+
PostIntelligenceConfigurationResponse,
|
|
223
328
|
PostIntelligenceConfigurationResponses,
|
|
224
329
|
PostLeadGenData,
|
|
330
|
+
PostLeadGenError,
|
|
225
331
|
PostLeadGenErrors,
|
|
226
332
|
PostLeadGenMonitorData,
|
|
333
|
+
PostLeadGenMonitorError,
|
|
227
334
|
PostLeadGenMonitorErrors,
|
|
335
|
+
PostLeadGenMonitorResponse,
|
|
228
336
|
PostLeadGenMonitorResponses,
|
|
337
|
+
PostLeadGenResponse,
|
|
229
338
|
PostLeadGenResponses,
|
|
230
339
|
PostLinkShortenerData,
|
|
340
|
+
PostLinkShortenerError,
|
|
231
341
|
PostLinkShortenerErrors,
|
|
342
|
+
PostLinkShortenerResponse,
|
|
232
343
|
PostLinkShortenerResponses,
|
|
233
344
|
PostLiveAgentWebchatConnectData,
|
|
345
|
+
PostLiveAgentWebchatConnectError,
|
|
234
346
|
PostLiveAgentWebchatConnectErrors,
|
|
347
|
+
PostLiveAgentWebchatConnectResponse,
|
|
235
348
|
PostLiveAgentWebchatConnectResponses,
|
|
236
349
|
PostLiveAgentWebchatEndData,
|
|
350
|
+
PostLiveAgentWebchatEndError,
|
|
237
351
|
PostLiveAgentWebchatEndErrors,
|
|
352
|
+
PostLiveAgentWebchatEndResponse,
|
|
238
353
|
PostLiveAgentWebchatEndResponses,
|
|
239
354
|
PostLiveAgentWebchatSendData,
|
|
355
|
+
PostLiveAgentWebchatSendError,
|
|
240
356
|
PostLiveAgentWebchatSendErrors,
|
|
357
|
+
PostLiveAgentWebchatSendResponse,
|
|
241
358
|
PostLiveAgentWebchatSendResponses,
|
|
242
359
|
PostParticipantsData,
|
|
360
|
+
PostParticipantsError,
|
|
243
361
|
PostParticipantsErrors,
|
|
362
|
+
PostParticipantsResponse,
|
|
244
363
|
PostParticipantsResponses,
|
|
245
364
|
PostTemplateAutogenData,
|
|
365
|
+
PostTemplateAutogenError,
|
|
246
366
|
PostTemplateAutogenErrors,
|
|
367
|
+
PostTemplateAutogenResponse,
|
|
247
368
|
PostTemplateAutogenResponses,
|
|
248
369
|
PostTemplateData,
|
|
370
|
+
PostTemplateError,
|
|
249
371
|
PostTemplateErrors,
|
|
372
|
+
PostTemplateResponse,
|
|
250
373
|
PostTemplateResponses,
|
|
251
374
|
PostUiConfigData,
|
|
375
|
+
PostUiConfigError,
|
|
252
376
|
PostUiConfigErrors,
|
|
377
|
+
PostUiConfigResponse,
|
|
253
378
|
PostUiConfigResponses,
|
|
254
379
|
PutConversationalIntelligenceOperatorData,
|
|
380
|
+
PutConversationalIntelligenceOperatorError,
|
|
255
381
|
PutConversationalIntelligenceOperatorErrors,
|
|
382
|
+
PutConversationalIntelligenceOperatorResponse,
|
|
256
383
|
PutConversationalIntelligenceOperatorResponses,
|
|
257
384
|
PutConversationsData,
|
|
385
|
+
PutConversationsError,
|
|
258
386
|
PutConversationsErrors,
|
|
387
|
+
PutConversationsResponse,
|
|
259
388
|
PutConversationsResponses,
|
|
260
389
|
PutIntelligenceConfigurationData,
|
|
390
|
+
PutIntelligenceConfigurationError,
|
|
261
391
|
PutIntelligenceConfigurationErrors,
|
|
392
|
+
PutIntelligenceConfigurationResponse,
|
|
262
393
|
PutIntelligenceConfigurationResponses,
|
|
263
394
|
PutParticipantsData,
|
|
395
|
+
PutParticipantsError,
|
|
264
396
|
PutParticipantsErrors,
|
|
397
|
+
PutParticipantsResponse,
|
|
265
398
|
PutParticipantsResponses,
|
|
266
399
|
ShortenUrlInput,
|
|
267
400
|
SupportedRegion,
|
|
401
|
+
TemplateData,
|
|
268
402
|
} from './types.gen';
|
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -253,7 +253,7 @@ export const postConversationsToken = <ThrowOnError extends boolean = false>(
|
|
|
253
253
|
* GET /sync/token
|
|
254
254
|
*
|
|
255
255
|
* Generates a Twilio Access Token with a SyncGrant so frontends
|
|
256
|
-
* can subscribe to Sync Streams via the twilio-sync JS SDK
|
|
256
|
+
* can subscribe to Sync Streams via the twilio-sync JS SDK
|
|
257
257
|
*/
|
|
258
258
|
export const getSyncToken = <ThrowOnError extends boolean = false>(
|
|
259
259
|
options?: Options<GetSyncTokenData, ThrowOnError>,
|
|
@@ -268,7 +268,7 @@ export const getSyncToken = <ThrowOnError extends boolean = false>(
|
|
|
268
268
|
* GET /voice/token
|
|
269
269
|
*
|
|
270
270
|
* Generates a Twilio Access Token with a VoiceGrant so browser clients
|
|
271
|
-
* can place outbound calls via the Twilio Voice SDK (WebRTC)
|
|
271
|
+
* can place outbound calls via the Twilio Voice SDK (WebRTC)
|
|
272
272
|
*/
|
|
273
273
|
export const getVoiceToken = <ThrowOnError extends boolean = false>(
|
|
274
274
|
options?: Options<GetVoiceTokenData, ThrowOnError>,
|
|
@@ -745,7 +745,7 @@ export const getIntelligenceConfiguration = <ThrowOnError extends boolean = fals
|
|
|
745
745
|
/**
|
|
746
746
|
* POST /intelligence-configuration
|
|
747
747
|
*
|
|
748
|
-
*
|
|
748
|
+
* POST handler for creating a Twilio Intelligence Configuration
|
|
749
749
|
*/
|
|
750
750
|
export const postIntelligenceConfiguration = <ThrowOnError extends boolean = false>(
|
|
751
751
|
options: Options<PostIntelligenceConfigurationData, ThrowOnError>,
|