@gooday_corp/gooday-api-client 1.2.110 → 1.2.113
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 +62 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -15911,6 +15911,39 @@ export class OAuthApi extends BaseAPI {
|
|
|
15911
15911
|
*/
|
|
15912
15912
|
export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15913
15913
|
return {
|
|
15914
|
+
/**
|
|
15915
|
+
*
|
|
15916
|
+
* @param {*} [options] Override http request option.
|
|
15917
|
+
* @throws {RequiredError}
|
|
15918
|
+
*/
|
|
15919
|
+
paymentControllerConnectAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15920
|
+
const localVarPath = `/v1/payment/connect-account`;
|
|
15921
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15922
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15923
|
+
let baseOptions;
|
|
15924
|
+
if (configuration) {
|
|
15925
|
+
baseOptions = configuration.baseOptions;
|
|
15926
|
+
}
|
|
15927
|
+
|
|
15928
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15929
|
+
const localVarHeaderParameter = {} as any;
|
|
15930
|
+
const localVarQueryParameter = {} as any;
|
|
15931
|
+
|
|
15932
|
+
// authentication bearer required
|
|
15933
|
+
// http bearer authentication required
|
|
15934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15935
|
+
|
|
15936
|
+
|
|
15937
|
+
|
|
15938
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15939
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15940
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15941
|
+
|
|
15942
|
+
return {
|
|
15943
|
+
url: toPathString(localVarUrlObj),
|
|
15944
|
+
options: localVarRequestOptions,
|
|
15945
|
+
};
|
|
15946
|
+
},
|
|
15914
15947
|
/**
|
|
15915
15948
|
*
|
|
15916
15949
|
* @param {*} [options] Override http request option.
|
|
@@ -16261,6 +16294,17 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
16261
16294
|
export const PlansApiFp = function(configuration?: Configuration) {
|
|
16262
16295
|
const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
|
|
16263
16296
|
return {
|
|
16297
|
+
/**
|
|
16298
|
+
*
|
|
16299
|
+
* @param {*} [options] Override http request option.
|
|
16300
|
+
* @throws {RequiredError}
|
|
16301
|
+
*/
|
|
16302
|
+
async paymentControllerConnectAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessConnectedAccount>> {
|
|
16303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerConnectAccount(options);
|
|
16304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16305
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerConnectAccount']?.[localVarOperationServerIndex]?.url;
|
|
16306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16307
|
+
},
|
|
16264
16308
|
/**
|
|
16265
16309
|
*
|
|
16266
16310
|
* @param {*} [options] Override http request option.
|
|
@@ -16386,6 +16430,14 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
16386
16430
|
export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16387
16431
|
const localVarFp = PlansApiFp(configuration)
|
|
16388
16432
|
return {
|
|
16433
|
+
/**
|
|
16434
|
+
*
|
|
16435
|
+
* @param {*} [options] Override http request option.
|
|
16436
|
+
* @throws {RequiredError}
|
|
16437
|
+
*/
|
|
16438
|
+
paymentControllerConnectAccount(options?: RawAxiosRequestConfig): AxiosPromise<BusinessConnectedAccount> {
|
|
16439
|
+
return localVarFp.paymentControllerConnectAccount(options).then((request) => request(axios, basePath));
|
|
16440
|
+
},
|
|
16389
16441
|
/**
|
|
16390
16442
|
*
|
|
16391
16443
|
* @param {*} [options] Override http request option.
|
|
@@ -16481,6 +16533,16 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
16481
16533
|
* @extends {BaseAPI}
|
|
16482
16534
|
*/
|
|
16483
16535
|
export class PlansApi extends BaseAPI {
|
|
16536
|
+
/**
|
|
16537
|
+
*
|
|
16538
|
+
* @param {*} [options] Override http request option.
|
|
16539
|
+
* @throws {RequiredError}
|
|
16540
|
+
* @memberof PlansApi
|
|
16541
|
+
*/
|
|
16542
|
+
public paymentControllerConnectAccount(options?: RawAxiosRequestConfig) {
|
|
16543
|
+
return PlansApiFp(this.configuration).paymentControllerConnectAccount(options).then((request) => request(this.axios, this.basePath));
|
|
16544
|
+
}
|
|
16545
|
+
|
|
16484
16546
|
/**
|
|
16485
16547
|
*
|
|
16486
16548
|
* @param {*} [options] Override http request option.
|