@botpress/client 1.41.0 → 1.43.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
@@ -224,6 +224,7 @@ interface ListConversationsRequestHeaders$1 {
224
224
  }
225
225
  interface ListConversationsRequestQuery$1 {
226
226
  nextToken?: string;
227
+ pageSize?: number;
227
228
  sortField?: "createdAt" | "updatedAt";
228
229
  sortDirection?: "asc" | "desc";
229
230
  tags?: {
@@ -485,6 +486,7 @@ interface ListParticipantsRequestHeaders$1 {
485
486
  }
486
487
  interface ListParticipantsRequestQuery$1 {
487
488
  nextToken?: string;
489
+ pageSize?: number;
488
490
  }
489
491
  interface ListParticipantsRequestParams$1 {
490
492
  id: string;
@@ -820,6 +822,7 @@ interface ListEventsRequestHeaders$1 {
820
822
  }
821
823
  interface ListEventsRequestQuery$1 {
822
824
  nextToken?: string;
825
+ pageSize?: number;
823
826
  type?: string;
824
827
  conversationId?: string;
825
828
  userId?: string;
@@ -1236,6 +1239,7 @@ interface ListMessagesRequestHeaders$1 {
1236
1239
  }
1237
1240
  interface ListMessagesRequestQuery$1 {
1238
1241
  nextToken?: string;
1242
+ pageSize?: number;
1239
1243
  conversationId?: string;
1240
1244
  tags?: {
1241
1245
  [k: string]: string;
@@ -1802,6 +1806,7 @@ interface ListUsersRequestHeaders$1 {
1802
1806
  }
1803
1807
  interface ListUsersRequestQuery$1 {
1804
1808
  nextToken?: string;
1809
+ pageSize?: number;
1805
1810
  conversationId?: string;
1806
1811
  tags?: {
1807
1812
  [k: string]: string;
@@ -2806,6 +2811,7 @@ interface ListWorkflowsRequestHeaders$1 {
2806
2811
  }
2807
2812
  interface ListWorkflowsRequestQuery$1 {
2808
2813
  nextToken?: string;
2814
+ pageSize?: number;
2809
2815
  tags?: {
2810
2816
  [k: string]: string;
2811
2817
  };
@@ -3015,12 +3021,16 @@ interface GetOrCreateWorkflowResponse$1 {
3015
3021
  [k: string]: string;
3016
3022
  };
3017
3023
  };
3024
+ meta: {
3025
+ created: boolean;
3026
+ };
3018
3027
  }
3019
3028
 
3020
3029
  interface ListTagValuesRequestHeaders$1 {
3021
3030
  }
3022
3031
  interface ListTagValuesRequestQuery$1 {
3023
3032
  nextToken?: string;
3033
+ pageSize?: number;
3024
3034
  type: "user" | "conversation" | "message";
3025
3035
  }
3026
3036
  interface ListTagValuesRequestParams$1 {
@@ -3180,6 +3190,7 @@ declare class Client$a extends Client$b {
3180
3190
  } | undefined;
3181
3191
  channel?: string | undefined;
3182
3192
  integrationName?: string | undefined;
3193
+ pageSize?: number | undefined;
3183
3194
  sortField?: "createdAt" | "updatedAt" | undefined;
3184
3195
  sortDirection?: "asc" | "desc" | undefined;
3185
3196
  participantIds?: string[] | undefined;
@@ -3205,6 +3216,7 @@ declare class Client$a extends Client$b {
3205
3216
  }>;
3206
3217
  participants: (props: {
3207
3218
  id: string;
3219
+ pageSize?: number | undefined;
3208
3220
  }) => AsyncCollection<{
3209
3221
  id: string;
3210
3222
  createdAt: string;
@@ -3224,6 +3236,7 @@ declare class Client$a extends Client$b {
3224
3236
  events: (props: {
3225
3237
  status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
3226
3238
  type?: string | undefined;
3239
+ pageSize?: number | undefined;
3227
3240
  userId?: string | undefined;
3228
3241
  conversationId?: string | undefined;
3229
3242
  workflowId?: string | undefined;
@@ -3245,6 +3258,7 @@ declare class Client$a extends Client$b {
3245
3258
  tags?: {
3246
3259
  [x: string]: string;
3247
3260
  } | undefined;
3261
+ pageSize?: number | undefined;
3248
3262
  afterDate?: string | undefined;
3249
3263
  beforeDate?: string | undefined;
3250
3264
  conversationId?: string | undefined;
@@ -3268,6 +3282,7 @@ declare class Client$a extends Client$b {
3268
3282
  tags?: {
3269
3283
  [x: string]: string;
3270
3284
  } | undefined;
3285
+ pageSize?: number | undefined;
3271
3286
  sortField?: "updatedAt" | "createdAt" | undefined;
3272
3287
  sortDirection?: "asc" | "desc" | undefined;
3273
3288
  afterDate?: string | undefined;
@@ -3481,6 +3496,7 @@ interface ListPublicIntegrationsRequestHeaders$1 {
3481
3496
  }
3482
3497
  interface ListPublicIntegrationsRequestQuery$1 {
3483
3498
  nextToken?: string;
3499
+ pageSize?: number;
3484
3500
  limit?: number;
3485
3501
  name?: string;
3486
3502
  version?: string;
@@ -3957,12 +3973,6 @@ interface GetPublicIntegrationByIdResponse$1 {
3957
3973
  };
3958
3974
  };
3959
3975
  };
3960
- /**
3961
- * Optional attributes
3962
- */
3963
- attributes?: {
3964
- [k: string]: string;
3965
- };
3966
3976
  /**
3967
3977
  * Indicates if the integration is a development integration; Dev integrations run locally
3968
3978
  */
@@ -4004,6 +4014,12 @@ interface GetPublicIntegrationByIdResponse$1 {
4004
4014
  * 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
4015
  */
4006
4016
  secrets: string[];
4017
+ /**
4018
+ * Optional key-value attributes from the integration definition
4019
+ */
4020
+ attributes?: {
4021
+ [k: string]: string;
4022
+ };
4007
4023
  ownerWorkspace: {
4008
4024
  id: string;
4009
4025
  handle: string | null;
@@ -4377,12 +4393,6 @@ interface GetPublicIntegrationResponse$1 {
4377
4393
  };
4378
4394
  };
4379
4395
  };
4380
- /**
4381
- * Optional attributes
4382
- */
4383
- attributes?: {
4384
- [k: string]: string;
4385
- };
4386
4396
  /**
4387
4397
  * Indicates if the integration is a development integration; Dev integrations run locally
4388
4398
  */
@@ -4424,6 +4434,12 @@ interface GetPublicIntegrationResponse$1 {
4424
4434
  * 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
4435
  */
4426
4436
  secrets: string[];
4437
+ /**
4438
+ * Optional key-value attributes from the integration definition
4439
+ */
4440
+ attributes?: {
4441
+ [k: string]: string;
4442
+ };
4427
4443
  ownerWorkspace: {
4428
4444
  id: string;
4429
4445
  handle: string | null;
@@ -4440,6 +4456,7 @@ interface ListPublicPluginsRequestHeaders$1 {
4440
4456
  }
4441
4457
  interface ListPublicPluginsRequestQuery$1 {
4442
4458
  nextToken?: string;
4459
+ pageSize?: number;
4443
4460
  name?: string;
4444
4461
  version?: string;
4445
4462
  }
@@ -4710,12 +4727,6 @@ interface GetPublicPluginByIdResponse$1 {
4710
4727
  };
4711
4728
  };
4712
4729
  };
4713
- /**
4714
- * Optional attributes
4715
- */
4716
- attributes?: {
4717
- [k: string]: string;
4718
- };
4719
4730
  /**
4720
4731
  * Title of the plugin. This is the name that will be displayed in the UI
4721
4732
  */
@@ -4745,6 +4756,12 @@ interface GetPublicPluginByIdResponse$1 {
4745
4756
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
4746
4757
  */
4747
4758
  lifecycleStatus: "published" | "deprecated";
4759
+ /**
4760
+ * Optional key-value attributes from the plugin definition
4761
+ */
4762
+ attributes?: {
4763
+ [k: string]: string;
4764
+ };
4748
4765
  };
4749
4766
  }
4750
4767
 
@@ -4959,12 +4976,6 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
4959
4976
  };
4960
4977
  };
4961
4978
  };
4962
- /**
4963
- * Optional attributes
4964
- */
4965
- attributes?: {
4966
- [k: string]: string;
4967
- };
4968
4979
  /**
4969
4980
  * Title of the plugin. This is the name that will be displayed in the UI
4970
4981
  */
@@ -4994,6 +5005,12 @@ interface GetDereferencedPublicPluginByIdResponse$1 {
4994
5005
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
4995
5006
  */
4996
5007
  lifecycleStatus: "published" | "deprecated";
5008
+ /**
5009
+ * Optional key-value attributes from the plugin definition
5010
+ */
5011
+ attributes?: {
5012
+ [k: string]: string;
5013
+ };
4997
5014
  };
4998
5015
  }
4999
5016
 
@@ -5200,12 +5217,6 @@ interface GetPublicPluginResponse$1 {
5200
5217
  };
5201
5218
  };
5202
5219
  };
5203
- /**
5204
- * Optional attributes
5205
- */
5206
- attributes?: {
5207
- [k: string]: string;
5208
- };
5209
5220
  /**
5210
5221
  * Title of the plugin. This is the name that will be displayed in the UI
5211
5222
  */
@@ -5235,6 +5246,12 @@ interface GetPublicPluginResponse$1 {
5235
5246
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
5236
5247
  */
5237
5248
  lifecycleStatus: "published" | "deprecated";
5249
+ /**
5250
+ * Optional key-value attributes from the plugin definition
5251
+ */
5252
+ attributes?: {
5253
+ [k: string]: string;
5254
+ };
5238
5255
  };
5239
5256
  }
5240
5257
 
@@ -5257,6 +5274,7 @@ interface ListPublicInterfacesRequestHeaders$1 {
5257
5274
  }
5258
5275
  interface ListPublicInterfacesRequestQuery$1 {
5259
5276
  nextToken?: string;
5277
+ pageSize?: number;
5260
5278
  name?: string;
5261
5279
  version?: string;
5262
5280
  }
@@ -5452,12 +5470,6 @@ interface GetPublicInterfaceByIdResponse$1 {
5452
5470
  script: string;
5453
5471
  language: string;
5454
5472
  };
5455
- /**
5456
- * Optional attributes
5457
- */
5458
- attributes?: {
5459
- [k: string]: string;
5460
- };
5461
5473
  /**
5462
5474
  * Title of the interface. This is the name that will be displayed in the UI
5463
5475
  */
@@ -5478,6 +5490,12 @@ interface GetPublicInterfaceByIdResponse$1 {
5478
5490
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
5479
5491
  */
5480
5492
  public: boolean;
5493
+ /**
5494
+ * Optional key-value attributes from the interface definition
5495
+ */
5496
+ attributes?: {
5497
+ [k: string]: string;
5498
+ };
5481
5499
  };
5482
5500
  }
5483
5501
 
@@ -5618,12 +5636,6 @@ interface GetPublicInterfaceResponse$1 {
5618
5636
  script: string;
5619
5637
  language: string;
5620
5638
  };
5621
- /**
5622
- * Optional attributes
5623
- */
5624
- attributes?: {
5625
- [k: string]: string;
5626
- };
5627
5639
  /**
5628
5640
  * Title of the interface. This is the name that will be displayed in the UI
5629
5641
  */
@@ -5644,6 +5656,12 @@ interface GetPublicInterfaceResponse$1 {
5644
5656
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
5645
5657
  */
5646
5658
  public: boolean;
5659
+ /**
5660
+ * Optional key-value attributes from the interface definition
5661
+ */
5662
+ attributes?: {
5663
+ [k: string]: string;
5664
+ };
5647
5665
  };
5648
5666
  }
5649
5667
 
@@ -6562,10 +6580,6 @@ interface UpdateBotRequestBody$1 {
6562
6580
  [k: string]: string | null;
6563
6581
  };
6564
6582
  layers?: string[];
6565
- /**
6566
- * UNUSED. Please ignore this field. It will be removed in the near future.
6567
- */
6568
- shouldMergePlugins?: boolean;
6569
6583
  /**
6570
6584
  * Type of the [Bot](#schema_bot)
6571
6585
  */
@@ -7040,6 +7054,7 @@ interface ListBotsRequestQuery$1 {
7040
7054
  integrationNames?: string[];
7041
7055
  pluginNames?: string[];
7042
7056
  nextToken?: string;
7057
+ pageSize?: number;
7043
7058
  sortField?: "createdAt" | "updatedAt";
7044
7059
  sortDirection?: "asc" | "desc";
7045
7060
  }
@@ -7086,7 +7101,6 @@ interface ListBotsResponse$1 {
7086
7101
  interface GetBotRequestHeaders$1 {
7087
7102
  }
7088
7103
  interface GetBotRequestQuery$1 {
7089
- shouldMergePlugins?: boolean;
7090
7104
  }
7091
7105
  interface GetBotRequestParams$1 {
7092
7106
  id: string;
@@ -7658,6 +7672,7 @@ interface ListActionRunsRequestQuery$1 {
7658
7672
  timestampFrom?: string;
7659
7673
  timestampUntil?: string;
7660
7674
  nextToken?: string;
7675
+ pageSize?: number;
7661
7676
  }
7662
7677
  interface ListActionRunsRequestParams$1 {
7663
7678
  id: string;
@@ -7741,6 +7756,7 @@ interface ListBotIssuesRequestHeaders$1 {
7741
7756
  }
7742
7757
  interface ListBotIssuesRequestQuery$1 {
7743
7758
  nextToken?: string;
7759
+ pageSize?: number;
7744
7760
  }
7745
7761
  interface ListBotIssuesRequestParams$1 {
7746
7762
  id: string;
@@ -8494,6 +8510,7 @@ interface ListWorkspacesRequestHeaders$1 {
8494
8510
  }
8495
8511
  interface ListWorkspacesRequestQuery$1 {
8496
8512
  nextToken?: string;
8513
+ pageSize?: number;
8497
8514
  handle?: string;
8498
8515
  }
8499
8516
  interface ListWorkspacesRequestParams$1 {
@@ -8535,6 +8552,7 @@ interface ListPublicWorkspacesRequestHeaders$1 {
8535
8552
  }
8536
8553
  interface ListPublicWorkspacesRequestQuery$1 {
8537
8554
  nextToken?: string;
8555
+ pageSize?: number;
8538
8556
  workspaceIds?: string[];
8539
8557
  search?: string;
8540
8558
  }
@@ -8582,6 +8600,7 @@ interface GetAuditRecordsRequestHeaders$1 {
8582
8600
  }
8583
8601
  interface GetAuditRecordsRequestQuery$1 {
8584
8602
  nextToken?: string;
8603
+ pageSize?: number;
8585
8604
  }
8586
8605
  interface GetAuditRecordsRequestParams$1 {
8587
8606
  id: string;
@@ -8640,6 +8659,7 @@ interface ListWorkspaceMembersRequestHeaders$1 {
8640
8659
  }
8641
8660
  interface ListWorkspaceMembersRequestQuery$1 {
8642
8661
  nextToken?: string;
8662
+ pageSize?: number;
8643
8663
  }
8644
8664
  interface ListWorkspaceMembersRequestParams$1 {
8645
8665
  }
@@ -8946,12 +8966,6 @@ interface CreateIntegrationRequestBody$1 {
8946
8966
  };
8947
8967
  };
8948
8968
  };
8949
- /**
8950
- * Optional attributes
8951
- */
8952
- attributes?: {
8953
- [k: string]: string;
8954
- };
8955
8969
  identifier?: {
8956
8970
  fallbackHandlerScript?: string;
8957
8971
  extractScript?: string;
@@ -9136,6 +9150,12 @@ interface CreateIntegrationRequestBody$1 {
9136
9150
  */
9137
9151
  visibility?: "public" | "private" | "unlisted";
9138
9152
  layers?: string[];
9153
+ /**
9154
+ * Optional key-value attributes from the integration definition
9155
+ */
9156
+ attributes?: {
9157
+ [k: string]: string;
9158
+ };
9139
9159
  }
9140
9160
  type CreateIntegrationInput$1 = CreateIntegrationRequestBody$1 & CreateIntegrationRequestHeaders$1 & CreateIntegrationRequestQuery$1 & CreateIntegrationRequestParams$1;
9141
9161
  interface CreateIntegrationResponse$1 {
@@ -9488,12 +9508,6 @@ interface CreateIntegrationResponse$1 {
9488
9508
  };
9489
9509
  };
9490
9510
  };
9491
- /**
9492
- * Optional attributes
9493
- */
9494
- attributes?: {
9495
- [k: string]: string;
9496
- };
9497
9511
  /**
9498
9512
  * Indicates if the integration is a development integration; Dev integrations run locally
9499
9513
  */
@@ -9535,6 +9549,12 @@ interface CreateIntegrationResponse$1 {
9535
9549
  * 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
9550
  */
9537
9551
  secrets: string[];
9552
+ /**
9553
+ * Optional key-value attributes from the integration definition
9554
+ */
9555
+ attributes?: {
9556
+ [k: string]: string;
9557
+ };
9538
9558
  };
9539
9559
  }
9540
9560
 
@@ -9693,12 +9713,6 @@ interface ValidateIntegrationCreationRequestBody$1 {
9693
9713
  };
9694
9714
  };
9695
9715
  };
9696
- /**
9697
- * Optional attributes
9698
- */
9699
- attributes?: {
9700
- [k: string]: string;
9701
- };
9702
9716
  identifier?: {
9703
9717
  fallbackHandlerScript?: string;
9704
9718
  extractScript?: string;
@@ -9883,6 +9897,12 @@ interface ValidateIntegrationCreationRequestBody$1 {
9883
9897
  */
9884
9898
  visibility?: "public" | "private" | "unlisted";
9885
9899
  layers?: string[];
9900
+ /**
9901
+ * Optional key-value attributes from the integration definition
9902
+ */
9903
+ attributes?: {
9904
+ [k: string]: string;
9905
+ };
9886
9906
  }
9887
9907
  type ValidateIntegrationCreationInput$1 = ValidateIntegrationCreationRequestBody$1 & ValidateIntegrationCreationRequestHeaders$1 & ValidateIntegrationCreationRequestQuery$1 & ValidateIntegrationCreationRequestParams$1;
9888
9908
  interface ValidateIntegrationCreationResponse$1 {
@@ -9945,12 +9965,12 @@ interface UpdateIntegrationRequestBody$1 {
9945
9965
  } | null;
9946
9966
  };
9947
9967
  /**
9948
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
9968
+ * **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
9969
  */
9950
9970
  extraOperations?: {
9951
9971
  [k: string]: {
9952
9972
  enabled: boolean;
9953
- };
9973
+ } | null;
9954
9974
  };
9955
9975
  sdkVersion?: string;
9956
9976
  channels?: {
@@ -10175,7 +10195,7 @@ interface UpdateIntegrationRequestBody$1 {
10175
10195
  } | null;
10176
10196
  };
10177
10197
  /**
10178
- * Optional attributes. Set attributes to null to remove them
10198
+ * Optional key-value attributes. Set attributes to null to remove them
10179
10199
  */
10180
10200
  attributes?: {
10181
10201
  [k: string]: string | null;
@@ -10572,12 +10592,6 @@ interface UpdateIntegrationResponse$1 {
10572
10592
  };
10573
10593
  };
10574
10594
  };
10575
- /**
10576
- * Optional attributes
10577
- */
10578
- attributes?: {
10579
- [k: string]: string;
10580
- };
10581
10595
  /**
10582
10596
  * Indicates if the integration is a development integration; Dev integrations run locally
10583
10597
  */
@@ -10619,6 +10633,12 @@ interface UpdateIntegrationResponse$1 {
10619
10633
  * 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
10634
  */
10621
10635
  secrets: string[];
10636
+ /**
10637
+ * Optional key-value attributes from the integration definition
10638
+ */
10639
+ attributes?: {
10640
+ [k: string]: string;
10641
+ };
10622
10642
  };
10623
10643
  }
10624
10644
 
@@ -10696,12 +10716,12 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10696
10716
  } | null;
10697
10717
  };
10698
10718
  /**
10699
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
10719
+ * **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
10720
  */
10701
10721
  extraOperations?: {
10702
10722
  [k: string]: {
10703
10723
  enabled: boolean;
10704
- };
10724
+ } | null;
10705
10725
  };
10706
10726
  sdkVersion?: string;
10707
10727
  channels?: {
@@ -10926,7 +10946,7 @@ interface ValidateIntegrationUpdateRequestBody$1 {
10926
10946
  } | null;
10927
10947
  };
10928
10948
  /**
10929
- * Optional attributes. Set attributes to null to remove them
10949
+ * Optional key-value attributes. Set attributes to null to remove them
10930
10950
  */
10931
10951
  attributes?: {
10932
10952
  [k: string]: string | null;
@@ -10980,6 +11000,7 @@ interface ListIntegrationsRequestHeaders$1 {
10980
11000
  }
10981
11001
  interface ListIntegrationsRequestQuery$1 {
10982
11002
  nextToken?: string;
11003
+ pageSize?: number;
10983
11004
  limit?: number;
10984
11005
  name?: string;
10985
11006
  version?: string;
@@ -11454,12 +11475,6 @@ interface GetIntegrationResponse$1 {
11454
11475
  };
11455
11476
  };
11456
11477
  };
11457
- /**
11458
- * Optional attributes
11459
- */
11460
- attributes?: {
11461
- [k: string]: string;
11462
- };
11463
11478
  /**
11464
11479
  * Indicates if the integration is a development integration; Dev integrations run locally
11465
11480
  */
@@ -11501,6 +11516,12 @@ interface GetIntegrationResponse$1 {
11501
11516
  * 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
11517
  */
11503
11518
  secrets: string[];
11519
+ /**
11520
+ * Optional key-value attributes from the integration definition
11521
+ */
11522
+ attributes?: {
11523
+ [k: string]: string;
11524
+ };
11504
11525
  };
11505
11526
  }
11506
11527
 
@@ -11894,12 +11915,6 @@ interface GetIntegrationByNameResponse$1 {
11894
11915
  };
11895
11916
  };
11896
11917
  };
11897
- /**
11898
- * Optional attributes
11899
- */
11900
- attributes?: {
11901
- [k: string]: string;
11902
- };
11903
11918
  /**
11904
11919
  * Indicates if the integration is a development integration; Dev integrations run locally
11905
11920
  */
@@ -11941,6 +11956,12 @@ interface GetIntegrationByNameResponse$1 {
11941
11956
  * 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
11957
  */
11943
11958
  secrets: string[];
11959
+ /**
11960
+ * Optional key-value attributes from the integration definition
11961
+ */
11962
+ attributes?: {
11963
+ [k: string]: string;
11964
+ };
11944
11965
  };
11945
11966
  }
11946
11967
 
@@ -12089,12 +12110,6 @@ interface CreateInterfaceRequestBody$1 {
12089
12110
  script: string;
12090
12111
  language: string;
12091
12112
  };
12092
- /**
12093
- * Optional attributes
12094
- */
12095
- attributes?: {
12096
- [k: string]: string;
12097
- };
12098
12113
  sdkVersion?: string;
12099
12114
  /**
12100
12115
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -12116,6 +12131,12 @@ interface CreateInterfaceRequestBody$1 {
12116
12131
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12117
12132
  */
12118
12133
  public?: boolean;
12134
+ /**
12135
+ * Optional key-value attributes from the interface definition
12136
+ */
12137
+ attributes?: {
12138
+ [k: string]: string;
12139
+ };
12119
12140
  }
12120
12141
  type CreateInterfaceInput$1 = CreateInterfaceRequestBody$1 & CreateInterfaceRequestHeaders$1 & CreateInterfaceRequestQuery$1 & CreateInterfaceRequestParams$1;
12121
12142
  interface CreateInterfaceResponse$1 {
@@ -12244,12 +12265,6 @@ interface CreateInterfaceResponse$1 {
12244
12265
  script: string;
12245
12266
  language: string;
12246
12267
  };
12247
- /**
12248
- * Optional attributes
12249
- */
12250
- attributes?: {
12251
- [k: string]: string;
12252
- };
12253
12268
  /**
12254
12269
  * Title of the interface. This is the name that will be displayed in the UI
12255
12270
  */
@@ -12270,6 +12285,12 @@ interface CreateInterfaceResponse$1 {
12270
12285
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12271
12286
  */
12272
12287
  public: boolean;
12288
+ /**
12289
+ * Optional key-value attributes from the interface definition
12290
+ */
12291
+ attributes?: {
12292
+ [k: string]: string;
12293
+ };
12273
12294
  };
12274
12295
  }
12275
12296
 
@@ -12409,12 +12430,6 @@ interface GetInterfaceResponse$1 {
12409
12430
  script: string;
12410
12431
  language: string;
12411
12432
  };
12412
- /**
12413
- * Optional attributes
12414
- */
12415
- attributes?: {
12416
- [k: string]: string;
12417
- };
12418
12433
  /**
12419
12434
  * Title of the interface. This is the name that will be displayed in the UI
12420
12435
  */
@@ -12435,6 +12450,12 @@ interface GetInterfaceResponse$1 {
12435
12450
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12436
12451
  */
12437
12452
  public: boolean;
12453
+ /**
12454
+ * Optional key-value attributes from the interface definition
12455
+ */
12456
+ attributes?: {
12457
+ [k: string]: string;
12458
+ };
12438
12459
  };
12439
12460
  }
12440
12461
 
@@ -12575,12 +12596,6 @@ interface GetInterfaceByNameResponse$1 {
12575
12596
  script: string;
12576
12597
  language: string;
12577
12598
  };
12578
- /**
12579
- * Optional attributes
12580
- */
12581
- attributes?: {
12582
- [k: string]: string;
12583
- };
12584
12599
  /**
12585
12600
  * Title of the interface. This is the name that will be displayed in the UI
12586
12601
  */
@@ -12601,6 +12616,12 @@ interface GetInterfaceByNameResponse$1 {
12601
12616
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12602
12617
  */
12603
12618
  public: boolean;
12619
+ /**
12620
+ * Optional key-value attributes from the interface definition
12621
+ */
12622
+ attributes?: {
12623
+ [k: string]: string;
12624
+ };
12604
12625
  };
12605
12626
  }
12606
12627
 
@@ -12710,12 +12731,6 @@ interface UpdateInterfaceRequestBody$1 {
12710
12731
  script: string;
12711
12732
  language: string;
12712
12733
  } | null;
12713
- /**
12714
- * Optional attributes. Set attributes to null to remove them
12715
- */
12716
- attributes?: {
12717
- [k: string]: string | null;
12718
- };
12719
12734
  sdkVersion?: string;
12720
12735
  /**
12721
12736
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -12737,6 +12752,12 @@ interface UpdateInterfaceRequestBody$1 {
12737
12752
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12738
12753
  */
12739
12754
  public?: boolean;
12755
+ /**
12756
+ * Optional key-value attributes. Set attributes to null to remove them
12757
+ */
12758
+ attributes?: {
12759
+ [k: string]: string | null;
12760
+ };
12740
12761
  }
12741
12762
  type UpdateInterfaceInput$1 = UpdateInterfaceRequestBody$1 & UpdateInterfaceRequestHeaders$1 & UpdateInterfaceRequestQuery$1 & UpdateInterfaceRequestParams$1;
12742
12763
  interface UpdateInterfaceResponse$1 {
@@ -12865,12 +12886,6 @@ interface UpdateInterfaceResponse$1 {
12865
12886
  script: string;
12866
12887
  language: string;
12867
12888
  };
12868
- /**
12869
- * Optional attributes
12870
- */
12871
- attributes?: {
12872
- [k: string]: string;
12873
- };
12874
12889
  /**
12875
12890
  * Title of the interface. This is the name that will be displayed in the UI
12876
12891
  */
@@ -12891,6 +12906,12 @@ interface UpdateInterfaceResponse$1 {
12891
12906
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
12892
12907
  */
12893
12908
  public: boolean;
12909
+ /**
12910
+ * Optional key-value attributes from the interface definition
12911
+ */
12912
+ attributes?: {
12913
+ [k: string]: string;
12914
+ };
12894
12915
  };
12895
12916
  }
12896
12917
 
@@ -12911,6 +12932,7 @@ interface ListInterfacesRequestHeaders$1 {
12911
12932
  }
12912
12933
  interface ListInterfacesRequestQuery$1 {
12913
12934
  nextToken?: string;
12935
+ pageSize?: number;
12914
12936
  name?: string;
12915
12937
  version?: string;
12916
12938
  }
@@ -13139,12 +13161,6 @@ interface CreatePluginRequestBody$1 {
13139
13161
  };
13140
13162
  };
13141
13163
  };
13142
- /**
13143
- * Optional attributes
13144
- */
13145
- attributes?: {
13146
- [k: string]: string;
13147
- };
13148
13164
  sdkVersion?: string;
13149
13165
  code: {
13150
13166
  /**
@@ -13221,6 +13237,12 @@ interface CreatePluginRequestBody$1 {
13221
13237
  };
13222
13238
  };
13223
13239
  };
13240
+ /**
13241
+ * Optional key-value attributes from the plugin definition
13242
+ */
13243
+ attributes?: {
13244
+ [k: string]: string;
13245
+ };
13224
13246
  }
13225
13247
  type CreatePluginInput$1 = CreatePluginRequestBody$1 & CreatePluginRequestHeaders$1 & CreatePluginRequestQuery$1 & CreatePluginRequestParams$1;
13226
13248
  interface CreatePluginResponse$1 {
@@ -13415,12 +13437,6 @@ interface CreatePluginResponse$1 {
13415
13437
  };
13416
13438
  };
13417
13439
  };
13418
- /**
13419
- * Optional attributes
13420
- */
13421
- attributes?: {
13422
- [k: string]: string;
13423
- };
13424
13440
  /**
13425
13441
  * Title of the plugin. This is the name that will be displayed in the UI
13426
13442
  */
@@ -13450,6 +13466,12 @@ interface CreatePluginResponse$1 {
13450
13466
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13451
13467
  */
13452
13468
  lifecycleStatus: "published" | "deprecated";
13469
+ /**
13470
+ * Optional key-value attributes from the plugin definition
13471
+ */
13472
+ attributes?: {
13473
+ [k: string]: string;
13474
+ };
13453
13475
  };
13454
13476
  }
13455
13477
 
@@ -13655,12 +13677,6 @@ interface GetPluginResponse$1 {
13655
13677
  };
13656
13678
  };
13657
13679
  };
13658
- /**
13659
- * Optional attributes
13660
- */
13661
- attributes?: {
13662
- [k: string]: string;
13663
- };
13664
13680
  /**
13665
13681
  * Title of the plugin. This is the name that will be displayed in the UI
13666
13682
  */
@@ -13690,6 +13706,12 @@ interface GetPluginResponse$1 {
13690
13706
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13691
13707
  */
13692
13708
  lifecycleStatus: "published" | "deprecated";
13709
+ /**
13710
+ * Optional key-value attributes from the plugin definition
13711
+ */
13712
+ attributes?: {
13713
+ [k: string]: string;
13714
+ };
13693
13715
  };
13694
13716
  }
13695
13717
 
@@ -13904,12 +13926,6 @@ interface GetDereferencedPluginResponse$1 {
13904
13926
  };
13905
13927
  };
13906
13928
  };
13907
- /**
13908
- * Optional attributes
13909
- */
13910
- attributes?: {
13911
- [k: string]: string;
13912
- };
13913
13929
  /**
13914
13930
  * Title of the plugin. This is the name that will be displayed in the UI
13915
13931
  */
@@ -13939,6 +13955,12 @@ interface GetDereferencedPluginResponse$1 {
13939
13955
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
13940
13956
  */
13941
13957
  lifecycleStatus: "published" | "deprecated";
13958
+ /**
13959
+ * Optional key-value attributes from the plugin definition
13960
+ */
13961
+ attributes?: {
13962
+ [k: string]: string;
13963
+ };
13942
13964
  };
13943
13965
  }
13944
13966
 
@@ -14145,12 +14167,6 @@ interface GetPluginByNameResponse$1 {
14145
14167
  };
14146
14168
  };
14147
14169
  };
14148
- /**
14149
- * Optional attributes
14150
- */
14151
- attributes?: {
14152
- [k: string]: string;
14153
- };
14154
14170
  /**
14155
14171
  * Title of the plugin. This is the name that will be displayed in the UI
14156
14172
  */
@@ -14180,6 +14196,12 @@ interface GetPluginByNameResponse$1 {
14180
14196
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14181
14197
  */
14182
14198
  lifecycleStatus: "published" | "deprecated";
14199
+ /**
14200
+ * Optional key-value attributes from the plugin definition
14201
+ */
14202
+ attributes?: {
14203
+ [k: string]: string;
14204
+ };
14183
14205
  };
14184
14206
  }
14185
14207
 
@@ -14330,12 +14352,6 @@ interface UpdatePluginRequestBody$1 {
14330
14352
  } | null;
14331
14353
  };
14332
14354
  };
14333
- /**
14334
- * Optional attributes. Set attributes to null to remove them
14335
- */
14336
- attributes?: {
14337
- [k: string]: string | null;
14338
- };
14339
14355
  sdkVersion?: string;
14340
14356
  code?: {
14341
14357
  /**
@@ -14412,6 +14428,12 @@ interface UpdatePluginRequestBody$1 {
14412
14428
  } | null;
14413
14429
  };
14414
14430
  };
14431
+ /**
14432
+ * Optional key-value attributes. Set attributes to null to remove them
14433
+ */
14434
+ attributes?: {
14435
+ [k: string]: string | null;
14436
+ };
14415
14437
  }
14416
14438
  type UpdatePluginInput$1 = UpdatePluginRequestBody$1 & UpdatePluginRequestHeaders$1 & UpdatePluginRequestQuery$1 & UpdatePluginRequestParams$1;
14417
14439
  interface UpdatePluginResponse$1 {
@@ -14606,12 +14628,6 @@ interface UpdatePluginResponse$1 {
14606
14628
  };
14607
14629
  };
14608
14630
  };
14609
- /**
14610
- * Optional attributes
14611
- */
14612
- attributes?: {
14613
- [k: string]: string;
14614
- };
14615
14631
  /**
14616
14632
  * Title of the plugin. This is the name that will be displayed in the UI
14617
14633
  */
@@ -14641,6 +14657,12 @@ interface UpdatePluginResponse$1 {
14641
14657
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
14642
14658
  */
14643
14659
  lifecycleStatus: "published" | "deprecated";
14660
+ /**
14661
+ * Optional key-value attributes from the plugin definition
14662
+ */
14663
+ attributes?: {
14664
+ [k: string]: string;
14665
+ };
14644
14666
  };
14645
14667
  }
14646
14668
 
@@ -14661,6 +14683,7 @@ interface ListPluginsRequestHeaders$1 {
14661
14683
  }
14662
14684
  interface ListPluginsRequestQuery$1 {
14663
14685
  nextToken?: string;
14686
+ pageSize?: number;
14664
14687
  name?: string;
14665
14688
  version?: string;
14666
14689
  }
@@ -14861,6 +14884,7 @@ interface ListUsageActivityRequestQuery$1 {
14861
14884
  timestampFrom?: string;
14862
14885
  timestampUntil?: string;
14863
14886
  nextToken?: string;
14887
+ pageSize?: number;
14864
14888
  }
