@botpress/client 1.41.0 → 1.42.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.d.ts CHANGED
@@ -3015,6 +3015,9 @@ interface GetOrCreateWorkflowResponse$1 {
3015
3015
  [k: string]: string;
3016
3016
  };
3017
3017
  };
3018
+ meta: {
3019
+ created: boolean;
3020
+ };
3018
3021
  }
3019
3022
 
3020
3023
  interface ListTagValuesRequestHeaders$1 {
@@ -3957,12 +3960,6 @@ interface GetPublicIntegrationByIdResponse$1 {
3957
3960
  };
3958
3961
  };
3959
3962
  };
3960
- /**
3961
- * Optional attributes
3962
- */
3963
- attributes?: {
3964
- [k: string]: string;
3965
- };
3966
3963
  /**
3967
3964
  * Indicates if the integration is a development integration; Dev integrations run locally
3968
3965
  */
@@ -4004,6 +4001,12 @@ interface GetPublicIntegrationByIdResponse$1 {
4004
4001
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
4005
4002
  */
4006
4003
  secrets: string[];
4004
+ /**
4005
+ * Optional key-value attributes from the integration definition
4006
+ */
4007
+ attributes?: {
4008
+ [k: string]: string;
4009
+ };
4007
4010
  ownerWorkspace: {
4008
4011
  id: string;
4009
4012
  handle: string | null;
@@ -4377,12 +4380,6 @@ interface GetPublicIntegrationResponse$1 {
4377
4380
  };
4378
4381
  };
4379
4382
  };
4380
- /**
4381
- * Optional attributes
4382
- */
4383
- attributes?: {
4384
- [k: string]: string;
4385
- };
4386
4383
  /**
4387
4384
  * Indicates if the integration is a development integration; Dev integrations run locally
4388
4385
  */
@@ -4424,6 +4421,12 @@ interface GetPublicIntegrationResponse$1 {
4424
4421
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
4425
4422
  */
4426
4423
  secrets: string[];
4424
+ /**
4425
+ * Optional key-value attributes from the integration definition
4426
+ */
4427
+ attributes?: {
4428
+ [k: string]: string;
4429
+ };
4427
4430
  ownerWorkspace: {
4428
4431
  id: string;
4429
4432
  handle: string | null;
@@ -4710,12 +4713,6 @@ interface GetPublicPluginByIdResponse$1 {
4710
4713
  };
4711
4714
  };
4712
4715
  };
4713
- /**
4714
- * Optional attributes
4715
- */
4716
- attributes?: {
4717
- [k: string]: string;
4718
- };
4719
4716
  /**
4720
4717
  * Title of the plugin. This is the name that will be displayed in the UI
4721
4718
  */
@@ -4745,6 +4742,12 @@ interface GetPublicPluginByIdResponse$1 {
4745
4742
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
4746
4743
  */
4747
4744
  lifecycleStatus: "published" | "deprecated";
4745
+ /**
4746
+ * Optional key-value attributes from the plugin definition
4747
+ */
4748
+ attributes?: {
4749
+ [k: string]: string;
4750
+ };
4748
4751
  };
4749
4752
  }
4750
4753
 
@@ -4959,12 +4962,6 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
4959
4962
  };
4960
4963
  };
4961
4964
  };
4962
- /**
4963
- * Optional attributes
4964
- */
4965
- attributes?: {
4966
- [k: string]: string;
4967
- };
4968
4965
  /**
4969
4966
  * Title of the plugin. This is the name that will be displayed in the UI
4970
4967
  */
@@ -4994,6 +4991,12 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
4994
4991
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
4995
4992
  */
4996
4993
  lifecycleStatus: "published" | "deprecated";
4994
+ /**
4995
+ * Optional key-value attributes from the plugin definition
4996
+ */
4997
+ attributes?: {
4998
+ [k: string]: string;
4999
+ };
4997
5000
  };
4998
5001
  }
4999
5002
 
@@ -5200,12 +5203,6 @@ interface GetPublicPluginResponse$1 {
5200
5203
  };
5201
5204
  };
5202
5205
  };
5203
- /**
5204
- * Optional attributes
5205
- */
5206
- attributes?: {
5207
- [k: string]: string;
5208
- };
5209
5206
  /**
5210
5207
  * Title of the plugin. This is the name that will be displayed in the UI
5211
5208
  */
@@ -5235,6 +5232,12 @@ interface GetPublicPluginResponse$1 {
5235
5232
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5236
5233
  */
5237
5234
  lifecycleStatus: "published" | "deprecated";
5235
+ /**
5236
+ * Optional key-value attributes from the plugin definition
5237
+ */
5238
+ attributes?: {
5239
+ [k: string]: string;
5240
+ };
5238
5241
  };
5239
5242
  }
5240
5243
 
@@ -5452,12 +5455,6 @@ interface GetPublicInterfaceByIdResponse$1 {
5452
5455
  script: string;
5453
5456
  language: string;
5454
5457
  };
5455
- /**
5456
- * Optional attributes
5457
- */
5458
- attributes?: {
5459
- [k: string]: string;
5460
- };
5461
5458
  /**
5462
5459
  * Title of the interface. This is the name that will be displayed in the UI
5463
5460
  */
@@ -5478,6 +5475,12 @@ interface GetPublicInterfaceByIdResponse$1 {
5478
5475
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
5479
5476
  */
5480
5477
  public: boolean;
5478
+ /**
5479
+ * Optional key-value attributes from the interface definition
5480
+ */
5481
+ attributes?: {
5482
+ [k: string]: string;
5483
+ };
5481
5484
  };
5482
5485
  }
5483
5486
 
@@ -5618,12 +5621,6 @@ interface GetPublicInterfaceResponse$1 {
5618
5621
  script: string;
5619
5622
  language: string;
5620
5623
  };
5621
- /**
5622
- * Optional attributes
5623
- */
5624
- attributes?: {
5625
- [k: string]: string;
5626
- };
5627
5624
  /**
5628
5625
  * Title of the interface. This is the name that will be displayed in the UI
5629
5626
  */
@@ -5644,6 +5641,12 @@ interface GetPublicInterfaceResponse$1 {
5644
5641
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
5645
5642
  */
5646
5643
  public: boolean;
5644
+ /**
5645
+ * Optional key-value attributes from the interface definition
5646
+ */
5647
+ attributes?: {
5648
+ [k: string]: string;
5649
+ };
5647
5650
  };
5648
5651
  }
5649
5652
 
@@ -6562,10 +6565,6 @@ interface UpdateBotRequestBody$1 {
6562
6565
  [k: string]: string | null;
6563
6566
  };
6564
6567
  layers?: string[];
6565
- /**
6566
- * UNUSED. Please ignore this field. It will be removed in the near future.
6567
- */
6568
- shouldMergePlugins?: boolean;
6569
6568
  /**
6570
6569
  * Type of the [Bot](#schema_bot)
6571
6570
  */
@@ -7086,7 +7085,6 @@ interface ListBotsResponse$1 {
7086
7085
  interface GetBotRequestHeaders$1 {
7087
7086
  }
7088
7087
  interface GetBotRequestQuery$1 {
7089
- shouldMergePlugins?: boolean;
7090
7088
  }
7091
7089
  interface GetBotRequestParams$1 {
7092
7090
  id: string;
@@ -8946,12 +8944,6 @@ interface CreateIntegrationRequestBody$1 {
8946
8944
  };
8947
8945
  };
8948
8946
  };
8949
- /**
8950
- * Optional attributes
8951
- */
8952
- attributes?: {
8953
- [k: string]: string;
8954
- };
8955
8947
  identifier?: {
8956
8948
  fallbackHandlerScript?: string;
8957
8949
  extractScript?: string;
@@ -9136,6 +9128,12 @@ interface CreateIntegrationRequestBody$1 {
9136
9128
  */
9137
9129
  visibility?: "public" | "private" | "unlisted";
9138
9130
  layers?: string[];
9131
+ /**
9132
+ * Optional key-value attributes from the integration definition
9133
+ */
9134
+ attributes?: {
9135
+ [k: string]: string;
9136
+ };
9139
9137
  }
9140
9138
  type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
9141
9139
  interface CreateIntegrationResponse$1 {
@@ -9488,12 +9486,6 @@ interface CreateIntegrationResponse$1 {
9488
9486
  };
9489
9487
  };
9490
9488
  };
