@gooday_corp/gooday-api-client 1.1.25 → 1.1.27

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 +220 -70
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -1429,6 +1429,19 @@ export interface PlanResponseDTO {
1429
1429
  */
1430
1430
  'data': Array<PlanEntity>;
1431
1431
  }
1432
+ /**
1433
+ *
1434
+ * @export
1435
+ * @interface PlanUpsertPayloadDTO
1436
+ */
1437
+ export interface PlanUpsertPayloadDTO {
1438
+ /**
1439
+ * Plan id
1440
+ * @type {string}
1441
+ * @memberof PlanUpsertPayloadDTO
1442
+ */
1443
+ 'plan': string;
1444
+ }
1432
1445
  /**
1433
1446
  *
1434
1447
  * @export
@@ -1743,46 +1756,40 @@ export interface SkillDto {
1743
1756
  /**
1744
1757
  *
1745
1758
  * @export
1746
- * @interface StripPaymentDTO
1759
+ * @interface StripePaymentDTO
1747
1760
  */
1748
- export interface StripPaymentDTO {
1761
+ export interface StripePaymentDTO {
1749
1762
  /**
1750
- * Strip Customer ID
1763
+ * Stripe ephemeral Key
1751
1764
  * @type {string}
1752
- * @memberof StripPaymentDTO
1753
- */
1754
- 'customerId': string;
1755
- /**
1756
- * Strip ephemeral Key
1757
- * @type {string}
1758
- * @memberof StripPaymentDTO
1765
+ * @memberof StripePaymentDTO
1759
1766
  */
1760
1767
  'ephemeralKey': string;
1761
1768
  /**
1762
- * Strip ClientSecret
1769
+ * Stripe ClientSecret
1763
1770
  * @type {string}
1764
- * @memberof StripPaymentDTO
1771
+ * @memberof StripePaymentDTO
1765
1772
  */
1766
1773
  'clientSecret': string;
1767
1774
  }
1768
1775
  /**
1769
1776
  *
1770
1777
  * @export
1771
- * @interface StripePaymentIntentResponseDTO
1778
+ * @interface StripePlanUpsertResponseDTO
1772
1779
  */
1773
- export interface StripePaymentIntentResponseDTO {
1780
+ export interface StripePlanUpsertResponseDTO {
1774
1781
  /**
1775
1782
  * statuscCode
1776
1783
  * @type {number}
1777
- * @memberof StripePaymentIntentResponseDTO
1784
+ * @memberof StripePlanUpsertResponseDTO
1778
1785
  */
1779
1786
  'statusCode': number;
1780
1787
  /**
1781
1788
  * Strip Intent Data
1782
- * @type {StripPaymentDTO}
1783
- * @memberof StripePaymentIntentResponseDTO
1789
+ * @type {StripePaymentDTO}
1790
+ * @memberof StripePlanUpsertResponseDTO
1784
1791
  */
1785
- 'data': StripPaymentDTO;
1792
+ 'data': StripePaymentDTO;
1786
1793
  }
1787
1794
  /**
1788
1795
  *
@@ -1886,6 +1893,12 @@ export interface UserEntity {
1886
1893
  * @memberof UserEntity
1887
1894
  */
1888
1895
  'business'?: BusinessEntity;
1896
+ /**
1897
+ * User permissions
1898
+ * @type {UserPermissionDTO}
1899
+ * @memberof UserEntity
1900
+ */
1901
+ 'permissions': UserPermissionDTO;
1889
1902
  /**
1890
1903
  * Action user has to perform
1891
1904
  * @type {Array<string>}
@@ -1920,6 +1933,67 @@ export interface UserMeDTO {
1920
1933
  */
1921
1934
  'data': UserEntity;
1922
1935
  }
1936
+ /**
1937
+ *
1938
+ * @export
1939
+ * @interface UserPermissionDTO
1940
+ */
1941
+ export interface UserPermissionDTO {
1942
+ /**
1943
+ * Specifies if the user has granted location access permission.
1944
+ * @type {boolean}
1945
+ * @memberof UserPermissionDTO
1946
+ */
1947
+ 'locationAccessPermission'?: boolean;
1948
+ /**
1949
+ * Specifies if the user has granted access to the device timezone.
1950
+ * @type {boolean}
1951
+ * @memberof UserPermissionDTO
1952
+ */
1953
+ 'deviceTimezone'?: boolean;
1954
+ /**
1955
+ * Specifies if the user has granted permission for timezone settings.
1956
+ * @type {boolean}
1957
+ * @memberof UserPermissionDTO
1958
+ */
1959
+ 'timezone'?: boolean;
1960
+ /**
1961
+ * Specifies if the user has granted calendar access permission.
1962
+ * @type {boolean}
1963
+ * @memberof UserPermissionDTO
1964
+ */
1965
+ 'calendar'?: boolean;
1966
+ /**
1967
+ * Specifies if the user has granted access to tasks.
1968
+ * @type {boolean}
1969
+ * @memberof UserPermissionDTO
1970
+ */
1971
+ 'tasks'?: boolean;
1972
+ /**
1973
+ * Specifies if the user has granted access to reminders.
1974
+ * @type {boolean}
1975
+ * @memberof UserPermissionDTO
1976
+ */
1977
+ 'reminders'?: boolean;
1978
+ /**
1979
+ * Specifies if the user has granted access to the waitlist feature.
1980
+ * @type {boolean}
1981
+ * @memberof UserPermissionDTO
1982
+ */
1983
+ 'waitlist'?: boolean;
1984
+ /**
1985
+ * Specifies if the user has granted access to the booking feature.
1986
+ * @type {boolean}
1987
+ * @memberof UserPermissionDTO
1988
+ */
1989
+ 'booking'?: boolean;
1990
+ /**
1991
+ * Specifies if the user has granted access to the invites feature.
1992
+ * @type {boolean}
1993
+ * @memberof UserPermissionDTO
1994
+ */
1995
+ 'invites'?: boolean;
1996
+ }
1923
1997
  /**
1924
1998
  *
1925
1999
  * @export
@@ -1950,15 +2024,21 @@ export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPl
1950
2024
  /**
1951
2025
  *
1952
2026
  * @export
1953
- * @interface UserSyncLocationDTO
2027
+ * @interface UserSyncDTO
1954
2028
  */
1955
- export interface UserSyncLocationDTO {
2029
+ export interface UserSyncDTO {
1956
2030
  /**
1957
2031
  * User location
1958
2032
  * @type {Array<number>}
1959
- * @memberof UserSyncLocationDTO
2033
+ * @memberof UserSyncDTO
1960
2034
  */
1961
2035
  'location': Array<number>;
2036
+ /**
2037
+ * Timezone
2038
+ * @type {string}
2039
+ * @memberof UserSyncDTO
2040
+ */
2041
+ 'timezone'?: string;
1962
2042
  }
1963
2043
  /**
1964
2044
  *
@@ -4545,14 +4625,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4545
4625
  },
4546
4626
  /**
4547
4627
  *
4548
- * @param {string} planId Strip Plan ID
4549
4628
  * @param {*} [options] Override http request option.
4550
4629
  * @throws {RequiredError}
4551
4630
  */
4552
- paymentControllerGetPaymentSecretForIntent: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4553
- // verify required parameter 'planId' is not null or undefined
4554
- assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
4555
- const localVarPath = `/v1/payment/payment-secret-for-intent`;
4631
+ paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4632
+ const localVarPath = `/v1/payment/plans`;
4556
4633
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4557
4634
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4558
4635
  let baseOptions;
@@ -4564,14 +4641,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4564
4641
  const localVarHeaderParameter = {} as any;
4565
4642
  const localVarQueryParameter = {} as any;
4566
4643
 
4567
- // authentication bearer required
4568
- // http bearer authentication required
4569
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
4570
-
4571
- if (planId !== undefined) {
4572
- localVarQueryParameter['planId'] = planId;
4573
- }
4574
-
4575
4644
 
4576
4645
 
4577
4646
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4585,11 +4654,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4585
4654
  },
4586
4655
  /**
4587
4656
  *
4657
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4588
4658
  * @param {*} [options] Override http request option.
4589
4659
  * @throws {RequiredError}
4590
4660
  */
4591
- paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4592
- const localVarPath = `/v1/payment/plans`;
4661
+ paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4662
+ // verify required parameter 'planUpsertPayloadDTO' is not null or undefined
4663
+ assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
4664
+ const localVarPath = `/v1/payment/plan`;
4593
4665
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4594
4666
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4595
4667
  let baseOptions;
@@ -4597,15 +4669,22 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4597
4669
  baseOptions = configuration.baseOptions;
4598
4670
  }
