@gooday_corp/gooday-api-client 1.1.61-beta → 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 +49 -43
- 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
|
*
|
|
@@ -9688,11 +9688,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9688
9688
|
},
|
|
9689
9689
|
/**
|
|
9690
9690
|
*
|
|
9691
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9691
9692
|
* @param {*} [options] Override http request option.
|
|
9692
9693
|
* @throws {RequiredError}
|
|
9693
9694
|
*/
|
|
9694
|
-
|
|
9695
|
-
|
|
9695
|
+
paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9696
|
+
// verify required parameter 'planUpsertPayloadDTO' is not null or undefined
|
|
9697
|
+
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
9698
|
+
const localVarPath = `/v1/payment/plan`;
|
|
9696
9699
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9697
9700
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9698
9701
|
let baseOptions;
|
|
@@ -9704,11 +9707,18 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9704
9707
|
const localVarHeaderParameter = {} as any;
|
|
9705
9708
|
const localVarQueryParameter = {} as any;
|
|
9706
9709
|
|
|
9710
|
+
// authentication bearer required
|
|
9711
|
+
// http bearer authentication required
|
|
9712
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9713
|
+
|
|
9707
9714
|
|
|
9708
9715
|
|
|
9716
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9717
|
+
|
|
9709
9718
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9710
9719
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9711
9720
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9721
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
9712
9722
|
|
|
9713
9723
|
return {
|
|
9714
9724
|
url: toPathString(localVarUrlObj),
|
|
@@ -9717,14 +9727,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9717
9727
|
},
|
|
9718
9728
|
/**
|
|
9719
9729
|
*
|
|
9720
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9721
9730
|
* @param {*} [options] Override http request option.
|
|
9722
9731
|
* @throws {RequiredError}
|
|
9723
9732
|
*/
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
9727
|
-
const localVarPath = `/v1/payment/plan`;
|
|
9733
|
+
paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9734
|
+
const localVarPath = `/v1/payment/revenuecat-webhook`;
|
|
9728
9735
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9729
9736
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9730
9737
|
let baseOptions;
|
|
@@ -9736,18 +9743,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
9736
9743
|
const localVarHeaderParameter = {} as any;
|
|
9737
9744
|
const localVarQueryParameter = {} as any;
|
|
9738
9745
|
|
|
9739
|
-
// authentication bearer required
|
|
9740
|
-
// http bearer authentication required
|
|
9741
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9742
|
-
|
|
9743
9746
|
|
|
9744
9747
|
|
|
9745
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9746
|
-
|
|
9747
9748
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9748
9749
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9749
9750
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9750
|
-
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
9751
9751
|
|
|
9752
9752
|
return {
|
|
9753
9753
|
url: toPathString(localVarUrlObj),
|
|
@@ -9835,25 +9835,25 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
9835
9835
|
},
|
|
9836
9836
|
/**
|
|
9837
9837
|
*
|
|
9838
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9838
9839
|
* @param {*} [options] Override http request option.
|
|
9839
9840
|
* @throws {RequiredError}
|
|
9840
9841
|
*/
|
|
9841
|
-
async
|
|
9842
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9842
|
+
async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
|
|
9843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
|
|
9843
9844
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9844
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
9845
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
|
|
9845
9846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9846
9847
|
},
|
|
9847
9848
|
/**
|
|
9848
9849
|
*
|
|
9849
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9850
9850
|
* @param {*} [options] Override http request option.
|
|
9851
9851
|
* @throws {RequiredError}
|
|
9852
9852
|
*/
|
|
9853
|
-
async
|
|
9854
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
9853
|
+
async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
|
|
9855
9855
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9856
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
9856
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
9857
9857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9858
9858
|
},
|
|
9859
9859
|
/**
|
|
@@ -9905,20 +9905,20 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
9905
9905
|
},
|
|
9906
9906
|
/**
|
|
9907
9907
|
*
|
|
9908
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9908
9909
|
* @param {*} [options] Override http request option.
|
|
9909
9910
|
* @throws {RequiredError}
|
|
9910
9911
|
*/
|
|
9911
|
-
|
|
9912
|
-
return localVarFp.
|
|
9912
|
+
paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
|
|
9913
|
+
return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9913
9914
|
},
|
|
9914
9915
|
/**
|
|
9915
9916
|
*
|
|
9916
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9917
9917
|
* @param {*} [options] Override http request option.
|
|
9918
9918
|
* @throws {RequiredError}
|
|
9919
9919
|
*/
|
|
9920
|
-
|
|
9921
|
-
return localVarFp.
|
|
9920
|
+
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
9921
|
+
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
9922
9922
|
},
|
|
9923
9923
|
/**
|
|
9924
9924
|
*
|
|
@@ -9972,23 +9972,23 @@ export class PlansApi extends BaseAPI {
|
|
|
9972
9972
|
|
|
9973
9973
|
/**
|
|
9974
9974
|
*
|
|
9975
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9975
9976
|
* @param {*} [options] Override http request option.
|
|
9976
9977
|
* @throws {RequiredError}
|
|
9977
9978
|
* @memberof PlansApi
|
|
9978
9979
|
*/
|
|
9979
|
-
public
|
|
9980
|
-
return PlansApiFp(this.configuration).
|
|
9980
|
+
public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9981
|
+
return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9981
9982
|
}
|
|
9982
9983
|
|
|
9983
9984
|
/**
|
|
9984
9985
|
*
|
|
9985
|
-
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
9986
9986
|
* @param {*} [options] Override http request option.
|
|
9987
9987
|
* @throws {RequiredError}
|
|
9988
9988
|
* @memberof PlansApi
|
|
9989
9989
|
*/
|
|
9990
|
-
public
|
|
9991
|
-
return PlansApiFp(this.configuration).
|
|
9990
|
+
public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
|
|
9991
|
+
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
9992
9992
|
}
|
|
9993
9993
|
|
|
9994
9994
|
/**
|
|
@@ -11380,10 +11380,13 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11380
11380
|
},
|
|
11381
11381
|
/**
|
|
11382
11382
|
*
|
|
11383
|
+
* @param {string} id User id
|
|
11383
11384
|
* @param {*} [options] Override http request option.
|
|
11384
11385
|
* @throws {RequiredError}
|
|
11385
11386
|
*/
|
|
11386
|
-
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)
|
|
11387
11390
|
const localVarPath = `/v1/user/analytics/activity`;
|
|
11388
11391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11389
11392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11396,9 +11399,9 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
11396
11399
|
const localVarHeaderParameter = {} as any;
|
|
11397
11400
|
const localVarQueryParameter = {} as any;
|
|
11398
11401
|
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
+
if (id !== undefined) {
|
|
11403
|
+
localVarQueryParameter['id'] = id;
|
|
11404
|
+
}
|
|
11402
11405
|
|
|
11403
11406
|
|
|
11404
11407
|
|
|
@@ -11527,11 +11530,12 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
11527
11530
|
},
|
|
11528
11531
|
/**
|
|
11529
11532
|
*
|
|
11533
|
+
* @param {string} id User id
|
|
11530
11534
|
* @param {*} [options] Override http request option.
|
|
11531
11535
|
* @throws {RequiredError}
|
|
11532
11536
|
*/
|
|
11533
|
-
async usersControllerUserActivity(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
|
|
11534
|
-
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);
|
|
11535
11539
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11536
11540
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
|
|
11537
11541
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11625,11 +11629,12 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
11625
11629
|
},
|
|
11626
11630
|
/**
|
|
11627
11631
|
*
|
|
11632
|
+
* @param {string} id User id
|
|
11628
11633
|
* @param {*} [options] Override http request option.
|
|
11629
11634
|
* @throws {RequiredError}
|
|
11630
11635
|
*/
|
|
11631
|
-
usersControllerUserActivity(options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
|
|
11632
|
-
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));
|
|
11633
11638
|
},
|
|
11634
11639
|
};
|
|
11635
11640
|
};
|
|
@@ -11738,12 +11743,13 @@ export class UsersApi extends BaseAPI {
|
|
|
11738
11743
|
|
|
11739
11744
|
/**
|
|
11740
11745
|
*
|
|
11746
|
+
* @param {string} id User id
|
|
11741
11747
|
* @param {*} [options] Override http request option.
|
|
11742
11748
|
* @throws {RequiredError}
|
|
11743
11749
|
* @memberof UsersApi
|
|
11744
11750
|
*/
|
|
11745
|
-
public usersControllerUserActivity(options?: RawAxiosRequestConfig) {
|
|
11746
|
-
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));
|
|
11747
11753
|
}
|
|
11748
11754
|
}
|
|
11749
11755
|
|