@gooday_corp/gooday-api-client 1.2.69 → 1.2.70
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 +96 -21
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4776,6 +4776,25 @@ export interface PlanUpsertPayloadDTO {
|
|
|
4776
4776
|
*/
|
|
4777
4777
|
'plan': string;
|
|
4778
4778
|
}
|
|
4779
|
+
/**
|
|
4780
|
+
*
|
|
4781
|
+
* @export
|
|
4782
|
+
* @interface PrepaidServiceCategoriesDTO
|
|
4783
|
+
*/
|
|
4784
|
+
export interface PrepaidServiceCategoriesDTO {
|
|
4785
|
+
/**
|
|
4786
|
+
*
|
|
4787
|
+
* @type {Array<string>}
|
|
4788
|
+
* @memberof PrepaidServiceCategoriesDTO
|
|
4789
|
+
*/
|
|
4790
|
+
'data': Array<string>;
|
|
4791
|
+
/**
|
|
4792
|
+
* statusCode
|
|
4793
|
+
* @type {number}
|
|
4794
|
+
* @memberof PrepaidServiceCategoriesDTO
|
|
4795
|
+
*/
|
|
4796
|
+
'statusCode': number;
|
|
4797
|
+
}
|
|
4779
4798
|
/**
|
|
4780
4799
|
*
|
|
4781
4800
|
* @export
|
|
@@ -4814,11 +4833,11 @@ export interface PrepaidServiceEntity {
|
|
|
4814
4833
|
*/
|
|
4815
4834
|
'name': string;
|
|
4816
4835
|
/**
|
|
4817
|
-
*
|
|
4836
|
+
*
|
|
4818
4837
|
* @type {string}
|
|
4819
4838
|
* @memberof PrepaidServiceEntity
|
|
4820
4839
|
*/
|
|
4821
|
-
'category':
|
|
4840
|
+
'category': string;
|
|
4822
4841
|
/**
|
|
4823
4842
|
*
|
|
4824
4843
|
* @type {string}
|
|
@@ -4916,15 +4935,6 @@ export interface PrepaidServiceEntity {
|
|
|
4916
4935
|
*/
|
|
4917
4936
|
'discount': Array<string>;
|
|
4918
4937
|
}
|
|
4919
|
-
|
|
4920
|
-
export const PrepaidServiceEntityCategoryEnum = {
|
|
4921
|
-
Beginner: 'BEGINNER',
|
|
4922
|
-
Intermediate: 'INTERMEDIATE',
|
|
4923
|
-
Advanced: 'ADVANCED'
|
|
4924
|
-
} as const;
|
|
4925
|
-
|
|
4926
|
-
export type PrepaidServiceEntityCategoryEnum = typeof PrepaidServiceEntityCategoryEnum[keyof typeof PrepaidServiceEntityCategoryEnum];
|
|
4927
|
-
|
|
4928
4938
|
/**
|
|
4929
4939
|
*
|
|
4930
4940
|
* @export
|
|
@@ -4973,7 +4983,7 @@ export interface PrepaidServicePayloadDTO {
|
|
|
4973
4983
|
* @type {string}
|
|
4974
4984
|
* @memberof PrepaidServicePayloadDTO
|
|
4975
4985
|
*/
|
|
4976
|
-
'category':
|
|
4986
|
+
'category': string;
|
|
4977
4987
|
/**
|
|
4978
4988
|
*
|
|
4979
4989
|
* @type {string}
|
|
@@ -5052,16 +5062,13 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5052
5062
|
* @memberof PrepaidServicePayloadDTO
|
|
5053
5063
|
*/
|
|
5054
5064
|
'email': string;
|
|
5065
|
+
/**
|
|
5066
|
+
*
|
|
5067
|
+
* @type {ServiceEndRepeat}
|
|
5068
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5069
|
+
*/
|
|
5070
|
+
'repeat': ServiceEndRepeat;
|
|
5055
5071
|
}
|
|
5056
|
-
|
|
5057
|
-
export const PrepaidServicePayloadDTOCategoryEnum = {
|
|
5058
|
-
Beginner: 'BEGINNER',
|
|
5059
|
-
Intermediate: 'INTERMEDIATE',
|
|
5060
|
-
Advanced: 'ADVANCED'
|
|
5061
|
-
} as const;
|
|
5062
|
-
|
|
5063
|
-
export type PrepaidServicePayloadDTOCategoryEnum = typeof PrepaidServicePayloadDTOCategoryEnum[keyof typeof PrepaidServicePayloadDTOCategoryEnum];
|
|
5064
|
-
|
|
5065
5072
|
/**
|
|
5066
5073
|
*
|
|
5067
5074
|
* @export
|
|
@@ -7078,6 +7085,12 @@ export interface WhatsOnEntity {
|
|
|
7078
7085
|
* @memberof WhatsOnEntity
|
|
7079
7086
|
*/
|
|
7080
7087
|
'discount': Array<string>;
|
|
7088
|
+
/**
|
|
7089
|
+
*
|
|
7090
|
+
* @type {number}
|
|
7091
|
+
* @memberof WhatsOnEntity
|
|
7092
|
+
*/
|
|
7093
|
+
'favorite'?: number;
|
|
7081
7094
|
}
|
|
7082
7095
|
/**
|
|
7083
7096
|
*
|
|
@@ -15577,6 +15590,39 @@ export class PlansApi extends BaseAPI {
|
|
|
15577
15590
|
*/
|
|
15578
15591
|
export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15579
15592
|
return {
|
|
15593
|
+
/**
|
|
15594
|
+
*
|
|
15595
|
+
* @param {*} [options] Override http request option.
|
|
15596
|
+
* @throws {RequiredError}
|
|
15597
|
+
*/
|
|
15598
|
+
prepaidServiceControllerCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15599
|
+
const localVarPath = `/v1/prepaid-service/categories`;
|
|
15600
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15602
|
+
let baseOptions;
|
|
15603
|
+
if (configuration) {
|
|
15604
|
+
baseOptions = configuration.baseOptions;
|
|
15605
|
+
}
|
|
15606
|
+
|
|
15607
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15608
|
+
const localVarHeaderParameter = {} as any;
|
|
15609
|
+
const localVarQueryParameter = {} as any;
|
|
15610
|
+
|
|
15611
|
+
// authentication bearer required
|
|
15612
|
+
// http bearer authentication required
|
|
15613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15614
|
+
|
|
15615
|
+
|
|
15616
|
+
|
|
15617
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15618
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15619
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15620
|
+
|
|
15621
|
+
return {
|
|
15622
|
+
url: toPathString(localVarUrlObj),
|
|
15623
|
+
options: localVarRequestOptions,
|
|
15624
|
+
};
|
|
15625
|
+
},
|
|
15580
15626
|
/**
|
|
15581
15627
|
*
|
|
15582
15628
|
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
@@ -15745,6 +15791,17 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
15745
15791
|
export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
15746
15792
|
const localVarAxiosParamCreator = PrepaidServiceApiAxiosParamCreator(configuration)
|
|
15747
15793
|
return {
|
|
15794
|
+
/**
|
|
15795
|
+
*
|
|
15796
|
+
* @param {*} [options] Override http request option.
|
|
15797
|
+
* @throws {RequiredError}
|
|
15798
|
+
*/
|
|
15799
|
+
async prepaidServiceControllerCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceCategoriesDTO>> {
|
|
15800
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerCategories(options);
|
|
15801
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15802
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerCategories']?.[localVarOperationServerIndex]?.url;
|
|
15803
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15804
|
+
},
|
|
15748
15805
|
/**
|
|
15749
15806
|
*
|
|
15750
15807
|
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
@@ -15804,6 +15861,14 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
15804
15861
|
export const PrepaidServiceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15805
15862
|
const localVarFp = PrepaidServiceApiFp(configuration)
|
|
15806
15863
|
return {
|
|
15864
|
+
/**
|
|
15865
|
+
*
|
|
15866
|
+
* @param {*} [options] Override http request option.
|
|
15867
|
+
* @throws {RequiredError}
|
|
15868
|
+
*/
|
|
15869
|
+
prepaidServiceControllerCategories(options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceCategoriesDTO> {
|
|
15870
|
+
return localVarFp.prepaidServiceControllerCategories(options).then((request) => request(axios, basePath));
|
|
15871
|
+
},
|
|
15807
15872
|
/**
|
|
15808
15873
|
*
|
|
15809
15874
|
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
@@ -15851,6 +15916,16 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
15851
15916
|
* @extends {BaseAPI}
|
|
15852
15917
|
*/
|
|
15853
15918
|
export class PrepaidServiceApi extends BaseAPI {
|
|
15919
|
+
/**
|
|
15920
|
+
*
|
|
15921
|
+
* @param {*} [options] Override http request option.
|
|
15922
|
+
* @throws {RequiredError}
|
|
15923
|
+
* @memberof PrepaidServiceApi
|
|
15924
|
+
*/
|
|
15925
|
+
public prepaidServiceControllerCategories(options?: RawAxiosRequestConfig) {
|
|
15926
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerCategories(options).then((request) => request(this.axios, this.basePath));
|
|
15927
|
+
}
|
|
15928
|
+
|
|
15854
15929
|
/**
|
|
15855
15930
|
*
|
|
15856
15931
|
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|