4599
4671
 
4600
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4672
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4601
4673
  const localVarHeaderParameter = {} as any;
4602
4674
  const localVarQueryParameter = {} as any;
4603
4675
 
4676
+ // authentication bearer required
4677
+ // http bearer authentication required
4678
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4679
+
4604
4680
 
4605
4681
 
4682
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4683
+
4606
4684
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4607
4685
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4608
4686
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4687
+ localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
4609
4688
 
4610
4689
  return {
4611
4690
  url: toPathString(localVarUrlObj),
@@ -4672,25 +4751,25 @@ export const PlansApiFp = function(configuration?: Configuration) {
4672
4751
  },
4673
4752
  /**
4674
4753
  *
4675
- * @param {string} planId Strip Plan ID
4676
4754
  * @param {*} [options] Override http request option.
4677
4755
  * @throws {RequiredError}
4678
4756
  */
4679
- async paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponseDTO>> {
4680
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPaymentSecretForIntent(planId, options);
4757
+ async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
4758
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
4681
4759
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4682
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPaymentSecretForIntent']?.[localVarOperationServerIndex]?.url;
4760
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
4683
4761
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4684
4762
  },
4685
4763
  /**
4686
4764
  *
4765
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4687
4766
  * @param {*} [options] Override http request option.
4688
4767
  * @throws {RequiredError}
4689
4768
  */
4690
- async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
4691
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
4769
+ async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
4770
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
4692
4771
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4693
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
4772
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
4694
4773
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4695
4774
  },
