mixpeek 0.81.451 → 0.81.453
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/api/buckets-api.d.ts +20 -4
- package/dist/api/buckets-api.d.ts.map +1 -1
- package/dist/api/manifest-api.d.ts +15 -6
- package/dist/api/manifest-api.d.ts.map +1 -1
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -8
- package/dist/index.mjs.map +1 -1
- package/dist/models/apply-mode.d.ts +22 -0
- package/dist/models/apply-mode.d.ts.map +1 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/resource-result-status.d.ts +2 -0
- package/dist/models/resource-result-status.d.ts.map +1 -1
- package/dist/models/resource-result.d.ts +12 -0
- package/dist/models/resource-result.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -85,19 +85,21 @@ export declare const BucketsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
85
85
|
* @summary Partially Update Bucket
|
|
86
86
|
* @param {string} bucketIdentifier
|
|
87
87
|
* @param {BucketPatchRequest} bucketPatchRequest
|
|
88
|
+
* @param {boolean} [forceSchemaBreak]
|
|
88
89
|
* @param {*} [options] Override http request option.
|
|
89
90
|
* @throws {RequiredError}
|
|
90
91
|
*/
|
|
91
|
-
patchBucket: (bucketIdentifier: string, bucketPatchRequest: BucketPatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
+
patchBucket: (bucketIdentifier: string, bucketPatchRequest: BucketPatchRequest, forceSchemaBreak?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
93
|
/**
|
|
93
94
|
* This endpoint allows you to update an existing bucket. You can update the bucket\'s name, description, and metadata.
|
|
94
95
|
* @summary Update Bucket
|
|
95
96
|
* @param {string} bucketIdentifier
|
|
96
97
|
* @param {BucketUpdateRequest} bucketUpdateRequest
|
|
98
|
+
* @param {boolean} [forceSchemaBreak]
|
|
97
99
|
* @param {*} [options] Override http request option.
|
|
98
100
|
* @throws {RequiredError}
|
|
99
101
|
*/
|
|
100
|
-
updateBucket: (bucketIdentifier: string, bucketUpdateRequest: BucketUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
|
+
updateBucket: (bucketIdentifier: string, bucketUpdateRequest: BucketUpdateRequest, forceSchemaBreak?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
103
|
};
|
|
102
104
|
/**
|
|
103
105
|
* BucketsApi - functional programming interface
|
|
@@ -166,19 +168,21 @@ export declare const BucketsApiFp: (configuration?: Configuration) => {
|
|
|
166
168
|
* @summary Partially Update Bucket
|
|
167
169
|
* @param {string} bucketIdentifier
|
|
168
170
|
* @param {BucketPatchRequest} bucketPatchRequest
|
|
171
|
+
* @param {boolean} [forceSchemaBreak]
|
|
169
172
|
* @param {*} [options] Override http request option.
|
|
170
173
|
* @throws {RequiredError}
|
|
171
174
|
*/
|
|
172
|
-
patchBucket(bucketIdentifier: string, bucketPatchRequest: BucketPatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BucketResponse>>;
|
|
175
|
+
patchBucket(bucketIdentifier: string, bucketPatchRequest: BucketPatchRequest, forceSchemaBreak?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BucketResponse>>;
|
|
173
176
|
/**
|
|
174
177
|
* This endpoint allows you to update an existing bucket. You can update the bucket\'s name, description, and metadata.
|
|
175
178
|
* @summary Update Bucket
|
|
176
179
|
* @param {string} bucketIdentifier
|
|
177
180
|
* @param {BucketUpdateRequest} bucketUpdateRequest
|
|
181
|
+
* @param {boolean} [forceSchemaBreak]
|
|
178
182
|
* @param {*} [options] Override http request option.
|
|
179
183
|
* @throws {RequiredError}
|
|
180
184
|
*/
|
|
181
|
-
updateBucket(bucketIdentifier: string, bucketUpdateRequest: BucketUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BucketResponse>>;
|
|
185
|
+
updateBucket(bucketIdentifier: string, bucketUpdateRequest: BucketUpdateRequest, forceSchemaBreak?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BucketResponse>>;
|
|
182
186
|
};
|
|
183
187
|
/**
|
|
184
188
|
* BucketsApi - factory interface
|
|
@@ -427,6 +431,12 @@ export interface BucketsApiPatchBucketRequest {
|
|
|
427
431
|
* @memberof BucketsApiPatchBucket
|
|
428
432
|
*/
|
|
429
433
|
readonly bucketPatchRequest: BucketPatchRequest;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {boolean}
|
|
437
|
+
* @memberof BucketsApiPatchBucket
|
|
438
|
+
*/
|
|
439
|
+
readonly forceSchemaBreak?: boolean;
|
|
430
440
|
}
|
|
431
441
|
/**
|
|
432
442
|
* Request parameters for updateBucket operation in BucketsApi.
|
|
@@ -446,6 +456,12 @@ export interface BucketsApiUpdateBucketRequest {
|
|
|
446
456
|
* @memberof BucketsApiUpdateBucket
|
|
447
457
|
*/
|
|
448
458
|
readonly bucketUpdateRequest: BucketUpdateRequest;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {boolean}
|
|
462
|
+
* @memberof BucketsApiUpdateBucket
|
|
463
|
+
*/
|
|
464
|
+
readonly forceSchemaBreak?: boolean;
|
|
449
465
|
}
|
|
450
466
|
/**
|
|
451
467
|
* BucketsApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buckets-api.d.ts","sourceRoot":"","sources":["../../api/buckets-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CA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BAA4B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAInG;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGxG"}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { ApplyMode } from '../models';
|
|
15
16
|
import type { ApplyResult } from '../models';
|
|
16
17
|
import type { DiffResult } from '../models';
|
|
17
18
|
import type { LintResponse } from '../models';
|
|
@@ -22,14 +23,15 @@ import type { ValidateResult } from '../models';
|
|
|
22
23
|
*/
|
|
23
24
|
export declare const ManifestApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
25
|
/**
|
|
25
|
-
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order.
|
|
26
|
+
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. **Modes (MG-1511):** - `create_only` (default) — fails if any resource already exists. - `create_missing` — creates what is missing, leaves what exists alone, and resolves manifest references against the resources ALREADY in the namespace. This is what makes \"here is a namespace with buckets, add these collections over them\" work. Under `create_only` a reference to an undeclared-but-existing bucket is a validation error, because the manifest is treated as a closed world. Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
26
27
|
* @summary Apply Manifest
|
|
27
28
|
* @param {string} manifestFile YAML manifest file
|
|
28
29
|
* @param {boolean} [dryRun] Validate only, don\'t create resources
|
|
30
|
+
* @param {ApplyMode} [mode] create_only (default): fail if any resource already exists. create_missing: create what is missing and leave what exists alone, which is what lets a manifest be applied to an EXISTING namespace. create_missing does not UPDATE anything — a resource that exists but differs from the manifest is reported as `exists` and left untouched (MG-1513).
|
|
29
31
|
* @param {*} [options] Override http request option.
|
|
30
32
|
* @throws {RequiredError}
|
|
31
33
|
*/
|
|
32
|
-
applyManifest: (manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
applyManifest: (manifestFile: string, dryRun?: boolean, mode?: ApplyMode, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
35
|
/**
|
|
34
36
|
* Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
35
37
|
* @summary Diff Manifest
|
|
@@ -90,14 +92,15 @@ export declare const ManifestApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
90
92
|
*/
|
|
91
93
|
export declare const ManifestApiFp: (configuration?: Configuration) => {
|
|
92
94
|
/**
|
|
93
|
-
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order.
|
|
95
|
+
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. **Modes (MG-1511):** - `create_only` (default) — fails if any resource already exists. - `create_missing` — creates what is missing, leaves what exists alone, and resolves manifest references against the resources ALREADY in the namespace. This is what makes \"here is a namespace with buckets, add these collections over them\" work. Under `create_only` a reference to an undeclared-but-existing bucket is a validation error, because the manifest is treated as a closed world. Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
94
96
|
* @summary Apply Manifest
|
|
95
97
|
* @param {string} manifestFile YAML manifest file
|
|
96
98
|
* @param {boolean} [dryRun] Validate only, don\'t create resources
|
|
99
|
+
* @param {ApplyMode} [mode] create_only (default): fail if any resource already exists. create_missing: create what is missing and leave what exists alone, which is what lets a manifest be applied to an EXISTING namespace. create_missing does not UPDATE anything — a resource that exists but differs from the manifest is reported as `exists` and left untouched (MG-1513).
|
|
97
100
|
* @param {*} [options] Override http request option.
|
|
98
101
|
* @throws {RequiredError}
|
|
99
102
|
*/
|
|
100
|
-
applyManifest(manifestFile: string, dryRun?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
|
|
103
|
+
applyManifest(manifestFile: string, dryRun?: boolean, mode?: ApplyMode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplyResult>>;
|
|
101
104
|
/**
|
|
102
105
|
* Compare a manifest file with current state. Shows resources that would be: - **Created**: In manifest but not in system - **In system only**: In system but not in manifest - **Different**: In both but with configuration differences This is useful for understanding what changes would occur before applying a manifest. **Example:** ```bash curl -X POST /v1/manifest/diff \\ -H \"Authorization: Bearer $API_KEY\" \\ -F \"manifest_file=@mixpeek.yaml\" ```
|
|
103
106
|
* @summary Diff Manifest
|
|
@@ -158,7 +161,7 @@ export declare const ManifestApiFp: (configuration?: Configuration) => {
|
|
|
158
161
|
*/
|
|
159
162
|
export declare const ManifestApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
160
163
|
/**
|
|
161
|
-
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order.
|
|
164
|
+
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. **Modes (MG-1511):** - `create_only` (default) — fails if any resource already exists. - `create_missing` — creates what is missing, leaves what exists alone, and resolves manifest references against the resources ALREADY in the namespace. This is what makes \"here is a namespace with buckets, add these collections over them\" work. Under `create_only` a reference to an undeclared-but-existing bucket is a validation error, because the manifest is treated as a closed world. Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
162
165
|
* @summary Apply Manifest
|
|
163
166
|
* @param {ManifestApiApplyManifestRequest} requestParameters Request parameters.
|
|
164
167
|
* @param {*} [options] Override http request option.
|
|
@@ -232,6 +235,12 @@ export interface ManifestApiApplyManifestRequest {
|
|
|
232
235
|
* @memberof ManifestApiApplyManifest
|
|
233
236
|
*/
|
|
234
237
|
readonly dryRun?: boolean;
|
|
238
|
+
/**
|
|
239
|
+
* create_only (default): fail if any resource already exists. create_missing: create what is missing and leave what exists alone, which is what lets a manifest be applied to an EXISTING namespace. create_missing does not UPDATE anything — a resource that exists but differs from the manifest is reported as `exists` and left untouched (MG-1513).
|
|
240
|
+
* @type {ApplyMode}
|
|
241
|
+
* @memberof ManifestApiApplyManifest
|
|
242
|
+
*/
|
|
243
|
+
readonly mode?: ApplyMode;
|
|
235
244
|
}
|
|
236
245
|
/**
|
|
237
246
|
* Request parameters for diffManifest operation in ManifestApi.
|
|
@@ -349,7 +358,7 @@ export interface ManifestApiValidateManifestRequest {
|
|
|
349
358
|
*/
|
|
350
359
|
export declare class ManifestApi extends BaseAPI {
|
|
351
360
|
/**
|
|
352
|
-
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order.
|
|
361
|
+
* Apply a YAML manifest to create resources. Creates all resources defined in the manifest file in dependency order. **Modes (MG-1511):** - `create_only` (default) — fails if any resource already exists. - `create_missing` — creates what is missing, leaves what exists alone, and resolves manifest references against the resources ALREADY in the namespace. This is what makes \"here is a namespace with buckets, add these collections over them\" work. Under `create_only` a reference to an undeclared-but-existing bucket is a validation error, because the manifest is treated as a closed world. Performs automatic rollback if any resource creation fails. **Features:** - Topological sorting ensures resources are created in correct dependency order - Secret references (`${{ secrets.NAME }}`) are resolved from organization secrets - Atomic operation: rolls back all created resources if any creation fails - Dry run mode validates the manifest without making changes **Example:** ```bash curl -X POST /v1/manifest/apply \\ -H \"Authorization: Bearer $API_KEY\" \\ -H \"X-Namespace: ns_xxx\" \\ -F \"manifest_file=@mixpeek.yaml\" ``` **Example manifest:** ```yaml version: \"1.0\" metadata: name: \"my-environment\" namespaces: - name: video_search feature_extractors: - name: multimodal_extractor version: v1 buckets: - name: raw_videos namespace: video_search schema: properties: video: { type: video } ```
|
|
353
362
|
* @summary Apply Manifest
|
|
354
363
|
* @param {ManifestApiApplyManifestRequest} requestParameters Request parameters.
|
|
355
364
|
* @param {*} [options] Override http request option.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-api.d.ts","sourceRoot":"","sources":["../../api/manifest-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,a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BAAqB;IAIxG;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,iBAAiB,CAAC,iBAAiB,GAAE,mCAAwC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIrH;;;;;;;OAOG;IACI,kBAAkB,CAAC,iBAAiB,GAAE,oCAAyC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAIvH;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAI9G;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,8BAA8B,EAAE,OAAO,CAAC,EAAE,qBAAqB;IAItG;;;;;;;OAOG;IACI,gBAAgB,CAAC,iBAAiB,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGjH"}
|
package/dist/index.js
CHANGED
|
@@ -10468,10 +10468,11 @@ var BucketsApiAxiosParamCreator = function(configuration) {
|
|
|
10468
10468
|
* @summary Partially Update Bucket
|
|
10469
10469
|
* @param {string} bucketIdentifier
|
|
10470
10470
|
* @param {BucketPatchRequest} bucketPatchRequest
|
|
10471
|
+
* @param {boolean} [forceSchemaBreak]
|
|
10471
10472
|
* @param {*} [options] Override http request option.
|
|
10472
10473
|
* @throws {RequiredError}
|
|
10473
10474
|
*/
|
|
10474
|
-
patchBucket: async (bucketIdentifier, bucketPatchRequest, options = {}) => {
|
|
10475
|
+
patchBucket: async (bucketIdentifier, bucketPatchRequest, forceSchemaBreak, options = {}) => {
|
|
10475
10476
|
assertParamExists("patchBucket", "bucketIdentifier", bucketIdentifier);
|
|
10476
10477
|
assertParamExists("patchBucket", "bucketPatchRequest", bucketPatchRequest);
|
|
10477
10478
|
const localVarPath = `/v1/buckets/{bucket_identifier}`.replace(`{${"bucket_identifier"}}`, encodeURIComponent(String(bucketIdentifier)));
|
|
@@ -10485,6 +10486,9 @@ var BucketsApiAxiosParamCreator = function(configuration) {
|
|
|
10485
10486
|
const localVarQueryParameter = {};
|
|
10486
10487
|
await setApiKeyToObject(localVarHeaderParameter, "X-Namespace", configuration);
|
|
10487
10488
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10489
|
+
if (forceSchemaBreak !== void 0) {
|
|
10490
|
+
localVarQueryParameter["force_schema_break"] = forceSchemaBreak;
|
|
10491
|
+
}
|
|
10488
10492
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10489
10493
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10490
10494
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -10500,10 +10504,11 @@ var BucketsApiAxiosParamCreator = function(configuration) {
|
|
|
10500
10504
|
* @summary Update Bucket
|
|
10501
10505
|
* @param {string} bucketIdentifier
|
|
10502
10506
|
* @param {BucketUpdateRequest} bucketUpdateRequest
|
|
10507
|
+
* @param {boolean} [forceSchemaBreak]
|
|
10503
10508
|
* @param {*} [options] Override http request option.
|
|
10504
10509
|
* @throws {RequiredError}
|
|
10505
10510
|
*/
|
|
10506
|
-
updateBucket: async (bucketIdentifier, bucketUpdateRequest, options = {}) => {
|
|
10511
|
+
updateBucket: async (bucketIdentifier, bucketUpdateRequest, forceSchemaBreak, options = {}) => {
|
|
10507
10512
|
assertParamExists("updateBucket", "bucketIdentifier", bucketIdentifier);
|
|
10508
10513
|
assertParamExists("updateBucket", "bucketUpdateRequest", bucketUpdateRequest);
|
|
10509
10514
|
const localVarPath = `/v1/buckets/{bucket_identifier}`.replace(`{${"bucket_identifier"}}`, encodeURIComponent(String(bucketIdentifier)));
|
|
@@ -10517,6 +10522,9 @@ var BucketsApiAxiosParamCreator = function(configuration) {
|
|
|
10517
10522
|
const localVarQueryParameter = {};
|
|
10518
10523
|
await setApiKeyToObject(localVarHeaderParameter, "X-Namespace", configuration);
|
|
10519
10524
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10525
|
+
if (forceSchemaBreak !== void 0) {
|
|
10526
|
+
localVarQueryParameter["force_schema_break"] = forceSchemaBreak;
|
|
10527
|
+
}
|
|
10520
10528
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
10521
10529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10522
10530
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -10619,11 +10627,12 @@ var BucketsApiFp = function(configuration) {
|
|
|
10619
10627
|
* @summary Partially Update Bucket
|
|
10620
10628
|
* @param {string} bucketIdentifier
|
|
10621
10629
|
* @param {BucketPatchRequest} bucketPatchRequest
|
|
10630
|
+
* @param {boolean} [forceSchemaBreak]
|
|
10622
10631
|
* @param {*} [options] Override http request option.
|
|
10623
10632
|
* @throws {RequiredError}
|
|
10624
10633
|
*/
|
|
10625
|
-
async patchBucket(bucketIdentifier, bucketPatchRequest, options) {
|
|
10626
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchBucket(bucketIdentifier, bucketPatchRequest, options);
|
|
10634
|
+
async patchBucket(bucketIdentifier, bucketPatchRequest, forceSchemaBreak, options) {
|
|
10635
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchBucket(bucketIdentifier, bucketPatchRequest, forceSchemaBreak, options);
|
|
10627
10636
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10628
10637
|
const localVarOperationServerBasePath = operationServerMap["BucketsApi.patchBucket"]?.[localVarOperationServerIndex]?.url;
|
|
10629
10638
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios6__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -10633,11 +10642,12 @@ var BucketsApiFp = function(configuration) {
|
|
|
10633
10642
|
* @summary Update Bucket
|
|
10634
10643
|
* @param {string} bucketIdentifier
|
|
10635
10644
|
* @param {BucketUpdateRequest} bucketUpdateRequest
|
|
10645
|
+
* @param {boolean} [forceSchemaBreak]
|
|
10636
10646
|
* @param {*} [options] Override http request option.
|
|
10637
10647
|
* @throws {RequiredError}
|
|
10638
10648
|
*/
|
|
10639
|
-
async updateBucket(bucketIdentifier, bucketUpdateRequest, options) {
|
|
10640
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBucket(bucketIdentifier, bucketUpdateRequest, options);
|
|
10649
|
+
async updateBucket(bucketIdentifier, bucketUpdateRequest, forceSchemaBreak, options) {
|
|
10650
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBucket(bucketIdentifier, bucketUpdateRequest, forceSchemaBreak, options);
|
|
10641
10651
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10642
10652
|
const localVarOperationServerBasePath = operationServerMap["BucketsApi.updateBucket"]?.[localVarOperationServerIndex]?.url;
|
|
10643
10653
|
return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios6__default.default, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
|
|
@@ -10709,7 +10719,7 @@ var BucketsApi = class extends BaseAPI {
|
|
|
10709
10719
|
* @memberof BucketsApi
|
|
10710
10720
|
*/
|
|
10711
10721
|
patchBucket(requestParameters, options) {
|
|
10712
|
-
return BucketsApiFp(this.configuration).patchBucket(requestParameters.bucketIdentifier, requestParameters.bucketPatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10722
|
+
return BucketsApiFp(this.configuration).patchBucket(requestParameters.bucketIdentifier, requestParameters.bucketPatchRequest, requestParameters.forceSchemaBreak, options).then((request) => request(this.axios, this.basePath));
|
|
10713
10723
|
}
|
|
10714
10724
|
/**
|
|
10715
10725
|
* This endpoint allows you to update an existing bucket. You can update the bucket\'s name, description, and metadata.
|
|
@@ -10720,7 +10730,7 @@ var BucketsApi = class extends BaseAPI {
|
|
|
10720
10730
|
* @memberof BucketsApi
|
|
10721
10731
|
*/
|
|
10722
10732
|
updateBucket(requestParameters, options) {
|
|
10723
|
-
return BucketsApiFp(this.configuration).updateBucket(requestParameters.bucketIdentifier, requestParameters.bucketUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
10733
|
+
return BucketsApiFp(this.configuration).updateBucket(requestParameters.bucketIdentifier, requestParameters.bucketUpdateRequest, requestParameters.forceSchemaBreak, options).then((request) => request(this.axios, this.basePath));
|
|
10724
10734
|
}
|
|
10725
10735
|
};
|
|
10726
10736
|
var ClusterExecutionsApiAxiosParamCreator = function(configuration) {
|