@gooday_corp/gooday-api-client 1.3.27 → 1.3.28

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.
Files changed (2) hide show
  1. package/api.ts +77 -0
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -224,6 +224,25 @@ 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
+ }
227
246
  /**
228
247
  *
229
248
  * @export
@@ -16914,6 +16933,35 @@ export type NotificationControllerGetNotificationCategoryEnum = typeof Notificat
16914
16933
  */
16915
16934
  export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
16916
16935
  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
+ },
16917
16965
  /**
16918
16966
  *
16919
16967
  * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
@@ -17099,6 +17147,17 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
17099
17147
  export const OAuthApiFp = function(configuration?: Configuration) {
17100
17148
  const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
17101
17149
  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
+ },
17102
17161
  /**
17103
17162
  *
17104
17163
  * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
@@ -17169,6 +17228,14 @@ export const OAuthApiFp = function(configuration?: Configuration) {
17169
17228
  export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
17170
17229
  const localVarFp = OAuthApiFp(configuration)
17171
17230
  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
+ },
17172
17239
  /**
17173
17240
  *
17174
17241
  * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
@@ -17224,6 +17291,16 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
17224
17291
  * @extends {BaseAPI}
17225
17292
  */
17226
17293
  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
+
17227
17304
  /**
17228
17305
  *
17229
17306
  * @param {AppleVerificationPayloadDTO} appleVerificationPayloadDTO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.27",
3
+ "version": "1.3.28",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},