@caraer/client 2.0.553 → 2.0.555

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/api.ts CHANGED
@@ -2590,9 +2590,9 @@ export const EventRsvpRequestScopeEnum = {
2590
2590
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2591
2591
 
2592
2592
  export interface ExistingWidgetSummary {
2593
- 'ymetric'?: string;
2594
- 'yproperty'?: string;
2595
2593
  'xproperty'?: string;
2594
+ 'yproperty'?: string;
2595
+ 'ymetric'?: string;
2596
2596
  'title'?: string;
2597
2597
  'chartType'?: string;
2598
2598
  'xProperty'?: string;
@@ -18447,6 +18447,44 @@ export const DeveloperProjectsApiAxiosParamCreator = function (configuration?: C
18447
18447
  options: localVarRequestOptions,
18448
18448
  };
18449
18449
  },
18450
+ /**
18451
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
18452
+ * @summary Download the deployed project source
18453
+ * @param {string} projectUuid UUID of the developer project
18454
+ * @param {*} [options] Override http request option.
18455
+ * @throws {RequiredError}
18456
+ */
18457
+ deployedSource: async (projectUuid: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18458
+ // verify required parameter 'projectUuid' is not null or undefined
18459
+ assertParamExists('deployedSource', 'projectUuid', projectUuid)
18460
+ const localVarPath = `/api/v2/developer-projects/{projectUuid}/source`
18461
+ .replace('{projectUuid}', encodeURIComponent(String(projectUuid)));
18462
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18463
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18464
+ let baseOptions;
18465
+ if (configuration) {
18466
+ baseOptions = configuration.baseOptions;
18467
+ }
18468
+
18469
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18470
+ const localVarHeaderParameter = {} as any;
18471
+ const localVarQueryParameter = {} as any;
18472
+
18473
+ // authentication bearerAuth required
18474
+ // http bearer authentication required
18475
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18476
+
18477
+ localVarHeaderParameter['Accept'] = 'application/zip,application/json';
18478
+
18479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18481
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18482
+
18483
+ return {
18484
+ url: toPathString(localVarUrlObj),
18485
+ options: localVarRequestOptions,
18486
+ };
18487
+ },
18450
18488
  /**
18451
18489
  *
18452
18490
  * @summary Get a project build
@@ -18654,6 +18692,19 @@ export const DeveloperProjectsApiFp = function(configuration?: Configuration) {
18654
18692
  const localVarOperationServerBasePath = operationServerMap['DeveloperProjectsApi.deploy']?.[localVarOperationServerIndex]?.url;
18655
18693
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18656
18694
  },
18695
+ /**
18696
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
18697
+ * @summary Download the deployed project source
18698
+ * @param {string} projectUuid UUID of the developer project
18699
+ * @param {*} [options] Override http request option.
18700
+ * @throws {RequiredError}
18701
+ */
18702
+ async deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
18703
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deployedSource(projectUuid, options);
18704
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18705
+ const localVarOperationServerBasePath = operationServerMap['DeveloperProjectsApi.deployedSource']?.[localVarOperationServerIndex]?.url;
18706
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18707
+ },
18657
18708
  /**
18658
18709
  *
18659
18710
  * @summary Get a project build
@@ -18749,6 +18800,16 @@ export const DeveloperProjectsApiFactory = function (configuration?: Configurati
18749
18800
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse> {
18750
18801
  return localVarFp.deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(axios, basePath));
18751
18802
  },
18803
+ /**
18804
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
18805
+ * @summary Download the deployed project source
18806
+ * @param {string} projectUuid UUID of the developer project
18807
+ * @param {*} [options] Override http request option.
18808
+ * @throws {RequiredError}
18809
+ */
18810
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
18811
+ return localVarFp.deployedSource(projectUuid, options).then((request) => request(axios, basePath));
18812
+ },
18752
18813
  /**
18753
18814
  *
18754
18815
  * @summary Get a project build
@@ -18833,6 +18894,17 @@ export class DeveloperProjectsApi extends BaseAPI {
18833
18894
  return DeveloperProjectsApiFp(this.configuration).deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(this.axios, this.basePath));
18834
18895
  }
18835
18896
 
18897
+ /**
18898
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
18899
+ * @summary Download the deployed project source
18900
+ * @param {string} projectUuid UUID of the developer project
18901
+ * @param {*} [options] Override http request option.
18902
+ * @throws {RequiredError}
18903
+ */
18904
+ public deployedSource(projectUuid: string, options?: RawAxiosRequestConfig) {
18905
+ return DeveloperProjectsApiFp(this.configuration).deployedSource(projectUuid, options).then((request) => request(this.axios, this.basePath));
18906
+ }
18907
+
18836
18908
  /**
18837
18909
  *
18838
18910
  * @summary Get a project build
package/dist/api.d.ts CHANGED
@@ -2580,9 +2580,9 @@ export declare const EventRsvpRequestScopeEnum: {
2580
2580
  };
2581
2581
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2582
2582
  export interface ExistingWidgetSummary {
2583
- 'ymetric'?: string;
2584
- 'yproperty'?: string;
2585
2583
  'xproperty'?: string;
2584
+ 'yproperty'?: string;
2585
+ 'ymetric'?: string;
2586
2586
  'title'?: string;
2587
2587
  'chartType'?: string;
2588
2588
  'xProperty'?: string;
@@ -13176,6 +13176,14 @@ export declare const DeveloperProjectsApiAxiosParamCreator: (configuration?: Con
13176
13176
  * @throws {RequiredError}
13177
13177
  */
