@bytescale/sdk 3.47.0 → 3.48.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,48 @@ 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
+ * @export
82
+ */
83
+ export type AzureReadOnlyStorageTypeEnum = "AzureReadOnly";
84
+ /**
85
+ *
86
+ * @export
87
+ * @interface AzureReadOnlyStorageCredentials
88
+ */
89
+ export interface AzureReadOnlyStorageCredentials {
90
+ /**
91
+ * Query string without the leading "?" character.
92
+ * @type {string}
93
+ * @memberof AzureReadOnlyStorageCredentials
94
+ */
95
+ sasToken: string;
96
+ }
55
97
  /**
56
98
  * Response body for BasicUpload.
57
99
  * @export
@@ -1322,6 +1364,48 @@ export interface PatchFolderSettings {
1322
1364
  * @export
1323
1365
  */
1324
1366
  export type PathPermissionScope = "Children" | "Grandchildren+" | "This";
1367
+ /**
1368
+ * From T, pick a set of properties whose keys are in the union K
1369
+ * @export
1370
+ * @interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1371
+ */
1372
+ export interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials {
1373
+ /**
1374
+ *
1375
+ * @type {string}
1376
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1377
+ */
1378
+ type: PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsTypeEnum;
1379
+ /**
1380
+ *
1381
+ * @type {PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage}
1382
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials
1383
+ */
1384
+ azureStorage: PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage;
1385
+ }
1386
+ /**
1387
+ * @export
1388
+ */
1389
+ export type PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsTypeEnum = "AzureReadOnly";
1390
+ /**
1391
+ *
1392
+ * @export
1393
+ * @interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1394
+ */
1395
+ export interface PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage {
1396
+ /**
1397
+ * Azure Storage container name.
1398
+ * @type {string}
1399
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1400
+ */
1401
+ containerName: string;
1402
+ /**
1403
+ * Azure Storage account name.
1404
+ * @type {string}
1405
+ * @memberof PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentialsAzureStorage
1406
+ */
1407
+ accountName: string;
1408
+ }
1325
1409
  /**
1326
1410
  * From T, pick a set of properties whose keys are in the union K
1327
1411
  * @export
@@ -2044,7 +2128,7 @@ export type SpecifiedFieldValueEmptiableStorageLayerUpdateSetEnum = true;
2044
2128
  * This data type does not contain credentials.
2045
2129
  * @export
2046
2130
  */
2047
- export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials | PickGoogleStorageExcludeKeyofGoogleStorageCredentials | PickR2StorageExcludeKeyofR2StorageCredentials | PickS3StorageExcludeKeyofS3StorageCredentials | WebStorage;
2131
+ export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickAzureReadOnlyStorageExcludeKeyofAzureReadOnlyStorageCredentials | PickDigitalOceanStorageExcludeKeyofDigitalOceanStorageCredentials | PickGoogleStorageExcludeKeyofGoogleStorageCredentials | PickR2StorageExcludeKeyofR2StorageCredentials | PickS3StorageExcludeKeyofS3StorageCredentials | WebStorage;
2048
2132
  /**
2049
2133
  * @type StorageLayerUpdate
2050
2134
  * Data type used to update or create a folder's storage layer.
@@ -2052,7 +2136,7 @@ export type StorageLayerSummary = InternalStorageV1 | InternalStorageV2 | PickDi
2052
2136
  * This data type may contain credentials.
2053
2137
  * @export
2054
2138
  */
2055
- export type StorageLayerUpdate = DigitalOceanStorage | GoogleStorage | InternalStorageV2 | R2Storage | S3Storage | WebStorage;
2139
+ export type StorageLayerUpdate = AzureReadOnlyStorage | DigitalOceanStorage | GoogleStorage | InternalStorageV2 | R2Storage | S3Storage | WebStorage;
2056
2140
  /**
2057
2141
  * @type TransformationParamValue
2058
2142
  * A single transformation parameter provided to a Bytescale File Processing API.
@@ -2267,6 +2351,12 @@ export interface UploadPartRange {
2267
2351
  * @interface WebStorage
2268
2352
  */
2269
2353
  export interface WebStorage {
2354
+ /**
2355
+ * Query string without the leading "?" character.
2356
+ * @type {string}
2357
+ * @memberof WebStorage
2358
+ */
2359
+ appendQueryString?: string;
2270
2360
  /**
2271
2361
  * URL for an http(s) resource.
2272
2362
  * @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.48.0",
4
4
  "description": "Bytescale JavaScript SDK",
5
5
  "author": "Bytescale <hello@bytescale.com> (https://www.bytescale.com)",
6
6
  "license": "MIT",