4696
4775
  /**
@@ -4726,20 +4805,20 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
4726
4805
  },
4727
4806
  /**
4728
4807
  *
4729
- * @param {string} planId Strip Plan ID
4730
4808
  * @param {*} [options] Override http request option.
4731
4809
  * @throws {RequiredError}
4732
4810
  */
4733
- paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponseDTO> {
4734
- return localVarFp.paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(axios, basePath));
4811
+ paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
4812
+ return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
4735
4813
  },
4736
4814
  /**
4737
4815
  *
4816
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4738
4817
  * @param {*} [options] Override http request option.
4739
4818
  * @throws {RequiredError}
4740
4819
  */
4741
- paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
4742
- return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
4820
+ paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
4821
+ return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
4743
4822
  },
4744
4823
  /**
4745
4824
  *
@@ -4773,23 +4852,23 @@ export class PlansApi extends BaseAPI {
4773
4852
 
4774
4853
  /**
4775
4854
  *
4776
- * @param {string} planId Strip Plan ID
4777
4855
  * @param {*} [options] Override http request option.
4778
4856
  * @throws {RequiredError}
4779
4857
  * @memberof PlansApi
4780
4858
  */
4781
- public paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig) {
4782
- return PlansApiFp(this.configuration).paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(this.axios, this.basePath));
4859
+ public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
4860
+ return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
4783
4861
  }
4784
4862
 
4785
4863
  /**
4786
4864
  *
4865
+ * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4787
4866
  * @param {*} [options] Override http request option.
4788
4867
  * @throws {RequiredError}
4789
4868
  * @memberof PlansApi
4790
4869
  */
4791
- public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
4792
- return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
4870
+ public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
4871
+ return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
4793
4872
  }
4794
4873
 
4795
4874
  /**
@@ -4886,14 +4965,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
4886
4965
  },
4887
4966
  /**
4888
4967
  *
4889
- * @param {UserSyncLocationDTO} userSyncLocationDTO
4968
+ * @param {UserSyncDTO} userSyncDTO
4890
4969
  * @param {*} [options] Override http request option.
4891
4970
  * @throws {RequiredError}
4892
4971
  */
