system-initiative-api-client 1.8.0 → 1.9.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.
package/dist/cjs/api.d.ts CHANGED
@@ -1134,6 +1134,56 @@ export interface ErrorResponse {
1134
1134
  */
1135
1135
  'error': ErrorDetail;
1136
1136
  }
1137
+ /**
1138
+ *
1139
+ * @export
1140
+ * @interface ExecDebugFuncV1Request
1141
+ */
1142
+ export interface ExecDebugFuncV1Request {
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof ExecDebugFuncV1Request
1147
+ */
1148
+ 'code': string;
1149
+ /**
1150
+ *
1151
+ * @type {string}
1152
+ * @memberof ExecDebugFuncV1Request
1153
+ */
1154
+ 'componentId': string;
1155
+ /**
1156
+ *
1157
+ * @type {any}
1158
+ * @memberof ExecDebugFuncV1Request
1159
+ */
1160
+ 'debugInput'?: any;
1161
+ /**
1162
+ *
1163
+ * @type {string}
1164
+ * @memberof ExecDebugFuncV1Request
1165
+ */
1166
+ 'handler': string;
1167
+ /**
1168
+ *
1169
+ * @type {string}
1170
+ * @memberof ExecDebugFuncV1Request
1171
+ */
1172
+ 'name': string;
1173
+ }
1174
+ /**
1175
+ *
1176
+ * @export
1177
+ * @interface ExecDebugFuncV1Response
1178
+ */
1179
+ export interface ExecDebugFuncV1Response {
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof ExecDebugFuncV1Response
1184
+ */
1185
+ 'debugFuncJobStateId': string;
1186
+ }
1137
1187
  /**
1138
1188
  *
1139
1189
  * @export
@@ -1656,6 +1706,43 @@ export interface GetComponentV1ResponseManagementFunction {
1656
1706
  */
1657
1707
  'managementPrototypeId': string;
1658
1708
  }
1709
+ /**
1710
+ *
1711
+ * @export
1712
+ * @interface GetDebugFuncJobStateV1Response
1713
+ */
1714
+ export interface GetDebugFuncJobStateV1Response {
1715
+ /**
1716
+ *
1717
+ * @type {string}
1718
+ * @memberof GetDebugFuncJobStateV1Response
1719
+ */
1720
+ 'failure'?: string | null;
1721
+ /**
1722
+ *
1723
+ * @type {string}
1724
+ * @memberof GetDebugFuncJobStateV1Response
1725
+ */
1726
+ 'funcRunId'?: string | null;
1727
+ /**
1728
+ *
1729
+ * @type {string}
1730
+ * @memberof GetDebugFuncJobStateV1Response
1731
+ */
1732
+ 'id': string;
1733
+ /**
1734
+ *
1735
+ * @type {any}
1736
+ * @memberof GetDebugFuncJobStateV1Response
1737
+ */
1738
+ 'result'?: any;
1739
+ /**
1740
+ *
1741
+ * @type {string}
1742
+ * @memberof GetDebugFuncJobStateV1Response
1743
+ */
1744
+ 'state': string;
1745
+ }
1659
1746
  /**
1660
1747
  *
1661
1748
  * @export
@@ -5294,6 +5381,181 @@ export declare class ComponentsApi extends BaseAPI implements ComponentsApiInter
5294
5381
  */
5295
5382
  upgradeComponent(requestParameters: ComponentsApiUpgradeComponentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeComponentV1Response, any, {}>>;
5296
5383
  }
