@botpress/client 2.0.0 → 2.2.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
@@ -2549,6 +2549,29 @@ interface GetIntegrationIdentifierAvailabilityResponse$1 {
2549
2549
  status: "available" | "shareable" | "unavailable";
2550
2550
  }
2551
2551
 
2552
+ interface GetIntegrationInstanceIdentifiersRequestHeaders$1 {
2553
+ }
2554
+ interface GetIntegrationInstanceIdentifiersRequestQuery$1 {
2555
+ }
2556
+ interface GetIntegrationInstanceIdentifiersRequestParams$1 {
2557
+ }
2558
+ interface GetIntegrationInstanceIdentifiersRequestBody$1 {
2559
+ }
2560
+ type GetIntegrationInstanceIdentifiersInput$1 = GetIntegrationInstanceIdentifiersRequestBody$1 & GetIntegrationInstanceIdentifiersRequestHeaders$1 & GetIntegrationInstanceIdentifiersRequestQuery$1 & GetIntegrationInstanceIdentifiersRequestParams$1;
2561
+ interface GetIntegrationInstanceIdentifiersResponse$1 {
2562
+ /**
2563
+ * Identifiers held by the integration instance, keyed by identifier value
2564
+ */
2565
+ identifiers: {
2566
+ [k: string]: {
2567
+ /**
2568
+ * Creation date of the identifier in ISO 8601 format
2569
+ */
2570
+ createdAt: string;
2571
+ };
2572
+ };
2573
+ }
2574
+
2552
2575
  interface ConfigureIntegrationRequestHeaders$1 {
2553
2576
  }
