@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/dist/index.js CHANGED
@@ -428180,16 +428180,32 @@ var state = {
428180
428180
  description: "ISO 8601 date string of the end (exclusive) of the period"
428181
428181
  },
428182
428182
  returningUsers: {
428183
- type: "number"
428183
+ type: "integer"
428184
428184
  },
428185
428185
  newUsers: {
428186
- type: "number"
428186
+ type: "integer"
428187
428187
  },
428188
428188
  sessions: {
428189
- type: "number"
428189
+ type: "integer"
428190
428190
  },
428191
428191
  messages: {
428192
- type: "number"
428192
+ type: "integer",
428193
+ description: "Deprecated. Use `userMessages` instead."
428194
+ },
428195
+ userMessages: {
428196
+ type: "integer"
428197
+ },
428198
+ botMessages: {
428199
+ type: "integer"
428200
+ },
428201
+ events: {
428202
+ type: "integer"
428203
+ },
428204
+ eventTypes: {
428205
+ type: "object",
428206
+ additionalProperties: {
428207
+ type: "number"
428208
+ }
428193
428209
  }
428194
428210
  },
428195
428211
  required: [
@@ -428198,7 +428214,11 @@ var state = {
428198
428214
  "returningUsers",
428199
428215
  "newUsers",
428200
428216
  "sessions",
428201
- "messages"
428217
+ "messages",
428218
+ "userMessages",
428219
+ "botMessages",
428220
+ "events",
428221
+ "eventTypes"
428202
428222
  ]
428203
428223
  }
428204
428224
  }
@@ -428381,6 +428401,356 @@ var state = {
428381
428401
  }
428382
428402
  }
428383
428403
  },