5384
+ /**
5385
+ * DebugFuncsApi - axios parameter creator
5386
+ * @export
5387
+ */
5388
+ export declare const DebugFuncsApiAxiosParamCreator: (configuration?: Configuration) => {
5389
+ /**
5390
+ *
5391
+ * @summary Execute a debug function in the context of a component
5392
+ * @param {string} workspaceId Workspace identifier
5393
+ * @param {string} changeSetId Change Set identifier
5394
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
5395
+ * @param {*} [options] Override http request option.
5396
+ * @throws {RequiredError}
5397
+ */
5398
+ execDebugFunc: (workspaceId: string, changeSetId: string, execDebugFuncV1Request: ExecDebugFuncV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5399
+ /**
5400
+ *
5401
+ * @summary Get debug funcs job state details
5402
+ * @param {string} workspaceId Workspace identifier
5403
+ * @param {string} changeSetId Change Set identifier
5404
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
5405
+ * @param {*} [options] Override http request option.
5406
+ * @throws {RequiredError}
5407
+ */
5408
+ getDebugFuncState: (workspaceId: string, changeSetId: string, debugFuncJobStateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5409
+ };
5410
+ /**
5411
+ * DebugFuncsApi - functional programming interface
5412
+ * @export
5413
+ */
5414
+ export declare const DebugFuncsApiFp: (configuration?: Configuration) => {
5415
+ /**
5416
+ *
5417
+ * @summary Execute a debug function in the context of a component
5418
+ * @param {string} workspaceId Workspace identifier
5419
+ * @param {string} changeSetId Change Set identifier
5420
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
5421
+ * @param {*} [options] Override http request option.
5422
+ * @throws {RequiredError}
5423
+ */
5424
+ execDebugFunc(workspaceId: string, changeSetId: string, execDebugFuncV1Request: ExecDebugFuncV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecDebugFuncV1Response>>;
5425
+ /**
5426
+ *
5427
+ * @summary Get debug funcs job state details
5428
+ * @param {string} workspaceId Workspace identifier
5429
+ * @param {string} changeSetId Change Set identifier
5430
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
5431
+ * @param {*} [options] Override http request option.
5432
+ * @throws {RequiredError}
5433
+ */
5434
+ getDebugFuncState(workspaceId: string, changeSetId: string, debugFuncJobStateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDebugFuncJobStateV1Response>>;
5435
+ };
5436
+ /**
5437
+ * DebugFuncsApi - factory interface
5438
+ * @export
5439
+ */
5440
+ export declare const DebugFuncsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5441
+ /**
5442
+ *
5443
+ * @summary Execute a debug function in the context of a component
5444
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5445
+ * @param {*} [options] Override http request option.
5446
+ * @throws {RequiredError}
5447
+ */
5448
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecDebugFuncV1Response>;
5449
+ /**
5450
+ *
5451
+ * @summary Get debug funcs job state details
5452
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5453
+ * @param {*} [options] Override http request option.
5454
+ * @throws {RequiredError}
5455
+ */
5456
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDebugFuncJobStateV1Response>;
5457
+ };
5458
+ /**
5459
+ * DebugFuncsApi - interface
5460
+ * @export
5461
+ * @interface DebugFuncsApi
5462
+ */
5463
+ export interface DebugFuncsApiInterface {
5464
+ /**
5465
+ *
5466
+ * @summary Execute a debug function in the context of a component
5467
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5468
+ * @param {*} [options] Override http request option.
5469
+ * @throws {RequiredError}
5470
+ * @memberof DebugFuncsApiInterface
5471
+ */
5472
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecDebugFuncV1Response>;
5473
+ /**
5474
+ *
5475
+ * @summary Get debug funcs job state details
5476
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5477
+ * @param {*} [options] Override http request option.
5478
+ * @throws {RequiredError}
5479
+ * @memberof DebugFuncsApiInterface
5480
+ */
5481
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDebugFuncJobStateV1Response>;
5482
+ }
5483
+ /**
5484
+ * Request parameters for execDebugFunc operation in DebugFuncsApi.
5485
+ * @export
5486
+ * @interface DebugFuncsApiExecDebugFuncRequest
5487
+ */
5488
+ export interface DebugFuncsApiExecDebugFuncRequest {
5489
+ /**
5490
+ * Workspace identifier
5491
+ * @type {string}
5492
+ * @memberof DebugFuncsApiExecDebugFunc
5493
+ */
5494
+ readonly workspaceId: string;
5495
+ /**
5496
+ * Change Set identifier
5497
+ * @type {string}
5498
+ * @memberof DebugFuncsApiExecDebugFunc
5499
+ */
5500
+ readonly changeSetId: string;
5501
+ /**
5502
+ *
5503
+ * @type {ExecDebugFuncV1Request}
5504
+ * @memberof DebugFuncsApiExecDebugFunc
5505
+ */
5506
+ readonly execDebugFuncV1Request: ExecDebugFuncV1Request;
5507
+ }
5508
+ /**
5509
+ * Request parameters for getDebugFuncState operation in DebugFuncsApi.
5510
+ * @export
5511
+ * @interface DebugFuncsApiGetDebugFuncStateRequest
5512
+ */
5513
+ export interface DebugFuncsApiGetDebugFuncStateRequest {
5514
+ /**
5515
+ * Workspace identifier
5516
+ * @type {string}
5517
+ * @memberof DebugFuncsApiGetDebugFuncState
5518
+ */
5519
+ readonly workspaceId: string;
5520
+ /**
5521
+ * Change Set identifier
5522
+ * @type {string}
5523
+ * @memberof DebugFuncsApiGetDebugFuncState
5524
+ */
5525
+ readonly changeSetId: string;
5526
+ /**
5527
+ * Debug Func Job identifier
5528
+ * @type {string}
5529
+ * @memberof DebugFuncsApiGetDebugFuncState
5530
+ */
5531
+ readonly debugFuncJobStateId: string;
5532
+ }
5533
+ /**
5534
+ * DebugFuncsApi - object-oriented interface
5535
+ * @export
5536
+ * @class DebugFuncsApi
5537
+ * @extends {BaseAPI}
5538
+ */
5539
+ export declare class DebugFuncsApi extends BaseAPI implements DebugFuncsApiInterface {
5540
+ /**
5541
+ *
5542
+ * @summary Execute a debug function in the context of a component
5543
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5544
+ * @param {*} [options] Override http request option.
5545
+ * @throws {RequiredError}
5546
+ * @memberof DebugFuncsApi
5547
+ */
5548
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecDebugFuncV1Response, any, {}>>;
5549
+ /**
5550
+ *
5551
+ * @summary Get debug funcs job state details
5552
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5553
+ * @param {*} [options] Override http request option.
5554
+ * @throws {RequiredError}
5555
+ * @memberof DebugFuncsApi
5556
+ */
5557
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDebugFuncJobStateV1Response, any, {}>>;
5558
+ }
5297
5559
  /**
5298
5560
  * FuncsApi - axios parameter creator
5299
5561
  * @export
package/dist/cjs/api.js CHANGED
@@ -16,7 +16,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.WorkspaceManagementApi = exports.WorkspaceManagementApiFactory = exports.WorkspaceManagementApiFp = exports.WorkspaceManagementApiAxiosParamCreator = exports.WhoamiApi = exports.WhoamiApiFactory = exports.WhoamiApiFp = exports.WhoamiApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SchemasApi = exports.SchemasApiFactory = exports.SchemasApiFp = exports.SchemasApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.ManagementFuncsApi = exports.ManagementFuncsApiFactory = exports.ManagementFuncsApiFp = exports.ManagementFuncsApiAxiosParamCreator = exports.FuncsApi = exports.FuncsApiFactory = exports.FuncsApiFp = exports.FuncsApiAxiosParamCreator = exports.ComponentsApi = exports.ComponentsApiFactory = exports.ComponentsApiFp = exports.ComponentsApiAxiosParamCreator = exports.ChangeSetsApi = exports.ChangeSetsApiFactory = exports.ChangeSetsApiFp = exports.ChangeSetsApiAxiosParamCreator = exports.ActionsApi = exports.ActionsApiFactory = exports.ActionsApiFp = exports.ActionsApiAxiosParamCreator = exports.SchemaVariantFuncKindOneOf2KindEnum = exports.SchemaVariantFuncKindOneOf1KindEnum = exports.SchemaVariantFuncKindOneOfKindEnum = void 0;
19
+ exports.WorkspaceManagementApiFactory = exports.WorkspaceManagementApiFp = exports.WorkspaceManagementApiAxiosParamCreator = exports.WhoamiApi = exports.WhoamiApiFactory = exports.WhoamiApiFp = exports.WhoamiApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SchemasApi = exports.SchemasApiFactory = exports.SchemasApiFp = exports.SchemasApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.ManagementFuncsApi = exports.ManagementFuncsApiFactory = exports.ManagementFuncsApiFp = exports.ManagementFuncsApiAxiosParamCreator = exports.FuncsApi = exports.FuncsApiFactory = exports.FuncsApiFp = exports.FuncsApiAxiosParamCreator = exports.DebugFuncsApi = exports.DebugFuncsApiFactory = exports.DebugFuncsApiFp = exports.DebugFuncsApiAxiosParamCreator = exports.ComponentsApi = exports.ComponentsApiFactory = exports.ComponentsApiFp = exports.ComponentsApiAxiosParamCreator = exports.ChangeSetsApi = exports.ChangeSetsApiFactory = exports.ChangeSetsApiFp = exports.ChangeSetsApiAxiosParamCreator = exports.ActionsApi = exports.ActionsApiFactory = exports.ActionsApiFp = exports.ActionsApiAxiosParamCreator = exports.SchemaVariantFuncKindOneOf2KindEnum = exports.SchemaVariantFuncKindOneOf1KindEnum = exports.SchemaVariantFuncKindOneOfKindEnum = void 0;
20
+ exports.WorkspaceManagementApi = void 0;
20
21
  const axios_1 = __importDefault(require("axios"));
21
22
  // Some imports not used depending on template conditions
22
23
  // @ts-ignore
@@ -2268,6 +2269,191 @@ class ComponentsApi extends base_1.BaseAPI {
2268
2269
  }
2269
2270
  }
2270
2271
  exports.ComponentsApi = ComponentsApi;
2272
+ /**
2273
+ * DebugFuncsApi - axios parameter creator
2274
+ * @export
2275
+ */
2276
+ const DebugFuncsApiAxiosParamCreator = function (configuration) {
2277
+ return {
2278
+ /**
2279
+ *
2280
+ * @summary Execute a debug function in the context of a component
2281
+ * @param {string} workspaceId Workspace identifier
2282
+ * @param {string} changeSetId Change Set identifier
2283
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
2284
+ * @param {*} [options] Override http request option.
2285
+ * @throws {RequiredError}
2286
+ */
2287
+ execDebugFunc: async (workspaceId, changeSetId, execDebugFuncV1Request, options = {}) => {
2288
+ // verify required parameter 'workspaceId' is not null or undefined
2289
+ (0, common_1.assertParamExists)('execDebugFunc', 'workspaceId', workspaceId);
2290
+ // verify required parameter 'changeSetId' is not null or undefined
2291
+ (0, common_1.assertParamExists)('execDebugFunc', 'changeSetId', changeSetId);
2292
+ // verify required parameter 'execDebugFuncV1Request' is not null or undefined
2293
+ (0, common_1.assertParamExists)('execDebugFunc', 'execDebugFuncV1Request', execDebugFuncV1Request);
2294
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/debug-funcs`
2295
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
2296
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)));
2297
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2298
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2299
+ let baseOptions;
2300
+ if (configuration) {
2301
+ baseOptions = configuration.baseOptions;
2302
+ }
2303
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2304
+ const localVarHeaderParameter = {};
2305
+ const localVarQueryParameter = {};
2306
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2307
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2308
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2309
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2310
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(execDebugFuncV1Request, localVarRequestOptions, configuration);
2311
+ return {
2312
+ url: (0, common_1.toPathString)(localVarUrlObj),
2313
+ options: localVarRequestOptions,
2314
+ };
2315
+ },
2316
+ /**
2317
+ *
2318
+ * @summary Get debug funcs job state details
2319
+ * @param {string} workspaceId Workspace identifier
2320
+ * @param {string} changeSetId Change Set identifier
2321
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
2322
+ * @param {*} [options] Override http request option.
2323
+ * @throws {RequiredError}
2324
+ */
2325
+ getDebugFuncState: async (workspaceId, changeSetId, debugFuncJobStateId, options = {}) => {
2326
+ // verify required parameter 'workspaceId' is not null or undefined
2327
+ (0, common_1.assertParamExists)('getDebugFuncState', 'workspaceId', workspaceId);
2328
+ // verify required parameter 'changeSetId' is not null or undefined
2329
+ (0, common_1.assertParamExists)('getDebugFuncState', 'changeSetId', changeSetId);
2330
+ // verify required parameter 'debugFuncJobStateId' is not null or undefined
2331
+ (0, common_1.assertParamExists)('getDebugFuncState', 'debugFuncJobStateId', debugFuncJobStateId);
2332
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/debug-funcs/{debug_func_job_state_id}`
2333
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
2334
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
2335
+ .replace(`{${"debug_func_job_state_id"}}`, encodeURIComponent(String(debugFuncJobStateId)));
2336
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2337
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2338
+ let baseOptions;
2339
+ if (configuration) {
2340
+ baseOptions = configuration.baseOptions;
2341
+ }
2342
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2343
+ const localVarHeaderParameter = {};
2344
+ const localVarQueryParameter = {};
2345
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2346
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2347
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2348
+ return {
2349
+ url: (0, common_1.toPathString)(localVarUrlObj),
2350
+ options: localVarRequestOptions,
2351
+ };
2352
+ },
2353
+ };
2354
+ };
2355
+ exports.DebugFuncsApiAxiosParamCreator = DebugFuncsApiAxiosParamCreator;
2356
+ /**
2357
+ * DebugFuncsApi - functional programming interface
2358
+ * @export
2359
+ */
2360
+ const DebugFuncsApiFp = function (configuration) {
2361
+ const localVarAxiosParamCreator = (0, exports.DebugFuncsApiAxiosParamCreator)(configuration);
2362
+ return {
2363
+ /**
2364
+ *
2365
+ * @summary Execute a debug function in the context of a component
2366
+ * @param {string} workspaceId Workspace identifier
2367
+ * @param {string} changeSetId Change Set identifier
2368
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
2369
+ * @param {*} [options] Override http request option.
2370
+ * @throws {RequiredError}
2371
+ */
2372
+ async execDebugFunc(workspaceId, changeSetId, execDebugFuncV1Request, options) {
2373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.execDebugFunc(workspaceId, changeSetId, execDebugFuncV1Request, options);
2374
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2375
+ const localVarOperationServerBasePath = base_1.operationServerMap['DebugFuncsApi.execDebugFunc']?.[localVarOperationServerIndex]?.url;
2376
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2377
+ },
2378
+ /**
2379
+ *
2380
+ * @summary Get debug funcs job state details
2381
+ * @param {string} workspaceId Workspace identifier
2382
+ * @param {string} changeSetId Change Set identifier
2383
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
2384
+ * @param {*} [options] Override http request option.
2385
+ * @throws {RequiredError}
2386
+ */
2387
+ async getDebugFuncState(workspaceId, changeSetId, debugFuncJobStateId, options) {
2388
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDebugFuncState(workspaceId, changeSetId, debugFuncJobStateId, options);
2389
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2390
+ const localVarOperationServerBasePath = base_1.operationServerMap['DebugFuncsApi.getDebugFuncState']?.[localVarOperationServerIndex]?.url;
2391
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2392
+ },
2393
+ };
2394
+ };
2395
+ exports.DebugFuncsApiFp = DebugFuncsApiFp;
2396
+ /**
2397
+ * DebugFuncsApi - factory interface
2398
+ * @export
2399
+ */
2400
+ const DebugFuncsApiFactory = function (configuration, basePath, axios) {
2401
+ const localVarFp = (0, exports.DebugFuncsApiFp)(configuration);
2402
+ return {
2403
+ /**
2404
+ *
2405
+ * @summary Execute a debug function in the context of a component
2406
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
2407
+ * @param {*} [options] Override http request option.
2408
+ * @throws {RequiredError}
2409
+ */
2410
+ execDebugFunc(requestParameters, options) {
2411
+ return localVarFp.execDebugFunc(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.execDebugFuncV1Request, options).then((request) => request(axios, basePath));
2412
+ },
2413
+ /**
2414
+ *
2415
+ * @summary Get debug funcs job state details
2416
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ */
2420
+ getDebugFuncState(requestParameters, options) {
2421
+ return localVarFp.getDebugFuncState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.debugFuncJobStateId, options).then((request) => request(axios, basePath));
2422
+ },
2423
+ };
2424
+ };
2425
+ exports.DebugFuncsApiFactory = DebugFuncsApiFactory;
2426
+ /**
2427
+ * DebugFuncsApi - object-oriented interface
2428
+ * @export
2429
+ * @class DebugFuncsApi
2430
+ * @extends {BaseAPI}
2431
+ */
2432
+ class DebugFuncsApi extends base_1.BaseAPI {
2433
+ /**
2434
+ *
2435
+ * @summary Execute a debug function in the context of a component
2436
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
2437
+ * @param {*} [options] Override http request option.
2438
+ * @throws {RequiredError}
2439
+ * @memberof DebugFuncsApi
2440
+ */
2441
+ execDebugFunc(requestParameters, options) {
2442
+ return (0, exports.DebugFuncsApiFp)(this.configuration).execDebugFunc(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.execDebugFuncV1Request, options).then((request) => request(this.axios, this.basePath));
2443
+ }
2444
+ /**
2445
+ *
2446
+ * @summary Get debug funcs job state details
2447
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
2448
+ * @param {*} [options] Override http request option.
2449
+ * @throws {RequiredError}
2450
+ * @memberof DebugFuncsApi
2451
+ */
2452
+ getDebugFuncState(requestParameters, options) {
2453
+ return (0, exports.DebugFuncsApiFp)(this.configuration).getDebugFuncState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.debugFuncJobStateId, options).then((request) => request(this.axios, this.basePath));
2454
+ }
2455
+ }
2456
+ exports.DebugFuncsApi = DebugFuncsApi;
2271
2457
  /**
2272
2458
  * FuncsApi - axios parameter creator
2273
2459
  * @export
package/dist/esm/api.d.ts CHANGED
@@ -1134,6 +1134,56 @@ export interface ErrorResponse {
1134
1134
  */
1135
1135
  'error': ErrorDetail;
1136
1136
  }