4893
- usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4894
- // verify required parameter 'userSyncLocationDTO' is not null or undefined
4895
- assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
4896
- const localVarPath = `/v1/user/sync/user/location`;
4972
+ usersControllerSyncUserInfo: async (userSyncDTO: UserSyncDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4973
+ // verify required parameter 'userSyncDTO' is not null or undefined
4974
+ assertParamExists('usersControllerSyncUserInfo', 'userSyncDTO', userSyncDTO)
4975
+ const localVarPath = `/v1/user/sync-info`;
4897
4976
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4898
4977
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4899
4978
  let baseOptions;
@@ -4916,7 +4995,46 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
4916
4995
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4917
4996
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4918
4997
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4919
- localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
4998
+ localVarRequestOptions.data = serializeDataIfNeeded(userSyncDTO, localVarRequestOptions, configuration)
4999
+
5000
+ return {
5001
+ url: toPathString(localVarUrlObj),
5002
+ options: localVarRequestOptions,
5003
+ };
5004
+ },
5005
+ /**
5006
+ *
5007
+ * @param {UserPermissionDTO} userPermissionDTO
5008
+ * @param {*} [options] Override http request option.
5009
+ * @throws {RequiredError}
5010
+ */
5011
+ usersControllerSyncUserPermissions: async (userPermissionDTO: UserPermissionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5012
+ // verify required parameter 'userPermissionDTO' is not null or undefined
5013
+ assertParamExists('usersControllerSyncUserPermissions', 'userPermissionDTO', userPermissionDTO)
5014
+ const localVarPath = `/v1/user/permissions`;
5015
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5016
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5017
+ let baseOptions;
5018
+ if (configuration) {
5019
+ baseOptions = configuration.baseOptions;
5020
+ }
5021
+
5022
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5023
+ const localVarHeaderParameter = {} as any;
5024
+ const localVarQueryParameter = {} as any;
5025
+
5026
+ // authentication bearer required
5027
+ // http bearer authentication required
5028
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5029
+
5030
+
5031
+
5032
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5033
+
5034
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5035
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5036
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5037
+ localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
4920
5038
 
4921
5039
  return {
4922
5040
  url: toPathString(localVarUrlObj),
@@ -4958,14 +5076,26 @@ export const UsersApiFp = function(configuration?: Configuration) {
4958
5076
  },
4959
5077
  /**
4960
5078
  *
4961
- * @param {UserSyncLocationDTO} userSyncLocationDTO
5079
+ * @param {UserSyncDTO} userSyncDTO
4962
5080
  * @param {*} [options] Override http request option.
4963
5081
  * @throws {RequiredError}
4964
5082
  */
4965
- async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
4966
- const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
5083
+ async usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
5084
+ const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserInfo(userSyncDTO, options);
4967
5085
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4968
- const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
5086
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserInfo']?.[localVarOperationServerIndex]?.url;
5087
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5088
+ },
5089
+ /**
5090
+ *
5091
+ * @param {UserPermissionDTO} userPermissionDTO
5092
+ * @param {*} [options] Override http request option.
5093
+ * @throws {RequiredError}
5094
+ */
5095
+ async usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
5096
+ const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserPermissions(userPermissionDTO, options);
5097
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5098
+ const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
4969
5099
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4970
5100
  },
4971
5101
  }
@@ -4997,12 +5127,21 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
4997
5127
  },
4998
5128
  /**
4999
5129
  *
5000
- * @param {UserSyncLocationDTO} userSyncLocationDTO
5130
+ * @param {UserSyncDTO} userSyncDTO
5131
+ * @param {*} [options] Override http request option.
5132
+ * @throws {RequiredError}
5133
+ */
5134
+ usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
5135
+ return localVarFp.usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(axios, basePath));
5136
+ },
5137
+ /**
5138
+ *
5139
+ * @param {UserPermissionDTO} userPermissionDTO
5001
5140
  * @param {*} [options] Override http request option.
5002
5141
  * @throws {RequiredError}
5003
5142
  */
5004
- usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
5005
- return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
5143
+ usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
5144
+ return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
5006
5145
  },
5007
5146
  };
5008
5147
  };
@@ -5037,13 +5176,24 @@ export class UsersApi extends BaseAPI {
5037
5176
 
5038
5177
  /**
5039
5178
  *
5040
- * @param {UserSyncLocationDTO} userSyncLocationDTO
5179
+ * @param {UserSyncDTO} userSyncDTO
5180
+ * @param {*} [options] Override http request option.
5181
+ * @throws {RequiredError}
5182
+ * @memberof UsersApi
5183
+ */
5184
+ public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
5185
+ return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
5186
+ }
5187
+
5188
+ /**
5189
+ *
5190
+ * @param {UserPermissionDTO} userPermissionDTO
5041
5191
  * @param {*} [options] Override http request option.
5042
5192
  * @throws {RequiredError}
5043
5193
  * @memberof UsersApi
5044
5194
  */
5045
- public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
5046
- return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
5195
+ public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
5196
+ return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
5047
5197
  }
5048
5198
  }
5049
5199
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},