9491
- /**
9492
- * Optional attributes
9493
- */
9494
- attributes?: {
9495
- [k: string]: string;
9496
- };
9497
9489
  /**
9498
9490
  * Indicates if the integration is a development integration; Dev integrations run locally
9499
9491
  */
@@ -9535,6 +9527,12 @@ interface CreateIntegrationResponse$1 {
9535
9527
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
9536
9528
  */
9537
9529
  secrets: string[];
9530
+ /**
9531
+ * Optional key-value attributes from the integration definition
9532
+ */
9533
+ attributes?: {
9534
+ [k: string]: string;
9535
+ };
9538
9536
  };
9539
9537
  }
9540
9538
 
@@ -9693,12 +9691,6 @@ interface ValidateIntegrationCreationRequestBody$1 {
9693
9691
  };
9694
9692
  };
9695
9693
  };
9696
- /**
9697
- * Optional attributes
9698
- */
9699
- attributes?: {
9700
- [k: string]: string;
9701
- };
9702
9694
  identifier?: {
9703
9695
  fallbackHandlerScript?: string;
9704
9696
  extractScript?: string;
@@ -9883,6 +9875,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
9883
9875
  */
9884
9876
  visibility?: "public" | "private" | "unlisted";
9885
9877
  layers?: string[];
9878
+ /**
9879
+ * Optional key-value attributes from the integration definition
9880
+ */
9881
+ attributes?: {
9882
+ [k: string]: string;
9883
+ };
9886
9884
  }
9887
9885
  type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
9888
9886
  interface ValidateIntegrationCreationResponse$1 {
@@ -9945,12 +9943,12 @@ interface UpdateIntegrationRequestBody$1 {
9945
9943
  } | null;
9946
9944
  };
9947
9945
  /**
9948
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
9946
+ * **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
9949
9947
  */
9950
9948
  extraOperations?: {
9951
9949
  [k: string]: {
9952
9950
  enabled: boolean;
9953
- };
9951
+ } | null;
9954
9952
  };
9955
9953
  sdkVersion?: string;
9956
9954
  channels?: {
@@ -10175,7 +10173,7 @@ interface UpdateIntegrationRequestBody$1 {
10175
10173
  } | null;
10176
10174
  };
10177
10175
  /**
10178
- * Optional attributes. Set attributes to null to remove them
10176
+ * Optional key-value attributes. Set attributes to null to remove them
10179
10177
  */
10180
10178
  attributes?: {
10181
10179
  [k: string]: string | null;
@@ -10572,12 +10570,6 @@ interface UpdateIntegrationResponse$1 {
10572
10570
  };
10573
10571
  };
10574
10572
  };
10575
- /**
10576
- * Optional attributes
10577
- */
10578
- attributes?: {
10579
- [k: string]: string;
10580
- };
10581
10573
  /**
10582
10574
  * Indicates if the integration is a development integration; Dev integrations run locally
10583
10575
  */
@@ -10619,6 +10611,12 @@ interface UpdateIntegrationResponse$1 {
10619
10611
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
10620
10612
  */
10621
10613
  secrets: string[];
10614
+ /**
10615
+ * Optional key-value attributes from the integration definition
10616
+ */
10617
+ attributes?: {
10618
+ [k: string]: string;
10619
+ };
10622
10620
  };
10623
10621
  }
10624
10622
 
@@ -10696,12 +10694,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10696
10694
  } | null;
10697
10695
  };
10698
10696
  /**
10699
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
10697
+ * **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
10700
10698
  */
10701
10699
  extraOperations?: {
10702
10700
  [k: string]: {
10703
10701
  enabled: boolean;
10704
- };
10702
+ } | null;
10705
10703
  };
10706
10704
  sdkVersion?: string;
10707
10705
  channels?: {
@@ -10926,7 +10924,7 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10926
10924
  } | null;
10927
10925
  };
10928
10926
  /**
10929
- * Optional attributes. Set attributes to null to remove them
10927
+ * Optional key-value attributes. Set attributes to null to remove them
10930
10928
  */
10931
10929
  attributes?: {
10932
10930
  [k: string]: string | null;
@@ -11454,12 +11452,6 @@ interface GetIntegrationResponse$1 {
11454
11452
  };
11455
11453
  };
11456
11454
  };
11457
- /**
11458
- * Optional attributes
11459
- */
11460
- attributes?: {
11461
- [k: string]: string;
11462
- };
11463
11455
  /**
11464
11456
  * Indicates if the integration is a development integration; Dev integrations run locally
11465
11457
  */
@@ -11501,6 +11493,12 @@ interface GetIntegrationResponse$1 {
11501
11493
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
11502
11494
  */
11503
11495
  secrets: string[];
11496
+ /**
11497
+ * Optional key-value attributes from the integration definition
11498
+ */
11499
+ attributes?: {
11500
+ [k: string]: string;
11501
+ };
11504
11502
  };
11505
11503
  }
11506
11504
 
@@ -11894,12 +11892,6 @@ interface GetIntegrationByNameResponse$1 {
11894
11892
  };
11895
11893
  };
11896
11894
  };
11897
- /**
11898
- * Optional attributes
11899
- */
11900
- attributes?: {
11901
- [k: string]: string;
11902
- };
11903
11895
  /**
11904
11896
  * Indicates if the integration is a development integration; Dev integrations run locally
11905
11897
  */
@@ -11941,6 +11933,12 @@ interface GetIntegrationByNameResponse$1 {
11941
11933
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
11942
11934
  */
11943
11935
  secrets: string[];
11936
+ /**
11937
+ * Optional key-value attributes from the integration definition
11938
+ */
11939
+ attributes?: {
11940
+ [k: string]: string;
11941
+ };
11944
11942
  };
11945
11943
  }
11946
11944
 
@@ -12089,12 +12087,6 @@ interface CreateInterfaceRequestBody$1 {
12089
12087
  script: string;
12090
12088
  language: string;
12091
12089
  };
12092
- /**
12093
- * Optional attributes
12094
- */
12095
- attributes?: {
12096
- [k: string]: string;
12097
- };
12098
12090
  sdkVersion?: string;
12099
12091
  /**
12100
12092
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -12116,6 +12108,12 @@ interface CreateInterfaceRequestBody$1 {
12116
12108
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12117
12109
  */
12118
12110
  public?: boolean;
12111
+ /**
12112
+ * Optional key-value attributes from the interface definition
12113
+ */
12114
+ attributes?: {
12115
+ [k: string]: string;
12116
+ };
12119
12117
  }
12120
12118
  type CreateInterfaceInput$1 = CreateInterfaceRequestBody$1 & CreateInterfaceRequestHeaders$1 & CreateInterfaceRequestQuery$1 & CreateInterfaceRequestParams$1;
12121
12119
  interface CreateInterfaceResponse$1 {
@@ -12244,12 +12242,6 @@ interface CreateInterfaceResponse$1 {
12244
12242
  script: string;
12245
12243
  language: string;
12246
12244
  };
12247
- /**
12248
- * Optional attributes
12249
- */
12250
- attributes?: {
12251
- [k: string]: string;
12252
- };
12253
12245
  /**
12254
12246
  * Title of the interface. This is the name that will be displayed in the UI
12255
12247
  */
@@ -12270,6 +12262,12 @@ interface CreateInterfaceResponse$1 {
12270
12262
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12271
12263
  */
12272
12264
  public: boolean;
12265
+ /**
12266
+ * Optional key-value attributes from the interface definition
12267
+ */
12268
+ attributes?: {
12269
+ [k: string]: string;
12270
+ };
12273
12271
  };
12274
12272
  }
12275
12273
 
@@ -12409,12 +12407,6 @@ interface GetInterfaceResponse$1 {
12409
12407
  script: string;
12410
12408
  language: string;
12411
12409
  };