2554
2577
  interface ConfigureIntegrationRequestQuery$1 {
@@ -2557,9 +2580,15 @@ interface ConfigureIntegrationRequestParams$1 {
2557
2580
  }
2558
2581
  interface ConfigureIntegrationRequestBody$1 {
2559
2582
  /**
2560
- * Unique identifier of the integration that was installed on the bot
2583
+ * Unique identifier of the integration that was installed on the bot.
2561
2584
  */
2562
2585
  identifier?: string | null;
2586
+ /**
2587
+ * Identifiers of the integration. Keyed by identifier value: an empty object adds the identifier, `null` removes it, and values not provided are left unchanged. Mutually exclusive with `identifier`.
2588
+ */
2589
+ identifiers?: {
2590
+ [k: string]: {} | null;
2591
+ };
2563
2592
  /**
2564
2593
  * Recurring schedule on which `register()` will be called on the integration
2565
2594
  */
@@ -2571,6 +2600,17 @@ interface ConfigureIntegrationRequestBody$1 {
2571
2600
  }
2572
2601
  type ConfigureIntegrationInput$1 = ConfigureIntegrationRequestBody$1 & ConfigureIntegrationRequestHeaders$1 & ConfigureIntegrationRequestQuery$1 & ConfigureIntegrationRequestParams$1;
2573
2602
  interface ConfigureIntegrationResponse$1 {
2603
+ /**
2604
+ * Identifiers held by the integration instance, keyed by identifier value
2605
+ */
2606
+ identifiers?: {
2607
+ [k: string]: {
2608
+ /**
2609
+ * Creation date of the identifier in ISO 8601 format
2610
+ */
2611
+ createdAt: string;
2612
+ };
2613
+ };
2574
2614
  }
2575
2615
 
2576
2616
  interface CreateWorkflowRequestHeaders$1 {
@@ -3258,6 +3298,7 @@ declare class Client$b {
3258
3298
  readonly callAction: (input: CallActionInput$1) => Promise<CallActionResponse$1>;
3259
3299
  readonly unlinkIntegrationIdentifier: (input: UnlinkIntegrationIdentifierInput$1) => Promise<UnlinkIntegrationIdentifierResponse$1>;
3260
3300
  readonly getIntegrationIdentifierAvailability: (input: GetIntegrationIdentifierAvailabilityInput$1) => Promise<GetIntegrationIdentifierAvailabilityResponse$1>;
3301
+ readonly getIntegrationInstanceIdentifiers: (input: GetIntegrationInstanceIdentifiersInput$1) => Promise<GetIntegrationInstanceIdentifiersResponse$1>;
3261
3302
  readonly configureIntegration: (input: ConfigureIntegrationInput$1) => Promise<ConfigureIntegrationResponse$1>;
3262
3303
  readonly createWorkflow: (input: CreateWorkflowInput$1) => Promise<CreateWorkflowResponse$1>;
3263
3304
  readonly getWorkflow: (input: GetWorkflowInput$1) => Promise<GetWorkflowResponse$1>;
@@ -3315,8 +3356,8 @@ declare class Client$a extends Client$b {
3315
3356
  };
3316
3357
  }>;
3317
3358
  participants: (props: {
3318
- pageSize?: number | undefined;
3319
3359
  id: string;
3360
+ pageSize?: number | undefined;
3320
3361
  }) => AsyncCollection<{
3321
3362
  id: string;
3322
3363
  createdAt: string;
@@ -8936,7 +8977,7 @@ interface GetAuditRecordsResponse$1 {
8936
8977
  resourceId: string | null;
8937
8978
  resourceName?: string | null;
8938
8979
  value?: string | null;
8939
- action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "UPDATE_WORKSPACE_PLAN_READONLY" | "UPDATE_WORKSPACE_ADDONS_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
8980
+ action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "UPDATE_WORKSPACE_PLAN_READONLY" | "UPDATE_WORKSPACE_ADDONS_READONLY" | "SET_WORKSPACE_QUOTA_BLOCK_INTERNAL" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED" | "SET_WORKSPACE_FEATURE_GATE" | "DELETE_WORKSPACE_FEATURE_GATE";
8940
8981
  }[];
8941
8982
  meta: {
8942
8983
  /**
@@ -15464,9 +15505,9 @@ declare class Client$8 extends Client$9 {
15464
15505
  constructor(clientProps: ClientProps$8);
15465
15506
  get list(): {
15466
15507
  publicIntegrations: (props: {
15467
- name?: string | undefined;
15468
15508
  pageSize?: number | undefined;
15469
15509
  limit?: number | undefined;
15510
+ name?: string | undefined;
15470
15511
  version?: string | undefined;
15471
15512
  interfaceId?: string | undefined;
15472
15513
  interfaceName?: string | undefined;
@@ -15530,8 +15571,8 @@ declare class Client$8 extends Client$9 {
15530
15571
  type: "studio" | "adk" | "desk";
15531
15572
  }>;
15532
15573
  botIssues: (props: {
15533
- pageSize?: number | undefined;
15534
15574
  id: string;
15575
+ pageSize?: number | undefined;
15535
15576
  }) => AsyncCollection<{
15536
15577
  id: string;
15537
15578
  code: string;
@@ -15570,9 +15611,9 @@ declare class Client$8 extends Client$9 {
15570
15611
  displayName?: string;
15571
15612
  }>;
15572
15613
  integrations: (props: {
15573
- name?: string | undefined;
15574
15614
  pageSize?: number | undefined;
15575
15615
  limit?: number | undefined;
15616
+ name?: string | undefined;
15576
15617
  version?: string | undefined;
15577
15618
  interfaceId?: string | undefined;
15578
15619
  interfaceName?: string | undefined;
@@ -15613,8 +15654,8 @@ declare class Client$8 extends Client$9 {
15613
15654
  };
15614
15655
  }>;
15615
15656
  interfaces: (props: {
15616
- name?: string | undefined;
15617
15657
  pageSize?: number | undefined;
15658
+ name?: string | undefined;
15618
15659
  version?: string | undefined;
15619
15660
  }) => AsyncCollection<{
15620
15661
  id: string;
@@ -15643,8 +15684,8 @@ declare class Client$8 extends Client$9 {
15643
15684
  createdAt: string;
15644
15685
  }>;
15645
15686
  usageActivity: (props: {
15646
- pageSize?: number | undefined;
15647
15687
  id: string;
15688
+ pageSize?: number | undefined;
15648
15689
  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";
15649
15690
  timestampFrom?: string | undefined;
15650
15691
  timestampUntil?: string | undefined;
@@ -15657,8 +15698,8 @@ declare class Client$8 extends Client$9 {
15657
15698
  };
15658
15699
  }>;
15659
15700
  usageActivityDaily: (props: {
15660
- pageSize?: number | undefined;
15661
15701
  id: string;
15702
+ pageSize?: number | undefined;
15662
15703
  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";
15663
15704
  dateFrom?: string | undefined;
15664
15705
  dateUntil?: string | undefined;
@@ -16366,7 +16407,11 @@ interface GetAutoRechargeSettingsResponse {
16366
16407
  settings: {
16367
16408
  [k: string]: {
16368
16409
  enabled: boolean;
16369
- threshold?: number;
16410
+ targetType?: "addon" | "credit_grant";
16411
+ threshold?: number | null;
16412
+ addonId?: string;
16413
+ chunkSize?: number | null;
16414
+ maxAmount?: number | null;
16370
16415
  disabledReason?: string;
16371
16416
  };
16372
16417
  };
@@ -16382,7 +16427,11 @@ interface SetAutoRechargeSettingsRequestBody {
16382
16427
  settings: {
16383
16428
  [k: string]: {
16384
16429
  enabled: boolean;
16385
- threshold?: number;
16430
+ targetType?: "addon" | "credit_grant";
16431
+ threshold?: number | null;
16432
+ addonId?: string;
16433
+ chunkSize?: number | null;
16434
+ maxAmount?: number | null;
16386
16435
  };
16387
16436
  };
16388
16437
  }
@@ -16391,7 +16440,11 @@ interface SetAutoRechargeSettingsResponse {
16391
16440
  settings: {
16392
16441
  [k: string]: {
16393
16442
  enabled: boolean;
16394
- threshold?: number;
16443
+ targetType?: "addon" | "credit_grant";
16444
+ threshold?: number | null;
16445
+ addonId?: string;
16446
+ chunkSize?: number | null;
16447
+ maxAmount?: number | null;
16395
16448
  disabledReason?: string;
16396
16449
  };
16397
16450
  };
@@ -16455,7 +16508,7 @@ interface CreateCreditGrantRequestParams {
16455
16508
  }
16456
16509
  interface CreateCreditGrantRequestBody {
16457
16510
  /**
16458
- * Nanodollar value of the credit grant (e.g. 10_000_000_000 = $10.00 USD)
16511
+ * Nanodollar value of the credit grant, must be a multiple of $5 (e.g. 10_000_000_000 = $10.00 USD)
16459
16512
  */
16460
16513
  amount: number;
16461
16514
  feature: "ai_spend";
@@ -17987,8 +18040,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17987
18040
  indexingStack?: "v1" | "v2";
17988
18041
  }>;
17989
18042
  filePassages: (props: {
17990
- pageSize?: number | undefined;
17991
18043
  id: string;
18044
+ pageSize?: number | undefined;
17992
18045
  limit?: number | undefined;
17993
18046
  }) => AsyncCollection<{
17994
18047
  id: string;
@@ -22216,6 +22269,29 @@ interface GetIntegrationIdentifierAvailabilityResponse {
22216
22269
  status: "available" | "shareable" | "unavailable";
22217
22270
  }
22218
22271
 
22272
+ interface GetIntegrationInstanceIdentifiersRequestHeaders {
22273
+ }
22274
+ interface GetIntegrationInstanceIdentifiersRequestQuery {
22275
+ }
22276
+ interface GetIntegrationInstanceIdentifiersRequestParams {
22277
+ }
22278
+ interface GetIntegrationInstanceIdentifiersRequestBody {
22279
+ }
22280
+ type GetIntegrationInstanceIdentifiersInput = GetIntegrationInstanceIdentifiersRequestBody & GetIntegrationInstanceIdentifiersRequestHeaders & GetIntegrationInstanceIdentifiersRequestQuery & GetIntegrationInstanceIdentifiersRequestParams;
22281
+ interface GetIntegrationInstanceIdentifiersResponse {
22282
+ /**
22283
+ * Identifiers held by the integration instance, keyed by identifier value
22284
+ */
22285
+ identifiers: {
22286
+ [k: string]: {
22287
+ /**
22288
+ * Creation date of the identifier in ISO 8601 format
22289
+ */
22290
+ createdAt: string;
22291
+ };
22292
+ };
22293
+ }
22294
+
22219
22295
  interface ConfigureIntegrationRequestHeaders {
22220
22296
  }
22221
22297
  interface ConfigureIntegrationRequestQuery {
@@ -22224,9 +22300,15 @@ interface ConfigureIntegrationRequestParams {
22224
22300
  }
22225
22301
  interface ConfigureIntegrationRequestBody {
22226
22302
  /**
22227
- * Unique identifier of the integration that was installed on the bot
22303
+ * Unique identifier of the integration that was installed on the bot.
22228
22304
  */
22229
22305
  identifier?: string | null;
22306
+ /**
22307
+ * Identifiers of the integration. Keyed by identifier value: an empty object adds the identifier, `null` removes it, and values not provided are left unchanged. Mutually exclusive with `identifier`.
22308
+ */
22309
+ identifiers?: {
22310
+ [k: string]: {} | null;
22311
+ };
22230
22312
  /**
22231
22313
  * Recurring schedule on which `register()` will be called on the integration
22232
22314
  */
@@ -22238,6 +22320,17 @@ interface ConfigureIntegrationRequestBody {
22238
22320
  }
22239
22321
  type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
22240
22322
  interface ConfigureIntegrationResponse {
22323
+ /**
22324
+ * Identifiers held by the integration instance, keyed by identifier value
22325
+ */
22326
+ identifiers?: {
22327
+ [k: string]: {
22328
+ /**
22329
+ * Creation date of the identifier in ISO 8601 format
22330
+ */
22331
+ createdAt: string;
22332
+ };
22333
+ };
22241
22334
  }
22242
22335
 
22243
22336
  interface CreateWorkflowRequestHeaders {
@@ -28370,7 +28463,7 @@ interface GetAuditRecordsResponse {
28370
28463
  resourceId: string | null;
28371
28464
  resourceName?: string | null;
28372
28465
  value?: string | null;
28373
- action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "UPDATE_WORKSPACE_PLAN_READONLY" | "UPDATE_WORKSPACE_ADDONS_READONLY" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED";
28466
+ action: "UNKNOWN" | "ADD_WORKSPACE_MEMBER" | "REMOVE_WORKSPACE_MEMBER" | "UPDATE_WORKSPACE_MEMBER" | "CLOSE_WORKSPACE" | "CREATE_BOT" | "CREATE_WORKSPACE" | "DELETE_BOT" | "DEPLOY_BOT" | "TRANSFER_BOT" | "DOWNLOAD_BOT_ARCHIVE" | "UPDATE_BOT" | "UPDATE_BOT_CHANNEL" | "UPDATE_BOT_CONFIG" | "UPDATE_PAYMENT_METHOD" | "UPDATE_WORKSPACE" | "SET_SPENDING_LIMIT" | "SET_AI_SPENDING_LIMIT" | "UPDATE_WORKSPACE_BILLING_READONLY" | "UPDATE_WORKSPACE_PLAN_READONLY" | "UPDATE_WORKSPACE_ADDONS_READONLY" | "SET_WORKSPACE_QUOTA_BLOCK_INTERNAL" | "EXECUTE_AUTO_RECHARGE_SUCCESS" | "EXECUTE_AUTO_RECHARGE_FAILED" | "SET_WORKSPACE_FEATURE_GATE" | "DELETE_WORKSPACE_FEATURE_GATE";
28374
28467
  }[];
28375
28468
  meta: {
28376
28469
  /**
@@ -39545,6 +39638,7 @@ declare class Client$1 {
39545
39638
  readonly callAction: (input: CallActionInput) => Promise<CallActionResponse>;
39546
39639
  readonly unlinkIntegrationIdentifier: (input: UnlinkIntegrationIdentifierInput) => Promise<UnlinkIntegrationIdentifierResponse>;
39547
39640
  readonly getIntegrationIdentifierAvailability: (input: GetIntegrationIdentifierAvailabilityInput) => Promise<GetIntegrationIdentifierAvailabilityResponse>;
39641
+ readonly getIntegrationInstanceIdentifiers: (input: GetIntegrationInstanceIdentifiersInput) => Promise<GetIntegrationInstanceIdentifiersResponse>;
39548
39642
  readonly configureIntegration: (input: ConfigureIntegrationInput) => Promise<ConfigureIntegrationResponse>;
39549
39643
  readonly createWorkflow: (input: CreateWorkflowInput) => Promise<CreateWorkflowResponse>;
39550
39644
  readonly getWorkflow: (input: GetWorkflowInput) => Promise<GetWorkflowResponse>;
@@ -39748,8 +39842,8 @@ declare class Client extends Client$1 implements IClient {
39748
39842
  };
39749
39843
  }>;
39750
39844
  participants: (props: {
39751
- pageSize?: number | undefined;
39752
39845
  id: string;
39846
+ pageSize?: number | undefined;
39753
39847
  }) => AsyncCollection<{
39754
39848
  id: string;
39755
39849
  createdAt: string;
@@ -39839,9 +39933,9 @@ declare class Client extends Client$1 implements IClient {
39839
39933
  };
39840
39934
  }>;
39841
39935
  publicIntegrations: (props: {
39842
- name?: string | undefined;
39843
39936
  pageSize?: number | undefined;
39844
39937
  limit?: number | undefined;
39938
+ name?: string | undefined;
39845
39939
  version?: string | undefined;
39846
39940
  interfaceId?: string | undefined;
39847
39941
  interfaceName?: string | undefined;
@@ -39905,8 +39999,8 @@ declare class Client extends Client$1 implements IClient {
39905
39999
  type: "studio" | "adk" | "desk";
39906
40000
  }>;
39907
40001
  botIssues: (props: {
39908
- pageSize?: number | undefined;
39909
40002
  id: string;
40003
+ pageSize?: number | undefined;
39910
40004
  }) => AsyncCollection<{
39911
40005
  id: string;
39912
40006
  code: string;
@@ -39937,9 +40031,9 @@ declare class Client extends Client$1 implements IClient {
39937
40031
  pageSize?: number | undefined;
39938
40032
  }) => AsyncCollection<UpdateWorkspaceMemberResponse$1>;
39939
40033
  integrations: (props: {
39940
- name?: string | undefined;
39941
40034
  pageSize?: number | undefined;
39942
40035
  limit?: number | undefined;
40036
+ name?: string | undefined;
39943
40037
  version?: string | undefined;
39944
40038
  interfaceId?: string | undefined;
39945
40039
  interfaceName?: string | undefined;
@@ -39980,8 +40074,8 @@ declare class Client extends Client$1 implements IClient {
39980
40074
  };
39981
40075
  }>;
39982
40076
  interfaces: (props: {
39983
- name?: string | undefined;
39984
40077
  pageSize?: number | undefined;
40078
+ name?: string | undefined;
39985
40079
  version?: string | undefined;
39986
40080
  }) => AsyncCollection<{
39987
40081
  id: string;
@@ -39996,8 +40090,8 @@ declare class Client extends Client$1 implements IClient {
39996
40090
  public: boolean;
39997
40091
  }>;
39998
40092
  publicInterfaces: (props: {
39999
- name?: string | undefined;
40000
40093
  pageSize?: number | undefined;
40094
+ name?: string | undefined;
40001
40095
  version?: string | undefined;
40002
40096
  }) => AsyncCollection<{
40003
40097
  id: string;
@@ -40012,8 +40106,8 @@ declare class Client extends Client$1 implements IClient {
40012
40106
  public: boolean;
40013
40107
  }>;
40014
40108
  plugins: (props: {
40015
- name?: string | undefined;
40016
40109
  pageSize?: number | undefined;
40110
+ name?: string | undefined;
40017
40111
  version?: string | undefined;
40018
40112
  }) => AsyncCollection<{
40019
40113
  id: string;
@@ -40029,8 +40123,8 @@ declare class Client extends Client$1 implements IClient {
40029
40123
  lifecycleStatus: "published" | "deprecated";
40030
40124
  }>;
40031
40125
  publicPlugins: (props: {
40032
- name?: string | undefined;
40033
40126
  pageSize?: number | undefined;
40127
+ name?: string | undefined;
40034
40128
  version?: string | undefined;
40035
40129
  }) => AsyncCollection<{
40036
40130
  id: string;
@@ -40095,8 +40189,8 @@ declare class Client extends Client$1 implements IClient {
40095
40189
  indexingStack?: "v1" | "v2";
40096
40190
  }>;
40097
40191
  filePassages: (props: {
40098
- pageSize?: number | undefined;
40099
40192
  id: string;
40193
+ pageSize?: number | undefined;
40100
40194
  limit?: number | undefined;
40101
40195
  }) => AsyncCollection<{
40102
40196
  id: string;
@@ -40129,8 +40223,8 @@ declare class Client extends Client$1 implements IClient {
40129
40223
  };
40130
40224
  }>;
40131
40225
  usageActivity: (props: {
40132
- pageSize?: number | undefined;
40133
40226
  id: string;
40227
+ pageSize?: number | undefined;
40134
40228
  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";
40135
40229
  timestampFrom?: string | undefined;
40136
40230
  timestampUntil?: string | undefined;
@@ -40143,8 +40237,8 @@ declare class Client extends Client$1 implements IClient {
40143
40237
  };
40144
40238
  }>;
40145
40239
  usageActivityDaily: (props: {
40146
- pageSize?: number | undefined;
40147
40240
  id: string;
40241
+ pageSize?: number | undefined;
40148
40242
  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";
40149
40243
  dateFrom?: string | undefined;
40150
40244
  dateUntil?: string | undefined;
@@ -40160,8 +40254,8 @@ declare class Client extends Client$1 implements IClient {
40160
40254
  };
40161
40255
  }>;
40162
40256
  workflows: (props: {
40163
- name?: string | undefined;
40164
40257
  pageSize?: number | undefined;
40258
+ name?: string | undefined;
40165
40259
  tags?: {
40166
40260
  [x: string]: string;
40167
40261
  } | undefined;