@botpress/api 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2135,8 +2135,88 @@ export declare const state: {
2135
2135
  updatedAt: {
2136
2136
  type: "string";
2137
2137
  };
2138
+ botCount: {
2139
+ type: "number";
2140
+ };
2138
2141
  accountType: {
2139
2142
  type: "string";
2143
+ enum: string[];
2144
+ };
2145
+ blocked: {
2146
+ type: "boolean";
2147
+ };
2148
+ spendingLimit: {
2149
+ type: "number";
2150
+ };
2151
+ };
2152
+ required: string[];
2153
+ title: string;
2154
+ additionalProperties: false;
2155
+ };
2156
+ };
2157
+ };
2158
+ updateWorkspace: {
2159
+ name: string;
2160
+ description: string;
2161
+ method: "put";
2162
+ path: string;
2163
+ parameters: {
2164
+ id: {
2165
+ type: "string";
2166
+ description: string;
2167
+ in: "path";
2168
+ };
2169
+ };
2170
+ requestBody: {
2171
+ description: string;
2172
+ schema: {
2173
+ type: "object";
2174
+ properties: {
2175
+ name: {
2176
+ type: "string";
2177
+ minLength: number;
2178
+ maxLength: number;
2179
+ };
2180
+ accountType: {
2181
+ type: "string";
2182
+ enum: string[];
2183
+ };
2184
+ spendingLimit: {
2185
+ type: "number";
2186
+ minimum: number;
2187
+ maximum: number;
2188
+ };
2189
+ };
2190
+ title: string;
2191
+ additionalProperties: false;
2192
+ };
2193
+ };
2194
+ response: {
2195
+ description: string;
2196
+ schema: {
2197
+ type: "object";
2198
+ properties: {
2199
+ id: {
2200
+ type: "string";
2201
+ };
2202
+ name: {
2203
+ type: "string";
2204
+ };
2205
+ ownerId: {
2206
+ type: "string";
2207
+ };
2208
+ createdAt: {
2209
+ type: "string";
2210
+ };
2211
+ updatedAt: {
2212
+ type: "string";
2213
+ };
2214
+ botCount: {
2215
+ type: "number";
2216
+ };
2217
+ accountType: {
2218
+ type: "string";
2219
+ enum: string[];
2140
2220
  };
2141
2221
  blocked: {
2142
2222
  type: "boolean";
@@ -2191,6 +2271,13 @@ export declare const state: {
2191
2271
  updatedAt: {
2192
2272
  type: "string";
2193
2273
  };
2274
+ botCount: {
2275
+ type: "number";
2276
+ };
2277
+ accountType: {
2278
+ type: "string";
2279
+ enum: string[];
2280
+ };
2194
2281
  };
2195
2282
  required: string[];
2196
2283
  };
@@ -3006,6 +3093,187 @@ export declare const state: {
3006
3093
  };
3007
3094
  };
3008
3095
  };
3096
+ listWorkspaceMembers: {
3097
+ name: string;
3098
+ description: string;
3099
+ method: "get";
3100
+ path: string;
3101
+ parameters: {
3102
+ nextToken: {
3103
+ in: "query";
3104
+ description: string;
3105
+ type: "string";
3106
+ };
3107
+ };
3108
+ response: {
3109
+ description: string;
3110
+ schema: {
3111
+ type: "object";
3112
+ properties: {
3113
+ members: {
3114
+ type: "array";
3115
+ items: {
3116
+ type: "object";
3117
+ properties: {
3118
+ id: {
3119
+ type: "string";
3120
+ };
3121
+ userId: {
3122
+ type: "string";
3123
+ format: string;
3124
+ };
3125
+ email: {
3126
+ type: "string";
3127
+ };
3128
+ role: {
3129
+ type: "string";
3130
+ enum: string[];
3131
+ };
3132
+ };
3133
+ required: string[];
3134
+ };
3135
+ };
3136
+ meta: {
3137
+ type: "object";
3138
+ properties: {
3139
+ nextToken: {
3140
+ type: "string";
3141
+ description: string;
3142
+ };
3143
+ };
3144
+ additionalProperties: false;
3145
+ };
3146
+ };
3147
+ required: string[];
3148
+ title: string;
3149
+ additionalProperties: false;
3150
+ };
3151
+ };
3152
+ };
3153
+ deleteWorkspaceMember: {
3154
+ name: string;
3155
+ description: string;
3156
+ method: "delete";
3157
+ path: string;
3158
+ parameters: {
3159
+ id: {
3160
+ type: "string";
3161
+ description: string;
3162
+ in: "path";
3163
+ };
3164
+ };
3165
+ response: {
3166
+ description: string;
3167
+ schema: {
3168
+ type: "object";
3169
+ title: string;
3170
+ additionalProperties: false;
3171
+ };
3172
+ };
3173
+ };
3174
+ createWorkspaceMember: {
3175
+ name: string;
3176
+ description: string;
3177
+ method: "post";
3178
+ path: string;
3179
+ requestBody: {
3180
+ description: string;
3181
+ schema: {
3182
+ type: "object";
3183
+ properties: {
3184
+ email: {
3185
+ type: "string";
3186
+ format: string;
3187
+ };
3188
+ role: {
3189
+ type: "string";
3190
+ enum: string[];
3191
+ };
3192
+ };
3193
+ required: string[];
3194
+ title: string;
3195
+ additionalProperties: false;
3196
+ };
3197
+ };
3198
+ response: {
3199
+ description: string;
3200
+ schema: {
3201
+ type: "object";
3202
+ properties: {
3203
+ id: {
3204
+ type: "string";
3205
+ };
3206
+ userId: {
3207
+ type: "string";
3208
+ format: string;
3209
+ };
3210
+ email: {
3211
+ type: "string";
3212
+ };
3213
+ role: {
3214
+ type: "string";
3215
+ enum: string[];
3216
+ };
3217
+ };
3218
+ required: string[];
3219
+ title: string;
3220
+ additionalProperties: false;
3221
+ };
3222
+ };
3223
+ parameters: {};
3224
+ };
3225
+ updateWorkspaceMember: {
3226
+ name: string;
3227
+ description: string;
3228
+ method: "put";
3229
+ path: string;
3230
+ parameters: {
3231
+ id: {
3232
+ type: "string";
3233
+ description: string;
3234
+ in: "path";
3235
+ };
3236
+ };
3237
+ requestBody: {
3238
+ description: string;
3239
+ schema: {
3240
+ type: "object";
3241
+ properties: {
3242
+ role: {
3243
+ type: "string";
3244
+ enum: string[];
3245
+ };
3246
+ };
3247
+ title: string;
3248
+ additionalProperties: false;
3249
+ };
3250
+ };
3251
+ response: {
3252
+ description: string;
3253
+ schema: {
3254
+ type: "object";
3255
+ properties: {
3256
+ id: {
3257
+ type: "string";
3258
+ };
3259
+ userId: {
3260
+ type: "string";
3261
+ format: string;
3262
+ };
3263
+ email: {
3264
+ type: "string";
3265
+ };
3266
+ role: {
3267
+ type: "string";
3268
+ enum: string[];
3269
+ };
3270
+ };
3271
+ required: string[];
3272
+ title: string;
3273
+ additionalProperties: false;
3274
+ };
3275
+ };
3276
+ };
3009
3277
  introspect: {
3010
3278
  name: string;
3011
3279
  description: string;
@@ -3284,8 +3552,11 @@ export declare const state: {
3284
3552
  createBotBody: true;
3285
3553
  updateBotBody: true;
3286
3554
  transferBotBody: true;
3555
+ updateWorkspaceBody: true;
3287
3556
  createIntegrationBody: true;
3288
3557
  updateIntegrationBody: true;
3558
+ createWorkspaceMemberBody: true;
3559
+ updateWorkspaceMemberBody: true;
3289
3560
  introspectBody: true;
3290
3561
  createFileBody: true;
3291
3562
  };
@@ -3329,6 +3600,7 @@ export declare const state: {
3329
3600
  getBotWebchatResponse: true;
3330
3601
  getBotAnalyticsResponse: true;
3331
3602
  getWorkspaceResponse: true;
3603
+ updateWorkspaceResponse: true;
3332
3604
  listWorkspacesResponse: true;
3333
3605
  createIntegrationResponse: true;
3334
3606
  updateIntegrationResponse: true;
@@ -3337,6 +3609,10 @@ export declare const state: {
3337
3609
  getIntegrationLogsResponse: true;
3338
3610
  getIntegrationByNameResponse: true;
3339
3611
  deleteIntegrationResponse: true;
3612
+ listWorkspaceMembersResponse: true;
3613
+ deleteWorkspaceMemberResponse: true;
3614
+ createWorkspaceMemberResponse: true;
3615
+ updateWorkspaceMemberResponse: true;
3340
3616
  introspectResponse: true;
3341
3617
  createFileResponse: true;
3342
3618
  getFileResponse: true;
@@ -3917,8 +4193,12 @@ export declare const state: {
3917
4193
  updatedAt: {
3918
4194
  type: "string";
3919
4195
  };
4196
+ botCount: {
4197
+ type: "number";
4198
+ };
3920
4199
  accountType: {
3921
4200
  type: "string";
4201
+ enum: string[];
3922
4202
  };
3923
4203
  blocked: {
3924
4204
  type: "boolean";