12412
- /**
12413
- * Optional attributes
12414
- */
12415
- attributes?: {
12416
- [k: string]: string;
12417
- };
12418
12410
  /**
12419
12411
  * Title of the interface. This is the name that will be displayed in the UI
12420
12412
  */
@@ -12435,6 +12427,12 @@ interface GetInterfaceResponse$1 {
12435
12427
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12436
12428
  */
12437
12429
  public: boolean;
12430
+ /**
12431
+ * Optional key-value attributes from the interface definition
12432
+ */
12433
+ attributes?: {
12434
+ [k: string]: string;
12435
+ };
12438
12436
  };
12439
12437
  }
12440
12438
 
@@ -12575,12 +12573,6 @@ interface GetInterfaceByNameResponse$1 {
12575
12573
  script: string;
12576
12574
  language: string;
12577
12575
  };
12578
- /**
12579
- * Optional attributes
12580
- */
12581
- attributes?: {
12582
- [k: string]: string;
12583
- };
12584
12576
  /**
12585
12577
  * Title of the interface. This is the name that will be displayed in the UI
12586
12578
  */
@@ -12601,6 +12593,12 @@ interface GetInterfaceByNameResponse$1 {
12601
12593
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12602
12594
  */
12603
12595
  public: boolean;
12596
+ /**
12597
+ * Optional key-value attributes from the interface definition
12598
+ */
12599
+ attributes?: {
12600
+ [k: string]: string;
12601
+ };
12604
12602
  };
12605
12603
  }
12606
12604
 
@@ -12710,12 +12708,6 @@ interface UpdateInterfaceRequestBody$1 {
12710
12708
  script: string;
12711
12709
  language: string;
12712
12710
  } | null;
12713
- /**
12714
- * Optional attributes. Set attributes to null to remove them
12715
- */
12716
- attributes?: {
12717
- [k: string]: string | null;
12718
- };
12719
12711
  sdkVersion?: string;
12720
12712
  /**
12721
12713
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -12737,6 +12729,12 @@ interface UpdateInterfaceRequestBody$1 {
12737
12729
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12738
12730
  */
12739
12731
  public?: boolean;
12732
+ /**
12733
+ * Optional key-value attributes. Set attributes to null to remove them
12734
+ */
12735
+ attributes?: {
12736
+ [k: string]: string | null;
12737
+ };
12740
12738
  }
12741
12739
  type UpdateInterfaceInput$1 = UpdateInterfaceRequestBody$1 & UpdateInterfaceRequestHeaders$1 & UpdateInterfaceRequestQuery$1 & UpdateInterfaceRequestParams$1;
12742
12740
  interface UpdateInterfaceResponse$1 {
@@ -12865,12 +12863,6 @@ interface UpdateInterfaceResponse$1 {
12865
12863
  script: string;
12866
12864
  language: string;
12867
12865
  };
12868
- /**
12869
- * Optional attributes
12870
- */
12871
- attributes?: {
12872
- [k: string]: string;
12873
- };
12874
12866
  /**
12875
12867
  * Title of the interface. This is the name that will be displayed in the UI
12876
12868
  */
@@ -12891,6 +12883,12 @@ interface UpdateInterfaceResponse$1 {
12891
12883
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12892
12884
  */
12893
12885
  public: boolean;
12886
+ /**
12887
+ * Optional key-value attributes from the interface definition
12888
+ */
12889
+ attributes?: {
12890
+ [k: string]: string;
12891
+ };
12894
12892
  };
12895
12893
  }
12896
12894
 
@@ -13139,12 +13137,6 @@ interface CreatePluginRequestBody$1 {
13139
13137
  };
13140
13138
  };
13141
13139
  };
13142
- /**
13143
- * Optional attributes
13144
- */
13145
- attributes?: {
13146
- [k: string]: string;
13147
- };
13148
13140
  sdkVersion?: string;
13149
13141
  code: {
13150
13142
  /**
@@ -13221,6 +13213,12 @@ interface CreatePluginRequestBody$1 {
13221
13213
  };
13222
13214
  };
13223
13215
  };
13216
+ /**
13217
+ * Optional key-value attributes from the plugin definition
13218
+ */
13219
+ attributes?: {
13220
+ [k: string]: string;
13221
+ };
13224
13222
  }
13225
13223
  type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
13226
13224
  interface CreatePluginResponse$1 {
@@ -13415,12 +13413,6 @@ interface CreatePluginResponse$1 {
13415
13413
  };
13416
13414
  };
13417
13415
  };
13418
- /**
13419
- * Optional attributes
13420
- */
13421
- attributes?: {
13422
- [k: string]: string;
13423
- };
13424
13416
  /**
13425
13417
  * Title of the plugin. This is the name that will be displayed in the UI
13426
13418
  */
@@ -13450,6 +13442,12 @@ interface CreatePluginResponse$1 {
13450
13442
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13451
13443
  */
13452
13444
  lifecycleStatus: "published" | "deprecated";
13445
+ /**
13446
+ * Optional key-value attributes from the plugin definition
13447
+ */
13448
+ attributes?: {
13449
+ [k: string]: string;
13450
+ };
13453
13451
  };
13454
13452
  }
13455
13453
 
@@ -13655,12 +13653,6 @@ interface GetPluginResponse$1 {
13655
13653
  };
13656
13654
  };
13657
13655
  };
13658
- /**
13659
- * Optional attributes
13660
- */
13661
- attributes?: {
13662
- [k: string]: string;
13663
- };
13664
13656
  /**
13665
13657
  * Title of the plugin. This is the name that will be displayed in the UI
13666
13658
  */
@@ -13690,6 +13682,12 @@ interface GetPluginResponse$1 {
13690
13682
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13691
13683
  */
13692
13684
  lifecycleStatus: "published" | "deprecated";
13685
+ /**
13686
+ * Optional key-value attributes from the plugin definition
13687
+ */
13688
+ attributes?: {
13689
+ [k: string]: string;
13690
+ };
13693
13691
  };
13694
13692
  }
13695
13693
 
@@ -13904,12 +13902,6 @@ interface GetDereferencedPluginResponse$1 {
13904
13902
  };
13905
13903
  };
13906
13904
  };
13907
- /**
13908
- * Optional attributes
13909
- */
13910
- attributes?: {
13911
- [k: string]: string;
13912
- };
13913
13905
  /**
13914
13906
  * Title of the plugin. This is the name that will be displayed in the UI
13915
13907
  */
@@ -13939,6 +13931,12 @@ interface GetDereferencedPluginResponse$1 {
13939
13931
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13940
13932
  */
13941
13933
  lifecycleStatus: "published" | "deprecated";
13934
+ /**
13935
+ * Optional key-value attributes from the plugin definition
13936
+ */
13937
+ attributes?: {
13938
+ [k: string]: string;
13939
+ };
13942
13940
  };
13943
13941
  }
13944
13942
 
@@ -14145,12 +14143,6 @@ interface GetPluginByNameResponse$1 {
14145
14143
  };
14146
14144
  };
14147
14145
  };
14148
- /**
14149
- * Optional attributes
14150
- */
14151
- attributes?: {
14152
- [k: string]: string;
14153
- };
14154
14146
  /**
14155
14147
  * Title of the plugin. This is the name that will be displayed in the UI
14156
14148
  */
@@ -14180,6 +14172,12 @@ interface GetPluginByNameResponse$1 {
14180
14172
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14181
14173
  */
14182
14174
  lifecycleStatus: "published" | "deprecated";
14175
+ /**
14176
+ * Optional key-value attributes from the plugin definition
14177
+ */
14178
+ attributes?: {
14179
+ [k: string]: string;
14180
+ };
14183
14181
  };
14184
14182
  }
14185
14183
 
@@ -14330,12 +14328,6 @@ interface UpdatePluginRequestBody$1 {
14330
14328
  } | null;
14331
14329
  };
14332
14330
  };
14333
- /**
14334
- * Optional attributes. Set attributes to null to remove them
14335
- */
14336
- attributes?: {
14337
- [k: string]: string | null;
14338
- };
14339
14331
  sdkVersion?: string;
