@botpress/client 0.33.2 → 0.34.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.
package/dist/index.d.ts CHANGED
@@ -150,6 +150,7 @@ interface ListConversationsRequestQuery {
150
150
  };
151
151
  participantIds?: string[];
152
152
  integrationName?: string;
153
+ channel?: string;
153
154
  }
154
155
  interface ListConversationsRequestParams {
155
156
  }
@@ -2882,6 +2883,10 @@ interface ListPublicIntegrationsResponse {
2882
2883
  handle: string | null;
2883
2884
  name: string;
2884
2885
  };
2886
+ meta: {
2887
+ installs: number;
2888
+ views: number;
2889
+ };
2885
2890
  }[];
2886
2891
  meta: {
2887
2892
  /**
@@ -2994,7 +2999,7 @@ interface GetPublicIntegrationByIdResponse {
2994
2999
  /**
2995
3000
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
2996
3001
  */
2997
- schema?: {
3002
+ schema: {
2998
3003
  [k: string]: any;
2999
3004
  };
3000
3005
  };
@@ -3021,7 +3026,7 @@ interface GetPublicIntegrationByIdResponse {
3021
3026
  /**
3022
3027
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
3023
3028
  */
3024
- schema?: {
3029
+ schema: {
3025
3030
  [k: string]: any;
3026
3031
  };
3027
3032
  };
@@ -3254,6 +3259,10 @@ interface GetPublicIntegrationByIdResponse {
3254
3259
  handle: string | null;
3255
3260
  name: string;
3256
3261
  };
3262
+ meta: {
3263
+ installs: number;
3264
+ views: number;
3265
+ };
3257
3266
  };
3258
3267
  }
3259
3268
 
@@ -3361,7 +3370,7 @@ interface GetPublicIntegrationResponse {
3361
3370
  /**
3362
3371
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
3363
3372
  */
3364
- schema?: {
3373
+ schema: {
3365
3374
  [k: string]: any;
3366
3375
  };
3367
3376
  };
@@ -3388,7 +3397,7 @@ interface GetPublicIntegrationResponse {
3388
3397
  /**
3389
3398
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
3390
3399
  */
3391
- schema?: {
3400
+ schema: {
3392
3401
  [k: string]: any;
3393
3402
  };
3394
3403
  };
@@ -3621,6 +3630,10 @@ interface GetPublicIntegrationResponse {
3621
3630
  handle: string | null;
3622
3631
  name: string;
3623
3632
  };
3633
+ meta: {
3634
+ installs: number;
3635
+ views: number;
3636
+ };
3624
3637
  };
3625
3638
  }
3626
3639
 
@@ -5263,35 +5276,6 @@ type DeployBotVersionInput = DeployBotVersionRequestBody & DeployBotVersionReque
5263
5276
  interface DeployBotVersionResponse {
5264
5277
  }
5265
5278
 
5266
- interface SetWorkspacePaymentMethodRequestHeaders {
5267
- }
5268
- interface SetWorkspacePaymentMethodRequestQuery {
5269
- }
5270
- interface SetWorkspacePaymentMethodRequestParams {
5271
- id: string;
5272
- }
5273
- interface SetWorkspacePaymentMethodRequestBody {
5274
- /**
5275
- * ID of the Stripe PaymentMethod to attach to the workspace.
5276
- */
5277
- stripePaymentMethodId: string;
5278
- }
5279
- type SetWorkspacePaymentMethodInput = SetWorkspacePaymentMethodRequestBody & SetWorkspacePaymentMethodRequestHeaders & SetWorkspacePaymentMethodRequestQuery & SetWorkspacePaymentMethodRequestParams;
5280
- interface SetWorkspacePaymentMethodResponse {
5281
- stripePaymentMethodId: string;
5282
- paymentMethod: {
5283
- type: string;
5284
- lastDigits: string;
5285
- } | null;
5286
- status: "succeeded" | "processing" | "canceled" | "requires_confirmation" | "requires_action" | "requires_payment_method";
5287
- /**
5288
- * If the payment needs to be confirmed, this will contain a URL to redirect the user to so they can complete the verification process to confirm it.
5289
- */
5290
- nextAction?: {
5291
- redirectToUrl: string;
5292
- };
5293
- }
5294
-
5295
5279
  interface ListWorkspaceInvoicesRequestHeaders {
5296
5280
  }
