@bytescale/sdk 3.47.0 → 3.49.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.
@@ -52,6 +52,54 @@ export type AsyncResponseJobDocsEnum = "https://www.bytescale.com/docs/job-api/G
52
52
  * @export
53
53
  */
54
54
  export type AwsRegion = "us-east-2" | "us-east-1" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-east-1" | "ap-south-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ca-central-1" | "ca-west-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-south-1" | "eu-west-3" | "eu-south-2" | "eu-north-1" | "eu-central-2" | "il-central-1" | "me-south-1" | "me-central-1" | "sa-east-1";
55
+ /**
56
+ *
57
+ * @export
58
+ * @interface AzureReadOnlyStorage
59
+ */
60
+ export interface AzureReadOnlyStorage {
61
+ /**
62
+ *
63
+ * @type {PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage}
64
+ * @memberof AzureReadOnlyStorage
65
+ */
66
+ azureStorage: PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage;
67
+ /**
68
+ *
69
+ * @type {AzureReadOnlyStorageCredentials}
70
+ * @memberof AzureReadOnlyStorage
71
+ */
72
+ credentials: AzureReadOnlyStorageCredentials;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AzureReadOnlyStorage
77
+ */
78
+ type: AzureReadOnlyStorageTypeEnum;
79
+ /**
80
+ *
81
+ * @type {boolean}
82
+ * @memberof AzureReadOnlyStorage
83
+ */
84
+ useAbsolutePaths: boolean;
85
+ }
86
+ /**
87
+ * @export
88
+ */
89
+ export type AzureReadOnlyStorageTypeEnum = "AzureReadOnly";
90
+ /**
91
+ *
92
+ * @export
93
+ * @interface AzureReadOnlyStorageCredentials
94
+ */
95
+ export interface AzureReadOnlyStorageCredentials {
96
+ /**
97
+ * Query string without the leading "?" character.
98
+ * @type {string}
99
+ * @memberof AzureReadOnlyStorageCredentials
100
+ */
101
+ sasToken: string;
102
+ }
55
103
  /**
56
104
  * Response body for BasicUpload.
57
105
  * @export
@@ -1322,6 +1370,60 @@ export interface PatchFolderSettings {
1322
1370
  * @export
1323
1371
  */
1324
1372
  export type PathPermissionScope = "Children" | "Grandchildren+" | "This";
1373
+ /**
1374
+ * From T, pick a set of properties whose keys are in the union K
1375
+ * @export
1376
+ * @interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1377
+ */
1378
+ export interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials {
1379
+ /**
1380
+ *
1381
+ * @type {string}
1382
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1383
+ */
1384
+ type: PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsTypeEnum;
1385
+ /**
1386
+ *
1387
+ * @type {PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage}
1388
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1389
+ */
1390
+ azureStorage: PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage;
1391
+ /**
1392
+ *
1393
+ * @type {boolean}
1394
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1395
+ */
1396
+ useAbsolutePaths: boolean;
1397
+ }
1398
+ /**
1399
+ * @export
1400
+ */
1401
+ export type PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsTypeEnum = "AzureReadOnly";
1402
+ /**
1403
+ *
1404
+ * @export
1405
+ * @interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1406
+ */
1407
+ export interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage {
1408
+ /**
1409
+ * Azure Storage container name.
1410
+ * @type {string}
1411
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1412
+ */
1413
+ containerName: string;
1414
+ /**
1415
+ * Azure Storage BLOB name.
1416
+ * @type {string}
1417
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1418
+ */
1419
+ blobNamePrefix: string;
1420
+ /**
1421
+ * Azure Storage account name.
1422
+ * @type {string}
1423
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1424
+ */
1425
+ accountName: string;
1426
+ }
1325
1427
  /**
1326
1428
  * From T, pick a set of properties whose keys are in the union K
1327
1429
  * @export
@@ -1334,12 +1436,6 @@ export interface PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentia
1334
1436
  * @memberof PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials
1335
1437
  */
