@gooday_corp/gooday-api-client 1.1.62 → 1.1.63

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 +82 -12
  2. 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': string;
2313
+ 'start'?: string;
2314
2314
  /**
2315
2315
  * End date
2316
2316
  * @type {string}
2317
2317
  * @memberof ListTaskListPayload
2318
2318
  */
2319
- 'end': string;
2319
+ 'end'?: string;
2320
2320
  }
2321
2321
  /**
2322
2322
  *
@@ -3564,6 +3564,12 @@ export interface TodoEntity {
3564
3564
  * @memberof TodoEntity
3565
3565
  */
3566
3566
  'name': string;
3567
+ /**
3568
+ * Todo Type
3569
+ * @type {string}
3570
+ * @memberof TodoEntity
3571
+ */
3572
+ 'type': string;
3567
3573
  /**
3568
3574
  * List of collaborators for the todo
3569
3575
  * @type {Array<string>}
@@ -9725,6 +9731,35 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
9725
9731
  options: localVarRequestOptions,
9726
9732
  };
9727
9733
  },
9734
+ /**
9735
+ *
9736
+ * @param {*} [options] Override http request option.
9737
+ * @throws {RequiredError}
9738
+ */
9739
+ paymentControllerRevenueCatWebhook: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9740
+ const localVarPath = `/v1/payment/revenuecat-webhook`;
9741
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9742
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9743
+ let baseOptions;
9744
+ if (configuration) {
9745
+ baseOptions = configuration.baseOptions;
9746
+ }
9747
+
9748
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9749
+ const localVarHeaderParameter = {} as any;
9750
+ const localVarQueryParameter = {} as any;
9751
+
9752
+
9753
+
9754
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9755
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9756
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9757
+
9758
+ return {
9759
+ url: toPathString(localVarUrlObj),
9760
+ options: localVarRequestOptions,
9761
+ };
9762
+ },
9728
9763
  /**
9729
9764
  *
9730
9765
  * @param {string} stripeSignature
@@ -9816,6 +9851,17 @@ export const PlansApiFp = function(configuration?: Configuration) {
9816
9851
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
9817
9852
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9818
9853
  },
9854
+ /**
9855
+ *
9856
+ * @param {*} [options] Override http request option.
9857
+ * @throws {RequiredError}
9858
+ */
9859
+ async paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
9860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRevenueCatWebhook(options);
9861
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9862
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
9863
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9864
+ },
9819
9865
  /**
9820
9866
  *
9821
9867
  * @param {string} stripeSignature
@@ -9872,6 +9918,14 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
9872
9918
  paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
9873
9919
  return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
9874
9920
  },
9921
+ /**
9922
+ *
9923
+ * @param {*} [options] Override http request option.
9924
+ * @throws {RequiredError}
9925
+ */
9926
+ paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
9927
+ return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
9928
+ },
9875
9929
  /**
9876
9930
  *
9877
9931
  * @param {string} stripeSignature
@@ -9933,6 +9987,16 @@ export class PlansApi extends BaseAPI {
9933
9987
  return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
9934
9988
  }
9935
9989
 
9990
+ /**
9991
+ *
9992
+ * @param {*} [options] Override http request option.
9993
+ * @throws {RequiredError}
9994
+ * @memberof PlansApi
9995
+ */
9996
+ public paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig) {
9997
+ return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
9998
+ }
9999
+
9936
10000
  /**
9937
10001
  *
9938
10002
  * @param {string} stripeSignature
@@ -11322,10 +11386,13 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
11322
11386
  },
11323
11387
  /**
11324
11388
  *
11389
+ * @param {string} id User id
11325
11390
  * @param {*} [options] Override http request option.
11326
11391
  * @throws {RequiredError}
11327
11392
  */
11328
- usersControllerUserActivity: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11393
+ usersControllerUserActivity: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11394
+ // verify required parameter 'id' is not null or undefined
11395
+ assertParamExists('usersControllerUserActivity', 'id', id)
11329
11396
  const localVarPath = `/v1/user/analytics/activity`;
11330
11397
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
11331
11398
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -11338,9 +11405,9 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
11338
11405
  const localVarHeaderParameter = {} as any;
11339
11406
  const localVarQueryParameter = {} as any;
11340
11407
 
11341
- // authentication bearer required
11342
- // http bearer authentication required
11343
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
11408
+ if (id !== undefined) {
11409
+ localVarQueryParameter['id'] = id;
11410
+ }
11344
11411
 
11345
11412
 
11346
11413
 
@@ -11469,11 +11536,12 @@ export const UsersApiFp = function(configuration?: Configuration) {
11469
11536
  },
11470
11537
  /**
11471
11538
  *
11539
+ * @param {string} id User id
11472
11540
  * @param {*} [options] Override http request option.
11473
11541
  * @throws {RequiredError}
11474
11542
  */
11475
- async usersControllerUserActivity(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
11476
- const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserActivity(options);
11543
+ async usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivityDTO>> {
11544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerUserActivity(id, options);
11477
11545
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11478
11546
  const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerUserActivity']?.[localVarOperationServerIndex]?.url;
11479
11547
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -11567,11 +11635,12 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
11567
11635
  },
11568
11636
  /**
11569
11637
  *
11638
+ * @param {string} id User id
11570
11639
  * @param {*} [options] Override http request option.
11571
11640
  * @throws {RequiredError}
11572
11641
  */
11573
- usersControllerUserActivity(options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
11574
- return localVarFp.usersControllerUserActivity(options).then((request) => request(axios, basePath));
11642
+ usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ActivityDTO> {
11643
+ return localVarFp.usersControllerUserActivity(id, options).then((request) => request(axios, basePath));
11575
11644
  },
11576
11645
  };
11577
11646
  };
@@ -11680,12 +11749,13 @@ export class UsersApi extends BaseAPI {
11680
11749
 
11681
11750
  /**
11682
11751
  *
11752
+ * @param {string} id User id
11683
11753
  * @param {*} [options] Override http request option.
11684
11754
  * @throws {RequiredError}
11685
11755
  * @memberof UsersApi
11686
11756
  */
11687
- public usersControllerUserActivity(options?: RawAxiosRequestConfig) {
11688
- return UsersApiFp(this.configuration).usersControllerUserActivity(options).then((request) => request(this.axios, this.basePath));
11757
+ public usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig) {
11758
+ return UsersApiFp(this.configuration).usersControllerUserActivity(id, options).then((request) => request(this.axios, this.basePath));
11689
11759
  }
11690
11760
  }
11691
11761
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.62",
3
+ "version": "1.1.63",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},