@gooday_corp/gooday-api-client 1.3.28 → 1.3.29
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 -77
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -224,25 +224,6 @@ export interface AddDevicePayload {
|
|
|
224
224
|
*/
|
|
225
225
|
'version': string;
|
|
226
226
|
}
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
* @export
|
|
230
|
-
* @interface AppleClientResponseDTO
|
|
231
|
-
*/
|
|
232
|
-
export interface AppleClientResponseDTO {
|
|
233
|
-
/**
|
|
234
|
-
* statusCode
|
|
235
|
-
* @type {number}
|
|
236
|
-
* @memberof AppleClientResponseDTO
|
|
237
|
-
*/
|
|
238
|
-
'statusCode': number;
|
|
239
|
-
/**
|
|
240
|
-
*
|
|
241
|
-
* @type {string}
|
|
242
|
-
* @memberof AppleClientResponseDTO
|
|
243
|
-
*/
|
|
244
|
-
'clientSecret': string;
|
|
245
|
-
}
|
|
246
227
|
/**
|
|
247
228
|
*
|
|
248
229
|
* @export
|
|
@@ -16933,35 +16914,6 @@ export type NotificationControllerGetNotificationCategoryEnum = typeof Notificat
|
|
|
16933
16914
|
*/
|
|
16934
16915
|
export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
16935
16916
|
return {
|
|
16936
|
-
/**
|
|
16937
|
-
*
|
|
16938
|
-
* @param {*} [options] Override http request option.
|
|
16939
|
-
* @throws {RequiredError}
|
|
16940
|
-
*/
|
|
16941
|
-
oAuthControllerAppleClient: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16942
|
-
const localVarPath = `/v1/oauth/apple/client`;
|
|
16943
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16944
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16945
|
-
let baseOptions;
|
|
16946
|
-
if (configuration) {
|
|
16947
|
-
baseOptions = configuration.baseOptions;
|
|
16948
|
-
}
|
|
16949
|
-
|
|
16950
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16951
|
-
const localVarHeaderParameter = {} as any;
|
|
16952
|
-
const localVarQueryParameter = {} as any;
|
|
16953
|
-
|
|
16954
|
-
|
|
16955
|
-
|
|
16956
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16957
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16958
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16959
|
-
|
|
16960
|
-
return {
|
|
16961
|
-
url: toPathString(localVarUrlObj),
|
|
16962
|
-
options: localVarRequestOptions,
|
|
16963
|
-
};
|
|
16964
|
-
},
|
|
16965
16917
|
/**
|
|
16966
16918
|
*
|
|
16967
16919
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -17147,17 +17099,6 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17147
17099
|
export const OAuthApiFp = function(configuration?: Configuration) {
|
|
17148
17100
|
const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
|
|
17149
17101
|
return {
|
|
17150
|
-
/**
|
|
17151
|
-
*
|
|
17152
|
-
* @param {*} [options] Override http request option.
|
|
17153
|
-
* @throws {RequiredError}
|
|
17154
|
-
*/
|
|
17155
|
-
async oAuthControllerAppleClient(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppleClientResponseDTO>> {
|
|
17156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.oAuthControllerAppleClient(options);
|
|
17157
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17158
|
-
const localVarOperationServerBasePath = operationServerMap['OAuthApi.oAuthControllerAppleClient']?.[localVarOperationServerIndex]?.url;
|
|
17159
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17160
|
-
},
|
|
17161
17102
|
/**
|
|
17162
17103
|
*
|
|
17163
17104
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -17228,14 +17169,6 @@ export const OAuthApiFp = function(configuration?: Configuration) {
|
|
|
17228
17169
|
export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17229
17170
|
const localVarFp = OAuthApiFp(configuration)
|
|
17230
17171
|
return {
|
|
17231
|
-
/**
|
|
17232
|
-
*
|
|
17233
|
-
* @param {*} [options] Override http request option.
|
|
17234
|
-
* @throws {RequiredError}
|
|
17235
|
-
*/
|
|
17236
|
-
oAuthControllerAppleClient(options?: RawAxiosRequestConfig): AxiosPromise<AppleClientResponseDTO> {
|
|
17237
|
-
return localVarFp.oAuthControllerAppleClient(options).then((request) => request(axios, basePath));
|
|
17238
|
-
},
|
|
17239
17172
|
/**
|
|
17240
17173
|
*
|
|
17241
17174
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|
|
@@ -17291,16 +17224,6 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
|
|
|
17291
17224
|
* @extends {BaseAPI}
|
|
17292
17225
|
*/
|
|
17293
17226
|
export class OAuthApi extends BaseAPI {
|
|
17294
|
-
/**
|
|
17295
|
-
*
|
|
17296
|
-
* @param {*} [options] Override http request option.
|
|
17297
|
-
* @throws {RequiredError}
|
|
17298
|
-
* @memberof OAuthApi
|
|
17299
|
-
*/
|
|
17300
|
-
public oAuthControllerAppleClient(options?: RawAxiosRequestConfig) {
|
|
17301
|
-
return OAuthApiFp(this.configuration).oAuthControllerAppleClient(options).then((request) => request(this.axios, this.basePath));
|
|
17302
|
-
}
|
|
17303
|
-
|
|
17304
17227
|
/**
|
|
17305
17228
|
*
|
|
17306
17229
|
* @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
|