@botpress/api 0.10.0 → 0.12.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/src/gen/state.ts CHANGED
@@ -2418,16 +2418,32 @@ export const state = {
2418
2418
  "ISO 8601 date string of the end (exclusive) of the period",
2419
2419
  },
2420
2420
  returningUsers: {
2421
- type: "number",
2421
+ type: "integer",
2422
2422
  },
2423
2423
  newUsers: {
2424
- type: "number",
2424
+ type: "integer",
2425
2425
  },
2426
2426
  sessions: {
2427
- type: "number",
2427
+ type: "integer",
2428
2428
  },
2429
2429
  messages: {
2430
- type: "number",
2430
+ type: "integer",
2431
+ description: "Deprecated. Use `userMessages` instead.",
2432
+ },
2433
+ userMessages: {
2434
+ type: "integer",
2435
+ },
2436
+ botMessages: {
2437
+ type: "integer",
2438
+ },
2439
+ events: {
2440
+ type: "integer",
2441
+ },
2442
+ eventTypes: {
2443
+ type: "object",
2444
+ additionalProperties: {
2445
+ type: "number",
2446
+ },
2431
2447
  },
2432
2448
  },
2433
2449
  required: [
@@ -2437,6 +2453,10 @@ export const state = {
2437
2453
  "newUsers",
2438
2454
  "sessions",
2439
2455
  "messages",
2456
+ "userMessages",
2457
+ "botMessages",
2458
+ "events",
2459
+ "eventTypes",
2440
2460
  ],
2441
2461
  },
2442
2462
  },
@@ -2621,6 +2641,363 @@ export const state = {
2621
2641
  },
2622
2642
  },
2623
2643
  },
