@gooday_corp/gooday-api-client 1.2.22-beta → 1.2.23

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 +515 -10
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -1912,6 +1912,62 @@ export interface CreateTodoPayload {
1912
1912
  */
1913
1913
  'name': string;
1914
1914
  }
1915
+ /**
1916
+ *
1917
+ * @export
1918
+ * @interface CreateWaitlistBookingCustomerPayload
1919
+ */
1920
+ export interface CreateWaitlistBookingCustomerPayload {
1921
+ /**
1922
+ * The unique identifier of the customer
1923
+ * @type {string}
1924
+ * @memberof CreateWaitlistBookingCustomerPayload
1925
+ */
1926
+ '_id'?: string;
1927
+ /**
1928
+ * The name of the customer
1929
+ * @type {string}
1930
+ * @memberof CreateWaitlistBookingCustomerPayload
1931
+ */
1932
+ 'name'?: string;
1933
+ /**
1934
+ * The mobile phone number of the customer
1935
+ * @type {string}
1936
+ * @memberof CreateWaitlistBookingCustomerPayload
1937
+ */
1938
+ 'mobile'?: string;
1939
+ /**
1940
+ * The email address of the customer
1941
+ * @type {string}
1942
+ * @memberof CreateWaitlistBookingCustomerPayload
1943
+ */
1944
+ 'email'?: string;
1945
+ /**
1946
+ * The goodayId for the customer
1947
+ * @type {string}
1948
+ * @memberof CreateWaitlistBookingCustomerPayload
1949
+ */
1950
+ 'goodayId'?: string;
1951
+ /**
1952
+ * Status of the
1953
+ * @type {string}
1954
+ * @memberof CreateWaitlistBookingCustomerPayload
1955
+ */
1956
+ 'status': CreateWaitlistBookingCustomerPayloadStatusEnum;
1957
+ }
1958
+
1959
+ export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
1960
+ CheckedIn: 'CHECKED_IN',
1961
+ Confirmed: 'CONFIRMED',
1962
+ Unconfirmed: 'UNCONFIRMED',
1963
+ Rescheduled: 'RESCHEDULED',
1964
+ NoShow: 'NO_SHOW',
1965
+ Rejected: 'REJECTED',
1966
+ Cancelled: 'CANCELLED'
1967
+ } as const;
1968
+
1969
+ export type CreateWaitlistBookingCustomerPayloadStatusEnum = typeof CreateWaitlistBookingCustomerPayloadStatusEnum[keyof typeof CreateWaitlistBookingCustomerPayloadStatusEnum];
1970
+
1915
1971
  /**
1916
1972
  *
1917
1973
  * @export
@@ -4382,6 +4438,158 @@ export interface VerifyOTPResponseDTO {
4382
4438
  */
4383
4439
  'message': string;
4384
4440
  }
4441
+ /**
4442
+ *
4443
+ * @export
4444
+ * @interface WaitlistEntity
4445
+ */
4446
+ export interface WaitlistEntity {
4447
+ /**
4448
+ * Unique identifier for the waitlist
4449
+ * @type {string}
4450
+ * @memberof WaitlistEntity
4451
+ */
4452
+ '_id': string;
4453
+ /**
4454
+ * Start date of waitlist
4455
+ * @type {string}
4456
+ * @memberof WaitlistEntity
4457
+ */
4458
+ 'startDate': string;
4459
+ /**
4460
+ * End date of waitlist
4461
+ * @type {string}
4462
+ * @memberof WaitlistEntity
4463
+ */
4464
+ 'endDate': string;
4465
+ /**
4466
+ * The business associated with the booking
4467
+ * @type {BusinessEntity}
4468
+ * @memberof WaitlistEntity
4469
+ */
4470
+ 'business': BusinessEntity;
4471
+ /**
4472
+ * The user details
4473
+ * @type {Array<UserEntity>}
4474
+ * @memberof WaitlistEntity
4475
+ */
4476
+ 'users': Array<UserEntity>;
4477
+ /**
4478
+ * Waitlist method
4479
+ * @type {string}
4480
+ * @memberof WaitlistEntity
4481
+ */
4482
+ 'method': WaitlistEntityMethodEnum;
4483
+ /**
4484
+ * The list of customers associated with the booking
4485
+ * @type {Array<CreateWaitlistBookingCustomerPayload>}
4486
+ * @memberof WaitlistEntity
4487
+ */
4488
+ 'customers': Array<CreateWaitlistBookingCustomerPayload>;
4489
+ /**
4490
+ * Status of the waitlist
4491
+ * @type {string}
4492
+ * @memberof WaitlistEntity
4493
+ */
4494
+ 'status': WaitlistEntityStatusEnum;
4495
+ /**
4496
+ * The user details
4497
+ * @type {UserEntity}
4498
+ * @memberof WaitlistEntity
4499
+ */
4500
+ 'createdBy'?: UserEntity;
4501
+ }
4502
+
4503
+ export const WaitlistEntityMethodEnum = {
4504
+ Call: 'CALL',
4505
+ InPerson: 'IN_PERSON',
4506
+ App: 'APP'
4507
+ } as const;
4508
+
4509
+ export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
4510
+ export const WaitlistEntityStatusEnum = {
4511
+ Pending: 'PENDING',
4512
+ Confirm: 'CONFIRM',
4513
+ ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
4514
+ Withdraw: 'WITHDRAW'
4515
+ } as const;
4516
+
4517
+ export type WaitlistEntityStatusEnum = typeof WaitlistEntityStatusEnum[keyof typeof WaitlistEntityStatusEnum];
4518
+
4519
+ /**
4520
+ *
4521
+ * @export
4522
+ * @interface WaitlistPayloadDTO
4523
+ */
4524
+ export interface WaitlistPayloadDTO {
4525
+ /**
4526
+ * The start date of the waitlist
4527
+ * @type {string}
4528
+ * @memberof WaitlistPayloadDTO
4529
+ */
4530
+ 'startDate': string;
4531
+ /**
4532
+ * The end date of the waitlist
4533
+ * @type {string}
4534
+ * @memberof WaitlistPayloadDTO
4535
+ */
4536
+ 'endDate': string;
4537
+ /**
4538
+ * The venue of the booking
4539
+ * @type {string}
4540
+ * @memberof WaitlistPayloadDTO
4541
+ */
4542
+ 'venue': string;
4543
+ /**
4544
+ * The business associated with the booking
4545
+ * @type {string}
4546
+ * @memberof WaitlistPayloadDTO
4547
+ */
4548
+ 'business': string;
4549
+ /**
4550
+ * The list of customers associated with the booking
4551
+ * @type {Array<CreateWaitlistBookingCustomerPayload>}
4552
+ * @memberof WaitlistPayloadDTO
4553
+ */
4554
+ 'customers': Array<CreateWaitlistBookingCustomerPayload>;
4555
+ /**
4556
+ *
4557
+ * @type {Array<string>}
4558
+ * @memberof WaitlistPayloadDTO
4559
+ */
4560
+ 'staffs': Array<string>;
4561
+ /**
4562
+ * Waitlist status
4563
+ * @type {string}
4564
+ * @memberof WaitlistPayloadDTO
4565
+ */
4566
+ 'status': string;
4567
+ /**
4568
+ * Waitlist method
4569
+ * @type {string}
4570
+ * @memberof WaitlistPayloadDTO
4571
+ */
4572
+ 'method': string;
4573
+ }
4574
+ /**
4575
+ *
4576
+ * @export
4577
+ * @interface WaitlistResponseDTO
4578
+ */
4579
+ export interface WaitlistResponseDTO {
4580
+ /**
4581
+ * statusCode
4582
+ * @type {number}
4583
+ * @memberof WaitlistResponseDTO
4584
+ */
4585
+ 'statusCode': number;
4586
+ /**
4587
+ * Waitlist response
4588
+ * @type {WaitlistEntity}
4589
+ * @memberof WaitlistResponseDTO
4590
+ */
4591
+ 'data': WaitlistEntity;
4592
+ }
4385
4593
  /**
4386
4594
  *
4387
4595
  * @export
@@ -4401,6 +4609,25 @@ export interface Weather {
4401
4609
  */