14865
14889
  interface ListUsageActivityRequestParams$1 {
14866
14890
  id: string;
@@ -14889,6 +14913,7 @@ interface ListUsageActivityDailyRequestQuery$1 {
14889
14913
  dateFrom?: string;
14890
14914
  dateUntil?: string;
14891
14915
  nextToken?: string;
14916
+ pageSize?: number;
14892
14917
  }
14893
14918
  interface ListUsageActivityDailyRequestParams$1 {
14894
14919
  id: string;
@@ -14930,6 +14955,7 @@ interface ListActivitiesRequestHeaders$1 {
14930
14955
  }
14931
14956
  interface ListActivitiesRequestQuery$1 {
14932
14957
  nextToken?: string;
14958
+ pageSize?: number;
14933
14959
  taskId: string;
14934
14960
  botId: string;
14935
14961
  }
@@ -15112,6 +15138,7 @@ declare class Client$8 extends Client$9 {
15112
15138
  get list(): {
15113
15139
  publicIntegrations: (props: {
15114
15140
  search?: string | undefined;
15141
+ pageSize?: number | undefined;
15115
15142
  name?: string | undefined;
15116
15143
  limit?: number | undefined;
15117
15144
  version?: string | undefined;
@@ -15158,6 +15185,7 @@ declare class Client$8 extends Client$9 {
15158
15185
  tags?: {
15159
15186
  [x: string]: string;
15160
15187
  } | undefined;
15188
+ pageSize?: number | undefined;
15161
15189
  sortField?: "createdAt" | "updatedAt" | undefined;
15162
15190
  sortDirection?: "asc" | "desc" | undefined;
15163
15191
  dev?: boolean | undefined;
@@ -15176,6 +15204,7 @@ declare class Client$8 extends Client$9 {
15176
15204
  }>;
15177
15205
  botIssues: (props: {
15178
15206
  id: string;
15207
+ pageSize?: number | undefined;
15179
15208
  }) => AsyncCollection<{
15180
15209
  id: string;
15181
15210
  code: string;
@@ -15194,13 +15223,17 @@ declare class Client$8 extends Client$9 {
15194
15223
  resolutionLink: string | null;
15195
15224
  }>;
15196
15225
  workspaces: (props: {
15226
+ pageSize?: number | undefined;
15197
15227
  handle?: string | undefined;
15198
15228
  }) => AsyncCollection<UpdateWorkspaceResponse$2>;
15199
15229
  publicWorkspaces: (props: {
15200
15230
  search?: string | undefined;
15231
+ pageSize?: number | undefined;
15201
15232
  workspaceIds?: string[] | undefined;
15202
15233
  }) => AsyncCollection<GetPublicWorkspaceResponse$2>;
15203
- workspaceMembers: (props: {}) => AsyncCollection<{
15234
+ workspaceMembers: (props: {
15235
+ pageSize?: number | undefined;
15236
+ }) => AsyncCollection<{
15204
15237
  id: string;
15205
15238
  userId?: string;
15206
15239
  email: string;
@@ -15211,6 +15244,7 @@ declare class Client$8 extends Client$9 {
15211
15244
  }>;
15212
15245
  integrations: (props: {
15213
15246
  search?: string | undefined;
15247
+ pageSize?: number | undefined;
15214
15248
  name?: string | undefined;
15215
15249
  limit?: number | undefined;
15216
15250
  version?: string | undefined;
@@ -15252,6 +15286,7 @@ declare class Client$8 extends Client$9 {
15252
15286
  };
15253
15287
  }>;
15254
15288
  interfaces: (props: {
15289
+ pageSize?: number | undefined;
15255
15290
  name?: string | undefined;
15256
15291
  version?: string | undefined;
15257
15292
  }) => AsyncCollection<{
@@ -15268,6 +15303,7 @@ declare class Client$8 extends Client$9 {
15268
15303
  }>;
15269
15304
  activities: (props: {
15270
15305
  botId: string;
15306
+ pageSize?: number | undefined;
15271
15307
  taskId: string;
15272
15308
  }) => AsyncCollection<{
15273
15309
  id: string;
@@ -15282,6 +15318,7 @@ declare class Client$8 extends Client$9 {
15282
15318
  usageActivity: (props: {
15283
15319
  type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
15284
15320
  id: string;
15321
+ pageSize?: number | undefined;
15285
15322
  timestampFrom?: string | undefined;
15286
15323
  timestampUntil?: string | undefined;
15287
15324
  }) => AsyncCollection<{
@@ -15295,6 +15332,7 @@ declare class Client$8 extends Client$9 {
15295
15332
  usageActivityDaily: (props: {
15296
15333
  type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
15297
15334
  id: string;
15335
+ pageSize?: number | undefined;
15298
15336
  dateFrom?: string | undefined;
15299
15337
  dateUntil?: string | undefined;
15300
15338
  }) => AsyncCollection<{
@@ -15399,10 +15437,16 @@ interface GetPlanResponse$1 {
15399
15437
  description: string;
15400
15438
  prices: {
15401
15439
  month?: {
15440
+ /**
15441
+ * Price in dollars
15442
+ */
15402
15443
  amount: number;
15403
15444
  currency: string;
15404
15445
  };
15405
15446
  year?: {
15447
+ /**
15448
+ * Price in dollars
15449
+ */
15406
15450
  amount: number;
15407
15451
  currency: string;
15408
15452
  };
@@ -15431,10 +15475,16 @@ interface GetPlanResponse {
15431
15475
  description: string;
15432
15476
  prices: {
15433
15477
  month?: {
15478
+ /**
15479
+ * Price in dollars
15480
+ */
15434
15481
  amount: number;
15435
15482
  currency: string;
15436
15483
  };
15437
15484
  year?: {
15485
+ /**
15486
+ * Price in dollars
15487
+ */
15438
15488
  amount: number;
15439
15489
  currency: string;
15440
15490
  };
@@ -15461,8 +15511,11 @@ interface GetAddonResponse$1 {
15461
15511
  id: string;
15462
15512
  name: string;
15463
15513
  description: string;
15514
+ /**
15515
+ * Addon unit price in dollars per month
15516
+ */
15464
15517
  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";
15518
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count" | "conversation_sessions";
15466
15519
  increment: number;
15467
15520
  increments?: {
15468
15521
  [k: string]: number;
@@ -15486,8 +15539,11 @@ interface GetAddonResponse {
15486
15539
  id: string;
15487
15540
  name: string;
15488
15541
  description: string;
15542
+ /**
15543
+ * Addon unit price in dollars per month
15544
+ */
15489
15545
  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";
15546
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count" | "conversation_sessions";
15491
15547
  increment: number;
15492
15548
  increments?: {
15493
15549
  [k: string]: number;
@@ -15547,6 +15603,9 @@ interface GetSubscriptionResponse {
15547
15603
  promotionCode: string | null;
15548
15604
  name: string | null;
15549
15605
  percentOff: number | null;
15606
+ /**
15607
+ * Discount amount in dollars, or null if percent-based
15608
+ */
15550
15609
  amountOff: number | null;
15551
15610
  currency: string | null;
15552
15611
  duration: "forever" | "once" | "repeating";
@@ -15593,12 +15652,12 @@ interface PreviewSubscriptionUpdateResponse {
15593
15652
  plan: {
15594
15653
  planId: string;
15595
15654
  interval: "month" | "year";
15596
- effectiveDate: string;
15655
+ effectiveDate: string | null;
15597
15656
  };
15598
15657
  addons: {
15599
15658
  [k: string]: {
15600
15659
  quantity: number;
15601
- effectiveDate: string;
15660
+ effectiveDate: string | null;
15602
15661
  autoAdjusted?: boolean;
15603
15662
  };
15604
15663
  };
@@ -15609,37 +15668,41 @@ interface PreviewSubscriptionUpdateResponse {
15609
15668
  * Prorated charges due immediately (0 for downgrades)
15610
15669
  */
15611
15670
  immediate: {
15671
+ /**
15672
+ * Sum of proration line items only (not next-cycle charges)
15673
+ */
15612
15674
  total: number;
15675
+ /**
15676
+ * Customer account balance applied (negative = credit used)
15677
+ */
15678
+ accountBalance: number;
15679
+ /**
15680
+ * Actual amount charged after credits applied
15681
+ */
15682
+ amountDue: number;
15613
15683
  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";
15684
+ type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
15628
15685
  id: string;
15629
15686
  description: string;
15687
+ /**
15688
+ * Line item amount in dollars
15689
+ */
15630
15690
  amount: number;
15631
15691
  quantity?: number;
15632
15692
  }[];
15633
15693
  };
15634
15694
  /**
15635
- * Yearly recurring cost (plan if yearly interval)
15695
+ * Recurring cost for the next billing cycle (plan + addons combined)
15636
15696
  */
15637
- yearly: {
15697
+ nextCycle: {
15638
15698
  total: number;
15639
15699
  lineItems: {
15640
- type: "plan" | "addon" | "proration_credit" | "discount";
15700
+ type: "plan" | "addon" | "proration_credit" | "proration_charge" | "discount";
15641
15701
  id: string;
15642
15702
  description: string;
15703
+ /**
15704
+ * Line item amount in dollars
15705
+ */
15643
15706
  amount: number;
15644
15707
  quantity?: number;
15645
15708
  }[];
@@ -15654,6 +15717,9 @@ interface PreviewSubscriptionUpdateResponse {
15654
15717
  promotionCode: string | null;
15655
15718
  name: string | null;
15656
15719
  percentOff: number | null;
15720
+ /**
15721
+ * Discount amount in dollars, or null if percent-based
15722
+ */
15657
15723
  amountOff: number | null;
15658
15724
  currency: string | null;
15659
15725
  duration: "forever" | "once" | "repeating";
@@ -15661,7 +15727,10 @@ interface PreviewSubscriptionUpdateResponse {
15661
15727
  start: string;
15662
15728
  end: string | null;
15663
15729
  }[];
15664
- currentPeriodEnd: string;
15730
+ /**
15731
+ * Date of the next billing cycle (1st of next month for new subscriptions)
15732
+ */
15733
+ nextBillingDate: string;
15665
15734
  }
15666
15735
 
15667
15736
  interface SetPlanRequestHeaders {
@@ -15727,6 +15796,9 @@ interface SetPlanResponse {
15727
15796
  promotionCode: string | null;
15728
15797
  name: string | null;
15729
15798
  percentOff: number | null;
15799
+ /**
15800
+ * Discount amount in dollars, or null if percent-based
15801
+ */
15730
15802
  amountOff: number | null;
15731
15803
  currency: string | null;
15732
15804
  duration: "forever" | "once" | "repeating";
@@ -15799,6 +15871,9 @@ interface SetAddonsResponse {
15799
15871
  promotionCode: string | null;
15800
15872
  name: string | null;
15801
15873
  percentOff: number | null;
15874
+ /**
15875
+ * Discount amount in dollars, or null if percent-based
15876
+ */
15802
15877
  amountOff: number | null;
15803
15878
  currency: string | null;
15804
15879
  duration: "forever" | "once" | "repeating";
@@ -15861,6 +15936,9 @@ interface SetCancelAtPeriodEndResponse {
15861
15936
  promotionCode: string | null;
15862
15937
  name: string | null;
15863
15938
  percentOff: number | null;
15939
+ /**
15940
+ * Discount amount in dollars, or null if percent-based
15941
+ */
15864
15942
  amountOff: number | null;
15865
15943
  currency: string | null;
15866
15944
  duration: "forever" | "once" | "repeating";
@@ -15986,7 +16064,7 @@ interface CreateCreditGrantResponse {
15986
16064
  * Dollar value of the credit grant (e.g. 10 = $10.00 USD)
15987
16065
  */
15988
16066
  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";
16067
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count" | "conversation_sessions";
15990
16068
  /**
15991
16069
  * Start of the period (inclusive)
15992
16070
  */
@@ -16003,6 +16081,7 @@ interface ListInvoicesRequestHeaders {
16003
16081
  }
16004
16082
  interface ListInvoicesRequestQuery {
16005
16083
  nextToken?: string;
16084
+ pageSize?: number;
16006
16085
  }
16007
16086
  interface ListInvoicesRequestParams {
16008
16087
  }
@@ -16012,6 +16091,9 @@ type ListInvoicesInput = ListInvoicesRequestBody & ListInvoicesRequestHeaders &
16012
16091
  interface ListInvoicesResponse {
16013
16092
  invoices: {
16014
16093
  id: string;
16094
+ /**
16095
+ * Invoice amount in dollars
16096
+ */
16015
16097
  amount: number;
16016
16098
  currency: string;
16017
16099
  status: "draft" | "open" | "paid" | "uncollectible" | "void";
@@ -16042,6 +16124,9 @@ interface PayInvoiceRequestBody {
16042
16124
  type PayInvoiceInput = PayInvoiceRequestBody & PayInvoiceRequestHeaders & PayInvoiceRequestQuery & PayInvoiceRequestParams;
16043
16125
  interface PayInvoiceResponse {
16044
16126
  id: string;
16127
+ /**
16128
+ * Invoice amount in dollars
16129
+ */
16045
16130
  amount: number;
16046
16131
  currency: string;
16047
16132
  status: "draft" | "open" | "paid" | "uncollectible" | "void";
@@ -16124,6 +16209,47 @@ interface GetQuotasResponse {
16124
16209
  [k: string]: number;
16125
16210
  }
16126
16211
 
16212
+ interface GetWorkspaceUsageRequestHeaders {
16213
+ }
16214
+ interface GetWorkspaceUsageRequestQuery {
16215
+ feature: "incoming_messages_events" | "integration_spend" | "table_rows" | "bot_count" | "collaborator_count" | "file_storage" | "vector_db_storage" | "saved_versions" | "indexed_file_count" | "conversation_sessions";
16216
+ /**
16217
+ * Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
16218
+ */
16219
+ period: string;
16220
+ }
16221
+ interface GetWorkspaceUsageRequestParams {
16222
+ }
16223
+ interface GetWorkspaceUsageRequestBody {
16224
+ }
16225
+ type GetWorkspaceUsageInput = GetWorkspaceUsageRequestBody & GetWorkspaceUsageRequestHeaders & GetWorkspaceUsageRequestQuery & GetWorkspaceUsageRequestParams;
16226
+ interface GetWorkspaceUsageResponse {
16227
+ usage?: number;
16228
+ quota: number;
16229
+ }
16230
+
16231
+ interface GetWorkspaceUsagesRequestHeaders {
16232
+ }
16233
+ interface GetWorkspaceUsagesRequestQuery {
16234
+ /**
16235
+ * Any datetime within the desired billing month, ISO 8601. The month is inferred from this value.
16236
+ */
16237
+ period: string;
16238
+ }
16239
+ interface GetWorkspaceUsagesRequestParams {
16240
+ }
16241
+ interface GetWorkspaceUsagesRequestBody {
16242
+ }
16243
+ type GetWorkspaceUsagesInput = GetWorkspaceUsagesRequestBody & GetWorkspaceUsagesRequestHeaders & GetWorkspaceUsagesRequestQuery & GetWorkspaceUsagesRequestParams;
16244
+ interface GetWorkspaceUsagesResponse {
16245
+ quotas: {
16246
+ [k: string]: {
16247
+ usage?: number;
16248
+ quota: number;
16249
+ };
16250
+ };
16251
+ }
16252
+
16127
16253
  type ClientProps$7 = {
16128
16254
  toAxiosRequest: typeof toAxiosRequest$3;
16129
16255
  toApiError: typeof toApiError$3;
@@ -16156,6 +16282,8 @@ declare class Client$7 {
16156
16282
  readonly setPaymentMethod: (input: SetPaymentMethodInput) => Promise<SetPaymentMethodResponse>;
16157
16283
  readonly createPaymentMethodIntent: (input: CreatePaymentMethodIntentInput) => Promise<CreatePaymentMethodIntentResponse>;
16158
16284
  readonly getQuotas: (input: GetQuotasInput) => Promise<GetQuotasResponse>;
16285
+ readonly getWorkspaceUsage: (input: GetWorkspaceUsageInput) => Promise<GetWorkspaceUsageResponse>;
16286
+ readonly getWorkspaceUsages: (input: GetWorkspaceUsagesInput) => Promise<GetWorkspaceUsagesResponse>;
16159
16287
  }
16160
16288
  declare function toApiError$3(err: unknown): Error;
16161
16289
 
@@ -16171,7 +16299,9 @@ declare class Client$6 extends Client$7 {
16171
16299
  readonly config: Readonly<ClientConfig>;
16172
16300
  constructor(clientProps: ClientProps$6);
16173
16301
  get list(): {
16174
- listInvoices: (props: {}) => AsyncCollection<{
16302
+ listInvoices: (props: {
16303
+ pageSize?: number | undefined;
16304
+ }) => AsyncCollection<{
16175
16305
  id: string;
16176
16306
  amount: number;
16177
16307
  currency: string;
@@ -16481,6 +16611,7 @@ interface ListFilesRequestHeaders$1 {
16481
16611
  }
16482
16612
  interface ListFilesRequestQuery$1 {
16483
16613
  nextToken?: string;
16614
+ pageSize?: number;
16484
16615
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status";
16485
16616
  sortDirection?: "asc" | "desc";
16486
16617
  tags?: any;
@@ -17053,6 +17184,7 @@ interface ListFilePassagesRequestHeaders$1 {
17053
17184
  }
17054
17185
  interface ListFilePassagesRequestQuery$1 {
17055
17186
  nextToken?: string;
17187
+ pageSize?: number;
17056
17188
  limit?: number;
17057
17189
  }
17058
17190
  interface ListFilePassagesRequestParams$1 {
@@ -17136,6 +17268,7 @@ interface ListFileTagsRequestHeaders$1 {
17136
17268
  }
17137
17269
  interface ListFileTagsRequestQuery$1 {
17138
17270
  nextToken?: string;
17271
+ pageSize?: number;
17139
17272
  }
17140
17273
  interface ListFileTagsRequestParams$1 {
17141
17274
  }
@@ -17156,6 +17289,7 @@ interface ListFileTagValuesRequestHeaders$1 {
17156
17289
  }
17157
17290
  interface ListFileTagValuesRequestQuery$1 {
17158
17291
  nextToken?: string;
17292
+ pageSize?: number;
17159
17293
  }
17160
17294
  interface ListFileTagValuesRequestParams$1 {
17161
17295
  tag: string;
@@ -17258,6 +17392,7 @@ interface ListKnowledgeBasesRequestHeaders$1 {
17258
17392
  }
17259
17393
  interface ListKnowledgeBasesRequestQuery$1 {
17260
17394
  nextToken?: string;
17395
+ pageSize?: number;
17261
17396
  tags?: any;
17262
17397
  }
17263
17398
  interface ListKnowledgeBasesRequestParams$1 {
@@ -17341,6 +17476,7 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17341
17476
  get list(): {
17342
17477
  files: (props: {
17343
17478
  tags?: any;
17479
+ pageSize?: number | undefined;
17344
17480
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
17345
17481
  sortDirection?: "asc" | "desc" | undefined;
17346
17482
  ids?: string[] | undefined;
@@ -17375,6 +17511,7 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17375
17511
  }>;
17376
17512
  filePassages: (props: {
17377
17513
  id: string;
17514
+ pageSize?: number | undefined;
17378
17515
  limit?: number | undefined;
17379
17516
  }) => AsyncCollection<{
17380
17517
  id: string;
@@ -17387,12 +17524,16 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17387
17524
  sourceUrl?: string;
17388
17525
  };
17389
17526
  }>;
17390
- fileTags: (props: {}) => AsyncCollection<string>;
17527
+ fileTags: (props: {
17528
+ pageSize?: number | undefined;
17529
+ }) => AsyncCollection<string>;
17391
17530
  fileTagValues: (props: {
17531
+ pageSize?: number | undefined;
17392
17532
  tag: string;
17393
17533
  }) => AsyncCollection<string>;
17394
17534
  knowledgeBases: (props: {
17395
17535
  tags?: any;
17536
+ pageSize?: number | undefined;
17396
17537
  }) => AsyncCollection<{
17397
17538
  id: string;
17398
17539
  name: string;
@@ -19323,6 +19464,7 @@ interface ListConversationsRequestHeaders {
19323
19464
  }
19324
19465
  interface ListConversationsRequestQuery {
19325
19466
  nextToken?: string;
19467
+ pageSize?: number;
19326
19468
  sortField?: "createdAt" | "updatedAt";
19327
19469
  sortDirection?: "asc" | "desc";
19328
19470
  tags?: {
@@ -19584,6 +19726,7 @@ interface ListParticipantsRequestHeaders {
19584
19726
  }
19585
19727
  interface ListParticipantsRequestQuery {
19586
19728
  nextToken?: string;
19729
+ pageSize?: number;
19587
19730
  }
19588
19731
  interface ListParticipantsRequestParams {
19589
19732
  id: string;
@@ -19919,6 +20062,7 @@ interface ListEventsRequestHeaders {
19919
20062
  }
19920
20063
  interface ListEventsRequestQuery {
19921
20064
  nextToken?: string;
20065
+ pageSize?: number;
19922
20066
  type?: string;
19923
20067
  conversationId?: string;
19924
20068
  userId?: string;
@@ -20335,6 +20479,7 @@ interface ListMessagesRequestHeaders {
20335
20479
  }
20336
20480
  interface ListMessagesRequestQuery {
20337
20481
  nextToken?: string;
20482
+ pageSize?: number;
20338
20483
  conversationId?: string;
20339
20484
  tags?: {
20340
20485
  [k: string]: string;
@@ -20901,6 +21046,7 @@ interface ListUsersRequestHeaders {
20901
21046
  }
20902
21047
  interface ListUsersRequestQuery {
20903
21048
  nextToken?: string;
21049
+ pageSize?: number;
20904
21050
  conversationId?: string;
20905
21051
  tags?: {
20906
21052
  [k: string]: string;
@@ -21905,6 +22051,7 @@ interface ListWorkflowsRequestHeaders {
21905
22051
  }
21906
22052
  interface ListWorkflowsRequestQuery {
21907
22053
  nextToken?: string;
22054
+ pageSize?: number;
21908
22055
  tags?: {
21909
22056
  [k: string]: string;
21910
22057
  };
@@ -22114,12 +22261,16 @@ interface GetOrCreateWorkflowResponse {
22114
22261
  [k: string]: string;
22115
22262
  };
22116
22263
  };
22264
+ meta: {
22265
+ created: boolean;
22266
+ };
22117
22267
  }
22118
22268
 
22119
22269
  interface ListTagValuesRequestHeaders {
22120
22270
  }
22121
22271
  interface ListTagValuesRequestQuery {
22122
22272
  nextToken?: string;
22273
+ pageSize?: number;
22123
22274
  type: "user" | "conversation" | "message";
22124
22275
  }
22125
22276
  interface ListTagValuesRequestParams {
@@ -22372,6 +22523,7 @@ interface ListPublicIntegrationsRequestHeaders {
22372
22523
  }
22373
22524
  interface ListPublicIntegrationsRequestQuery {
22374
22525
  nextToken?: string;
22526
+ pageSize?: number;
22375
22527
  limit?: number;
22376
22528
  name?: string;
22377
22529
  version?: string;
@@ -22848,12 +23000,6 @@ interface GetPublicIntegrationByIdResponse {
22848
23000
  };
22849
23001
  };
22850
23002
  };
22851
- /**
22852
- * Optional attributes
22853
- */
22854
- attributes?: {
22855
- [k: string]: string;
22856
- };
22857
23003
  /**
22858
23004
  * Indicates if the integration is a development integration; Dev integrations run locally
22859
23005
  */
@@ -22895,6 +23041,12 @@ interface GetPublicIntegrationByIdResponse {
22895
23041
  * 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
23042
  */
22897
23043
  secrets: string[];
23044
+ /**
23045
+ * Optional key-value attributes from the integration definition
23046
+ */
23047
+ attributes?: {
23048
+ [k: string]: string;
23049
+ };
22898
23050
  ownerWorkspace: {
22899
23051
  id: string;
22900
23052
  handle: string | null;
@@ -23268,12 +23420,6 @@ interface GetPublicIntegrationResponse {
23268
23420
  };
23269
23421
  };
23270
23422
  };
23271
- /**
23272
- * Optional attributes
23273
- */
23274
- attributes?: {
23275
- [k: string]: string;
23276
- };
23277
23423
  /**
23278
23424
  * Indicates if the integration is a development integration; Dev integrations run locally
23279
23425
  */
@@ -23315,6 +23461,12 @@ interface GetPublicIntegrationResponse {
23315
23461
  * 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
23462
  */
23317
23463
  secrets: string[];
23464
+ /**
23465
+ * Optional key-value attributes from the integration definition
23466
+ */
23467
+ attributes?: {
23468
+ [k: string]: string;
23469
+ };
23318
23470
  ownerWorkspace: {
23319
23471
  id: string;
23320
23472
  handle: string | null;
@@ -23331,6 +23483,7 @@ interface ListPublicPluginsRequestHeaders {
23331
23483
  }
23332
23484
  interface ListPublicPluginsRequestQuery {
23333
23485
  nextToken?: string;
23486
+ pageSize?: number;
23334
23487
  name?: string;
23335
23488
  version?: string;
23336
23489
  }
@@ -23601,12 +23754,6 @@ interface GetPublicPluginByIdResponse {
23601
23754
  };
23602
23755
  };
23603
23756
  };
23604
- /**
23605
- * Optional attributes
23606
- */
23607
- attributes?: {
23608
- [k: string]: string;
23609
- };
23610
23757
  /**
23611
23758
  * Title of the plugin. This is the name that will be displayed in the UI
23612
23759
  */
@@ -23636,6 +23783,12 @@ interface GetPublicPluginByIdResponse {
23636
23783
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
23637
23784
  */
23638
23785
  lifecycleStatus: "published" | "deprecated";
23786
+ /**
23787
+ * Optional key-value attributes from the plugin definition
23788
+ */
23789
+ attributes?: {
23790
+ [k: string]: string;
23791
+ };
23639
23792
  };
23640
23793
  }
23641
23794
 
@@ -23850,12 +24003,6 @@ interface GetDereferencedPublicPluginByIdResponse {
23850
24003
  };
23851
24004
  };
23852
24005
  };
23853
- /**
23854
- * Optional attributes
23855
- */
23856
- attributes?: {
23857
- [k: string]: string;
23858
- };
23859
24006
  /**
23860
24007
  * Title of the plugin. This is the name that will be displayed in the UI
23861
24008
  */
@@ -23885,6 +24032,12 @@ interface GetDereferencedPublicPluginByIdResponse {
23885
24032
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
23886
24033
  */
23887
24034
  lifecycleStatus: "published" | "deprecated";
24035
+ /**
24036
+ * Optional key-value attributes from the plugin definition
24037
+ */
24038
+ attributes?: {
24039
+ [k: string]: string;
24040
+ };
23888
24041
  };
23889
24042
  }
23890
24043
 
@@ -24091,12 +24244,6 @@ interface GetPublicPluginResponse {
24091
24244
  };
24092
24245
  };
24093
24246
  };
24094
- /**
24095
- * Optional attributes
24096
- */
24097
- attributes?: {
24098
- [k: string]: string;
24099
- };
24100
24247
  /**
24101
24248
  * Title of the plugin. This is the name that will be displayed in the UI
24102
24249
  */
@@ -24126,6 +24273,12 @@ interface GetPublicPluginResponse {
24126
24273
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
24127
24274
  */
24128
24275
  lifecycleStatus: "published" | "deprecated";
24276
+ /**
24277
+ * Optional key-value attributes from the plugin definition
24278
+ */
24279
+ attributes?: {
24280
+ [k: string]: string;
24281
+ };
24129
24282
  };
24130
24283
  }
24131
24284
 
@@ -24148,6 +24301,7 @@ interface ListPublicInterfacesRequestHeaders {
24148
24301
  }
24149
24302
  interface ListPublicInterfacesRequestQuery {
24150
24303
  nextToken?: string;
24304
+ pageSize?: number;
24151
24305
  name?: string;
24152
24306
  version?: string;
24153
24307
  }
@@ -24343,12 +24497,6 @@ interface GetPublicInterfaceByIdResponse {
24343
24497
  script: string;
24344
24498
  language: string;
24345
24499
  };
24346
- /**
24347
- * Optional attributes
24348
- */
24349
- attributes?: {
24350
- [k: string]: string;
24351
- };
24352
24500
  /**
24353
24501
  * Title of the interface. This is the name that will be displayed in the UI
24354
24502
  */
@@ -24369,6 +24517,12 @@ interface GetPublicInterfaceByIdResponse {
24369
24517
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
24370
24518
  */
24371
24519
  public: boolean;
24520
+ /**
24521
+ * Optional key-value attributes from the interface definition
24522
+ */
24523
+ attributes?: {
24524
+ [k: string]: string;
24525
+ };
24372
24526
  };
24373
24527
  }
24374
24528
 
@@ -24509,12 +24663,6 @@ interface GetPublicInterfaceResponse {
24509
24663
  script: string;
24510
24664
  language: string;
24511
24665
  };
24512
- /**
24513
- * Optional attributes
24514
- */
24515
- attributes?: {
24516
- [k: string]: string;
24517
- };
24518
24666
  /**
24519
24667
  * Title of the interface. This is the name that will be displayed in the UI
24520
24668
  */
@@ -24535,6 +24683,12 @@ interface GetPublicInterfaceResponse {
24535
24683
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
24536
24684
  */
24537
24685
  public: boolean;
24686
+ /**
24687
+ * Optional key-value attributes from the interface definition
24688
+ */
24689
+ attributes?: {
24690
+ [k: string]: string;
24691
+ };
24538
24692
  };
24539
24693
  }
24540
24694
 
@@ -25453,10 +25607,6 @@ interface UpdateBotRequestBody {
25453
25607
  [k: string]: string | null;
25454
25608
  };
25455
25609
  layers?: string[];
25456
- /**
25457
- * UNUSED. Please ignore this field. It will be removed in the near future.
25458
- */
25459
- shouldMergePlugins?: boolean;
25460
25610
  /**
25461
25611
  * Type of the [Bot](#schema_bot)
25462
25612
  */
@@ -25931,6 +26081,7 @@ interface ListBotsRequestQuery {
25931
26081
  integrationNames?: string[];
25932
26082
  pluginNames?: string[];
25933
26083
  nextToken?: string;
26084
+ pageSize?: number;
25934
26085
  sortField?: "createdAt" | "updatedAt";
25935
26086
  sortDirection?: "asc" | "desc";
25936
26087
  }
@@ -25977,7 +26128,6 @@ interface ListBotsResponse {
25977
26128
  interface GetBotRequestHeaders {
25978
26129
  }
25979
26130
  interface GetBotRequestQuery {
25980
- shouldMergePlugins?: boolean;
25981
26131
  }
25982
26132
  interface GetBotRequestParams {
25983
26133
  id: string;
@@ -26549,6 +26699,7 @@ interface ListActionRunsRequestQuery {
26549
26699
  timestampFrom?: string;
26550
26700
  timestampUntil?: string;
26551
26701
  nextToken?: string;
26702
+ pageSize?: number;
26552
26703
  }
26553
26704
  interface ListActionRunsRequestParams {
26554
26705
  id: string;
@@ -26632,6 +26783,7 @@ interface ListBotIssuesRequestHeaders {
26632
26783
  }
26633
26784
  interface ListBotIssuesRequestQuery {
26634
26785
  nextToken?: string;
26786
+ pageSize?: number;
26635
26787
  }
26636
26788
  interface ListBotIssuesRequestParams {
26637
26789
  id: string;
@@ -27385,6 +27537,7 @@ interface ListWorkspacesRequestHeaders {
27385
27537
  }
27386
27538
  interface ListWorkspacesRequestQuery {
27387
27539
  nextToken?: string;
27540
+ pageSize?: number;
27388
27541
  handle?: string;
27389
27542
  }
27390
27543
  interface ListWorkspacesRequestParams {
@@ -27426,6 +27579,7 @@ interface ListPublicWorkspacesRequestHeaders {
27426
27579
  }
27427
27580
  interface ListPublicWorkspacesRequestQuery {
27428
27581
  nextToken?: string;
27582
+ pageSize?: number;
27429
27583
  workspaceIds?: string[];
27430
27584
  search?: string;
27431
27585
  }
@@ -27473,6 +27627,7 @@ interface GetAuditRecordsRequestHeaders {
27473
27627
  }
27474
27628
  interface GetAuditRecordsRequestQuery {
27475
27629
  nextToken?: string;
27630
+ pageSize?: number;
27476
27631
  }
27477
27632
  interface GetAuditRecordsRequestParams {
27478
27633
  id: string;
@@ -27531,6 +27686,7 @@ interface ListWorkspaceMembersRequestHeaders {
27531
27686
  }
27532
27687
  interface ListWorkspaceMembersRequestQuery {
27533
27688
  nextToken?: string;
27689
+ pageSize?: number;
27534
27690
  }
27535
27691
  interface ListWorkspaceMembersRequestParams {
27536
27692
  }
@@ -27838,12 +27994,6 @@ interface CreateIntegrationRequestBody {
27838
27994
  };
27839
27995
  };
27840
27996
  };
27841
- /**
27842
- * Optional attributes
27843
- */
27844
- attributes?: {
27845
- [k: string]: string;
27846
- };
27847
27997
  identifier?: {
27848
27998
  fallbackHandlerScript?: string;
27849
27999
  extractScript?: string;
@@ -28028,6 +28178,12 @@ interface CreateIntegrationRequestBody {
28028
28178
  */
28029
28179
  visibility?: "public" | "private" | "unlisted";
28030
28180
  layers?: string[];
28181
+ /**
28182
+ * Optional key-value attributes from the integration definition
28183
+ */
28184
+ attributes?: {
28185
+ [k: string]: string;
28186
+ };
28031
28187
  }
28032
28188
  type CreateIntegrationInput = CreateIntegrationRequestBody & CreateIntegrationRequestHeaders & CreateIntegrationRequestQuery & CreateIntegrationRequestParams;
28033
28189
  interface CreateIntegrationResponse {
@@ -28380,12 +28536,6 @@ interface CreateIntegrationResponse {
28380
28536
  };
28381
28537
  };
28382
28538
  };
28383
- /**
28384
- * Optional attributes
28385
- */
28386
- attributes?: {
28387
- [k: string]: string;
28388
- };
28389
28539
  /**
28390
28540
  * Indicates if the integration is a development integration; Dev integrations run locally
28391
28541
  */
@@ -28427,6 +28577,12 @@ interface CreateIntegrationResponse {
28427
28577
  * 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
28578
  */
28429
28579
  secrets: string[];
28580
+ /**
28581
+ * Optional key-value attributes from the integration definition
28582
+ */
28583
+ attributes?: {
28584
+ [k: string]: string;
28585
+ };
28430
28586
  };
28431
28587
  }
28432
28588
 
@@ -28585,12 +28741,6 @@ interface ValidateIntegrationCreationRequestBody {
28585
28741
  };
28586
28742
  };
28587
28743
  };
28588
- /**
28589
- * Optional attributes
28590
- */
28591
- attributes?: {
28592
- [k: string]: string;
28593
- };
28594
28744
  identifier?: {
28595
28745
  fallbackHandlerScript?: string;
28596
28746
  extractScript?: string;
@@ -28775,6 +28925,12 @@ interface ValidateIntegrationCreationRequestBody {
28775
28925
  */
28776
28926
  visibility?: "public" | "private" | "unlisted";
28777
28927
  layers?: string[];
28928
+ /**
28929
+ * Optional key-value attributes from the integration definition
28930
+ */
28931
+ attributes?: {
28932
+ [k: string]: string;
28933
+ };
28778
28934
  }
28779
28935
  type ValidateIntegrationCreationInput = ValidateIntegrationCreationRequestBody & ValidateIntegrationCreationRequestHeaders & ValidateIntegrationCreationRequestQuery & ValidateIntegrationCreationRequestParams;
28780
28936
  interface ValidateIntegrationCreationResponse {
@@ -28837,12 +28993,12 @@ interface UpdateIntegrationRequestBody {
28837
28993
  } | null;
28838
28994
  };
28839
28995
  /**
28840
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
28996
+ * **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
28997
  */
28842
28998
  extraOperations?: {
28843
28999
  [k: string]: {
28844
29000
  enabled: boolean;
28845
- };
29001
+ } | null;
28846
29002
  };
28847
29003
  sdkVersion?: string;
28848
29004
  channels?: {
@@ -29067,7 +29223,7 @@ interface UpdateIntegrationRequestBody {
29067
29223
  } | null;
29068
29224
  };
29069
29225
  /**
29070
- * Optional attributes. Set attributes to null to remove them
29226
+ * Optional key-value attributes. Set attributes to null to remove them
29071
29227
  */
29072
29228
  attributes?: {
29073
29229
  [k: string]: string | null;
@@ -29464,12 +29620,6 @@ interface UpdateIntegrationResponse {
29464
29620
  };
29465
29621
  };
29466
29622
  };
29467
- /**
29468
- * Optional attributes
29469
- */
29470
- attributes?: {
29471
- [k: string]: string;
29472
- };
29473
29623
  /**
29474
29624
  * Indicates if the integration is a development integration; Dev integrations run locally
29475
29625
  */
@@ -29511,6 +29661,12 @@ interface UpdateIntegrationResponse {
29511
29661
  * 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
29662
  */
29513
29663
  secrets: string[];
29664
+ /**
29665
+ * Optional key-value attributes from the integration definition
29666
+ */
29667
+ attributes?: {
29668
+ [k: string]: string;
29669
+ };
29514
29670
  };
29515
29671
  }
29516
29672
 
@@ -29588,12 +29744,12 @@ interface ValidateIntegrationUpdateRequestBody {
29588
29744
  } | null;
29589
29745
  };
29590
29746
  /**
29591
- * **EXPERIMENTAL** Extra integration operations that should be sent or not to the integration instances. The key is the operation name.
29747
+ * **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
29748
  */
29593
29749
  extraOperations?: {
29594
29750
  [k: string]: {
29595
29751
  enabled: boolean;
29596
- };
29752
+ } | null;
29597
29753
  };
29598
29754
  sdkVersion?: string;
29599
29755
  channels?: {
@@ -29818,7 +29974,7 @@ interface ValidateIntegrationUpdateRequestBody {
29818
29974
  } | null;
29819
29975
  };
29820
29976
  /**
29821
- * Optional attributes. Set attributes to null to remove them
29977
+ * Optional key-value attributes. Set attributes to null to remove them
29822
29978
  */
29823
29979
  attributes?: {
29824
29980
  [k: string]: string | null;
@@ -29872,6 +30028,7 @@ interface ListIntegrationsRequestHeaders {
29872
30028
  }
29873
30029
  interface ListIntegrationsRequestQuery {
29874
30030
  nextToken?: string;
30031
+ pageSize?: number;
29875
30032
  limit?: number;
29876
30033
  name?: string;
29877
30034
  version?: string;
@@ -30346,12 +30503,6 @@ interface GetIntegrationResponse {
30346
30503
  };
30347
30504
  };
30348
30505
  };
30349
- /**
30350
- * Optional attributes
30351
- */
30352
- attributes?: {
30353
- [k: string]: string;
30354
- };
30355
30506
  /**
30356
30507
  * Indicates if the integration is a development integration; Dev integrations run locally
30357
30508
  */
@@ -30393,6 +30544,12 @@ interface GetIntegrationResponse {
30393
30544
  * 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
30545
  */
30395
30546
  secrets: string[];
30547
+ /**
30548
+ * Optional key-value attributes from the integration definition
30549
+ */
30550
+ attributes?: {
30551
+ [k: string]: string;
30552
+ };
30396
30553
  };
30397
30554
  }
30398
30555
 
@@ -30786,12 +30943,6 @@ interface GetIntegrationByNameResponse {
30786
30943
  };
30787
30944
  };
30788
30945
  };
30789
- /**
30790
- * Optional attributes
30791
- */
30792
- attributes?: {
30793
- [k: string]: string;
30794
- };
30795
30946
  /**
30796
30947
  * Indicates if the integration is a development integration; Dev integrations run locally
30797
30948
  */
@@ -30833,6 +30984,12 @@ interface GetIntegrationByNameResponse {
30833
30984
  * 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
30985
  */
30835
30986
  secrets: string[];
30987
+ /**
30988
+ * Optional key-value attributes from the integration definition
30989
+ */
30990
+ attributes?: {
30991
+ [k: string]: string;
30992
+ };
30836
30993
  };
30837
30994
  }
30838
30995
 
@@ -30981,12 +31138,6 @@ interface CreateInterfaceRequestBody {
30981
31138
  script: string;
30982
31139
  language: string;
30983
31140
  };
30984
- /**
30985
- * Optional attributes
30986
- */
30987
- attributes?: {
30988
- [k: string]: string;
30989
- };
30990
31141
  sdkVersion?: string;
30991
31142
  /**
30992
31143
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -31008,6 +31159,12 @@ interface CreateInterfaceRequestBody {
31008
31159
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31009
31160
  */
31010
31161
  public?: boolean;
31162
+ /**
31163
+ * Optional key-value attributes from the interface definition
31164
+ */
31165
+ attributes?: {
31166
+ [k: string]: string;
31167
+ };
31011
31168
  }
31012
31169
  type CreateInterfaceInput = CreateInterfaceRequestBody & CreateInterfaceRequestHeaders & CreateInterfaceRequestQuery & CreateInterfaceRequestParams;
31013
31170
  interface CreateInterfaceResponse {
@@ -31136,12 +31293,6 @@ interface CreateInterfaceResponse {
31136
31293
  script: string;
31137
31294
  language: string;
31138
31295
  };
31139
- /**
31140
- * Optional attributes
31141
- */
31142
- attributes?: {
31143
- [k: string]: string;
31144
- };
31145
31296
  /**
31146
31297
  * Title of the interface. This is the name that will be displayed in the UI
31147
31298
  */
@@ -31162,6 +31313,12 @@ interface CreateInterfaceResponse {
31162
31313
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31163
31314
  */
31164
31315
  public: boolean;
31316
+ /**
31317
+ * Optional key-value attributes from the interface definition
31318
+ */
31319
+ attributes?: {
31320
+ [k: string]: string;
31321
+ };
31165
31322
  };
31166
31323
  }
31167
31324
 
@@ -31301,12 +31458,6 @@ interface GetInterfaceResponse {
31301
31458
  script: string;
31302
31459
  language: string;
31303
31460
  };
31304
- /**
31305
- * Optional attributes
31306
- */
31307
- attributes?: {
31308
- [k: string]: string;
31309
- };
31310
31461
  /**
31311
31462
  * Title of the interface. This is the name that will be displayed in the UI
31312
31463
  */
@@ -31327,6 +31478,12 @@ interface GetInterfaceResponse {
31327
31478
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31328
31479
  */
31329
31480
  public: boolean;
31481
+ /**
31482
+ * Optional key-value attributes from the interface definition
31483
+ */
31484
+ attributes?: {
31485
+ [k: string]: string;
31486
+ };
31330
31487
  };
31331
31488
  }
31332
31489
 
@@ -31467,12 +31624,6 @@ interface GetInterfaceByNameResponse {
31467
31624
  script: string;
31468
31625
  language: string;
31469
31626
  };
31470
- /**
31471
- * Optional attributes
31472
- */
31473
- attributes?: {
31474
- [k: string]: string;
31475
- };
31476
31627
  /**
31477
31628
  * Title of the interface. This is the name that will be displayed in the UI
31478
31629
  */
@@ -31493,6 +31644,12 @@ interface GetInterfaceByNameResponse {
31493
31644
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31494
31645
  */
31495
31646
  public: boolean;
31647
+ /**
31648
+ * Optional key-value attributes from the interface definition
31649
+ */
31650
+ attributes?: {
31651
+ [k: string]: string;
31652
+ };
31496
31653
  };
31497
31654
  }
31498
31655
 
@@ -31602,12 +31759,6 @@ interface UpdateInterfaceRequestBody {
31602
31759
  script: string;
31603
31760
  language: string;
31604
31761
  } | null;
31605
- /**
31606
- * Optional attributes. Set attributes to null to remove them
31607
- */
31608
- attributes?: {
31609
- [k: string]: string | null;
31610
- };
31611
31762
  sdkVersion?: string;
31612
31763
  /**
31613
31764
  * Base64 encoded svg of the interface icon. This icon is global to the interface each versions will be updated when this changes.
@@ -31629,6 +31780,12 @@ interface UpdateInterfaceRequestBody {
31629
31780
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31630
31781
  */
31631
31782
  public?: boolean;
31783
+ /**
31784
+ * Optional key-value attributes. Set attributes to null to remove them
31785
+ */
31786
+ attributes?: {
31787
+ [k: string]: string | null;
31788
+ };
31632
31789
  }
31633
31790
  type UpdateInterfaceInput = UpdateInterfaceRequestBody & UpdateInterfaceRequestHeaders & UpdateInterfaceRequestQuery & UpdateInterfaceRequestParams;
31634
31791
  interface UpdateInterfaceResponse {
@@ -31757,12 +31914,6 @@ interface UpdateInterfaceResponse {
31757
31914
  script: string;
31758
31915
  language: string;
31759
31916
  };
31760
- /**
31761
- * Optional attributes
31762
- */
31763
- attributes?: {
31764
- [k: string]: string;
31765
- };
31766
31917
  /**
31767
31918
  * Title of the interface. This is the name that will be displayed in the UI
31768
31919
  */
@@ -31783,6 +31934,12 @@ interface UpdateInterfaceResponse {
31783
31934
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
31784
31935
  */
31785
31936
  public: boolean;
31937
+ /**
31938
+ * Optional key-value attributes from the interface definition
31939
+ */
31940
+ attributes?: {
31941
+ [k: string]: string;
31942
+ };
31786
31943
  };
31787
31944
  }
31788
31945
 
@@ -31803,6 +31960,7 @@ interface ListInterfacesRequestHeaders {
31803
31960
  }
31804
31961
  interface ListInterfacesRequestQuery {
31805
31962
  nextToken?: string;
31963
+ pageSize?: number;
31806
31964
  name?: string;
31807
31965
  version?: string;
31808
31966
  }
@@ -32031,12 +32189,6 @@ interface CreatePluginRequestBody {
32031
32189
  };
32032
32190
  };
32033
32191
  };
32034
- /**
32035
- * Optional attributes
32036
- */
32037
- attributes?: {
32038
- [k: string]: string;
32039
- };
32040
32192
  sdkVersion?: string;
32041
32193
  code: {
32042
32194
  /**
@@ -32113,6 +32265,12 @@ interface CreatePluginRequestBody {
32113
32265
  };
32114
32266
  };
32115
32267
  };
32268
+ /**
32269
+ * Optional key-value attributes from the plugin definition
32270
+ */
32271
+ attributes?: {
32272
+ [k: string]: string;
32273
+ };
32116
32274
  }
32117
32275
  type CreatePluginInput = CreatePluginRequestBody & CreatePluginRequestHeaders & CreatePluginRequestQuery & CreatePluginRequestParams;
32118
32276
  interface CreatePluginResponse {
@@ -32307,12 +32465,6 @@ interface CreatePluginResponse {
32307
32465
  };
32308
32466
  };
32309
32467
  };
32310
- /**
32311
- * Optional attributes
32312
- */
32313
- attributes?: {
32314
- [k: string]: string;
32315
- };
32316
32468
  /**
32317
32469
  * Title of the plugin. This is the name that will be displayed in the UI
32318
32470
  */
@@ -32342,6 +32494,12 @@ interface CreatePluginResponse {
32342
32494
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32343
32495
  */
32344
32496
  lifecycleStatus: "published" | "deprecated";
32497
+ /**
32498
+ * Optional key-value attributes from the plugin definition
32499
+ */
32500
+ attributes?: {
32501
+ [k: string]: string;
32502
+ };
32345
32503
  };
32346
32504
  }
32347
32505
 
@@ -32547,12 +32705,6 @@ interface GetPluginResponse {
32547
32705
  };
32548
32706
  };
32549
32707
  };
32550
- /**
32551
- * Optional attributes
32552
- */
32553
- attributes?: {
32554
- [k: string]: string;
32555
- };
32556
32708
  /**
32557
32709
  * Title of the plugin. This is the name that will be displayed in the UI
32558
32710
  */
@@ -32582,6 +32734,12 @@ interface GetPluginResponse {
32582
32734
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32583
32735
  */
32584
32736
  lifecycleStatus: "published" | "deprecated";
32737
+ /**
32738
+ * Optional key-value attributes from the plugin definition
32739
+ */
32740
+ attributes?: {
32741
+ [k: string]: string;
32742
+ };
32585
32743
  };
32586
32744
  }
32587
32745
 
@@ -32796,12 +32954,6 @@ interface GetDereferencedPluginResponse {
32796
32954
  };
32797
32955
  };
32798
32956
  };
32799
- /**
32800
- * Optional attributes
32801
- */
32802
- attributes?: {
32803
- [k: string]: string;
32804
- };
32805
32957
  /**
32806
32958
  * Title of the plugin. This is the name that will be displayed in the UI
32807
32959
  */
@@ -32831,6 +32983,12 @@ interface GetDereferencedPluginResponse {
32831
32983
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
32832
32984
  */
32833
32985
  lifecycleStatus: "published" | "deprecated";
32986
+ /**
32987
+ * Optional key-value attributes from the plugin definition
32988
+ */
32989
+ attributes?: {
32990
+ [k: string]: string;
32991
+ };
32834
32992
  };
32835
32993
  }
32836
32994
 
@@ -33037,12 +33195,6 @@ interface GetPluginByNameResponse {
33037
33195
  };
33038
33196
  };
33039
33197
  };
33040
- /**
33041
- * Optional attributes
33042
- */
33043
- attributes?: {
33044
- [k: string]: string;
33045
- };
33046
33198
  /**
33047
33199
  * Title of the plugin. This is the name that will be displayed in the UI
33048
33200
  */
@@ -33072,6 +33224,12 @@ interface GetPluginByNameResponse {
33072
33224
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
33073
33225
  */
33074
33226
  lifecycleStatus: "published" | "deprecated";
33227
+ /**
33228
+ * Optional key-value attributes from the plugin definition
33229
+ */
33230
+ attributes?: {
33231
+ [k: string]: string;
33232
+ };
33075
33233
  };
33076
33234
  }
33077
33235
 
@@ -33222,12 +33380,6 @@ interface UpdatePluginRequestBody {
33222
33380
  } | null;
33223
33381
  };
33224
33382
  };
33225
- /**
33226
- * Optional attributes. Set attributes to null to remove them
33227
- */
33228
- attributes?: {
33229
- [k: string]: string | null;
33230
- };
33231
33383
  sdkVersion?: string;
33232
33384
  code?: {
33233
33385
  /**
@@ -33304,6 +33456,12 @@ interface UpdatePluginRequestBody {
33304
33456
  } | null;
33305
33457
  };
33306
33458
  };
33459
+ /**
33460
+ * Optional key-value attributes. Set attributes to null to remove them
33461
+ */
33462
+ attributes?: {
33463
+ [k: string]: string | null;
33464
+ };
33307
33465
  }
33308
33466
  type UpdatePluginInput = UpdatePluginRequestBody & UpdatePluginRequestHeaders & UpdatePluginRequestQuery & UpdatePluginRequestParams;
33309
33467
  interface UpdatePluginResponse {
@@ -33498,12 +33656,6 @@ interface UpdatePluginResponse {
33498
33656
  };
33499
33657
  };
33500
33658
  };
33501
- /**
33502
- * Optional attributes
33503
- */
33504
- attributes?: {
33505
- [k: string]: string;
33506
- };
33507
33659
  /**
33508
33660
  * Title of the plugin. This is the name that will be displayed in the UI
33509
33661
  */
@@ -33533,6 +33685,12 @@ interface UpdatePluginResponse {
33533
33685
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
33534
33686
  */
33535
33687
  lifecycleStatus: "published" | "deprecated";
33688
+ /**
33689
+ * Optional key-value attributes from the plugin definition
33690
+ */
33691
+ attributes?: {
33692
+ [k: string]: string;
33693
+ };
33536
33694
  };
33537
33695
  }
33538
33696
 
@@ -33553,6 +33711,7 @@ interface ListPluginsRequestHeaders {
33553
33711
  }
33554
33712
  interface ListPluginsRequestQuery {
33555
33713
  nextToken?: string;
33714
+ pageSize?: number;
33556
33715
  name?: string;
33557
33716
  version?: string;
33558
33717
  }
@@ -33753,6 +33912,7 @@ interface ListUsageActivityRequestQuery {
33753
33912
  timestampFrom?: string;
33754
33913
  timestampUntil?: string;
33755
33914
  nextToken?: string;
33915
+ pageSize?: number;
33756
33916
  }
33757
33917
  interface ListUsageActivityRequestParams {
33758
33918
  id: string;
@@ -33781,6 +33941,7 @@ interface ListUsageActivityDailyRequestQuery {
33781
33941
  dateFrom?: string;
33782
33942
  dateUntil?: string;
33783
33943
  nextToken?: string;
33944
+ pageSize?: number;
33784
33945
  }
33785
33946
  interface ListUsageActivityDailyRequestParams {
33786
33947
  id: string;
@@ -33822,6 +33983,7 @@ interface ListActivitiesRequestHeaders {
33822
33983
  }
33823
33984
  interface ListActivitiesRequestQuery {
33824
33985
  nextToken?: string;
33986
+ pageSize?: number;
33825
33987
  taskId: string;
33826
33988
  botId: string;
33827
33989
  }
@@ -34144,6 +34306,7 @@ interface ListFilesRequestHeaders {
34144
34306
  }
34145
34307
  interface ListFilesRequestQuery {
34146
34308
  nextToken?: string;
34309
+ pageSize?: number;
34147
34310
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status";
34148
34311
  sortDirection?: "asc" | "desc";
34149
34312
  tags?: any;
@@ -34716,6 +34879,7 @@ interface ListFilePassagesRequestHeaders {
34716
34879
  }
34717
34880
  interface ListFilePassagesRequestQuery {
34718
34881
  nextToken?: string;
34882
+ pageSize?: number;
34719
34883
  limit?: number;
34720
34884
  }
34721
34885
  interface ListFilePassagesRequestParams {
@@ -34799,6 +34963,7 @@ interface ListFileTagsRequestHeaders {
34799
34963
  }
34800
34964
  interface ListFileTagsRequestQuery {
34801
34965
  nextToken?: string;
34966
+ pageSize?: number;
34802
34967
  }
34803
34968
  interface ListFileTagsRequestParams {
34804
34969
  }
@@ -34819,6 +34984,7 @@ interface ListFileTagValuesRequestHeaders {
34819
34984
  }
34820
34985
  interface ListFileTagValuesRequestQuery {
34821
34986
  nextToken?: string;
34987
+ pageSize?: number;
34822
34988
  }
34823
34989
  interface ListFileTagValuesRequestParams {
34824
34990
  tag: string;
@@ -34921,6 +35087,7 @@ interface ListKnowledgeBasesRequestHeaders {
34921
35087
  }
34922
35088
  interface ListKnowledgeBasesRequestQuery {
34923
35089
  nextToken?: string;
35090
+ pageSize?: number;
34924
35091
  tags?: any;
34925
35092
  }
34926
35093
  interface ListKnowledgeBasesRequestParams {
@@ -37406,12 +37573,6 @@ interface Integration {
37406
37573
  };
37407
37574
  };
37408
37575
  };
37409
- /**
37410
- * Optional attributes
37411
- */
37412
- attributes?: {
37413
- [k: string]: string;
37414
- };
37415
37576
  /**
37416
37577
  * Indicates if the integration is a development integration; Dev integrations run locally
37417
37578
  */
@@ -37453,6 +37614,12 @@ interface Integration {
37453
37614
  * 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
37615
  */
37455
37616
  secrets: string[];
37617
+ /**
37618
+ * Optional key-value attributes from the integration definition
37619
+ */
37620
+ attributes?: {
37621
+ [k: string]: string;
37622
+ };
37456
37623
  }
37457
37624
  interface Interface {
37458
37625
  /**
@@ -37579,12 +37746,6 @@ interface Interface {
37579
37746
  script: string;
37580
37747
  language: string;
37581
37748
  };
37582
- /**
37583
- * Optional attributes
37584
- */
37585
- attributes?: {
37586
- [k: string]: string;
37587
- };
37588
37749
  /**
37589
37750
  * Title of the interface. This is the name that will be displayed in the UI
37590
37751
  */
@@ -37605,6 +37766,12 @@ interface Interface {
37605
37766
  * Indicates if the interface is public. Public interfaces are available to all and cannot be updated without creating a new version.
37606
37767
  */
37607
37768
  public: boolean;
37769
+ /**
37770
+ * Optional key-value attributes from the interface definition
37771
+ */
37772
+ attributes?: {
37773
+ [k: string]: string;
37774
+ };
37608
37775
  }
37609
37776
  interface Plugin {
37610
37777
  /**
@@ -37797,12 +37964,6 @@ interface Plugin {
37797
37964
  };
37798
37965
  };
37799
37966
  };
37800
- /**
37801
- * Optional attributes
37802
- */
37803
- attributes?: {
37804
- [k: string]: string;
37805
- };
37806
37967
  /**
37807
37968
  * Title of the plugin. This is the name that will be displayed in the UI
37808
37969
  */
@@ -37832,6 +37993,12 @@ interface Plugin {
37832
37993
  * The lifecycle status of the plugin. When a plugin is deprecated, it can no longer be installed.
37833
37994
  */
37834
37995
  lifecycleStatus: "published" | "deprecated";
37996
+ /**
37997
+ * Optional key-value attributes from the plugin definition
37998
+ */
37999
+ attributes?: {
38000
+ [k: string]: string;
38001
+ };
37835
38002
  }
37836
38003
  interface Workspace {
37837
38004
  id: string;
@@ -38772,6 +38939,7 @@ declare class Client extends Client$1 implements IClient {
38772
38939
  } | undefined;
38773
38940
  channel?: string | undefined;
38774
38941
  integrationName?: string | undefined;
38942
+ pageSize?: number | undefined;
38775
38943
  sortField?: "createdAt" | "updatedAt" | undefined;
38776
38944
  sortDirection?: "asc" | "desc" | undefined;
38777
38945
  participantIds?: string[] | undefined;
@@ -38797,6 +38965,7 @@ declare class Client extends Client$1 implements IClient {
38797
38965
  }>;
38798
38966
  participants: (props: {
38799
38967
  id: string;
38968
+ pageSize?: number | undefined;
38800
38969
  }) => AsyncCollection<{
38801
38970
  id: string;
38802
38971
  createdAt: string;
@@ -38816,6 +38985,7 @@ declare class Client extends Client$1 implements IClient {
38816
38985
  events: (props: {
38817
38986
  status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
38818
38987
  type?: string | undefined;
38988
+ pageSize?: number | undefined;
38819
38989
  userId?: string | undefined;
38820
38990
  conversationId?: string | undefined;
38821
38991
  workflowId?: string | undefined;
@@ -38837,6 +39007,7 @@ declare class Client extends Client$1 implements IClient {
38837
39007
  tags?: {
38838
39008
  [x: string]: string;
38839
39009
  } | undefined;
39010
+ pageSize?: number | undefined;
38840
39011
  afterDate?: string | undefined;
38841
39012
  beforeDate?: string | undefined;
38842
39013
  conversationId?: string | undefined;
@@ -38860,6 +39031,7 @@ declare class Client extends Client$1 implements IClient {
38860
39031
  tags?: {
38861
39032
  [x: string]: string;
38862
39033
  } | undefined;
39034
+ pageSize?: number | undefined;
38863
39035
  sortField?: "updatedAt" | "createdAt" | undefined;
38864
39036
  sortDirection?: "asc" | "desc" | undefined;
38865
39037
  afterDate?: string | undefined;
@@ -38884,6 +39056,7 @@ declare class Client extends Client$1 implements IClient {
38884
39056
  }>;
38885
39057
  publicIntegrations: (props: {
38886
39058
  search?: string | undefined;
39059
+ pageSize?: number | undefined;
38887
39060
  name?: string | undefined;
38888
39061
  limit?: number | undefined;
38889
39062
  version?: string | undefined;
@@ -38930,6 +39103,7 @@ declare class Client extends Client$1 implements IClient {
38930
39103
  tags?: {
38931
39104
  [x: string]: string;
38932
39105
  } | undefined;
39106
+ pageSize?: number | undefined;
38933
39107
  sortField?: "createdAt" | "updatedAt" | undefined;
38934
39108
  sortDirection?: "asc" | "desc" | undefined;
38935
39109
  dev?: boolean | undefined;
@@ -38948,6 +39122,7 @@ declare class Client extends Client$1 implements IClient {
38948
39122
  }>;
38949
39123
  botIssues: (props: {
38950
39124
  id: string;
39125
+ pageSize?: number | undefined;
38951
39126
  }) => AsyncCollection<{
38952
39127
  id: string;
38953
39128
  code: string;
@@ -38966,15 +39141,20 @@ declare class Client extends Client$1 implements IClient {
38966
39141
  resolutionLink: string | null;
38967
39142
  }>;
38968
39143
  workspaces: (props: {
39144
+ pageSize?: number | undefined;
38969
39145
  handle?: string | undefined;
38970
39146
  }) => AsyncCollection<UpdateWorkspaceResponse>;
38971
39147
  publicWorkspaces: (props: {
38972
39148
  search?: string | undefined;
39149
+ pageSize?: number | undefined;
38973
39150
  workspaceIds?: string[] | undefined;
38974
39151
  }) => AsyncCollection<GetPublicWorkspaceResponse>;
38975
- workspaceMembers: (props: {}) => AsyncCollection<UpdateWorkspaceMemberResponse$1>;
39152
+ workspaceMembers: (props: {
39153
+ pageSize?: number | undefined;
39154
+ }) => AsyncCollection<UpdateWorkspaceMemberResponse$1>;
38976
39155
  integrations: (props: {
38977
39156
  search?: string | undefined;
39157
+ pageSize?: number | undefined;
38978
39158
  name?: string | undefined;
38979
39159
  limit?: number | undefined;
38980
39160
  version?: string | undefined;
@@ -39016,6 +39196,7 @@ declare class Client extends Client$1 implements IClient {
39016
39196
  };
39017
39197
  }>;
39018
39198
  interfaces: (props: {
39199
+ pageSize?: number | undefined;
39019
39200
  name?: string | undefined;
39020
39201
  version?: string | undefined;
39021
39202
  }) => AsyncCollection<{
@@ -39031,6 +39212,7 @@ declare class Client extends Client$1 implements IClient {
39031
39212
  public: boolean;
39032
39213
  }>;
39033
39214
  publicInterfaces: (props: {
39215
+ pageSize?: number | undefined;
39034
39216
  name?: string | undefined;
39035
39217
  version?: string | undefined;
39036
39218
  }) => AsyncCollection<{
@@ -39046,6 +39228,7 @@ declare class Client extends Client$1 implements IClient {
39046
39228
  public: boolean;
39047
39229
  }>;
39048
39230
  plugins: (props: {
39231
+ pageSize?: number | undefined;
39049
39232
  name?: string | undefined;
39050
39233
  version?: string | undefined;
39051
39234
  }) => AsyncCollection<{
@@ -39063,6 +39246,7 @@ declare class Client extends Client$1 implements IClient {
39063
39246
  lifecycleStatus: "published" | "deprecated";
39064
39247
  }>;
39065
39248
  publicPlugins: (props: {
39249
+ pageSize?: number | undefined;
39066
39250
  name?: string | undefined;
39067
39251
  version?: string | undefined;
39068
39252
  }) => AsyncCollection<{
@@ -39081,6 +39265,7 @@ declare class Client extends Client$1 implements IClient {
39081
39265
  }>;
39082
39266
  activities: (props: {
39083
39267
  botId: string;
39268
+ pageSize?: number | undefined;
39084
39269
  taskId: string;
39085
39270
  }) => AsyncCollection<{
39086
39271
  id: string;
@@ -39094,6 +39279,7 @@ declare class Client extends Client$1 implements IClient {
39094
39279
  }>;
39095
39280
  files: (props: {
39096
39281
  tags?: any;
39282
+ pageSize?: number | undefined;
39097
39283
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
39098
39284
  sortDirection?: "asc" | "desc" | undefined;
39099
39285
  ids?: string[] | undefined;
@@ -39128,6 +39314,7 @@ declare class Client extends Client$1 implements IClient {
39128
39314
  }>;
39129
39315
  filePassages: (props: {
39130
39316
  id: string;
39317
+ pageSize?: number | undefined;
39131
39318
  limit?: number | undefined;
39132
39319
  }) => AsyncCollection<{
39133
39320
  id: string;
@@ -39140,12 +39327,16 @@ declare class Client extends Client$1 implements IClient {
39140
39327
  sourceUrl?: string;
39141
39328
  };
39142
39329
  }>;
39143
- fileTags: (props: {}) => AsyncCollection<string>;
39330
+ fileTags: (props: {
39331
+ pageSize?: number | undefined;
39332
+ }) => AsyncCollection<string>;
39144
39333
  fileTagValues: (props: {
39334
+ pageSize?: number | undefined;
39145
39335
  tag: string;
39146
39336
  }) => AsyncCollection<string>;
39147
39337
  knowledgeBases: (props: {
39148
39338
  tags?: any;
39339
+ pageSize?: number | undefined;
39149
39340
  }) => AsyncCollection<{
39150
39341
  id: string;
39151
39342
  name: string;
@@ -39157,6 +39348,7 @@ declare class Client extends Client$1 implements IClient {
39157
39348
  usageActivity: (props: {
39158
39349
  type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
39159
39350
  id: string;
39351
+ pageSize?: number | undefined;
39160
39352
  timestampFrom?: string | undefined;
39161
39353
  timestampUntil?: string | undefined;
39162
39354
  }) => AsyncCollection<{
@@ -39170,6 +39362,7 @@ declare class Client extends Client$1 implements IClient {
39170
39362
  usageActivityDaily: (props: {
39171
39363
  type: "invocation_timeout" | "invocation_calls" | "storage_count" | "bot_count" | "knowledgebase_vector_storage" | "workspace_ratelimit" | "table_row_count" | "workspace_member_count" | "integrations_owned_count" | "ai_spend" | "openai_spend" | "bing_search_spend" | "always_alive" | "indexed_file_count" | "file_max_size_bytes";
39172
39364
  id: string;
39365
+ pageSize?: number | undefined;
39173
39366
  dateFrom?: string | undefined;
39174
39367
  dateUntil?: string | undefined;
39175
39368
  }) => AsyncCollection<{
@@ -39187,6 +39380,7 @@ declare class Client extends Client$1 implements IClient {
39187
39380
  tags?: {
39188
39381
  [x: string]: string;
39189
39382
  } | undefined;
39383
+ pageSize?: number | undefined;
39190
39384
  userId?: string | undefined;
39191
39385
  conversationId?: string | undefined;
39192
39386
  name?: string | undefined;