428404
+ getWorkspaceBillingDetails: {
428405
+ name: "getWorkspaceBillingDetails",
428406
+ description: "Get billing details of workspace",
428407
+ method: "get",
428408
+ path: "/v1/admin/workspaces/{id}/billing/details",
428409
+ disableDefaultParameters: {
428410
+ "x-workspace-id": true
428411
+ },
428412
+ parameters: {
428413
+ id: {
428414
+ type: "string",
428415
+ description: "Workspace ID",
428416
+ in: "path"
428417
+ }
428418
+ },
428419
+ section: "workspace",
428420
+ response: {
428421
+ description: "Success",
428422
+ schema: {
428423
+ type: "object",
428424
+ properties: {
428425
+ currentPeriod: {
428426
+ type: "object",
428427
+ properties: {
428428
+ start: {
428429
+ type: "string"
428430
+ },
428431
+ end: {
428432
+ type: "string"
428433
+ },
428434
+ usage: {
428435
+ type: "object",
428436
+ properties: {
428437
+ userMessages: {
428438
+ type: "object",
428439
+ properties: {
428440
+ status: {
428441
+ type: "string",
428442
+ enum: ["OK", "Warning", "LimitReached"]
428443
+ },
428444
+ quantity: {
428445
+ type: "number"
428446
+ },
428447
+ price: {
428448
+ type: "number"
428449
+ },
428450
+ minimum: {
428451
+ type: "number"
428452
+ },
428453
+ maximum: {
428454
+ type: "number"
428455
+ }
428456
+ },
428457
+ required: [
428458
+ "status",
428459
+ "quantity",
428460
+ "price",
428461
+ "minimum",
428462
+ "maximum"
428463
+ ],
428464
+ additionalProperties: false
428465
+ }
428466
+ },
428467
+ required: ["userMessages"],
428468
+ additionalProperties: false
428469
+ }
428470
+ },
428471
+ required: ["start", "end", "usage"],
428472
+ additionalProperties: false
428473
+ },
428474
+ paymentMethod: {
428475
+ type: "object",
428476
+ properties: {
428477
+ type: {
428478
+ type: "string"
428479
+ },
428480
+ lastDigits: {
428481
+ type: "string"
428482
+ }
428483
+ },
428484
+ required: ["type", "lastDigits"],
428485
+ nullable: true,
428486
+ additionalProperties: false
428487
+ }
428488
+ },
428489
+ required: ["currentPeriod", "paymentMethod"],
428490
+ title: "getWorkspaceBillingDetailsResponse",
428491
+ additionalProperties: false
428492
+ }
428493
+ }
428494
+ },
428495
+ setWorkspacePaymentMethod: {
428496
+ name: "setWorkspacePaymentMethod",
428497
+ description: "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.",
428498
+ method: "put",
428499
+ path: "/v1/admin/workspaces/{id}/billing/payment-method",
428500
+ disableDefaultParameters: {
428501
+ "x-workspace-id": true
428502
+ },
428503
+ parameters: {
428504
+ id: {
428505
+ type: "string",
428506
+ description: "Workspace ID",
428507
+ in: "path"
428508
+ }
428509
+ },
428510
+ section: "workspace",
428511
+ requestBody: {
428512
+ description: "",
428513
+ schema: {
428514
+ type: "object",
428515
+ properties: {
428516
+ stripePaymentMethodId: {
428517
+ type: "string",
428518
+ description: "ID of the Stripe PaymentMethod to attach to the workspace."
428519
+ }
428520
+ },
428521
+ required: ["stripePaymentMethodId"],
428522
+ title: "setWorkspacePaymentMethodBody",
428523
+ additionalProperties: false
428524
+ }
428525
+ },
428526
+ response: {
428527
+ description: "Success",
428528
+ schema: {
428529
+ type: "object",
428530
+ properties: {
428531
+ stripePaymentMethodId: {
428532
+ type: "string"
428533
+ },
428534
+ paymentMethod: {
428535
+ type: "object",
428536
+ properties: {
428537
+ type: {
428538
+ type: "string"
428539
+ },
428540
+ lastDigits: {
428541
+ type: "string"
428542
+ }
428543
+ },
428544
+ required: ["type", "lastDigits"],
428545
+ nullable: true,
428546
+ additionalProperties: false
428547
+ },
428548
+ status: {
428549
+ type: "string",
428550
+ enum: [
428551
+ "succeeded",
428552
+ "processing",
428553
+ "canceled",
428554
+ "requires_confirmation",
428555
+ "requires_action",
428556
+ "requires_payment_method"
428557
+ ]
428558
+ },
428559
+ nextAction: {
428560
+ type: "object",
428561
+ properties: {
428562
+ redirectToUrl: {
428563
+ type: "string",
428564
+ format: "uri"
428565
+ }
428566
+ },
428567
+ required: ["redirectToUrl"],
428568
+ description: "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.",
428569
+ additionalProperties: false
428570
+ }
428571
+ },
428572
+ required: ["stripePaymentMethodId", "paymentMethod", "status"],
428573
+ title: "setWorkspacePaymentMethodResponse",
428574
+ additionalProperties: false
428575
+ }
428576
+ }
428577
+ },
428578
+ listWorkspaceInvoices: {
428579
+ name: "listWorkspaceInvoices",
428580
+ description: "List invoices billed to workspace",
428581
+ method: "get",
428582
+ path: "/v1/admin/workspaces/{id}/billing/invoices",
428583
+ disableDefaultParameters: {
428584
+ "x-workspace-id": true
428585
+ },
428586
+ parameters: {
428587
+ id: {
428588
+ type: "string",
428589
+ description: "Workspace ID",
428590
+ in: "path"
428591
+ }
428592
+ },
428593
+ section: "workspace",
428594
+ response: {
428595
+ description: "Success",
428596
+ schema: {
428597
+ type: "object",
428598
+ properties: {
428599
+ invoices: {
428600
+ type: "array",
428601
+ items: {
428602
+ type: "object",
428603
+ properties: {
428604
+ id: {
428605
+ type: "string"
428606
+ },
428607
+ period: {
428608
+ type: "object",
428609
+ properties: {
428610
+ month: {
428611
+ type: "number"
428612
+ },
428613
+ year: {
428614
+ type: "number"
428615
+ }
428616
+ },
428617
+ required: ["month", "year"]
428618
+ },
428619
+ date: {
428620
+ type: "string",
428621
+ format: "date-time",
428622
+ description: "Date on which the invoice was generated."
428623
+ },
428624
+ amount: {
428625
+ type: "number",
428626
+ description: "Total amount to pay of the invoice."
428627
+ },
428628
+ currency: {
428629
+ type: "string",
428630
+ maxLength: 3,
428631
+ description: "Currency of the invoice amount."
428632
+ },
428633
+ paymentStatus: {
428634
+ type: "string",
428635
+ enum: ["paid", "unpaid"]
428636
+ },
428637
+ paymentAttemptCount: {
428638
+ type: "number",
428639
+ description: "Number of times payment has been unsuccessfully attempted on the invoice.",
428640
+ nullable: true
428641
+ },
428642
+ nextPaymentAttemptDate: {
428643
+ type: "string",
428644
+ format: "date-time",
428645
+ description: "Date on which the next payment attempt will be made.",
428646
+ nullable: true
428647
+ },
428648
+ pdfUrl: {
428649
+ type: "string",
428650
+ format: "uri",
428651
+ description: "URL to download the PDF file of the invoice."
428652
+ }
428653
+ },
428654
+ required: [
428655
+ "id",
428656
+ "period",
428657
+ "date",
428658
+ "amount",
428659
+ "currency",
428660
+ "paymentStatus",
428661
+ "paymentAttemptCount",
428662
+ "nextPaymentAttemptDate",
428663
+ "pdfUrl"
428664
+ ]
428665
+ }
428666
+ }
428667
+ },
428668
+ required: ["invoices"],
428669
+ title: "listWorkspaceInvoicesResponse",
428670
+ additionalProperties: false
428671
+ }
428672
+ }
428673
+ },
428674
+ chargeWorkspaceUnpaidInvoices: {
428675
+ name: "chargeWorkspaceUnpaidInvoices",
428676
+ description: "Charge unpaid invoices of a workspace.",
428677
+ method: "post",
428678
+ path: "/v1/admin/workspaces/{id}/billing/invoices/charge-unpaid",
428679
+ disableDefaultParameters: {
428680
+ "x-workspace-id": true
428681
+ },
428682
+ parameters: {
428683
+ id: {
428684
+ type: "string",
428685
+ description: "Workspace ID",
428686
+ in: "path"
428687
+ }
428688
+ },
428689
+ section: "workspace",
428690
+ requestBody: {
428691
+ description: "",
428692
+ schema: {
428693
+ type: "object",
428694
+ properties: {
428695
+ invoiceIds: {
428696
+ type: "array",
428697
+ items: {
428698
+ type: "string"
428699
+ },
428700
+ minItems: 1
428701
+ }
428702
+ },
428703
+ title: "chargeWorkspaceUnpaidInvoicesBody",
428704
+ additionalProperties: false
428705
+ }
428706
+ },
428707
+ response: {
428708
+ description: "Success",
428709
+ schema: {
428710
+ type: "object",
428711
+ properties: {
428712
+ chargedInvoices: {
428713
+ type: "array",
428714
+ items: {
428715
+ type: "object",
428716
+ properties: {
428717
+ id: {
428718
+ type: "string"
428719
+ },
428720
+ amount: {
428721
+ type: "number"
428722
+ }
428723
+ },
428724
+ required: ["id", "amount"]
428725
+ },
428726
+ description: "Invoices that were successfully charged by this request."
428727
+ },
428728
+ failedInvoices: {
428729
+ type: "array",
428730
+ items: {
428731
+ type: "object",
428732
+ properties: {
428733
+ id: {
428734
+ type: "string"
428735
+ },
428736
+ amount: {
428737
+ type: "number"
428738
+ },
428739
+ failedReason: {
428740
+ type: "string"
428741
+ }
428742
+ },
428743
+ required: ["id", "amount", "failedReason"]
428744
+ },
428745
+ description: "Invoices that failed to be charged by this request."
428746
+ }
428747
+ },
428748
+ required: ["chargedInvoices", "failedInvoices"],
428749
+ title: "chargeWorkspaceUnpaidInvoicesResponse",
428750
+ additionalProperties: false
428751
+ }
428752
+ }
428753
+ },
428384
428754
  createWorkspace: {
428385
428755
  name: "createWorkspace",
428386
428756
  description: "Create workspace",
@@ -428431,6 +428801,10 @@ var state = {
428431
428801
  type: "string",
428432
428802
  enum: ["free", "premium"]
428433
428803
  },
428804
+ plan: {
428805
+ type: "string",
428806
+ enum: ["community", "team", "enterprise"]
428807
+ },
428434
428808
  blocked: {
428435
428809
  type: "boolean"
428436
428810
  },
@@ -428446,6 +428820,7 @@ var state = {
428446
428820
  "updatedAt",
428447
428821
  "botCount",
428448
428822
  "accountType",
428823
+ "plan",
428449
428824
  "blocked",
428450
428825
  "spendingLimit"
428451
428826
  ],
@@ -428498,6 +428873,10 @@ var state = {
428498
428873
  type: "string",
428499
428874
  enum: ["free", "premium"]
428500
428875
  },
428876
+ plan: {
428877
+ type: "string",
428878
+ enum: ["community", "team", "enterprise"]
428879
+ },
428501
428880
  blocked: {
428502
428881
  type: "boolean"
428503
428882
  },
@@ -428513,6 +428892,7 @@ var state = {
428513
428892
  "updatedAt",
428514
428893
  "botCount",
428515
428894
  "accountType",
428895
+ "plan",
428516
428896
  "blocked",
428517
428897
  "spendingLimit"
428518
428898
  ],
@@ -428549,7 +428929,9 @@ var state = {
428549
428929
  "bot_ratelimit",
428550
428930
  "table_row_count",
428551
428931
  "workspace_member_count",
428552
- "integrations_owned_count"
428932
+ "integrations_owned_count",
428933
+ "cognitive_calls",
428934
+ "model_credit"
428553
428935
  ],
428554
428936
  required: true
428555
428937
  },
@@ -428606,7 +428988,9 @@ var state = {
428606
428988
  "bot_ratelimit",
428607
428989
  "table_row_count",
428608
428990
  "workspace_member_count",
428609
- "integrations_owned_count"
428991
+ "integrations_owned_count",
428992
+ "cognitive_calls",
428993
+ "model_credit"
428610
428994
  ],
428611
428995
  required: true
428612
428996
  },
@@ -428644,7 +429028,9 @@ var state = {
428644
429028
  "bot_ratelimit",
428645
429029
  "table_row_count",
428646
429030
  "workspace_member_count",
428647
- "integrations_owned_count"
429031
+ "integrations_owned_count",
429032
+ "cognitive_calls",
429033
+ "model_credit"
428648
429034
  ],
428649
429035
  description: "Usage type that can be used"
428650
429036
  }
@@ -428710,7 +429096,9 @@ var state = {
428710
429096
  "bot_ratelimit",
428711
429097
  "table_row_count",
428712
429098
  "workspace_member_count",
428713
- "integrations_owned_count"
429099
+ "integrations_owned_count",
429100
+ "cognitive_calls",
429101
+ "model_credit"
428714
429102
  ],
428715
429103
  description: "Usage type that can be used"
428716
429104
  }
@@ -428788,6 +429176,10 @@ var state = {
428788
429176
  type: "string",
428789
429177
  enum: ["free", "premium"]
428790
429178
  },