2644
+ getWorkspaceBillingDetails: {
2645
+ name: "getWorkspaceBillingDetails",
2646
+ description: "Get billing details of workspace",
2647
+ method: "get",
2648
+ path: "/v1/admin/workspaces/{id}/billing/details",
2649
+ disableDefaultParameters: {
2650
+ "x-workspace-id": true,
2651
+ },
2652
+ parameters: {
2653
+ id: {
2654
+ type: "string",
2655
+ description: "Workspace ID",
2656
+ in: "path",
2657
+ },
2658
+ },
2659
+ section: "workspace",
2660
+ response: {
2661
+ description: "Success",
2662
+ schema: {
2663
+ type: "object",
2664
+ properties: {
2665
+ currentPeriod: {
2666
+ type: "object",
2667
+ properties: {
2668
+ start: {
2669
+ type: "string",
2670
+ },
2671
+ end: {
2672
+ type: "string",
2673
+ },
2674
+ usage: {
2675
+ type: "object",
2676
+ properties: {
2677
+ userMessages: {
2678
+ type: "object",
2679
+ properties: {
2680
+ status: {
2681
+ type: "string",
2682
+ enum: ["OK", "Warning", "LimitReached"],
2683
+ },
2684
+ quantity: {
2685
+ type: "number",
2686
+ },
2687
+ price: {
2688
+ type: "number",
2689
+ },
2690
+ minimum: {
2691
+ type: "number",
2692
+ },
2693
+ maximum: {
2694
+ type: "number",
2695
+ },
2696
+ },
2697
+ required: [
2698
+ "status",
2699
+ "quantity",
2700
+ "price",
2701
+ "minimum",
2702
+ "maximum",
2703
+ ],
2704
+ additionalProperties: false,
2705
+ },
2706
+ },
2707
+ required: ["userMessages"],
2708
+ additionalProperties: false,
2709
+ },
2710
+ },
2711
+ required: ["start", "end", "usage"],
2712
+ additionalProperties: false,
2713
+ },
2714
+ paymentMethod: {
2715
+ type: "object",
2716
+ properties: {
2717
+ type: {
2718
+ type: "string",
2719
+ },
2720
+ lastDigits: {
2721
+ type: "string",
2722
+ },
2723
+ },
2724
+ required: ["type", "lastDigits"],
2725
+ nullable: true,
2726
+ additionalProperties: false,
2727
+ },
2728
+ },
2729
+ required: ["currentPeriod", "paymentMethod"],
2730
+ title: "getWorkspaceBillingDetailsResponse",
2731
+ additionalProperties: false,
2732
+ },
2733
+ },
2734
+ },
2735
+ setWorkspacePaymentMethod: {
2736
+ name: "setWorkspacePaymentMethod",
2737
+ description:
2738
+ "Set the Stripe PaymentMethod to use for billing the workspace. To create a PaymentMethod, use the Stripe API or SDK with our Stripe Publishable Key which is listed in this documentation.",
2739
+ method: "put",
2740
+ path: "/v1/admin/workspaces/{id}/billing/payment-method",
2741
+ disableDefaultParameters: {
2742
+ "x-workspace-id": true,
2743
+ },
2744
+ parameters: {
2745
+ id: {
2746
+ type: "string",
2747
+ description: "Workspace ID",
2748
+ in: "path",
2749
+ },
2750
+ },
2751
+ section: "workspace",
2752
+ requestBody: {
2753
+ description: "",
2754
+ schema: {
2755
+ type: "object",
2756
+ properties: {
2757
+ stripePaymentMethodId: {
2758
+ type: "string",
2759
+ description:
2760
+ "ID of the Stripe PaymentMethod to attach to the workspace.",
2761
+ },
2762
+ },
2763
+ required: ["stripePaymentMethodId"],
2764
+ title: "setWorkspacePaymentMethodBody",
2765
+ additionalProperties: false,
2766
+ },
2767
+ },
2768
+ response: {
2769
+ description: "Success",
2770
+ schema: {
2771
+ type: "object",
2772
+ properties: {
2773
+ stripePaymentMethodId: {
2774
+ type: "string",
2775
+ },
2776
+ paymentMethod: {
2777
+ type: "object",
2778
+ properties: {
2779
+ type: {
2780
+ type: "string",
2781
+ },
2782
+ lastDigits: {
2783
+ type: "string",
2784
+ },
2785
+ },
2786
+ required: ["type", "lastDigits"],
2787
+ nullable: true,
2788
+ additionalProperties: false,
2789
+ },
2790
+ status: {
2791
+ type: "string",
2792
+ enum: [
2793
+ "succeeded",
2794
+ "processing",
2795
+ "canceled",
2796
+ "requires_confirmation",
2797
+ "requires_action",
2798
+ "requires_payment_method",
2799
+ ],
2800
+ },
2801
+ nextAction: {
2802
+ type: "object",
2803
+ properties: {
2804
+ redirectToUrl: {
2805
+ type: "string",
2806
+ format: "uri",
2807
+ },
2808
+ },
2809
+ required: ["redirectToUrl"],
2810
+ description:
2811
+ "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.",
2812
+ additionalProperties: false,
2813
+ },
2814
+ },
2815
+ required: ["stripePaymentMethodId", "paymentMethod", "status"],
2816
+ title: "setWorkspacePaymentMethodResponse",
2817
+ additionalProperties: false,
2818
+ },
2819
+ },
2820
+ },
2821
+ listWorkspaceInvoices: {
2822
+ name: "listWorkspaceInvoices",
2823
+ description: "List invoices billed to workspace",
2824
+ method: "get",
2825
+ path: "/v1/admin/workspaces/{id}/billing/invoices",
2826
+ disableDefaultParameters: {
2827
+ "x-workspace-id": true,
2828
+ },
2829
+ parameters: {
2830
+ id: {
2831
+ type: "string",
2832
+ description: "Workspace ID",
2833
+ in: "path",
2834
+ },
2835
+ },
2836
+ section: "workspace",
2837
+ response: {
2838
+ description: "Success",
2839
+ schema: {
2840
+ type: "object",
2841
+ properties: {
2842
+ invoices: {
2843
+ type: "array",
2844
+ items: {
2845
+ type: "object",
2846
+ properties: {
2847
+ id: {
2848
+ type: "string",
2849
+ },
2850
+ period: {
2851
+ type: "object",
2852
+ properties: {
2853
+ month: {
2854
+ type: "number",
2855
+ },
2856
+ year: {
2857
+ type: "number",
2858
+ },
2859
+ },
2860
+ required: ["month", "year"],
2861
+ },
2862
+ date: {
2863
+ type: "string",
2864
+ format: "date-time",
2865
+ description: "Date on which the invoice was generated.",
2866
+ },
2867
+ amount: {
2868
+ type: "number",
2869
+ description: "Total amount to pay of the invoice.",
2870
+ },
2871
+ currency: {
2872
+ type: "string",
2873
+ maxLength: 3,
2874
+ description: "Currency of the invoice amount.",
2875
+ },
2876
+ paymentStatus: {
2877
+ type: "string",
2878
+ enum: ["paid", "unpaid"],
2879
+ },
2880
+ paymentAttemptCount: {
2881
+ type: "number",
2882
+ description:
2883
+ "Number of times payment has been unsuccessfully attempted on the invoice.",
2884
+ nullable: true,
2885
+ },
2886
+ nextPaymentAttemptDate: {
2887
+ type: "string",
2888
+ format: "date-time",
2889
+ description:
2890
+ "Date on which the next payment attempt will be made.",
2891
+ nullable: true,
2892
+ },
2893
+ pdfUrl: {
2894
+ type: "string",
2895
+ format: "uri",
2896
+ description: "URL to download the PDF file of the invoice.",
2897
+ },
2898
+ },
2899
+ required: [
2900
+ "id",
2901
+ "period",
2902
+ "date",
2903
+ "amount",
2904
+ "currency",
2905
+ "paymentStatus",
2906
+ "paymentAttemptCount",
2907
+ "nextPaymentAttemptDate",
2908
+ "pdfUrl",
2909
+ ],
2910
+ },
2911
+ },
2912
+ },
2913
+ required: ["invoices"],
2914
+ title: "listWorkspaceInvoicesResponse",
2915
+ additionalProperties: false,
2916
+ },
2917
+ },
2918
+ },
2919
+ chargeWorkspaceUnpaidInvoices: {
2920
+ name: "chargeWorkspaceUnpaidInvoices",
2921
+ description: "Charge unpaid invoices of a workspace.",
2922
+ method: "post",
2923
+ path: "/v1/admin/workspaces/{id}/billing/invoices/charge-unpaid",
2924
+ disableDefaultParameters: {
2925
+ "x-workspace-id": true,
2926
+ },
2927
+ parameters: {
2928
+ id: {
2929
+ type: "string",
2930
+ description: "Workspace ID",
2931
+ in: "path",
2932
+ },
2933
+ },
2934
+ section: "workspace",
2935
+ requestBody: {
2936
+ description: "",
2937
+ schema: {
2938
+ type: "object",
2939
+ properties: {
2940
+ invoiceIds: {
2941
+ type: "array",
2942
+ items: {
2943
+ type: "string",
2944
+ },
2945
+ minItems: 1,
2946
+ },
2947
+ },
2948
+ title: "chargeWorkspaceUnpaidInvoicesBody",
2949
+ additionalProperties: false,
2950
+ },
2951
+ },
2952
+ response: {
2953
+ description: "Success",
2954
+ schema: {
2955
+ type: "object",
2956
+ properties: {
2957
+ chargedInvoices: {
2958
+ type: "array",
2959
+ items: {
2960
+ type: "object",
2961
+ properties: {
2962
+ id: {
2963
+ type: "string",
2964
+ },
2965
+ amount: {
2966
+ type: "number",
2967
+ },
2968
+ },
2969
+ required: ["id", "amount"],
2970
+ },
2971
+ description:
2972
+ "Invoices that were successfully charged by this request.",
2973
+ },
2974
+ failedInvoices: {
2975
+ type: "array",
2976
+ items: {
2977
+ type: "object",
2978
+ properties: {
2979
+ id: {
2980
+ type: "string",
2981
+ },
2982
+ amount: {
2983
+ type: "number",
2984
+ },
2985
+ failedReason: {
2986
+ type: "string",
2987
+ },
2988
+ },
2989
+ required: ["id", "amount", "failedReason"],
2990
+ },
2991
+ description:
2992
+ "Invoices that failed to be charged by this request.",
2993
+ },
2994
+ },
2995
+ required: ["chargedInvoices", "failedInvoices"],
2996
+ title: "chargeWorkspaceUnpaidInvoicesResponse",
2997
+ additionalProperties: false,
2998
+ },
2999
+ },
3000
+ },
2624
3001
  createWorkspace: {
2625
3002
  name: "createWorkspace",
2626
3003
  description: "Create workspace",
@@ -2671,6 +3048,10 @@ export const state = {
2671
3048
  type: "string",
2672
3049
  enum: ["free", "premium"],
2673
3050
  },
3051
+ plan: {
3052
+ type: "string",
3053
+ enum: ["community", "team", "enterprise"],
3054
+ },
2674
3055
  blocked: {
2675
3056
  type: "boolean",
2676
3057
  },
@@ -2686,6 +3067,7 @@ export const state = {
2686
3067
  "updatedAt",
2687
3068
  "botCount",
2688
3069
  "accountType",
3070
+ "plan",
2689
3071
  "blocked",
2690
3072
  "spendingLimit",
2691
3073
  ],
@@ -2738,6 +3120,10 @@ export const state = {
2738
3120
  type: "string",
2739
3121
  enum: ["free", "premium"],
2740
3122
  },
3123
+ plan: {
3124
+ type: "string",
3125
+ enum: ["community", "team", "enterprise"],
3126
+ },
2741
3127
  blocked: {
2742
3128
  type: "boolean",
2743
3129
  },
@@ -2753,6 +3139,7 @@ export const state = {
2753
3139
  "updatedAt",
2754
3140
  "botCount",
2755
3141
  "accountType",
3142
+ "plan",
2756
3143
  "blocked",
2757
3144
  "spendingLimit",
2758
3145
  ],
@@ -2790,6 +3177,8 @@ export const state = {
2790
3177
  "table_row_count",
2791
3178
  "workspace_member_count",
2792
3179
  "integrations_owned_count",
3180
+ "cognitive_calls",
3181
+ "model_credit",
2793
3182
  ],
2794
3183
  required: true,
2795
3184
  },
