system-initiative-api-client 1.6.0 → 1.6.2

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/cjs/api.d.ts CHANGED
@@ -2376,6 +2376,12 @@ export interface SchemaVariantFunc {
2376
2376
  * @memberof SchemaVariantFunc
2377
2377
  */
2378
2378
  'id': string;
2379
+ /**
2380
+ *
2381
+ * @type {boolean}
2382
+ * @memberof SchemaVariantFunc
2383
+ */
2384
+ 'isOverlay': boolean;
2379
2385
  }
2380
2386
  /**
2381
2387
  * @type SchemaVariantFuncKind
@@ -3056,6 +3062,12 @@ export interface Workspace {
3056
3062
  * @memberof Workspace
3057
3063
  */
3058
3064
  'displayName': string;
3065
+ /**
3066
+ *
3067
+ * @type {string}
3068
+ * @memberof Workspace
3069
+ */
3070
+ 'externalId'?: string | null;
3059
3071
  /**
3060
3072
  *
3061
3073
  * @type {string}
@@ -5840,6 +5852,16 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
5840
5852
  * @throws {RequiredError}
5841
5853
  */
5842
5854
  getVariant: (workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5855
+ /**
5856
+ *
5857
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
5858
+ * @param {string} workspaceId Workspace identifier
5859
+ * @param {string} changeSetId Change Set identifier
5860
+ * @param {string} schemaId Schema identifier
5861
+ * @param {*} [options] Override http request option.
5862
+ * @throws {RequiredError}
5863
+ */
5864
+ installSchema: (workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
5865
  /**
5844
5866
  *
5845
5867
  * @summary List all schemas (paginated endpoint)
@@ -6061,6 +6083,16 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
6061
6083
  * @throws {RequiredError}
6062
6084
  */
6063
6085
  getVariant(workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaVariantV1Response>>;
6086
+ /**
6087
+ *
6088
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6089
+ * @param {string} workspaceId Workspace identifier
6090
+ * @param {string} changeSetId Change Set identifier
6091
+ * @param {string} schemaId Schema identifier
6092
+ * @param {*} [options] Override http request option.
6093
+ * @throws {RequiredError}
6094
+ */
6095
+ installSchema(workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaV1Response>>;
6064
6096
  /**
6065
6097
  *
6066
6098
  * @summary List all schemas (paginated endpoint)
@@ -6230,6 +6262,14 @@ export declare const SchemasApiFactory: (configuration?: Configuration, basePath
6230
6262
  * @throws {RequiredError}
6231
6263
  */
6232
6264
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6265
+ /**
6266
+ *
6267
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6268
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6269
+ * @param {*} [options] Override http request option.
6270
+ * @throws {RequiredError}
6271
+ */
6272
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6233
6273
  /**
6234
6274
  *
6235
6275
  * @summary List all schemas (paginated endpoint)
@@ -6404,6 +6444,15 @@ export interface SchemasApiInterface {
6404
6444
  * @memberof SchemasApiInterface
6405
6445
  */
6406
6446
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6447
+ /**
6448
+ *
6449
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6450
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6451
+ * @param {*} [options] Override http request option.
6452
+ * @throws {RequiredError}
6453
+ * @memberof SchemasApiInterface
6454
+ */
6455
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6407
6456
  /**
6408
6457
  *
6409
6458
  * @summary List all schemas (paginated endpoint)
@@ -6948,6 +6997,31 @@ export interface SchemasApiGetVariantRequest {
6948
6997
  */
6949
6998
  readonly schemaVariantId: string;
6950
6999
  }
7000
+ /**
7001
+ * Request parameters for installSchema operation in SchemasApi.
7002
+ * @export
7003
+ * @interface SchemasApiInstallSchemaRequest
7004
+ */
7005
+ export interface SchemasApiInstallSchemaRequest {
7006
+ /**
7007
+ * Workspace identifier
7008
+ * @type {string}
7009
+ * @memberof SchemasApiInstallSchema
7010
+ */
7011
+ readonly workspaceId: string;
7012
+ /**
7013
+ * Change Set identifier
7014
+ * @type {string}
7015
+ * @memberof SchemasApiInstallSchema
7016
+ */
7017
+ readonly changeSetId: string;
7018
+ /**
7019
+ * Schema identifier
7020
+ * @type {string}
7021
+ * @memberof SchemasApiInstallSchema
7022
+ */
7023
+ readonly schemaId: string;
7024
+ }
6951
7025
  /**
6952
7026
  * Request parameters for listSchemas operation in SchemasApi.
6953
7027
  * @export
@@ -7208,6 +7282,15 @@ export declare class SchemasApi extends BaseAPI implements SchemasApiInterface {
7208
7282
  * @memberof SchemasApi
7209
7283
  */
7210
7284
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaVariantV1Response, any, {}>>;
7285
+ /**
7286
+ *
7287
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
7288
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
7289
+ * @param {*} [options] Override http request option.
7290
+ * @throws {RequiredError}
7291
+ * @memberof SchemasApi
7292
+ */
7293
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaV1Response, any, {}>>;
7211
7294
  /**
7212
7295
  *
7213
7296
  * @summary List all schemas (paginated endpoint)
package/dist/cjs/api.js CHANGED
@@ -3393,6 +3393,43 @@ const SchemasApiAxiosParamCreator = function (configuration) {
3393
3393
  options: localVarRequestOptions,
3394
3394
  };
3395
3395
  },
3396
+ /**
3397
+ *
3398
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
3399
+ * @param {string} workspaceId Workspace identifier
3400
+ * @param {string} changeSetId Change Set identifier
3401
+ * @param {string} schemaId Schema identifier
3402
+ * @param {*} [options] Override http request option.
3403
+ * @throws {RequiredError}
3404
+ */
3405
+ installSchema: async (workspaceId, changeSetId, schemaId, options = {}) => {
3406
+ // verify required parameter 'workspaceId' is not null or undefined
3407
+ (0, common_1.assertParamExists)('installSchema', 'workspaceId', workspaceId);
3408
+ // verify required parameter 'changeSetId' is not null or undefined
3409
+ (0, common_1.assertParamExists)('installSchema', 'changeSetId', changeSetId);
3410
+ // verify required parameter 'schemaId' is not null or undefined
3411
+ (0, common_1.assertParamExists)('installSchema', 'schemaId', schemaId);
3412
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/schemas/{schema_id}/install`
3413
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
3414
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
3415
+ .replace(`{${"schema_id"}}`, encodeURIComponent(String(schemaId)));
3416
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3417
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3418
+ let baseOptions;
3419
+ if (configuration) {
3420
+ baseOptions = configuration.baseOptions;
3421
+ }
3422
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3423
+ const localVarHeaderParameter = {};
3424
+ const localVarQueryParameter = {};
3425
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3426
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3427
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3428
+ return {
3429
+ url: (0, common_1.toPathString)(localVarUrlObj),
3430
+ options: localVarRequestOptions,
3431
+ };
3432
+ },
3396
3433
  /**
3397
3434
  *
3398
3435
  * @summary List all schemas (paginated endpoint)
@@ -3812,6 +3849,21 @@ const SchemasApiFp = function (configuration) {
3812
3849
  const localVarOperationServerBasePath = base_1.operationServerMap['SchemasApi.getVariant']?.[localVarOperationServerIndex]?.url;
3813
3850
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3814
3851
  },
3852
+ /**
3853
+ *
3854
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
3855
+ * @param {string} workspaceId Workspace identifier
3856
+ * @param {string} changeSetId Change Set identifier
3857
+ * @param {string} schemaId Schema identifier
3858
+ * @param {*} [options] Override http request option.
3859
+ * @throws {RequiredError}
3860
+ */
3861
+ async installSchema(workspaceId, changeSetId, schemaId, options) {
3862
+ const localVarAxiosArgs = await localVarAxiosParamCreator.installSchema(workspaceId, changeSetId, schemaId, options);
3863
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3864
+ const localVarOperationServerBasePath = base_1.operationServerMap['SchemasApi.installSchema']?.[localVarOperationServerIndex]?.url;
3865
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3866
+ },
3815
3867
  /**
3816
3868
  *
3817
3869
  * @summary List all schemas (paginated endpoint)
@@ -4035,6 +4087,16 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
4035
4087
  getVariant(requestParameters, options) {
4036
4088
  return localVarFp.getVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, requestParameters.schemaVariantId, options).then((request) => request(axios, basePath));
4037
4089
  },
4090
+ /**
4091
+ *
4092
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
4093
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
4094
+ * @param {*} [options] Override http request option.
4095
+ * @throws {RequiredError}
4096
+ */
4097
+ installSchema(requestParameters, options) {
4098
+ return localVarFp.installSchema(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(axios, basePath));
4099
+ },
4038
4100
  /**
4039
4101
  *
4040
4102
  * @summary List all schemas (paginated endpoint)
@@ -4250,6 +4312,17 @@ class SchemasApi extends base_1.BaseAPI {
4250
4312
  getVariant(requestParameters, options) {
4251
4313
  return (0, exports.SchemasApiFp)(this.configuration).getVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, requestParameters.schemaVariantId, options).then((request) => request(this.axios, this.basePath));
4252
4314
  }
4315
+ /**
4316
+ *
4317
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
4318
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
4319
+ * @param {*} [options] Override http request option.
4320
+ * @throws {RequiredError}
4321
+ * @memberof SchemasApi
4322
+ */
4323
+ installSchema(requestParameters, options) {
4324
+ return (0, exports.SchemasApiFp)(this.configuration).installSchema(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(this.axios, this.basePath));
4325
+ }
4253
4326
  /**
4254
4327
  *
4255
4328
  * @summary List all schemas (paginated endpoint)
package/dist/esm/api.d.ts CHANGED
@@ -2376,6 +2376,12 @@ export interface SchemaVariantFunc {
2376
2376
  * @memberof SchemaVariantFunc
2377
2377
  */
2378
2378
  'id': string;
2379
+ /**
2380
+ *
2381
+ * @type {boolean}
2382
+ * @memberof SchemaVariantFunc
2383
+ */
2384
+ 'isOverlay': boolean;
2379
2385
  }
2380
2386
  /**
2381
2387
  * @type SchemaVariantFuncKind
@@ -3056,6 +3062,12 @@ export interface Workspace {
3056
3062
  * @memberof Workspace
3057
3063
  */
3058
3064
  'displayName': string;
3065
+ /**
3066
+ *
3067
+ * @type {string}
3068
+ * @memberof Workspace
3069
+ */
3070
+ 'externalId'?: string | null;
3059
3071
  /**
3060
3072
  *
3061
3073
  * @type {string}
@@ -5840,6 +5852,16 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
5840
5852
  * @throws {RequiredError}
5841
5853
  */
5842
5854
  getVariant: (workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5855
+ /**
5856
+ *
5857
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
5858
+ * @param {string} workspaceId Workspace identifier
5859
+ * @param {string} changeSetId Change Set identifier
5860
+ * @param {string} schemaId Schema identifier
5861
+ * @param {*} [options] Override http request option.
5862
+ * @throws {RequiredError}
5863
+ */
5864
+ installSchema: (workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
5865
  /**
5844
5866
  *
5845
5867
  * @summary List all schemas (paginated endpoint)
@@ -6061,6 +6083,16 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
6061
6083
  * @throws {RequiredError}
6062
6084
  */
6063
6085
  getVariant(workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaVariantV1Response>>;
6086
+ /**
6087
+ *
6088
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6089
+ * @param {string} workspaceId Workspace identifier
6090
+ * @param {string} changeSetId Change Set identifier
6091
+ * @param {string} schemaId Schema identifier
6092
+ * @param {*} [options] Override http request option.
6093
+ * @throws {RequiredError}
6094
+ */
6095
+ installSchema(workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaV1Response>>;
6064
6096
  /**
6065
6097
  *
6066
6098
  * @summary List all schemas (paginated endpoint)
@@ -6230,6 +6262,14 @@ export declare const SchemasApiFactory: (configuration?: Configuration, basePath
6230
6262
  * @throws {RequiredError}
6231
6263
  */
6232
6264
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6265
+ /**
6266
+ *
6267
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6268
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6269
+ * @param {*} [options] Override http request option.
6270
+ * @throws {RequiredError}
6271
+ */
6272
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6233
6273
  /**
6234
6274
  *
6235
6275
  * @summary List all schemas (paginated endpoint)
@@ -6404,6 +6444,15 @@ export interface SchemasApiInterface {
6404
6444
  * @memberof SchemasApiInterface
6405
6445
  */
6406
6446
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6447
+ /**
6448
+ *
6449
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6450
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6451
+ * @param {*} [options] Override http request option.
6452
+ * @throws {RequiredError}
6453
+ * @memberof SchemasApiInterface
6454
+ */
6455
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6407
6456
  /**
6408
6457
  *
6409
6458
  * @summary List all schemas (paginated endpoint)
@@ -6948,6 +6997,31 @@ export interface SchemasApiGetVariantRequest {
6948
6997
  */
6949
6998
  readonly schemaVariantId: string;
6950
6999
  }
7000
+ /**
7001
+ * Request parameters for installSchema operation in SchemasApi.
7002
+ * @export
7003
+ * @interface SchemasApiInstallSchemaRequest
7004
+ */
7005
+ export interface SchemasApiInstallSchemaRequest {
7006
+ /**
7007
+ * Workspace identifier
7008
+ * @type {string}
7009
+ * @memberof SchemasApiInstallSchema
7010
+ */
7011
+ readonly workspaceId: string;
7012
+ /**
7013
+ * Change Set identifier
7014
+ * @type {string}
7015
+ * @memberof SchemasApiInstallSchema
7016
+ */
7017
+ readonly changeSetId: string;
7018
+ /**
7019
+ * Schema identifier
7020
+ * @type {string}
7021
+ * @memberof SchemasApiInstallSchema
7022
+ */
7023
+ readonly schemaId: string;
7024
+ }
6951
7025
  /**
6952
7026
  * Request parameters for listSchemas operation in SchemasApi.
6953
7027
  * @export
@@ -7208,6 +7282,15 @@ export declare class SchemasApi extends BaseAPI implements SchemasApiInterface {
7208
7282
  * @memberof SchemasApi
7209
7283
  */
7210
7284
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaVariantV1Response, any, {}>>;
7285
+ /**
7286
+ *
7287
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
7288
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
7289
+ * @param {*} [options] Override http request option.
7290
+ * @throws {RequiredError}
7291
+ * @memberof SchemasApi
7292
+ */
7293
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaV1Response, any, {}>>;
7211
7294
  /**
7212
7295
  *
7213
7296
  * @summary List all schemas (paginated endpoint)
package/dist/esm/api.js CHANGED
@@ -3363,6 +3363,43 @@ export const SchemasApiAxiosParamCreator = function (configuration) {
3363
3363
  options: localVarRequestOptions,
3364
3364
  };
3365
3365
  },
3366
+ /**
3367
+ *
3368
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
3369
+ * @param {string} workspaceId Workspace identifier
3370
+ * @param {string} changeSetId Change Set identifier
3371
+ * @param {string} schemaId Schema identifier
3372
+ * @param {*} [options] Override http request option.
3373
+ * @throws {RequiredError}
3374
+ */
3375
+ installSchema: async (workspaceId, changeSetId, schemaId, options = {}) => {
3376
+ // verify required parameter 'workspaceId' is not null or undefined
3377
+ assertParamExists('installSchema', 'workspaceId', workspaceId);
3378
+ // verify required parameter 'changeSetId' is not null or undefined
3379
+ assertParamExists('installSchema', 'changeSetId', changeSetId);
3380
+ // verify required parameter 'schemaId' is not null or undefined
3381
+ assertParamExists('installSchema', 'schemaId', schemaId);
3382
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/schemas/{schema_id}/install`
3383
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
3384
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
3385
+ .replace(`{${"schema_id"}}`, encodeURIComponent(String(schemaId)));
3386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3388
+ let baseOptions;
3389
+ if (configuration) {
3390
+ baseOptions = configuration.baseOptions;
3391
+ }
3392
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
3393
+ const localVarHeaderParameter = {};
3394
+ const localVarQueryParameter = {};
3395
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3397
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3398
+ return {
3399
+ url: toPathString(localVarUrlObj),
3400
+ options: localVarRequestOptions,
3401
+ };
3402
+ },
3366
3403
  /**
3367
3404
  *
3368
3405
  * @summary List all schemas (paginated endpoint)
@@ -3781,6 +3818,21 @@ export const SchemasApiFp = function (configuration) {
3781
3818
  const localVarOperationServerBasePath = operationServerMap['SchemasApi.getVariant']?.[localVarOperationServerIndex]?.url;
3782
3819
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3783
3820
  },
3821
+ /**
3822
+ *
3823
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
3824
+ * @param {string} workspaceId Workspace identifier
3825
+ * @param {string} changeSetId Change Set identifier
3826
+ * @param {string} schemaId Schema identifier
3827
+ * @param {*} [options] Override http request option.
3828
+ * @throws {RequiredError}
3829
+ */
3830
+ async installSchema(workspaceId, changeSetId, schemaId, options) {
3831
+ const localVarAxiosArgs = await localVarAxiosParamCreator.installSchema(workspaceId, changeSetId, schemaId, options);
3832
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3833
+ const localVarOperationServerBasePath = operationServerMap['SchemasApi.installSchema']?.[localVarOperationServerIndex]?.url;
3834
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3835
+ },
3784
3836
  /**
3785
3837
  *
3786
3838
  * @summary List all schemas (paginated endpoint)
@@ -4003,6 +4055,16 @@ export const SchemasApiFactory = function (configuration, basePath, axios) {
4003
4055
  getVariant(requestParameters, options) {
4004
4056
  return localVarFp.getVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, requestParameters.schemaVariantId, options).then((request) => request(axios, basePath));
4005
4057
  },
4058
+ /**
4059
+ *
4060
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
4061
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
4062
+ * @param {*} [options] Override http request option.
4063
+ * @throws {RequiredError}
4064
+ */
4065
+ installSchema(requestParameters, options) {
4066
+ return localVarFp.installSchema(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(axios, basePath));
4067
+ },
4006
4068
  /**
4007
4069
  *
4008
4070
  * @summary List all schemas (paginated endpoint)
@@ -4217,6 +4279,17 @@ export class SchemasApi extends BaseAPI {
4217
4279
  getVariant(requestParameters, options) {
4218
4280
  return SchemasApiFp(this.configuration).getVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, requestParameters.schemaVariantId, options).then((request) => request(this.axios, this.basePath));
4219
4281
  }
4282
+ /**
4283
+ *
4284
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
4285
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
4286
+ * @param {*} [options] Override http request option.
4287
+ * @throws {RequiredError}
4288
+ * @memberof SchemasApi
4289
+ */
4290
+ installSchema(requestParameters, options) {
4291
+ return SchemasApiFp(this.configuration).installSchema(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(this.axios, this.basePath));
4292
+ }
4220
4293
  /**
4221
4294
  *
4222
4295
  * @summary List all schemas (paginated endpoint)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-initiative-api-client",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "TypeScript/JavaScript SDK for the System Initiative Public API",
5
5
  "author": "System Initiative <support@systeminit.com>",
6
6
  "repository": {