@botpress/client 0.1.3 → 0.2.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.
- package/dist/bundle.cjs +7 -7
- package/dist/bundle.cjs.map +3 -3
- package/dist/gen/api.d.ts +407 -73
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +8 -2
- package/dist/gen/common.d.ts +1 -1
- package/dist/gen/configuration.d.ts +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/gen/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Botpress API
|
|
3
3
|
* API for Botpress Cloud
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.4.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -181,13 +181,13 @@ export interface BotIntegrationsValue {
|
|
|
181
181
|
*/
|
|
182
182
|
'enabled': boolean;
|
|
183
183
|
/**
|
|
184
|
-
*
|
|
184
|
+
* Name of the [Integration](#schema_integration)
|
|
185
185
|
* @type {string}
|
|
186
186
|
* @memberof BotIntegrationsValue
|
|
187
187
|
*/
|
|
188
188
|
'name': string;
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* Version of the [Integration](#schema_integration)
|
|
191
191
|
* @type {string}
|
|
192
192
|
* @memberof BotIntegrationsValue
|
|
193
193
|
*/
|
|
@@ -218,6 +218,42 @@ export interface BotIntegrationsValue {
|
|
|
218
218
|
* @memberof BotIntegrationsValue
|
|
219
219
|
*/
|
|
220
220
|
'statusReason': string | null;
|
|
221
|
+
/**
|
|
222
|
+
* Id of the [Integration](#schema_integration)
|
|
223
|
+
* @type {string}
|
|
224
|
+
* @memberof BotIntegrationsValue
|
|
225
|
+
*/
|
|
226
|
+
'id': string;
|
|
227
|
+
/**
|
|
228
|
+
* Creation date of the [Integration](#schema_integration) in the ISO 8601 format
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof BotIntegrationsValue
|
|
231
|
+
*/
|
|
232
|
+
'createdAt': string;
|
|
233
|
+
/**
|
|
234
|
+
* Updating date of the [Integration](#schema_integration) in the ISO 8601 format
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof BotIntegrationsValue
|
|
237
|
+
*/
|
|
238
|
+
'updatedAt': string;
|
|
239
|
+
/**
|
|
240
|
+
* Title of the integration. This is the name that will be displayed in the UI
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof BotIntegrationsValue
|
|
243
|
+
*/
|
|
244
|
+
'title': string;
|
|
245
|
+
/**
|
|
246
|
+
* Description of the integration. This is the description that will be displayed in the UI
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof BotIntegrationsValue
|
|
249
|
+
*/
|
|
250
|
+
'description': string;
|
|
251
|
+
/**
|
|
252
|
+
* URL of the icon of the integration. This is the icon that will be displayed in the UI
|
|
253
|
+
* @type {string}
|
|
254
|
+
* @memberof BotIntegrationsValue
|
|
255
|
+
*/
|
|
256
|
+
'iconUrl': string;
|
|
221
257
|
}
|
|
222
258
|
export declare const BotIntegrationsValueStatusEnum: {
|
|
223
259
|
readonly RegistrationPending: "registration_pending";
|
|
@@ -313,6 +349,90 @@ export interface CallActionResponse {
|
|
|
313
349
|
[key: string]: any;
|
|
314
350
|
};
|
|
315
351
|
}
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @export
|
|
355
|
+
* @interface ChangeWorkspacePlanBody
|
|
356
|
+
*/
|
|
357
|
+
export interface ChangeWorkspacePlanBody {
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @type {string}
|
|
361
|
+
* @memberof ChangeWorkspacePlanBody
|
|
362
|
+
*/
|
|
363
|
+
'plan': ChangeWorkspacePlanBodyPlanEnum;
|
|
364
|
+
}
|
|
365
|
+
export declare const ChangeWorkspacePlanBodyPlanEnum: {
|
|
366
|
+
readonly Free: "free";
|
|
367
|
+
readonly Premium: "premium";
|
|
368
|
+
};
|
|
369
|
+
export type ChangeWorkspacePlanBodyPlanEnum = typeof ChangeWorkspacePlanBodyPlanEnum[keyof typeof ChangeWorkspacePlanBodyPlanEnum];
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @export
|
|
373
|
+
* @interface ChangeWorkspacePlanResponse
|
|
374
|
+
*/
|
|
375
|
+
export interface ChangeWorkspacePlanResponse {
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {string}
|
|
379
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
380
|
+
*/
|
|
381
|
+
'id': string;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
386
|
+
*/
|
|
387
|
+
'name': string;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
392
|
+
*/
|
|
393
|
+
'ownerId': string;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @type {string}
|
|
397
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
398
|
+
*/
|
|
399
|
+
'createdAt': string;
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @type {string}
|
|
403
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
404
|
+
*/
|
|
405
|
+
'updatedAt': string;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @type {number}
|
|
409
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
410
|
+
*/
|
|
411
|
+
'botCount': number;
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
* @type {string}
|
|
415
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
416
|
+
*/
|
|
417
|
+
'accountType': ChangeWorkspacePlanResponseAccountTypeEnum;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {boolean}
|
|
421
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
422
|
+
*/
|
|
423
|
+
'blocked': boolean;
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @type {number}
|
|
427
|
+
* @memberof ChangeWorkspacePlanResponse
|
|
428
|
+
*/
|
|
429
|
+
'spendingLimit': number;
|
|
430
|
+
}
|
|
431
|
+
export declare const ChangeWorkspacePlanResponseAccountTypeEnum: {
|
|
432
|
+
readonly Free: "free";
|
|
433
|
+
readonly Premium: "premium";
|
|
434
|
+
};
|
|
435
|
+
export type ChangeWorkspacePlanResponseAccountTypeEnum = typeof ChangeWorkspacePlanResponseAccountTypeEnum[keyof typeof ChangeWorkspacePlanResponseAccountTypeEnum];
|
|
316
436
|
/**
|
|
317
437
|
*
|
|
318
438
|
* @export
|
|
@@ -1246,6 +1366,19 @@ export interface CreateUserResponse {
|
|
|
1246
1366
|
*/
|
|
1247
1367
|
'user': User;
|
|
1248
1368
|
}
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* @export
|
|
1372
|
+
* @interface CreateWorkspaceBody
|
|
1373
|
+
*/
|
|
1374
|
+
export interface CreateWorkspaceBody {
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @type {string}
|
|
1378
|
+
* @memberof CreateWorkspaceBody
|
|
1379
|
+
*/
|
|
1380
|
+
'name': string;
|
|
1381
|
+
}
|
|
1249
1382
|
/**
|
|
1250
1383
|
*
|
|
1251
1384
|
* @export
|
|
@@ -1314,6 +1447,72 @@ export declare const CreateWorkspaceMemberResponseRoleEnum: {
|
|
|
1314
1447
|
readonly Owner: "owner";
|
|
1315
1448
|
};
|
|
1316
1449
|
export type CreateWorkspaceMemberResponseRoleEnum = typeof CreateWorkspaceMemberResponseRoleEnum[keyof typeof CreateWorkspaceMemberResponseRoleEnum];
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @export
|
|
1453
|
+
* @interface CreateWorkspaceResponse
|
|
1454
|
+
*/
|
|
1455
|
+
export interface CreateWorkspaceResponse {
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {string}
|
|
1459
|
+
* @memberof CreateWorkspaceResponse
|
|
1460
|
+
*/
|
|
1461
|
+
'id': string;
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @type {string}
|
|
1465
|
+
* @memberof CreateWorkspaceResponse
|
|
1466
|
+
*/
|
|
1467
|
+
'name': string;
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @type {string}
|
|
1471
|
+
* @memberof CreateWorkspaceResponse
|
|
1472
|
+
*/
|
|
1473
|
+
'ownerId': string;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @type {string}
|
|
1477
|
+
* @memberof CreateWorkspaceResponse
|
|
1478
|
+
*/
|
|
1479
|
+
'createdAt': string;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof CreateWorkspaceResponse
|
|
1484
|
+
*/
|
|
1485
|
+
'updatedAt': string;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {number}
|
|
1489
|
+
* @memberof CreateWorkspaceResponse
|
|
1490
|
+
*/
|
|
1491
|
+
'botCount': number;
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @type {string}
|
|
1495
|
+
* @memberof CreateWorkspaceResponse
|
|
1496
|
+
*/
|
|
1497
|
+
'accountType': CreateWorkspaceResponseAccountTypeEnum;
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {boolean}
|
|
1501
|
+
* @memberof CreateWorkspaceResponse
|
|
1502
|
+
*/
|
|
1503
|
+
'blocked': boolean;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @type {number}
|
|
1507
|
+
* @memberof CreateWorkspaceResponse
|
|
1508
|
+
*/
|
|
1509
|
+
'spendingLimit': number;
|
|
1510
|
+
}
|
|
1511
|
+
export declare const CreateWorkspaceResponseAccountTypeEnum: {
|
|
1512
|
+
readonly Free: "free";
|
|
1513
|
+
readonly Premium: "premium";
|
|
1514
|
+
};
|
|
1515
|
+
export type CreateWorkspaceResponseAccountTypeEnum = typeof CreateWorkspaceResponseAccountTypeEnum[keyof typeof CreateWorkspaceResponseAccountTypeEnum];
|
|
1317
1516
|
/**
|
|
1318
1517
|
* The event object represents an action or an occurrence.
|
|
1319
1518
|
* @export
|
|
@@ -2364,10 +2563,10 @@ export type ListWorkspaceMembersResponseMembersInnerRoleEnum = typeof ListWorksp
|
|
|
2364
2563
|
export interface ListWorkspacesResponse {
|
|
2365
2564
|
/**
|
|
2366
2565
|
*
|
|
2367
|
-
* @type {Array<
|
|
2566
|
+
* @type {Array<UpdateWorkspaceResponse>}
|
|
2368
2567
|
* @memberof ListWorkspacesResponse
|
|
2369
2568
|
*/
|
|
2370
|
-
'workspaces': Array<
|
|
2569
|
+
'workspaces': Array<UpdateWorkspaceResponse>;
|
|
2371
2570
|
/**
|
|
2372
2571
|
*
|
|
2373
2572
|
* @type {ListConversationsResponseMeta}
|
|
@@ -2375,60 +2574,6 @@ export interface ListWorkspacesResponse {
|
|
|
2375
2574
|
*/
|
|
2376
2575
|
'meta': ListConversationsResponseMeta;
|
|
2377
2576
|
}
|
|
2378
|
-
/**
|
|
2379
|
-
*
|
|
2380
|
-
* @export
|
|
2381
|
-
* @interface ListWorkspacesResponseWorkspacesInner
|
|
2382
|
-
*/
|
|
2383
|
-
export interface ListWorkspacesResponseWorkspacesInner {
|
|
2384
|
-
/**
|
|
2385
|
-
*
|
|
2386
|
-
* @type {string}
|
|
2387
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2388
|
-
*/
|
|
2389
|
-
'id': string;
|
|
2390
|
-
/**
|
|
2391
|
-
*
|
|
2392
|
-
* @type {string}
|
|
2393
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2394
|
-
*/
|
|
2395
|
-
'name': string;
|
|
2396
|
-
/**
|
|
2397
|
-
*
|
|
2398
|
-
* @type {string}
|
|
2399
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2400
|
-
*/
|
|
2401
|
-
'ownerId': string;
|
|
2402
|
-
/**
|
|
2403
|
-
*
|
|
2404
|
-
* @type {string}
|
|
2405
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2406
|
-
*/
|
|
2407
|
-
'createdAt': string;
|
|
2408
|
-
/**
|
|
2409
|
-
*
|
|
2410
|
-
* @type {string}
|
|
2411
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2412
|
-
*/
|
|
2413
|
-
'updatedAt': string;
|
|
2414
|
-
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @type {number}
|
|
2417
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2418
|
-
*/
|
|
2419
|
-
'botCount': number;
|
|
2420
|
-
/**
|
|
2421
|
-
*
|
|
2422
|
-
* @type {string}
|
|
2423
|
-
* @memberof ListWorkspacesResponseWorkspacesInner
|
|
2424
|
-
*/
|
|
2425
|
-
'accountType': ListWorkspacesResponseWorkspacesInnerAccountTypeEnum;
|
|
2426
|
-
}
|
|
2427
|
-
export declare const ListWorkspacesResponseWorkspacesInnerAccountTypeEnum: {
|
|
2428
|
-
readonly Free: "free";
|
|
2429
|
-
readonly Premium: "premium";
|
|
2430
|
-
};
|
|
2431
|
-
export type ListWorkspacesResponseWorkspacesInnerAccountTypeEnum = typeof ListWorkspacesResponseWorkspacesInnerAccountTypeEnum[keyof typeof ListWorkspacesResponseWorkspacesInnerAccountTypeEnum];
|
|
2432
2577
|
/**
|
|
2433
2578
|
* The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
|
|
2434
2579
|
* @export
|
|
@@ -3306,12 +3451,6 @@ export interface UpdateWorkspaceBody {
|
|
|
3306
3451
|
* @memberof UpdateWorkspaceBody
|
|
3307
3452
|
*/
|
|
3308
3453
|
'name'?: string;
|
|
3309
|
-
/**
|
|
3310
|
-
*
|
|
3311
|
-
* @type {string}
|
|
3312
|
-
* @memberof UpdateWorkspaceBody
|
|
3313
|
-
*/
|
|
3314
|
-
'accountType'?: UpdateWorkspaceBodyAccountTypeEnum;
|
|
3315
3454
|
/**
|
|
3316
3455
|
*
|
|
3317
3456
|
* @type {number}
|
|
@@ -3319,11 +3458,6 @@ export interface UpdateWorkspaceBody {
|
|
|
3319
3458
|
*/
|
|
3320
3459
|
'spendingLimit'?: number;
|
|
3321
3460
|
}
|
|
3322
|
-
export declare const UpdateWorkspaceBodyAccountTypeEnum: {
|
|
3323
|
-
readonly Free: "free";
|
|
3324
|
-
readonly Premium: "premium";
|
|
3325
|
-
};
|
|
3326
|
-
export type UpdateWorkspaceBodyAccountTypeEnum = typeof UpdateWorkspaceBodyAccountTypeEnum[keyof typeof UpdateWorkspaceBodyAccountTypeEnum];
|
|
3327
3461
|
/**
|
|
3328
3462
|
*
|
|
3329
3463
|
* @export
|
|
@@ -3452,6 +3586,72 @@ export declare const UpdateWorkspaceResponseAccountTypeEnum: {
|
|
|
3452
3586
|
readonly Premium: "premium";
|
|
3453
3587
|
};
|
|
3454
3588
|
export type UpdateWorkspaceResponseAccountTypeEnum = typeof UpdateWorkspaceResponseAccountTypeEnum[keyof typeof UpdateWorkspaceResponseAccountTypeEnum];
|
|
3589
|
+
/**
|
|
3590
|
+
*
|
|
3591
|
+
* @export
|
|
3592
|
+
* @interface UpdateWorkspaceResponse1
|
|
3593
|
+
*/
|
|
3594
|
+
export interface UpdateWorkspaceResponse1 {
|
|
3595
|
+
/**
|
|
3596
|
+
*
|
|
3597
|
+
* @type {string}
|
|
3598
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3599
|
+
*/
|
|
3600
|
+
'id': string;
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @type {string}
|
|
3604
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3605
|
+
*/
|
|
3606
|
+
'name': string;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @type {string}
|
|
3610
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3611
|
+
*/
|
|
3612
|
+
'ownerId': string;
|
|
3613
|
+
/**
|
|
3614
|
+
*
|
|
3615
|
+
* @type {string}
|
|
3616
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3617
|
+
*/
|
|
3618
|
+
'createdAt': string;
|
|
3619
|
+
/**
|
|
3620
|
+
*
|
|
3621
|
+
* @type {string}
|
|
3622
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3623
|
+
*/
|
|
3624
|
+
'updatedAt': string;
|
|
3625
|
+
/**
|
|
3626
|
+
*
|
|
3627
|
+
* @type {number}
|
|
3628
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3629
|
+
*/
|
|
3630
|
+
'botCount': number;
|
|
3631
|
+
/**
|
|
3632
|
+
*
|
|
3633
|
+
* @type {string}
|
|
3634
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3635
|
+
*/
|
|
3636
|
+
'accountType': UpdateWorkspaceResponse1AccountTypeEnum;
|
|
3637
|
+
/**
|
|
3638
|
+
*
|
|
3639
|
+
* @type {boolean}
|
|
3640
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3641
|
+
*/
|
|
3642
|
+
'blocked': boolean;
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
* @type {number}
|
|
3646
|
+
* @memberof UpdateWorkspaceResponse1
|
|
3647
|
+
*/
|
|
3648
|
+
'spendingLimit': number;
|
|
3649
|
+
}
|
|
3650
|
+
export declare const UpdateWorkspaceResponse1AccountTypeEnum: {
|
|
3651
|
+
readonly Free: "free";
|
|
3652
|
+
readonly Premium: "premium";
|
|
3653
|
+
};
|
|
3654
|
+
export type UpdateWorkspaceResponse1AccountTypeEnum = typeof UpdateWorkspaceResponse1AccountTypeEnum[keyof typeof UpdateWorkspaceResponse1AccountTypeEnum];
|
|
3455
3655
|
/**
|
|
3456
3656
|
* The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
|
|
3457
3657
|
* @export
|
|
@@ -3563,6 +3763,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3563
3763
|
* @throws {RequiredError}
|
|
3564
3764
|
*/
|
|
3565
3765
|
callAction: (callActionBody?: CallActionBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3766
|
+
/**
|
|
3767
|
+
* Change workspace billing plan
|
|
3768
|
+
* @param {string} id Workspace ID
|
|
3769
|
+
* @param {ChangeWorkspacePlanBody} [changeWorkspacePlanBody] Billing plan to change the workspace to
|
|
3770
|
+
* @param {*} [options] Override http request option.
|
|
3771
|
+
* @throws {RequiredError}
|
|
3772
|
+
*/
|
|
3773
|
+
changeWorkspacePlan: (id: string, changeWorkspacePlanBody?: ChangeWorkspacePlanBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3566
3774
|
/**
|
|
3567
3775
|
* An integration can call this endpoint to configure itself
|
|
3568
3776
|
* @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration
|
|
@@ -3619,6 +3827,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3619
3827
|
* @throws {RequiredError}
|
|
3620
3828
|
*/
|
|
3621
3829
|
createUser: (createUserBody?: CreateUserBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3830
|
+
/**
|
|
3831
|
+
* Create workspace
|
|
3832
|
+
* @param {CreateWorkspaceBody} [createWorkspaceBody] Workspace metadata
|
|
3833
|
+
* @param {*} [options] Override http request option.
|
|
3834
|
+
* @throws {RequiredError}
|
|
3835
|
+
*/
|
|
3836
|
+
createWorkspace: (createWorkspaceBody?: CreateWorkspaceBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3622
3837
|
/**
|
|
3623
3838
|
* Add a member to the workspace
|
|
3624
3839
|
* @param {CreateWorkspaceMemberBody} [createWorkspaceMemberBody] Workspace member metadata
|
|
@@ -3668,6 +3883,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3668
3883
|
* @throws {RequiredError}
|
|
3669
3884
|
*/
|
|
3670
3885
|
deleteUser: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3886
|
+
/**
|
|
3887
|
+
* Delete workspace
|
|
3888
|
+
* @param {string} id Workspace ID
|
|
3889
|
+
* @param {*} [options] Override http request option.
|
|
3890
|
+
* @throws {RequiredError}
|
|
3891
|
+
*/
|
|
3892
|
+
deleteWorkspace: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3671
3893
|
/**
|
|
3672
3894
|
* Remove a member of a workspace
|
|
3673
3895
|
* @param {string} id Workspace member ID
|
|
@@ -4014,6 +4236,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4014
4236
|
* @throws {RequiredError}
|
|
4015
4237
|
*/
|
|
4016
4238
|
callAction(callActionBody?: CallActionBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallActionResponse>>;
|
|
4239
|
+
/**
|
|
4240
|
+
* Change workspace billing plan
|
|
4241
|
+
* @param {string} id Workspace ID
|
|
4242
|
+
* @param {ChangeWorkspacePlanBody} [changeWorkspacePlanBody] Billing plan to change the workspace to
|
|
4243
|
+
* @param {*} [options] Override http request option.
|
|
4244
|
+
* @throws {RequiredError}
|
|
4245
|
+
*/
|
|
4246
|
+
changeWorkspacePlan(id: string, changeWorkspacePlanBody?: ChangeWorkspacePlanBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangeWorkspacePlanResponse>>;
|
|
4017
4247
|
/**
|
|
4018
4248
|
* An integration can call this endpoint to configure itself
|
|
4019
4249
|
* @param {ConfigureIntegrationBody} [configureIntegrationBody] Configuration of the integration
|
|
@@ -4070,6 +4300,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4070
4300
|
* @throws {RequiredError}
|
|
4071
4301
|
*/
|
|
4072
4302
|
createUser(createUserBody?: CreateUserBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateUserResponse>>;
|
|
4303
|
+
/**
|
|
4304
|
+
* Create workspace
|
|
4305
|
+
* @param {CreateWorkspaceBody} [createWorkspaceBody] Workspace metadata
|
|
4306
|
+
* @param {*} [options] Override http request option.
|
|
4307
|
+
* @throws {RequiredError}
|
|
4308
|
+
*/
|
|
4309
|
+
createWorkspace(createWorkspaceBody?: CreateWorkspaceBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateWorkspaceResponse>>;
|
|
4073
4310
|
/**
|
|
4074
4311
|
* Add a member to the workspace
|
|
4075
4312
|
* @param {CreateWorkspaceMemberBody} [createWorkspaceMemberBody] Workspace member metadata
|
|
@@ -4119,6 +4356,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4119
4356
|
* @throws {RequiredError}
|
|
4120
4357
|
*/
|
|
4121
4358
|
deleteUser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
4359
|
+
/**
|
|
4360
|
+
* Delete workspace
|
|
4361
|
+
* @param {string} id Workspace ID
|
|
4362
|
+
* @param {*} [options] Override http request option.
|
|
4363
|
+
* @throws {RequiredError}
|
|
4364
|
+
*/
|
|
4365
|
+
deleteWorkspace(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
4122
4366
|
/**
|
|
4123
4367
|
* Remove a member of a workspace
|
|
4124
4368
|
* @param {string} id Workspace member ID
|
|
@@ -4443,7 +4687,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4443
4687
|
* @param {*} [options] Override http request option.
|
|
4444
4688
|
* @throws {RequiredError}
|
|
4445
4689
|
*/
|
|
4446
|
-
updateWorkspace(id: string, updateWorkspaceBody?: UpdateWorkspaceBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4690
|
+
updateWorkspace(id: string, updateWorkspaceBody?: UpdateWorkspaceBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateWorkspaceResponse1>>;
|
|
4447
4691
|
/**
|
|
4448
4692
|
* Update the member of a workspace
|
|
4449
4693
|
* @param {string} id Workspace member ID
|
|
@@ -4465,6 +4709,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4465
4709
|
* @throws {RequiredError}
|
|
4466
4710
|
*/
|
|
4467
4711
|
callAction(requestParameters?: DefaultApiCallActionRequest, options?: AxiosRequestConfig): AxiosPromise<CallActionResponse>;
|
|
4712
|
+
/**
|
|
4713
|
+
* Change workspace billing plan
|
|
4714
|
+
* @param {DefaultApiChangeWorkspacePlanRequest} requestParameters Request parameters.
|
|
4715
|
+
* @param {*} [options] Override http request option.
|
|
4716
|
+
* @throws {RequiredError}
|
|
4717
|
+
*/
|
|
4718
|
+
changeWorkspacePlan(requestParameters: DefaultApiChangeWorkspacePlanRequest, options?: AxiosRequestConfig): AxiosPromise<ChangeWorkspacePlanResponse>;
|
|
4468
4719
|
/**
|
|
4469
4720
|
* An integration can call this endpoint to configure itself
|
|
4470
4721
|
* @param {DefaultApiConfigureIntegrationRequest} requestParameters Request parameters.
|
|
@@ -4521,6 +4772,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4521
4772
|
* @throws {RequiredError}
|
|
4522
4773
|
*/
|
|
4523
4774
|
createUser(requestParameters?: DefaultApiCreateUserRequest, options?: AxiosRequestConfig): AxiosPromise<CreateUserResponse>;
|
|
4775
|
+
/**
|
|
4776
|
+
* Create workspace
|
|
4777
|
+
* @param {DefaultApiCreateWorkspaceRequest} requestParameters Request parameters.
|
|
4778
|
+
* @param {*} [options] Override http request option.
|
|
4779
|
+
* @throws {RequiredError}
|
|
4780
|
+
*/
|
|
4781
|
+
createWorkspace(requestParameters?: DefaultApiCreateWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<CreateWorkspaceResponse>;
|
|
4524
4782
|
/**
|
|
4525
4783
|
* Add a member to the workspace
|
|
4526
4784
|
* @param {DefaultApiCreateWorkspaceMemberRequest} requestParameters Request parameters.
|
|
@@ -4570,6 +4828,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4570
4828
|
* @throws {RequiredError}
|
|
4571
4829
|
*/
|
|
4572
4830
|
deleteUser(requestParameters: DefaultApiDeleteUserRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
4831
|
+
/**
|
|
4832
|
+
* Delete workspace
|
|
4833
|
+
* @param {DefaultApiDeleteWorkspaceRequest} requestParameters Request parameters.
|
|
4834
|
+
* @param {*} [options] Override http request option.
|
|
4835
|
+
* @throws {RequiredError}
|
|
4836
|
+
*/
|
|
4837
|
+
deleteWorkspace(requestParameters: DefaultApiDeleteWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
4573
4838
|
/**
|
|
4574
4839
|
* Remove a member of a workspace
|
|
4575
4840
|
* @param {DefaultApiDeleteWorkspaceMemberRequest} requestParameters Request parameters.
|
|
@@ -4856,7 +5121,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4856
5121
|
* @param {*} [options] Override http request option.
|
|
4857
5122
|
* @throws {RequiredError}
|
|
4858
5123
|
*/
|
|
4859
|
-
updateWorkspace(requestParameters: DefaultApiUpdateWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
5124
|
+
updateWorkspace(requestParameters: DefaultApiUpdateWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateWorkspaceResponse1>;
|
|
4860
5125
|
/**
|
|
4861
5126
|
* Update the member of a workspace
|
|
4862
5127
|
* @param {DefaultApiUpdateWorkspaceMemberRequest} requestParameters Request parameters.
|
|
@@ -4878,6 +5143,25 @@ export interface DefaultApiCallActionRequest {
|
|
|
4878
5143
|
*/
|
|
4879
5144
|
readonly callActionBody?: CallActionBody;
|
|
4880
5145
|
}
|
|
5146
|
+
/**
|
|
5147
|
+
* Request parameters for changeWorkspacePlan operation in DefaultApi.
|
|
5148
|
+
* @export
|
|
5149
|
+
* @interface DefaultApiChangeWorkspacePlanRequest
|
|
5150
|
+
*/
|
|
5151
|
+
export interface DefaultApiChangeWorkspacePlanRequest {
|
|
5152
|
+
/**
|
|
5153
|
+
* Workspace ID
|
|
5154
|
+
* @type {string}
|
|
5155
|
+
* @memberof DefaultApiChangeWorkspacePlan
|
|
5156
|
+
*/
|
|
5157
|
+
readonly id: string;
|
|
5158
|
+
/**
|
|
5159
|
+
* Billing plan to change the workspace to
|
|
5160
|
+
* @type {ChangeWorkspacePlanBody}
|
|
5161
|
+
* @memberof DefaultApiChangeWorkspacePlan
|
|
5162
|
+
*/
|
|
5163
|
+
readonly changeWorkspacePlanBody?: ChangeWorkspacePlanBody;
|
|
5164
|
+
}
|
|
4881
5165
|
/**
|
|
4882
5166
|
* Request parameters for configureIntegration operation in DefaultApi.
|
|
4883
5167
|
* @export
|
|
@@ -4982,6 +5266,19 @@ export interface DefaultApiCreateUserRequest {
|
|
|
4982
5266
|
*/
|
|
4983
5267
|
readonly createUserBody?: CreateUserBody;
|
|
4984
5268
|
}
|
|
5269
|
+
/**
|
|
5270
|
+
* Request parameters for createWorkspace operation in DefaultApi.
|
|
5271
|
+
* @export
|
|
5272
|
+
* @interface DefaultApiCreateWorkspaceRequest
|
|
5273
|
+
*/
|
|
5274
|
+
export interface DefaultApiCreateWorkspaceRequest {
|
|
5275
|
+
/**
|
|
5276
|
+
* Workspace metadata
|
|
5277
|
+
* @type {CreateWorkspaceBody}
|
|
5278
|
+
* @memberof DefaultApiCreateWorkspace
|
|
5279
|
+
*/
|
|
5280
|
+
readonly createWorkspaceBody?: CreateWorkspaceBody;
|
|
5281
|
+
}
|
|
4985
5282
|
/**
|
|
4986
5283
|
* Request parameters for createWorkspaceMember operation in DefaultApi.
|
|
4987
5284
|
* @export
|
|
@@ -5073,6 +5370,19 @@ export interface DefaultApiDeleteUserRequest {
|
|
|
5073
5370
|
*/
|
|
5074
5371
|
readonly id: string;
|
|
5075
5372
|
}
|
|
5373
|
+
/**
|
|
5374
|
+
* Request parameters for deleteWorkspace operation in DefaultApi.
|
|
5375
|
+
* @export
|
|
5376
|
+
* @interface DefaultApiDeleteWorkspaceRequest
|
|
5377
|
+
*/
|
|
5378
|
+
export interface DefaultApiDeleteWorkspaceRequest {
|
|
5379
|
+
/**
|
|
5380
|
+
* Workspace ID
|
|
5381
|
+
* @type {string}
|
|
5382
|
+
* @memberof DefaultApiDeleteWorkspace
|
|
5383
|
+
*/
|
|
5384
|
+
readonly id: string;
|
|
5385
|
+
}
|
|
5076
5386
|
/**
|
|
5077
5387
|
* Request parameters for deleteWorkspaceMember operation in DefaultApi.
|
|
5078
5388
|
* @export
|
|
@@ -5838,6 +6148,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5838
6148
|
* @memberof DefaultApi
|
|
5839
6149
|
*/
|
|
5840
6150
|
callAction(requestParameters?: DefaultApiCallActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CallActionResponse, any>>;
|
|
6151
|
+
/**
|
|
6152
|
+
* Change workspace billing plan
|
|
6153
|
+
* @param {DefaultApiChangeWorkspacePlanRequest} requestParameters Request parameters.
|
|
6154
|
+
* @param {*} [options] Override http request option.
|
|
6155
|
+
* @throws {RequiredError}
|
|
6156
|
+
* @memberof DefaultApi
|
|
6157
|
+
*/
|
|
6158
|
+
changeWorkspacePlan(requestParameters: DefaultApiChangeWorkspacePlanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangeWorkspacePlanResponse, any>>;
|
|
5841
6159
|
/**
|
|
5842
6160
|
* An integration can call this endpoint to configure itself
|
|
5843
6161
|
* @param {DefaultApiConfigureIntegrationRequest} requestParameters Request parameters.
|
|
@@ -5902,6 +6220,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5902
6220
|
* @memberof DefaultApi
|
|
5903
6221
|
*/
|
|
5904
6222
|
createUser(requestParameters?: DefaultApiCreateUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserResponse, any>>;
|
|
6223
|
+
/**
|
|
6224
|
+
* Create workspace
|
|
6225
|
+
* @param {DefaultApiCreateWorkspaceRequest} requestParameters Request parameters.
|
|
6226
|
+
* @param {*} [options] Override http request option.
|
|
6227
|
+
* @throws {RequiredError}
|
|
6228
|
+
* @memberof DefaultApi
|
|
6229
|
+
*/
|
|
6230
|
+
createWorkspace(requestParameters?: DefaultApiCreateWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateWorkspaceResponse, any>>;
|
|
5905
6231
|
/**
|
|
5906
6232
|
* Add a member to the workspace
|
|
5907
6233
|
* @param {DefaultApiCreateWorkspaceMemberRequest} requestParameters Request parameters.
|
|
@@ -5958,6 +6284,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5958
6284
|
* @memberof DefaultApi
|
|
5959
6285
|
*/
|
|
5960
6286
|
deleteUser(requestParameters: DefaultApiDeleteUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
6287
|
+
/**
|
|
6288
|
+
* Delete workspace
|
|
6289
|
+
* @param {DefaultApiDeleteWorkspaceRequest} requestParameters Request parameters.
|
|
6290
|
+
* @param {*} [options] Override http request option.
|
|
6291
|
+
* @throws {RequiredError}
|
|
6292
|
+
* @memberof DefaultApi
|
|
6293
|
+
*/
|
|
6294
|
+
deleteWorkspace(requestParameters: DefaultApiDeleteWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
5961
6295
|
/**
|
|
5962
6296
|
* Remove a member of a workspace
|
|
5963
6297
|
* @param {DefaultApiDeleteWorkspaceMemberRequest} requestParameters Request parameters.
|
|
@@ -6285,7 +6619,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
6285
6619
|
* @throws {RequiredError}
|
|
6286
6620
|
* @memberof DefaultApi
|
|
6287
6621
|
*/
|
|
6288
|
-
updateWorkspace(requestParameters: DefaultApiUpdateWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6622
|
+
updateWorkspace(requestParameters: DefaultApiUpdateWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateWorkspaceResponse1, any>>;
|
|
6289
6623
|
/**
|
|
6290
6624
|
* Update the member of a workspace
|
|
6291
6625
|
* @param {DefaultApiUpdateWorkspaceMemberRequest} requestParameters Request parameters.
|
package/dist/gen/base.d.ts
CHANGED