@@ -2847,6 +3236,8 @@ export const state = {
2847
3236
  "table_row_count",
2848
3237
  "workspace_member_count",
2849
3238
  "integrations_owned_count",
3239
+ "cognitive_calls",
3240
+ "model_credit",
2850
3241
  ],
2851
3242
  required: true,
2852
3243
  },
@@ -2885,6 +3276,8 @@ export const state = {
2885
3276
  "table_row_count",
2886
3277
  "workspace_member_count",
2887
3278
  "integrations_owned_count",
3279
+ "cognitive_calls",
3280
+ "model_credit",
2888
3281
  ],
2889
3282
  description: "Usage type that can be used",
2890
3283
  },
@@ -2951,6 +3344,8 @@ export const state = {
2951
3344
  "table_row_count",
2952
3345
  "workspace_member_count",
2953
3346
  "integrations_owned_count",
3347
+ "cognitive_calls",
3348
+ "model_credit",
2954
3349
  ],
2955
3350
  description: "Usage type that can be used",
2956
3351
  },
@@ -3028,6 +3423,10 @@ export const state = {
3028
3423
  type: "string",
3029
3424
  enum: ["free", "premium"],
3030
3425
  },
3426
+ plan: {
3427
+ type: "string",
3428
+ enum: ["community", "team", "enterprise"],
3429
+ },
3031
3430
  blocked: {
3032
3431
  type: "boolean",
3033
3432
  },