4402
4610
  'temperature': number;
4403
4611
  }
4612
+ /**
4613
+ *
4614
+ * @export
4615
+ * @interface WhitelistsResponseDTO
4616
+ */
4617
+ export interface WhitelistsResponseDTO {
4618
+ /**
4619
+ * statusCode
4620
+ * @type {number}
4621
+ * @memberof WhitelistsResponseDTO
4622
+ */
4623
+ 'statusCode': number;
4624
+ /**
4625
+ * Waitlist response
4626
+ * @type {Array<WaitlistEntity>}
4627
+ * @memberof WhitelistsResponseDTO
4628
+ */
4629
+ 'data': Array<WaitlistEntity>;
4630
+ }
4404
4631
 
4405
4632
  /**
4406
4633
  * AIApi - axios parameter creator
@@ -6007,11 +6234,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
6007
6234
  * @param {*} [options] Override http request option.
6008
6235
  * @throws {RequiredError}
6009
6236
  */
6010
- businessStaffControllerFindBusinessStaff: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6237
+ businessStaffControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6011
6238
  // verify required parameter 'page' is not null or undefined
6012
- assertParamExists('businessStaffControllerFindBusinessStaff', 'page', page)
6239
+ assertParamExists('businessStaffControllerFindBusinessStaffs', 'page', page)
6013
6240
  // verify required parameter 'pageSize' is not null or undefined
6014
- assertParamExists('businessStaffControllerFindBusinessStaff', 'pageSize', pageSize)
6241
+ assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
6015
6242
  const localVarPath = `/v1/business-staff`;
6016
6243
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6017
6244
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6528,10 +6755,10 @@ export const BusinessApiFp = function(configuration?: Configuration) {
6528
6755
  * @param {*} [options] Override http request option.
6529
6756
  * @throws {RequiredError}
6530
6757
  */
6531
- async businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
6532
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaff(page, pageSize, search, options);
6758
+ async businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
6759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options);
6533
6760
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6534
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaff']?.[localVarOperationServerIndex]?.url;
6761
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
6535
6762
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6536
6763
  },
6537
6764
  /**
@@ -6718,8 +6945,8 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
6718
6945
  * @param {*} [options] Override http request option.
6719
6946
  * @throws {RequiredError}
6720
6947
  */
6721
- businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
6722
- return localVarFp.businessStaffControllerFindBusinessStaff(page, pageSize, search, options).then((request) => request(axios, basePath));
6948
+ businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
6949
+ return localVarFp.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
6723
6950
  },
6724
6951
  /**
6725
6952
  *
@@ -6881,8 +7108,8 @@ export class BusinessApi extends BaseAPI {
6881
7108
  * @throws {RequiredError}
6882
7109
  * @memberof BusinessApi
6883
7110
  */
