@botpress/client 0.5.2 → 0.6.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 +408 -21
- package/dist/gen/base.d.ts +1 -1
- package/dist/gen/client.d.ts +7 -1
- package/dist/gen/common.d.ts +1 -1
- package/dist/gen/configuration.d.ts +1 -1
- package/dist/gen/errors.d.ts +1 -0
- 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.10.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -539,7 +539,7 @@ export interface CreateBotBody {
|
|
|
539
539
|
[key: string]: CreateBotBodyEventsValue;
|
|
540
540
|
};
|
|
541
541
|
/**
|
|
542
|
-
*
|
|
542
|
+
*
|
|
543
543
|
* @type {{ [key: string]: CreateBotBodyRecurringEventsValue; }}
|
|
544
544
|
* @memberof CreateBotBody
|
|
545
545
|
*/
|
|
@@ -2225,6 +2225,7 @@ export declare const GetWorkspaceQuotaResponseQuotaTypeEnum: {
|
|
|
2225
2225
|
readonly BotRatelimit: "bot_ratelimit";
|
|
2226
2226
|
readonly TableRowCount: "table_row_count";
|
|
2227
2227
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
2228
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
2228
2229
|
};
|
|
2229
2230
|
export type GetWorkspaceQuotaResponseQuotaTypeEnum = typeof GetWorkspaceQuotaResponseQuotaTypeEnum[keyof typeof GetWorkspaceQuotaResponseQuotaTypeEnum];
|
|
2230
2231
|
/**
|
|
@@ -2523,6 +2524,236 @@ export interface IntrospectResponse {
|
|
|
2523
2524
|
*/
|
|
2524
2525
|
'userId': string;
|
|
2525
2526
|
}
|
|
2527
|
+
/**
|
|
2528
|
+
*
|
|
2529
|
+
* @export
|
|
2530
|
+
* @interface Issue
|
|
2531
|
+
*/
|
|
2532
|
+
export interface Issue {
|
|
2533
|
+
/**
|
|
2534
|
+
*
|
|
2535
|
+
* @type {string}
|
|
2536
|
+
* @memberof Issue
|
|
2537
|
+
*/
|
|
2538
|
+
'id': string;
|
|
2539
|
+
/**
|
|
2540
|
+
*
|
|
2541
|
+
* @type {string}
|
|
2542
|
+
* @memberof Issue
|
|
2543
|
+
*/
|
|
2544
|
+
'code': string;
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @type {string}
|
|
2548
|
+
* @memberof Issue
|
|
2549
|
+
*/
|
|
2550
|
+
'createdAt': string;
|
|
2551
|
+
/**
|
|
2552
|
+
*
|
|
2553
|
+
* @type {string}
|
|
2554
|
+
* @memberof Issue
|
|
2555
|
+
*/
|
|
2556
|
+
'lastSeenAt': string;
|
|
2557
|
+
/**
|
|
2558
|
+
*
|
|
2559
|
+
* @type {string}
|
|
2560
|
+
* @memberof Issue
|
|
2561
|
+
*/
|
|
2562
|
+
'title': string;
|
|
2563
|
+
/**
|
|
2564
|
+
*
|
|
2565
|
+
* @type {string}
|
|
2566
|
+
* @memberof Issue
|
|
2567
|
+
*/
|
|
2568
|
+
'description': string;
|
|
2569
|
+
/**
|
|
2570
|
+
*
|
|
2571
|
+
* @type {object}
|
|
2572
|
+
* @memberof Issue
|
|
2573
|
+
*/
|
|
2574
|
+
'groupedData': object;
|
|
2575
|
+
/**
|
|
2576
|
+
*
|
|
2577
|
+
* @type {number}
|
|
2578
|
+
* @memberof Issue
|
|
2579
|
+
*/
|
|
2580
|
+
'eventsCount': number;
|
|
2581
|
+
/**
|
|
2582
|
+
*
|
|
2583
|
+
* @type {string}
|
|
2584
|
+
* @memberof Issue
|
|
2585
|
+
*/
|
|
2586
|
+
'category': IssueCategoryEnum;
|
|
2587
|
+
/**
|
|
2588
|
+
*
|
|
2589
|
+
* @type {string}
|
|
2590
|
+
* @memberof Issue
|
|
2591
|
+
*/
|
|
2592
|
+
'resolutionLink': string | null;
|
|
2593
|
+
}
|
|
2594
|
+
export declare const IssueCategoryEnum: {
|
|
2595
|
+
readonly UserCode: "user_code";
|
|
2596
|
+
readonly Limits: "limits";
|
|
2597
|
+
readonly Configuration: "configuration";
|
|
2598
|
+
readonly Other: "other";
|
|
2599
|
+
};
|
|
2600
|
+
export type IssueCategoryEnum = typeof IssueCategoryEnum[keyof typeof IssueCategoryEnum];
|
|
2601
|
+
/**
|
|
2602
|
+
*
|
|
2603
|
+
* @export
|
|
2604
|
+
* @interface IssueEvent
|
|
2605
|
+
*/
|
|
2606
|
+
export interface IssueEvent {
|
|
2607
|
+
/**
|
|
2608
|
+
*
|
|
2609
|
+
* @type {string}
|
|
2610
|
+
* @memberof IssueEvent
|
|
2611
|
+
*/
|
|
2612
|
+
'id': string;
|
|
2613
|
+
/**
|
|
2614
|
+
*
|
|
2615
|
+
* @type {string}
|
|
2616
|
+
* @memberof IssueEvent
|
|
2617
|
+
*/
|
|
2618
|
+
'createdAt': string;
|
|
2619
|
+
/**
|
|
2620
|
+
*
|
|
2621
|
+
* @type {object}
|
|
2622
|
+
* @memberof IssueEvent
|
|
2623
|
+
*/
|
|
2624
|
+
'data': object;
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
*
|
|
2628
|
+
* @export
|
|
2629
|
+
* @interface ListBotIssueEventsResponse
|
|
2630
|
+
*/
|
|
2631
|
+
export interface ListBotIssueEventsResponse {
|
|
2632
|
+
/**
|
|
2633
|
+
*
|
|
2634
|
+
* @type {Array<ListBotIssueEventsResponseIssueEventsInner>}
|
|
2635
|
+
* @memberof ListBotIssueEventsResponse
|
|
2636
|
+
*/
|
|
2637
|
+
'issueEvents': Array<ListBotIssueEventsResponseIssueEventsInner>;
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
*
|
|
2641
|
+
* @export
|
|
2642
|
+
* @interface ListBotIssueEventsResponseIssueEventsInner
|
|
2643
|
+
*/
|
|
2644
|
+
export interface ListBotIssueEventsResponseIssueEventsInner {
|
|
2645
|
+
/**
|
|
2646
|
+
*
|
|
2647
|
+
* @type {string}
|
|
2648
|
+
* @memberof ListBotIssueEventsResponseIssueEventsInner
|
|
2649
|
+
*/
|
|
2650
|
+
'id': string;
|
|
2651
|
+
/**
|
|
2652
|
+
*
|
|
2653
|
+
* @type {string}
|
|
2654
|
+
* @memberof ListBotIssueEventsResponseIssueEventsInner
|
|
2655
|
+
*/
|
|
2656
|
+
'createdAt': string;
|
|
2657
|
+
/**
|
|
2658
|
+
*
|
|
2659
|
+
* @type {object}
|
|
2660
|
+
* @memberof ListBotIssueEventsResponseIssueEventsInner
|
|
2661
|
+
*/
|
|
2662
|
+
'data': object;
|
|
2663
|
+
}
|
|
2664
|
+
/**
|
|
2665
|
+
*
|
|
2666
|
+
* @export
|
|
2667
|
+
* @interface ListBotIssuesResponse
|
|
2668
|
+
*/
|
|
2669
|
+
export interface ListBotIssuesResponse {
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @type {Array<ListBotIssuesResponseIssuesInner>}
|
|
2673
|
+
* @memberof ListBotIssuesResponse
|
|
2674
|
+
*/
|
|
2675
|
+
'issues': Array<ListBotIssuesResponseIssuesInner>;
|
|
2676
|
+
/**
|
|
2677
|
+
*
|
|
2678
|
+
* @type {ListConversationsResponseMeta}
|
|
2679
|
+
* @memberof ListBotIssuesResponse
|
|
2680
|
+
*/
|
|
2681
|
+
'meta': ListConversationsResponseMeta;
|
|
2682
|
+
}
|
|
2683
|
+
/**
|
|
2684
|
+
*
|
|
2685
|
+
* @export
|
|
2686
|
+
* @interface ListBotIssuesResponseIssuesInner
|
|
2687
|
+
*/
|
|
2688
|
+
export interface ListBotIssuesResponseIssuesInner {
|
|
2689
|
+
/**
|
|
2690
|
+
*
|
|
2691
|
+
* @type {string}
|
|
2692
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2693
|
+
*/
|
|
2694
|
+
'id': string;
|
|
2695
|
+
/**
|
|
2696
|
+
*
|
|
2697
|
+
* @type {string}
|
|
2698
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2699
|
+
*/
|
|
2700
|
+
'code': string;
|
|
2701
|
+
/**
|
|
2702
|
+
*
|
|
2703
|
+
* @type {string}
|
|
2704
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2705
|
+
*/
|
|
2706
|
+
'createdAt': string;
|
|
2707
|
+
/**
|
|
2708
|
+
*
|
|
2709
|
+
* @type {string}
|
|
2710
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2711
|
+
*/
|
|
2712
|
+
'lastSeenAt': string;
|
|
2713
|
+
/**
|
|
2714
|
+
*
|
|
2715
|
+
* @type {string}
|
|
2716
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2717
|
+
*/
|
|
2718
|
+
'title': string;
|
|
2719
|
+
/**
|
|
2720
|
+
*
|
|
2721
|
+
* @type {string}
|
|
2722
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2723
|
+
*/
|
|
2724
|
+
'description': string;
|
|
2725
|
+
/**
|
|
2726
|
+
*
|
|
2727
|
+
* @type {object}
|
|
2728
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2729
|
+
*/
|
|
2730
|
+
'groupedData': object;
|
|
2731
|
+
/**
|
|
2732
|
+
*
|
|
2733
|
+
* @type {number}
|
|
2734
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2735
|
+
*/
|
|
2736
|
+
'eventsCount': number;
|
|
2737
|
+
/**
|
|
2738
|
+
*
|
|
2739
|
+
* @type {string}
|
|
2740
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2741
|
+
*/
|
|
2742
|
+
'category': ListBotIssuesResponseIssuesInnerCategoryEnum;
|
|
2743
|
+
/**
|
|
2744
|
+
*
|
|
2745
|
+
* @type {string}
|
|
2746
|
+
* @memberof ListBotIssuesResponseIssuesInner
|
|
2747
|
+
*/
|
|
2748
|
+
'resolutionLink': string | null;
|
|
2749
|
+
}
|
|
2750
|
+
export declare const ListBotIssuesResponseIssuesInnerCategoryEnum: {
|
|
2751
|
+
readonly UserCode: "user_code";
|
|
2752
|
+
readonly Limits: "limits";
|
|
2753
|
+
readonly Configuration: "configuration";
|
|
2754
|
+
readonly Other: "other";
|
|
2755
|
+
};
|
|
2756
|
+
export type ListBotIssuesResponseIssuesInnerCategoryEnum = typeof ListBotIssuesResponseIssuesInnerCategoryEnum[keyof typeof ListBotIssuesResponseIssuesInnerCategoryEnum];
|
|
2526
2757
|
/**
|
|
2527
2758
|
*
|
|
2528
2759
|
* @export
|
|
@@ -2937,6 +3168,7 @@ export declare const ListWorkspaceQuotasResponseQuotasInnerTypeEnum: {
|
|
|
2937
3168
|
readonly BotRatelimit: "bot_ratelimit";
|
|
2938
3169
|
readonly TableRowCount: "table_row_count";
|
|
2939
3170
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
3171
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
2940
3172
|
};
|
|
2941
3173
|
export type ListWorkspaceQuotasResponseQuotasInnerTypeEnum = typeof ListWorkspaceQuotasResponseQuotasInnerTypeEnum[keyof typeof ListWorkspaceQuotasResponseQuotasInnerTypeEnum];
|
|
2942
3174
|
/**
|
|
@@ -4089,6 +4321,7 @@ export declare const UsageTypeEnum: {
|
|
|
4089
4321
|
readonly BotRatelimit: "bot_ratelimit";
|
|
4090
4322
|
readonly TableRowCount: "table_row_count";
|
|
4091
4323
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
4324
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
4092
4325
|
};
|
|
4093
4326
|
export type UsageTypeEnum = typeof UsageTypeEnum[keyof typeof UsageTypeEnum];
|
|
4094
4327
|
/**
|
|
@@ -4334,6 +4567,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4334
4567
|
* @throws {RequiredError}
|
|
4335
4568
|
*/
|
|
4336
4569
|
deleteBot: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4570
|
+
/**
|
|
4571
|
+
* Delete Bot Issue
|
|
4572
|
+
* @param {string} id Bot ID
|
|
4573
|
+
* @param {string} issueId Issue ID
|
|
4574
|
+
* @param {*} [options] Override http request option.
|
|
4575
|
+
* @throws {RequiredError}
|
|
4576
|
+
*/
|
|
4577
|
+
deleteBotIssue: (id: string, issueId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4337
4578
|
/**
|
|
4338
4579
|
* Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).
|
|
4339
4580
|
* @param {string} id Conversation id
|
|
@@ -4350,7 +4591,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4350
4591
|
deleteFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4351
4592
|
/**
|
|
4352
4593
|
* Delete integration
|
|
4353
|
-
* @param {string} id Integration
|
|
4594
|
+
* @param {string} id Integration ID
|
|
4354
4595
|
* @param {*} [options] Override http request option.
|
|
4355
4596
|
* @throws {RequiredError}
|
|
4356
4597
|
*/
|
|
@@ -4468,7 +4709,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4468
4709
|
getFile: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4469
4710
|
/**
|
|
4470
4711
|
* Get integration
|
|
4471
|
-
* @param {string} id Integration
|
|
4712
|
+
* @param {string} id Integration ID
|
|
4472
4713
|
* @param {*} [options] Override http request option.
|
|
4473
4714
|
* @throws {RequiredError}
|
|
4474
4715
|
*/
|
|
@@ -4483,7 +4724,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4483
4724
|
getIntegrationByName: (name: string, version: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4484
4725
|
/**
|
|
4485
4726
|
* Get integration logs
|
|
4486
|
-
* @param {string} id Integration
|
|
4727
|
+
* @param {string} id Integration ID
|
|
4487
4728
|
* @param {string} timeStart Beginning of the time range to get logs from
|
|
4488
4729
|
* @param {string} timeEnd End of the time range to get logs from
|
|
4489
4730
|
* @param {string} [nextToken] Token to get the next page of logs
|
|
@@ -4529,7 +4770,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4529
4770
|
getPublicIntegration: (name: string, version: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4530
4771
|
/**
|
|
4531
4772
|
* Get public integration by Id
|
|
4532
|
-
* @param {string} id Integration
|
|
4773
|
+
* @param {string} id Integration ID
|
|
4533
4774
|
* @param {*} [options] Override http request option.
|
|
4534
4775
|
* @throws {RequiredError}
|
|
4535
4776
|
*/
|
|
@@ -4582,6 +4823,22 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4582
4823
|
* @throws {RequiredError}
|
|
4583
4824
|
*/
|
|
4584
4825
|
introspect: (introspectBody?: IntrospectBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4826
|
+
/**
|
|
4827
|
+
* List Events for a Bot Issue
|
|
4828
|
+
* @param {string} id Bot ID
|
|
4829
|
+
* @param {string} issueId Issue ID
|
|
4830
|
+
* @param {*} [options] Override http request option.
|
|
4831
|
+
* @throws {RequiredError}
|
|
4832
|
+
*/
|
|
4833
|
+
listBotIssueEvents: (id: string, issueId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4834
|
+
/**
|
|
4835
|
+
* List Bot Issues
|
|
4836
|
+
* @param {string} id Bot ID
|
|
4837
|
+
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
4838
|
+
* @param {*} [options] Override http request option.
|
|
4839
|
+
* @throws {RequiredError}
|
|
4840
|
+
*/
|
|
4841
|
+
listBotIssues: (id: string, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4585
4842
|
/**
|
|
4586
4843
|
* List bots
|
|
4587
4844
|
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
@@ -4747,7 +5004,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4747
5004
|
updateConversation: (id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4748
5005
|
/**
|
|
4749
5006
|
* Update integration
|
|
4750
|
-
* @param {string} id Integration
|
|
5007
|
+
* @param {string} id Integration ID
|
|
4751
5008
|
* @param {UpdateIntegrationBody} [updateIntegrationBody] Integration
|
|
4752
5009
|
* @param {*} [options] Override http request option.
|
|
4753
5010
|
* @throws {RequiredError}
|
|
@@ -4890,6 +5147,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4890
5147
|
* @throws {RequiredError}
|
|
4891
5148
|
*/
|
|
4892
5149
|
deleteBot(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
5150
|
+
/**
|
|
5151
|
+
* Delete Bot Issue
|
|
5152
|
+
* @param {string} id Bot ID
|
|
5153
|
+
* @param {string} issueId Issue ID
|
|
5154
|
+
* @param {*} [options] Override http request option.
|
|
5155
|
+
* @throws {RequiredError}
|
|
5156
|
+
*/
|
|
5157
|
+
deleteBotIssue(id: string, issueId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
4893
5158
|
/**
|
|
4894
5159
|
* Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).
|
|
4895
5160
|
* @param {string} id Conversation id
|
|
@@ -4906,7 +5171,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4906
5171
|
deleteFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
4907
5172
|
/**
|
|
4908
5173
|
* Delete integration
|
|
4909
|
-
* @param {string} id Integration
|
|
5174
|
+
* @param {string} id Integration ID
|
|
4910
5175
|
* @param {*} [options] Override http request option.
|
|
4911
5176
|
* @throws {RequiredError}
|
|
4912
5177
|
*/
|
|
@@ -5024,7 +5289,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5024
5289
|
getFile(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFileResponse>>;
|
|
5025
5290
|
/**
|
|
5026
5291
|
* Get integration
|
|
5027
|
-
* @param {string} id Integration
|
|
5292
|
+
* @param {string} id Integration ID
|
|
5028
5293
|
* @param {*} [options] Override http request option.
|
|
5029
5294
|
* @throws {RequiredError}
|
|
5030
5295
|
*/
|
|
@@ -5039,7 +5304,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5039
5304
|
getIntegrationByName(name: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIntegrationByNameResponse>>;
|
|
5040
5305
|
/**
|
|
5041
5306
|
* Get integration logs
|
|
5042
|
-
* @param {string} id Integration
|
|
5307
|
+
* @param {string} id Integration ID
|
|
5043
5308
|
* @param {string} timeStart Beginning of the time range to get logs from
|
|
5044
5309
|
* @param {string} timeEnd End of the time range to get logs from
|
|
5045
5310
|
* @param {string} [nextToken] Token to get the next page of logs
|
|
@@ -5085,7 +5350,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5085
5350
|
getPublicIntegration(name: string, version: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPublicIntegrationResponse>>;
|
|
5086
5351
|
/**
|
|
5087
5352
|
* Get public integration by Id
|
|
5088
|
-
* @param {string} id Integration
|
|
5353
|
+
* @param {string} id Integration ID
|
|
5089
5354
|
* @param {*} [options] Override http request option.
|
|
5090
5355
|
* @throws {RequiredError}
|
|
5091
5356
|
*/
|
|
@@ -5138,6 +5403,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5138
5403
|
* @throws {RequiredError}
|
|
5139
5404
|
*/
|
|
5140
5405
|
introspect(introspectBody?: IntrospectBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntrospectResponse>>;
|
|
5406
|
+
/**
|
|
5407
|
+
* List Events for a Bot Issue
|
|
5408
|
+
* @param {string} id Bot ID
|
|
5409
|
+
* @param {string} issueId Issue ID
|
|
5410
|
+
* @param {*} [options] Override http request option.
|
|
5411
|
+
* @throws {RequiredError}
|
|
5412
|
+
*/
|
|
5413
|
+
listBotIssueEvents(id: string, issueId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBotIssueEventsResponse>>;
|
|
5414
|
+
/**
|
|
5415
|
+
* List Bot Issues
|
|
5416
|
+
* @param {string} id Bot ID
|
|
5417
|
+
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
5418
|
+
* @param {*} [options] Override http request option.
|
|
5419
|
+
* @throws {RequiredError}
|
|
5420
|
+
*/
|
|
5421
|
+
listBotIssues(id: string, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBotIssuesResponse>>;
|
|
5141
5422
|
/**
|
|
5142
5423
|
* List bots
|
|
5143
5424
|
* @param {string} [nextToken] Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
@@ -5303,7 +5584,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5303
5584
|
updateConversation(id: string, updateConversationBody?: UpdateConversationBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateConversationResponse>>;
|
|
5304
5585
|
/**
|
|
5305
5586
|
* Update integration
|
|
5306
|
-
* @param {string} id Integration
|
|
5587
|
+
* @param {string} id Integration ID
|
|
5307
5588
|
* @param {UpdateIntegrationBody} [updateIntegrationBody] Integration
|
|
5308
5589
|
* @param {*} [options] Override http request option.
|
|
5309
5590
|
* @throws {RequiredError}
|
|
@@ -5445,6 +5726,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5445
5726
|
* @throws {RequiredError}
|
|
5446
5727
|
*/
|
|
5447
5728
|
deleteBot(requestParameters: DefaultApiDeleteBotRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
5729
|
+
/**
|
|
5730
|
+
* Delete Bot Issue
|
|
5731
|
+
* @param {DefaultApiDeleteBotIssueRequest} requestParameters Request parameters.
|
|
5732
|
+
* @param {*} [options] Override http request option.
|
|
5733
|
+
* @throws {RequiredError}
|
|
5734
|
+
*/
|
|
5735
|
+
deleteBotIssue(requestParameters: DefaultApiDeleteBotIssueRequest, options?: AxiosRequestConfig): AxiosPromise<object>;
|
|
5448
5736
|
/**
|
|
5449
5737
|
* Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).
|
|
5450
5738
|
* @param {DefaultApiDeleteConversationRequest} requestParameters Request parameters.
|
|
@@ -5675,6 +5963,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5675
5963
|
* @throws {RequiredError}
|
|
5676
5964
|
*/
|
|
5677
5965
|
introspect(requestParameters?: DefaultApiIntrospectRequest, options?: AxiosRequestConfig): AxiosPromise<IntrospectResponse>;
|
|
5966
|
+
/**
|
|
5967
|
+
* List Events for a Bot Issue
|
|
5968
|
+
* @param {DefaultApiListBotIssueEventsRequest} requestParameters Request parameters.
|
|
5969
|
+
* @param {*} [options] Override http request option.
|
|
5970
|
+
* @throws {RequiredError}
|
|
5971
|
+
*/
|
|
5972
|
+
listBotIssueEvents(requestParameters: DefaultApiListBotIssueEventsRequest, options?: AxiosRequestConfig): AxiosPromise<ListBotIssueEventsResponse>;
|
|
5973
|
+
/**
|
|
5974
|
+
* List Bot Issues
|
|
5975
|
+
* @param {DefaultApiListBotIssuesRequest} requestParameters Request parameters.
|
|
5976
|
+
* @param {*} [options] Override http request option.
|
|
5977
|
+
* @throws {RequiredError}
|
|
5978
|
+
*/
|
|
5979
|
+
listBotIssues(requestParameters: DefaultApiListBotIssuesRequest, options?: AxiosRequestConfig): AxiosPromise<ListBotIssuesResponse>;
|
|
5678
5980
|
/**
|
|
5679
5981
|
* List bots
|
|
5680
5982
|
* @param {DefaultApiListBotsRequest} requestParameters Request parameters.
|
|
@@ -6031,6 +6333,25 @@ export interface DefaultApiDeleteBotRequest {
|
|
|
6031
6333
|
*/
|
|
6032
6334
|
readonly id: string;
|
|
6033
6335
|
}
|
|
6336
|
+
/**
|
|
6337
|
+
* Request parameters for deleteBotIssue operation in DefaultApi.
|
|
6338
|
+
* @export
|
|
6339
|
+
* @interface DefaultApiDeleteBotIssueRequest
|
|
6340
|
+
*/
|
|
6341
|
+
export interface DefaultApiDeleteBotIssueRequest {
|
|
6342
|
+
/**
|
|
6343
|
+
* Bot ID
|
|
6344
|
+
* @type {string}
|
|
6345
|
+
* @memberof DefaultApiDeleteBotIssue
|
|
6346
|
+
*/
|
|
6347
|
+
readonly id: string;
|
|
6348
|
+
/**
|
|
6349
|
+
* Issue ID
|
|
6350
|
+
* @type {string}
|
|
6351
|
+
* @memberof DefaultApiDeleteBotIssue
|
|
6352
|
+
*/
|
|
6353
|
+
readonly issueId: string;
|
|
6354
|
+
}
|
|
6034
6355
|
/**
|
|
6035
6356
|
* Request parameters for deleteConversation operation in DefaultApi.
|
|
6036
6357
|
* @export
|
|
@@ -6064,7 +6385,7 @@ export interface DefaultApiDeleteFileRequest {
|
|
|
6064
6385
|
*/
|
|
6065
6386
|
export interface DefaultApiDeleteIntegrationRequest {
|
|
6066
6387
|
/**
|
|
6067
|
-
* Integration
|
|
6388
|
+
* Integration ID
|
|
6068
6389
|
* @type {string}
|
|
6069
6390
|
* @memberof DefaultApiDeleteIntegration
|
|
6070
6391
|
*/
|
|
@@ -6301,7 +6622,7 @@ export interface DefaultApiGetFileRequest {
|
|
|
6301
6622
|
*/
|
|
6302
6623
|
export interface DefaultApiGetIntegrationRequest {
|
|
6303
6624
|
/**
|
|
6304
|
-
* Integration
|
|
6625
|
+
* Integration ID
|
|
6305
6626
|
* @type {string}
|
|
6306
6627
|
* @memberof DefaultApiGetIntegration
|
|
6307
6628
|
*/
|
|
@@ -6333,7 +6654,7 @@ export interface DefaultApiGetIntegrationByNameRequest {
|
|
|
6333
6654
|
*/
|
|
6334
6655
|
export interface DefaultApiGetIntegrationLogsRequest {
|
|
6335
6656
|
/**
|
|
6336
|
-
* Integration
|
|
6657
|
+
* Integration ID
|
|
6337
6658
|
* @type {string}
|
|
6338
6659
|
* @memberof DefaultApiGetIntegrationLogs
|
|
6339
6660
|
*/
|
|
@@ -6435,7 +6756,7 @@ export interface DefaultApiGetPublicIntegrationRequest {
|
|
|
6435
6756
|
*/
|
|
6436
6757
|
export interface DefaultApiGetPublicIntegrationByIdRequest {
|
|
6437
6758
|
/**
|
|
6438
|
-
* Integration
|
|
6759
|
+
* Integration ID
|
|
6439
6760
|
* @type {string}
|
|
6440
6761
|
* @memberof DefaultApiGetPublicIntegrationById
|
|
6441
6762
|
*/
|
|
@@ -6474,7 +6795,7 @@ export interface DefaultApiGetStateRequest {
|
|
|
6474
6795
|
export interface DefaultApiGetUsageRequest {
|
|
6475
6796
|
/**
|
|
6476
6797
|
* Type of usage
|
|
6477
|
-
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count'}
|
|
6798
|
+
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count'}
|
|
6478
6799
|
* @memberof DefaultApiGetUsage
|
|
6479
6800
|
*/
|
|
6480
6801
|
readonly type: GetUsageTypeEnum;
|
|
@@ -6531,7 +6852,7 @@ export interface DefaultApiGetWorkspaceQuotaRequest {
|
|
|
6531
6852
|
readonly id: string;
|
|
6532
6853
|
/**
|
|
6533
6854
|
* Type of usage
|
|
6534
|
-
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count'}
|
|
6855
|
+
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count'}
|
|
6535
6856
|
* @memberof DefaultApiGetWorkspaceQuota
|
|
6536
6857
|
*/
|
|
6537
6858
|
readonly type: GetWorkspaceQuotaTypeEnum;
|
|
@@ -6555,6 +6876,44 @@ export interface DefaultApiIntrospectRequest {
|
|
|
6555
6876
|
*/
|
|
6556
6877
|
readonly introspectBody?: IntrospectBody;
|
|
6557
6878
|
}
|
|
6879
|
+
/**
|
|
6880
|
+
* Request parameters for listBotIssueEvents operation in DefaultApi.
|
|
6881
|
+
* @export
|
|
6882
|
+
* @interface DefaultApiListBotIssueEventsRequest
|
|
6883
|
+
*/
|
|
6884
|
+
export interface DefaultApiListBotIssueEventsRequest {
|
|
6885
|
+
/**
|
|
6886
|
+
* Bot ID
|
|
6887
|
+
* @type {string}
|
|
6888
|
+
* @memberof DefaultApiListBotIssueEvents
|
|
6889
|
+
*/
|
|
6890
|
+
readonly id: string;
|
|
6891
|
+
/**
|
|
6892
|
+
* Issue ID
|
|
6893
|
+
* @type {string}
|
|
6894
|
+
* @memberof DefaultApiListBotIssueEvents
|
|
6895
|
+
*/
|
|
6896
|
+
readonly issueId: string;
|
|
6897
|
+
}
|
|
6898
|
+
/**
|
|
6899
|
+
* Request parameters for listBotIssues operation in DefaultApi.
|
|
6900
|
+
* @export
|
|
6901
|
+
* @interface DefaultApiListBotIssuesRequest
|
|
6902
|
+
*/
|
|
6903
|
+
export interface DefaultApiListBotIssuesRequest {
|
|
6904
|
+
/**
|
|
6905
|
+
* Bot ID
|
|
6906
|
+
* @type {string}
|
|
6907
|
+
* @memberof DefaultApiListBotIssues
|
|
6908
|
+
*/
|
|
6909
|
+
readonly id: string;
|
|
6910
|
+
/**
|
|
6911
|
+
* Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results
|
|
6912
|
+
* @type {string}
|
|
6913
|
+
* @memberof DefaultApiListBotIssues
|
|
6914
|
+
*/
|
|
6915
|
+
readonly nextToken?: string;
|
|
6916
|
+
}
|
|
6558
6917
|
/**
|
|
6559
6918
|
* Request parameters for listBots operation in DefaultApi.
|
|
6560
6919
|
* @export
|
|
@@ -6718,7 +7077,7 @@ export interface DefaultApiListPublicIntegrationsRequest {
|
|
|
6718
7077
|
export interface DefaultApiListUsageHistoryRequest {
|
|
6719
7078
|
/**
|
|
6720
7079
|
* Type of usage
|
|
6721
|
-
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count'}
|
|
7080
|
+
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count'}
|
|
6722
7081
|
* @memberof DefaultApiListUsageHistory
|
|
6723
7082
|
*/
|
|
6724
7083
|
readonly type: ListUsageHistoryTypeEnum;
|
|
@@ -6802,7 +7161,7 @@ export interface DefaultApiListWorkspaceUsagesRequest {
|
|
|
6802
7161
|
readonly id: string;
|
|
6803
7162
|
/**
|
|
6804
7163
|
* Type of usage
|
|
6805
|
-
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count'}
|
|
7164
|
+
* @type {'invocation_timeout' | 'invocation_calls' | 'storage_count' | 'bot_count' | 'knowledgebase_vector_count' | 'bot_ratelimit' | 'table_row_count' | 'workspace_member_count' | 'integrations_owned_count'}
|
|
6806
7165
|
* @memberof DefaultApiListWorkspaceUsages
|
|
6807
7166
|
*/
|
|
6808
7167
|
readonly type: ListWorkspaceUsagesTypeEnum;
|
|
@@ -6952,7 +7311,7 @@ export interface DefaultApiUpdateConversationRequest {
|
|
|
6952
7311
|
*/
|
|
6953
7312
|
export interface DefaultApiUpdateIntegrationRequest {
|
|
6954
7313
|
/**
|
|
6955
|
-
* Integration
|
|
7314
|
+
* Integration ID
|
|
6956
7315
|
* @type {string}
|
|
6957
7316
|
* @memberof DefaultApiUpdateIntegration
|
|
6958
7317
|
*/
|
|
@@ -7159,6 +7518,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
7159
7518
|
* @memberof DefaultApi
|
|
7160
7519
|
*/
|
|
7161
7520
|
deleteBot(requestParameters: DefaultApiDeleteBotRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
7521
|
+
/**
|
|
7522
|
+
* Delete Bot Issue
|
|
7523
|
+
* @param {DefaultApiDeleteBotIssueRequest} requestParameters Request parameters.
|
|
7524
|
+
* @param {*} [options] Override http request option.
|
|
7525
|
+
* @throws {RequiredError}
|
|
7526
|
+
* @memberof DefaultApi
|
|
7527
|
+
*/
|
|
7528
|
+
deleteBotIssue(requestParameters: DefaultApiDeleteBotIssueRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
7162
7529
|
/**
|
|
7163
7530
|
* Permanently deletes a [Conversation](#schema_conversation). It cannot be undone. Also immediately deletes corresponding [Messages](#schema_message).
|
|
7164
7531
|
* @param {DefaultApiDeleteConversationRequest} requestParameters Request parameters.
|
|
@@ -7422,6 +7789,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
7422
7789
|
* @memberof DefaultApi
|
|
7423
7790
|
*/
|
|
7424
7791
|
introspect(requestParameters?: DefaultApiIntrospectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IntrospectResponse, any>>;
|
|
7792
|
+
/**
|
|
7793
|
+
* List Events for a Bot Issue
|
|
7794
|
+
* @param {DefaultApiListBotIssueEventsRequest} requestParameters Request parameters.
|
|
7795
|
+
* @param {*} [options] Override http request option.
|
|
7796
|
+
* @throws {RequiredError}
|
|
7797
|
+
* @memberof DefaultApi
|
|
7798
|
+
*/
|
|
7799
|
+
listBotIssueEvents(requestParameters: DefaultApiListBotIssueEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBotIssueEventsResponse, any>>;
|
|
7800
|
+
/**
|
|
7801
|
+
* List Bot Issues
|
|
7802
|
+
* @param {DefaultApiListBotIssuesRequest} requestParameters Request parameters.
|
|
7803
|
+
* @param {*} [options] Override http request option.
|
|
7804
|
+
* @throws {RequiredError}
|
|
7805
|
+
* @memberof DefaultApi
|
|
7806
|
+
*/
|
|
7807
|
+
listBotIssues(requestParameters: DefaultApiListBotIssuesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBotIssuesResponse, any>>;
|
|
7425
7808
|
/**
|
|
7426
7809
|
* List bots
|
|
7427
7810
|
* @param {DefaultApiListBotsRequest} requestParameters Request parameters.
|
|
@@ -7646,6 +8029,7 @@ export declare const GetUsageTypeEnum: {
|
|
|
7646
8029
|
readonly BotRatelimit: "bot_ratelimit";
|
|
7647
8030
|
readonly TableRowCount: "table_row_count";
|
|
7648
8031
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
8032
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
7649
8033
|
};
|
|
7650
8034
|
export type GetUsageTypeEnum = typeof GetUsageTypeEnum[keyof typeof GetUsageTypeEnum];
|
|
7651
8035
|
/**
|
|
@@ -7660,6 +8044,7 @@ export declare const GetWorkspaceQuotaTypeEnum: {
|
|
|
7660
8044
|
readonly BotRatelimit: "bot_ratelimit";
|
|
7661
8045
|
readonly TableRowCount: "table_row_count";
|
|
7662
8046
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
8047
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
7663
8048
|
};
|
|
7664
8049
|
export type GetWorkspaceQuotaTypeEnum = typeof GetWorkspaceQuotaTypeEnum[keyof typeof GetWorkspaceQuotaTypeEnum];
|
|
7665
8050
|
/**
|
|
@@ -7674,6 +8059,7 @@ export declare const ListUsageHistoryTypeEnum: {
|
|
|
7674
8059
|
readonly BotRatelimit: "bot_ratelimit";
|
|
7675
8060
|
readonly TableRowCount: "table_row_count";
|
|
7676
8061
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
8062
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
7677
8063
|
};
|
|
7678
8064
|
export type ListUsageHistoryTypeEnum = typeof ListUsageHistoryTypeEnum[keyof typeof ListUsageHistoryTypeEnum];
|
|
7679
8065
|
/**
|
|
@@ -7688,6 +8074,7 @@ export declare const ListWorkspaceUsagesTypeEnum: {
|
|
|
7688
8074
|
readonly BotRatelimit: "bot_ratelimit";
|
|
7689
8075
|
readonly TableRowCount: "table_row_count";
|
|
7690
8076
|
readonly WorkspaceMemberCount: "workspace_member_count";
|
|
8077
|
+
readonly IntegrationsOwnedCount: "integrations_owned_count";
|
|
7691
8078
|
};
|
|
7692
8079
|
export type ListWorkspaceUsagesTypeEnum = typeof ListWorkspaceUsagesTypeEnum[keyof typeof ListWorkspaceUsagesTypeEnum];
|
|
7693
8080
|
/**
|
package/dist/gen/base.d.ts
CHANGED