@@ -3043,6 +3442,7 @@ export const state = {
3043
3442
  "updatedAt",
3044
3443
  "botCount",
3045
3444
  "accountType",
3445
+ "plan",
3046
3446
  "blocked",
3047
3447
  "spendingLimit",
3048
3448
  ],
@@ -3100,6 +3500,10 @@ export const state = {
3100
3500
  type: "string",
3101
3501
  enum: ["free", "premium"],
3102
3502
  },
3503
+ plan: {
3504
+ type: "string",
3505
+ enum: ["community", "team", "enterprise"],
3506
+ },
3103
3507
  blocked: {
3104
3508
  type: "boolean",
3105
3509
  },
@@ -3115,6 +3519,7 @@ export const state = {
3115
3519
  "updatedAt",
3116
3520
  "botCount",
3117
3521
  "accountType",
3522
+ "plan",
3118
3523
  "blocked",
3119
3524
  "spendingLimit",
3120
3525
  ],
@@ -3197,6 +3602,10 @@ export const state = {
3197
3602
  type: "string",
3198
3603
  enum: ["free", "premium"],
3199
3604
  },
3605
+ plan: {
3606
+ type: "string",
3607
+ enum: ["community", "team", "enterprise"],
3608
+ },
3200
3609
  blocked: {
3201
3610
  type: "boolean",
3202
3611
  },