14340
14332
  code?: {
14341
14333
  /**
@@ -14412,6 +14404,12 @@ interface UpdatePluginRequestBody$1 {
14412
14404
  } | null;
14413
14405
  };
14414
14406
  };
14407
+ /**
14408
+ * Optional key-value attributes. Set attributes to null to remove them
14409
+ */
14410
+ attributes?: {
14411
+ [k: string]: string | null;
14412
+ };
14415
14413
  }
14416
14414
  type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
14417
14415
  interface UpdatePluginResponse$1 {
@@ -14606,12 +14604,6 @@ interface UpdatePluginResponse$1 {
14606
14604
  };
14607
14605
  };
14608
14606
  };
14609
- /**
14610
- * Optional attributes
14611
- */
14612
- attributes?: {
14613
- [k: string]: string;
14614
- };
14615
14607
  /**
14616
14608
  * Title of the plugin. This is the name that will be displayed in the UI
14617
14609
  */
@@ -14641,6 +14633,12 @@ interface UpdatePluginResponse$1 {
14641
14633
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14642
14634
  */
14643
14635
  lifecycleStatus: "published" | "deprecated";
14636
+ /**
14637
+ * Optional key-value attributes from the plugin definition
14638
+ */
14639
+ attributes?: {
14640
+ [k: string]: string;
14641
+ };
14644
14642
  };
14645
14643
  }
14646
14644
 
