@botpress/client 0.11.7 → 0.11.9
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 +6 -6
- package/dist/bundle.cjs.map +3 -3
- package/dist/gen/api.d.ts +383 -84
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +24 -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/e2e/browser/index.ts +1 -0
- package/e2e/browser/script.ts +1 -0
- 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.18.
|
|
5
|
+
* The version of the OpenAPI document: 0.18.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,6 +31,18 @@ export interface Account {
|
|
|
31
31
|
* @memberof Account
|
|
32
32
|
*/
|
|
33
33
|
'email': string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Account
|
|
38
|
+
*/
|
|
39
|
+
'displayName'?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Account
|
|
44
|
+
*/
|
|
45
|
+
'profilePicture'?: string;
|
|
34
46
|
/**
|
|
35
47
|
* Creation date of the [Account](#schema_account) in ISO 8601 format
|
|
36
48
|
* @type {string}
|
|
@@ -214,6 +226,14 @@ export interface Bot {
|
|
|
214
226
|
* @memberof Bot
|
|
215
227
|
*/
|
|
216
228
|
'subscriptions': CreateBotBodySubscriptions;
|
|
229
|
+
/**
|
|
230
|
+
* Actions definition
|
|
231
|
+
* @type {{ [key: string]: CreateBotBodyActionsValue; }}
|
|
232
|
+
* @memberof Bot
|
|
233
|
+
*/
|
|
234
|
+
'actions': {
|
|
235
|
+
[key: string]: CreateBotBodyActionsValue;
|
|
236
|
+
};
|
|
217
237
|
/**
|
|
218
238
|
* Name of the [Bot](#schema_bot)
|
|
219
239
|
* @type {string}
|
|
@@ -1012,6 +1032,14 @@ export interface CreateBotBody {
|
|
|
1012
1032
|
* @memberof CreateBotBody
|
|
1013
1033
|
*/
|
|
1014
1034
|
'subscriptions'?: CreateBotBodySubscriptions;
|
|
1035
|
+
/**
|
|
1036
|
+
* Actions definition
|
|
1037
|
+
* @type {{ [key: string]: CreateBotBodyActionsValue; }}
|
|
1038
|
+
* @memberof CreateBotBody
|
|
1039
|
+
*/
|
|
1040
|
+
'actions'?: {
|
|
1041
|
+
[key: string]: CreateBotBodyActionsValue;
|
|
1042
|
+
};
|
|
1015
1043
|
/**
|
|
1016
1044
|
*
|
|
1017
1045
|
* @type {CreateBotBodyConfiguration}
|
|
@@ -1067,6 +1095,52 @@ export interface CreateBotBody {
|
|
|
1067
1095
|
*/
|
|
1068
1096
|
'dev'?: boolean;
|
|
1069
1097
|
}
|
|
1098
|
+
/**
|
|
1099
|
+
* Action definition
|
|
1100
|
+
* @export
|
|
1101
|
+
* @interface CreateBotBodyActionsValue
|
|
1102
|
+
*/
|
|
1103
|
+
export interface CreateBotBodyActionsValue {
|
|
1104
|
+
/**
|
|
1105
|
+
* Title of the action
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof CreateBotBodyActionsValue
|
|
1108
|
+
*/
|
|
1109
|
+
'title'?: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Description of the action
|
|
1112
|
+
* @type {string}
|
|
1113
|
+
* @memberof CreateBotBodyActionsValue
|
|
1114
|
+
*/
|
|
1115
|
+
'description'?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @type {CreateBotBodyActionsValueInput}
|
|
1119
|
+
* @memberof CreateBotBodyActionsValue
|
|
1120
|
+
*/
|
|
1121
|
+
'input': CreateBotBodyActionsValueInput;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @type {CreateBotBodyActionsValueInput}
|
|
1125
|
+
* @memberof CreateBotBodyActionsValue
|
|
1126
|
+
*/
|
|
1127
|
+
'output': CreateBotBodyActionsValueInput;
|
|
1128
|
+
}
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @export
|
|
1132
|
+
* @interface CreateBotBodyActionsValueInput
|
|
1133
|
+
*/
|
|
1134
|
+
export interface CreateBotBodyActionsValueInput {
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {{ [key: string]: any; }}
|
|
1138
|
+
* @memberof CreateBotBodyActionsValueInput
|
|
1139
|
+
*/
|
|
1140
|
+
'schema': {
|
|
1141
|
+
[key: string]: any;
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1070
1144
|
/**
|
|
1071
1145
|
*
|
|
1072
1146
|
* @export
|
|
@@ -1483,11 +1557,11 @@ export interface CreateIntegrationBody {
|
|
|
1483
1557
|
};
|
|
1484
1558
|
/**
|
|
1485
1559
|
*
|
|
1486
|
-
* @type {{ [key: string]:
|
|
1560
|
+
* @type {{ [key: string]: CreateBotBodyActionsValue; }}
|
|
1487
1561
|
* @memberof CreateIntegrationBody
|
|
1488
1562
|
*/
|
|
1489
1563
|
'actions'?: {
|
|
1490
|
-
[key: string]:
|
|
1564
|
+
[key: string]: CreateBotBodyActionsValue;
|
|
1491
1565
|
};
|
|
1492
1566
|
/**
|
|
1493
1567
|
*
|
|
@@ -1568,52 +1642,6 @@ export interface CreateIntegrationBody {
|
|
|
1568
1642
|
*/
|
|
1569
1643
|
'description'?: string;
|
|
1570
1644
|
}
|
|
1571
|
-
/**
|
|
1572
|
-
* Action definition
|
|
1573
|
-
* @export
|
|
1574
|
-
* @interface CreateIntegrationBodyActionsValue
|
|
1575
|
-
*/
|
|
1576
|
-
export interface CreateIntegrationBodyActionsValue {
|
|
1577
|
-
/**
|
|
1578
|
-
* Title of the action
|
|
1579
|
-
* @type {string}
|
|
1580
|
-
* @memberof CreateIntegrationBodyActionsValue
|
|
1581
|
-
*/
|
|
1582
|
-
'title'?: string;
|
|
1583
|
-
/**
|
|
1584
|
-
* Description of the action
|
|
1585
|
-
* @type {string}
|
|
1586
|
-
* @memberof CreateIntegrationBodyActionsValue
|
|
1587
|
-
*/
|
|
1588
|
-
'description'?: string;
|
|
1589
|
-
/**
|
|
1590
|
-
*
|
|
1591
|
-
* @type {CreateIntegrationBodyActionsValueInput}
|
|
1592
|
-
* @memberof CreateIntegrationBodyActionsValue
|
|
1593
|
-
*/
|
|
1594
|
-
'input': CreateIntegrationBodyActionsValueInput;
|
|
1595
|
-
/**
|
|
1596
|
-
*
|
|
1597
|
-
* @type {CreateIntegrationBodyActionsValueInput}
|
|
1598
|
-
* @memberof CreateIntegrationBodyActionsValue
|
|
1599
|
-
*/
|
|
1600
|
-
'output': CreateIntegrationBodyActionsValueInput;
|
|
1601
|
-
}
|
|
1602
|
-
/**
|
|
1603
|
-
*
|
|
1604
|
-
* @export
|
|
1605
|
-
* @interface CreateIntegrationBodyActionsValueInput
|
|
1606
|
-
*/
|
|
1607
|
-
export interface CreateIntegrationBodyActionsValueInput {
|
|
1608
|
-
/**
|
|
1609
|
-
*
|
|
1610
|
-
* @type {{ [key: string]: any; }}
|
|
1611
|
-
* @memberof CreateIntegrationBodyActionsValueInput
|
|
1612
|
-
*/
|
|
1613
|
-
'schema': {
|
|
1614
|
-
[key: string]: any;
|
|
1615
|
-
};
|
|
1616
|
-
}
|
|
1617
1645
|
/**
|
|
1618
1646
|
*
|
|
1619
1647
|
* @export
|
|
@@ -2684,6 +2712,18 @@ export interface GetAccountResponseAccount {
|
|
|
2684
2712
|
* @memberof GetAccountResponseAccount
|
|
2685
2713
|
*/
|
|
2686
2714
|
'email': string;
|
|
2715
|
+
/**
|
|
2716
|
+
*
|
|
2717
|
+
* @type {string}
|
|
2718
|
+
* @memberof GetAccountResponseAccount
|
|
2719
|
+
*/
|
|
2720
|
+
'displayName'?: string;
|
|
2721
|
+
/**
|
|
2722
|
+
*
|
|
2723
|
+
* @type {string}
|
|
2724
|
+
* @memberof GetAccountResponseAccount
|
|
2725
|
+
*/
|
|
2726
|
+
'profilePicture'?: string;
|
|
2687
2727
|
/**
|
|
2688
2728
|
* Creation date of the [Account](#schema_account) in ISO 8601 format
|
|
2689
2729
|
* @type {string}
|
|
@@ -2787,6 +2827,12 @@ export interface GetAuditRecordsResponseRecordsInner {
|
|
|
2787
2827
|
* @memberof GetAuditRecordsResponseRecordsInner
|
|
2788
2828
|
*/
|
|
2789
2829
|
'resourceName'?: string | null;
|
|
2830
|
+
/**
|
|
2831
|
+
*
|
|
2832
|
+
* @type {string}
|
|
2833
|
+
* @memberof GetAuditRecordsResponseRecordsInner
|
|
2834
|
+
*/
|
|
2835
|
+
'value'?: string | null;
|
|
2790
2836
|
/**
|
|
2791
2837
|
*
|
|
2792
2838
|
* @type {string}
|
|
@@ -2814,6 +2860,7 @@ export declare const GetAuditRecordsResponseRecordsInnerActionEnum: {
|
|
|
2814
2860
|
readonly UpdateWorkspace: "UPDATE_WORKSPACE";
|
|
2815
2861
|
readonly UpgradeWorkspacePlan: "UPGRADE_WORKSPACE_PLAN";
|
|
2816
2862
|
readonly SetSpendingLimit: "SET_SPENDING_LIMIT";
|
|
2863
|
+
readonly SetAiSpendingLimit: "SET_AI_SPENDING_LIMIT";
|
|
2817
2864
|
};
|
|
2818
2865
|
export type GetAuditRecordsResponseRecordsInnerActionEnum = typeof GetAuditRecordsResponseRecordsInnerActionEnum[keyof typeof GetAuditRecordsResponseRecordsInnerActionEnum];
|
|
2819
2866
|
/**
|
|
@@ -3286,6 +3333,73 @@ export interface GetPublicIntegrationResponse {
|
|
|
3286
3333
|
*/
|
|
3287
3334
|
'integration': Integration;
|
|
3288
3335
|
}
|
|
3336
|
+
/**
|
|
3337
|
+
*
|
|
3338
|
+
* @export
|
|
3339
|
+
* @interface GetPublicWorkspaceResponse
|
|
3340
|
+
*/
|
|
3341
|
+
export interface GetPublicWorkspaceResponse {
|
|
3342
|
+
/**
|
|
3343
|
+
*
|
|
3344
|
+
* @type {string}
|
|
3345
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3346
|
+
*/
|
|
3347
|
+
'id': string;
|
|
3348
|
+
/**
|
|
3349
|
+
*
|
|
3350
|
+
* @type {string}
|
|
3351
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3352
|
+
*/
|
|
3353
|
+
'name': string;
|
|
3354
|
+
/**
|
|
3355
|
+
*
|
|
3356
|
+
* @type {string}
|
|
3357
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3358
|
+
*/
|
|
3359
|
+
'createdAt': string;
|
|
3360
|
+
/**
|
|
3361
|
+
*
|
|
3362
|
+
* @type {string}
|
|
3363
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3364
|
+
*/
|
|
3365
|
+
'updatedAt': string;
|
|
3366
|
+
/**
|
|
3367
|
+
*
|
|
3368
|
+
* @type {string}
|
|
3369
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3370
|
+
*/
|
|
3371
|
+
'about'?: string;
|
|
3372
|
+
/**
|
|
3373
|
+
*
|
|
3374
|
+
* @type {string}
|
|
3375
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3376
|
+
*/
|
|
3377
|
+
'profilePicture'?: string;
|
|
3378
|
+
/**
|
|
3379
|
+
*
|
|
3380
|
+
* @type {string}
|
|
3381
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3382
|
+
*/
|
|
3383
|
+
'contactEmail'?: string;
|
|
3384
|
+
/**
|
|
3385
|
+
*
|
|
3386
|
+
* @type {string}
|
|
3387
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3388
|
+
*/
|
|
3389
|
+
'website'?: string;
|
|
3390
|
+
/**
|
|
3391
|
+
*
|
|
3392
|
+
* @type {Array<string>}
|
|
3393
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3394
|
+
*/
|
|
3395
|
+
'socialAccounts'?: Array<string>;
|
|
3396
|
+
/**
|
|
3397
|
+
*
|
|
3398
|
+
* @type {string}
|
|
3399
|
+
* @memberof GetPublicWorkspaceResponse
|
|
3400
|
+
*/
|
|
3401
|
+
'handle'?: string;
|
|
3402
|
+
}
|
|
3289
3403
|
/**
|
|
3290
3404
|
*
|
|
3291
3405
|
* @export
|
|
@@ -3350,6 +3464,25 @@ export interface GetTaskResponse {
|
|
|
3350
3464
|
*/
|
|
3351
3465
|
'task': Task;
|
|
3352
3466
|
}
|
|
3467
|
+
/**
|
|
3468
|
+
*
|
|
3469
|
+
* @export
|
|
3470
|
+
* @interface GetUpcomingInvoiceResponse
|
|
3471
|
+
*/
|
|
3472
|
+
export interface GetUpcomingInvoiceResponse {
|
|
3473
|
+
/**
|
|
3474
|
+
* ID of the invoice.
|
|
3475
|
+
* @type {string}
|
|
3476
|
+
* @memberof GetUpcomingInvoiceResponse
|
|
3477
|
+
*/
|
|
3478
|
+
'id': string;
|
|
3479
|
+
/**
|
|
3480
|
+
* Total amount to pay of the invoice.
|
|
3481
|
+
* @type {number}
|
|
3482
|
+
* @memberof GetUpcomingInvoiceResponse
|
|
3483
|
+
*/
|
|
3484
|
+
'total': number;
|
|
3485
|
+
}
|
|
3353
3486
|
/**
|
|
3354
3487
|
*
|
|
3355
3488
|
* @export
|
|
@@ -3754,11 +3887,11 @@ export interface Integration {
|
|
|
3754
3887
|
};
|
|
3755
3888
|
/**
|
|
3756
3889
|
*
|
|
3757
|
-
* @type {{ [key: string]:
|
|
3890
|
+
* @type {{ [key: string]: CreateBotBodyActionsValue; }}
|
|
3758
3891
|
* @memberof Integration
|
|
3759
3892
|
*/
|
|
3760
3893
|
'actions': {
|
|
3761
|
-
[key: string]:
|
|
3894
|
+
[key: string]: CreateBotBodyActionsValue;
|
|
3762
3895
|
};
|
|
3763
3896
|
/**
|
|
3764
3897
|
*
|
|
@@ -5621,6 +5754,38 @@ export interface TransferBotBody {
|
|
|
5621
5754
|
*/
|
|
5622
5755
|
'targetWorkspaceId': string;
|
|
5623
5756
|
}
|
|
5757
|
+
/**
|
|
5758
|
+
*
|
|
5759
|
+
* @export
|
|
5760
|
+
* @interface UpdateAccountBody
|
|
5761
|
+
*/
|
|
5762
|
+
export interface UpdateAccountBody {
|
|
5763
|
+
/**
|
|
5764
|
+
*
|
|
5765
|
+
* @type {string}
|
|
5766
|
+
* @memberof UpdateAccountBody
|
|
5767
|
+
*/
|
|
5768
|
+
'displayName'?: string;
|
|
5769
|
+
/**
|
|
5770
|
+
*
|
|
5771
|
+
* @type {string}
|
|
5772
|
+
* @memberof UpdateAccountBody
|
|
5773
|
+
*/
|
|
5774
|
+
'profilePicture'?: string;
|
|
5775
|
+
}
|
|
5776
|
+
/**
|
|
5777
|
+
*
|
|
5778
|
+
* @export
|
|
5779
|
+
* @interface UpdateAccountResponse
|
|
5780
|
+
*/
|
|
5781
|
+
export interface UpdateAccountResponse {
|
|
5782
|
+
/**
|
|
5783
|
+
*
|
|
5784
|
+
* @type {GetAccountResponseAccount}
|
|
5785
|
+
* @memberof UpdateAccountResponse
|
|
5786
|
+
*/
|
|
5787
|
+
'account': GetAccountResponseAccount;
|
|
5788
|
+
}
|
|
5624
5789
|
/**
|
|
5625
5790
|
*
|
|
5626
5791
|
* @export
|
|
@@ -5683,6 +5848,14 @@ export interface UpdateBotBody {
|
|
|
5683
5848
|
'events'?: {
|
|
5684
5849
|
[key: string]: UpdateBotBodyEventsValue | null;
|
|
5685
5850
|
};
|
|
5851
|
+
/**
|
|
5852
|
+
*
|
|
5853
|
+
* @type {{ [key: string]: UpdateBotBodyActionsValue | null; }}
|
|
5854
|
+
* @memberof UpdateBotBody
|
|
5855
|
+
*/
|
|
5856
|
+
'actions'?: {
|
|
5857
|
+
[key: string]: UpdateBotBodyActionsValue | null;
|
|
5858
|
+
};
|
|
5686
5859
|
/**
|
|
5687
5860
|
*
|
|
5688
5861
|
* @type {{ [key: string]: UpdateBotBodyStatesValue | null; }}
|
|
@@ -5736,6 +5909,37 @@ export declare const UpdateBotBodyAuthenticationEnum: {
|
|
|
5736
5909
|
readonly Iam: "iam";
|
|
5737
5910
|
};
|
|
5738
5911
|
export type UpdateBotBodyAuthenticationEnum = typeof UpdateBotBodyAuthenticationEnum[keyof typeof UpdateBotBodyAuthenticationEnum];
|
|
5912
|
+
/**
|
|
5913
|
+
* Action definition
|
|
5914
|
+
* @export
|
|
5915
|
+
* @interface UpdateBotBodyActionsValue
|
|
5916
|
+
*/
|
|
5917
|
+
export interface UpdateBotBodyActionsValue {
|
|
5918
|
+
/**
|
|
5919
|
+
* Title of the action
|
|
5920
|
+
* @type {string}
|
|
5921
|
+
* @memberof UpdateBotBodyActionsValue
|
|
5922
|
+
*/
|
|
5923
|
+
'title'?: string;
|
|
5924
|
+
/**
|
|
5925
|
+
* Description of the action
|
|
5926
|
+
* @type {string}
|
|
5927
|
+
* @memberof UpdateBotBodyActionsValue
|
|
5928
|
+
*/
|
|
5929
|
+
'description'?: string;
|
|
5930
|
+
/**
|
|
5931
|
+
*
|
|
5932
|
+
* @type {CreateBotBodyActionsValueInput}
|
|
5933
|
+
* @memberof UpdateBotBodyActionsValue
|
|
5934
|
+
*/
|
|
5935
|
+
'input': CreateBotBodyActionsValueInput;
|
|
5936
|
+
/**
|
|
5937
|
+
*
|
|
5938
|
+
* @type {CreateBotBodyActionsValueInput}
|
|
5939
|
+
* @memberof UpdateBotBodyActionsValue
|
|
5940
|
+
*/
|
|
5941
|
+
'output': CreateBotBodyActionsValueInput;
|
|
5942
|
+
}
|
|
5739
5943
|
/**
|
|
5740
5944
|
* Event Definition
|
|
5741
5945
|
* @export
|
|
@@ -5971,11 +6175,11 @@ export interface UpdateIntegrationBody {
|
|
|
5971
6175
|
'identifier'?: UpdateIntegrationBodyIdentifier;
|
|
5972
6176
|
/**
|
|
5973
6177
|
*
|
|
5974
|
-
* @type {{ [key: string]:
|
|
6178
|
+
* @type {{ [key: string]: UpdateBotBodyActionsValue | null; }}
|
|
5975
6179
|
* @memberof UpdateIntegrationBody
|
|
5976
6180
|
*/
|
|
5977
6181
|
'actions'?: {
|
|
5978
|
-
[key: string]:
|
|
6182
|
+
[key: string]: UpdateBotBodyActionsValue | null;
|
|
5979
6183
|
};
|
|
5980
6184
|
/**
|
|
5981
6185
|
*
|
|
@@ -6052,37 +6256,6 @@ export interface UpdateIntegrationBody {
|
|
|
6052
6256
|
*/
|
|
6053
6257
|
'url'?: string;
|
|
6054
6258
|
}
|
|
6055
|
-
/**
|
|
6056
|
-
* Action definition
|
|
6057
|
-
* @export
|
|
6058
|
-
* @interface UpdateIntegrationBodyActionsValue
|
|
6059
|
-
*/
|
|
6060
|
-
export interface UpdateIntegrationBodyActionsValue {
|
|
6061
|
-
/**
|
|
6062
|
-
* Title of the action
|
|
6063
|
-
* @type {string}
|
|
6064
|
-
* @memberof UpdateIntegrationBodyActionsValue
|
|
6065
|
-
*/
|
|
6066
|
-
'title'?: string;
|
|
6067
|
-
/**
|
|
6068
|
-
* Description of the action
|
|
6069
|
-
* @type {string}
|
|
6070
|
-
* @memberof UpdateIntegrationBodyActionsValue
|
|
6071
|
-
*/
|
|
6072
|
-
'description'?: string;
|
|
6073
|
-
/**
|
|
6074
|
-
*
|
|
6075
|
-
* @type {CreateIntegrationBodyActionsValueInput}
|
|
6076
|
-
* @memberof UpdateIntegrationBodyActionsValue
|
|
6077
|
-
*/
|
|
6078
|
-
'input': CreateIntegrationBodyActionsValueInput;
|
|
6079
|
-
/**
|
|
6080
|
-
*
|
|
6081
|
-
* @type {CreateIntegrationBodyActionsValueInput}
|
|
6082
|
-
* @memberof UpdateIntegrationBodyActionsValue
|
|
6083
|
-
*/
|
|
6084
|
-
'output': CreateIntegrationBodyActionsValueInput;
|
|
6085
|
-
}
|
|
6086
6259
|
/**
|
|
6087
6260
|
*
|
|
6088
6261
|
* @export
|
|
@@ -7702,6 +7875,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7702
7875
|
* @throws {RequiredError}
|
|
7703
7876
|
*/
|
|
7704
7877
|
getPublicIntegrationById: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7878
|
+
/**
|
|
7879
|
+
* Get workspace public details
|
|
7880
|
+
* @param {string} id Workspace ID
|
|
7881
|
+
* @param {*} [options] Override http request option.
|
|
7882
|
+
* @throws {RequiredError}
|
|
7883
|
+
*/
|
|
7884
|
+
getPublicWorkspace: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7705
7885
|
/**
|
|
7706
7886
|
* Retrieves the [State](#schema_state) object for a valid identifiers.
|
|
7707
7887
|
* @param {GetStateTypeEnum} type State type
|
|
@@ -7733,6 +7913,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7733
7913
|
* @throws {RequiredError}
|
|
7734
7914
|
*/
|
|
7735
7915
|
getTask: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7916
|
+
/**
|
|
7917
|
+
* Get upcoming invoice for workspace
|
|
7918
|
+
* @param {string} id Workspace ID
|
|
7919
|
+
* @param {*} [options] Override http request option.
|
|
7920
|
+
* @throws {RequiredError}
|
|
7921
|
+
*/
|
|
7922
|
+
getUpcomingInvoice: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7736
7923
|
/**
|
|
7737
7924
|
* Get usage
|
|
7738
7925
|
* @param {GetUsageTypeEnum} type Type of usage
|
|
@@ -8034,6 +8221,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8034
8221
|
* @throws {RequiredError}
|
|
8035
8222
|
*/
|
|
8036
8223
|
transferBot: (id: string, transferBotBody?: TransferBotBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8224
|
+
/**
|
|
8225
|
+
* Update details of the account associated with authenticated user
|
|
8226
|
+
* @param {UpdateAccountBody} [updateAccountBody] Account Data
|
|
8227
|
+
* @param {*} [options] Override http request option.
|
|
8228
|
+
* @throws {RequiredError}
|
|
8229
|
+
*/
|
|
8230
|
+
updateAccount: (updateAccountBody?: UpdateAccountBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8037
8231
|
/**
|
|
8038
8232
|
* Update bot
|
|
8039
8233
|
* @param {string} id Bot ID
|
|
@@ -8559,6 +8753,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8559
8753
|
* @throws {RequiredError}
|
|
8560
8754
|
*/
|
|
8561
8755
|
getPublicIntegrationById(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicIntegrationByIdResponse>>;
|
|
8756
|
+
/**
|
|
8757
|
+
* Get workspace public details
|
|
8758
|
+
* @param {string} id Workspace ID
|
|
8759
|
+
* @param {*} [options] Override http request option.
|
|
8760
|
+
* @throws {RequiredError}
|
|
8761
|
+
*/
|
|
8762
|
+
getPublicWorkspace(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicWorkspaceResponse>>;
|
|
8562
8763
|
/**
|
|
8563
8764
|
* Retrieves the [State](#schema_state) object for a valid identifiers.
|
|
8564
8765
|
* @param {GetStateTypeEnum} type State type
|
|
@@ -8590,6 +8791,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8590
8791
|
* @throws {RequiredError}
|
|
8591
8792
|
*/
|
|
8592
8793
|
getTask(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTaskResponse>>;
|
|
8794
|
+
/**
|
|
8795
|
+
* Get upcoming invoice for workspace
|
|
8796
|
+
* @param {string} id Workspace ID
|
|
8797
|
+
* @param {*} [options] Override http request option.
|
|
8798
|
+
* @throws {RequiredError}
|
|
8799
|
+
*/
|
|
8800
|
+
getUpcomingInvoice(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUpcomingInvoiceResponse>>;
|
|
8593
8801
|
/**
|
|
8594
8802
|
* Get usage
|
|
8595
8803
|
* @param {GetUsageTypeEnum} type Type of usage
|
|
@@ -8891,6 +9099,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8891
9099
|
* @throws {RequiredError}
|
|
8892
9100
|
*/
|
|
8893
9101
|
transferBot(id: string, transferBotBody?: TransferBotBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
9102
|
+
/**
|
|
9103
|
+
* Update details of the account associated with authenticated user
|
|
9104
|
+
* @param {UpdateAccountBody} [updateAccountBody] Account Data
|
|
9105
|
+
* @param {*} [options] Override http request option.
|
|
9106
|
+
* @throws {RequiredError}
|
|
9107
|
+
*/
|
|
9108
|
+
updateAccount(updateAccountBody?: UpdateAccountBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAccountResponse>>;
|
|
8894
9109
|
/**
|
|
8895
9110
|
* Update bot
|
|
8896
9111
|
* @param {string} id Bot ID
|
|
@@ -9391,6 +9606,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9391
9606
|
* @throws {RequiredError}
|
|
9392
9607
|
*/
|
|
9393
9608
|
getPublicIntegrationById(requestParameters: DefaultApiGetPublicIntegrationByIdRequest, options?: AxiosRequestConfig): AxiosPromise<GetPublicIntegrationByIdResponse>;
|
|
9609
|
+
/**
|
|
9610
|
+
* Get workspace public details
|
|
9611
|
+
* @param {DefaultApiGetPublicWorkspaceRequest} requestParameters Request parameters.
|
|
9612
|
+
* @param {*} [options] Override http request option.
|
|
9613
|
+
* @throws {RequiredError}
|
|
9614
|
+
*/
|
|
9615
|
+
getPublicWorkspace(requestParameters: DefaultApiGetPublicWorkspaceRequest, options?: AxiosRequestConfig): AxiosPromise<GetPublicWorkspaceResponse>;
|
|
9394
9616
|
/**
|
|
9395
9617
|
* Retrieves the [State](#schema_state) object for a valid identifiers.
|
|
9396
9618
|
* @param {DefaultApiGetStateRequest} requestParameters Request parameters.
|
|
@@ -9419,6 +9641,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9419
9641
|
* @throws {RequiredError}
|
|
9420
9642
|
*/
|
|
9421
9643
|
getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): AxiosPromise<GetTaskResponse>;
|
|
9644
|
+
/**
|
|
9645
|
+
* Get upcoming invoice for workspace
|
|
9646
|
+
* @param {DefaultApiGetUpcomingInvoiceRequest} requestParameters Request parameters.
|
|
9647
|
+
* @param {*} [options] Override http request option.
|
|
9648
|
+
* @throws {RequiredError}
|
|
9649
|
+
*/
|
|
9650
|
+
getUpcomingInvoice(requestParameters: DefaultApiGetUpcomingInvoiceRequest, options?: AxiosRequestConfig): AxiosPromise<GetUpcomingInvoiceResponse>;
|
|
9422
9651
|
/**
|
|
9423
9652
|
* Get usage
|
|
9424
9653
|
* @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
|
|
@@ -9663,6 +9892,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9663
9892
|
* @throws {RequiredError}
|
|
9664
9893
|
*/
|
|
9665
9894
|
transferBot(requestParameters: DefaultApiTransferBotRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
9895
|
+
/**
|
|
9896
|
+
* Update details of the account associated with authenticated user
|
|
9897
|
+
* @param {DefaultApiUpdateAccountRequest} requestParameters Request parameters.
|
|
9898
|
+
* @param {*} [options] Override http request option.
|
|
9899
|
+
* @throws {RequiredError}
|
|
9900
|
+
*/
|
|
9901
|
+
updateAccount(requestParameters?: DefaultApiUpdateAccountRequest, options?: AxiosRequestConfig): AxiosPromise<UpdateAccountResponse>;
|
|
9666
9902
|
/**
|
|
9667
9903
|
* Update bot
|
|
9668
9904
|
* @param {DefaultApiUpdateBotRequest} requestParameters Request parameters.
|
|
@@ -10619,6 +10855,19 @@ export interface DefaultApiGetPublicIntegrationByIdRequest {
|
|
|
10619
10855
|
*/
|
|
10620
10856
|
readonly id: string;
|
|
10621
10857
|
}
|
|
10858
|
+
/**
|
|
10859
|
+
* Request parameters for getPublicWorkspace operation in DefaultApi.
|
|
10860
|
+
* @export
|
|
10861
|
+
* @interface DefaultApiGetPublicWorkspaceRequest
|
|
10862
|
+
*/
|
|
10863
|
+
export interface DefaultApiGetPublicWorkspaceRequest {
|
|
10864
|
+
/**
|
|
10865
|
+
* Workspace ID
|
|
10866
|
+
* @type {string}
|
|
10867
|
+
* @memberof DefaultApiGetPublicWorkspace
|
|
10868
|
+
*/
|
|
10869
|
+
readonly id: string;
|
|
10870
|
+
}
|
|
10622
10871
|
/**
|
|
10623
10872
|
* Request parameters for getState operation in DefaultApi.
|
|
10624
10873
|
* @export
|
|
@@ -10689,6 +10938,19 @@ export interface DefaultApiGetTaskRequest {
|
|
|
10689
10938
|
*/
|
|
10690
10939
|
readonly id: string;
|
|
10691
10940
|
}
|
|
10941
|
+
/**
|
|
10942
|
+
* Request parameters for getUpcomingInvoice operation in DefaultApi.
|
|
10943
|
+
* @export
|
|
10944
|
+
* @interface DefaultApiGetUpcomingInvoiceRequest
|
|
10945
|
+
*/
|
|
10946
|
+
export interface DefaultApiGetUpcomingInvoiceRequest {
|
|
10947
|
+
/**
|
|
10948
|
+
* Workspace ID
|
|
10949
|
+
* @type {string}
|
|
10950
|
+
* @memberof DefaultApiGetUpcomingInvoice
|
|
10951
|
+
*/
|
|
10952
|
+
readonly id: string;
|
|
10953
|
+
}
|
|
10692
10954
|
/**
|
|
10693
10955
|
* Request parameters for getUsage operation in DefaultApi.
|
|
10694
10956
|
* @export
|
|
@@ -11423,6 +11685,19 @@ export interface DefaultApiTransferBotRequest {
|
|
|
11423
11685
|
*/
|
|
11424
11686
|
readonly transferBotBody?: TransferBotBody;
|
|
11425
11687
|
}
|
|
11688
|
+
/**
|
|
11689
|
+
* Request parameters for updateAccount operation in DefaultApi.
|
|
11690
|
+
* @export
|
|
11691
|
+
* @interface DefaultApiUpdateAccountRequest
|
|
11692
|
+
*/
|
|
11693
|
+
export interface DefaultApiUpdateAccountRequest {
|
|
11694
|
+
/**
|
|
11695
|
+
* Account Data
|
|
11696
|
+
* @type {UpdateAccountBody}
|
|
11697
|
+
* @memberof DefaultApiUpdateAccount
|
|
11698
|
+
*/
|
|
11699
|
+
readonly updateAccountBody?: UpdateAccountBody;
|
|
11700
|
+
}
|
|
11426
11701
|
/**
|
|
11427
11702
|
* Request parameters for updateBot operation in DefaultApi.
|
|
11428
11703
|
* @export
|
|
@@ -12103,6 +12378,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12103
12378
|
* @memberof DefaultApi
|
|
12104
12379
|
*/
|
|
12105
12380
|
getPublicIntegrationById(requestParameters: DefaultApiGetPublicIntegrationByIdRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicIntegrationByIdResponse, any>>;
|
|
12381
|
+
/**
|
|
12382
|
+
* Get workspace public details
|
|
12383
|
+
* @param {DefaultApiGetPublicWorkspaceRequest} requestParameters Request parameters.
|
|
12384
|
+
* @param {*} [options] Override http request option.
|
|
12385
|
+
* @throws {RequiredError}
|
|
12386
|
+
* @memberof DefaultApi
|
|
12387
|
+
*/
|
|
12388
|
+
getPublicWorkspace(requestParameters: DefaultApiGetPublicWorkspaceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicWorkspaceResponse, any>>;
|
|
12106
12389
|
/**
|
|
12107
12390
|
* Retrieves the [State](#schema_state) object for a valid identifiers.
|
|
12108
12391
|
* @param {DefaultApiGetStateRequest} requestParameters Request parameters.
|
|
@@ -12135,6 +12418,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12135
12418
|
* @memberof DefaultApi
|
|
12136
12419
|
*/
|
|
12137
12420
|
getTask(requestParameters: DefaultApiGetTaskRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTaskResponse, any>>;
|
|
12421
|
+
/**
|
|
12422
|
+
* Get upcoming invoice for workspace
|
|
12423
|
+
* @param {DefaultApiGetUpcomingInvoiceRequest} requestParameters Request parameters.
|
|
12424
|
+
* @param {*} [options] Override http request option.
|
|
12425
|
+
* @throws {RequiredError}
|
|
12426
|
+
* @memberof DefaultApi
|
|
12427
|
+
*/
|
|
12428
|
+
getUpcomingInvoice(requestParameters: DefaultApiGetUpcomingInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUpcomingInvoiceResponse, any>>;
|
|
12138
12429
|
/**
|
|
12139
12430
|
* Get usage
|
|
12140
12431
|
* @param {DefaultApiGetUsageRequest} requestParameters Request parameters.
|
|
@@ -12414,6 +12705,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
12414
12705
|
* @memberof DefaultApi
|
|
12415
12706
|
*/
|
|
12416
12707
|
transferBot(requestParameters: DefaultApiTransferBotRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
12708
|
+
/**
|
|
12709
|
+
* Update details of the account associated with authenticated user
|
|
12710
|
+
* @param {DefaultApiUpdateAccountRequest} requestParameters Request parameters.
|
|
12711
|
+
* @param {*} [options] Override http request option.
|
|
12712
|
+
* @throws {RequiredError}
|
|
12713
|
+
* @memberof DefaultApi
|
|
12714
|
+
*/
|
|
12715
|
+
updateAccount(requestParameters?: DefaultApiUpdateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAccountResponse, any>>;
|
|
12417
12716
|
/**
|
|
12418
12717
|
* Update bot
|
|
12419
12718
|
* @param {DefaultApiUpdateBotRequest} requestParameters Request parameters.
|
package/dist/gen/base.d.ts
CHANGED