1336
1438
  type: PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentialsTypeEnum;
1337
- /**
1338
- *
1339
- * @type {PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentialsBucket}
1340
- * @memberof PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials
1341
- */
1342
- bucket: PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentialsBucket;
1343
1439
  /**
1344
1440
  * If `true` then writes S3 objects with full `filePath` as key, prefixed with the `objectKeyPrefix`.
1345
1441
  *
@@ -1348,6 +1444,12 @@ export interface PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentia
1348
1444
  * @memberof PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials
1349
1445
  */
1350
1446
  useAbsolutePaths: boolean;
1447
+ /**
1448
+ *
1449
+ * @type {PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentialsBucket}
1450
+ * @memberof PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials
1451
+ */
1452
+ bucket: PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentialsBucket;
1351
1453
  }
1352
1454
  /**
1353
1455
  * @export
@@ -1390,12 +1492,6 @@ export interface PickGoogleStorageExcludeKeyofGoogleStorageCredentials {
1390
1492
  * @memberof PickGoogleStorageExcludeKeyofGoogleStorageCredentials
1391
1493
  */
1392
1494
  type: PickGoogleStorageExcludeKeyofGoogleStorageCredentialsTypeEnum;
1393
- /**
1394
- *
1395
- * @type {PickGoogleStorageExcludeKeyofGoogleStorageCredentialsBucket}
1396
- * @memberof PickGoogleStorageExcludeKeyofGoogleStorageCredentials
1397
- */
1398
- bucket: PickGoogleStorageExcludeKeyofGoogleStorageCredentialsBucket;
1399
1495
  /**
1400
1496
  * If `true` then writes Google Storage objects with full `filePath` as key, prefixed with the `objectKeyPrefix`.
1401
1497
  *
@@ -1404,6 +1500,12 @@ export interface PickGoogleStorageExcludeKeyofGoogleStorageCredentials {
1404
1500
  * @memberof PickGoogleStorageExcludeKeyofGoogleStorageCredentials
1405
1501
  */
1406
1502
  useAbsolutePaths: boolean;
1503
+ /**
1504
+ *
1505
+ * @type {PickGoogleStorageExcludeKeyofGoogleStorageCredentialsBucket}
1506
+ * @memberof PickGoogleStorageExcludeKeyofGoogleStorageCredentials
1507
+ */
1508
+ bucket: PickGoogleStorageExcludeKeyofGoogleStorageCredentialsBucket;
1407
1509
  }
1408
1510
  /**
1409
1511
  * @export
@@ -1440,12 +1542,6 @@ export interface PickR2StorageExcludeKeyofR2StorageCredentials {
1440
1542
  * @memberof PickR2StorageExcludeKeyofR2StorageCredentials
1441
1543
  */
1442
1544
  type: PickR2StorageExcludeKeyofR2StorageCredentialsTypeEnum;
1443
- /**
1444
- *
1445
- * @type {PickR2StorageExcludeKeyofR2StorageCredentialsBucket}
1446
- * @memberof PickR2StorageExcludeKeyofR2StorageCredentials
1447
- */
1448
- bucket: PickR2StorageExcludeKeyofR2StorageCredentialsBucket;
1449
1545
  /**
1450
1546
  * If `true` then writes Google Storage objects with full `filePath` as key, prefixed with the `objectKeyPrefix`.
1451
1547
  *
@@ -1454,6 +1550,12 @@ export interface PickR2StorageExcludeKeyofR2StorageCredentials {
1454
1550
  * @memberof PickR2StorageExcludeKeyofR2StorageCredentials
1455
1551
  */
1456
1552
  useAbsolutePaths: boolean;
