@botpress/api 0.20.0 → 0.21.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/src/gen/state.ts CHANGED
@@ -6700,6 +6700,136 @@ export const state = {
6700
6700
  }
6701
6701
  }
6702
6702
  },
6703
+ "listIntegrationApiKeys": {
6704
+ "name": "listIntegrationApiKeys",
6705
+ "description": "List IAKs (Integration Api Keys) of an integration",
6706
+ "method": "get",
6707
+ "section": "integration",
6708
+ "path": "/v1/admin/integrations/iaks",
6709
+ "parameters": {
6710
+ "integrationVersionId": {
6711
+ "in": "query",
6712
+ "description": "ID of the integration version",
6713
+ "type": "string",
6714
+ "required": true
6715
+ }
6716
+ },
6717
+ "response": {
6718
+ "description": "Success",
6719
+ "schema": {
6720
+ "type": "object",
6721
+ "properties": {
6722
+ "iaks": {
6723
+ "type": "array",
6724
+ "items": {
6725
+ "type": "object",
6726
+ "properties": {
6727
+ "id": {
6728
+ "type": "string"
6729
+ },
6730
+ "createdAt": {
6731
+ "type": "string",
6732
+ "format": "date-time"
6733
+ },
6734
+ "note": {
6735
+ "type": "string"
6736
+ }
6737
+ },
6738
+ "required": [
6739
+ "id",
6740
+ "createdAt",
6741
+ "note"
6742
+ ]
6743
+ }
6744
+ }
6745
+ },
6746
+ "required": [
6747
+ "iaks"
6748
+ ],
6749
+ "title": "listIntegrationApiKeysResponse",
6750
+ "additionalProperties": false
6751
+ }
6752
+ }
6753
+ },
6754
+ "createIntegrationApiKey": {
6755
+ "name": "createIntegrationApiKey",
6756
+ "description": "Create an IAK",
6757
+ "method": "post",
6758
+ "section": "integration",
6759
+ "path": "/v1/admin/integrations/iaks",
6760
+ "requestBody": {
6761
+ "description": "IAK metadata",
6762
+ "schema": {
6763
+ "type": "object",
6764
+ "properties": {
6765
+ "integrationVersionId": {
6766
+ "type": "string"
6767
+ },
6768
+ "note": {
6769
+ "type": "string"
6770
+ }
6771
+ },
6772
+ "required": [
6773
+ "integrationVersionId"
6774
+ ],
6775
+ "title": "createIntegrationApiKeyBody",
6776
+ "additionalProperties": false
6777
+ }
6778
+ },
6779
+ "response": {
6780
+ "description": "Success",
6781
+ "schema": {
6782
+ "type": "object",
6783
+ "properties": {
6784
+ "id": {
6785
+ "type": "string"
6786
+ },
6787
+ "createdAt": {
6788
+ "type": "string",
6789
+ "format": "date-time"
6790
+ },
6791
+ "note": {
6792
+ "type": "string"
6793
+ },
6794
+ "value": {
6795
+ "type": "string",
6796
+ "description": "The IAK value. This will only be returned here when created and cannot be retrieved later."
6797
+ }
6798
+ },
6799
+ "required": [
6800
+ "id",
6801
+ "createdAt",
6802
+ "note",
6803
+ "value"
6804
+ ],
6805
+ "title": "createIntegrationApiKeyResponse",
6806
+ "additionalProperties": false
6807
+ }
6808
+ },
6809
+ "parameters": {}
6810
+ },
6811
+ "deleteIntegrationApiKey": {
6812
+ "name": "deleteIntegrationApiKey",
6813
+ "description": "Delete an IAK",
6814
+ "method": "delete",
6815
+ "section": "integration",
6816
+ "path": "/v1/admin/integrations/iaks/{id}",
6817
+ "parameters": {
6818
+ "id": {
6819
+ "type": "string",
6820
+ "description": "ID of Integration Api Key",
6821
+ "in": "path"
6822
+ }
6823
+ },
6824
+ "response": {
6825
+ "description": "Success",
6826
+ "schema": {
6827
+ "type": "object",
6828
+ "title": "deleteIntegrationApiKeyResponse",
6829
+ "additionalProperties": false
6830
+ }
6831
+ }
6832
+ },
6703
6833
  "createIntegration": {
6704
6834
  "name": "createIntegration",
6705
6835
  "description": "Create integration",
@@ -8109,7 +8239,7 @@ export const state = {
8109
8239
  "in": "header"
8110
8240
  },
8111
8241
  "x-index": {
8112
- "type": "string",
8242
+ "type": "boolean",
8113
8243
  "description": "Set to a value of \"true\" to index the file in vector storage. Only PDFs, Office documents, and text-based files are currently supported. Note that if a file is indexed, it will count towards the Vector Storage quota of the workspace rather than the File Storage quota.",
8114
8244
  "in": "header"
8115
8245
  },
@@ -8135,20 +8265,26 @@ export const state = {
8135
8265
  "type": "object",
8136
8266
  "properties": {
8137
8267
  "id": {
8138
- "type": "string"
8268
+ "type": "string",
8269
+ "description": "File ID"
8139
8270
  },
8140
8271
  "botId": {
8141
- "type": "string"
8272
+ "type": "string",
8273
+ "description": "The ID of the bot the file belongs to"
8142
8274
  },
8143
8275
  "name": {
8144
- "type": "string"
8276
+ "type": "string",
8277
+ "description": "File name",
8278
+ "nullable": true
8145
8279
  },
8146
8280
  "size": {
8147
8281
  "type": "number",
8282
+ "description": "File size in bytes",
8148
8283
  "nullable": true
8149
8284
  },
8150
8285
  "contentType": {
8151
- "type": "string"
8286
+ "type": "string",
8287
+ "description": "MIME type of the file's content"
8152
8288
  },
8153
8289
  "tags": {
8154
8290
  "type": "object",
@@ -8156,19 +8292,22 @@ export const state = {
8156
8292
  "type": "string",
8157
8293
  "maxLength": 1000
8158
8294
  },
8159
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
8295
+ "description": "The tags of the file as an object of key/value pairs"
8160
8296
  },
8161
8297
  "createdAt": {
8162
- "type": "string"
8298
+ "type": "string",
8299
+ "description": "File creation timestamp in ISO 8601 format"
8163
8300
  },
8164
8301
  "updatedAt": {
8165
- "type": "string"
8302
+ "type": "string",
8303
+ "description": "File last update timestamp in ISO 8601 format"
8166
8304
  },
8167
8305
  "accessPolicies": {
8168
8306
  "type": "array",
8169
8307
  "items": {
8170
8308
  "type": "string"
8171
- }
8309
+ },
8310
+ "description": "Access policies configured for the file."
8172
8311
  },
8173
8312
  "indexingStatus": {
8174
8313
  "type": "string",
@@ -8177,10 +8316,12 @@ export const state = {
8177
8316
  "IN_PROGRESS",
8178
8317
  "COMPLETE",
8179
8318
  "FAILED"
8180
- ]
8319
+ ],
8320
+ "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
8181
8321
  },
8182
8322
  "indexingFailureReason": {
8183
- "type": "string"
8323
+ "type": "string",
8324
+ "description": "Last failure reason of the file indexing if the indexing status is \"FAILED\"."
8184
8325
  }
8185
8326
  },