@@ -15399,10 +15397,16 @@ interface GetPlanResponse$1 {
15399
15397
  description: string;
15400
15398
  prices: {
15401
15399
  month?: {
15400
+ /**
15401
+ * Price in dollars
15402
+ */
15402
15403
  amount: number;
15403
15404
  currency: string;
15404
15405
  };
15405
15406
  year?: {
15407
+ /**
15408
+ * Price in dollars
15409
+ */
15406
15410
  amount: number;
15407
15411
  currency: string;
15408
15412
  };
@@ -15431,10 +15435,16 @@ interface GetPlanResponse {
15431
15435
  description: string;
15432
15436
  prices: {
15433
15437
  month?: {
15438
+ /**
15439
+ * Price in dollars
15440
+ */
15434
15441
  amount: number;
15435
15442
  currency: string;
15436
15443
  };
15437
15444
  year?: {
15445
+ /**
15446
+ * Price in dollars
15447
+ */
15438
15448
  amount: number;
15439
15449
  currency: string;
15440
15450
  };
@@ -15461,8 +15471,11 @@ interface GetAddonResponse$1 {
15461
15471
  id: string;
15462
15472
  name: string;
15463
15473
  description: string;
15474
+ /**
15475
+ * Addon unit price in dollars per month
15476
+ */
15464
15477
  price: number;
15465
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
15478
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
15466
15479
  increment: number;
15467
15480
  increments?: {
15468
15481
  [k: string]: number;
@@ -15486,8 +15499,11 @@ interface GetAddonResponse {
15486
15499
  id: string;
15487
15500
  name: string;
15488
15501
  description: string;
15502
+ /**
15503
+ * Addon unit price in dollars per month
15504
+ */
15489
15505
  price: number;
15490
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
15506
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
15491
15507
  increment: number;
15492
15508
  increments?: {
15493
15509
  [k: string]: number;
@@ -15547,6 +15563,9 @@ interface GetSubscriptionResponse {
15547
15563
  promotionCode: string | null;
15548
15564
  name: string | null;
15549
15565
  percentOff: number | null;
15566
+ /**
15567
+ * Discount amount in dollars, or null if percent-based
15568
+ */
15550
15569
  amountOff: number | null;
15551
15570
  currency: string | null;
15552
15571
  duration: "forever" | "once" | "repeating";
@@ -15593,12 +15612,12 @@ interface PreviewSubscriptionUpdateResponse {
15593
15612
  plan: {
15594
15613
  planId: string;
15595
15614
  interval: "month" | "year";
15596
- effectiveDate: string;
15615
+ effectiveDate: string | null;
15597
15616
  };
15598
15617
  addons: {
15599
15618
  [k: string]: {
15600
15619
  quantity: number;
15601
- effectiveDate: string;
15620
+ effectiveDate: string | null;
15602
15621
  autoAdjusted?: boolean;
15603
15622
  };
15604
15623
  };
@@ -15609,37 +15628,41 @@ interface PreviewSubscriptionUpdateResponse {
15609
15628
  * Prorated charges due immediately (0 for downgrades)
15610
15629
  */
15611
15630
  immediate: {
15631
+ /**
15632
+ * Sum of proration line items only (not next-cycle charges)
15633
+ */
15612
15634
  total: number;
15635
+ /**
15636
+ * Customer account balance applied (negative = credit used)
15637
+ */
15638
+ accountBalance: number;
15639
+ /**
15640
+ * Actual amount charged after credits applied
15641
+ */
15642
+ amountDue: number;
15613
15643
  lineItems: {
15614
- type: "plan" | "addon" | "proration_credit" | "discount";
15615
- id: string;
15616
- description: string;
15617
- amount: number;
15618
- quantity?: number;
15619
- }[];
15620
- };
15621
- /**
15622
- * Monthly recurring cost (addons, or plan if monthly interval)
15623
- */
15624
- monthly: {
15625
- total: number;
15626
- lineItems: {
15627
- type: "plan" | "addon" | "proration_credit" | "discount";
15644
+ type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
15628
15645
  id: string;
15629
15646
  description: string;
15647
+ /**
15648
+ * Line item amount in dollars
15649
+ */
15630
15650
  amount: number;
15631
15651
  quantity?: number;
15632
15652
  }[];
15633
15653
  };
15634
15654
  /**
15635
- * Yearly recurring cost (plan if yearly interval)
15655
+ * Recurring cost for the next billing cycle (plan + addons combined)
15636
15656
  */
15637
- yearly: {
15657
+ nextCycle: {
15638
15658
  total: number;
15639
15659
  lineItems: {
15640
- type: "plan" | "addon" | "proration_credit" | "discount";
15660
+ type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
15641
15661
  id: string;
15642
15662
  description: string;
15663
+ /**
15664
+ * Line item amount in dollars
15665
+ */
15643
15666
  amount: number;
15644
15667
  quantity?: number;
15645
15668
  }[];
@@ -15654,6 +15677,9 @@ interface PreviewSubscriptionUpdateResponse {
15654
15677
  promotionCode: string | null;
15655
15678
  name: string | null;
15656
15679
  percentOff: number | null;
15680
+ /**
15681
+ * Discount amount in dollars, or null if percent-based
15682
+ */
15657
15683
  amountOff: number | null;
15658
15684
  currency: string | null;
15659
15685
  duration: "forever" | "once" | "repeating";
@@ -15661,7 +15687,10 @@ interface PreviewSubscriptionUpdateResponse {
15661
15687
  start: string;
15662
15688
  end: string | null;
15663
15689
  }[];
15664
- currentPeriodEnd: string;
15690
+ /**
15691
+ * Date of the next billing cycle (1st of next month for new subscriptions)
15692
+ */
15693
+ nextBillingDate: string;
15665
15694
  }
15666
15695
 
15667
15696
  interface SetPlanRequestHeaders {
@@ -15727,6 +15756,9 @@ interface SetPlanResponse {
15727
15756
  promotionCode: string | null;
15728
15757
  name: string | null;
15729
15758
  percentOff: number | null;
15759
+ /**
15760
+ * Discount amount in dollars, or null if percent-based
15761
+ */
15730
15762
  amountOff: number | null;
15731
15763
  currency: string | null;
15732
15764
  duration: "forever" | "once" | "repeating";
@@ -15799,6 +15831,9 @@ interface SetAddonsResponse {
15799
15831
  promotionCode: string | null;
15800
15832
  name: string | null;
15801
15833
  percentOff: number | null;
15834
+ /**
15835
+ * Discount amount in dollars, or null if percent-based
15836
+ */
15802
15837
  amountOff: number | null;
15803
15838
  currency: string | null;
15804
15839
  duration: "forever" | "once" | "repeating";
@@ -15861,6 +15896,9 @@ interface SetCancelAtPeriodEndResponse {
15861
15896
  promotionCode: string | null;
15862
15897
  name: string | null;
15863
15898
  percentOff: number | null;
15899
+ /**
15900
+ * Discount amount in dollars, or null if percent-based
15901
+ */
15864
15902
  amountOff: number | null;
15865
15903
  currency: string | null;
15866
15904
  duration: "forever" | "once" | "repeating";
@@ -15986,7 +16024,7 @@ interface CreateCreditGrantResponse {
15986
16024
  * Dollar value of the credit grant (e.g. 10 = $10.00 USD)
15987
16025
  */
15988
16026
  amount: number;
15989
- feature: "human_in_the_loop" | "ratelimit" | "incoming_messages_events" | "integration_spend" | "integration_subscription" | "table_rows" | "bot_count" | "always_alive_count" | "always_alive_concurrency" | "collaborator_count" | "file_storage" | "vector_db_storage" | "indexed_file_count" | "saved_versions";
16027
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
15990
16028
  /**
15991
16029
  * Start of the period (inclusive)
15992
16030
  */
@@ -16012,6 +16050,9 @@ type ListInvoicesInput = ListInvoicesRequestBody & ListInvoicesRequestHeaders &
16012
16050
  interface ListInvoicesResponse {
16013
16051
  invoices: {
16014
16052
  id: string;
16053
+ /**
16054
+ * Invoice amount in dollars
16055
+ */
16015
16056
  amount: number;
16016
16057
  currency: string;
16017
16058
  status: "draft" | "open" | "paid" | "uncollectible" | "void";
@@ -16042,6 +16083,9 @@ interface PayInvoiceRequestBody {
16042
16083
  type PayInvoiceInput = PayInvoiceRequestBody & PayInvoiceRequestHeaders & PayInvoiceRequestQuery & PayInvoiceRequestParams;
16043
16084
  interface PayInvoiceResponse {
16044
16085
  id: string;
16086
+ /**
16087
+ * Invoice amount in dollars
16088
+ */
16045
16089
  amount: number;
16046
16090
  currency: string;
16047
16091
  status: "draft" | "open" | "paid" | "uncollectible" | "void";
@@ -16124,6 +16168,50 @@ interface GetQuotasResponse {
16124
16168
  [k: string]: number;
16125
16169
  }
16126
16170
 
16171
+ interface GetWorkspaceUsageRequestHeaders {
16172
+ }
16173
+ interface GetWorkspaceUsageRequestQuery {
16174
+ }
16175
+ interface GetWorkspaceUsageRequestParams {
16176
+ }
16177
+ interface GetWorkspaceUsageRequestBody {
16178
+ /**
16179
+ * The billing feature to query usage for
16180
+ */
16181
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count";
16182
+ /**
16183
+ * Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
16184
+ */
16185
+ period: string;
16186
+ }
16187
+ type GetWorkspaceUsageInput = GetWorkspaceUsageRequestBody & GetWorkspaceUsageRequestHeaders & GetWorkspaceUsageRequestQuery & GetWorkspaceUsageRequestParams;
16188
+ interface GetWorkspaceUsageResponse {
16189
+ usage?: number;
16190
+ quota: number;
16191
+ }
16192
+
16193
+ interface GetWorkspaceUsagesRequestHeaders {
16194
+ }
16195
+ interface GetWorkspaceUsagesRequestQuery {
16196
+ }
16197
+ interface GetWorkspaceUsagesRequestParams {
16198
+ }
16199
+ interface GetWorkspaceUsagesRequestBody {
16200
+ /**
16201
+ * Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
16202
+ */
16203
+ period: string;
16204
+ }
16205
+ type GetWorkspaceUsagesInput = GetWorkspaceUsagesRequestBody & GetWorkspaceUsagesRequestHeaders & GetWorkspaceUsagesRequestQuery & GetWorkspaceUsagesRequestParams;
16206
+ interface GetWorkspaceUsagesResponse {
16207
+ quotas: {
16208
+ [k: string]: {
16209
+ usage?: number;
16210
+ quota: number;
16211
+ };
16212
+ };
16213
+ }
16214
+
16127
16215
  type ClientProps$7 = {
16128
16216
  toAxiosRequest: typeof toAxiosRequest$3;
16129
16217
  toApiError: typeof toApiError$3;
@@ -16156,6 +16244,8 @@ declare class Client$7 {
16156
16244
  readonly setPaymentMethod: (input: SetPaymentMethodInput) => Promise<SetPaymentMethodResponse>;
16157
16245
  readonly createPaymentMethodIntent: (input: CreatePaymentMethodIntentInput) => Promise<CreatePaymentMethodIntentResponse>;
16158
16246
  readonly getQuotas: (input: GetQuotasInput) => Promise<GetQuotasResponse>;
16247
+ readonly getWorkspaceUsage: (input: GetWorkspaceUsageInput) => Promise<GetWorkspaceUsageResponse>;
16248
+ readonly getWorkspaceUsages: (input: GetWorkspaceUsagesInput) => Promise<GetWorkspaceUsagesResponse>;
16159
16249
  }
16160
16250
  declare function toApiError$3(err: unknown): Error;
16161
16251
 
@@ -22114,6 +22204,9 @@ interface GetOrCreateWorkflowResponse {
22114
22204
  [k: string]: string;
22115
22205
  };
22116
22206
  };
22207
+ meta: {
22208
+ created: boolean;
22209
+ };
22117
22210
  }
22118
22211
 
22119
22212
  interface ListTagValuesRequestHeaders {
@@ -22848,12 +22941,6 @@ interface GetPublicIntegrationByIdResponse {
22848
22941
  };
22849
22942
  };
22850
22943
  };
22851
- /**
22852
- * Optional attributes
22853
- */
22854
- attributes?: {
22855
- [k: string]: string;
22856
- };
22857
22944
  /**
22858
22945
  * Indicates if the integration is a development integration; Dev integrations run locally
22859
22946
  */
@@ -22895,6 +22982,12 @@ interface GetPublicIntegrationByIdResponse {
22895
22982
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
22896
22983
  */
22897
22984
  secrets: string[];
22985
+ /**
22986
+ * Optional key-value attributes from the integration definition
22987
+ */
22988
+ attributes?: {
22989
+ [k: string]: string;
22990
+ };
22898
22991
  ownerWorkspace: {
22899
22992
  id: string;
22900
22993
  handle: string | null;
@@ -23268,12 +23361,6 @@ interface GetPublicIntegrationResponse {
23268
23361
  };
23269
23362
  };
23270
23363
  };
23271
- /**
23272
- * Optional attributes
23273
- */
23274
- attributes?: {
23275
- [k: string]: string;
23276
- };
23277
23364
  /**
23278
23365
  * Indicates if the integration is a development integration; Dev integrations run locally
23279
23366
  */
@@ -23315,6 +23402,12 @@ interface GetPublicIntegrationResponse {
23315
23402
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
23316
23403
  */
23317
23404
  secrets: string[];
23405
+ /**
23406
+ * Optional key-value attributes from the integration definition
23407
+ */
23408
+ attributes?: {
23409
+ [k: string]: string;
23410
+ };
23318
23411
  ownerWorkspace: {
23319
23412
  id: string;
23320
23413
  handle: string | null;
@@ -23601,12 +23694,6 @@ interface GetPublicPluginByIdResponse {
23601
23694
  };
23602
23695
  };
23603
23696
  };
23604
- /**
23605
- * Optional attributes
23606
- */
23607
- attributes?: {
23608
- [k: string]: string;
23609
- };
23610
23697
  /**
23611
23698
  * Title of the plugin. This is the name that will be displayed in the UI
23612
23699
  */
@@ -23636,6 +23723,12 @@ interface GetPublicPluginByIdResponse {
23636
23723
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
23637
23724
  */
23638
23725
  lifecycleStatus: "published" | "deprecated";
23726
+ /**
23727
+ * Optional key-value attributes from the plugin definition
23728
+ */
23729
+ attributes?: {
23730
+ [k: string]: string;
23731
+ };
23639
23732
  };
23640
23733
  }
23641
23734
 
@@ -23850,12 +23943,6 @@ interface GetDereferencedPublicPluginByIdResponse {
23850
23943
  };
23851
23944
  };
23852
23945
  };
23853
- /**
23854
- * Optional attributes
23855
- */
23856
- attributes?: {
23857
- [k: string]: string;
23858
- };
23859
23946
  /**
23860
23947
  * Title of the plugin. This is the name that will be displayed in the UI
23861
23948
  */
@@ -23885,6 +23972,12 @@ interface GetDereferencedPublicPluginByIdResponse {
23885
23972
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
23886
23973
  */
23887
23974
  lifecycleStatus: "published" | "deprecated";
23975
+ /**
23976
+ * Optional key-value attributes from the plugin definition
23977
+ */
23978
+ attributes?: {
23979
+ [k: string]: string;
23980
+ };
23888
23981
  };
23889
23982
  }
23890
23983
 
@@ -24091,12 +24184,6 @@ interface GetPublicPluginResponse {
24091
24184
  };
24092
24185
  };
24093
24186
  };
24094
- /**
24095
- * Optional attributes
24096
- */
24097
- attributes?: {
24098
- [k: string]: string;
24099
- };
24100
24187
  /**
24101
24188
  * Title of the plugin. This is the name that will be displayed in the UI
24102
24189
  */
@@ -24126,6 +24213,12 @@ interface GetPublicPluginResponse {
24126
24213
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
24127
24214
  */
24128
24215
  lifecycleStatus: "published" | "deprecated";
24216
+ /**
24217
+ * Optional key-value attributes from the plugin definition
24218
+ */
24219
+ attributes?: {
24220
+ [k: string]: string;
24221
+ };
24129
24222
  };
24130
24223
  }
24131
24224
 
@@ -24343,12 +24436,6 @@ interface GetPublicInterfaceByIdResponse {
24343
24436
  script: string;
24344
24437
  language: string;
24345
24438
  };
24346
- /**
24347
- * Optional attributes
24348
- */
24349
- attributes?: {
24350
- [k: string]: string;
24351
- };
24352
24439
  /**
24353
24440
  * Title of the interface. This is the name that will be displayed in the UI
24354
24441
  */
@@ -24369,6 +24456,12 @@ interface GetPublicInterfaceByIdResponse {
24369
24456
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
24370
24457
  */
24371
24458
  public: boolean;
24459
+ /**
24460
+ * Optional key-value attributes from the interface definition
24461
+ */
24462
+ attributes?: {
24463
+ [k: string]: string;
24464
+ };
24372
24465
  };
24373
24466
  }
24374
24467
 
@@ -24509,12 +24602,6 @@ interface GetPublicInterfaceResponse {
24509
24602
  script: string;
24510
24603
  language: string;
24511
24604
  };
24512
- /**
24513
- * Optional attributes
24514
- */
24515
- attributes?: {
24516
- [k: string]: string;
24517
- };
24518
24605
  /**
24519
24606
  * Title of the interface. This is the name that will be displayed in the UI
24520
24607
  */
@@ -24535,6 +24622,12 @@ interface GetPublicInterfaceResponse {
24535
24622
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
24536
24623
  */
24537
24624
  public: boolean;
24625
+ /**
24626
+ * Optional key-value attributes from the interface definition
24627
+ */
24628
+ attributes?: {
24629
+ [k: string]: string;
24630
+ };
24538
24631
  };
24539
24632
  }
24540
24633
 
@@ -25453,10 +25546,6 @@ interface UpdateBotRequestBody {
25453
25546
  [k: string]: string | null;
25454
25547
  };
25455
25548
  layers?: string[];
25456
- /**
25457
- * UNUSED. Please ignore this field. It will be removed in the near future.
25458
- */
25459
- shouldMergePlugins?: boolean;
25460
25549
  /**
25461
25550
  * Type of the [Bot](#schema_bot)
25462
25551
  */
@@ -25977,7 +26066,6 @@ interface ListBotsResponse {
25977
26066
  interface GetBotRequestHeaders {
25978
26067
  }
25979
26068
  interface GetBotRequestQuery {
25980
- shouldMergePlugins?: boolean;
25981
26069
  }
25982
26070
  interface GetBotRequestParams {
25983
26071
  id: string;
@@ -27838,12 +27926,6 @@ interface CreateIntegrationRequestBody {
27838
27926
  };
27839
27927
  };
27840
27928
  };
27841
- /**
27842
- * Optional attributes
27843
- */
27844
- attributes?: {
27845
- [k: string]: string;
27846
- };
27847
27929
  identifier?: {
27848
27930
  fallbackHandlerScript?: string;
27849
27931
  extractScript?: string;
@@ -28028,6 +28110,12 @@ interface CreateIntegrationRequestBody {
28028
28110
  */
28029
28111
  visibility?: "public" | "private" | "unlisted";
28030
28112
  layers?: string[];
28113
+ /**
28114
+ * Optional key-value attributes from the integration definition
28115
+ */
28116
+ attributes?: {
28117
+ [k: string]: string;
28118
+ };
28031
28119
  }
28032
28120
  type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
28033
28121
  interface CreateIntegrationResponse {
@@ -28380,12 +28468,6 @@ interface CreateIntegrationResponse {
28380
28468
  };
28381
28469
  };
28382
28470
  };
28383
- /**
28384
- * Optional attributes
28385
- */
28386
- attributes?: {
28387
- [k: string]: string;
28388
- };
28389
28471
  /**
28390
28472
  * Indicates if the integration is a development integration; Dev integrations run locally
28391
28473
  */
@@ -28427,6 +28509,12 @@ interface CreateIntegrationResponse {
28427
28509
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
28428
28510
  */
28429
28511
  secrets: string[];
28512
+ /**
28513
+ * Optional key-value attributes from the integration definition
28514
+ */
28515
+ attributes?: {
28516
+ [k: string]: string;
28517
+ };
28430
28518
  };
28431
28519
  }
28432
28520
 
@@ -28585,12 +28673,6 @@ interface ValidateIntegrationCreationRequestBody {
28585
28673
  };
28586
28674
  };
28587
28675
  };
28588
- /**
28589
- * Optional attributes
28590
- */
28591
- attributes?: {
28592
- [k: string]: string;
28593
- };
28594
28676
  identifier?: {
28595
28677
  fallbackHandlerScript?: string;
28596
28678
  extractScript?: string;
@@ -28775,6 +28857,12 @@ interface ValidateIntegrationCreationRequestBody {
28775
28857
  */
28776
28858
  visibility?: "public" | "private" | "unlisted";
28777
28859
  layers?: string[];
28860
+ /**
28861
+ * Optional key-value attributes from the integration definition
28862
+ */
28863
+ attributes?: {
28864
+ [k: string]: string;
28865
+ };
28778
28866
  }
28779
28867
  type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
28780
28868
  interface ValidateIntegrationCreationResponse {
@@ -28837,12 +28925,12 @@ interface UpdateIntegrationRequestBody {
28837
28925
  } | null;
28838
28926
  };
28839
28927
  /**
28840
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
28928
+ * **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
28841
28929
  */
28842
28930
  extraOperations?: {
28843
28931
  [k: string]: {
28844
28932
  enabled: boolean;
28845
- };
28933
+ } | null;
28846
28934
  };
28847
28935
  sdkVersion?: string;
28848
28936
  channels?: {
@@ -29067,7 +29155,7 @@ interface UpdateIntegrationRequestBody {
29067
29155
  } | null;
29068
29156
  };
29069
29157
  /**
29070
- * Optional attributes. Set attributes to null to remove them
29158
+ * Optional key-value attributes. Set attributes to null to remove them
29071
29159
  */
29072
29160
  attributes?: {
29073
29161
  [k: string]: string | null;
@@ -29464,12 +29552,6 @@ interface UpdateIntegrationResponse {
29464
29552
  };
29465
29553
  };
29466
29554
  };
29467
- /**
29468
- * Optional attributes
29469
- */
29470
- attributes?: {
29471
- [k: string]: string;
29472
- };
29473
29555
  /**
29474
29556
  * Indicates if the integration is a development integration; Dev integrations run locally
29475
29557
  */
@@ -29511,6 +29593,12 @@ interface UpdateIntegrationResponse {
29511
29593
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
29512
29594
  */
29513
29595
  secrets: string[];
29596
+ /**
29597
+ * Optional key-value attributes from the integration definition
29598
+ */
29599
+ attributes?: {
29600
+ [k: string]: string;
29601
+ };
29514
29602
  };
29515
29603
  }
29516
29604
 
@@ -29588,12 +29676,12 @@ interface ValidateIntegrationUpdateRequestBody {
29588
29676
  } | null;
29589
29677
  };
29590
29678
  /**
29591
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
29679
+ * **EXPERIMENTAL** extra integration operations enabled for this integration. Keys map to operation names. A value of `null` or `{ enabled: false }` removes the operation; `{ enabled: true }` enables it. Operations that are not provided are left unchanged.
29592
29680
  */
29593
29681
  extraOperations?: {
29594
29682
  [k: string]: {
29595
29683
  enabled: boolean;
29596
- };
29684
+ } | null;
29597
29685
  };
29598
29686
  sdkVersion?: string;
29599
29687
  channels?: {
@@ -29818,7 +29906,7 @@ interface ValidateIntegrationUpdateRequestBody {
29818
29906
  } | null;
29819
29907
  };
29820
29908
  /**
29821
- * Optional attributes. Set attributes to null to remove them
29909
+ * Optional key-value attributes. Set attributes to null to remove them
29822
29910
  */
29823
29911
  attributes?: {
29824
29912
  [k: string]: string | null;
@@ -30346,12 +30434,6 @@ interface GetIntegrationResponse {
30346
30434
  };
30347
30435
  };
30348
30436
  };
30349
- /**
30350
- * Optional attributes
30351
- */
30352
- attributes?: {
30353
- [k: string]: string;
30354
- };
30355
30437
  /**
30356
30438
  * Indicates if the integration is a development integration; Dev integrations run locally
30357
30439
  */
@@ -30393,6 +30475,12 @@ interface GetIntegrationResponse {
30393
30475
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
30394
30476
  */
30395
30477
  secrets: string[];
30478
+ /**
30479
+ * Optional key-value attributes from the integration definition
30480
+ */
30481
+ attributes?: {
30482
+ [k: string]: string;
30483
+ };
30396
30484
  };
30397
30485
  }
30398
30486
 
@@ -30786,12 +30874,6 @@ interface GetIntegrationByNameResponse {
30786
30874
  };
30787
30875
  };
30788
30876
  };
30789
- /**
30790
- * Optional attributes
30791
- */
30792
- attributes?: {
30793
- [k: string]: string;
30794
- };
30795
30877
  /**
30796
30878
  * Indicates if the integration is a development integration; Dev integrations run locally
30797
30879
  */
@@ -30833,6 +30915,12 @@ interface GetIntegrationByNameResponse {
30833
30915
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
30834
30916
  */
30835
30917
  secrets: string[];
30918
+ /**
30919
+ * Optional key-value attributes from the integration definition
30920
+ */
30921
+ attributes?: {
30922
+ [k: string]: string;
30923
+ };
30836
30924
  };
30837
30925
  }
30838
30926
 
@@ -30981,12 +31069,6 @@ interface CreateInterfaceRequestBody {
30981
31069
  script: string;
30982
31070
  language: string;
30983
31071
  };
30984
- /**
30985
- * Optional attributes
30986
- */
30987
- attributes?: {
30988
- [k: string]: string;
30989
- };
30990
31072
  sdkVersion?: string;
30991
31073
  /**
30992
31074
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -31008,6 +31090,12 @@ interface CreateInterfaceRequestBody {
31008
31090
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31009
31091
  */
31010
31092
  public?: boolean;
31093
+ /**
31094
+ * Optional key-value attributes from the interface definition
31095
+ */
31096
+ attributes?: {
31097
+ [k: string]: string;
31098
+ };
31011
31099
  }
31012
31100
  type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
31013
31101
  interface CreateInterfaceResponse {
@@ -31136,12 +31224,6 @@ interface CreateInterfaceResponse {
31136
31224
  script: string;
31137
31225
  language: string;
31138
31226
  };
31139
- /**
31140
- * Optional attributes
31141
- */
31142
- attributes?: {
31143
- [k: string]: string;
31144
- };
31145
31227
  /**
31146
31228
  * Title of the interface. This is the name that will be displayed in the UI
31147
31229
  */
@@ -31162,6 +31244,12 @@ interface CreateInterfaceResponse {
31162
31244
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31163
31245
  */
31164
31246
  public: boolean;
31247
+ /**
31248
+ * Optional key-value attributes from the interface definition
31249
+ */
31250
+ attributes?: {
31251
+ [k: string]: string;
31252
+ };
31165
31253
  };
31166
31254
  }
31167
31255
 
@@ -31301,12 +31389,6 @@ interface GetInterfaceResponse {
31301
31389
  script: string;
31302
31390
  language: string;
31303
31391
  };
31304
- /**
31305
- * Optional attributes
31306
- */
31307
- attributes?: {
31308
- [k: string]: string;
31309
- };
31310
31392
  /**
31311
31393
  * Title of the interface. This is the name that will be displayed in the UI
31312
31394
  */
@@ -31327,6 +31409,12 @@ interface GetInterfaceResponse {
31327
31409
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31328
31410
  */
31329
31411
  public: boolean;
31412
+ /**
31413
+ * Optional key-value attributes from the interface definition
31414
+ */
31415
+ attributes?: {
31416
+ [k: string]: string;
31417
+ };
31330
31418
  };
31331
31419
  }
31332
31420
 
@@ -31467,12 +31555,6 @@ interface GetInterfaceByNameResponse {
31467
31555
  script: string;
31468
31556
  language: string;
31469
31557
  };
31470
- /**
31471
- * Optional attributes
31472
- */
31473
- attributes?: {
31474
- [k: string]: string;
31475
- };
31476
31558
  /**
31477
31559
  * Title of the interface. This is the name that will be displayed in the UI
31478
31560
  */
@@ -31493,6 +31575,12 @@ interface GetInterfaceByNameResponse {
31493
31575
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31494
31576
  */
31495
31577
  public: boolean;
31578
+ /**
31579
+ * Optional key-value attributes from the interface definition
31580
+ */
31581
+ attributes?: {
31582
+ [k: string]: string;
31583
+ };
31496
31584
  };
31497
31585
  }
31498
31586
 
@@ -31602,12 +31690,6 @@ interface UpdateInterfaceRequestBody {
31602
31690
  script: string;
31603
31691
  language: string;
31604
31692
  } | null;
31605
- /**
31606
- * Optional attributes. Set attributes to null to remove them
31607
- */
31608
- attributes?: {
31609
- [k: string]: string | null;
31610
- };
31611
31693
  sdkVersion?: string;
31612
31694
  /**
31613
31695
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -31629,6 +31711,12 @@ interface UpdateInterfaceRequestBody {
31629
31711
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31630
31712
  */
31631
31713
  public?: boolean;
31714
+ /**
31715
+ * Optional key-value attributes. Set attributes to null to remove them
31716
+ */
31717
+ attributes?: {
31718
+ [k: string]: string | null;
31719
+ };
31632
31720
  }
31633
31721
  type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
31634
31722
  interface UpdateInterfaceResponse {
@@ -31757,12 +31845,6 @@ interface UpdateInterfaceResponse {
31757
31845
  script: string;
31758
31846
  language: string;
31759
31847
  };
31760
- /**
31761
- * Optional attributes
31762
- */
31763
- attributes?: {
31764
- [k: string]: string;
31765
- };
31766
31848
  /**
31767
31849
  * Title of the interface. This is the name that will be displayed in the UI
31768
31850
  */
@@ -31783,6 +31865,12 @@ interface UpdateInterfaceResponse {
31783
31865
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31784
31866
  */
31785
31867
  public: boolean;
31868
+ /**
31869
+ * Optional key-value attributes from the interface definition
31870
+ */
31871
+ attributes?: {
31872
+ [k: string]: string;
31873
+ };
31786
31874
  };
31787
31875
  }
31788
31876
 
@@ -32031,12 +32119,6 @@ interface CreatePluginRequestBody {
32031
32119
  };
32032
32120
  };
32033
32121
  };
