@gooday_corp/gooday-api-client 1.1.12-alpha-1 → 1.1.12-beta-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/api.ts +44 -9
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -191,10 +191,10 @@ export interface BusinessEntity {
|
|
|
191
191
|
'businessCountry'?: string;
|
|
192
192
|
/**
|
|
193
193
|
* Business Venue
|
|
194
|
-
* @type {Array<
|
|
194
|
+
* @type {Array<BusinessVenueDTO>}
|
|
195
195
|
* @memberof BusinessEntity
|
|
196
196
|
*/
|
|
197
|
-
'venues'?: Array<
|
|
197
|
+
'venues'?: Array<BusinessVenueDTO>;
|
|
198
198
|
/**
|
|
199
199
|
* Business Type
|
|
200
200
|
* @type {string}
|
|
@@ -883,6 +883,12 @@ export interface LocationDTO {
|
|
|
883
883
|
* @memberof LocationDTO
|
|
884
884
|
*/
|
|
885
885
|
'coordinates': Array<number>;
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {LocationMetaDTO}
|
|
889
|
+
* @memberof LocationDTO
|
|
890
|
+
*/
|
|
891
|
+
'meta': LocationMetaDTO;
|
|
886
892
|
}
|
|
887
893
|
|
|
888
894
|
export const LocationDTOTypeEnum = {
|
|
@@ -910,6 +916,25 @@ export interface LocationEntityResponse {
|
|
|
910
916
|
*/
|
|
911
917
|
'data': Array<Places>;
|
|
912
918
|
}
|
|
919
|
+
/**
|
|
920
|
+
*
|
|
921
|
+
* @export
|
|
922
|
+
* @interface LocationMetaDTO
|
|
923
|
+
*/
|
|
924
|
+
export interface LocationMetaDTO {
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @type {string}
|
|
928
|
+
* @memberof LocationMetaDTO
|
|
929
|
+
*/
|
|
930
|
+
'label'?: string;
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof LocationMetaDTO
|
|
935
|
+
*/
|
|
936
|
+
'shortLabel': string;
|
|
937
|
+
}
|
|
913
938
|
/**
|
|
914
939
|
*
|
|
915
940
|
* @export
|
|
@@ -3675,12 +3700,15 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3675
3700
|
/**
|
|
3676
3701
|
*
|
|
3677
3702
|
* @param {string} place
|
|
3703
|
+
* @param {string} label
|
|
3678
3704
|
* @param {*} [options] Override http request option.
|
|
3679
3705
|
* @throws {RequiredError}
|
|
3680
3706
|
*/
|
|
3681
|
-
locationControllerFetchCoordinates: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3707
|
+
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3682
3708
|
// verify required parameter 'place' is not null or undefined
|
|
3683
3709
|
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
3710
|
+
// verify required parameter 'label' is not null or undefined
|
|
3711
|
+
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
3684
3712
|
const localVarPath = `/v1/locations-coordinates`;
|
|
3685
3713
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3686
3714
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3697,6 +3725,10 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3697
3725
|
localVarQueryParameter['place'] = place;
|
|
3698
3726
|
}
|
|
3699
3727
|
|
|
3728
|
+
if (label !== undefined) {
|
|
3729
|
+
localVarQueryParameter['label'] = label;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3700
3732
|
|
|
3701
3733
|
|
|
3702
3734
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3757,11 +3789,12 @@ export const LocationApiFp = function(configuration?: Configuration) {
|
|
|
3757
3789
|
/**
|
|
3758
3790
|
*
|
|
3759
3791
|
* @param {string} place
|
|
3792
|
+
* @param {string} label
|
|
3760
3793
|
* @param {*} [options] Override http request option.
|
|
3761
3794
|
* @throws {RequiredError}
|
|
3762
3795
|
*/
|
|
3763
|
-
async locationControllerFetchCoordinates(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
3764
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, options);
|
|
3796
|
+
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
3797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
3765
3798
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3766
3799
|
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
3767
3800
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3791,11 +3824,12 @@ export const LocationApiFactory = function (configuration?: Configuration, baseP
|
|
|
3791
3824
|
/**
|
|
3792
3825
|
*
|
|
3793
3826
|
* @param {string} place
|
|
3827
|
+
* @param {string} label
|
|
3794
3828
|
* @param {*} [options] Override http request option.
|
|
3795
3829
|
* @throws {RequiredError}
|
|
3796
3830
|
*/
|
|
3797
|
-
locationControllerFetchCoordinates(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
3798
|
-
return localVarFp.locationControllerFetchCoordinates(place, options).then((request) => request(axios, basePath));
|
|
3831
|
+
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
3832
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
3799
3833
|
},
|
|
3800
3834
|
/**
|
|
3801
3835
|
*
|
|
@@ -3819,12 +3853,13 @@ export class LocationApi extends BaseAPI {
|
|
|
3819
3853
|
/**
|
|
3820
3854
|
*
|
|
3821
3855
|
* @param {string} place
|
|
3856
|
+
* @param {string} label
|
|
3822
3857
|
* @param {*} [options] Override http request option.
|
|
3823
3858
|
* @throws {RequiredError}
|
|
3824
3859
|
* @memberof LocationApi
|
|
3825
3860
|
*/
|
|
3826
|
-
public locationControllerFetchCoordinates(place: string, options?: RawAxiosRequestConfig) {
|
|
3827
|
-
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, options).then((request) => request(this.axios, this.basePath));
|
|
3861
|
+
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
3862
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
3828
3863
|
}
|
|
3829
3864
|
|
|
3830
3865
|
/**
|