8186
8327
  "required": [
@@ -8267,20 +8408,26 @@ export const state = {
8267
8408
  "type": "object",
8268
8409
  "properties": {
8269
8410
  "id": {
8270
- "type": "string"
8411
+ "type": "string",
8412
+ "description": "File ID"
8271
8413
  },
8272
8414
  "botId": {
8273
- "type": "string"
8415
+ "type": "string",
8416
+ "description": "The ID of the bot the file belongs to"
8274
8417
  },
8275
8418
  "name": {
8276
- "type": "string"
8419
+ "type": "string",
8420
+ "description": "File name",
8421
+ "nullable": true
8277
8422
  },
8278
8423
  "size": {
8279
8424
  "type": "number",
8425
+ "description": "File size in bytes",
8280
8426
  "nullable": true
8281
8427
  },
8282
8428
  "contentType": {
8283
- "type": "string"
8429
+ "type": "string",
8430
+ "description": "MIME type of the file's content"
8284
8431
  },
8285
8432
  "tags": {
8286
8433
  "type": "object",
@@ -8288,19 +8435,22 @@ export const state = {
8288
8435
  "type": "string",
8289
8436
  "maxLength": 1000
8290
8437
  },
8291
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
8438
+ "description": "The tags of the file as an object of key/value pairs"
8292
8439
  },
8293
8440
  "createdAt": {
8294
- "type": "string"
8441
+ "type": "string",
8442
+ "description": "File creation timestamp in ISO 8601 format"
8295
8443
  },
8296
8444
  "updatedAt": {
8297
- "type": "string"
8445
+ "type": "string",
8446
+ "description": "File last update timestamp in ISO 8601 format"
8298
8447
  },
8299
8448
  "accessPolicies": {
8300
8449
  "type": "array",
8301
8450
  "items": {
8302
8451
  "type": "string"
8303
- }
8452
+ },
8453
+ "description": "Access policies configured for the file."
8304
8454
  },
8305
8455
  "indexingStatus": {
8306
8456
  "type": "string",
@@ -8309,10 +8459,12 @@ export const state = {
8309
8459
  "IN_PROGRESS",
8310
8460
  "COMPLETE",
8311
8461
  "FAILED"
8312
- ]
8462
+ ],
8463
+ "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
8313
8464
  },
8314
8465
  "indexingFailureReason": {
8315
- "type": "string"
8466
+ "type": "string",
8467
+ "description": "Last failure reason of the file indexing if the indexing status is \"FAILED\"."
8316
8468
  }
8317
8469
  },
