@botpress/api 0.37.2 → 0.38.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.js CHANGED
@@ -285055,6 +285055,16 @@ var state = {
285055
285055
  "type": "boolean",
285056
285056
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
285057
285057
  },
285058
+ "verificationStatus": {
285059
+ "type": "string",
285060
+ "enum": [
285061
+ "unapproved",
285062
+ "pending",
285063
+ "approved",
285064
+ "rejected"
285065
+ ],
285066
+ "description": "Status of the integration version verification"
285067
+ },
285058
285068
  "ownerWorkspace": {
285059
285069
  "type": "object",
285060
285070
  "properties": {
@@ -285086,6 +285096,7 @@ var state = {
285086
285096
  "description",
285087
285097
  "iconUrl",
285088
285098
  "public",
285099
+ "verificationStatus",
285089
285100
  "ownerWorkspace"
285090
285101
  ]
285091
285102
  }
@@ -285619,6 +285630,16 @@ var state = {
285619
285630
  "type": "boolean",
285620
285631
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
285621
285632
  },
285633
+ "verificationStatus": {
285634
+ "type": "string",
285635
+ "enum": [
285636
+ "unapproved",
285637
+ "pending",
285638
+ "approved",
285639
+ "rejected"
285640
+ ],
285641
+ "description": "Status of the integration version verification"
285642
+ },
285622
285643
  "secrets": {
285623
285644
  "type": "array",
285624
285645
  "items": {
@@ -285670,6 +285691,7 @@ var state = {
285670
285691
  "iconUrl",
285671
285692
  "readmeUrl",
285672
285693
  "public",
285694
+ "verificationStatus",
285673
285695
  "secrets",
285674
285696
  "ownerWorkspace"
285675
285697
  ],
@@ -286198,6 +286220,16 @@ var state = {
286198
286220
  "type": "boolean",
286199
286221
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
286200
286222
  },
286223
+ "verificationStatus": {
286224
+ "type": "string",
286225
+ "enum": [
286226
+ "unapproved",
286227
+ "pending",
286228
+ "approved",
286229
+ "rejected"
286230
+ ],
286231
+ "description": "Status of the integration version verification"
286232
+ },
286201
286233
  "secrets": {
286202
286234
  "type": "array",
286203
286235
  "items": {
@@ -286249,6 +286281,7 @@ var state = {
286249
286281
  "iconUrl",
286250
286282
  "readmeUrl",
286251
286283
  "public",
286284
+ "verificationStatus",
286252
286285
  "secrets",
286253
286286
  "ownerWorkspace"
286254
286287
  ],
@@ -290965,6 +290998,16 @@ var state = {
290965
290998
  "public": {
290966
290999
  "type": "boolean",
290967
291000
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
291001
+ },
291002
+ "verificationStatus": {
291003
+ "type": "string",
291004
+ "enum": [
291005
+ "unapproved",
291006
+ "pending",
291007
+ "approved",
291008
+ "rejected"
291009
+ ],
291010
+ "description": "Status of the integration version verification"
290968
291011
  }
290969
291012
  },
290970
291013
  "required": [
@@ -290976,7 +291019,8 @@ var state = {
290976
291019
  "title",
290977
291020
  "description",
290978
291021
  "iconUrl",
290979
- "public"
291022
+ "public",
291023
+ "verificationStatus"
290980
291024
  ]
290981
291025
  }
290982
291026
  },
@@ -291970,6 +292014,11 @@ var state = {
291970
292014
  "contentType": {
291971
292015
  "type": "string",
291972
292016
  "description": 'File content type. If omitted, the content type will be inferred from the file extension (if any) specified in `key`. If a content type cannot be inferred, the default is "application/octet-stream".'
292017
+ },
292018
+ "expiresAt": {
292019
+ "type": "string",
292020
+ "format": "date-time",
292021
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored."
291973
292022
  }
291974
292023
  },
291975
292024
  "required": [
@@ -292062,6 +292111,10 @@ var state = {
292062
292111
  "type": "string",
292063
292112
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292064
292113
  },
292114
+ "expiresAt": {
292115
+ "type": "string",
292116
+ "description": "File expiry timestamp in ISO 8601 format"
292117
+ },
292065
292118
  "uploadUrl": {
292066
292119
  "type": "string",
292067
292120
  "description": "URL to upload the file content. File content needs to be sent to this URL via a PUT request."
@@ -292221,6 +292274,10 @@ var state = {
292221
292274
  "failedStatusReason": {
292222
292275
  "type": "string",
292223
292276
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292277
+ },
292278
+ "expiresAt": {
292279
+ "type": "string",
292280
+ "description": "File expiry timestamp in ISO 8601 format"
292224
292281
  }
292225
292282
  },
292226
292283
  "required": [
@@ -292351,6 +292408,10 @@ var state = {
292351
292408
  "failedStatusReason": {
292352
292409
  "type": "string",
292353
292410
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292411
+ },
292412
+ "expiresAt": {
292413
+ "type": "string",
292414
+ "description": "File expiry timestamp in ISO 8601 format"
292354
292415
  }
292355
292416
  },
292356
292417
  "required": [
@@ -292415,6 +292476,12 @@ var state = {
292415
292476
  ]
292416
292477
  },
292417
292478
  "description": "New access policies to set for the file. Omit to keep existing policies intact."
292479
+ },
292480
+ "expiresAt": {
292481
+ "type": "string",
292482
+ "format": "date-time",
292483
+ "description": "Expiry timestamp in ISO 8601 format with UTC timezone. After expiry, the File will be deleted. Must be in the future. Cannot be more than 30 days from now. The value up to minutes is considered. Seconds and milliseconds are ignored. Omit to keep the existing expiry intact. Set to `null` to remove the expiry.",
292484
+ "nullable": true
292418
292485
  }
292419
292486
  },
292420
292487
  "title": "updateFileMetadataBody",
@@ -292500,6 +292567,10 @@ var state = {
292500
292567
  "failedStatusReason": {
292501
292568
  "type": "string",
292502
292569
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
292570
+ },
292571
+ "expiresAt": {
292572
+ "type": "string",
292573
+ "description": "File expiry timestamp in ISO 8601 format"
292503
292574
  }
292504
292575
  },
292505
292576
  "required": [
@@ -293677,7 +293748,7 @@ var state = {
293677
293748
  "title": "Botpress API",
293678
293749
  "description": "API for Botpress Cloud",
293679
293750
  "server": "https://api.botpress.cloud",
293680
- "version": "0.37.2",
293751
+ "version": "0.38.1",
293681
293752
  "prefix": "v1"
293682
293753
  },
293683
293754
  "errors": [
@@ -294128,6 +294199,16 @@ var state = {
294128
294199
  "public": {
294129
294200
  "type": "boolean",
294130
294201
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
294202
+ },
294203
+ "verificationStatus": {
294204
+ "type": "string",
294205
+ "enum": [
294206
+ "unapproved",
294207
+ "pending",
294208
+ "approved",
294209
+ "rejected"
294210
+ ],
294211
+ "description": "Status of the integration version verification"
294131
294212
  }
294132
294213
  },
294133
294214
  "required": [
@@ -294145,7 +294226,8 @@ var state = {
294145
294226
  "title",
294146
294227
  "description",
294147
294228
  "iconUrl",
294148
- "public"
294229
+ "public",
294230
+ "verificationStatus"
294149
294231
  ],
294150
294232
  "additionalProperties": false
294151
294233
  },
@@ -295007,6 +295089,16 @@ var state = {
295007
295089
  "type": "boolean",
295008
295090
  "description": "Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version."
295009
295091
  },
295092
+ "verificationStatus": {
295093
+ "type": "string",
295094
+ "enum": [
295095
+ "unapproved",
295096
+ "pending",
295097
+ "approved",
295098
+ "rejected"
295099
+ ],
295100
+ "description": "Status of the integration version verification"
295101
+ },
295010
295102
  "secrets": {
295011
295103
  "type": "array",
295012
295104
  "items": {
@@ -295037,6 +295129,7 @@ var state = {
295037
295129
  "iconUrl",
295038
295130
  "readmeUrl",
295039
295131
  "public",
295132
+ "verificationStatus",
295040
295133
  "secrets"
295041
295134
  ],
295042
295135
  "additionalProperties": false
@@ -296457,6 +296550,10 @@ var state = {
296457
296550
  "failedStatusReason": {
296458
296551
  "type": "string",
296459
296552
  "description": "If the file status is `upload_failed` or `indexing_failed` this will contain the reason of the failure."
296553
+ },
296554
+ "expiresAt": {
296555
+ "type": "string",
296556
+ "description": "File expiry timestamp in ISO 8601 format"
296460
296557
  }
296461
296558
  },
296462
296559
  "required": [
@@ -2269,6 +2269,11 @@ export declare const state: {
2269
2269
  type: "boolean";
2270
2270
  description: string;
2271
2271
  };
2272
+ verificationStatus: {
2273
+ type: "string";
2274
+ enum: string[];
2275
+ description: string;
2276
+ };
2272
2277
  ownerWorkspace: {
2273
2278
  type: "object";
2274
2279
  properties: {
@@ -2762,6 +2767,11 @@ export declare const state: {
2762
2767
  type: "boolean";
2763
2768
  description: string;
2764
2769
  };
2770
+ verificationStatus: {
2771
+ type: "string";
2772
+ enum: string[];
2773
+ description: string;
2774
+ };
2765
2775
  secrets: {
2766
2776
  type: "array";
2767
2777
  items: {
@@ -3258,6 +3268,11 @@ export declare const state: {
3258
3268
  type: "boolean";
3259
3269
  description: string;
3260
3270
  };
3271
+ verificationStatus: {
3272
+ type: "string";
3273
+ enum: string[];
3274
+ description: string;
3275
+ };
3261
3276
  secrets: {
3262
3277
  type: "array";
3263
3278
  items: {
@@ -7378,6 +7393,11 @@ export declare const state: {
7378
7393
  type: "boolean";
7379
7394
  description: string;
7380
7395
  };
7396
+ verificationStatus: {
7397
+ type: "string";
7398
+ enum: string[];
7399
+ description: string;
7400
+ };
7381
7401
  };
7382
7402
  required: string[];
7383
7403
  };
@@ -8267,6 +8287,11 @@ export declare const state: {
8267
8287
  type: "string";
8268
8288
  description: string;
8269
8289
  };
8290
+ expiresAt: {
8291
+ type: "string";
8292
+ format: string;
8293
+ description: string;
8294
+ };
8270
8295
  };
8271
8296
  required: string[];
8272
8297
  title: string;
@@ -8345,6 +8370,10 @@ export declare const state: {
8345
8370
  type: "string";
8346
8371
  description: string;
8347
8372
  };
8373
+ expiresAt: {
8374
+ type: "string";
8375
+ description: string;
8376
+ };
8348
8377
  uploadUrl: {
8349
8378
  type: "string";
8350
8379
  description: string;
@@ -8479,6 +8508,10 @@ export declare const state: {
8479
8508
  type: "string";
8480
8509
  description: string;
8481
8510
  };
8511
+ expiresAt: {
8512
+ type: "string";
8513
+ description: string;
8514
+ };
8482
8515
  };
8483
8516
  required: string[];
8484
8517
  };
@@ -8583,6 +8616,10 @@ export declare const state: {
8583
8616
  type: "string";
8584
8617
  description: string;
8585
8618
  };
8619
+ expiresAt: {
8620
+ type: "string";
8621
+ description: string;
8622
+ };
8586
8623
  };
8587
8624
  required: string[];
8588
8625
  additionalProperties: false;
@@ -8629,6 +8666,12 @@ export declare const state: {
8629
8666
  };
8630
8667
  description: string;
8631
8668
  };
8669
+ expiresAt: {
8670
+ type: "string";
8671
+ format: string;
8672
+ description: string;
8673
+ nullable: true;
8674
+ };
8632
8675
  };
8633
8676
  title: string;
8634
8677
  additionalProperties: false;
@@ -8704,6 +8747,10 @@ export declare const state: {
8704
8747
  type: "string";
8705
8748
  description: string;
8706
8749
  };
8750
+ expiresAt: {
8751
+ type: "string";
8752
+ description: string;
8753
+ };
8707
8754
  };
8708
8755
  required: string[];
8709
8756
  additionalProperties: false;
@@ -10135,6 +10182,11 @@ export declare const state: {
10135
10182
  type: "boolean";
10136
10183
  description: string;
10137
10184
  };
10185
+ verificationStatus: {
10186
+ type: "string";
10187
+ enum: string[];
10188
+ description: string;
10189
+ };
10138
10190
  };
10139
10191
  required: string[];
10140
10192
  additionalProperties: false;
@@ -10882,6 +10934,11 @@ export declare const state: {
10882
10934
  type: "boolean";
10883
10935
  description: string;
10884
10936
  };
10937
+ verificationStatus: {
10938
+ type: "string";
10939
+ enum: string[];
10940
+ description: string;
10941
+ };
10885
10942
  secrets: {
10886
10943
  type: "array";
10887
10944
  items: {
@@ -12060,6 +12117,10 @@ export declare const state: {
12060
12117
  type: "string";
12061
12118
  description: string;
12062
12119
  };
12120
+ expiresAt: {
12121
+ type: "string";
12122
+ description: string;
12123
+ };
12063
12124
  };
12064
12125
  required: string[];
12065
12126
  additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.37.2",
3
+ "version": "0.38.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {