@gooday_corp/gooday-api-client 1.1.61-beta → 1.1.62
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 +0 -58
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -9677,35 +9677,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9677
9677
|
|
|
9678
9678
|
|
|
9679
9679
|
|
|
9680
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9681
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9682
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9683
|
-
|
|
9684
|
-
return {
|
|
9685
|
-
url: toPathString(localVarUrlObj),
|
|
9686
|
-
options: localVarRequestOptions,
|
|
9687
|
-
};
|
|
9688
|
-
},
|
|
9689
|
-
/**
|
|
9690
|
-
*
|
|
9691
|
-
* @param {*} [options] Override http request option.
|
|
9692
|
-
* @throws {RequiredError}
|
|
9693
|
-
*/
|
|
9694
|
-
paymentControllerInAppPurchase: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9695
|
-
const localVarPath = `/v1/payment/in-app-purchase`;
|
|
9696
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9698
|
-
let baseOptions;
|
|
9699
|
-
if (configuration) {
|
|
9700
|
-
baseOptions = configuration.baseOptions;
|
|
9701
|
-
}
|
|
9702
|
-
|
|
9703
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9704
|
-
const localVarHeaderParameter = {} as any;
|
|
9705
|
-
const localVarQueryParameter = {} as any;
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
9680
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9710
9681
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9711
9682
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9833,17 +9804,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
9833
9804
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
9834
9805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9835
9806
|
},
|
|
9836
|
-
/**
|
|
9837
|
-
*
|
|
9838
|
-
* @param {*} [options] Override http request option.
|
|
9839
|
-
* @throws {RequiredError}
|
|
9840
|
-
*/
|
|
9841
|
-
async paymentControllerInAppPurchase(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9842
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerInAppPurchase(options);
|
|
9843
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9844
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerInAppPurchase']?.[localVarOperationServerIndex]?.url;
|
|
9845
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9846
|
-
},
|
|
9847
9807
|
/**
|
|
9848
9808
|
*
|
|
9849
9809
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
@@ -9903,14 +9863,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
9903
9863
|
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
9904
9864
|
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
9905
9865
|
},
|
|
9906
|
-
/**
|
|
9907
|
-
*
|
|
9908
|
-
* @param {*} [options] Override http request option.
|
|
9909
|
-
* @throws {RequiredError}
|
|
9910
|
-
*/
|
|
9911
|
-
paymentControllerInAppPurchase(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9912
|
-
return localVarFp.paymentControllerInAppPurchase(options).then((request) => request(axios, basePath));
|
|
9913
|
-
},
|
|
9914
9866
|
/**
|
|
9915
9867
|
*
|
|
9916
9868
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
@@ -9970,16 +9922,6 @@ export class PlansApi extends BaseAPI {
|
|
|
9970
9922
|
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
9971
9923
|
}
|
|
9972
9924
|
|
|
9973
|
-
/**
|
|
9974
|
-
*
|
|
9975
|
-
* @param {*} [options] Override http request option.
|
|
9976
|
-
* @throws {RequiredError}
|
|
9977
|
-
* @memberof PlansApi
|
|
9978
|
-
*/
|
|
9979
|
-
public paymentControllerInAppPurchase(options?: RawAxiosRequestConfig) {
|
|
9980
|
-
return PlansApiFp(this.configuration).paymentControllerInAppPurchase(options).then((request) => request(this.axios, this.basePath));
|
|
9981
|
-
}
|
|
9982
|
-
|
|
9983
9925
|
/**
|
|
9984
9926
|
*
|
|
9985
9927
|
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|