429179
+ plan: {
429180
+ type: "string",
429181
+ enum: ["community", "team", "enterprise"]
429182
+ },
428791
429183
  blocked: {
428792
429184
  type: "boolean"
428793
429185
  },
@@ -428803,6 +429195,7 @@ var state = {
428803
429195
  "updatedAt",
428804
429196
  "botCount",
428805
429197
  "accountType",
429198
+ "plan",
428806
429199
  "blocked",
428807
429200
  "spendingLimit"
428808
429201
  ],
@@ -428859,6 +429252,10 @@ var state = {
428859
429252
  type: "string",
428860
429253
  enum: ["free", "premium"]
428861
429254
  },
429255
+ plan: {
429256
+ type: "string",
429257
+ enum: ["community", "team", "enterprise"]
429258
+ },
428862
429259
  blocked: {
428863
429260
  type: "boolean"
428864
429261
  },
@@ -428874,6 +429271,7 @@ var state = {
428874
429271
  "updatedAt",
428875
429272
  "botCount",
428876
429273
  "accountType",
429274
+ "plan",
428877
429275
  "blocked",
428878
429276
  "spendingLimit"
428879
429277
  ],
@@ -428955,6 +429353,10 @@ var state = {
428955
429353
  type: "string",
428956
429354
  enum: ["free", "premium"]
428957
429355
  },
429356
+ plan: {
429357
+ type: "string",
429358
+ enum: ["community", "team", "enterprise"]
429359
+ },
428958
429360
  blocked: {
428959
429361
  type: "boolean"
428960
429362
  },
@@ -428970,6 +429372,7 @@ var state = {
428970
429372
  "updatedAt",
428971
429373
  "botCount",
428972
429374
  "accountType",
429375
+ "plan",
428973
429376
  "blocked",
428974
429377
  "spendingLimit"
428975
429378
  ],
@@ -429355,10 +429758,20 @@ var state = {
429355
429758
  type: "object",
429356
429759
  additionalProperties: true,
429357
429760
  description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
429761
+ },
429762
+ identifier: {
429763
+ type: "object",
429764
+ properties: {
429765
+ required: {
429766
+ type: "boolean"
429767
+ },
429768
+ linkTemplateScript: {
429769
+ type: "string"
429770
+ }
429771
+ },
429772
+ additionalProperties: false
429358
429773
  }
429359
429774
  },
429360
- required: ["schema"],
429361
- description: "Configuration definition",
429362
429775
  additionalProperties: false
429363
429776
  },
429364
429777
  states: {
@@ -429450,6 +429863,15 @@ var state = {
429450
429863
  additionalProperties: false
429451
429864
  }
429452
429865
  },
429866
+ identifier: {
429867
+ type: "object",
429868
+ properties: {
429869
+ extractScript: {
429870
+ type: "string"
429871
+ }
429872
+ },
429873
+ additionalProperties: false
429874
+ },
429453
429875
  channels: {
429454
429876
  type: "object",
429455
429877
  additionalProperties: {
@@ -429679,10 +430101,21 @@ var state = {
429679
430101
  type: "object",
429680
430102
  additionalProperties: true,
429681
430103
  description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
430104
+ },
430105
+ identifier: {
430106
+ type: "object",
430107
+ properties: {
430108
+ linkTemplateScript: {
430109
+ type: "string",
430110
+ nullable: true
430111
+ },
430112
+ required: {
430113
+ type: "boolean"
430114
+ }
430115
+ },
430116
+ additionalProperties: false
429682
430117
  }
429683
430118
  },
429684
- required: ["schema"],
429685
- description: "Configuration definition",
429686
430119
  additionalProperties: false
429687
430120
  },
429688
430121
  channels: {
@@ -429794,6 +430227,16 @@ var state = {
429794
430227
  additionalProperties: false
429795
430228
  }
429796
430229
  },
430230
+ identifier: {
430231
+ type: "object",
430232
+ properties: {
430233
+ extractScript: {
430234
+ type: "string",
430235
+ nullable: true
430236
+ }
430237
+ },
430238
+ additionalProperties: false
430239
+ },
429797
430240
  actions: {
429798
430241
  type: "object",
429799
430242
  additionalProperties: {
@@ -430246,7 +430689,9 @@ var state = {
430246
430689
  "bot_ratelimit",
430247
430690
  "table_row_count",
430248
430691
  "workspace_member_count",
430249
- "integrations_owned_count"
430692
+ "integrations_owned_count",
430693
+ "cognitive_calls",
430694
+ "model_credit"
430250
430695
  ],
430251
430696
  required: true
430252
430697
  },
@@ -430296,7 +430741,9 @@ var state = {
430296
430741
  "bot_ratelimit",
430297
430742
  "table_row_count",
430298
430743
  "workspace_member_count",
430299
- "integrations_owned_count"
430744
+ "integrations_owned_count",
430745
+ "cognitive_calls",
430746
+ "model_credit"
430300
430747
  ],
430301
430748
  required: true
430302
430749
  },
@@ -430542,7 +430989,7 @@ var state = {
430542
430989
  title: "Botpress API",
430543
430990
  description: "API for Botpress Cloud",
430544
430991
  server: "https://api.botpress.cloud",
430545
- version: "0.10.0",
430992
+ version: "0.12.0",
430546
430993
  prefix: "v1"
430547
430994
  },
430548
430995
  errors: [
@@ -430673,6 +431120,8 @@ var state = {
430673
431120
  createBotBody: true,
430674
431121
  updateBotBody: true,
430675
431122
  transferBotBody: true,
431123
+ setWorkspacePaymentMethodBody: true,
431124
+ chargeWorkspaceUnpaidInvoicesBody: true,
430676
431125
  createWorkspaceBody: true,
430677
431126
  updateWorkspaceBody: true,
430678
431127
  changeWorkspacePlanBody: true,
@@ -430729,6 +431178,10 @@ var state = {
430729
431178
  listBotIssuesResponse: true,
430730
431179
  deleteBotIssueResponse: true,
430731
431180
  listBotIssueEventsResponse: true,
431181
+ getWorkspaceBillingDetailsResponse: true,
431182
+ setWorkspacePaymentMethodResponse: true,
431183
+ listWorkspaceInvoicesResponse: true,
431184
+ chargeWorkspaceUnpaidInvoicesResponse: true,
430732
431185
  createWorkspaceResponse: true,
430733
431186
  getWorkspaceResponse: true,
430734
431187
  listWorkspaceUsagesResponse: true,
@@ -430820,6 +431273,9 @@ var state = {
430820
431273
  webhookUrl: {
430821
431274
  type: "string"
430822
431275
  },
431276
+ webhookId: {
431277
+ type: "string"
431278
+ },
430823
431279
  configuration: {
430824
431280
  type: "object",
430825
431281
  additionalProperties: true
@@ -430874,6 +431330,7 @@ var state = {
430874
431330
  "name",
430875
431331
  "version",
430876
431332
  "webhookUrl",
431333
+ "webhookId",
430877
431334
  "configuration",
430878
431335
  "status",
430879
431336
  "statusReason",
@@ -431145,6 +431602,17 @@ var state = {
431145
431602
  format: "date-time",
431146
431603
  description: "Updating date of the [Integration](#schema_integration) in ISO 8601 format"
431147
431604
  },
431605
+ identifier: {
431606
+ type: "object",
431607
+ properties: {
431608
+ extractScript: {
431609
+ type: "string",
431610
+ description: "VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth"
431611
+ }
431612
+ },
431613
+ description: "Global identifier configuration of the [Integration](#schema_integration)",
431614
+ additionalProperties: false
431615
+ },
431148
431616
  name: {
431149
431617
  type: "string",
431150
431618
  description: "Name of the [Integration](#schema_integration)"
@@ -431156,13 +431624,27 @@ var state = {
431156
431624
  configuration: {
431157
431625
  type: "object",
431158
431626
  properties: {
431627
+ identifier: {
431628
+ type: "object",
431629
+ properties: {
431630
+ linkTemplateScript: {
431631
+ type: "string"
431632
+ },
431633
+ required: {
431634
+ type: "boolean"
431635
+ }
431636
+ },
431637
+ required: ["required"],
431638
+ description: "Identifier configuration of the [Integration](#schema_integration)",
431639
+ additionalProperties: false
431640
+ },
431159
431641
  schema: {
431160
431642
  type: "object",
431161
431643
  additionalProperties: true,
431162
431644
  description: "Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`."
431163
431645
  }
431164
431646
  },
431165
- required: ["schema"],
431647
+ required: ["identifier"],
431166
431648
  description: "Configuration definition",
431167
431649
  additionalProperties: false
431168
431650
  },
@@ -431441,6 +431923,7 @@ var state = {
431441
431923
  "id",
431442
431924
  "createdAt",
431443
431925
  "updatedAt",
431926
+ "identifier",
431444
431927
  "name",
431445
431928
  "version",
431446
431929
  "configuration",
@@ -431485,6 +431968,10 @@ var state = {
431485
431968
  type: "string",
431486
431969
  enum: ["free", "premium"]
431487
431970
  },
431971
+ plan: {
431972
+ type: "string",
431973
+ enum: ["community", "team", "enterprise"]
431974
+ },
431488
431975
  blocked: {
431489
431976
  type: "boolean"
431490
431977
  },
@@ -431500,6 +431987,7 @@ var state = {
431500
431987
  "updatedAt",
431501
431988
  "botCount",
431502
431989
  "accountType",
431990
+ "plan",
431503
431991
  "blocked",
431504
431992
  "spendingLimit"
431505
431993
  ],
@@ -431590,7 +432078,9 @@ var state = {
431590
432078
  "bot_ratelimit",
431591
432079
  "table_row_count",
431592
432080
  "workspace_member_count",
431593
- "integrations_owned_count"
432081
+ "integrations_owned_count",
432082
+ "cognitive_calls",
432083
+ "model_credit"
431594
432084
  ],
431595
432085
  description: "Usage type that can be used"
431596
432086
  }
@@ -431700,7 +432190,7 @@ var state = {
431700
432190
  additionalProperties: {
431701
432191
  type: "string"
431702
432192
  },
431703
- description: "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."
432193
+ description: "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."
431704
432194
  }
431705
432195
  },
431706
432196
  required: ["id", "createdAt", "updatedAt", "tags"],
@@ -431740,7 +432230,7 @@ var state = {
431740
432230
  additionalProperties: {
431741
432231
  type: "string"
431742
432232
  },
431743
- description: "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."
432233
+ description: "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."
431744
432234
  }
431745
432235
  },
431746
432236
  required: [
@@ -431825,7 +432315,7 @@ var state = {
431825
432315
  additionalProperties: {
431826
432316
  type: "string"
431827
432317
  },
431828
- description: "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."
432318
+ description: "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."
431829
432319
  }
431830
432320
  },
431831
432321
  required: [
@@ -432068,6 +432558,10 @@ var state = {
432068
432558
  title: "Workspace",
432069
432559
  name: "workspace",
432070
432560
  operations: [
432561
+ "getWorkspaceBillingDetails",
432562
+ "setWorkspacePaymentMethod",
432563
+ "listWorkspaceInvoices",
432564
+ "chargeWorkspaceUnpaidInvoices",
432071
432565
  "createWorkspace",
432072
432566
  "getWorkspace",
432073
432567
  "listWorkspaceUsages",