32034
- /**
32035
- * Optional attributes
32036
- */
32037
- attributes?: {
32038
- [k: string]: string;
32039
- };
32040
32122
  sdkVersion?: string;
32041
32123
  code: {
32042
32124
  /**
@@ -32113,6 +32195,12 @@ interface CreatePluginRequestBody {
32113
32195
  };
32114
32196
  };
32115
32197
  };
32198
+ /**
32199
+ * Optional key-value attributes from the plugin definition
32200
+ */
32201
+ attributes?: {
32202
+ [k: string]: string;
32203
+ };
32116
32204
  }
32117
32205
  type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
32118
32206
  interface CreatePluginResponse {
@@ -32307,12 +32395,6 @@ interface CreatePluginResponse {
32307
32395
  };
32308
32396
  };
32309
32397
  };
32310
- /**
32311
- * Optional attributes
32312
- */
32313
- attributes?: {
32314
- [k: string]: string;
32315
- };
32316
32398
  /**
32317
32399
  * Title of the plugin. This is the name that will be displayed in the UI
32318
32400
  */
@@ -32342,6 +32424,12 @@ interface CreatePluginResponse {
32342
32424
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32343
32425
  */
32344
32426
  lifecycleStatus: "published" | "deprecated";
32427
+ /**
32428
+ * Optional key-value attributes from the plugin definition
32429
+ */
32430
+ attributes?: {
32431
+ [k: string]: string;
32432
+ };
32345
32433
  };
32346
32434
  }
32347
32435
 
@@ -32547,12 +32635,6 @@ interface GetPluginResponse {
32547
32635
  };
32548
32636
  };
32549
32637
  };
32550
- /**
32551
- * Optional attributes
32552
- */
32553
- attributes?: {
32554
- [k: string]: string;
32555
- };
32556
32638
  /**
32557
32639
  * Title of the plugin. This is the name that will be displayed in the UI
32558
32640
  */
@@ -32582,6 +32664,12 @@ interface GetPluginResponse {
32582
32664
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32583
32665
  */
32584
32666
  lifecycleStatus: "published" | "deprecated";
32667
+ /**
32668
+ * Optional key-value attributes from the plugin definition
32669
+ */
32670
+ attributes?: {
32671
+ [k: string]: string;
32672
+ };
32585
32673
  };
32586
32674
  }
32587
32675
 
@@ -32796,12 +32884,6 @@ interface GetDereferencedPluginResponse {
32796
32884
  };
32797
32885
  };
32798
32886
  };
32799
- /**
32800
- * Optional attributes
32801
- */
32802
- attributes?: {
32803
- [k: string]: string;
32804
- };
32805
32887
  /**
32806
32888
  * Title of the plugin. This is the name that will be displayed in the UI
32807
32889
  */
@@ -32831,6 +32913,12 @@ interface GetDereferencedPluginResponse {
32831
32913
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32832
32914
  */
32833
32915
  lifecycleStatus: "published" | "deprecated";
32916
+ /**
32917
+ * Optional key-value attributes from the plugin definition
32918
+ */
32919
+ attributes?: {
32920
+ [k: string]: string;
32921
+ };
32834
32922
  };
32835
32923
  }
32836
32924
 
@@ -33037,12 +33125,6 @@ interface GetPluginByNameResponse {
33037
33125
  };
33038
33126
  };
33039
33127
  };
33040
- /**
33041
- * Optional attributes
33042
- */
33043
- attributes?: {
33044
- [k: string]: string;
33045
- };
33046
33128
  /**
33047
33129
  * Title of the plugin. This is the name that will be displayed in the UI
33048
33130
  */
@@ -33072,6 +33154,12 @@ interface GetPluginByNameResponse {
33072
33154
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
33073
33155
  */
33074
33156
  lifecycleStatus: "published" | "deprecated";
33157
+ /**
33158
+ * Optional key-value attributes from the plugin definition
33159
+ */
33160
+ attributes?: {
33161
+ [k: string]: string;
33162
+ };
33075
33163
  };
33076
33164
  }
33077
33165
 
@@ -33222,12 +33310,6 @@ interface UpdatePluginRequestBody {
33222
33310
  } | null;
33223
33311
  };
33224
33312
  };
33225
- /**
33226
- * Optional attributes. Set attributes to null to remove them
33227
- */
33228
- attributes?: {
33229
- [k: string]: string | null;
33230
- };
33231
33313
  sdkVersion?: string;
33232
33314
  code?: {
33233
33315
  /**
@@ -33304,6 +33386,12 @@ interface UpdatePluginRequestBody {
33304
33386
  } | null;
33305
33387
  };
33306
33388
  };
33389
+ /**
33390
+ * Optional key-value attributes. Set attributes to null to remove them
33391
+ */
33392
+ attributes?: {
33393
+ [k: string]: string | null;
33394
+ };
33307
33395
  }
33308
33396
  type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
33309
33397
  interface UpdatePluginResponse {
@@ -33498,12 +33586,6 @@ interface UpdatePluginResponse {
33498
33586
  };
33499
33587
  };
33500
33588
  };
33501
- /**
33502
- * Optional attributes
33503
- */
33504
- attributes?: {
33505
- [k: string]: string;
33506
- };
33507
33589
  /**
33508
33590
  * Title of the plugin. This is the name that will be displayed in the UI
33509
33591
  */
@@ -33533,6 +33615,12 @@ interface UpdatePluginResponse {
33533
33615
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
33534
33616
  */
33535
33617
  lifecycleStatus: "published" | "deprecated";
33618
+ /**
33619
+ * Optional key-value attributes from the plugin definition
33620
+ */
33621
+ attributes?: {
33622
+ [k: string]: string;
33623
+ };
33536
33624
  };
33537
33625
  }
33538
33626
 
@@ -37406,12 +37494,6 @@ interface Integration {
37406
37494
  };
37407
37495
  };
37408
37496
  };
37409
- /**
37410
- * Optional attributes
37411
- */
37412
- attributes?: {
37413
- [k: string]: string;
37414
- };
37415
37497
  /**
37416
37498
  * Indicates if the integration is a development integration; Dev integrations run locally
37417
37499
  */
@@ -37453,6 +37535,12 @@ interface Integration {
37453
37535
  * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
37454
37536
  */
37455
37537
  secrets: string[];
37538
+ /**
37539
+ * Optional key-value attributes from the integration definition
37540
+ */
37541
+ attributes?: {
37542
+ [k: string]: string;
37543
+ };
37456
37544
  }
37457
37545
  interface Interface {
37458
37546
  /**
@@ -37579,12 +37667,6 @@ interface Interface {
37579
37667
  script: string;
37580
37668
  language: string;
37581
37669
  };
37582
- /**
37583
- * Optional attributes
37584
- */
37585
- attributes?: {
37586
- [k: string]: string;
37587
- };
37588
37670
  /**
37589
37671
  * Title of the interface. This is the name that will be displayed in the UI
37590
37672
  */
@@ -37605,6 +37687,12 @@ interface Interface {
37605
37687
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
37606
37688
  */
37607
37689
  public: boolean;
37690
+ /**
37691
+ * Optional key-value attributes from the interface definition
37692
+ */
37693
+ attributes?: {
37694
+ [k: string]: string;
37695
+ };
37608
37696
  }
37609
37697
  interface Plugin {
37610
37698
  /**
@@ -37797,12 +37885,6 @@ interface Plugin {
37797
37885
  };
37798
37886
  };
37799
37887
  };
37800
- /**
37801
- * Optional attributes
37802
- */
37803
- attributes?: {
37804
- [k: string]: string;
37805
- };
37806
37888
  /**
37807
37889
  * Title of the plugin. This is the name that will be displayed in the UI
37808
37890
  */
@@ -37832,6 +37914,12 @@ interface Plugin {
37832
37914
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
37833
37915
  */
37834
37916
  lifecycleStatus: "published" | "deprecated";
37917
+ /**
37918
+ * Optional key-value attributes from the plugin definition
37919
+ */
37920
+ attributes?: {
37921
+ [k: string]: string;
37922
+ };
37835
37923
  }
37836
37924
  interface Workspace {
37837
37925
  id: string;