@botpress/client 0.23.2 → 0.24.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 (145) hide show
  1. package/.turbo/turbo-build.log +12 -6
  2. package/.turbo/turbo-generate.log +1 -1
  3. package/dist/bundle.cjs.map +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +10936 -4
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -3
  8. package/dist/client.d.ts +0 -10
  9. package/dist/config.d.ts +0 -2
  10. package/dist/errors.d.ts +0 -41
  11. package/dist/gen/errors.d.ts +0 -211
  12. package/dist/gen/index.d.ts +0 -401
  13. package/dist/gen/models.d.ts +0 -1269
  14. package/dist/gen/operations/addParticipant.d.ts +0 -56
  15. package/dist/gen/operations/breakDownWorkspaceUsageByBot.d.ts +0 -27
  16. package/dist/gen/operations/callAction.d.ts +0 -36
  17. package/dist/gen/operations/changeAISpendQuota.d.ts +0 -21
  18. package/dist/gen/operations/chargeWorkspaceUnpaidInvoices.d.ts +0 -40
  19. package/dist/gen/operations/checkHandleAvailability.d.ts +0 -24
  20. package/dist/gen/operations/configureIntegration.d.ts +0 -24
  21. package/dist/gen/operations/createBot.d.ts +0 -487
  22. package/dist/gen/operations/createBotVersion.d.ts +0 -28
  23. package/dist/gen/operations/createConversation.d.ts +0 -70
  24. package/dist/gen/operations/createEvent.d.ts +0 -95
  25. package/dist/gen/operations/createIntegration.d.ts +0 -573
  26. package/dist/gen/operations/createIntegrationApiKey.d.ts +0 -29
  27. package/dist/gen/operations/createInterface.d.ts +0 -172
  28. package/dist/gen/operations/createMessage.d.ts +0 -98
  29. package/dist/gen/operations/createPersonalAccessToken.d.ts +0 -33
  30. package/dist/gen/operations/createTable.d.ts +0 -151
  31. package/dist/gen/operations/createTableRows.d.ts +0 -71
  32. package/dist/gen/operations/createTask.d.ts +0 -125
  33. package/dist/gen/operations/createUser.d.ts +0 -70
  34. package/dist/gen/operations/createWorkspace.d.ts +0 -38
  35. package/dist/gen/operations/createWorkspaceMember.d.ts +0 -29
  36. package/dist/gen/operations/deleteBot.d.ts +0 -21
  37. package/dist/gen/operations/deleteBotIssue.d.ts +0 -22
  38. package/dist/gen/operations/deleteConversation.d.ts +0 -21
  39. package/dist/gen/operations/deleteFile.d.ts +0 -21
  40. package/dist/gen/operations/deleteIntegration.d.ts +0 -21
  41. package/dist/gen/operations/deleteIntegrationApiKey.d.ts +0 -21
  42. package/dist/gen/operations/deleteInterface.d.ts +0 -21
  43. package/dist/gen/operations/deleteMessage.d.ts +0 -21
  44. package/dist/gen/operations/deletePersonalAccessToken.d.ts +0 -21
  45. package/dist/gen/operations/deleteTable.d.ts +0 -21
  46. package/dist/gen/operations/deleteTableRows.d.ts +0 -36
  47. package/dist/gen/operations/deleteTask.d.ts +0 -21
  48. package/dist/gen/operations/deleteUser.d.ts +0 -21
  49. package/dist/gen/operations/deleteWorkspace.d.ts +0 -21
  50. package/dist/gen/operations/deleteWorkspaceMember.d.ts +0 -21
  51. package/dist/gen/operations/deployBotVersion.d.ts +0 -22
  52. package/dist/gen/operations/duplicateTable.d.ts +0 -137
  53. package/dist/gen/operations/findTableRows.d.ts +0 -94
  54. package/dist/gen/operations/getAccount.d.ts +0 -31
  55. package/dist/gen/operations/getAccountPreference.d.ts +0 -22
  56. package/dist/gen/operations/getAllWorkspaceQuotaCompletion.d.ts +0 -24
  57. package/dist/gen/operations/getAuditRecords.d.ts +0 -38
  58. package/dist/gen/operations/getBot.d.ts +0 -308
  59. package/dist/gen/operations/getBotAnalytics.d.ts +0 -49
  60. package/dist/gen/operations/getBotIssue.d.ts +0 -39
  61. package/dist/gen/operations/getBotLogs.d.ts +0 -30
  62. package/dist/gen/operations/getBotVersion.d.ts +0 -23
  63. package/dist/gen/operations/getBotWebchat.d.ts +0 -23
  64. package/dist/gen/operations/getConversation.d.ts +0 -56
  65. package/dist/gen/operations/getEvent.d.ts +0 -61
  66. package/dist/gen/operations/getFile.d.ts +0 -85
  67. package/dist/gen/operations/getIntegration.d.ts +0 -315
  68. package/dist/gen/operations/getIntegrationByName.d.ts +0 -316
  69. package/dist/gen/operations/getIntegrationLogs.d.ts +0 -30
  70. package/dist/gen/operations/getInterface.d.ts +0 -104
  71. package/dist/gen/operations/getInterfaceByName.d.ts +0 -105
  72. package/dist/gen/operations/getMessage.d.ts +0 -62
  73. package/dist/gen/operations/getMultipleUsages.d.ts +0 -45
  74. package/dist/gen/operations/getOrCreateConversation.d.ts +0 -70
  75. package/dist/gen/operations/getOrCreateMessage.d.ts +0 -98
  76. package/dist/gen/operations/getOrCreateTable.d.ts +0 -164
  77. package/dist/gen/operations/getOrCreateUser.d.ts +0 -70
  78. package/dist/gen/operations/getOrSetState.d.ts +0 -76
  79. package/dist/gen/operations/getParticipant.d.ts +0 -53
  80. package/dist/gen/operations/getPublicIntegration.d.ts +0 -321
  81. package/dist/gen/operations/getPublicIntegrationById.d.ts +0 -320
  82. package/dist/gen/operations/getPublicWorkspace.d.ts +0 -31
  83. package/dist/gen/operations/getState.d.ts +0 -66
  84. package/dist/gen/operations/getTable.d.ts +0 -136
  85. package/dist/gen/operations/getTableRow.d.ts +0 -53
  86. package/dist/gen/operations/getTask.d.ts +0 -86
  87. package/dist/gen/operations/getUpcomingInvoice.d.ts +0 -29
  88. package/dist/gen/operations/getUsage.d.ts +0 -45
  89. package/dist/gen/operations/getUser.d.ts +0 -52
  90. package/dist/gen/operations/getWorkspace.d.ts +0 -38
  91. package/dist/gen/operations/getWorkspaceMember.d.ts +0 -27
  92. package/dist/gen/operations/getWorkspaceQuota.d.ts +0 -37
  93. package/dist/gen/operations/introspect.d.ts +0 -24
  94. package/dist/gen/operations/listActivities.d.ts +0 -42
  95. package/dist/gen/operations/listBotIssueEvents.d.ts +0 -32
  96. package/dist/gen/operations/listBotIssues.d.ts +0 -45
  97. package/dist/gen/operations/listBotVersions.d.ts +0 -26
  98. package/dist/gen/operations/listBots.d.ts +0 -46
  99. package/dist/gen/operations/listConversations.d.ts +0 -64
  100. package/dist/gen/operations/listEvents.d.ts +0 -69
  101. package/dist/gen/operations/listFiles.d.ts +0 -94
  102. package/dist/gen/operations/listIntegrationApiKeys.d.ts +0 -26
  103. package/dist/gen/operations/listIntegrations.d.ts +0 -68
  104. package/dist/gen/operations/listInterfaces.d.ts +0 -49
  105. package/dist/gen/operations/listMessages.d.ts +0 -69
  106. package/dist/gen/operations/listParticipants.d.ts +0 -56
  107. package/dist/gen/operations/listPersonalAccessTokens.d.ts +0 -25
  108. package/dist/gen/operations/listPublicIntegrations.d.ts +0 -72
  109. package/dist/gen/operations/listPublicWorkspaces.d.ts +0 -42
  110. package/dist/gen/operations/listTables.d.ts +0 -126
  111. package/dist/gen/operations/listTasks.d.ts +0 -97
  112. package/dist/gen/operations/listUsageHistory.d.ts +0 -44
  113. package/dist/gen/operations/listUsers.d.ts +0 -59
  114. package/dist/gen/operations/listWorkspaceInvoices.d.ts +0 -57
  115. package/dist/gen/operations/listWorkspaceMembers.d.ts +0 -36
  116. package/dist/gen/operations/listWorkspaceQuotas.d.ts +0 -36
  117. package/dist/gen/operations/listWorkspaceUsages.d.ts +0 -45
  118. package/dist/gen/operations/listWorkspaces.d.ts +0 -47
  119. package/dist/gen/operations/patchState.d.ts +0 -72
  120. package/dist/gen/operations/removeParticipant.d.ts +0 -22
  121. package/dist/gen/operations/renameTableColumn.d.ts +0 -132
  122. package/dist/gen/operations/runVrl.d.ts +0 -28
  123. package/dist/gen/operations/searchFiles.d.ts +0 -56
  124. package/dist/gen/operations/setAccountPreference.d.ts +0 -22
  125. package/dist/gen/operations/setState.d.ts +0 -76
  126. package/dist/gen/operations/setWorkspacePaymentMethod.d.ts +0 -37
  127. package/dist/gen/operations/trackAnalytics.d.ts +0 -22
  128. package/dist/gen/operations/transferBot.d.ts +0 -25
  129. package/dist/gen/operations/updateAccount.d.ts +0 -34
  130. package/dist/gen/operations/updateBot.d.ts +0 -486
  131. package/dist/gen/operations/updateConversation.d.ts +0 -63
  132. package/dist/gen/operations/updateFileMetadata.d.ts +0 -95
  133. package/dist/gen/operations/updateIntegration.d.ts +0 -562
  134. package/dist/gen/operations/updateInterface.d.ts +0 -165
  135. package/dist/gen/operations/updateMessage.d.ts +0 -68
  136. package/dist/gen/operations/updateTable.d.ts +0 -152
  137. package/dist/gen/operations/updateTableRows.d.ts +0 -74
  138. package/dist/gen/operations/updateTask.d.ts +0 -114
  139. package/dist/gen/operations/updateUser.d.ts +0 -66
  140. package/dist/gen/operations/updateWorkspace.d.ts +0 -50
  141. package/dist/gen/operations/updateWorkspaceMember.d.ts +0 -29
  142. package/dist/gen/operations/upsertFile.d.ts +0 -114
  143. package/dist/gen/operations/upsertTableRows.d.ts +0 -107
  144. package/dist/gen/to-axios.d.ts +0 -16
  145. package/dist/types.d.ts +0 -49