5297
5281
  interface ListWorkspaceInvoicesRequestQuery {
@@ -6337,7 +6321,7 @@ interface CreateIntegrationResponse {
6337
6321
  /**
6338
6322
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
6339
6323
  */
6340
- schema?: {
6324
+ schema: {
6341
6325
  [k: string]: any;
6342
6326
  };
6343
6327
  };
@@ -6364,7 +6348,7 @@ interface CreateIntegrationResponse {
6364
6348
  /**
6365
6349
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
6366
6350
  */
6367
- schema?: {
6351
+ schema: {
6368
6352
  [k: string]: any;
6369
6353
  };
6370
6354
  };
@@ -6991,7 +6975,7 @@ interface UpdateIntegrationResponse {
6991
6975
  /**
6992
6976
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
6993
6977
  */
6994
- schema?: {
6978
+ schema: {
6995
6979
  [k: string]: any;
6996
6980
  };
6997
6981
  };
@@ -7018,7 +7002,7 @@ interface UpdateIntegrationResponse {
7018
7002
  /**
7019
7003
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
7020
7004
  */
7021
- schema?: {
7005
+ schema: {
7022
7006
  [k: string]: any;
7023
7007
  };
7024
7008
  };
@@ -7416,7 +7400,7 @@ interface GetIntegrationResponse {
7416
7400
  /**
7417
7401
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
7418
7402
  */
7419
- schema?: {
7403
+ schema: {
7420
7404
  [k: string]: any;
7421
7405
  };
7422
7406
  };
@@ -7443,7 +7427,7 @@ interface GetIntegrationResponse {
7443
7427
  /**
7444
7428
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
7445
7429
  */
7446
- schema?: {
7430
+ schema: {
7447
7431
  [k: string]: any;
7448
7432
  };
7449
7433
  };
@@ -7800,7 +7784,7 @@ interface GetIntegrationByNameResponse {
7800
7784
  /**
7801
7785
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
7802
7786
  */
7803
- schema?: {
7787
+ schema: {
7804
7788
  [k: string]: any;
7805
7789
  };
7806
7790
  };
@@ -7827,7 +7811,7 @@ interface GetIntegrationByNameResponse {
7827
7811
  /**
7828
7812
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
7829
7813
  */
7830
- schema?: {
7814
+ schema: {
7831
7815
  [k: string]: any;
7832
7816
  };
7833
7817
  };
@@ -11498,7 +11482,7 @@ interface Integration {
11498
11482
  /**
11499
11483
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
11500
11484
  */
11501
- schema?: {
11485
+ schema: {
11502
11486
  [k: string]: any;
11503
11487
  };
11504
11488
  };
@@ -11525,7 +11509,7 @@ interface Integration {
11525
11509
  /**
11526
11510
  * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
11527
11511
  */
11528
- schema?: {
11512
+ schema: {
11529
11513
  [k: string]: any;
11530
11514
  };
11531
11515
  };
@@ -12578,7 +12562,6 @@ declare class Client$1 {
12578
12562
  readonly getBotVersion: (input: GetBotVersionInput) => Promise<GetBotVersionResponse>;
12579
12563
  readonly createBotVersion: (input: CreateBotVersionInput) => Promise<CreateBotVersionResponse>;
12580
12564
  readonly deployBotVersion: (input: DeployBotVersionInput) => Promise<DeployBotVersionResponse>;
12581
- readonly setWorkspacePaymentMethod: (input: SetWorkspacePaymentMethodInput) => Promise<SetWorkspacePaymentMethodResponse>;
12582
12565
  readonly listWorkspaceInvoices: (input: ListWorkspaceInvoicesInput) => Promise<ListWorkspaceInvoicesResponse>;
12583
12566
  readonly getUpcomingInvoice: (input: GetUpcomingInvoiceInput) => Promise<GetUpcomingInvoiceResponse>;
12584
12567
  readonly chargeWorkspaceUnpaidInvoices: (input: ChargeWorkspaceUnpaidInvoicesInput) => Promise<ChargeWorkspaceUnpaidInvoicesResponse>;
@@ -13071,6 +13054,10 @@ declare class Lister {
13071
13054
  handle: string | null;
13072
13055
  name: string;
13073
13056
  };
13057
+ meta: {
13058
+ installs: number;
13059
+ views: number;
13060
+ };
13074
13061
  }>;
13075
13062
  readonly bots: (props: ListInputs['listBots']) => AsyncCollection<{
13076
13063
  id: string;