@gooday_corp/gooday-api-client 1.1.61 → 1.1.62-alpha
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 +76 -12
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2310,13 +2310,13 @@ export interface ListTaskListPayload {
|
|
|
2310
2310
|
* @type {string}
|
|
2311
2311
|
* @memberof ListTaskListPayload
|
|
2312
2312
|
*/
|
|
2313
|
-
'start'
|
|
2313
|
+
'start'?: string;
|
|
2314
2314
|
/**
|
|
2315
2315
|
* End date
|
|
2316
2316
|
* @type {string}
|
|
2317
2317
|
* @memberof ListTaskListPayload
|
|
2318
2318
|
*/
|
|
2319
|
-
'end'
|
|
2319
|
+
'end'?: string;
|
|
2320
2320
|
}
|
|
2321
2321
|
/**
|
|
2322
2322
|
*
|
|
@@ -9725,6 +9725,35 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9725
9725
|
options: localVarRequestOptions,
|
|
9726
9726
|
};
|
|
9727
9727
|
},
|
|
9728
|
+
/**
|
|
9729
|
+
*
|
|
9730
|
+
* @param {*} [options] Override http request option.
|
|
9731
|
+
* @throws {RequiredError}
|
|
9732
|
+
*/
|
|
9733
|
+
paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9734
|
+
const localVarPath = `/v1/payment/revenuecat-webhook`;
|
|
9735
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9736
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9737
|
+
let baseOptions;
|
|
9738
|
+
if (configuration) {
|
|
9739
|
+
baseOptions = configuration.baseOptions;
|
|
9740
|
+
}
|
|
9741
|
+
|
|
9742
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
9743
|
+
const localVarHeaderParameter = {} as any;
|
|
9744
|
+
const localVarQueryParameter = {} as any;
|
|
9745
|
+
|
|
9746
|
+
|
|
9747
|
+
|
|
9748
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9749
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9750
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9751
|
+
|
|
9752
|
+
return {
|
|
9753
|
+
url: toPathString(localVarUrlObj),
|
|
9754
|
+
options: localVarRequestOptions,
|
|
9755
|
+
};
|
|
9756
|
+
},
|
|
9728
9757
|
/**
|
|
9729
9758
|
*
|
|
9730
9759
|
* @param {string} stripeSignature
|
|
@@ -9816,6 +9845,17 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
9816
9845
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
|
|
9817
9846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9818
9847
|
},
|
|
9848
|
+
/**
|
|
9849
|
+
*
|
|
9850
|
+
* @param {*} [options] Override http request option.
|
|
9851
|
+
* @throws {RequiredError}
|
|
9852
|
+
*/
|
|
9853
|
+
async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
|
|
9855
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9856
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
9857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9858
|
+
},
|
|
9819
9859
|
/**
|
|
9820
9860
|
*
|
|
9821
9861
|
* @param {string} stripeSignature
|
|
@@ -9872,6 +9912,14 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
9872
9912
|
paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
|
|
9873
9913
|
return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9874
9914
|
},
|
|
9915
|
+
/**
|
|
9916
|
+
*
|
|
9917
|
+
* @param {*} [options] Override http request option.
|
|
9918
|
+
* @throws {RequiredError}
|
|
9919
|
+
*/
|
|
9920
|
+
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9921
|
+
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
9922
|
+
},
|
|
9875
9923
|
/**
|
|
9876
9924
|
*
|
|
9877
9925
|
* @param {string} stripeSignature
|
|
@@ -9933,6 +9981,16 @@ export class PlansApi extends BaseAPI {
|
|
|
9933
9981
|
return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9934
9982
|
}
|
|
9935
9983
|
|
|
9984
|
+
/**
|
|
9985
|
+
*
|
|
9986
|
+
* @param {*} [options] Override http request option.
|
|
9987
|
+
* @throws {RequiredError}
|
|
9988
|
+
* @memberof PlansApi
|
|
9989
|
+
*/
|
|
9990
|
+
public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
|
|
9991
|
+
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
9992
|
+
}
|
|
9993
|
+
|
|
9936
9994
|
/**
|
|
9937
9995
|
*
|
|
9938
9996
|
* @param {string} stripeSignature
|
|
@@ -11322,10 +11380,13 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11322
11380
|
},
|
|
11323
11381
|
/**
|
|
11324
11382
|
*
|
|
11383
|
+
* @param {string} id User id
|
|
11325
11384
|
* @param {*} [options] Override http request option.
|
|
11326
11385
|
* @throws {RequiredError}
|
|
11327
11386
|
*/
|
|
11328
|
-
usersControllerUserActivity: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11387
|
+
usersControllerUserActivity: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11388
|
+
// verify required parameter 'id' is not null or undefined
|
|
11389
|
+
assertParamExists('usersControllerUserActivity', 'id', id)
|
|
11329
11390
|
const localVarPath = `/v1/user/analytics/activity`;
|
|
11330
11391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11331
11392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11338,9 +11399,9 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11338
11399
|
const localVarHeaderParameter = {} as any;
|
|
11339
11400
|
const localVarQueryParameter = {} as any;
|
|
11340
11401
|
|
|
11341
|
-
|
|
11342
|
-
|
|
11343
|
-
|
|
11402
|
+
if (id !== undefined) {
|
|
11403
|
+
localVarQueryParameter['id'] = id;
|
|
11404
|
+
}
|
|
11344
11405
|
|
|
11345
11406
|
|
|
11346
11407
|
|
|
@@ -11469,11 +11530,12 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
11469
11530
|
},
|
|
11470
11531
|
/**
|
|
11471
11532
|
*
|
|
11533
|
+
* @param {string} id User id
|
|
11472
11534
|
* @param {*} [options] Override http request option.
|
|
11473
11535
|
* @throws {RequiredError}
|
|
11474
11536
|
*/
|
|
11475
|
-
async usersControllerUserActivity(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
|
|
11476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserActivity(options);
|
|
11537
|
+
async usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
|
|
11538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserActivity(id, options);
|
|
11477
11539
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11478
11540
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
|
|
11479
11541
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11567,11 +11629,12 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
11567
11629
|
},
|
|
11568
11630
|
/**
|
|
11569
11631
|
*
|
|
11632
|
+
* @param {string} id User id
|
|
11570
11633
|
* @param {*} [options] Override http request option.
|
|
11571
11634
|
* @throws {RequiredError}
|
|
11572
11635
|
*/
|
|
11573
|
-
usersControllerUserActivity(options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
11574
|
-
return localVarFp.usersControllerUserActivity(options).then((request) => request(axios, basePath));
|
|
11636
|
+
usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
11637
|
+
return localVarFp.usersControllerUserActivity(id, options).then((request) => request(axios, basePath));
|
|
11575
11638
|
},
|
|
11576
11639
|
};
|
|
11577
11640
|
};
|
|
@@ -11680,12 +11743,13 @@ export class UsersApi extends BaseAPI {
|
|
|
11680
11743
|
|
|
11681
11744
|
/**
|
|
11682
11745
|
*
|
|
11746
|
+
* @param {string} id User id
|
|
11683
11747
|
* @param {*} [options] Override http request option.
|
|
11684
11748
|
* @throws {RequiredError}
|
|
11685
11749
|
* @memberof UsersApi
|
|
11686
11750
|
*/
|
|
11687
|
-
public usersControllerUserActivity(options?: RawAxiosRequestConfig) {
|
|
11688
|
-
return UsersApiFp(this.configuration).usersControllerUserActivity(options).then((request) => request(this.axios, this.basePath));
|
|
11751
|
+
public usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig) {
|
|
11752
|
+
return UsersApiFp(this.configuration).usersControllerUserActivity(id, options).then((request) => request(this.axios, this.basePath));
|
|
11689
11753
|
}
|
|
11690
11754
|
}
|
|
11691
11755
|
|