1553
+ /**
1554
+ *
1555
+ * @type {PickR2StorageExcludeKeyofR2StorageCredentialsBucket}
1556
+ * @memberof PickR2StorageExcludeKeyofR2StorageCredentials
1557
+ */
1558
+ bucket: PickR2StorageExcludeKeyofR2StorageCredentialsBucket;
1457
1559
  /**
1458
1560
  * Cloudflare Account ID.
1459
1561
  * @type {string}
@@ -1496,12 +1598,6 @@ export interface PickS3StorageExcludeKeyofS3StorageCredentials {
1496
1598
  * @memberof PickS3StorageExcludeKeyofS3StorageCredentials
1497
1599
  */
1498
1600
  type: PickS3StorageExcludeKeyofS3StorageCredentialsTypeEnum;
1499
- /**
1500
- *
1501
- * @type {PickS3StorageExcludeKeyofS3StorageCredentialsBucket}
1502
- * @memberof PickS3StorageExcludeKeyofS3StorageCredentials
1503
- */
1504
- bucket: PickS3StorageExcludeKeyofS3StorageCredentialsBucket;
1505
1601
  /**
1506
1602
  * If `true` then writes S3 objects with full `filePath` as key, prefixed with the `objectKeyPrefix`.
1507
1603
  *
@@ -1510,6 +1606,12 @@ export interface PickS3StorageExcludeKeyofS3StorageCredentials {
1510
1606
  * @memberof PickS3StorageExcludeKeyofS3StorageCredentials
1511
1607
  */
1512
1608
  useAbsolutePaths: boolean;
1609
+ /**
1610
+ *
1611
+ * @type {PickS3StorageExcludeKeyofS3StorageCredentialsBucket}
1612
+ * @memberof PickS3StorageExcludeKeyofS3StorageCredentials
1613
+ */
1614
+ bucket: PickS3StorageExcludeKeyofS3StorageCredentialsBucket;
1513
1615
  /**
1514
1616
  * Enables S3 transfer acceleration, providing improved file upload speeds for larger files.
1515
1617
  *
@@ -2044,7 +2146,7 @@ export type SpecifiedFieldValueEmptiableStorageLayerUpdateSetEnum = true;
2044
2146
  * This data type does not contain credentials.
2045
2147
  * @export
2046
2148
  */
2047
- export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials | PickGoogleStorageExcludeKeyofGoogleStorageCredentials | PickR2StorageExcludeKeyofR2StorageCredentials | PickS3StorageExcludeKeyofS3StorageCredentials | WebStorage;
2149
+ export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials | PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials | PickGoogleStorageExcludeKeyofGoogleStorageCredentials | PickR2StorageExcludeKeyofR2StorageCredentials | PickS3StorageExcludeKeyofS3StorageCredentials | WebStorage;
2048
2150
  /**
2049
2151
  * @type StorageLayerUpdate
2050
2152
  * Data type used to update or create a folder's storage layer.
@@ -2052,7 +2154,7 @@ export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickDi
2052
2154
  * This data type may contain credentials.
2053
2155
  * @export
2054
2156
  */
2055
- export type StorageLayerUpdate = DigitalOceanStorage | GoogleStorage | InternalStorageV2 | R2Storage | S3Storage | WebStorage;
2157
+ export type StorageLayerUpdate = AzureReadOnlyStorage | DigitalOceanStorage | GoogleStorage | InternalStorageV2 | R2Storage | S3Storage | WebStorage;
2056
2158
  /**
2057
2159
  * @type TransformationParamValue
2058
2160
  * A single transformation parameter provided to a Bytescale File Processing API.
@@ -2267,6 +2369,12 @@ export interface UploadPartRange {
2267
2369
  * @interface WebStorage
2268
2370
  */
2269
2371
  export interface WebStorage {
2372
+ /**
2373
+ * Query string without the leading "?" character.
2374
+ * @type {string}
2375
+ * @memberof WebStorage
2376
+ */
2377
+ appendQueryString?: string;
2270
2378
  /**
2271
2379
  * URL for an http(s) resource.
2272
2380
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytescale/sdk",
3
- "version": "3.47.0",
3
+ "version": "3.49.0",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",