8318
8470
  "required": [
@@ -8370,20 +8522,26 @@ export const state = {
8370
8522
  "type": "object",
8371
8523
  "properties": {
8372
8524
  "id": {
8373
- "type": "string"
8525
+ "type": "string",
8526
+ "description": "File ID"
8374
8527
  },
8375
8528
  "botId": {
8376
- "type": "string"
8529
+ "type": "string",
8530
+ "description": "The ID of the bot the file belongs to"
8377
8531
  },
8378
8532
  "name": {
8379
- "type": "string"
8533
+ "type": "string",
8534
+ "description": "File name",
8535
+ "nullable": true
8380
8536
  },
8381
8537
  "size": {
8382
8538
  "type": "number",
8539
+ "description": "File size in bytes",
8383
8540
  "nullable": true
8384
8541
  },
8385
8542
  "contentType": {
8386
- "type": "string"
8543
+ "type": "string",
8544
+ "description": "MIME type of the file's content"
8387
8545
  },
8388
8546
  "tags": {
8389
8547
  "type": "object",
@@ -8391,19 +8549,22 @@ export const state = {
8391
8549
  "type": "string",
8392
8550
  "maxLength": 1000
8393
8551
  },
8394
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
8552
+ "description": "The tags of the file as an object of key/value pairs"
8395
8553
  },
8396
8554
  "createdAt": {
8397
- "type": "string"
8555
+ "type": "string",
8556
+ "description": "File creation timestamp in ISO 8601 format"
8398
8557
  },
8399
8558
  "updatedAt": {
8400
- "type": "string"
8559
+ "type": "string",
8560
+ "description": "File last update timestamp in ISO 8601 format"
8401
8561
  },
8402
8562
  "accessPolicies": {
8403
8563
  "type": "array",
8404
8564
  "items": {
8405
8565
  "type": "string"
8406
- }
8566
+ },
8567
+ "description": "Access policies configured for the file."
8407
8568
  },
8408
8569
  "indexingStatus": {
8409
8570
  "type": "string",
@@ -8412,10 +8573,12 @@ export const state = {
8412
8573
  "IN_PROGRESS",
8413
8574
  "COMPLETE",
8414
8575
  "FAILED"
8415
- ]
8576
+ ],
8577
+ "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
8416
8578
  },
8417
8579
  "indexingFailureReason": {
8418
- "type": "string"
8580
+ "type": "string",
8581
+ "description": "Last failure reason of the file indexing if the indexing status is \"FAILED\"."
8419
8582
  }
8420
8583
  },
8421
8584
  "required": [
@@ -8495,7 +8658,7 @@ export const state = {
8495
8658
  "type": "string",
8496
8659
  "maxLength": 1000
8497
8660
  },
8498
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
8661
+ "description": "The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it."
8499
8662
  }
8500
8663
  },
8501
8664
  "required": [
@@ -8516,7 +8679,7 @@ export const state = {
8516
8679
  "type": "string",
8517
8680
  "maxLength": 1000
8518
8681
  },
8519
- "description": "The tags to update as an object of key/value pairs. A tag key can be set to a null value to delete it."
8682
+ "description": "The updated tags of the file."
8520
8683
  }
8521
8684
  },
8522
8685
  "required": [
@@ -8553,22 +8716,22 @@ export const state = {
8553
8716
  "query": {
8554
8717
  "in": "query",
8555
8718
  "type": "string",
8556
- "description": "Query expressed in natural language to retrieve matching text passages within all files using semantical search.",
8719
+ "description": "Query expressed in natural language to retrieve matching text passages within all indexed files in the bot using semantical search.",
8557
8720
  "required": true
8558
8721
  },
8559
8722
  "contextDepth": {
8560
8723
  "in": "query",
8561
- "type": "string",
8724
+ "type": "integer",
8562
8725
  "description": "The number of neighbor passages to prepend and append as surrounding context to the content of each returned passage. Default: 0, Maximum: 10"
8563
8726
  },
8564
8727
  "limit": {
8565
8728
  "in": "query",
8566
- "type": "string",
8729
+ "type": "integer",
8567
8730
  "description": "The maximum number of passages to return."
8568
8731
  }
8569
8732
  },
8570
8733
  "response": {
8571
- "description": "Returns the passages matching the query.",
8734
+ "description": "Returns the text passages within all indexed files that matched the query.",
8572
8735
  "schema": {
8573
8736
  "type": "object",
8574
8737
  "properties": {
@@ -8577,29 +8740,56 @@ export const state = {
8577
8740
  "items": {
8578
8741
  "type": "object",
8579
8742
  "properties": {
8580
- "fileId": {
8581
- "type": "string"
8743
+ "content": {
8744
+ "type": "string",
8745
+ "description": "The content of the matching passage in the file including surrounding context, if any."
8582
8746
  },
8583
8747
  "score": {
8584
- "type": "number"
8585
- },
8586
- "content": {
8587
- "type": "string"
8748
+ "type": "number",
8749
+ "description": "The score indicating the similarity of the passage to the query. A higher score indicates higher similarity."
8588
8750
  },
8589
- "tags": {
8751
+ "file": {
8590
8752
  "type": "object",
8591
- "additionalProperties": {
8592
- "type": "string",
8593
- "maxLength": 1000
8753
+ "properties": {
8754
+ "id": {
8755
+ "type": "string",
8756
+ "description": "File ID"
8757
+ },
8758
+ "name": {
8759
+ "type": "string",
8760
+ "description": "File name",
8761
+ "nullable": true
8762
+ },
8763
+ "tags": {
8764
+ "type": "object",
8765
+ "additionalProperties": {
8766
+ "type": "string",
8767
+ "maxLength": 1000
8768
+ },
8769
+ "description": "The tags of the file as an object of key/value pairs."
8770
+ },
8771
+ "createdAt": {
8772
+ "type": "string",
8773
+ "description": "File creation timestamp in ISO 8601 format"
8774
+ },
8775
+ "updatedAt": {
8776
+ "type": "string",
8777
+ "description": "File last update timestamp in ISO 8601 format"
8778
+ }
8594
8779
  },
8595
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
8780
+ "required": [
8781
+ "id",
8782
+ "name",
8783
+ "tags",
8784
+ "createdAt",
8785
+ "updatedAt"
8786
+ ]
8596
8787
  }
8597
8788
  },
8598
8789
  "required": [
8599
- "fileId",
8600
- "score",
8601
8790
  "content",
8602
- "tags"
8791
+ "score",
8792
+ "file"
8603
8793
  ]
8604
8794
  }
8605
8795
  }
@@ -8691,6 +8881,83 @@ export const state = {
8691
8881
  }
8692
8882
  }
8693
8883
  },
8884
+ "getOrCreateTable": {
8885
+ "name": "getOrCreateTable",
8886
+ "path": "/v1/tables/{table}",
8887
+ "description": "Retrieves information about a specific table if it exists; otherwise, creates a new table based on the provided schema.",
8888
+ "parameters": {
8889
+ "table": {
8890
+ "type": "string",
8891
+ "description": "The table's name or unique identifier for targeting specific table operations.",
8892
+ "in": "path"
8893
+ }
8894
+ },
8895
+ "method": "post",
8896
+ "requestBody": {
8897
+ "description": "Schema defining the structure of the table",
8898
+ "schema": {
8899
+ "type": "object",
8900
+ "properties": {
8901
+ "factor": {
8902
+ "default": 1,
8903
+ "type": "number",
8904
+ "minimum": 1,
8905
+ "maximum": 30,
8906
+ "description": "The 'factor' multiplies the row's data storage limit by 4KB and its quota count, but can only be set at table creation and not modified later. For instance, a factor of 2 increases storage to 8KB but counts as 2 rows in your quota. The default factor is 1."
8907
+ },
8908
+ "schema": {
8909
+ "type": "object",
8910
+ "additionalProperties": true,
8911
+ "description": "Provide an object or a JSON schema to define the columns of the table. A maximum of 20 keys in the object/schema is allowed."
8912
+ },
8913
+ "tags": {
8914
+ "type": "object",
8915
+ "additionalProperties": {
8916
+ "type": "string"
8917
+ },
8918
+ "description": "Optional tags to help organize your tables. These should be passed here as an object representing key/value pairs."
8919
+ }
8920
+ },
8921
+ "required": [
8922
+ "schema"
8923
+ ],
8924
+ "title": "getOrCreateTableBody",
8925
+ "additionalProperties": false
8926
+ }
8927
+ },
8928
+ "section": "tables",
8929
+ "response": {
8930
+ "description": "The retrieved or created table object.",
8931
+ "schema": {
8932
+ "type": "object",
8933
+ "properties": {
8934
+ "table": {
8935
+ "$ref": "#/components/schemas/Table"
8936
+ },
8937
+ "created": {
8938
+ "type": "boolean",
8939
+ "description": "Flag indicating if the table was newly created."
8940
+ },
8941
+ "rows": {
8942
+ "type": "number",
8943
+ "description": "The total number of rows present in the table."
8944
+ },
8945
+ "indexingCount": {
8946
+ "type": "number",
8947
+ "description": "The number of rows pending indexing, relevant for search functionalities."
8948
+ }
8949
+ },
8950
+ "required": [
8951
+ "table",
8952
+ "created",
8953
+ "rows",
8954
+ "indexingCount"
8955
+ ],
8956
+ "title": "getOrCreateTableResponse",
8957
+ "additionalProperties": false
8958
+ }
8959
+ }
8960
+ },
8694
8961
  "createTable": {
8695
8962
  "name": "createTable",
8696
8963
  "path": "/v1/tables",
@@ -8753,6 +9020,62 @@ export const state = {
8753
9020
  },
8754
9021
  "parameters": {}
8755
9022
  },
9023
+ "duplicateTable": {
9024
+ "name": "duplicateTable",
9025
+ "path": "/v1/tables/{sourceTableId}/duplicate",
9026
+ "description": "Duplicates the table schema & content",
9027
+ "parameters": {
9028
+ "sourceTableId": {
9029
+ "type": "string",
9030
+ "description": "The table's unique identifier",
9031
+ "in": "path"
9032
+ }
9033
+ },
9034
+ "method": "post",
9035
+ "requestBody": {
9036
+ "description": "Parameters for the duplication operation.",
9037
+ "schema": {
9038
+ "type": "object",
9039
+ "properties": {
9040
+ "tableName": {
9041
+ "type": "string"
9042
+ },
9043
+ "schemaOnly": {
9044
+ "type": "boolean",
9045
+ "description": "Only duplicate the schema, not the content"
9046
+ },
9047
+ "factor": {
9048
+ "type": "number",
9049
+ "description": "Use a different factor for the table. Leave empty to use the same as the duplicated table."
9050
+ }
9051
+ },
9052
+ "title": "duplicateTableBody",
9053
+ "additionalProperties": false
9054
+ }
9055
+ },
9056
+ "section": "tables",
9057
+ "response": {
9058
+ "description": "The created table object.",
9059
+ "schema": {
9060
+ "type": "object",
9061
+ "properties": {
9062
+ "table": {
9063
+ "$ref": "#/components/schemas/Table"
9064
+ },
9065
+ "rows": {
9066
+ "type": "number",
9067
+ "description": "The total number of rows present in the table."
9068
+ }
9069
+ },
9070
+ "required": [
9071
+ "table",
9072
+ "rows"
9073
+ ],
9074
+ "title": "duplicateTableResponse",
9075
+ "additionalProperties": false
9076
+ }
9077
+ }
9078
+ },
8756
9079
  "updateTable": {
8757
9080
  "name": "updateTable",
8758
9081
  "path": "/v1/tables/{table}",
@@ -9320,7 +9643,7 @@ export const state = {
9320
9643
  "title": "Botpress API",
9321
9644
  "description": "API for Botpress Cloud",
9322
9645
  "server": "https://api.botpress.cloud",
9323
- "version": "0.20.0",
9646
+ "version": "0.21.0",
9324
9647
  "prefix": "v1"
9325
9648
  },
9326
9649
  "errors": [
@@ -9476,13 +9799,16 @@ export const state = {
9476
9799
  "changeWorkspacePlanBody": true,
9477
9800
  "createWorkspaceMemberBody": true,
9478
9801
  "updateWorkspaceMemberBody": true,
9802
+ "createIntegrationApiKeyBody": true,
9479
9803
  "createIntegrationBody": true,
9480
9804
  "updateIntegrationBody": true,
9481
9805
  "changeAISpendQuotaBody": true,
9482
9806
  "introspectBody": true,
9483
9807
  "createFileBody": true,
9484
9808
  "updateFileMetadataBody": true,
9809
+ "getOrCreateTableBody": true,
9485
9810
  "createTableBody": true,
9811
+ "duplicateTableBody": true,
9486
9812
  "updateTableBody": true,
9487
9813
  "renameTableColumnBody": true,
9488
9814
  "findTableRowsBody": true,
@@ -9574,6 +9900,9 @@ export const state = {
9574
9900
  "deleteWorkspaceMemberResponse": true,
9575
9901
  "createWorkspaceMemberResponse": true,
9576
9902
  "updateWorkspaceMemberResponse": true,
9903
+ "listIntegrationApiKeysResponse": true,
9904
+ "createIntegrationApiKeyResponse": true,
9905
+ "deleteIntegrationApiKeyResponse": true,
9577
9906
  "createIntegrationResponse": true,
9578
9907
  "updateIntegrationResponse": true,
9579
9908
  "listIntegrationsResponse": true,
@@ -9595,7 +9924,9 @@ export const state = {
9595
9924
  "searchFilesResponse": true,
9596
9925
  "listTablesResponse": true,
9597
9926
  "getTableResponse": true,
9927
+ "getOrCreateTableResponse": true,
9598
9928
  "createTableResponse": true,
9929
+ "duplicateTableResponse": true,
9599
9930
  "updateTableResponse": true,
9600
9931
  "renameTableColumnResponse": true,
9601
9932
  "deleteTableResponse": true,
@@ -11623,20 +11954,26 @@ export const state = {
11623
11954
  "type": "object",
11624
11955
  "properties": {
11625
11956
  "id": {
11626
- "type": "string"
11957
+ "type": "string",
11958
+ "description": "File ID"
11627
11959
  },
11628
11960
  "botId": {
11629
- "type": "string"
11961
+ "type": "string",
11962
+ "description": "The ID of the bot the file belongs to"
11630
11963
  },
11631
11964
  "name": {
11632
- "type": "string"
11965
+ "type": "string",
11966
+ "description": "File name",
11967
+ "nullable": true
11633
11968
  },
11634
11969
  "size": {
11635
11970
  "type": "number",
11971
+ "description": "File size in bytes",
11636
11972
  "nullable": true
11637
11973
  },
11638
11974
  "contentType": {
11639
- "type": "string"
11975
+ "type": "string",
11976
+ "description": "MIME type of the file's content"
11640
11977
  },
11641
11978
  "tags": {
11642
11979
  "type": "object",
@@ -11644,19 +11981,22 @@ export const state = {
11644
11981
  "type": "string",
11645
11982
  "maxLength": 1000
11646
11983
  },
11647
- "description": "Set of tags that you can attach to a file. Individual keys can be unset by setting them to a `null` value."
11984
+ "description": "The tags of the file as an object of key/value pairs"
11648
11985
  },
11649
11986
  "createdAt": {
11650
- "type": "string"
11987
+ "type": "string",
11988
+ "description": "File creation timestamp in ISO 8601 format"
11651
11989
  },
11652
11990
  "updatedAt": {
11653
- "type": "string"
11991
+ "type": "string",
11992
+ "description": "File last update timestamp in ISO 8601 format"
11654
11993
  },
11655
11994
  "accessPolicies": {
11656
11995
  "type": "array",
11657
11996
  "items": {
11658
11997
  "type": "string"
11659
- }
11998
+ },
11999
+ "description": "Access policies configured for the file."
11660
12000
  },
11661
12001
  "indexingStatus": {
11662
12002
  "type": "string",
@@ -11665,10 +12005,12 @@ export const state = {
11665
12005
  "IN_PROGRESS",
11666
12006
  "COMPLETE",
11667
12007
  "FAILED"
11668
- ]
12008
+ ],
12009
+ "description": "Status of the file indexing process. No value will be set if indexing was not enabled for the file when it was created."
11669
12010
  },
11670
12011
  "indexingFailureReason": {
11671
- "type": "string"
12012
+ "type": "string",
12013
+ "description": "Last failure reason of the file indexing if the indexing status is \"FAILED\"."
11672
12014
  }
11673
12015
  },
11674
12016
  "required": [
@@ -11818,6 +12160,9 @@ export const state = {
11818
12160
  "description": "",
11819
12161
  "name": "integration",
11820
12162
  "operations": [
12163
+ "listIntegrationApiKeys",
12164
+ "createIntegrationApiKey",
12165
+ "deleteIntegrationApiKey",
11821
12166
  "createIntegration",
11822
12167
  "updateIntegration",
11823
12168
  "listIntegrations",
@@ -11923,7 +12268,9 @@ export const state = {
11923
12268
  "operations": [
11924
12269
  "listTables",
11925
12270
  "getTable",
12271
+ "getOrCreateTable",
11926
12272
  "createTable",
12273
+ "duplicateTable",
11927
12274
  "updateTable",
11928
12275
  "renameTableColumn",
11929
12276
  "deleteTable",