@@ -1,573 +0,0 @@
1
- export interface CreateIntegrationRequestHeaders {
2
- }
3
- export interface CreateIntegrationRequestQuery {
4
- }
5
- export interface CreateIntegrationRequestParams {
6
- }
7
- export interface CreateIntegrationRequestBody {
8
- /**
9
- * Name of the [Integration](#schema_integration)
10
- */
11
- name: string;
12
- /**
13
- * Version of the [Integration](#schema_integration)
14
- */
15
- version: string;
16
- interfaces?: {
17
- [k: string]: {
18
- id: string;
19
- entities: {
20
- [k: string]: {
21
- name: string;
22
- };
23
- };
24
- actions: {
25
- [k: string]: {
26
- name: string;
27
- };
28
- };
29
- events: {
30
- [k: string]: {
31
- name: string;
32
- };
33
- };
34
- };
35
- };
36
- configuration?: {
37
- /**
38
- * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
39
- */
40
- schema?: {
41
- [k: string]: any;
42
- };
43
- identifier?: {
44
- required?: boolean;
45
- linkTemplateScript?: string;
46
- };
47
- };
48
- states?: {
49
- /**
50
- * State definition
51
- */
52
- [k: string]: {
53
- /**
54
- * Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
55
- */
56
- type: "conversation" | "user" | "integration";
57
- /**
58
- * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
59
- */
60
- schema: {
61
- [k: string]: any;
62
- };
63
- };
64
- };
65
- events?: {
66
- /**
67
- * Event Definition
68
- */
69
- [k: string]: {
70
- /**
71
- * Title of the event
72
- */
73
- title?: string;
74
- /**
75
- * Description of the event
76
- */
77
- description?: string;
78
- schema: {
79
- [k: string]: any;
80
- };
81
- };
82
- };
83
- actions?: {
84
- /**
85
- * Action definition
86
- */
87
- [k: string]: {
88
- /**
89
- * Title of the action
90
- */
91
- title?: string;
92
- /**
93
- * Description of the action
94
- */
95
- description?: string;
96
- input: {
97
- schema: {
98
- [k: string]: any;
99
- };
100
- };
101
- output: {
102
- schema: {
103
- [k: string]: any;
104
- };
105
- };
106
- };
107
- };
108
- entities?: {
109
- /**
110
- * Entity definition
111
- */
112
- [k: string]: {
113
- /**
114
- * Title of the entity
115
- */
116
- title?: string;
117
- /**
118
- * Description of the entity
119
- */
120
- description?: string;
121
- schema: {
122
- [k: string]: any;
123
- };
124
- };
125
- };
126
- identifier?: {
127
- fallbackHandlerScript?: string;
128
- extractScript?: string;
129
- };
130
- channels?: {
131
- [k: string]: {
132
- /**
133
- * Title of the channel
134
- */
135
- title?: string;
136
- /**
137
- * Description of the channel
138
- */
139
- description?: string;
140
- messages: {
141
- /**
142
- * Message definition
143
- */
144
- [k: string]: {
145
- schema: {
146
- [k: string]: any;
147
- };
148
- };
149
- };
150
- conversation?: {
151
- /**
152
- * The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
153
- */
154
- creation?: {
155
- /**
156
- * Enable conversation creation
157
- */
158
- enabled: boolean;
159
- /**
160
- * The list of tags that are required to be specified when calling the API directly to create a conversation.
161
- */
162
- requiredTags: string[];
163
- };
164
- tags?: {
165
- /**
166
- * Definition of a tag that can be provided on the object
167
- */
168
- [k: string]: {
169
- /**
170
- * Title of the tag
171
- */
172
- title?: string;
173
- /**
174
- * Description of the tag
175
- */
176
- description?: string;
177
- };
178
- };
179
- };
180
- message?: {
181
- tags?: {
182
- /**
183
- * Definition of a tag that can be provided on the object
184
- */
185
- [k: string]: {
186
- /**
187
- * Title of the tag
188
- */
189
- title?: string;
190
- /**
191
- * Description of the tag
192
- */
193
- description?: string;
194
- };
195
- };
196
- };
197
- };
198
- };
199
- user?: {
200
- /**
201
- * The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
202
- */
203
- creation?: {
204
- /**
205
- * Enable user creation
206
- */
207
- enabled: boolean;
208
- /**
209
- * The list of tags that are required to be specified when calling the API directly to create a user.
210
- */
211
- requiredTags: string[];
212
- };
213
- tags?: {
214
- /**
215
- * Definition of a tag that can be provided on the object
216
- */
217
- [k: string]: {
218
- /**
219
- * Title of the tag
220
- */
221
- title?: string;
222
- /**
223
- * Description of the tag
224
- */
225
- description?: string;
226
- };
227
- };
228
- };
229
- /**
230
- * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
231
- */
232
- secrets?: {
233
- [k: string]: string;
234
- };
235
- /**
236
- * JavaScript code of the integration
237
- */
238
- code?: string;
239
- /**
240
- * URL of the integration
241
- */
242
- url?: string;
243
- /**
244
- * Indicates if the integration is a development integration; Dev integrations run locally
245
- */
246
- dev?: boolean;
247
- /**
248
- * Base64 encoded svg of the integration icon. This icon is global to the integration each versions will be updated when this changes.
249
- */
250
- icon?: string;
251
- /**
252
- * Base64 encoded markdown of the integration readme. The readme is specific to each integration versions.
253
- */
254
- readme?: string;
255
- /**
256
- * Title of the integration. This is the name that will be displayed in the UI
257
- */
258
- title?: string;
259
- /**
260
- * Description of the integration. This is the description that will be displayed in the UI
261
- */
262
- description?: string;
263
- /**
264
- * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
265
- */
266
- public?: boolean;
267
- }
268
- export type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
269
- export type CreateIntegrationRequest = {
270
- headers: CreateIntegrationRequestHeaders;
271
- query: CreateIntegrationRequestQuery;
272
- params: CreateIntegrationRequestParams;
273
- body: CreateIntegrationRequestBody;
274
- };
275
- export declare const parseReq: (input: CreateIntegrationInput) => CreateIntegrationRequest & {
276
- path: string;
277
- };
278
- export interface CreateIntegrationResponse {
279
- integration: {
280
- /**
281
- * ID of the [Integration](#schema_integration)
282
- */
283
- id: string;
284
- /**
285
- * Creation date of the [Integration](#schema_integration) in ISO 8601 format
286
- */
287
- createdAt: string;
288
- /**
289
- * Updating date of the [Integration](#schema_integration) in ISO 8601 format
290
- */
291
- updatedAt: string;
292
- /**
293
- * Global identifier configuration of the [Integration](#schema_integration)
294
- */
295
- identifier: {
296
- /**
297
- * VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
298
- */
299
- fallbackHandlerScript?: string;
300
- /**
301
- * VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
302
- */
303
- extractScript?: string;
304
- };
305
- /**
306
- * URL of the [Integration](#schema_integration)
307
- */
308
- url: string;
309
- /**
310
- * Name of the [Integration](#schema_integration)
311
- */
312
- name: string;
313
- /**
314
- * Version of the [Integration](#schema_integration)
315
- */
316
- version: string;
317
- interfaces: {
318
- [k: string]: {
319
- id: string;
320
- entities: {
321
- [k: string]: {
322
- name: string;
323
- };
324
- };
325
- actions: {
326
- [k: string]: {
327
- name: string;
328
- };
329
- };
330
- events: {
331
- [k: string]: {
332
- name: string;
333
- };
334
- };
335
- };
336
- };
337
- /**
338
- * Configuration definition
339
- */
340
- configuration: {
341
- /**
342
- * Identifier configuration of the [Integration](#schema_integration)
343
- */
344
- identifier: {
345
- linkTemplateScript?: string;
346
- required: boolean;
347
- };
348
- /**
349
- * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
350
- */
351
- schema?: {
352
- [k: string]: any;
353
- };
354
- };
355
- channels: {
356
- /**
357
- * Channel definition
358
- */
359
- [k: string]: {
360
- /**
361
- * Title of the channel
362
- */
363
- title?: string;
364
- /**
365
- * Description of the channel
366
- */
367
- description?: string;
368
- messages: {
369
- /**
370
- * Message definition
371
- */
372
- [k: string]: {
373
- schema: {
374
- [k: string]: any;
375
- };
376
- };
377
- };
378
- /**
379
- * Conversation object configuration
380
- */
381
- conversation: {
382
- tags: {
383
- /**
384
- * Definition of a tag that can be provided on the object
385
- */
386
- [k: string]: {
387
- /**
388
- * Title of the tag
389
- */
390
- title?: string;
391
- /**
392
- * Description of the tag
393
- */
394
- description?: string;
395
- };
396
- };
397
- /**
398
- * The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
399
- */
400
- creation: {
401
- /**
402
- * Enable conversation creation
403
- */
404
- enabled: boolean;
405
- /**
406
- * The list of tags that are required to be specified when calling the API directly to create a conversation.
407
- */
408
- requiredTags: string[];
409
- };
410
- };
411
- /**
412
- * Message object configuration
413
- */
414
- message: {
415
- tags: {
416
- /**
417
- * Definition of a tag that can be provided on the object
418
- */
419
- [k: string]: {
420
- /**
421
- * Title of the tag
422
- */
423
- title?: string;
424
- /**
425
- * Description of the tag
426
- */
427
- description?: string;
428
- };
429
- };
430
- };
431
- };
432
- };
433
- states: {
434
- /**
435
- * State definition
436
- */
437
- [k: string]: {
438
- /**
439
- * Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
440
- */
441
- type: "conversation" | "user" | "integration";
442
- /**
443
- * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
444
- */
445
- schema: {
446
- [k: string]: any;
447
- };
448
- };
449
- };
450
- events: {
451
- /**
452
- * Event Definition
453
- */
454
- [k: string]: {
455
- /**
456
- * Title of the event
457
- */
458
- title?: string;
459
- /**
460
- * Description of the event
461
- */
462
- description?: string;
463
- schema: {
464
- [k: string]: any;
465
- };
466
- };
467
- };
468
- actions: {
469
- /**
470
- * Action definition
471
- */
472
- [k: string]: {
473
- /**
474
- * Title of the action
475
- */
476
- title?: string;
477
- /**
478
- * Description of the action
479
- */
480
- description?: string;
481
- input: {
482
- schema: {
483
- [k: string]: any;
484
- };
485
- };
486
- output: {
487
- schema: {
488
- [k: string]: any;
489
- };
490
- };
491
- };
492
- };
493
- /**
494
- * User object configuration
495
- */
496
- user: {
497
- tags: {
498
- /**
499
- * Definition of a tag that can be provided on the object
500
- */
501
- [k: string]: {
502
- /**
503
- * Title of the tag
504
- */
505
- title?: string;
506
- /**
507
- * Description of the tag
508
- */
509
- description?: string;
510
- };
511
- };
512
- /**
513
- * The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
514
- */
515
- creation: {
516
- /**
517
- * Enable user creation
518
- */
519
- enabled: boolean;
520
- /**
521
- * The list of tags that are required to be specified when calling the API directly to create a user.
522
- */
523
- requiredTags: string[];
524
- };
525
- };
526
- entities: {
527
- /**
528
- * Entity definition
529
- */
530
- [k: string]: {
531
- /**
532
- * Title of the entity
533
- */
534
- title?: string;
535
- /**
536
- * Description of the entity
537
- */
538
- description?: string;
539
- schema: {
540
- [k: string]: any;
541
- };
542
- };
543
- };
544
- /**
545
- * Indicates if the integration is a development integration; Dev integrations run locally
546
- */
547
- dev: boolean;
548
- /**
549
- * Title of the integration. This is the name that will be displayed in the UI
550
- */
551
- title: string;
552
- /**
553
- * Description of the integration. This is the description that will be displayed in the UI
554
- */
555
- description: string;
556
- /**
557
- * URL of the icon of the integration. This is the icon that will be displayed in the UI
558
- */
559
- iconUrl: string;
560
- /**
561
- * URL of the readme of the integration. This is the readme that will be displayed in the UI
562
- */
563
- readmeUrl: string;
564
- /**
565
- * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
566
- */
567
- public: boolean;
568
- /**
569
- * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
570
- */
571
- secrets: string[];
572
- };
573
- }
@@ -1,29 +0,0 @@
1
- export interface CreateIntegrationApiKeyRequestHeaders {
2
- }
3
- export interface CreateIntegrationApiKeyRequestQuery {
4
- }
5
- export interface CreateIntegrationApiKeyRequestParams {
6
- }
7
- export interface CreateIntegrationApiKeyRequestBody {
8
- integrationId: string;
9
- note?: string;
10
- }
11
- export type CreateIntegrationApiKeyInput = CreateIntegrationApiKeyRequestBody & CreateIntegrationApiKeyRequestHeaders & CreateIntegrationApiKeyRequestQuery & CreateIntegrationApiKeyRequestParams;
12
- export type CreateIntegrationApiKeyRequest = {
13
- headers: CreateIntegrationApiKeyRequestHeaders;
14
- query: CreateIntegrationApiKeyRequestQuery;
15
- params: CreateIntegrationApiKeyRequestParams;
16
- body: CreateIntegrationApiKeyRequestBody;
17
- };
18
- export declare const parseReq: (input: CreateIntegrationApiKeyInput) => CreateIntegrationApiKeyRequest & {
19
- path: string;
20
- };
21
- export interface CreateIntegrationApiKeyResponse {
22
- id: string;
23
- createdAt: string;
24
- note: string;
25
- /**
26
- * The IAK value. This will only be returned here when created and cannot be retrieved later.
27
- */
28
- value: string;
29
- }