13178
13178
  deploy: (projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13179
+ /**
13180
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13181
+ * @summary Download the deployed project source
13182
+ * @param {string} projectUuid UUID of the developer project
13183
+ * @param {*} [options] Override http request option.
13184
+ * @throws {RequiredError}
13185
+ */
13186
+ deployedSource: (projectUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13179
13187
  /**
13180
13188
  *
13181
13189
  * @summary Get a project build
@@ -13241,6 +13249,14 @@ export declare const DeveloperProjectsApiFp: (configuration?: Configuration) =>
13241
13249
  * @throws {RequiredError}
13242
13250
  */
13243
13251
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>>;
13252
+ /**
13253
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13254
+ * @summary Download the deployed project source
13255
+ * @param {string} projectUuid UUID of the developer project
13256
+ * @param {*} [options] Override http request option.
13257
+ * @throws {RequiredError}
13258
+ */
13259
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
13244
13260
  /**
13245
13261
  *
13246
13262
  * @summary Get a project build
@@ -13306,6 +13322,14 @@ export declare const DeveloperProjectsApiFactory: (configuration?: Configuration
13306
13322
  * @throws {RequiredError}
13307
13323
  */
13308
13324
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse>;
13325
+ /**
13326
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13327
+ * @summary Download the deployed project source
13328
+ * @param {string} projectUuid UUID of the developer project
13329
+ * @param {*} [options] Override http request option.
13330
+ * @throws {RequiredError}
13331
+ */
13332
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
13309
13333
  /**
13310
13334
  *
13311
13335
  * @summary Get a project build
@@ -13371,6 +13395,14 @@ export declare class DeveloperProjectsApi extends BaseAPI {
13371
13395
  * @throws {RequiredError}
13372
13396
  */
13373
13397
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponse, any, {}>>;
13398
+ /**
13399
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13400
+ * @summary Download the deployed project source
13401
+ * @param {string} projectUuid UUID of the developer project
13402
+ * @param {*} [options] Override http request option.
13403
+ * @throws {RequiredError}
13404
+ */
13405
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
13374
13406
  /**
13375
13407
  *
13376
13408
  * @summary Get a project build
package/dist/api.js CHANGED
@@ -9818,6 +9818,39 @@ const DeveloperProjectsApiAxiosParamCreator = function (configuration) {
9818
9818
  options: localVarRequestOptions,
9819
9819
  };
9820
9820
  }),
9821
+ /**
9822
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
9823
+ * @summary Download the deployed project source
9824
+ * @param {string} projectUuid UUID of the developer project
9825
+ * @param {*} [options] Override http request option.
9826
+ * @throws {RequiredError}
9827
+ */
9828
+ deployedSource: (projectUuid_1, ...args_1) => __awaiter(this, [projectUuid_1, ...args_1], void 0, function* (projectUuid, options = {}) {
9829
+ // verify required parameter 'projectUuid' is not null or undefined
9830
+ (0, common_1.assertParamExists)('deployedSource', 'projectUuid', projectUuid);
9831
+ const localVarPath = `/api/v2/developer-projects/{projectUuid}/source`
9832
+ .replace('{projectUuid}', encodeURIComponent(String(projectUuid)));
9833
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9834
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9835
+ let baseOptions;
9836
+ if (configuration) {
9837
+ baseOptions = configuration.baseOptions;
9838
+ }
9839
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9840
+ const localVarHeaderParameter = {};
9841
+ const localVarQueryParameter = {};
9842
+ // authentication bearerAuth required
9843
+ // http bearer authentication required
9844
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9845
+ localVarHeaderParameter['Accept'] = 'application/zip,application/json';
9846
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9848
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9849
+ return {
9850
+ url: (0, common_1.toPathString)(localVarUrlObj),
9851
+ options: localVarRequestOptions,
9852
+ };
9853
+ }),
9821
9854
  /**
9822
9855
  *
9823
9856
  * @summary Get a project build
@@ -10014,6 +10047,22 @@ const DeveloperProjectsApiFp = function (configuration) {
10014
10047
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10015
10048
  });
10016
10049
  },
10050
+ /**
10051
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
10052
+ * @summary Download the deployed project source
10053
+ * @param {string} projectUuid UUID of the developer project
10054
+ * @param {*} [options] Override http request option.
10055
+ * @throws {RequiredError}
10056
+ */
10057
+ deployedSource(projectUuid, options) {
10058
+ return __awaiter(this, void 0, void 0, function* () {
10059
+ var _a, _b, _c;
10060
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deployedSource(projectUuid, options);
10061
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10062
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeveloperProjectsApi.deployedSource']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10063
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10064
+ });
10065
+ },
10017
10066
  /**
10018
10067
  *
10019
10068
  * @summary Get a project build
@@ -10121,6 +10170,16 @@ const DeveloperProjectsApiFactory = function (configuration, basePath, axios) {
10121
10170
  deploy(projectUuid, buildUuid, deployBuildRequest, options) {
10122
10171
  return localVarFp.deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(axios, basePath));
10123
10172
  },
10173
+ /**
10174
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
10175
+ * @summary Download the deployed project source
10176
+ * @param {string} projectUuid UUID of the developer project
10177
+ * @param {*} [options] Override http request option.
10178
+ * @throws {RequiredError}
10179
+ */
10180
+ deployedSource(projectUuid, options) {
10181
+ return localVarFp.deployedSource(projectUuid, options).then((request) => request(axios, basePath));
10182
+ },
10124
10183
  /**
10125
10184
  *
10126
10185
  * @summary Get a project build
@@ -10202,6 +10261,16 @@ class DeveloperProjectsApi extends base_1.BaseAPI {
10202
10261
  deploy(projectUuid, buildUuid, deployBuildRequest, options) {
10203
10262
  return (0, exports.DeveloperProjectsApiFp)(this.configuration).deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(this.axios, this.basePath));
10204
10263
  }
10264
+ /**
10265
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
10266
+ * @summary Download the deployed project source
10267
+ * @param {string} projectUuid UUID of the developer project
10268
+ * @param {*} [options] Override http request option.
10269
+ * @throws {RequiredError}
10270
+ */
10271
+ deployedSource(projectUuid, options) {
10272
+ return (0, exports.DeveloperProjectsApiFp)(this.configuration).deployedSource(projectUuid, options).then((request) => request(this.axios, this.basePath));
10273
+ }
10205
10274
  /**
10206
10275
  *
10207
10276
  * @summary Get a project build
package/dist/esm/api.d.ts CHANGED
@@ -2580,9 +2580,9 @@ export declare const EventRsvpRequestScopeEnum: {
2580
2580
  };
2581
2581
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2582
2582
  export interface ExistingWidgetSummary {
2583
- 'ymetric'?: string;
2584
- 'yproperty'?: string;
2585
2583
  'xproperty'?: string;
2584
+ 'yproperty'?: string;
2585
+ 'ymetric'?: string;
2586
2586
  'title'?: string;
2587
2587
  'chartType'?: string;
2588
2588
  'xProperty'?: string;
@@ -13176,6 +13176,14 @@ export declare const DeveloperProjectsApiAxiosParamCreator: (configuration?: Con
13176
13176
  * @throws {RequiredError}
13177
13177
  */
13178
13178
  deploy: (projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13179
+ /**
13180
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13181
+ * @summary Download the deployed project source
13182
+ * @param {string} projectUuid UUID of the developer project
13183
+ * @param {*} [options] Override http request option.
13184
+ * @throws {RequiredError}
13185
+ */
13186
+ deployedSource: (projectUuid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13179
13187
  /**
13180
13188
  *
13181
13189
  * @summary Get a project build
@@ -13241,6 +13249,14 @@ export declare const DeveloperProjectsApiFp: (configuration?: Configuration) =>
13241
13249
  * @throws {RequiredError}
13242
13250
  */
13243
13251
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateResponse>>;
13252
+ /**
13253
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13254
+ * @summary Download the deployed project source
13255
+ * @param {string} projectUuid UUID of the developer project
13256
+ * @param {*} [options] Override http request option.
13257
+ * @throws {RequiredError}
13258
+ */
13259
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
13244
13260
  /**
13245
13261
  *
13246
13262
  * @summary Get a project build
@@ -13306,6 +13322,14 @@ export declare const DeveloperProjectsApiFactory: (configuration?: Configuration
13306
13322
  * @throws {RequiredError}
13307
13323
  */
13308
13324
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateResponse>;
13325
+ /**
13326
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13327
+ * @summary Download the deployed project source
13328
+ * @param {string} projectUuid UUID of the developer project
13329
+ * @param {*} [options] Override http request option.
13330
+ * @throws {RequiredError}
13331
+ */
13332
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
13309
13333
  /**
13310
13334
  *
13311
13335
  * @summary Get a project build
@@ -13371,6 +13395,14 @@ export declare class DeveloperProjectsApi extends BaseAPI {
13371
13395
  * @throws {RequiredError}
13372
13396
  */
13373
13397
  deploy(projectUuid: string, buildUuid: string, deployBuildRequest?: DeployBuildRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateResponse, any, {}>>;
13398
+ /**
13399
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
13400
+ * @summary Download the deployed project source
13401
+ * @param {string} projectUuid UUID of the developer project
13402
+ * @param {*} [options] Override http request option.
13403
+ * @throws {RequiredError}
13404
+ */
13405
+ deployedSource(projectUuid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
13374
13406
  /**
13375
13407
  *
13376
13408
  * @summary Get a project build
package/dist/esm/api.js CHANGED
@@ -9760,6 +9760,39 @@ export const DeveloperProjectsApiAxiosParamCreator = function (configuration) {
9760
9760
  options: localVarRequestOptions,
9761
9761
  };
9762
9762
  }),
9763
+ /**
9764
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
9765
+ * @summary Download the deployed project source
9766
+ * @param {string} projectUuid UUID of the developer project
9767
+ * @param {*} [options] Override http request option.
9768
+ * @throws {RequiredError}
9769
+ */
9770
+ deployedSource: (projectUuid_1, ...args_1) => __awaiter(this, [projectUuid_1, ...args_1], void 0, function* (projectUuid, options = {}) {
9771
+ // verify required parameter 'projectUuid' is not null or undefined
9772
+ assertParamExists('deployedSource', 'projectUuid', projectUuid);
9773
+ const localVarPath = `/api/v2/developer-projects/{projectUuid}/source`
9774
+ .replace('{projectUuid}', encodeURIComponent(String(projectUuid)));
9775
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9776
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9777
+ let baseOptions;
9778
+ if (configuration) {
9779
+ baseOptions = configuration.baseOptions;
9780
+ }
9781
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9782
+ const localVarHeaderParameter = {};
9783
+ const localVarQueryParameter = {};
9784
+ // authentication bearerAuth required
9785
+ // http bearer authentication required
9786
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9787
+ localVarHeaderParameter['Accept'] = 'application/zip,application/json';
9788
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9789
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9790
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9791
+ return {
9792
+ url: toPathString(localVarUrlObj),
9793
+ options: localVarRequestOptions,
9794
+ };
9795
+ }),
9763
9796
  /**
9764
9797
  *
9765
9798
  * @summary Get a project build
@@ -9955,6 +9988,22 @@ export const DeveloperProjectsApiFp = function (configuration) {
9955
9988
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9956
9989
  });
9957
9990
  },
9991
+ /**
9992
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
9993
+ * @summary Download the deployed project source
9994
+ * @param {string} projectUuid UUID of the developer project
9995
+ * @param {*} [options] Override http request option.
9996
+ * @throws {RequiredError}
9997
+ */
9998
+ deployedSource(projectUuid, options) {
9999
+ return __awaiter(this, void 0, void 0, function* () {
10000
+ var _a, _b, _c;
10001
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deployedSource(projectUuid, options);
10002
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10003
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeveloperProjectsApi.deployedSource']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10004
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10005
+ });
10006
+ },
9958
10007
  /**
9959
10008
  *
9960
10009
  * @summary Get a project build
@@ -10061,6 +10110,16 @@ export const DeveloperProjectsApiFactory = function (configuration, basePath, ax
10061
10110
  deploy(projectUuid, buildUuid, deployBuildRequest, options) {
10062
10111
  return localVarFp.deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(axios, basePath));
10063
10112
  },
10113
+ /**
10114
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
10115
+ * @summary Download the deployed project source
10116
+ * @param {string} projectUuid UUID of the developer project
10117
+ * @param {*} [options] Override http request option.
10118
+ * @throws {RequiredError}
10119
+ */
10120
+ deployedSource(projectUuid, options) {
10121
+ return localVarFp.deployedSource(projectUuid, options).then((request) => request(axios, basePath));
10122
+ },
10064
10123
  /**
10065
10124
  *
10066
10125
  * @summary Get a project build
@@ -10141,6 +10200,16 @@ export class DeveloperProjectsApi extends BaseAPI {
10141
10200
  deploy(projectUuid, buildUuid, deployBuildRequest, options) {
10142
10201
  return DeveloperProjectsApiFp(this.configuration).deploy(projectUuid, buildUuid, deployBuildRequest, options).then((request) => request(this.axios, this.basePath));
10143
10202
  }
10203
+ /**
10204
+ * Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
10205
+ * @summary Download the deployed project source
10206
+ * @param {string} projectUuid UUID of the developer project
10207
+ * @param {*} [options] Override http request option.
10208
+ * @throws {RequiredError}
10209
+ */
10210
+ deployedSource(projectUuid, options) {
10211
+ return DeveloperProjectsApiFp(this.configuration).deployedSource(projectUuid, options).then((request) => request(this.axios, this.basePath));
10212
+ }
10144
10213
  /**
10145
10214
  *
10146
10215
  * @summary Get a project build
@@ -7,6 +7,7 @@ All URIs are relative to *https://v2.api.caraer.com*
7
7
  |[**create2**](#create2) | **POST** /api/v2/developer-projects | Create or fetch a developer project|
8
8
  |[**createBuild**](#createbuild) | **POST** /api/v2/developer-projects/{projectUuid}/builds | Upload a project build|
9
9
  |[**deploy**](#deploy) | **POST** /api/v2/developer-projects/{projectUuid}/builds/{buildUuid}/deploy | Deploy a project build|
10
+ |[**deployedSource**](#deployedsource) | **GET** /api/v2/developer-projects/{projectUuid}/source | Download the deployed project source|
10
11
  |[**getBuild**](#getbuild) | **GET** /api/v2/developer-projects/{projectUuid}/builds/{buildUuid} | Get a project build|
11
12
  |[**listBuilds**](#listbuilds) | **GET** /api/v2/developer-projects/{projectUuid}/builds | List project builds|
12
13
  |[**listDeploys**](#listdeploys) | **GET** /api/v2/developer-projects/{projectUuid}/deploys | List project deploys|
@@ -192,6 +193,61 @@ const { status, data } = await apiInstance.deploy(
192
193
 
193
194
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
194
195
 
196
+ # **deployedSource**
197
+ > string deployedSource()
198
+
199
+ Returns the zip of the build currently deployed for this project. That archive is the source of truth for functions and CMS modules.
200
+
201
+ ### Example
202
+
203
+ ```typescript
204
+ import {
205
+ DeveloperProjectsApi,
206
+ Configuration
207
+ } from '@caraer/client';
208
+
209
+ const configuration = new Configuration();
210
+ const apiInstance = new DeveloperProjectsApi(configuration);
211
+
212
+ let projectUuid: string; //UUID of the developer project (default to undefined)
213
+
214
+ const { status, data } = await apiInstance.deployedSource(
215
+ projectUuid
216
+ );
217
+ ```
218
+
219
+ ### Parameters
220
+
221
+ |Name | Type | Description | Notes|
222
+ |------------- | ------------- | ------------- | -------------|
223
+ | **projectUuid** | [**string**] | UUID of the developer project | defaults to undefined|
224
+
225
+
226
+ ### Return type
227
+
228
+ **string**
229
+
230
+ ### Authorization
231
+
232
+ [bearerAuth](../README.md#bearerAuth)
233
+
234
+ ### HTTP request headers
235
+
236
+ - **Content-Type**: Not defined
237
+ - **Accept**: application/zip, application/json
238
+
239
+
240
+ ### HTTP response details
241
+ | Status code | Description | Response headers |
242
+ |-------------|-------------|------------------|
243
+ |**200** | Deployed source archive | - |
244
+ |**404** | The requested resource was not found. | - |
245
+ |**401** | Authentication is required or the token is invalid. | - |
246
+ |**403** | The caller is missing a required role or scope. | - |
247
+ |**500** | An internal server error occurred. | - |
248
+
249
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
250
+
195
251
  # **getBuild**
196
252
  > getBuild()
197
253
 
@@ -5,9 +5,9 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **ymetric** | **string** | | [optional] [default to undefined]
9
- **yproperty** | **string** | | [optional] [default to undefined]
10
8
  **xproperty** | **string** | | [optional] [default to undefined]
9
+ **yproperty** | **string** | | [optional] [default to undefined]
10
+ **ymetric** | **string** | | [optional] [default to undefined]
11
11
  **title** | **string** | | [optional] [default to undefined]
12
12
  **chartType** | **string** | | [optional] [default to undefined]
13
13
  **xProperty** | **string** | | [optional] [default to undefined]
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
20
20
  import { ExistingWidgetSummary } from '@caraer/client';
21
21
 
22
22
  const instance: ExistingWidgetSummary = {
23
- ymetric,
24
- yproperty,
25
23
  xproperty,
24
+ yproperty,
25
+ ymetric,
26
26
  title,
27
27
  chartType,
28
28
  xProperty,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caraer/client",
3
- "version": "2.0.553",
3
+ "version": "2.0.555",
4
4
  "description": "Generated TypeScript client for the Caraer API",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {