@gooday_corp/gooday-api-client 1.1.45 → 1.1.47
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 +67 -6
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3859,12 +3859,6 @@ export interface UserWaitingListPayloadDTO {
|
|
|
3859
3859
|
* @memberof UserWaitingListPayloadDTO
|
|
3860
3860
|
*/
|
|
3861
3861
|
'lastName': string;
|
|
3862
|
-
/**
|
|
3863
|
-
* User id which store the info
|
|
3864
|
-
* @type {string}
|
|
3865
|
-
* @memberof UserWaitingListPayloadDTO
|
|
3866
|
-
*/
|
|
3867
|
-
'user'?: string;
|
|
3868
3862
|
/**
|
|
3869
3863
|
* Name of business which you wish to join
|
|
3870
3864
|
* @type {string}
|
|
@@ -9027,6 +9021,41 @@ export type NotificationControllerGetNotificationCategoryEnum = typeof Notificat
|
|
|
9027
9021
|
*/
|
|
9028
9022
|
export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
9029
9023
|
return {
|
|
9024
|
+
/**
|
|
9025
|
+
*
|
|
9026
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
9027
|
+
* @param {*} [options] Override http request option.
|
|
9028
|
+
* @throws {RequiredError}
|
|
9029
|
+
*/
|
|
9030
|
+
oAuthControllerValidateAppleBusinessToken: async (appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9031
|
+
// verify required parameter 'appleVerificationPayloadDTO' is not null or undefined
|
|
9032
|
+
assertParamExists('oAuthControllerValidateAppleBusinessToken', 'appleVerificationPayloadDTO', appleVerificationPayloadDTO)
|
|
9033
|
+
const localVarPath = `/v1/oauth/apple/business`;
|
|
9034
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9035
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9036
|
+
let baseOptions;
|
|
9037
|
+
if (configuration) {
|
|
9038
|
+
baseOptions = configuration.baseOptions;
|
|
9039
|
+
}
|
|
9040
|
+
|
|
9041
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9042
|
+
const localVarHeaderParameter = {} as any;
|
|
9043
|
+
const localVarQueryParameter = {} as any;
|
|
9044
|
+
|
|
9045
|
+
|
|
9046
|
+
|
|
9047
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9048
|
+
|
|
9049
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9050
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9051
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9052
|
+
localVarRequestOptions.data = serializeDataIfNeeded(appleVerificationPayloadDTO, localVarRequestOptions, configuration)
|
|
9053
|
+
|
|
9054
|
+
return {
|
|
9055
|
+
url: toPathString(localVarUrlObj),
|
|
9056
|
+
options: localVarRequestOptions,
|
|
9057
|
+
};
|
|
9058
|
+
},
|
|
9030
9059
|
/**
|
|
9031
9060
|
*
|
|
9032
9061
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -9142,6 +9171,18 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9142
9171
|
export const OAuthApiFp = function(configuration?: Configuration) {
|
|
9143
9172
|
const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
|
|
9144
9173
|
return {
|
|
9174
|
+
/**
|
|
9175
|
+
*
|
|
9176
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
9177
|
+
* @param {*} [options] Override http request option.
|
|
9178
|
+
* @throws {RequiredError}
|
|
9179
|
+
*/
|
|
9180
|
+
async oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppleOAuthResponseDTO>> {
|
|
9181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO, options);
|
|
9182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9183
|
+
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerValidateAppleBusinessToken']?.[localVarOperationServerIndex]?.url;
|
|
9184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9185
|
+
},
|
|
9145
9186
|
/**
|
|
9146
9187
|
*
|
|
9147
9188
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -9188,6 +9229,15 @@ export const OAuthApiFp = function(configuration?: Configuration) {
|
|
|
9188
9229
|
export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9189
9230
|
const localVarFp = OAuthApiFp(configuration)
|
|
9190
9231
|
return {
|
|
9232
|
+
/**
|
|
9233
|
+
*
|
|
9234
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
9235
|
+
* @param {*} [options] Override http request option.
|
|
9236
|
+
* @throws {RequiredError}
|
|
9237
|
+
*/
|
|
9238
|
+
oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<AppleOAuthResponseDTO> {
|
|
9239
|
+
return localVarFp.oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9240
|
+
},
|
|
9191
9241
|
/**
|
|
9192
9242
|
*
|
|
9193
9243
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -9225,6 +9275,17 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
|
|
|
9225
9275
|
* @extends {BaseAPI}
|
|
9226
9276
|
*/
|
|
9227
9277
|
export class OAuthApi extends BaseAPI {
|
|
9278
|
+
/**
|
|
9279
|
+
*
|
|
9280
|
+
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
9281
|
+
* @param {*} [options] Override http request option.
|
|
9282
|
+
* @throws {RequiredError}
|
|
9283
|
+
* @memberof OAuthApi
|
|
9284
|
+
*/
|
|
9285
|
+
public oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO: AppleVerificationPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9286
|
+
return OAuthApiFp(this.configuration).oAuthControllerValidateAppleBusinessToken(appleVerificationPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9287
|
+
}
|
|
9288
|
+
|
|
9228
9289
|
/**
|
|
9229
9290
|
*
|
|
9230
9291
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|