@@ -3212,6 +3621,7 @@ export const state = {
3212
3621
  "updatedAt",
3213
3622
  "botCount",
3214
3623
  "accountType",
3624
+ "plan",
3215
3625
  "blocked",
3216
3626
  "spendingLimit",
3217
3627
  ],
@@ -3604,9 +4014,19 @@ export const state = {
3604
4014
  description:
3605
4015
  "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.",
3606
4016
  },
4017
+ identifier: {
4018
+ type: "object",
4019
+ properties: {
4020
+ required: {
4021
+ type: "boolean",
4022
+ },
4023
+ linkTemplateScript: {
4024
+ type: "string",
4025
+ },
4026
+ },
4027
+ additionalProperties: false,
4028
+ },
3607
4029
  },
3608
- required: ["schema"],
3609
- description: "Configuration definition",
3610
4030
  additionalProperties: false,
3611
4031
  },
3612
4032
  states: {
@@ -3700,6 +4120,15 @@ export const state = {
3700
4120
  additionalProperties: false,
3701
4121
  },
3702
4122
  },
4123
+ identifier: {
4124
+ type: "object",
4125
+ properties: {
4126
+ extractScript: {
4127
+ type: "string",
4128
+ },
4129
+ },
4130
+ additionalProperties: false,
4131
+ },
3703
4132
  channels: {
3704
4133
  type: "object",
3705
4134
  additionalProperties: {
@@ -3944,9 +4373,20 @@ export const state = {
3944
4373
  description:
3945
4374
  "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.",
3946
4375
  },
4376
+ identifier: {
4377
+ type: "object",
4378
+ properties: {
4379
+ linkTemplateScript: {
4380
+ type: "string",
4381
+ nullable: true,
4382
+ },
4383
+ required: {
4384
+ type: "boolean",
4385
+ },
4386
+ },
4387
+ additionalProperties: false,
4388
+ },
3947
4389
  },
3948
- required: ["schema"],
3949
- description: "Configuration definition",
3950
4390
  additionalProperties: false,
3951
4391
  },
3952
4392
  channels: {
@@ -4062,6 +4502,16 @@ export const state = {
4062
4502
  additionalProperties: false,
4063
4503
  },
4064
4504
  },
4505
+ identifier: {
4506
+ type: "object",
4507
+ properties: {
4508
+ extractScript: {
4509
+ type: "string",
4510
+ nullable: true,
4511
+ },
4512
+ },
4513
+ additionalProperties: false,
4514
+ },
4065
4515
  actions: {
4066
4516
  type: "object",
4067
4517
  additionalProperties: {
@@ -4536,6 +4986,8 @@ export const state = {
4536
4986
  "table_row_count",
4537
4987
  "workspace_member_count",
4538
4988
  "integrations_owned_count",
4989
+ "cognitive_calls",
4990
+ "model_credit",
4539
4991
  ],
4540
4992
  required: true,
4541
4993
  },
@@ -4586,6 +5038,8 @@ export const state = {
4586
5038
  "table_row_count",
4587
5039
  "workspace_member_count",
4588
5040
  "integrations_owned_count",
5041
+ "cognitive_calls",
5042
+ "model_credit",
4589
5043
  ],
4590
5044
  required: true,
4591
5045
  },
@@ -4834,7 +5288,7 @@ export const state = {
4834
5288
  title: "Botpress API",
4835
5289
  description: "API for Botpress Cloud",
4836
5290
  server: "https://api.botpress.cloud",
4837
- version: "0.10.0",
5291
+ version: "0.12.0",
4838
5292
  prefix: "v1",
4839
5293
  },
