@botpress/client 0.36.2 → 0.37.1

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
@@ -3811,6 +3811,12 @@ interface CreateBotRequestBody {
3811
3811
  };
3812
3812
  };
3813
3813
  };
3814
+ /**
3815
+ * Tags of the [Bot](#schema_bot)
3816
+ */
3817
+ tags?: {
3818
+ [k: string]: string;
3819
+ };
3814
3820
  /**
3815
3821
  * JavaScript code of the bot
3816
3822
  */
@@ -4093,6 +4099,12 @@ interface CreateBotResponse {
4093
4099
  };
4094
4100
  };
4095
4101
  };
4102
+ /**
4103
+ * Tags of [Bot](#schema_bot)
4104
+ */
4105
+ tags: {
4106
+ [k: string]: string;
4107
+ };
4096
4108
  /**
4097
4109
  * Name of the [Bot](#schema_bot)
4098
4110
  */
@@ -4163,6 +4175,12 @@ interface UpdateBotRequestBody {
4163
4175
  [k: string]: any;
4164
4176
  };
4165
4177
  };
4178
+ /**
4179
+ * Tags of the [Bot](#schema_bot)
4180
+ */
4181
+ tags?: {
4182
+ [k: string]: string;
4183
+ };
4166
4184
  blocked?: boolean;
4167
4185
  /**
4168
4186
  * Indicates if the [Bot](#schema_bot) should be in always alive mode
@@ -4584,6 +4602,12 @@ interface UpdateBotResponse {
4584
4602
  };
4585
4603
  };
4586
4604
  };
4605
+ /**
4606
+ * Tags of [Bot](#schema_bot)
4607
+ */
4608
+ tags: {
4609
+ [k: string]: string;
4610
+ };
4587
4611
  /**
4588
4612
  * Name of the [Bot](#schema_bot)
4589
4613
  */
@@ -4946,6 +4970,12 @@ interface GetBotResponse {
4946
4970
  };
4947
4971
  };
4948
4972
  };
4973
+ /**
4974
+ * Tags of [Bot](#schema_bot)
4975
+ */
4976
+ tags: {
4977
+ [k: string]: string;
4978
+ };
4949
4979
  /**
4950
4980
  * Name of the [Bot](#schema_bot)
4951
4981
  */
@@ -9973,7 +10003,7 @@ interface UpsertFileRequestBody {
9973
10003
  *
9974
10004
  * Notes:
9975
10005
  * - This feature is only available in Team and Enterprise plans.
9976
- * - Enabling this feature will incurr in AI Spend cost to use a vision-enabled LLM to index the PDF pages.
10006
+ * - Enabling this feature will incur in AI Spend cost to use a vision-enabled LLM to index the PDF pages.
9977
10007
  * - This is limited to a maximum of 30 pages of the PDF. If the file has more pages then the rest of the pages will NOT be transcribed using this vision feature, and will be processed using the default text-based indexing instead. If you need to transcribe the entire file using vision, please split it into smaller files.
9978
10008
  * - Pages that are vision-transcribed will not be processed by the default text-based indexing to avoid duplicate content in the index.
9979
10009
  * - This feature is only available for PDF files. If the file isn't a PDF, this setting will be ignored and no AI Spend will be incurred.
@@ -9981,6 +10011,26 @@ interface UpsertFileRequestBody {
9981
10011
  transcribePages?: {
9982
10012
  [k: string]: any;
9983
10013
  };
10014
+ /**
10015
+ * (Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to index each page of the PDF as a standalone image.
10016
+ *
10017
+ * Enabling this feature will allow Autonomous Nodes in your bot to answer visual or higher-level questions about the content in these pages that can usually not be answered correctly by the default text-based indexing or visual transcription.
10018
+ *
10019
+ * This feature is useful when a PDF has:
10020
+ * - Tables with complex layouts
10021
+ * - Charts, diagrams or infographics
10022
+ * - Photos or images that can be used to answer user queries
10023
+ *
10024
+ * Notes:
10025
+ * - This feature is only available in Team and Enterprise plans.
10026
+ * - Enabling this will incur in extra AI Spend cost and additional File Storage usage, in order to use a vision-enabled LLM to visually index the PDF pages and store them as standalone page images in the bot's file storage.
10027
+ * - Enabling this may increase the overall AI Spend cost of your bot as your bot may pass one or more indexed page images to a vision-enabled LLM for answering user queries.
10028
+ * - This is limited to the first 30 pages of the PDF. If the file has more pages then the rest of the pages will NOT be vision-indexed. If you need to visually index the entire file, please split it into smaller files.
10029
+ * - This feature is only available for PDF files. If the file isn't a PDF, this setting will be ignored and no AI Spend will be incurred.
10030
+ */
10031
+ indexPages?: {
10032
+ [k: string]: any;
10033
+ };
9984
10034
  };
9985
10035
  };
9986
10036
  };
@@ -10428,11 +10478,11 @@ interface SearchFilesResponse {
10428
10478
  /**
10429
10479
  * The type of passage
10430
10480
  */
10431
- type?: "chunk" | "summary" | "consolidated";
10481
+ type?: "chunk" | "summary" | "consolidated" | "image";
10432
10482
  /**
10433
10483
  * The subtype of passage, if available.
10434
10484
  */
10435
- subtype?: "title" | "subtitle" | "paragraph" | "list" | "blockquote" | "table" | "code";
10485
+ subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
10436
10486
  /**
10437
10487
  * Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
10438
10488
  */
@@ -10441,6 +10491,10 @@ interface SearchFilesResponse {
10441
10491
  * Position number of the passage in the file relative to the other passages, if available. Can be used to know the order of passages within a file.
10442
10492
  */
10443
10493
  position?: number;
10494
+ /**
10495
+ * The URL of the source file for the vector, if applicable (e.g. for image vectors).
10496
+ */
10497
+ sourceUrl?: string;
10444
10498
  };
10445
10499
  file: {
10446
10500
  /**
@@ -10502,11 +10556,11 @@ interface ListFilePassagesResponse {
10502
10556
  /**
10503
10557
  * The type of passage
10504
10558
  */
10505
- type?: "chunk" | "summary" | "consolidated";
10559
+ type?: "chunk" | "summary" | "consolidated" | "image";
10506
10560
  /**
10507
10561
  * The subtype of passage, if available.
10508
10562
  */
10509
- subtype?: "title" | "subtitle" | "paragraph" | "list" | "blockquote" | "table" | "code";
10563
+ subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
10510
10564
  /**
10511
10565
  * Page number the passage is located on. Only applicable if the passage was extracted from a PDF file.
10512
10566
  */
@@ -10515,6 +10569,10 @@ interface ListFilePassagesResponse {
10515
10569
  * Position number of the passage in the file relative to the other passages, if available. Can be used to know the order of passages within a file.
10516
10570
  */
10517
10571
  position?: number;
10572
+ /**
10573
+ * The URL of the source file for the vector, if applicable (e.g. for image vectors).
10574
+ */
10575
+ sourceUrl?: string;
10518
10576
  };
10519
10577
  }[];
10520
10578
  meta: {
@@ -10556,7 +10614,7 @@ interface ListTablesResponse {
10556
10614
  */
10557
10615
  frozen?: boolean;
10558
10616
  schema: {
10559
- $schema: string;
10617
+ $schema?: string;
10560
10618
  /**
10561
10619
  * List of keys/columns in the table.
10562
10620
  */
@@ -10701,7 +10759,7 @@ interface GetTableResponse {
10701
10759
  */
10702
10760
  frozen?: boolean;
10703
10761
  schema: {
10704
- $schema: string;
10762
+ $schema?: string;
10705
10763
  /**
10706
10764
  * List of keys/columns in the table.
10707
10765
  */
@@ -10882,7 +10940,7 @@ interface GetOrCreateTableResponse {
10882
10940
  */
10883
10941
  frozen?: boolean;
10884
10942
  schema: {
10885
- $schema: string;
10943
+ $schema?: string;
10886
10944
  /**
10887
10945
  * List of keys/columns in the table.
10888
10946
  */
@@ -11070,7 +11128,7 @@ interface CreateTableResponse {
11070
11128
  */
11071
11129
  frozen?: boolean;
11072
11130
  schema: {
11073
- $schema: string;
11131
+ $schema?: string;
11074
11132
  /**
11075
11133
  * List of keys/columns in the table.
11076
11134
  */
@@ -11224,7 +11282,7 @@ interface DuplicateTableResponse {
11224
11282
  */
11225
11283
  frozen?: boolean;
11226
11284
  schema: {
11227
- $schema: string;
11285
+ $schema?: string;
11228
11286
  /**
11229
11287
  * List of keys/columns in the table.
11230
11288
  */
@@ -11344,6 +11402,87 @@ interface DuplicateTableResponse {
11344
11402
  rows: number;
11345
11403
  }
11346
11404
 
11405
+ interface ExportTableRequestHeaders {
11406
+ }
11407
+ interface ExportTableRequestQuery {
11408
+ format?: "csv" | "json";
11409
+ compress?: boolean;
11410
+ }
11411
+ interface ExportTableRequestParams {
11412
+ table: string;
11413
+ }
11414
+ interface ExportTableRequestBody {
11415
+ }
11416
+ type ExportTableInput = ExportTableRequestBody & ExportTableRequestHeaders & ExportTableRequestQuery & ExportTableRequestParams;
11417
+ interface ExportTableResponse {
11418
+ job: {
11419
+ id: string;
11420
+ botId: string;
11421
+ tableId: string;
11422
+ type: "export" | "import";
11423
+ status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
11424
+ progress?: number;
11425
+ inputFileId: string | null;
11426
+ outputFileId: string | null;
11427
+ createdAt: string;
11428
+ updatedAt: string;
11429
+ };
11430
+ }
11431
+
11432
+ interface GetTableJobsRequestHeaders {
11433
+ }
11434
+ interface GetTableJobsRequestQuery {
11435
+ }
11436
+ interface GetTableJobsRequestParams {
11437
+ table: string;
11438
+ }
11439
+ interface GetTableJobsRequestBody {
11440
+ }
11441
+ type GetTableJobsInput = GetTableJobsRequestBody & GetTableJobsRequestHeaders & GetTableJobsRequestQuery & GetTableJobsRequestParams;
11442
+ interface GetTableJobsResponse {
11443
+ jobs: {
11444
+ id: string;
11445
+ botId: string;
11446
+ tableId: string;
11447
+ type: "export" | "import";
11448
+ status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
11449
+ progress?: number;
11450
+ inputFileId: string | null;
11451
+ outputFileId: string | null;
11452
+ createdAt: string;
11453
+ updatedAt: string;
11454
+ }[];
11455
+ }
11456
+
11457
+ interface ImportTableRequestHeaders {
11458
+ }
11459
+ interface ImportTableRequestQuery {
11460
+ }
11461
+ interface ImportTableRequestParams {
11462
+ table: string;
11463
+ }
11464
+ interface ImportTableRequestBody {
11465
+ /**
11466
+ * The file ID to import. It must have been uploaded to the Files API before. Supported formats: CSV, JSON (gzipped or not)
11467
+ */
11468
+ fileId: string;
11469
+ }
11470
+ type ImportTableInput = ImportTableRequestBody & ImportTableRequestHeaders & ImportTableRequestQuery & ImportTableRequestParams;
11471
+ interface ImportTableResponse {
11472
+ job: {
11473
+ id: string;
11474
+ botId: string;
11475
+ tableId: string;
11476
+ type: "export" | "import";
11477
+ status: "pending" | "in_progress" | "finalizing" | "completed" | "failed";
11478
+ progress?: number;
11479
+ inputFileId: string | null;
11480
+ outputFileId: string | null;
11481
+ createdAt: string;
11482
+ updatedAt: string;
11483
+ };
11484
+ }
11485
+
11347
11486
  interface UpdateTableRequestHeaders {
11348
11487
  }
11349
11488
  interface UpdateTableRequestQuery {
@@ -11397,7 +11536,7 @@ interface UpdateTableResponse {
11397
11536
  */
11398
11537
  frozen?: boolean;
11399
11538
  schema: {
11400
- $schema: string;
11539
+ $schema?: string;
11401
11540
  /**
11402
11541
  * List of keys/columns in the table.
11403
11542
  */
@@ -11554,7 +11693,7 @@ interface RenameTableColumnResponse {
11554
11693
  */
11555
11694
  frozen?: boolean;
11556
11695
  schema: {
11557
- $schema: string;
11696
+ $schema?: string;
11558
11697
  /**
11559
11698
  * List of keys/columns in the table.
11560
11699
  */
@@ -12326,6 +12465,12 @@ interface Bot {
12326
12465
  };
12327
12466
  };
12328
12467
  };
12468
+ /**
12469
+ * Tags of [Bot](#schema_bot)
12470
+ */
12471
+ tags: {
12472
+ [k: string]: string;
12473
+ };
12329
12474
  /**
12330
12475
  * Name of the [Bot](#schema_bot)
12331
12476
  */
@@ -13325,7 +13470,7 @@ interface Table {
13325
13470
  */
13326
13471
  frozen?: boolean;
13327
13472
  schema: {
13328
- $schema: string;
13473
+ $schema?: string;
13329
13474
  /**
13330
13475
  * List of keys/columns in the table.
13331
13476
  */
@@ -13738,6 +13883,9 @@ declare class Client$1 {
13738
13883
  readonly getOrCreateTable: (input: GetOrCreateTableInput) => Promise<GetOrCreateTableResponse>;
13739
13884
  readonly createTable: (input: CreateTableInput) => Promise<CreateTableResponse>;
13740
13885
  readonly duplicateTable: (input: DuplicateTableInput) => Promise<DuplicateTableResponse>;
13886
+ readonly exportTable: (input: ExportTableInput) => Promise<ExportTableResponse>;
13887
+ readonly getTableJobs: (input: GetTableJobsInput) => Promise<GetTableJobsResponse>;
13888
+ readonly importTable: (input: ImportTableInput) => Promise<ImportTableResponse>;
13741
13889
  readonly updateTable: (input: UpdateTableInput) => Promise<UpdateTableResponse>;
13742
13890
  readonly renameTableColumn: (input: RenameTableColumnInput) => Promise<RenameTableColumnResponse>;
13743
13891
  readonly deleteTable: (input: DeleteTableInput) => Promise<DeleteTableResponse>;
@@ -14009,51 +14157,9 @@ type ApiError = UnknownError | InternalError | UnauthorizedError | ForbiddenErro
14009
14157
  declare const errorFrom: (err: unknown) => ApiError;
14010
14158
 
14011
14159
  declare class UploadFileError extends Error {
14012
- readonly innerError?: AxiosError<unknown, any> | undefined;
14013
- readonly file?: {
14014
- id: string;
14015
- botId: string;
14016
- key: string;
14017
- url: string;
14018
- size: number | null;
14019
- contentType: string;
14020
- tags: {
14021
- [k: string]: string;
14022
- };
14023
- metadata: {
14024
- [k: string]: any;
14025
- };
14026
- createdAt: string;
14027
- updatedAt: string;
14028
- accessPolicies: ("integrations" | "public_content")[];
14029
- index: boolean;
14030
- status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
14031
- failedStatusReason?: string | undefined;
14032
- expiresAt?: string | undefined;
14033
- uploadUrl: string;
14034
- } | undefined;
14035
- constructor(message: string, innerError?: AxiosError<unknown, any> | undefined, file?: {
14036
- id: string;
14037
- botId: string;
14038
- key: string;
14039
- url: string;
14040
- size: number | null;
14041
- contentType: string;
14042
- tags: {
14043
- [k: string]: string;
14044
- };
14045
- metadata: {
14046
- [k: string]: any;
14047
- };
14048
- createdAt: string;
14049
- updatedAt: string;
14050
- accessPolicies: ("integrations" | "public_content")[];
14051
- index: boolean;
14052
- status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
14053
- failedStatusReason?: string | undefined;
14054
- expiresAt?: string | undefined;
14055
- uploadUrl: string;
14056
- } | undefined);
14160
+ readonly innerError?: AxiosError | undefined;
14161
+ readonly file?: UpsertFileResponse["file"] | undefined;
14162
+ constructor(message: string, innerError?: AxiosError | undefined, file?: UpsertFileResponse["file"] | undefined);
14057
14163
  }
14058
14164
 
14059
14165
  type ListOperation = keyof {
@@ -14083,10 +14189,10 @@ declare class AsyncCollection<T> {
14083
14189
  declare class Lister {
14084
14190
  private _client;
14085
14191
  constructor(_client: Client$1);
14086
- readonly conversations: (props: ListInputs['listConversations']) => AsyncCollection<{
14192
+ readonly conversations: (props: ListInputs["listConversations"]) => AsyncCollection<{
14087
14193
  id: string;
14088
- currentTaskId?: string | undefined;
14089
- currentWorkflowId?: string | undefined;
14194
+ currentTaskId?: string;
14195
+ currentWorkflowId?: string;
14090
14196
  createdAt: string;
14091
14197
  updatedAt: string;
14092
14198
  channel: string;
@@ -14095,30 +14201,30 @@ declare class Lister {
14095
14201
  [k: string]: string;
14096
14202
  };
14097
14203
  }>;
14098
- readonly participants: (props: ListInputs['listParticipants']) => AsyncCollection<{
14204
+ readonly participants: (props: ListInputs["listParticipants"]) => AsyncCollection<{
14099
14205
  id: string;
14100
14206
  createdAt: string;
14101
14207
  updatedAt: string;
14102
14208
  tags: {
14103
14209
  [k: string]: string;
14104
14210
  };
14105
- name?: string | undefined;
14106
- pictureUrl?: string | undefined;
14211
+ name?: string;
14212
+ pictureUrl?: string;
14107
14213
  }>;
14108
- readonly events: (props: ListInputs['listEvents']) => AsyncCollection<{
14214
+ readonly events: (props: ListInputs["listEvents"]) => AsyncCollection<{
14109
14215
  id: string;
14110
14216
  createdAt: string;
14111
14217
  type: string;
14112
14218
  payload: {
14113
14219
  [k: string]: any;
14114
14220
  };
14115
- conversationId?: string | undefined;
14116
- userId?: string | undefined;
14117
- messageId?: string | undefined;
14221
+ conversationId?: string;
14222
+ userId?: string;
14223
+ messageId?: string;
14118
14224
  status: "pending" | "processed" | "ignored" | "failed" | "scheduled";
14119
14225
  failureReason: string | null;
14120
14226
  }>;
14121
- readonly messages: (props: ListInputs['listMessages']) => AsyncCollection<{
14227
+ readonly messages: (props: ListInputs["listMessages"]) => AsyncCollection<{
14122
14228
  id: string;
14123
14229
  createdAt: string;
14124
14230
  type: string;
@@ -14132,17 +14238,17 @@ declare class Lister {
14132
14238
  [k: string]: string;
14133
14239
  };
14134
14240
  }>;
14135
- readonly users: (props: ListInputs['listUsers']) => AsyncCollection<{
14241
+ readonly users: (props: ListInputs["listUsers"]) => AsyncCollection<{
14136
14242
  id: string;
14137
14243
  createdAt: string;
14138
14244
  updatedAt: string;
14139
14245
  tags: {
14140
14246
  [k: string]: string;
14141
14247
  };
14142
- name?: string | undefined;
14143
- pictureUrl?: string | undefined;
14248
+ name?: string;
14249
+ pictureUrl?: string;
14144
14250
  }>;
14145
- readonly tasks: (props: ListInputs['listTasks']) => AsyncCollection<{
14251
+ readonly tasks: (props: ListInputs["listTasks"]) => AsyncCollection<{
14146
14252
  id: string;
14147
14253
  title: string;
14148
14254
  description: string;
@@ -14150,19 +14256,19 @@ declare class Lister {
14150
14256
  data: {
14151
14257
  [k: string]: any;
14152
14258
  };
14153
- status: "pending" | "failed" | "in_progress" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
14154
- parentTaskId?: string | undefined;
14155
- conversationId?: string | undefined;
14156
- userId?: string | undefined;
14259
+ status: "pending" | "in_progress" | "failed" | "completed" | "blocked" | "paused" | "timeout" | "cancelled";
14260
+ parentTaskId?: string;
14261
+ conversationId?: string;
14262
+ userId?: string;
14157
14263
  timeoutAt: string;
14158
14264
  createdAt: string;
14159
14265
  updatedAt: string;
14160
- failureReason?: string | undefined;
14266
+ failureReason?: string;
14161
14267
  tags: {
14162
14268
  [k: string]: string;
14163
14269
  };
14164
14270
  }>;
14165
- readonly publicIntegrations: (props: ListInputs['listPublicIntegrations']) => AsyncCollection<{
14271
+ readonly publicIntegrations: (props: ListInputs["listPublicIntegrations"]) => AsyncCollection<{
14166
14272
  id: string;
14167
14273
  name: string;
14168
14274
  version: string;
@@ -14172,7 +14278,7 @@ declare class Lister {
14172
14278
  description: string;
14173
14279
  iconUrl: string;
14174
14280
  public: boolean;
14175
- verificationStatus: "pending" | "unapproved" | "approved" | "rejected";
14281
+ verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14176
14282
  ownerWorkspace: {
14177
14283
  id: string;
14178
14284
  handle: string | null;
@@ -14183,14 +14289,14 @@ declare class Lister {
14183
14289
  views: number;
14184
14290
  };
14185
14291
  }>;
14186
- readonly bots: (props: ListInputs['listBots']) => AsyncCollection<{
14292
+ readonly bots: (props: ListInputs["listBots"]) => AsyncCollection<{
14187
14293
  id: string;
14188
14294
  createdAt: string;
14189
14295
  updatedAt: string;
14190
14296
  name: string;
14191
- deployedAt?: string | undefined;
14297
+ deployedAt?: string;
14192
14298
  }>;
14193
- readonly botIssues: (props: ListInputs['listBotIssues']) => AsyncCollection<{
14299
+ readonly botIssues: (props: ListInputs["listBotIssues"]) => AsyncCollection<{
14194
14300
  id: string;
14195
14301
  code: string;
14196
14302
  createdAt: string;
@@ -14200,25 +14306,25 @@ declare class Lister {
14200
14306
  groupedData: {
14201
14307
  [k: string]: {
14202
14308
  raw: string;
14203
- pretty?: string | undefined;
14309
+ pretty?: string;
14204
14310
  };
14205
14311
  };
14206
14312
  eventsCount: number;
14207
- category: "configuration" | "user_code" | "limits" | "other";
14313
+ category: "user_code" | "limits" | "configuration" | "other";
14208
14314
  resolutionLink: string | null;
14209
14315
  }>;
14210
- readonly workspaces: (props: ListInputs['listWorkspaces']) => AsyncCollection<UpdateWorkspaceResponse>;
14211
- readonly publicWorkspaces: (props: ListInputs['listPublicWorkspaces']) => AsyncCollection<GetPublicWorkspaceResponse>;
14212
- readonly workspaceMembers: (props: ListInputs['listWorkspaceMembers']) => AsyncCollection<{
14316
+ readonly workspaces: (props: ListInputs["listWorkspaces"]) => AsyncCollection<UpdateWorkspaceResponse>;
14317
+ readonly publicWorkspaces: (props: ListInputs["listPublicWorkspaces"]) => AsyncCollection<GetPublicWorkspaceResponse>;
14318
+ readonly workspaceMembers: (props: ListInputs["listWorkspaceMembers"]) => AsyncCollection<{
14213
14319
  id: string;
14214
- userId?: string | undefined;
14320
+ userId?: string;
14215
14321
  email: string;
14216
14322
  createdAt: string;
14217
14323
  role: "viewer" | "billing" | "developer" | "manager" | "administrator" | "owner";
14218
- profilePicture?: string | undefined;
14219
- displayName?: string | undefined;
14324
+ profilePicture?: string;
14325
+ displayName?: string;
14220
14326
  }>;
14221
- readonly integrations: (props: ListInputs['listIntegrations']) => AsyncCollection<{
14327
+ readonly integrations: (props: ListInputs["listIntegrations"]) => AsyncCollection<{
14222
14328
  id: string;
14223
14329
  name: string;
14224
14330
  version: string;
@@ -14228,16 +14334,16 @@ declare class Lister {
14228
14334
  description: string;
14229
14335
  iconUrl: string;
14230
14336
  public: boolean;
14231
- verificationStatus: "pending" | "unapproved" | "approved" | "rejected";
14337
+ verificationStatus: "unapproved" | "pending" | "approved" | "rejected";
14232
14338
  }>;
14233
- readonly interfaces: (props: ListInputs['listInterfaces']) => AsyncCollection<{
14339
+ readonly interfaces: (props: ListInputs["listInterfaces"]) => AsyncCollection<{
14234
14340
  id: string;
14235
14341
  createdAt: string;
14236
14342
  updatedAt: string;
14237
14343
  name: string;
14238
14344
  version: string;
14239
14345
  }>;
14240
- readonly activities: (props: ListInputs['listActivities']) => AsyncCollection<{
14346
+ readonly activities: (props: ListInputs["listActivities"]) => AsyncCollection<{
14241
14347
  id: string;
14242
14348
  description: string;
14243
14349
  taskId: string;
@@ -14247,7 +14353,7 @@ declare class Lister {
14247
14353
  };
14248
14354
  createdAt: string;
14249
14355
  }>;
14250
- readonly files: (props: ListInputs['listFiles']) => AsyncCollection<{
14356
+ readonly files: (props: ListInputs["listFiles"]) => AsyncCollection<{
14251
14357
  id: string;
14252
14358
  botId: string;
14253
14359
  key: string;
@@ -14258,24 +14364,25 @@ declare class Lister {
14258
14364
  [k: string]: string;
14259
14365
  };
14260
14366
  metadata: {
14261
- [k: string]: any;
14367
+ [k: string]: any | null;
14262
14368
  };
14263
14369
  createdAt: string;
14264
14370
  updatedAt: string;
14265
14371
  accessPolicies: ("integrations" | "public_content")[];
14266
14372
  index: boolean;
14267
14373
  status: "upload_pending" | "upload_failed" | "upload_completed" | "indexing_pending" | "indexing_failed" | "indexing_completed";
14268
- failedStatusReason?: string | undefined;
14269
- expiresAt?: string | undefined;
14374
+ failedStatusReason?: string;
14375
+ expiresAt?: string;
14270
14376
  }>;
14271
- readonly filePassages: (props: ListInputs['listFilePassages']) => AsyncCollection<{
14377
+ readonly filePassages: (props: ListInputs["listFilePassages"]) => AsyncCollection<{
14272
14378
  id: string;
14273
14379
  content: string;
14274
14380
  meta: {
14275
- type?: "chunk" | "summary" | "consolidated" | undefined;
14276
- subtype?: "code" | "title" | "subtitle" | "paragraph" | "list" | "blockquote" | "table" | undefined;
14277
- pageNumber?: number | undefined;
14278
- position?: number | undefined;
14381
+ type?: "chunk" | "summary" | "consolidated" | "image";
14382
+ subtype?: "title" | "subtitle" | "paragraph" | "blockquote" | "list" | "table" | "code" | "page";
14383
+ pageNumber?: number;
14384
+ position?: number;
14385
+ sourceUrl?: string;
14279
14386
  };
14280
14387
  }>;
14281
14388
  }
@@ -14287,7 +14394,7 @@ declare class Client extends Client$1 implements IClient {
14287
14394
  /**
14288
14395
  * Create/update and upload a file in a single step. Returns an object containing the file metadata and the URL to retrieve the file.
14289
14396
  */
14290
- readonly uploadFile: ({ key, index, tags, contentType, accessPolicies, content, url, indexing, expiresAt, publicContentImmediatelyAccessible, }: ClientInputs['uploadFile']) => Promise<ClientOutputs['uploadFile']>;
14397
+ readonly uploadFile: ({ key, index, tags, contentType, accessPolicies, content, url, indexing, expiresAt, publicContentImmediatelyAccessible, }: ClientInputs["uploadFile"]) => Promise<ClientOutputs["uploadFile"]>;
14291
14398
  }
14292
14399
 
14293
14400
  export { type Account, AlreadyExistsError, type ApiError, type Bot, BreakingChangesError, Client, type ClientConfig, type ClientInputs, type ClientOutputs, type ClientParams, type ClientProps, type ClientReturn, type Column, type Conversation, type ErrorType, type Event, type File, ForbiddenError, type IClient, type Integration, type Interface, InternalError, InvalidDataFormatError, InvalidIdentifierError, InvalidJsonSchemaError, InvalidPayloadError, InvalidQueryError, type Issue, type IssueEvent, LimitExceededError, type Message, MethodNotFoundError, type Operation, PayloadTooLargeError, PaymentRequiredError, type Plugin, QuotaExceededError, RateLimitedError, ReferenceConstraintError, ReferenceNotFoundError, RelationConflictError, ResourceLockedConflictError, ResourceNotFoundError, type RetryConfig, type Row, RuntimeError, type State, type Table, UnauthorizedError, UnknownError, UnsupportedMediaTypeError, UploadFileError, type Usage, type User, type Workflow, type Workspace, type WorkspaceMember, errorFrom, isApiError };