@botpress/client 2.0.0 → 2.1.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>;
@@ -3286,14 +3327,14 @@ declare class Client$a extends Client$b {
3286
3327
  constructor(clientProps: ClientProps$a);
3287
3328
  get list(): {
3288
3329
  conversations: (props: {
3289
- pageSize?: number | undefined;
3330
+ channel?: string | undefined;
3290
3331
  tags?: {
3291
3332
  [x: string]: string;
3292
3333
  } | undefined;
3334
+ integrationName?: string | undefined;
3335
+ pageSize?: number | undefined;
3293
3336
  sortField?: "createdAt" | "updatedAt" | undefined;
3294
3337
  sortDirection?: "asc" | "desc" | undefined;
3295
- integrationName?: string | undefined;
3296
- channel?: string | undefined;
3297
3338
  participantIds?: string[] | undefined;
3298
3339
  afterDate?: string | undefined;
3299
3340
  beforeDate?: string | undefined;
@@ -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;
@@ -3335,10 +3376,10 @@ declare class Client$a extends Client$b {
3335
3376
  }>;
3336
3377
  events: (props: {
3337
3378
  pageSize?: number | undefined;
3338
- type?: string | undefined;
3339
3379
  userId?: string | undefined;
3340
- workflowId?: string | undefined;
3380
+ type?: string | undefined;
3341
3381
  conversationId?: string | undefined;
3382
+ workflowId?: string | undefined;
3342
3383
  messageId?: string | undefined;
3343
3384
  status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
3344
3385
  }) => AsyncCollection<{
@@ -3355,13 +3396,13 @@ declare class Client$a extends Client$b {
3355
3396
  failureReason: string | null;
3356
3397
  }>;
3357
3398
  messages: (props: {
3358
- pageSize?: number | undefined;
3359
3399
  tags?: {
3360
3400
  [x: string]: string;
3361
3401
  } | undefined;
3362
- conversationId?: string | undefined;
3402
+ pageSize?: number | undefined;
3363
3403
  afterDate?: string | undefined;
3364
3404
  beforeDate?: string | undefined;
3405
+ conversationId?: string | undefined;
3365
3406
  }) => AsyncCollection<{
3366
3407
  id: string;
3367
3408
  createdAt: string;
@@ -3379,15 +3420,15 @@ declare class Client$a extends Client$b {
3379
3420
  origin?: "synthetic";
3380
3421
  }>;
3381
3422
  users: (props: {
3382
- pageSize?: number | undefined;
3383
3423
  tags?: {
3384
3424
  [x: string]: string;
3385
3425
  } | undefined;
3426
+ pageSize?: number | undefined;
3386
3427
  sortField?: "updatedAt" | "createdAt" | undefined;
3387
3428
  sortDirection?: "asc" | "desc" | undefined;
3388
- conversationId?: string | undefined;
3389
3429
  afterDate?: string | undefined;
3390
3430
  beforeDate?: string | undefined;
3431
+ conversationId?: string | undefined;
3391
3432
  rangeField?: "updatedAt" | "createdAt" | undefined;
3392
3433
  }) => AsyncCollection<{
3393
3434
  id: 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,8 +15505,8 @@ 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;
15509
+ name?: string | undefined;
15469
15510
  limit?: number | undefined;
15470
15511
  version?: string | undefined;
15471
15512
  interfaceId?: string | undefined;
@@ -15509,15 +15550,15 @@ declare class Client$8 extends Client$9 {
15509
15550
  };
15510
15551
  }>;
15511
15552
  bots: (props: {
15512
- pageSize?: number | undefined;
15513
15553
  tags?: {
15514
15554
  [x: string]: string;
15515
15555
  } | undefined;
15556
+ pageSize?: number | undefined;
15557
+ sortField?: "createdAt" | "updatedAt" | undefined;
15558
+ sortDirection?: "asc" | "desc" | undefined;
15516
15559
  dev?: boolean | undefined;
15517
15560
  integrationNames?: string[] | undefined;
15518
15561
  pluginNames?: string[] | undefined;
15519
- sortField?: "createdAt" | "updatedAt" | undefined;
15520
- sortDirection?: "asc" | "desc" | undefined;
15521
15562
  }) => AsyncCollection<{
15522
15563
  id: string;
15523
15564
  createdAt: string;
@@ -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,8 +15611,8 @@ 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;
15615
+ name?: string | undefined;
15575
15616
  limit?: number | undefined;
15576
15617
  version?: string | undefined;
15577
15618
  interfaceId?: 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;
@@ -17952,8 +17993,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17952
17993
  constructor(clientProps: ClientProps$4);
17953
17994
  get list(): {
17954
17995
  files: (props: {
17955
- pageSize?: number | undefined;
17956
17996
  tags?: any;
17997
+ pageSize?: number | undefined;
17957
17998
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
17958
17999
  sortDirection?: "asc" | "desc" | undefined;
17959
18000
  ids?: string[] | undefined;
@@ -17987,8 +18028,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
17987
18028
  indexingStack?: "v1" | "v2";
17988
18029
  }>;
17989
18030
  filePassages: (props: {
17990
- pageSize?: number | undefined;
17991
18031
  id: string;
18032
+ pageSize?: number | undefined;
17992
18033
  limit?: number | undefined;
17993
18034
  }) => AsyncCollection<{
17994
18035
  id: string;
@@ -18009,8 +18050,8 @@ declare class Client$4 extends Client$5 implements IClient$2 {
18009
18050
  tag: string;
18010
18051
  }) => AsyncCollection<string>;
18011
18052
  knowledgeBases: (props: {
18012
- pageSize?: number | undefined;
18013
18053
  tags?: any;
18054
+ pageSize?: number | undefined;
18014
18055
  }) => AsyncCollection<{
18015
18056
  id: string;
18016
18057
  name: string;
@@ -22216,6 +22257,29 @@ interface GetIntegrationIdentifierAvailabilityResponse {
22216
22257
  status: "available" | "shareable" | "unavailable";
22217
22258
  }
22218
22259
 
22260
+ interface GetIntegrationInstanceIdentifiersRequestHeaders {
22261
+ }
22262
+ interface GetIntegrationInstanceIdentifiersRequestQuery {
22263
+ }
22264
+ interface GetIntegrationInstanceIdentifiersRequestParams {
22265
+ }
22266
+ interface GetIntegrationInstanceIdentifiersRequestBody {
22267
+ }
22268
+ type GetIntegrationInstanceIdentifiersInput = GetIntegrationInstanceIdentifiersRequestBody & GetIntegrationInstanceIdentifiersRequestHeaders & GetIntegrationInstanceIdentifiersRequestQuery & GetIntegrationInstanceIdentifiersRequestParams;
22269
+ interface GetIntegrationInstanceIdentifiersResponse {
22270
+ /**
22271
+ * Identifiers held by the integration instance, keyed by identifier value
22272
+ */
22273
+ identifiers: {
22274
+ [k: string]: {
22275
+ /**
22276
+ * Creation date of the identifier in ISO 8601 format
22277
+ */
22278
+ createdAt: string;
22279
+ };
22280
+ };
22281
+ }
22282
+
22219
22283
  interface ConfigureIntegrationRequestHeaders {
22220
22284
  }
22221
22285
  interface ConfigureIntegrationRequestQuery {
@@ -22224,9 +22288,15 @@ interface ConfigureIntegrationRequestParams {
22224
22288
  }
22225
22289
  interface ConfigureIntegrationRequestBody {
22226
22290
  /**
22227
- * Unique identifier of the integration that was installed on the bot
22291
+ * Unique identifier of the integration that was installed on the bot.
22228
22292
  */
22229
22293
  identifier?: string | null;
22294
+ /**
22295
+ * 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`.
22296
+ */
22297
+ identifiers?: {
22298
+ [k: string]: {} | null;
22299
+ };
22230
22300
  /**
22231
22301
  * Recurring schedule on which `register()` will be called on the integration
22232
22302
  */
@@ -22238,6 +22308,17 @@ interface ConfigureIntegrationRequestBody {
22238
22308
  }
22239
22309
  type ConfigureIntegrationInput = ConfigureIntegrationRequestBody & ConfigureIntegrationRequestHeaders & ConfigureIntegrationRequestQuery & ConfigureIntegrationRequestParams;
22240
22310
  interface ConfigureIntegrationResponse {
22311
+ /**
22312
+ * Identifiers held by the integration instance, keyed by identifier value
22313
+ */
22314
+ identifiers?: {
22315
+ [k: string]: {
22316
+ /**
22317
+ * Creation date of the identifier in ISO 8601 format
22318
+ */
22319
+ createdAt: string;
22320
+ };
22321
+ };
22241
22322
  }
22242
22323
 
22243
22324
  interface CreateWorkflowRequestHeaders {
@@ -28370,7 +28451,7 @@ interface GetAuditRecordsResponse {
28370
28451
  resourceId: string | null;
28371
28452
  resourceName?: string | null;
28372
28453
  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";
28454
+ 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
28455
  }[];
28375
28456
  meta: {
28376
28457
  /**
@@ -39545,6 +39626,7 @@ declare class Client$1 {
39545
39626
  readonly callAction: (input: CallActionInput) => Promise<CallActionResponse>;
39546
39627
  readonly unlinkIntegrationIdentifier: (input: UnlinkIntegrationIdentifierInput) => Promise<UnlinkIntegrationIdentifierResponse>;
39547
39628
  readonly getIntegrationIdentifierAvailability: (input: GetIntegrationIdentifierAvailabilityInput) => Promise<GetIntegrationIdentifierAvailabilityResponse>;
39629
+ readonly getIntegrationInstanceIdentifiers: (input: GetIntegrationInstanceIdentifiersInput) => Promise<GetIntegrationInstanceIdentifiersResponse>;
39548
39630
  readonly configureIntegration: (input: ConfigureIntegrationInput) => Promise<ConfigureIntegrationResponse>;
39549
39631
  readonly createWorkflow: (input: CreateWorkflowInput) => Promise<CreateWorkflowResponse>;
39550
39632
  readonly getWorkflow: (input: GetWorkflowInput) => Promise<GetWorkflowResponse>;
@@ -39719,14 +39801,14 @@ declare class Client extends Client$1 implements IClient {
39719
39801
  constructor(clientProps?: ClientProps);
39720
39802
  get list(): {
39721
39803
  conversations: (props: {
39722
- pageSize?: number | undefined;
39804
+ channel?: string | undefined;
39723
39805
  tags?: {
39724
39806
  [x: string]: string;
39725
39807
  } | undefined;
39808
+ integrationName?: string | undefined;
39809
+ pageSize?: number | undefined;
39726
39810
  sortField?: "createdAt" | "updatedAt" | undefined;
39727
39811
  sortDirection?: "asc" | "desc" | undefined;
39728
- integrationName?: string | undefined;
39729
- channel?: string | undefined;
39730
39812
  participantIds?: string[] | undefined;
39731
39813
  afterDate?: string | undefined;
39732
39814
  beforeDate?: string | undefined;
@@ -39748,8 +39830,8 @@ declare class Client extends Client$1 implements IClient {
39748
39830
  };
39749
39831
  }>;
39750
39832
  participants: (props: {
39751
- pageSize?: number | undefined;
39752
39833
  id: string;
39834
+ pageSize?: number | undefined;
39753
39835
  }) => AsyncCollection<{
39754
39836
  id: string;
39755
39837
  createdAt: string;
@@ -39768,10 +39850,10 @@ declare class Client extends Client$1 implements IClient {
39768
39850
  }>;
39769
39851
  events: (props: {
39770
39852
  pageSize?: number | undefined;
39771
- type?: string | undefined;
39772
39853
  userId?: string | undefined;
39773
- workflowId?: string | undefined;
39854
+ type?: string | undefined;
39774
39855
  conversationId?: string | undefined;
39856
+ workflowId?: string | undefined;
39775
39857
  messageId?: string | undefined;
39776
39858
  status?: "pending" | "ignored" | "processed" | "failed" | "scheduled" | undefined;
39777
39859
  }) => AsyncCollection<{
@@ -39788,13 +39870,13 @@ declare class Client extends Client$1 implements IClient {
39788
39870
  failureReason: string | null;
39789
39871
  }>;
39790
39872
  messages: (props: {
39791
- pageSize?: number | undefined;
39792
39873
  tags?: {
39793
39874
  [x: string]: string;
39794
39875
  } | undefined;
39795
- conversationId?: string | undefined;
39876
+ pageSize?: number | undefined;
39796
39877
  afterDate?: string | undefined;
39797
39878
  beforeDate?: string | undefined;
39879
+ conversationId?: string | undefined;
39798
39880
  }) => AsyncCollection<{
39799
39881
  id: string;
39800
39882
  createdAt: string;
@@ -39812,15 +39894,15 @@ declare class Client extends Client$1 implements IClient {
39812
39894
  origin?: "synthetic";
39813
39895
  }>;
39814
39896
  users: (props: {
39815
- pageSize?: number | undefined;
39816
39897
  tags?: {
39817
39898
  [x: string]: string;
39818
39899
  } | undefined;
39900
+ pageSize?: number | undefined;
39819
39901
  sortField?: "updatedAt" | "createdAt" | undefined;
39820
39902
  sortDirection?: "asc" | "desc" | undefined;
39821
- conversationId?: string | undefined;
39822
39903
  afterDate?: string | undefined;
39823
39904
  beforeDate?: string | undefined;
39905
+ conversationId?: string | undefined;
39824
39906
  rangeField?: "updatedAt" | "createdAt" | undefined;
39825
39907
  }) => AsyncCollection<{
39826
39908
  id: string;
@@ -39839,8 +39921,8 @@ declare class Client extends Client$1 implements IClient {
39839
39921
  };
39840
39922
  }>;
39841
39923
  publicIntegrations: (props: {
39842
- name?: string | undefined;
39843
39924
  pageSize?: number | undefined;
39925
+ name?: string | undefined;
39844
39926
  limit?: number | undefined;
39845
39927
  version?: string | undefined;
39846
39928
  interfaceId?: string | undefined;
@@ -39884,15 +39966,15 @@ declare class Client extends Client$1 implements IClient {
39884
39966
  };
39885
39967
  }>;
39886
39968
  bots: (props: {
39887
- pageSize?: number | undefined;
39888
39969
  tags?: {
39889
39970
  [x: string]: string;
39890
39971
  } | undefined;
39972
+ pageSize?: number | undefined;
39973
+ sortField?: "createdAt" | "updatedAt" | undefined;
39974
+ sortDirection?: "asc" | "desc" | undefined;
39891
39975
  dev?: boolean | undefined;
39892
39976
  integrationNames?: string[] | undefined;
39893
39977
  pluginNames?: string[] | undefined;
39894
- sortField?: "createdAt" | "updatedAt" | undefined;
39895
- sortDirection?: "asc" | "desc" | undefined;
39896
39978
  }) => AsyncCollection<{
39897
39979
  id: string;
39898
39980
  createdAt: string;
@@ -39905,8 +39987,8 @@ declare class Client extends Client$1 implements IClient {
39905
39987
  type: "studio" | "adk" | "desk";
39906
39988
  }>;
39907
39989
  botIssues: (props: {
39908
- pageSize?: number | undefined;
39909
39990
  id: string;
39991
+ pageSize?: number | undefined;
39910
39992
  }) => AsyncCollection<{
39911
39993
  id: string;
39912
39994
  code: string;
@@ -39937,8 +40019,8 @@ declare class Client extends Client$1 implements IClient {
39937
40019
  pageSize?: number | undefined;
39938
40020
  }) => AsyncCollection<UpdateWorkspaceMemberResponse$1>;
39939
40021
  integrations: (props: {
39940
- name?: string | undefined;
39941
40022
  pageSize?: number | undefined;
40023
+ name?: string | undefined;
39942
40024
  limit?: number | undefined;
39943
40025
  version?: string | undefined;
39944
40026
  interfaceId?: string | undefined;
@@ -39980,8 +40062,8 @@ declare class Client extends Client$1 implements IClient {
39980
40062
  };
39981
40063
  }>;
39982
40064
  interfaces: (props: {
39983
- name?: string | undefined;
39984
40065
  pageSize?: number | undefined;
40066
+ name?: string | undefined;
39985
40067
  version?: string | undefined;
39986
40068
  }) => AsyncCollection<{
39987
40069
  id: string;
@@ -39996,8 +40078,8 @@ declare class Client extends Client$1 implements IClient {
39996
40078
  public: boolean;
39997
40079
  }>;
39998
40080
  publicInterfaces: (props: {
39999
- name?: string | undefined;
40000
40081
  pageSize?: number | undefined;
40082
+ name?: string | undefined;
40001
40083
  version?: string | undefined;
40002
40084
  }) => AsyncCollection<{
40003
40085
  id: string;
@@ -40012,8 +40094,8 @@ declare class Client extends Client$1 implements IClient {
40012
40094
  public: boolean;
40013
40095
  }>;
40014
40096
  plugins: (props: {
40015
- name?: string | undefined;
40016
40097
  pageSize?: number | undefined;
40098
+ name?: string | undefined;
40017
40099
  version?: string | undefined;
40018
40100
  }) => AsyncCollection<{
40019
40101
  id: string;
@@ -40029,8 +40111,8 @@ declare class Client extends Client$1 implements IClient {
40029
40111
  lifecycleStatus: "published" | "deprecated";
40030
40112
  }>;
40031
40113
  publicPlugins: (props: {
40032
- name?: string | undefined;
40033
40114
  pageSize?: number | undefined;
40115
+ name?: string | undefined;
40034
40116
  version?: string | undefined;
40035
40117
  }) => AsyncCollection<{
40036
40118
  id: string;
@@ -40060,8 +40142,8 @@ declare class Client extends Client$1 implements IClient {
40060
40142
  createdAt: string;
40061
40143
  }>;
40062
40144
  files: (props: {
40063
- pageSize?: number | undefined;
40064
40145
  tags?: any;
40146
+ pageSize?: number | undefined;
40065
40147
  sortField?: "key" | "size" | "createdAt" | "updatedAt" | "status" | undefined;
40066
40148
  sortDirection?: "asc" | "desc" | undefined;
40067
40149
  ids?: string[] | undefined;
@@ -40095,8 +40177,8 @@ declare class Client extends Client$1 implements IClient {
40095
40177
  indexingStack?: "v1" | "v2";
40096
40178
  }>;
40097
40179
  filePassages: (props: {
40098
- pageSize?: number | undefined;
40099
40180
  id: string;
40181
+ pageSize?: number | undefined;
40100
40182
  limit?: number | undefined;
40101
40183
  }) => AsyncCollection<{
40102
40184
  id: string;
@@ -40117,8 +40199,8 @@ declare class Client extends Client$1 implements IClient {
40117
40199
  tag: string;
40118
40200
  }) => AsyncCollection<string>;
40119
40201
  knowledgeBases: (props: {
40120
- pageSize?: number | undefined;
40121
40202
  tags?: any;
40203
+ pageSize?: number | undefined;
40122
40204
  }) => AsyncCollection<{
40123
40205
  id: string;
40124
40206
  name: string;
@@ -40129,8 +40211,8 @@ declare class Client extends Client$1 implements IClient {
40129
40211
  };
40130
40212
  }>;
40131
40213
  usageActivity: (props: {
40132
- pageSize?: number | undefined;
40133
40214
  id: string;
40215
+ pageSize?: number | undefined;
40134
40216
  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
40217
  timestampFrom?: string | undefined;
40136
40218
  timestampUntil?: string | undefined;
@@ -40143,8 +40225,8 @@ declare class Client extends Client$1 implements IClient {
40143
40225
  };
40144
40226
  }>;
40145
40227
  usageActivityDaily: (props: {
40146
- pageSize?: number | undefined;
40147
40228
  id: string;
40229
+ pageSize?: number | undefined;
40148
40230
  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
40231
  dateFrom?: string | undefined;
40150
40232
  dateUntil?: string | undefined;
@@ -40160,13 +40242,13 @@ declare class Client extends Client$1 implements IClient {
40160
40242
  };
40161
40243
  }>;
40162
40244
  workflows: (props: {
40163
- name?: string | undefined;
40164
- pageSize?: number | undefined;
40165
40245
  tags?: {
40166
40246
  [x: string]: string;
40167
40247
  } | undefined;
40248
+ pageSize?: number | undefined;
40168
40249
  userId?: string | undefined;
40169
40250
  conversationId?: string | undefined;
40251
+ name?: string | undefined;
40170
40252
  parentWorkflowId?: string | undefined;
40171
40253
  statuses?: ("pending" | "failed" | "in_progress" | "completed" | "listening" | "paused" | "timedout" | "cancelled")[] | undefined;
40172
40254
  }) => AsyncCollection<{