system-initiative-api-client 1.5.0 → 1.6.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/cjs/api.d.ts CHANGED
@@ -5840,6 +5840,16 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
5840
5840
  * @throws {RequiredError}
5841
5841
  */
5842
5842
  getVariant: (workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
+ /**
5844
+ *
5845
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
5846
+ * @param {string} workspaceId Workspace identifier
5847
+ * @param {string} changeSetId Change Set identifier
5848
+ * @param {string} schemaId Schema identifier
5849
+ * @param {*} [options] Override http request option.
5850
+ * @throws {RequiredError}
5851
+ */
5852
+ installSchema: (workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
5853
  /**
5844
5854
  *
5845
5855
  * @summary List all schemas (paginated endpoint)
@@ -6061,6 +6071,16 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
6061
6071
  * @throws {RequiredError}
6062
6072
  */
6063
6073
  getVariant(workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaVariantV1Response>>;
6074
+ /**
6075
+ *
6076
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6077
+ * @param {string} workspaceId Workspace identifier
6078
+ * @param {string} changeSetId Change Set identifier
6079
+ * @param {string} schemaId Schema identifier
6080
+ * @param {*} [options] Override http request option.
6081
+ * @throws {RequiredError}
6082
+ */
6083
+ installSchema(workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaV1Response>>;
6064
6084
  /**
6065
6085
  *
6066
6086
  * @summary List all schemas (paginated endpoint)
@@ -6230,6 +6250,14 @@ export declare const SchemasApiFactory: (configuration?: Configuration, basePath
6230
6250
  * @throws {RequiredError}
6231
6251
  */
6232
6252
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6253
+ /**
6254
+ *
6255
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6256
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6257
+ * @param {*} [options] Override http request option.
6258
+ * @throws {RequiredError}
6259
+ */
6260
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6233
6261
  /**
6234
6262
  *
6235
6263
  * @summary List all schemas (paginated endpoint)
@@ -6404,6 +6432,15 @@ export interface SchemasApiInterface {
6404
6432
  * @memberof SchemasApiInterface
6405
6433
  */
6406
6434
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6435
+ /**
6436
+ *
6437
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6438
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6439
+ * @param {*} [options] Override http request option.
6440
+ * @throws {RequiredError}
6441
+ * @memberof SchemasApiInterface
6442
+ */
6443
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6407
6444
  /**
6408
6445
  *
6409
6446
  * @summary List all schemas (paginated endpoint)
@@ -6948,6 +6985,31 @@ export interface SchemasApiGetVariantRequest {
6948
6985
  */
6949
6986
  readonly schemaVariantId: string;
6950
6987
  }
6988
+ /**
6989
+ * Request parameters for installSchema operation in SchemasApi.
6990
+ * @export
6991
+ * @interface SchemasApiInstallSchemaRequest
6992
+ */
6993
+ export interface SchemasApiInstallSchemaRequest {
6994
+ /**
6995
+ * Workspace identifier
6996
+ * @type {string}
6997
+ * @memberof SchemasApiInstallSchema
6998
+ */
6999
+ readonly workspaceId: string;
7000
+ /**
7001
+ * Change Set identifier
7002
+ * @type {string}
7003
+ * @memberof SchemasApiInstallSchema
7004
+ */
7005
+ readonly changeSetId: string;
7006
+ /**
7007
+ * Schema identifier
7008
+ * @type {string}
7009
+ * @memberof SchemasApiInstallSchema
7010
+ */
7011
+ readonly schemaId: string;
7012
+ }
6951
7013
  /**
6952
7014
  * Request parameters for listSchemas operation in SchemasApi.
6953
7015
  * @export
@@ -7208,6 +7270,15 @@ export declare class SchemasApi extends BaseAPI implements SchemasApiInterface {
7208
7270
  * @memberof SchemasApi
7209
7271
  */
7210
7272
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaVariantV1Response, any, {}>>;
7273
+ /**
7274
+ *
7275
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
7276
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
7277
+ * @param {*} [options] Override http request option.
7278
+ * @throws {RequiredError}
7279
+ * @memberof SchemasApi
7280
+ */
7281
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaV1Response, any, {}>>;
7211
7282
  /**
7212
7283
  *
7213
7284
  * @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
@@ -5840,6 +5840,16 @@ export declare const SchemasApiAxiosParamCreator: (configuration?: Configuration
5840
5840
  * @throws {RequiredError}
5841
5841
  */
5842
5842
  getVariant: (workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
+ /**
5844
+ *
5845
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
5846
+ * @param {string} workspaceId Workspace identifier
5847
+ * @param {string} changeSetId Change Set identifier
5848
+ * @param {string} schemaId Schema identifier
5849
+ * @param {*} [options] Override http request option.
5850
+ * @throws {RequiredError}
5851
+ */
5852
+ installSchema: (workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5843
5853
  /**
5844
5854
  *
5845
5855
  * @summary List all schemas (paginated endpoint)
@@ -6061,6 +6071,16 @@ export declare const SchemasApiFp: (configuration?: Configuration) => {
6061
6071
  * @throws {RequiredError}
6062
6072
  */
6063
6073
  getVariant(workspaceId: string, changeSetId: string, schemaId: string, schemaVariantId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaVariantV1Response>>;
6074
+ /**
6075
+ *
6076
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6077
+ * @param {string} workspaceId Workspace identifier
6078
+ * @param {string} changeSetId Change Set identifier
6079
+ * @param {string} schemaId Schema identifier
6080
+ * @param {*} [options] Override http request option.
6081
+ * @throws {RequiredError}
6082
+ */
6083
+ installSchema(workspaceId: string, changeSetId: string, schemaId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSchemaV1Response>>;
6064
6084
  /**
6065
6085
  *
6066
6086
  * @summary List all schemas (paginated endpoint)
@@ -6230,6 +6250,14 @@ export declare const SchemasApiFactory: (configuration?: Configuration, basePath
6230
6250
  * @throws {RequiredError}
6231
6251
  */
6232
6252
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6253
+ /**
6254
+ *
6255
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6256
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6257
+ * @param {*} [options] Override http request option.
6258
+ * @throws {RequiredError}
6259
+ */
6260
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6233
6261
  /**
6234
6262
  *
6235
6263
  * @summary List all schemas (paginated endpoint)
@@ -6404,6 +6432,15 @@ export interface SchemasApiInterface {
6404
6432
  * @memberof SchemasApiInterface
6405
6433
  */
6406
6434
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaVariantV1Response>;
6435
+ /**
6436
+ *
6437
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
6438
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
6439
+ * @param {*} [options] Override http request option.
6440
+ * @throws {RequiredError}
6441
+ * @memberof SchemasApiInterface
6442
+ */
6443
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetSchemaV1Response>;
6407
6444
  /**
6408
6445
  *
6409
6446
  * @summary List all schemas (paginated endpoint)
@@ -6948,6 +6985,31 @@ export interface SchemasApiGetVariantRequest {
6948
6985
  */
6949
6986
  readonly schemaVariantId: string;
6950
6987
  }
6988
+ /**
6989
+ * Request parameters for installSchema operation in SchemasApi.
6990
+ * @export
6991
+ * @interface SchemasApiInstallSchemaRequest
6992
+ */
6993
+ export interface SchemasApiInstallSchemaRequest {
6994
+ /**
6995
+ * Workspace identifier
6996
+ * @type {string}
6997
+ * @memberof SchemasApiInstallSchema
6998
+ */
6999
+ readonly workspaceId: string;
7000
+ /**
7001
+ * Change Set identifier
7002
+ * @type {string}
7003
+ * @memberof SchemasApiInstallSchema
7004
+ */
7005
+ readonly changeSetId: string;
7006
+ /**
7007
+ * Schema identifier
7008
+ * @type {string}
7009
+ * @memberof SchemasApiInstallSchema
7010
+ */
7011
+ readonly schemaId: string;
7012
+ }
6951
7013
  /**
6952
7014
  * Request parameters for listSchemas operation in SchemasApi.
6953
7015
  * @export
@@ -7208,6 +7270,15 @@ export declare class SchemasApi extends BaseAPI implements SchemasApiInterface {
7208
7270
  * @memberof SchemasApi
7209
7271
  */
7210
7272
  getVariant(requestParameters: SchemasApiGetVariantRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaVariantV1Response, any, {}>>;
7273
+ /**
7274
+ *
7275
+ * @summary Installs a schema - if there\'s an installed schema, it will return that schema detail
7276
+ * @param {SchemasApiInstallSchemaRequest} requestParameters Request parameters.
7277
+ * @param {*} [options] Override http request option.
7278
+ * @throws {RequiredError}
7279
+ * @memberof SchemasApi
7280
+ */
7281
+ installSchema(requestParameters: SchemasApiInstallSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSchemaV1Response, any, {}>>;
7211
7282
  /**
7212
7283
  *
7213
7284
  * @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.5.0",
3
+ "version": "1.6.1",
4
4
  "description": "TypeScript/JavaScript SDK for the System Initiative Public API",
5
5
  "author": "System Initiative <support@systeminit.com>",
6
6
  "repository": {