1137
+ /**
1138
+ *
1139
+ * @export
1140
+ * @interface ExecDebugFuncV1Request
1141
+ */
1142
+ export interface ExecDebugFuncV1Request {
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof ExecDebugFuncV1Request
1147
+ */
1148
+ 'code': string;
1149
+ /**
1150
+ *
1151
+ * @type {string}
1152
+ * @memberof ExecDebugFuncV1Request
1153
+ */
1154
+ 'componentId': string;
1155
+ /**
1156
+ *
1157
+ * @type {any}
1158
+ * @memberof ExecDebugFuncV1Request
1159
+ */
1160
+ 'debugInput'?: any;
1161
+ /**
1162
+ *
1163
+ * @type {string}
1164
+ * @memberof ExecDebugFuncV1Request
1165
+ */
1166
+ 'handler': string;
1167
+ /**
1168
+ *
1169
+ * @type {string}
1170
+ * @memberof ExecDebugFuncV1Request
1171
+ */
1172
+ 'name': string;
1173
+ }
1174
+ /**
1175
+ *
1176
+ * @export
1177
+ * @interface ExecDebugFuncV1Response
1178
+ */
1179
+ export interface ExecDebugFuncV1Response {
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof ExecDebugFuncV1Response
1184
+ */
1185
+ 'debugFuncJobStateId': string;
1186
+ }
1137
1187
  /**
1138
1188
  *
1139
1189
  * @export
@@ -1656,6 +1706,43 @@ export interface GetComponentV1ResponseManagementFunction {
1656
1706
  */
1657
1707
  'managementPrototypeId': string;
1658
1708
  }
1709
+ /**
1710
+ *
1711
+ * @export
1712
+ * @interface GetDebugFuncJobStateV1Response
1713
+ */
1714
+ export interface GetDebugFuncJobStateV1Response {
1715
+ /**
1716
+ *
1717
+ * @type {string}
1718
+ * @memberof GetDebugFuncJobStateV1Response
1719
+ */
1720
+ 'failure'?: string | null;
1721
+ /**
1722
+ *
1723
+ * @type {string}
1724
+ * @memberof GetDebugFuncJobStateV1Response
1725
+ */
1726
+ 'funcRunId'?: string | null;
1727
+ /**
1728
+ *
1729
+ * @type {string}
1730
+ * @memberof GetDebugFuncJobStateV1Response
1731
+ */
1732
+ 'id': string;
1733
+ /**
1734
+ *
1735
+ * @type {any}
1736
+ * @memberof GetDebugFuncJobStateV1Response
1737
+ */
1738
+ 'result'?: any;
1739
+ /**
1740
+ *
1741
+ * @type {string}
1742
+ * @memberof GetDebugFuncJobStateV1Response
1743
+ */
1744
+ 'state': string;
1745
+ }
1659
1746
  /**
1660
1747
  *
1661
1748
  * @export
@@ -5294,6 +5381,181 @@ export declare class ComponentsApi extends BaseAPI implements ComponentsApiInter
5294
5381
  */
5295
5382
  upgradeComponent(requestParameters: ComponentsApiUpgradeComponentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpgradeComponentV1Response, any, {}>>;
5296
5383
  }
5384
+ /**
5385
+ * DebugFuncsApi - axios parameter creator
5386
+ * @export
5387
+ */
5388
+ export declare const DebugFuncsApiAxiosParamCreator: (configuration?: Configuration) => {
5389
+ /**
5390
+ *
5391
+ * @summary Execute a debug function in the context of a component
5392
+ * @param {string} workspaceId Workspace identifier
5393
+ * @param {string} changeSetId Change Set identifier
5394
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
5395
+ * @param {*} [options] Override http request option.
5396
+ * @throws {RequiredError}
5397
+ */
5398
+ execDebugFunc: (workspaceId: string, changeSetId: string, execDebugFuncV1Request: ExecDebugFuncV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5399
+ /**
5400
+ *
5401
+ * @summary Get debug funcs job state details
5402
+ * @param {string} workspaceId Workspace identifier
5403
+ * @param {string} changeSetId Change Set identifier
5404
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
5405
+ * @param {*} [options] Override http request option.
5406
+ * @throws {RequiredError}
5407
+ */
5408
+ getDebugFuncState: (workspaceId: string, changeSetId: string, debugFuncJobStateId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5409
+ };
5410
+ /**
5411
+ * DebugFuncsApi - functional programming interface
5412
+ * @export
5413
+ */
5414
+ export declare const DebugFuncsApiFp: (configuration?: Configuration) => {
5415
+ /**
5416
+ *
5417
+ * @summary Execute a debug function in the context of a component
5418
+ * @param {string} workspaceId Workspace identifier
5419
+ * @param {string} changeSetId Change Set identifier
5420
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
5421
+ * @param {*} [options] Override http request option.
5422
+ * @throws {RequiredError}
5423
+ */
5424
+ execDebugFunc(workspaceId: string, changeSetId: string, execDebugFuncV1Request: ExecDebugFuncV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecDebugFuncV1Response>>;
5425
+ /**
5426
+ *
5427
+ * @summary Get debug funcs job state details
5428
+ * @param {string} workspaceId Workspace identifier
5429
+ * @param {string} changeSetId Change Set identifier
5430
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
5431
+ * @param {*} [options] Override http request option.
5432
+ * @throws {RequiredError}
5433
+ */
5434
+ getDebugFuncState(workspaceId: string, changeSetId: string, debugFuncJobStateId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDebugFuncJobStateV1Response>>;
5435
+ };
5436
+ /**
5437
+ * DebugFuncsApi - factory interface
5438
+ * @export
5439
+ */
5440
+ export declare const DebugFuncsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5441
+ /**
5442
+ *
5443
+ * @summary Execute a debug function in the context of a component
5444
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5445
+ * @param {*} [options] Override http request option.
5446
+ * @throws {RequiredError}
5447
+ */
5448
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecDebugFuncV1Response>;
5449
+ /**
5450
+ *
5451
+ * @summary Get debug funcs job state details
5452
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5453
+ * @param {*} [options] Override http request option.
5454
+ * @throws {RequiredError}
5455
+ */
5456
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDebugFuncJobStateV1Response>;
5457
+ };
5458
+ /**
5459
+ * DebugFuncsApi - interface
5460
+ * @export
5461
+ * @interface DebugFuncsApi
5462
+ */
5463
+ export interface DebugFuncsApiInterface {
5464
+ /**
5465
+ *
5466
+ * @summary Execute a debug function in the context of a component
5467
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5468
+ * @param {*} [options] Override http request option.
5469
+ * @throws {RequiredError}
5470
+ * @memberof DebugFuncsApiInterface
5471
+ */
5472
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecDebugFuncV1Response>;
5473
+ /**
5474
+ *
5475
+ * @summary Get debug funcs job state details
5476
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5477
+ * @param {*} [options] Override http request option.
5478
+ * @throws {RequiredError}
5479
+ * @memberof DebugFuncsApiInterface
5480
+ */
5481
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDebugFuncJobStateV1Response>;
5482
+ }
5483
+ /**
5484
+ * Request parameters for execDebugFunc operation in DebugFuncsApi.
5485
+ * @export
5486
+ * @interface DebugFuncsApiExecDebugFuncRequest
5487
+ */
5488
+ export interface DebugFuncsApiExecDebugFuncRequest {
5489
+ /**
5490
+ * Workspace identifier
5491
+ * @type {string}
5492
+ * @memberof DebugFuncsApiExecDebugFunc
5493
+ */
5494
+ readonly workspaceId: string;
5495
+ /**
5496
+ * Change Set identifier
5497
+ * @type {string}
5498
+ * @memberof DebugFuncsApiExecDebugFunc
5499
+ */
5500
+ readonly changeSetId: string;
5501
+ /**
5502
+ *
5503
+ * @type {ExecDebugFuncV1Request}
5504
+ * @memberof DebugFuncsApiExecDebugFunc
5505
+ */
5506
+ readonly execDebugFuncV1Request: ExecDebugFuncV1Request;
5507
+ }
5508
+ /**
5509
+ * Request parameters for getDebugFuncState operation in DebugFuncsApi.
5510
+ * @export
5511
+ * @interface DebugFuncsApiGetDebugFuncStateRequest
5512
+ */
5513
+ export interface DebugFuncsApiGetDebugFuncStateRequest {
5514
+ /**
5515
+ * Workspace identifier
5516
+ * @type {string}
5517
+ * @memberof DebugFuncsApiGetDebugFuncState
5518
+ */
5519
+ readonly workspaceId: string;
5520
+ /**
5521
+ * Change Set identifier
5522
+ * @type {string}
5523
+ * @memberof DebugFuncsApiGetDebugFuncState
5524
+ */
5525
+ readonly changeSetId: string;
5526
+ /**
5527
+ * Debug Func Job identifier
5528
+ * @type {string}
5529
+ * @memberof DebugFuncsApiGetDebugFuncState
5530
+ */
5531
+ readonly debugFuncJobStateId: string;
5532
+ }
5533
+ /**
5534
+ * DebugFuncsApi - object-oriented interface
5535
+ * @export
5536
+ * @class DebugFuncsApi
5537
+ * @extends {BaseAPI}
5538
+ */
5539
+ export declare class DebugFuncsApi extends BaseAPI implements DebugFuncsApiInterface {
5540
+ /**
5541
+ *
5542
+ * @summary Execute a debug function in the context of a component
5543
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
5544
+ * @param {*} [options] Override http request option.
5545
+ * @throws {RequiredError}
5546
+ * @memberof DebugFuncsApi
5547
+ */
5548
+ execDebugFunc(requestParameters: DebugFuncsApiExecDebugFuncRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecDebugFuncV1Response, any, {}>>;
5549
+ /**
5550
+ *
5551
+ * @summary Get debug funcs job state details
5552
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
5553
+ * @param {*} [options] Override http request option.
5554
+ * @throws {RequiredError}
5555
+ * @memberof DebugFuncsApi
5556
+ */
5557
+ getDebugFuncState(requestParameters: DebugFuncsApiGetDebugFuncStateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDebugFuncJobStateV1Response, any, {}>>;
5558
+ }
5297
5559
  /**
5298
5560
  * FuncsApi - axios parameter creator
5299
5561
  * @export
package/dist/esm/api.js CHANGED
@@ -2250,6 +2250,187 @@ export class ComponentsApi extends BaseAPI {
2250
2250
  return ComponentsApiFp(this.configuration).upgradeComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, options).then((request) => request(this.axios, this.basePath));
2251
2251
  }
2252
2252
  }
2253
+ /**
2254
+ * DebugFuncsApi - axios parameter creator
2255
+ * @export
2256
+ */
2257
+ export const DebugFuncsApiAxiosParamCreator = function (configuration) {
2258
+ return {
2259
+ /**
2260
+ *
2261
+ * @summary Execute a debug function in the context of a component
2262
+ * @param {string} workspaceId Workspace identifier
2263
+ * @param {string} changeSetId Change Set identifier
2264
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
2265
+ * @param {*} [options] Override http request option.
2266
+ * @throws {RequiredError}
2267
+ */
2268
+ execDebugFunc: async (workspaceId, changeSetId, execDebugFuncV1Request, options = {}) => {
2269
+ // verify required parameter 'workspaceId' is not null or undefined
2270
+ assertParamExists('execDebugFunc', 'workspaceId', workspaceId);
2271
+ // verify required parameter 'changeSetId' is not null or undefined
2272
+ assertParamExists('execDebugFunc', 'changeSetId', changeSetId);
2273
+ // verify required parameter 'execDebugFuncV1Request' is not null or undefined
2274
+ assertParamExists('execDebugFunc', 'execDebugFuncV1Request', execDebugFuncV1Request);
2275
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/debug-funcs`
2276
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
2277
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)));
2278
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2279
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2280
+ let baseOptions;
2281
+ if (configuration) {
2282
+ baseOptions = configuration.baseOptions;
2283
+ }
2284
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
2285
+ const localVarHeaderParameter = {};
2286
+ const localVarQueryParameter = {};
2287
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2290
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2291
+ localVarRequestOptions.data = serializeDataIfNeeded(execDebugFuncV1Request, localVarRequestOptions, configuration);
2292
+ return {
2293
+ url: toPathString(localVarUrlObj),
2294
+ options: localVarRequestOptions,
2295
+ };
2296
+ },
2297
+ /**
2298
+ *
2299
+ * @summary Get debug funcs job state details
2300
+ * @param {string} workspaceId Workspace identifier
2301
+ * @param {string} changeSetId Change Set identifier
2302
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
2303
+ * @param {*} [options] Override http request option.
2304
+ * @throws {RequiredError}
2305
+ */
2306
+ getDebugFuncState: async (workspaceId, changeSetId, debugFuncJobStateId, options = {}) => {
2307
+ // verify required parameter 'workspaceId' is not null or undefined
2308
+ assertParamExists('getDebugFuncState', 'workspaceId', workspaceId);
2309
+ // verify required parameter 'changeSetId' is not null or undefined
2310
+ assertParamExists('getDebugFuncState', 'changeSetId', changeSetId);
2311
+ // verify required parameter 'debugFuncJobStateId' is not null or undefined
2312
+ assertParamExists('getDebugFuncState', 'debugFuncJobStateId', debugFuncJobStateId);
2313
+ const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/debug-funcs/{debug_func_job_state_id}`
2314
+ .replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
2315
+ .replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
2316
+ .replace(`{${"debug_func_job_state_id"}}`, encodeURIComponent(String(debugFuncJobStateId)));
2317
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2318
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2319
+ let baseOptions;
2320
+ if (configuration) {
2321
+ baseOptions = configuration.baseOptions;
2322
+ }
2323
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2324
+ const localVarHeaderParameter = {};
2325
+ const localVarQueryParameter = {};
2326
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2327
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2328
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2329
+ return {
2330
+ url: toPathString(localVarUrlObj),
2331
+ options: localVarRequestOptions,
2332
+ };
2333
+ },
2334
+ };
2335
+ };
2336
+ /**
2337
+ * DebugFuncsApi - functional programming interface
2338
+ * @export
2339
+ */
2340
+ export const DebugFuncsApiFp = function (configuration) {
2341
+ const localVarAxiosParamCreator = DebugFuncsApiAxiosParamCreator(configuration);
2342
+ return {
2343
+ /**
2344
+ *
2345
+ * @summary Execute a debug function in the context of a component
2346
+ * @param {string} workspaceId Workspace identifier
2347
+ * @param {string} changeSetId Change Set identifier
2348
+ * @param {ExecDebugFuncV1Request} execDebugFuncV1Request
2349
+ * @param {*} [options] Override http request option.
2350
+ * @throws {RequiredError}
2351
+ */
2352
+ async execDebugFunc(workspaceId, changeSetId, execDebugFuncV1Request, options) {
2353
+ const localVarAxiosArgs = await localVarAxiosParamCreator.execDebugFunc(workspaceId, changeSetId, execDebugFuncV1Request, options);
2354
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2355
+ const localVarOperationServerBasePath = operationServerMap['DebugFuncsApi.execDebugFunc']?.[localVarOperationServerIndex]?.url;
2356
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2357
+ },
2358
+ /**
2359
+ *
2360
+ * @summary Get debug funcs job state details
2361
+ * @param {string} workspaceId Workspace identifier
2362
+ * @param {string} changeSetId Change Set identifier
2363
+ * @param {string} debugFuncJobStateId Debug Func Job identifier
2364
+ * @param {*} [options] Override http request option.
2365
+ * @throws {RequiredError}
2366
+ */
2367
+ async getDebugFuncState(workspaceId, changeSetId, debugFuncJobStateId, options) {
2368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getDebugFuncState(workspaceId, changeSetId, debugFuncJobStateId, options);
2369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2370
+ const localVarOperationServerBasePath = operationServerMap['DebugFuncsApi.getDebugFuncState']?.[localVarOperationServerIndex]?.url;
2371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2372
+ },
2373
+ };
2374
+ };
2375
+ /**
2376
+ * DebugFuncsApi - factory interface
2377
+ * @export
2378
+ */
2379
+ export const DebugFuncsApiFactory = function (configuration, basePath, axios) {
2380
+ const localVarFp = DebugFuncsApiFp(configuration);
2381
+ return {
2382
+ /**
2383
+ *
2384
+ * @summary Execute a debug function in the context of a component
2385
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
2386
+ * @param {*} [options] Override http request option.
2387
+ * @throws {RequiredError}
2388
+ */
2389
+ execDebugFunc(requestParameters, options) {
2390
+ return localVarFp.execDebugFunc(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.execDebugFuncV1Request, options).then((request) => request(axios, basePath));
2391
+ },
2392
+ /**
2393
+ *
2394
+ * @summary Get debug funcs job state details
2395
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
2396
+ * @param {*} [options] Override http request option.
2397
+ * @throws {RequiredError}
2398
+ */
2399
+ getDebugFuncState(requestParameters, options) {
2400
+ return localVarFp.getDebugFuncState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.debugFuncJobStateId, options).then((request) => request(axios, basePath));
2401
+ },
2402
+ };
2403
+ };
2404
+ /**
2405
+ * DebugFuncsApi - object-oriented interface
2406
+ * @export
2407
+ * @class DebugFuncsApi
2408
+ * @extends {BaseAPI}
2409
+ */
2410
+ export class DebugFuncsApi extends BaseAPI {
2411
+ /**
2412
+ *
2413
+ * @summary Execute a debug function in the context of a component
2414
+ * @param {DebugFuncsApiExecDebugFuncRequest} requestParameters Request parameters.
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ * @memberof DebugFuncsApi
2418
+ */
2419
+ execDebugFunc(requestParameters, options) {
2420
+ return DebugFuncsApiFp(this.configuration).execDebugFunc(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.execDebugFuncV1Request, options).then((request) => request(this.axios, this.basePath));
2421
+ }
2422
+ /**
2423
+ *
2424
+ * @summary Get debug funcs job state details
2425
+ * @param {DebugFuncsApiGetDebugFuncStateRequest} requestParameters Request parameters.
2426
+ * @param {*} [options] Override http request option.
2427
+ * @throws {RequiredError}
2428
+ * @memberof DebugFuncsApi
2429
+ */
2430
+ getDebugFuncState(requestParameters, options) {
2431
+ return DebugFuncsApiFp(this.configuration).getDebugFuncState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.debugFuncJobStateId, options).then((request) => request(this.axios, this.basePath));
2432
+ }
2433
+ }
2253
2434
  /**
2254
2435
  * FuncsApi - axios parameter creator
2255
2436
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-initiative-api-client",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "TypeScript/JavaScript SDK for the System Initiative Public API",
5
5
  "author": "System Initiative <support@systeminit.com>",
6
6
  "repository": {