4840
5294
  errors: [
@@ -4974,6 +5428,8 @@ export const state = {
4974
5428
  createBotBody: true,
4975
5429
  updateBotBody: true,
4976
5430
  transferBotBody: true,
5431
+ setWorkspacePaymentMethodBody: true,
5432
+ chargeWorkspaceUnpaidInvoicesBody: true,
4977
5433
  createWorkspaceBody: true,
4978
5434
  updateWorkspaceBody: true,
4979
5435
  changeWorkspacePlanBody: true,
@@ -5030,6 +5486,10 @@ export const state = {
5030
5486
  listBotIssuesResponse: true,
5031
5487
  deleteBotIssueResponse: true,
5032
5488
  listBotIssueEventsResponse: true,
5489
+ getWorkspaceBillingDetailsResponse: true,
5490
+ setWorkspacePaymentMethodResponse: true,
5491
+ listWorkspaceInvoicesResponse: true,
5492
+ chargeWorkspaceUnpaidInvoicesResponse: true,
5033
5493
  createWorkspaceResponse: true,
5034
5494
  getWorkspaceResponse: true,
5035
5495
  listWorkspaceUsagesResponse: true,
@@ -5124,6 +5584,9 @@ export const state = {
5124
5584
  webhookUrl: {
5125
5585
  type: "string",
5126
5586
  },
5587
+ webhookId: {
5588
+ type: "string",
5589
+ },
5127
5590
  configuration: {
5128
5591
  type: "object",
5129
5592
  additionalProperties: true,
@@ -5183,6 +5646,7 @@ export const state = {
5183
5646
  "name",
5184
5647
  "version",
5185
5648
  "webhookUrl",
5649
+ "webhookId",
5186
5650
  "configuration",
5187
5651
  "status",
5188
5652
  "statusReason",
@@ -5465,6 +5929,19 @@ export const state = {
5465
5929
  description:
5466
5930
  "Updating date of the [Integration](#schema_integration) in ISO 8601 format",
5467
5931
  },
5932
+ identifier: {
5933
+ type: "object",
5934
+ properties: {
5935
+ extractScript: {
5936
+ type: "string",
5937
+ description:
5938
+ "VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth",
5939
+ },
5940
+ },
5941
+ description:
5942
+ "Global identifier configuration of the [Integration](#schema_integration)",
5943
+ additionalProperties: false,
5944
+ },
5468
5945
  name: {
5469
5946
  type: "string",
5470
5947
  description: "Name of the [Integration](#schema_integration)",
@@ -5476,6 +5953,21 @@ export const state = {
5476
5953
  configuration: {
5477
5954
  type: "object",
5478
5955
  properties: {
5956
+ identifier: {
5957
+ type: "object",
5958
+ properties: {
5959
+ linkTemplateScript: {
5960
+ type: "string",
5961
+ },
5962
+ required: {
5963
+ type: "boolean",
5964
+ },
5965
+ },
5966
+ required: ["required"],
5967
+ description:
5968
+ "Identifier configuration of the [Integration](#schema_integration)",
5969
+ additionalProperties: false,
5970
+ },
5479
5971
  schema: {
5480
5972
  type: "object",
5481
5973
  additionalProperties: true,
@@ -5483,7 +5975,7 @@ export const state = {
5483
5975
  "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.",
5484
5976
  },
5485
5977
  },
5486
- required: ["schema"],
5978
+ required: ["identifier"],
5487
5979
  description: "Configuration definition",
5488
5980
  additionalProperties: false,
5489
5981
  },
@@ -5776,6 +6268,7 @@ export const state = {
5776
6268
  "id",
5777
6269
  "createdAt",
5778
6270
  "updatedAt",
6271
+ "identifier",
5779
6272
  "name",
5780
6273
  "version",
5781
6274
  "configuration",
@@ -5820,6 +6313,10 @@ export const state = {
5820
6313
  type: "string",
5821
6314
  enum: ["free", "premium"],
5822
6315
  },
6316
+ plan: {
6317
+ type: "string",
6318
+ enum: ["community", "team", "enterprise"],
6319
+ },
5823
6320
  blocked: {
5824
6321
  type: "boolean",
5825
6322
  },
@@ -5835,6 +6332,7 @@ export const state = {
5835
6332
  "updatedAt",
5836
6333
  "botCount",
5837
6334
  "accountType",
6335
+ "plan",
5838
6336
  "blocked",
5839
6337
  "spendingLimit",
5840
6338
  ],
@@ -5928,6 +6426,8 @@ export const state = {
5928
6426
  "table_row_count",
5929
6427
  "workspace_member_count",
5930
6428
  "integrations_owned_count",
6429
+ "cognitive_calls",
6430
+ "model_credit",
5931
6431
  ],
5932
6432
  description: "Usage type that can be used",
5933
6433
  },
@@ -6040,7 +6540,7 @@ export const state = {
6040
6540
  type: "string",
6041
6541
  },
6042
6542
  description:
6043
- "Set of [Tags](#tags) that you can attach to a [User](#schema_user). The set of [Tags](#tags) available on a [User](#schema_user) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6543
+ "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [User](#schema_user). The set of [Tags](/docs/developers/concepts/tags) available on a [User](#schema_user) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6044
6544
  },
6045
6545
  },
6046
6546
  required: ["id", "createdAt", "updatedAt", "tags"],
@@ -6086,7 +6586,7 @@ export const state = {
6086
6586
  type: "string",
6087
6587
  },
6088
6588
  description:
6089
- "Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6589
+ "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6090
6590
  },
6091
6591
  },
6092
6592
  required: [
@@ -6178,7 +6678,7 @@ export const state = {
6178
6678
  type: "string",
6179
6679
  },
6180
6680
  description:
6181
- "Set of [Tags](#tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](#tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](#tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6681
+ "Set of [Tags](/docs/developers/concepts/tags) that you can attach to a [Conversation](#schema_conversation). The set of [Tags](/docs/developers/concepts/tags) available on a [Conversation](#schema_conversation) is restricted by the list of [Tags](/docs/developers/concepts/tags) defined previously by the [Bot](#schema_bot). Individual keys can be unset by posting an empty value to them.",
6182
6682
  },
6183
6683
  },
6184
6684
  required: [
@@ -6431,6 +6931,10 @@ export const state = {
6431
6931
  title: "Workspace",
6432
6932
  name: "workspace",
6433
6933
  operations: [
6934
+ "getWorkspaceBillingDetails",
6935
+ "setWorkspacePaymentMethod",
6936
+ "listWorkspaceInvoices",
6937
+ "chargeWorkspaceUnpaidInvoices",
6434
6938
  "createWorkspace",
6435
6939
  "getWorkspace",
6436
6940
  "listWorkspaceUsages",