Skip to content

Commit 6eaaa0b

Browse files
author
workflow item
committed
system:auto generated API client
1 parent d9327db commit 6eaaa0b

File tree

6 files changed

+237
-5
lines changed

6 files changed

+237
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## tdei-client@1.1.87
1+
## tdei-client@1.1.88
22

33
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
44

@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
3636
_published:_
3737

3838
```
39-
npm install tdei-client@1.1.87 --save
39+
npm install tdei-client@1.1.88 --save
4040
```
4141

4242
_unPublished (not recommended):_

apis/oswapi.ts

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,55 @@ export const OSWApiAxiosParamCreator = function (configuration?: Configuration)
655655
options: localVarRequestOptions,
656656
};
657657
},
658+
/**
659+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
660+
* @summary Retrives the PM tiles SAS url for the dataset.
661+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
662+
* @param {*} [options] Override http request option.
663+
* @throws {RequiredError}
664+
*/
665+
oswDatasetViewerPMTiles: async (tdei_dataset_id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
666+
// verify required parameter 'tdei_dataset_id' is not null or undefined
667+
if (tdei_dataset_id === null || tdei_dataset_id === undefined) {
668+
throw new RequiredError('tdei_dataset_id','Required parameter tdei_dataset_id was null or undefined when calling oswDatasetViewerPMTiles.');
669+
}
670+
const localVarPath = `/api/v1/osw/dataset-viewer/pm-tiles/{tdei_dataset_id}`
671+
.replace(`{${"tdei_dataset_id"}}`, encodeURIComponent(String(tdei_dataset_id)));
672+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
673+
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
674+
let baseOptions;
675+
if (configuration) {
676+
baseOptions = configuration.baseOptions;
677+
}
678+
const localVarRequestOptions :AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options};
679+
const localVarHeaderParameter = {} as any;
680+
const localVarQueryParameter = {} as any;
681+
682+
// authentication AuthorizationToken required
683+
// http bearer authentication required
684+
if (configuration && configuration.accessToken) {
685+
const accessToken = typeof configuration.accessToken === 'function'
686+
? await configuration.accessToken()
687+
: await configuration.accessToken;
688+
localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
689+
}
690+
691+
const query = new URLSearchParams(localVarUrlObj.search);
692+
for (const key in localVarQueryParameter) {
693+
query.set(key, localVarQueryParameter[key]);
694+
}
695+
for (const key in options.params) {
696+
query.set(key, options.params[key]);
697+
}
698+
localVarUrlObj.search = (new URLSearchParams(query)).toString();
699+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
700+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
701+
702+
return {
703+
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
704+
options: localVarRequestOptions,
705+
};
706+
},
658707
/**
659708
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
660709
* @summary OSW dataset conversion on demand
@@ -1360,6 +1409,20 @@ export const OSWApiFp = function(configuration?: Configuration) {
13601409
return axios.request(axiosRequestArgs);
13611410
};
13621411
},
1412+
/**
1413+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
1414+
* @summary Retrives the PM tiles SAS url for the dataset.
1415+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
1416+
* @param {*} [options] Override http request option.
1417+
* @throws {RequiredError}
1418+
*/
1419+
async oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<string>>> {
1420+
const localVarAxiosArgs = await OSWApiAxiosParamCreator(configuration).oswDatasetViewerPMTiles(tdei_dataset_id, options);
1421+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
1422+
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
1423+
return axios.request(axiosRequestArgs);
1424+
};
1425+
},
13631426
/**
13641427
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
13651428
* @summary OSW dataset conversion on demand
@@ -1604,6 +1667,16 @@ export const OSWApiFactory = function (configuration?: Configuration, basePath?:
16041667
async oswDatasetViewerFeedbacksMetadata(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<FeedbackMetadata>>> {
16051668
return OSWApiFp(configuration).oswDatasetViewerFeedbacksMetadata(options).then((request) => request(axios, basePath));
16061669
},
1670+
/**
1671+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
1672+
* @summary Retrives the PM tiles SAS url for the dataset.
1673+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
1674+
* @param {*} [options] Override http request option.
1675+
* @throws {RequiredError}
1676+
*/
1677+
async oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig): Promise<AxiosResponse<string>> {
1678+
return OSWApiFp(configuration).oswDatasetViewerPMTiles(tdei_dataset_id, options).then((request) => request(axios, basePath));
1679+
},
16071680
/**
16081681
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
16091682
* @summary OSW dataset conversion on demand
@@ -1827,6 +1900,17 @@ export class OSWApi extends BaseAPI {
18271900
public async oswDatasetViewerFeedbacksMetadata(options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<FeedbackMetadata>>> {
18281901
return OSWApiFp(this.configuration).oswDatasetViewerFeedbacksMetadata(options).then((request) => request(this.axios, this.basePath));
18291902
}
1903+
/**
1904+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
1905+
* @summary Retrives the PM tiles SAS url for the dataset.
1906+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
1907+
* @param {*} [options] Override http request option.
1908+
* @throws {RequiredError}
1909+
* @memberof OSWApi
1910+
*/
1911+
public async oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<string>> {
1912+
return OSWApiFp(this.configuration).oswDatasetViewerPMTiles(tdei_dataset_id, options).then((request) => request(this.axios, this.basePath));
1913+
}
18301914
/**
18311915
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
18321916
* @summary OSW dataset conversion on demand

dist/apis/oswapi.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,14 @@ export declare const OSWApiAxiosParamCreator: (configuration?: Configuration) =>
119119
* @throws {RequiredError}
120120
*/
121121
oswDatasetViewerFeedbacksMetadata: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
122+
/**
123+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
124+
* @summary Retrives the PM tiles SAS url for the dataset.
125+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
126+
* @param {*} [options] Override http request option.
127+
* @throws {RequiredError}
128+
*/
129+
oswDatasetViewerPMTiles: (tdei_dataset_id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
122130
/**
123131
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
124132
* @summary OSW dataset conversion on demand
@@ -292,6 +300,14 @@ export declare const OSWApiFp: (configuration?: Configuration) => {
292300
* @throws {RequiredError}
293301
*/
294302
oswDatasetViewerFeedbacksMetadata(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<FeedbackMetadata>>>>;
303+
/**
304+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
305+
* @summary Retrives the PM tiles SAS url for the dataset.
306+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
307+
* @param {*} [options] Override http request option.
308+
* @throws {RequiredError}
309+
*/
310+
oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<string>>>;
295311
/**
296312
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
297313
* @summary OSW dataset conversion on demand
@@ -465,6 +481,14 @@ export declare const OSWApiFactory: (configuration?: Configuration, basePath?: s
465481
* @throws {RequiredError}
466482
*/
467483
oswDatasetViewerFeedbacksMetadata(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<FeedbackMetadata>>>;
484+
/**
485+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
486+
* @summary Retrives the PM tiles SAS url for the dataset.
487+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
488+
* @param {*} [options] Override http request option.
489+
* @throws {RequiredError}
490+
*/
491+
oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig): Promise<AxiosResponse<string>>;
468492
/**
469493
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
470494
* @summary OSW dataset conversion on demand
@@ -650,6 +674,15 @@ export declare class OSWApi extends BaseAPI {
650674
* @memberof OSWApi
651675
*/
652676
oswDatasetViewerFeedbacksMetadata(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<FeedbackMetadata>>>;
677+
/**
678+
* Retrieves the PM tiles SAS url for a specified dataset identified by the tdei_dataset_id.
679+
* @summary Retrives the PM tiles SAS url for the dataset.
680+
* @param {string} tdei_dataset_id Dataset ID for retrieving the PM tiles SAS url.
681+
* @param {*} [options] Override http request option.
682+
* @throws {RequiredError}
683+
* @memberof OSWApi
684+
*/
685+
oswDatasetViewerPMTiles(tdei_dataset_id: string, options?: AxiosRequestConfig): Promise<AxiosResponse<string>>;
653686
/**
654687
* This request facilitates the conversion of an OSW dataset to OSM format, or vice versa. The response includes a `job_id` for tracking the request.To check the request status, refer to the location header in the response, which provides the URL for the status API endpoint.
655688
* @summary OSW dataset conversion on demand

0 commit comments

Comments
 (0)