6884
- public businessStaffControllerFindBusinessStaff(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
6885
- return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaff(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
7111
+ public businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
7112
+ return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
6886
7113
  }
6887
7114
 
6888
7115
  /**
@@ -12479,3 +12706,281 @@ export class UsersApi extends BaseAPI {
12479
12706
 
12480
12707
 
12481
12708
 
12709
+ /**
12710
+ * WaitlistApi - axios parameter creator
12711
+ * @export
12712
+ */
12713
+ export const WaitlistApiAxiosParamCreator = function (configuration?: Configuration) {
12714
+ return {
12715
+ /**
12716
+ *
12717
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12718
+ * @param {*} [options] Override http request option.
12719
+ * @throws {RequiredError}
12720
+ */
12721
+ waitlistControllerAddWaitlist: async (waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12722
+ // verify required parameter 'waitlistPayloadDTO' is not null or undefined
12723
+ assertParamExists('waitlistControllerAddWaitlist', 'waitlistPayloadDTO', waitlistPayloadDTO)
12724
+ const localVarPath = `/v1/waitlist`;
12725
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12726
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12727
+ let baseOptions;
12728
+ if (configuration) {
12729
+ baseOptions = configuration.baseOptions;
12730
+ }
12731
+
12732
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12733
+ const localVarHeaderParameter = {} as any;
12734
+ const localVarQueryParameter = {} as any;
12735
+
12736
+ // authentication bearer required
12737
+ // http bearer authentication required
12738
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12739
+
12740
+
12741
+
12742
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12743
+
12744
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12746
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12747
+ localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
12748
+
12749
+ return {
12750
+ url: toPathString(localVarUrlObj),
12751
+ options: localVarRequestOptions,
12752
+ };
12753
+ },
12754
+ /**
12755
+ *
12756
+ * @param {string} id
12757
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12758
+ * @param {*} [options] Override http request option.
12759
+ * @throws {RequiredError}
12760
+ */
12761
+ waitlistControllerAvailableSlots: async (id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12762
+ // verify required parameter 'id' is not null or undefined
12763
+ assertParamExists('waitlistControllerAvailableSlots', 'id', id)
12764
+ // verify required parameter 'waitlistPayloadDTO' is not null or undefined
12765
+ assertParamExists('waitlistControllerAvailableSlots', 'waitlistPayloadDTO', waitlistPayloadDTO)
12766
+ const localVarPath = `/v1/waitlist/{id}`
12767
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12768
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12769
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12770
+ let baseOptions;
12771
+ if (configuration) {
12772
+ baseOptions = configuration.baseOptions;
12773
+ }
12774
+
12775
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
12776
+ const localVarHeaderParameter = {} as any;
12777
+ const localVarQueryParameter = {} as any;
12778
+
12779
+ // authentication bearer required
12780
+ // http bearer authentication required
12781
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12782
+
12783
+
12784
+
12785
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12786
+
12787
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12788
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12789
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12790
+ localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
12791
+
12792
+ return {
12793
+ url: toPathString(localVarUrlObj),
12794
+ options: localVarRequestOptions,
12795
+ };
12796
+ },
12797
+ /**
12798
+ *
12799
+ * @param {number} page
12800
+ * @param {number} pageSize
12801
+ * @param {string} [search]
12802
+ * @param {*} [options] Override http request option.
12803
+ * @throws {RequiredError}
12804
+ */
12805
+ waitlistControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12806
+ // verify required parameter 'page' is not null or undefined
12807
+ assertParamExists('waitlistControllerFindBusinessStaffs', 'page', page)
12808
+ // verify required parameter 'pageSize' is not null or undefined
12809
+ assertParamExists('waitlistControllerFindBusinessStaffs', 'pageSize', pageSize)
12810
+ const localVarPath = `/v1/waitlist`;
12811
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12812
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12813
+ let baseOptions;
12814
+ if (configuration) {
12815
+ baseOptions = configuration.baseOptions;
12816
+ }
12817
+
12818
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12819
+ const localVarHeaderParameter = {} as any;
12820
+ const localVarQueryParameter = {} as any;
12821
+
12822
+ // authentication bearer required
12823
+ // http bearer authentication required
12824
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
12825
+
12826
+ if (page !== undefined) {
12827
+ localVarQueryParameter['page'] = page;
12828
+ }
12829
+
12830
+ if (pageSize !== undefined) {
12831
+ localVarQueryParameter['pageSize'] = pageSize;
12832
+ }
12833
+
12834
+ if (search !== undefined) {
12835
+ localVarQueryParameter['search'] = search;
12836
+ }
12837
+
12838
+
12839
+
12840
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12841
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12842
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12843
+
12844
+ return {
12845
+ url: toPathString(localVarUrlObj),
12846
+ options: localVarRequestOptions,
12847
+ };
12848
+ },
12849
+ }
12850
+ };
12851
+
12852
+ /**
12853
+ * WaitlistApi - functional programming interface
12854
+ * @export
12855
+ */
12856
+ export const WaitlistApiFp = function(configuration?: Configuration) {
12857
+ const localVarAxiosParamCreator = WaitlistApiAxiosParamCreator(configuration)
12858
+ return {
12859
+ /**
12860
+ *
12861
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12862
+ * @param {*} [options] Override http request option.
12863
+ * @throws {RequiredError}
12864
+ */
12865
+ async waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
12866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAddWaitlist(waitlistPayloadDTO, options);
12867
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12868
+ const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAddWaitlist']?.[localVarOperationServerIndex]?.url;
12869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12870
+ },
12871
+ /**
12872
+ *
12873
+ * @param {string} id
12874
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12875
+ * @param {*} [options] Override http request option.
12876
+ * @throws {RequiredError}
12877
+ */
12878
+ async waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
12879
+ const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options);
12880
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12881
+ const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAvailableSlots']?.[localVarOperationServerIndex]?.url;
12882
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12883
+ },
12884
+ /**
12885
+ *
12886
+ * @param {number} page
12887
+ * @param {number} pageSize
12888
+ * @param {string} [search]
12889
+ * @param {*} [options] Override http request option.
12890
+ * @throws {RequiredError}
12891
+ */
12892
+ async waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhitelistsResponseDTO>> {
12893
+ const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindBusinessStaffs(page, pageSize, search, options);
12894
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12895
+ const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
12896
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12897
+ },
12898
+ }
12899
+ };
12900
+
12901
+ /**
12902
+ * WaitlistApi - factory interface
12903
+ * @export
12904
+ */
12905
+ export const WaitlistApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
12906
+ const localVarFp = WaitlistApiFp(configuration)
12907
+ return {
12908
+ /**
12909
+ *
12910
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12911
+ * @param {*} [options] Override http request option.
12912
+ * @throws {RequiredError}
12913
+ */
12914
+ waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
12915
+ return localVarFp.waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(axios, basePath));
12916
+ },
12917
+ /**
12918
+ *
12919
+ * @param {string} id
12920
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12921
+ * @param {*} [options] Override http request option.
12922
+ * @throws {RequiredError}
12923
+ */
12924
+ waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
12925
+ return localVarFp.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(axios, basePath));
12926
+ },
12927
+ /**
12928
+ *
12929
+ * @param {number} page
12930
+ * @param {number} pageSize
12931
+ * @param {string} [search]
12932
+ * @param {*} [options] Override http request option.
12933
+ * @throws {RequiredError}
12934
+ */
12935
+ waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhitelistsResponseDTO> {
12936
+ return localVarFp.waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
12937
+ },
12938
+ };
12939
+ };
12940
+
12941
+ /**
12942
+ * WaitlistApi - object-oriented interface
12943
+ * @export
12944
+ * @class WaitlistApi
12945
+ * @extends {BaseAPI}
12946
+ */
12947
+ export class WaitlistApi extends BaseAPI {
12948
+ /**
12949
+ *
12950
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12951
+ * @param {*} [options] Override http request option.
12952
+ * @throws {RequiredError}
12953
+ * @memberof WaitlistApi
12954
+ */
12955
+ public waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
12956
+ return WaitlistApiFp(this.configuration).waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
12957
+ }
12958
+
12959
+ /**
12960
+ *
12961
+ * @param {string} id
12962
+ * @param {WaitlistPayloadDTO} waitlistPayloadDTO
12963
+ * @param {*} [options] Override http request option.
12964
+ * @throws {RequiredError}
12965
+ * @memberof WaitlistApi
12966
+ */
12967
+ public waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
12968
+ return WaitlistApiFp(this.configuration).waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
12969
+ }
12970
+
12971
+ /**
12972
+ *
12973
+ * @param {number} page
12974
+ * @param {number} pageSize
12975
+ * @param {string} [search]
12976
+ * @param {*} [options] Override http request option.
12977
+ * @throws {RequiredError}
12978
+ * @memberof WaitlistApi
12979
+ */
12980
+ public waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
12981
+ return WaitlistApiFp(this.configuration).waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
12982
+ }
12983
+ }
12984
+
12985
+
12986
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.22-beta",
3
+ "version": "1.2.23",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},