@botpress/api 0.5.1 → 0.5.3
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/gen/state.d.ts +205 -195
- package/dist/index.d.ts +1 -1
- package/dist/index.js +63536 -63343
- package/package.json +2 -2
- package/src/gen/metadata.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +260 -237
package/src/gen/state.ts
CHANGED
|
@@ -225,16 +225,8 @@ export const state = {
|
|
|
225
225
|
},
|
|
226
226
|
description: "Tags for the [Conversation](#schema_conversation)",
|
|
227
227
|
},
|
|
228
|
-
participantIds: {
|
|
229
|
-
type: "array",
|
|
230
|
-
items: {
|
|
231
|
-
type: "string",
|
|
232
|
-
},
|
|
233
|
-
description:
|
|
234
|
-
"Ids of the [User]s(#schema_user) participating in the conversation",
|
|
235
|
-
},
|
|
236
228
|
},
|
|
237
|
-
required: ["tags"
|
|
229
|
+
required: ["tags"],
|
|
238
230
|
title: "updateConversationBody",
|
|
239
231
|
additionalProperties: false,
|
|
240
232
|
},
|
|
@@ -2270,6 +2262,7 @@ export const state = {
|
|
|
2270
2262
|
createWorkspace: {
|
|
2271
2263
|
name: "createWorkspace",
|
|
2272
2264
|
description: "Create workspace",
|
|
2265
|
+
section: "workspace",
|
|
2273
2266
|
method: "post",
|
|
2274
2267
|
path: "/v1/admin/workspaces",
|
|
2275
2268
|
disableDefaultParameters: {
|
|
@@ -2343,6 +2336,7 @@ export const state = {
|
|
|
2343
2336
|
getWorkspace: {
|
|
2344
2337
|
name: "getWorkspace",
|
|
2345
2338
|
description: "Get workspace details",
|
|
2339
|
+
section: "workspace",
|
|
2346
2340
|
method: "get",
|
|
2347
2341
|
path: "/v1/admin/workspaces/{id}",
|
|
2348
2342
|
disableDefaultParameters: {
|
|
@@ -2408,6 +2402,7 @@ export const state = {
|
|
|
2408
2402
|
updateWorkspace: {
|
|
2409
2403
|
name: "updateWorkspace",
|
|
2410
2404
|
description: "Update workspace",
|
|
2405
|
+
section: "workspace",
|
|
2411
2406
|
method: "put",
|
|
2412
2407
|
path: "/v1/admin/workspaces/{id}",
|
|
2413
2408
|
disableDefaultParameters: {
|
|
@@ -2493,6 +2488,7 @@ export const state = {
|
|
|
2493
2488
|
listWorkspaces: {
|
|
2494
2489
|
name: "listWorkspaces",
|
|
2495
2490
|
description: "List workspaces the user has access to",
|
|
2491
|
+
section: "workspace",
|
|
2496
2492
|
method: "get",
|
|
2497
2493
|
path: "/v1/admin/workspaces",
|
|
2498
2494
|
disableDefaultParameters: {
|
|
@@ -2580,6 +2576,7 @@ export const state = {
|
|
|
2580
2576
|
changeWorkspacePlan: {
|
|
2581
2577
|
name: "changeWorkspacePlan",
|
|
2582
2578
|
description: "Change workspace billing plan",
|
|
2579
|
+
section: "workspace",
|
|
2583
2580
|
method: "put",
|
|
2584
2581
|
path: "/v1/admin/workspaces/{id}/change-plan",
|
|
2585
2582
|
disableDefaultParameters: {
|
|
@@ -2660,6 +2657,7 @@ export const state = {
|
|
|
2660
2657
|
deleteWorkspace: {
|
|
2661
2658
|
name: "deleteWorkspace",
|
|
2662
2659
|
description: "Delete workspace",
|
|
2660
|
+
section: "workspace",
|
|
2663
2661
|
method: "delete",
|
|
2664
2662
|
path: "/v1/admin/workspaces/{id}",
|
|
2665
2663
|
disableDefaultParameters: {
|
|
@@ -2685,6 +2683,7 @@ export const state = {
|
|
|
2685
2683
|
name: "getAuditRecords",
|
|
2686
2684
|
description:
|
|
2687
2685
|
"Get the audit records of a workspace, sorted from most recent to oldest.",
|
|
2686
|
+
section: "workspace",
|
|
2688
2687
|
method: "get",
|
|
2689
2688
|
path: "/v1/admin/workspaces/{id}/audit-records",
|
|
2690
2689
|
parameters: {
|
|
@@ -2743,8 +2742,8 @@ export const state = {
|
|
|
2743
2742
|
type: "string",
|
|
2744
2743
|
enum: [
|
|
2745
2744
|
"UNKNOWN",
|
|
2746
|
-
"
|
|
2747
|
-
"
|
|
2745
|
+
"ADD_WORKSPACE_MEMBER",
|
|
2746
|
+
"REMOVE_WORKSPACE_MEMBER",
|
|
2748
2747
|
"UPDATE_WORKSPACE_MEMBER",
|
|
2749
2748
|
"CLOSE_WORKSPACE",
|
|
2750
2749
|
"CREATE_BOT",
|
|
@@ -2791,6 +2790,228 @@ export const state = {
|
|
|
2791
2790
|
},
|
|
2792
2791
|
},
|
|
2793
2792
|
},
|
|
2793
|
+
listWorkspaceMembers: {
|
|
2794
|
+
name: "listWorkspaceMembers",
|
|
2795
|
+
description: "Lists all the members in a workspace",
|
|
2796
|
+
section: "workspaceMembers",
|
|
2797
|
+
method: "get",
|
|
2798
|
+
path: "/v1/admin/workspace-members",
|
|
2799
|
+
parameters: {
|
|
2800
|
+
nextToken: {
|
|
2801
|
+
in: "query",
|
|
2802
|
+
description:
|
|
2803
|
+
"Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
2804
|
+
type: "string",
|
|
2805
|
+
},
|
|
2806
|
+
},
|
|
2807
|
+
response: {
|
|
2808
|
+
description: "Success",
|
|
2809
|
+
schema: {
|
|
2810
|
+
type: "object",
|
|
2811
|
+
properties: {
|
|
2812
|
+
members: {
|
|
2813
|
+
type: "array",
|
|
2814
|
+
items: {
|
|
2815
|
+
type: "object",
|
|
2816
|
+
properties: {
|
|
2817
|
+
id: {
|
|
2818
|
+
type: "string",
|
|
2819
|
+
},
|
|
2820
|
+
userId: {
|
|
2821
|
+
type: "string",
|
|
2822
|
+
format: "uuid",
|
|
2823
|
+
},
|
|
2824
|
+
email: {
|
|
2825
|
+
type: "string",
|
|
2826
|
+
},
|
|
2827
|
+
role: {
|
|
2828
|
+
type: "string",
|
|
2829
|
+
enum: [
|
|
2830
|
+
"viewer",
|
|
2831
|
+
"billing",
|
|
2832
|
+
"developer",
|
|
2833
|
+
"manager",
|
|
2834
|
+
"administrator",
|
|
2835
|
+
"owner",
|
|
2836
|
+
],
|
|
2837
|
+
},
|
|
2838
|
+
},
|
|
2839
|
+
required: ["id", "email", "role"],
|
|
2840
|
+
},
|
|
2841
|
+
},
|
|
2842
|
+
meta: {
|
|
2843
|
+
type: "object",
|
|
2844
|
+
properties: {
|
|
2845
|
+
nextToken: {
|
|
2846
|
+
type: "string",
|
|
2847
|
+
description:
|
|
2848
|
+
"The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.",
|
|
2849
|
+
},
|
|
2850
|
+
},
|
|
2851
|
+
additionalProperties: false,
|
|
2852
|
+
},
|
|
2853
|
+
},
|
|
2854
|
+
required: ["members", "meta"],
|
|
2855
|
+
title: "listWorkspaceMembersResponse",
|
|
2856
|
+
additionalProperties: false,
|
|
2857
|
+
},
|
|
2858
|
+
},
|
|
2859
|
+
},
|
|
2860
|
+
deleteWorkspaceMember: {
|
|
2861
|
+
name: "deleteWorkspaceMember",
|
|
2862
|
+
description: "Remove a member of a workspace",
|
|
2863
|
+
section: "workspaceMembers",
|
|
2864
|
+
method: "delete",
|
|
2865
|
+
path: "/v1/admin/workspace-members/{id}",
|
|
2866
|
+
parameters: {
|
|
2867
|
+
id: {
|
|
2868
|
+
type: "string",
|
|
2869
|
+
description: "Workspace member ID",
|
|
2870
|
+
in: "path",
|
|
2871
|
+
},
|
|
2872
|
+
},
|
|
2873
|
+
response: {
|
|
2874
|
+
description: "Success",
|
|
2875
|
+
schema: {
|
|
2876
|
+
type: "object",
|
|
2877
|
+
title: "deleteWorkspaceMemberResponse",
|
|
2878
|
+
additionalProperties: false,
|
|
2879
|
+
},
|
|
2880
|
+
},
|
|
2881
|
+
},
|
|
2882
|
+
createWorkspaceMember: {
|
|
2883
|
+
name: "createWorkspaceMember",
|
|
2884
|
+
description: "Add a member to the workspace",
|
|
2885
|
+
section: "workspaceMembers",
|
|
2886
|
+
method: "post",
|
|
2887
|
+
path: "/v1/admin/workspace-members",
|
|
2888
|
+
requestBody: {
|
|
2889
|
+
description: "Workspace member metadata",
|
|
2890
|
+
schema: {
|
|
2891
|
+
type: "object",
|
|
2892
|
+
properties: {
|
|
2893
|
+
email: {
|
|
2894
|
+
type: "string",
|
|
2895
|
+
format: "email",
|
|
2896
|
+
},
|
|
2897
|
+
role: {
|
|
2898
|
+
type: "string",
|
|
2899
|
+
enum: [
|
|
2900
|
+
"viewer",
|
|
2901
|
+
"billing",
|
|
2902
|
+
"developer",
|
|
2903
|
+
"manager",
|
|
2904
|
+
"administrator",
|
|
2905
|
+
"owner",
|
|
2906
|
+
],
|
|
2907
|
+
},
|
|
2908
|
+
},
|
|
2909
|
+
required: ["email", "role"],
|
|
2910
|
+
title: "createWorkspaceMemberBody",
|
|
2911
|
+
additionalProperties: false,
|
|
2912
|
+
},
|
|
2913
|
+
},
|
|
2914
|
+
response: {
|
|
2915
|
+
description: "Success",
|
|
2916
|
+
schema: {
|
|
2917
|
+
type: "object",
|
|
2918
|
+
properties: {
|
|
2919
|
+
id: {
|
|
2920
|
+
type: "string",
|
|
2921
|
+
},
|
|
2922
|
+
userId: {
|
|
2923
|
+
type: "string",
|
|
2924
|
+
format: "uuid",
|
|
2925
|
+
},
|
|
2926
|
+
email: {
|
|
2927
|
+
type: "string",
|
|
2928
|
+
},
|
|
2929
|
+
role: {
|
|
2930
|
+
type: "string",
|
|
2931
|
+
enum: [
|
|
2932
|
+
"viewer",
|
|
2933
|
+
"billing",
|
|
2934
|
+
"developer",
|
|
2935
|
+
"manager",
|
|
2936
|
+
"administrator",
|
|
2937
|
+
"owner",
|
|
2938
|
+
],
|
|
2939
|
+
},
|
|
2940
|
+
},
|
|
2941
|
+
required: ["id", "email", "role"],
|
|
2942
|
+
title: "createWorkspaceMemberResponse",
|
|
2943
|
+
additionalProperties: false,
|
|
2944
|
+
},
|
|
2945
|
+
},
|
|
2946
|
+
parameters: {},
|
|
2947
|
+
},
|
|
2948
|
+
updateWorkspaceMember: {
|
|
2949
|
+
name: "updateWorkspaceMember",
|
|
2950
|
+
description: "Update the member of a workspace",
|
|
2951
|
+
section: "workspaceMembers",
|
|
2952
|
+
method: "put",
|
|
2953
|
+
path: "/v1/admin/workspace-members/{id}",
|
|
2954
|
+
parameters: {
|
|
2955
|
+
id: {
|
|
2956
|
+
type: "string",
|
|
2957
|
+
description: "Workspace member ID",
|
|
2958
|
+
in: "path",
|
|
2959
|
+
},
|
|
2960
|
+
},
|
|
2961
|
+
requestBody: {
|
|
2962
|
+
description: "Workspace member metadata",
|
|
2963
|
+
schema: {
|
|
2964
|
+
type: "object",
|
|
2965
|
+
properties: {
|
|
2966
|
+
role: {
|
|
2967
|
+
type: "string",
|
|
2968
|
+
enum: [
|
|
2969
|
+
"viewer",
|
|
2970
|
+
"billing",
|
|
2971
|
+
"developer",
|
|
2972
|
+
"manager",
|
|
2973
|
+
"administrator",
|
|
2974
|
+
"owner",
|
|
2975
|
+
],
|
|
2976
|
+
},
|
|
2977
|
+
},
|
|
2978
|
+
title: "updateWorkspaceMemberBody",
|
|
2979
|
+
additionalProperties: false,
|
|
2980
|
+
},
|
|
2981
|
+
},
|
|
2982
|
+
response: {
|
|
2983
|
+
description: "Success",
|
|
2984
|
+
schema: {
|
|
2985
|
+
type: "object",
|
|
2986
|
+
properties: {
|
|
2987
|
+
id: {
|
|
2988
|
+
type: "string",
|
|
2989
|
+
},
|
|
2990
|
+
userId: {
|
|
2991
|
+
type: "string",
|
|
2992
|
+
format: "uuid",
|
|
2993
|
+
},
|
|
2994
|
+
email: {
|
|
2995
|
+
type: "string",
|
|
2996
|
+
},
|
|
2997
|
+
role: {
|
|
2998
|
+
type: "string",
|
|
2999
|
+
enum: [
|
|
3000
|
+
"viewer",
|
|
3001
|
+
"billing",
|
|
3002
|
+
"developer",
|
|
3003
|
+
"manager",
|
|
3004
|
+
"administrator",
|
|
3005
|
+
"owner",
|
|
3006
|
+
],
|
|
3007
|
+
},
|
|
3008
|
+
},
|
|
3009
|
+
required: ["id", "email", "role"],
|
|
3010
|
+
title: "updateWorkspaceMemberResponse",
|
|
3011
|
+
additionalProperties: false,
|
|
3012
|
+
},
|
|
3013
|
+
},
|
|
3014
|
+
},
|
|
2794
3015
|
createIntegration: {
|
|
2795
3016
|
name: "createIntegration",
|
|
2796
3017
|
description: "Create integration",
|
|
@@ -3709,224 +3930,6 @@ export const state = {
|
|
|
3709
3930
|
},
|
|
3710
3931
|
},
|
|
3711
3932
|
},
|
|
3712
|
-
listWorkspaceMembers: {
|
|
3713
|
-
name: "listWorkspaceMembers",
|
|
3714
|
-
description: "Lists all the members in a workspace",
|
|
3715
|
-
method: "get",
|
|
3716
|
-
path: "/v1/admin/workspace-members",
|
|
3717
|
-
parameters: {
|
|
3718
|
-
nextToken: {
|
|
3719
|
-
in: "query",
|
|
3720
|
-
description:
|
|
3721
|
-
"Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
3722
|
-
type: "string",
|
|
3723
|
-
},
|
|
3724
|
-
},
|
|
3725
|
-
response: {
|
|
3726
|
-
description: "Success",
|
|
3727
|
-
schema: {
|
|
3728
|
-
type: "object",
|
|
3729
|
-
properties: {
|
|
3730
|
-
members: {
|
|
3731
|
-
type: "array",
|
|
3732
|
-
items: {
|
|
3733
|
-
type: "object",
|
|
3734
|
-
properties: {
|
|
3735
|
-
id: {
|
|
3736
|
-
type: "string",
|
|
3737
|
-
},
|
|
3738
|
-
userId: {
|
|
3739
|
-
type: "string",
|
|
3740
|
-
format: "uuid",
|
|
3741
|
-
},
|
|
3742
|
-
email: {
|
|
3743
|
-
type: "string",
|
|
3744
|
-
},
|
|
3745
|
-
role: {
|
|
3746
|
-
type: "string",
|
|
3747
|
-
enum: [
|
|
3748
|
-
"viewer",
|
|
3749
|
-
"billing",
|
|
3750
|
-
"developer",
|
|
3751
|
-
"manager",
|
|
3752
|
-
"administrator",
|
|
3753
|
-
"owner",
|
|
3754
|
-
],
|
|
3755
|
-
},
|
|
3756
|
-
},
|
|
3757
|
-
required: ["id", "email", "role"],
|
|
3758
|
-
},
|
|
3759
|
-
},
|
|
3760
|
-
meta: {
|
|
3761
|
-
type: "object",
|
|
3762
|
-
properties: {
|
|
3763
|
-
nextToken: {
|
|
3764
|
-
type: "string",
|
|
3765
|
-
description:
|
|
3766
|
-
"The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.",
|
|
3767
|
-
},
|
|
3768
|
-
},
|
|
3769
|
-
additionalProperties: false,
|
|
3770
|
-
},
|
|
3771
|
-
},
|
|
3772
|
-
required: ["members", "meta"],
|
|
3773
|
-
title: "listWorkspaceMembersResponse",
|
|
3774
|
-
additionalProperties: false,
|
|
3775
|
-
},
|
|
3776
|
-
},
|
|
3777
|
-
},
|
|
3778
|
-
deleteWorkspaceMember: {
|
|
3779
|
-
name: "deleteWorkspaceMember",
|
|
3780
|
-
description: "Remove a member of a workspace",
|
|
3781
|
-
method: "delete",
|
|
3782
|
-
path: "/v1/admin/workspace-members/{id}",
|
|
3783
|
-
parameters: {
|
|
3784
|
-
id: {
|
|
3785
|
-
type: "string",
|
|
3786
|
-
description: "Workspace member ID",
|
|
3787
|
-
in: "path",
|
|
3788
|
-
},
|
|
3789
|
-
},
|
|
3790
|
-
response: {
|
|
3791
|
-
description: "Success",
|
|
3792
|
-
schema: {
|
|
3793
|
-
type: "object",
|
|
3794
|
-
title: "deleteWorkspaceMemberResponse",
|
|
3795
|
-
additionalProperties: false,
|
|
3796
|
-
},
|
|
3797
|
-
},
|
|
3798
|
-
},
|
|
3799
|
-
createWorkspaceMember: {
|
|
3800
|
-
name: "createWorkspaceMember",
|
|
3801
|
-
description: "Add a member to the workspace",
|
|
3802
|
-
method: "post",
|
|
3803
|
-
path: "/v1/admin/workspace-members",
|
|
3804
|
-
requestBody: {
|
|
3805
|
-
description: "Workspace member metadata",
|
|
3806
|
-
schema: {
|
|
3807
|
-
type: "object",
|
|
3808
|
-
properties: {
|
|
3809
|
-
email: {
|
|
3810
|
-
type: "string",
|
|
3811
|
-
format: "email",
|
|
3812
|
-
},
|
|
3813
|
-
role: {
|
|
3814
|
-
type: "string",
|
|
3815
|
-
enum: [
|
|
3816
|
-
"viewer",
|
|
3817
|
-
"billing",
|
|
3818
|
-
"developer",
|
|
3819
|
-
"manager",
|
|
3820
|
-
"administrator",
|
|
3821
|
-
"owner",
|
|
3822
|
-
],
|
|
3823
|
-
},
|
|
3824
|
-
},
|
|
3825
|
-
required: ["email", "role"],
|
|
3826
|
-
title: "createWorkspaceMemberBody",
|
|
3827
|
-
additionalProperties: false,
|
|
3828
|
-
},
|
|
3829
|
-
},
|
|
3830
|
-
response: {
|
|
3831
|
-
description: "Success",
|
|
3832
|
-
schema: {
|
|
3833
|
-
type: "object",
|
|
3834
|
-
properties: {
|
|
3835
|
-
id: {
|
|
3836
|
-
type: "string",
|
|
3837
|
-
},
|
|
3838
|
-
userId: {
|
|
3839
|
-
type: "string",
|
|
3840
|
-
format: "uuid",
|
|
3841
|
-
},
|
|
3842
|
-
email: {
|
|
3843
|
-
type: "string",
|
|
3844
|
-
},
|
|
3845
|
-
role: {
|
|
3846
|
-
type: "string",
|
|
3847
|
-
enum: [
|
|
3848
|
-
"viewer",
|
|
3849
|
-
"billing",
|
|
3850
|
-
"developer",
|
|
3851
|
-
"manager",
|
|
3852
|
-
"administrator",
|
|
3853
|
-
"owner",
|
|
3854
|
-
],
|
|
3855
|
-
},
|
|
3856
|
-
},
|
|
3857
|
-
required: ["id", "email", "role"],
|
|
3858
|
-
title: "createWorkspaceMemberResponse",
|
|
3859
|
-
additionalProperties: false,
|
|
3860
|
-
},
|
|
3861
|
-
},
|
|
3862
|
-
parameters: {},
|
|
3863
|
-
},
|
|
3864
|
-
updateWorkspaceMember: {
|
|
3865
|
-
name: "updateWorkspaceMember",
|
|
3866
|
-
description: "Update the member of a workspace",
|
|
3867
|
-
method: "put",
|
|
3868
|
-
path: "/v1/admin/workspace-members/{id}",
|
|
3869
|
-
parameters: {
|
|
3870
|
-
id: {
|
|
3871
|
-
type: "string",
|
|
3872
|
-
description: "Workspace member ID",
|
|
3873
|
-
in: "path",
|
|
3874
|
-
},
|
|
3875
|
-
},
|
|
3876
|
-
requestBody: {
|
|
3877
|
-
description: "Workspace member metadata",
|
|
3878
|
-
schema: {
|
|
3879
|
-
type: "object",
|
|
3880
|
-
properties: {
|
|
3881
|
-
role: {
|
|
3882
|
-
type: "string",
|
|
3883
|
-
enum: [
|
|
3884
|
-
"viewer",
|
|
3885
|
-
"billing",
|
|
3886
|
-
"developer",
|
|
3887
|
-
"manager",
|
|
3888
|
-
"administrator",
|
|
3889
|
-
"owner",
|
|
3890
|
-
],
|
|
3891
|
-
},
|
|
3892
|
-
},
|
|
3893
|
-
title: "updateWorkspaceMemberBody",
|
|
3894
|
-
additionalProperties: false,
|
|
3895
|
-
},
|
|
3896
|
-
},
|
|
3897
|
-
response: {
|
|
3898
|
-
description: "Success",
|
|
3899
|
-
schema: {
|
|
3900
|
-
type: "object",
|
|
3901
|
-
properties: {
|
|
3902
|
-
id: {
|
|
3903
|
-
type: "string",
|
|
3904
|
-
},
|
|
3905
|
-
userId: {
|
|
3906
|
-
type: "string",
|
|
3907
|
-
format: "uuid",
|
|
3908
|
-
},
|
|
3909
|
-
email: {
|
|
3910
|
-
type: "string",
|
|
3911
|
-
},
|
|
3912
|
-
role: {
|
|
3913
|
-
type: "string",
|
|
3914
|
-
enum: [
|
|
3915
|
-
"viewer",
|
|
3916
|
-
"billing",
|
|
3917
|
-
"developer",
|
|
3918
|
-
"manager",
|
|
3919
|
-
"administrator",
|
|
3920
|
-
"owner",
|
|
3921
|
-
],
|
|
3922
|
-
},
|
|
3923
|
-
},
|
|
3924
|
-
required: ["id", "email", "role"],
|
|
3925
|
-
title: "updateWorkspaceMemberResponse",
|
|
3926
|
-
additionalProperties: false,
|
|
3927
|
-
},
|
|
3928
|
-
},
|
|
3929
|
-
},
|
|
3930
3933
|
introspect: {
|
|
3931
3934
|
name: "introspect",
|
|
3932
3935
|
description: "Introspect the API",
|
|
@@ -4148,7 +4151,7 @@ export const state = {
|
|
|
4148
4151
|
title: "Botpress API",
|
|
4149
4152
|
description: "API for Botpress Cloud",
|
|
4150
4153
|
server: "https://api.botpress.cloud",
|
|
4151
|
-
version: "0.5.
|
|
4154
|
+
version: "0.5.3",
|
|
4152
4155
|
prefix: "v1",
|
|
4153
4156
|
},
|
|
4154
4157
|
errors: [
|
|
@@ -4278,10 +4281,10 @@ export const state = {
|
|
|
4278
4281
|
createWorkspaceBody: true,
|
|
4279
4282
|
updateWorkspaceBody: true,
|
|
4280
4283
|
changeWorkspacePlanBody: true,
|
|
4281
|
-
createIntegrationBody: true,
|
|
4282
|
-
updateIntegrationBody: true,
|
|
4283
4284
|
createWorkspaceMemberBody: true,
|
|
4284
4285
|
updateWorkspaceMemberBody: true,
|
|
4286
|
+
createIntegrationBody: true,
|
|
4287
|
+
updateIntegrationBody: true,
|
|
4285
4288
|
introspectBody: true,
|
|
4286
4289
|
createFileBody: true,
|
|
4287
4290
|
},
|
|
@@ -4331,6 +4334,10 @@ export const state = {
|
|
|
4331
4334
|
changeWorkspacePlanResponse: true,
|
|
4332
4335
|
deleteWorkspaceResponse: true,
|
|
4333
4336
|
getAuditRecordsResponse: true,
|
|
4337
|
+
listWorkspaceMembersResponse: true,
|
|
4338
|
+
deleteWorkspaceMemberResponse: true,
|
|
4339
|
+
createWorkspaceMemberResponse: true,
|
|
4340
|
+
updateWorkspaceMemberResponse: true,
|
|
4334
4341
|
createIntegrationResponse: true,
|
|
4335
4342
|
updateIntegrationResponse: true,
|
|
4336
4343
|
listIntegrationsResponse: true,
|
|
@@ -4338,10 +4345,6 @@ export const state = {
|
|
|
4338
4345
|
getIntegrationLogsResponse: true,
|
|
4339
4346
|
getIntegrationByNameResponse: true,
|
|
4340
4347
|
deleteIntegrationResponse: true,
|
|
4341
|
-
listWorkspaceMembersResponse: true,
|
|
4342
|
-
deleteWorkspaceMemberResponse: true,
|
|
4343
|
-
createWorkspaceMemberResponse: true,
|
|
4344
|
-
updateWorkspaceMemberResponse: true,
|
|
4345
4348
|
introspectResponse: true,
|
|
4346
4349
|
createFileResponse: true,
|
|
4347
4350
|
getFileResponse: true,
|
|
@@ -5539,9 +5542,28 @@ export const state = {
|
|
|
5539
5542
|
description: "",
|
|
5540
5543
|
title: "Workspace",
|
|
5541
5544
|
name: "workspace",
|
|
5542
|
-
operations: [
|
|
5545
|
+
operations: [
|
|
5546
|
+
"createWorkspace",
|
|
5547
|
+
"getWorkspace",
|
|
5548
|
+
"updateWorkspace",
|
|
5549
|
+
"listWorkspaces",
|
|
5550
|
+
"changeWorkspacePlan",
|
|
5551
|
+
"deleteWorkspace",
|
|
5552
|
+
"getAuditRecords",
|
|
5553
|
+
],
|
|
5543
5554
|
schema: "Workspace",
|
|
5544
5555
|
},
|
|
5556
|
+
{
|
|
5557
|
+
description: "",
|
|
5558
|
+
title: "Workspace Members",
|
|
5559
|
+
name: "workspaceMembers",
|
|
5560
|
+
operations: [
|
|
5561
|
+
"listWorkspaceMembers",
|
|
5562
|
+
"deleteWorkspaceMember",
|
|
5563
|
+
"createWorkspaceMember",
|
|
5564
|
+
"updateWorkspaceMember",
|
|
5565
|
+
],
|
|
5566
|
+
},
|
|
5545
5567
|
],
|
|
5546
5568
|
} satisfies State<
|
|
5547
5569
|
| "Bot"
|
|
@@ -5565,4 +5587,5 @@ export const state = {
|
|
|
5565
5587
|
| "bot"
|
|
5566
5588
|
| "integration"
|
|
5567
5589
|
| "workspace"
|
|
5590
|
+
| "workspaceMembers"
|
|
5568
5591
|
>;
|