@gooday_corp/gooday-api-client 1.7.6 → 1.7.9

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.
@@ -223,6 +223,9 @@ docs/NotificationReadsDTO.md
223
223
  docs/OAuthApi.md
224
224
  docs/OnBoardingDTO.md
225
225
  docs/OnBoardingResponseDTO.md
226
+ docs/PaymentDetails.md
227
+ docs/PaymentDetailsPayload.md
228
+ docs/PaymentDetailsResponseDTO.md
226
229
  docs/Places.md
227
230
  docs/PlanEntity.md
228
231
  docs/PlanFeature.md
@@ -246,6 +249,8 @@ docs/PriceEntity.md
246
249
  docs/PriceRangeEntity.md
247
250
  docs/PriceRangeListResponse.md
248
251
  docs/ProductResponseDTO.md
252
+ docs/PromoCode.md
253
+ docs/PromoCodeResponseDTO.md
249
254
  docs/RegularBookingAvailabilityPayloadDTO.md
250
255
  docs/RegularBookingAvailabilityResponseDTO.md
251
256
  docs/RejectBookingInvitePayload.md
package/api.ts CHANGED
@@ -6439,6 +6439,87 @@ export interface OnBoardingResponseDTO {
6439
6439
  */
6440
6440
  'data': UserEntity;
6441
6441
  }
6442
+ /**
6443
+ *
6444
+ * @export
6445
+ * @interface PaymentDetails
6446
+ */
6447
+ export interface PaymentDetails {
6448
+ /**
6449
+ * Event ID
6450
+ * @type {number}
6451
+ * @memberof PaymentDetails
6452
+ */
6453
+ 'price': number;
6454
+ /**
6455
+ * Discount ID
6456
+ * @type {string}
6457
+ * @memberof PaymentDetails
6458
+ */
6459
+ 'message': string;
6460
+ }
6461
+ /**
6462
+ *
6463
+ * @export
6464
+ * @interface PaymentDetailsPayload
6465
+ */
6466
+ export interface PaymentDetailsPayload {
6467
+ /**
6468
+ * Event ID
6469
+ * @type {string}
6470
+ * @memberof PaymentDetailsPayload
6471
+ */
6472
+ 'whatsOnId'?: string;
6473
+ /**
6474
+ * Event ID
6475
+ * @type {string}
6476
+ * @memberof PaymentDetailsPayload
6477
+ */
6478
+ 'serviceId'?: string;
6479
+ /**
6480
+ * Discount ID
6481
+ * @type {string}
6482
+ * @memberof PaymentDetailsPayload
6483
+ */
6484
+ 'discountId'?: string;
6485
+ /**
6486
+ * Staff ID
6487
+ * @type {string}
6488
+ * @memberof PaymentDetailsPayload
6489
+ */
6490
+ 'selectedStaff'?: string;
6491
+ /**
6492
+ *
6493
+ * @type {number}
6494
+ * @memberof PaymentDetailsPayload
6495
+ */
6496
+ 'quantity'?: number;
6497
+ /**
6498
+ * The list of collaborators associated with the booking
6499
+ * @type {Array<CreateBookingCollaboratorPayload>}
6500
+ * @memberof PaymentDetailsPayload
6501
+ */
6502
+ 'collaborators': Array<CreateBookingCollaboratorPayload>;
6503
+ }
6504
+ /**
6505
+ *
6506
+ * @export
6507
+ * @interface PaymentDetailsResponseDTO
6508
+ */
6509
+ export interface PaymentDetailsResponseDTO {
6510
+ /**
6511
+ * statusCode
6512
+ * @type {number}
6513
+ * @memberof PaymentDetailsResponseDTO
6514
+ */
6515
+ 'statusCode': number;
6516
+ /**
6517
+ *
6518
+ * @type {PaymentDetails}
6519
+ * @memberof PaymentDetailsResponseDTO
6520
+ */
6521
+ 'data': PaymentDetails;
6522
+ }
6442
6523
  /**
6443
6524
  *
6444
6525
  * @export
@@ -7284,6 +7365,44 @@ export interface ProductResponseDTO {
7284
7365
  */
7285
7366
  'statusCode': number;
7286
7367
  }
7368
+ /**
7369
+ *
7370
+ * @export
7371
+ * @interface PromoCode
7372
+ */
7373
+ export interface PromoCode {
7374
+ /**
7375
+ * Event ID
7376
+ * @type {string}
7377
+ * @memberof PromoCode
7378
+ */
7379
+ 'eventId': string;
7380
+ /**
7381
+ * Discount ID
7382
+ * @type {string}
7383
+ * @memberof PromoCode
7384
+ */
7385
+ 'discountId': string;
7386
+ }
7387
+ /**
7388
+ *
7389
+ * @export
7390
+ * @interface PromoCodeResponseDTO
7391
+ */
7392
+ export interface PromoCodeResponseDTO {
7393
+ /**
7394
+ * statusCode
7395
+ * @type {number}
7396
+ * @memberof PromoCodeResponseDTO
7397
+ */
7398
+ 'statusCode': number;
7399
+ /**
7400
+ * Discount ID
7401
+ * @type {string}
7402
+ * @memberof PromoCodeResponseDTO
7403
+ */
7404
+ 'message': string;
7405
+ }
7287
7406
  /**
7288
7407
  *
7289
7408
  * @export
@@ -20590,6 +20709,45 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
20590
20709
  options: localVarRequestOptions,
20591
20710
  };
20592
20711
  },
20712
+ /**
20713
+ *
20714
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
20715
+ * @param {*} [options] Override http request option.
20716
+ * @throws {RequiredError}
20717
+ */
20718
+ paymentControllerPaymentDetails: async (paymentDetailsPayload: PaymentDetailsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20719
+ // verify required parameter 'paymentDetailsPayload' is not null or undefined
20720
+ assertParamExists('paymentControllerPaymentDetails', 'paymentDetailsPayload', paymentDetailsPayload)
20721
+ const localVarPath = `/v1/payment/booking/details`;
20722
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20723
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20724
+ let baseOptions;
20725
+ if (configuration) {
20726
+ baseOptions = configuration.baseOptions;
20727
+ }
20728
+
20729
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20730
+ const localVarHeaderParameter = {} as any;
20731
+ const localVarQueryParameter = {} as any;
20732
+
20733
+ // authentication bearer required
20734
+ // http bearer authentication required
20735
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20736
+
20737
+
20738
+
20739
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20740
+
20741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20744
+ localVarRequestOptions.data = serializeDataIfNeeded(paymentDetailsPayload, localVarRequestOptions, configuration)
20745
+
20746
+ return {
20747
+ url: toPathString(localVarUrlObj),
20748
+ options: localVarRequestOptions,
20749
+ };
20750
+ },
20593
20751
  /**
20594
20752
  *
20595
20753
  * @param {*} [options] Override http request option.
@@ -20623,6 +20781,45 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
20623
20781
  options: localVarRequestOptions,
20624
20782
  };
20625
20783
  },
20784
+ /**
20785
+ *
20786
+ * @param {PromoCode} promoCode
20787
+ * @param {*} [options] Override http request option.
20788
+ * @throws {RequiredError}
20789
+ */
20790
+ paymentControllerRetrieveCouponCode: async (promoCode: PromoCode, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20791
+ // verify required parameter 'promoCode' is not null or undefined
20792
+ assertParamExists('paymentControllerRetrieveCouponCode', 'promoCode', promoCode)
20793
+ const localVarPath = `/v1/payment/promo-code`;
20794
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20795
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20796
+ let baseOptions;
20797
+ if (configuration) {
20798
+ baseOptions = configuration.baseOptions;
20799
+ }
20800
+
20801
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
20802
+ const localVarHeaderParameter = {} as any;
20803
+ const localVarQueryParameter = {} as any;
20804
+
20805
+ // authentication bearer required
20806
+ // http bearer authentication required
20807
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
20808
+
20809
+
20810
+
20811
+ localVarHeaderParameter['Content-Type'] = 'application/json';
20812
+
20813
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
20814
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20815
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
20816
+ localVarRequestOptions.data = serializeDataIfNeeded(promoCode, localVarRequestOptions, configuration)
20817
+
20818
+ return {
20819
+ url: toPathString(localVarUrlObj),
20820
+ options: localVarRequestOptions,
20821
+ };
20822
+ },
20626
20823
  /**
20627
20824
  *
20628
20825
  * @param {*} [options] Override http request option.
@@ -20825,6 +21022,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
20825
21022
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
20826
21023
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20827
21024
  },
21025
+ /**
21026
+ *
21027
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21028
+ * @param {*} [options] Override http request option.
21029
+ * @throws {RequiredError}
21030
+ */
21031
+ async paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentDetailsResponseDTO>> {
21032
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPaymentDetails(paymentDetailsPayload, options);
21033
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21034
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPaymentDetails']?.[localVarOperationServerIndex]?.url;
21035
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21036
+ },
20828
21037
  /**
20829
21038
  *
20830
21039
  * @param {*} [options] Override http request option.
@@ -20836,6 +21045,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
20836
21045
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveConnectedAccount']?.[localVarOperationServerIndex]?.url;
20837
21046
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20838
21047
  },
21048
+ /**
21049
+ *
21050
+ * @param {PromoCode} promoCode
21051
+ * @param {*} [options] Override http request option.
21052
+ * @throws {RequiredError}
21053
+ */
21054
+ async paymentControllerRetrieveCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PromoCodeResponseDTO>> {
21055
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerRetrieveCouponCode(promoCode, options);
21056
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
21057
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRetrieveCouponCode']?.[localVarOperationServerIndex]?.url;
21058
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21059
+ },
20839
21060
  /**
20840
21061
  *
20841
21062
  * @param {*} [options] Override http request option.
@@ -20934,6 +21155,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
20934
21155
  paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
20935
21156
  return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
20936
21157
  },
21158
+ /**
21159
+ *
21160
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21161
+ * @param {*} [options] Override http request option.
21162
+ * @throws {RequiredError}
21163
+ */
21164
+ paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig): AxiosPromise<PaymentDetailsResponseDTO> {
21165
+ return localVarFp.paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(axios, basePath));
21166
+ },
20937
21167
  /**
20938
21168
  *
20939
21169
  * @param {*} [options] Override http request option.
@@ -20942,6 +21172,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
20942
21172
  paymentControllerRetrieveConnectedAccount(options?: RawAxiosRequestConfig): AxiosPromise<BusinessConnectedAccount> {
20943
21173
  return localVarFp.paymentControllerRetrieveConnectedAccount(options).then((request) => request(axios, basePath));
20944
21174
  },
21175
+ /**
21176
+ *
21177
+ * @param {PromoCode} promoCode
21178
+ * @param {*} [options] Override http request option.
21179
+ * @throws {RequiredError}
21180
+ */
21181
+ paymentControllerRetrieveCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig): AxiosPromise<PromoCodeResponseDTO> {
21182
+ return localVarFp.paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(axios, basePath));
21183
+ },
20945
21184
  /**
20946
21185
  *
20947
21186
  * @param {*} [options] Override http request option.
@@ -21038,6 +21277,17 @@ export class PlansApi extends BaseAPI {
21038
21277
  return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
21039
21278
  }
21040
21279
 
21280
+ /**
21281
+ *
21282
+ * @param {PaymentDetailsPayload} paymentDetailsPayload
21283
+ * @param {*} [options] Override http request option.
21284
+ * @throws {RequiredError}
21285
+ * @memberof PlansApi
21286
+ */
21287
+ public paymentControllerPaymentDetails(paymentDetailsPayload: PaymentDetailsPayload, options?: RawAxiosRequestConfig) {
21288
+ return PlansApiFp(this.configuration).paymentControllerPaymentDetails(paymentDetailsPayload, options).then((request) => request(this.axios, this.basePath));
21289
+ }
21290
+
21041
21291
  /**
21042
21292
  *
21043
21293
  * @param {*} [options] Override http request option.
@@ -21048,6 +21298,17 @@ export class PlansApi extends BaseAPI {
21048
21298
  return PlansApiFp(this.configuration).paymentControllerRetrieveConnectedAccount(options).then((request) => request(this.axios, this.basePath));
21049
21299
  }
21050
21300
 
21301
+ /**
21302
+ *
21303
+ * @param {PromoCode} promoCode
21304
+ * @param {*} [options] Override http request option.
21305
+ * @throws {RequiredError}
21306
+ * @memberof PlansApi
21307
+ */
21308
+ public paymentControllerRetrieveCouponCode(promoCode: PromoCode, options?: RawAxiosRequestConfig) {
21309
+ return PlansApiFp(this.configuration).paymentControllerRetrieveCouponCode(promoCode, options).then((request) => request(this.axios, this.basePath));
21310
+ }
21311
+
21051
21312
  /**
21052
21313
  *
21053
21314
  * @param {*} [options] Override http request option.
@@ -6,8 +6,8 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **date** | **string** | The start date of the booking | [default to 2025-08-01T09:16:05Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-01T09:16:05Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-08-06T19:11:23+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-06T19:11:23+05:30]
11
11
  **from** | **string** | | [optional] [default to undefined]
12
12
  **to** | **string** | | [optional] [default to undefined]
13
13
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -0,0 +1,22 @@
1
+ # PaymentDetails
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **price** | **number** | Event ID | [default to undefined]
9
+ **message** | **string** | Discount ID | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PaymentDetails } from './api';
15
+
16
+ const instance: PaymentDetails = {
17
+ price,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # PaymentDetailsPayload
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **whatsOnId** | **string** | Event ID | [optional] [default to undefined]
9
+ **serviceId** | **string** | Event ID | [optional] [default to undefined]
10
+ **discountId** | **string** | Discount ID | [optional] [default to undefined]
11
+ **selectedStaff** | **string** | Staff ID | [optional] [default to undefined]
12
+ **quantity** | **number** | | [optional] [default to 0]
13
+ **collaborators** | [**Array&lt;CreateBookingCollaboratorPayload&gt;**](CreateBookingCollaboratorPayload.md) | The list of collaborators associated with the booking | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { PaymentDetailsPayload } from './api';
19
+
20
+ const instance: PaymentDetailsPayload = {
21
+ whatsOnId,
22
+ serviceId,
23
+ discountId,
24
+ selectedStaff,
25
+ quantity,
26
+ collaborators,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PaymentDetailsResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**PaymentDetails**](PaymentDetails.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PaymentDetailsResponseDTO } from './api';
15
+
16
+ const instance: PaymentDetailsResponseDTO = {
17
+ statusCode,
18
+ data,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/PlansApi.md CHANGED
@@ -9,7 +9,9 @@ All URIs are relative to *http://localhost:8080*
9
9
  |[**paymentControllerCreatePaymentLink**](#paymentcontrollercreatepaymentlink) | **POST** /v1/payment/payment-link | |
10
10
  |[**paymentControllerCreateSetupIntent**](#paymentcontrollercreatesetupintent) | **GET** /v1/payment/create-setup-intent | |
11
11
  |[**paymentControllerGetPlans**](#paymentcontrollergetplans) | **GET** /v1/payment/plans | |
12
+ |[**paymentControllerPaymentDetails**](#paymentcontrollerpaymentdetails) | **POST** /v1/payment/booking/details | |
12
13
  |[**paymentControllerRetrieveConnectedAccount**](#paymentcontrollerretrieveconnectedaccount) | **GET** /v1/payment/connected-account | |
14
+ |[**paymentControllerRetrieveCouponCode**](#paymentcontrollerretrievecouponcode) | **POST** /v1/payment/promo-code | |
13
15
  |[**paymentControllerRevenueCatWebhook**](#paymentcontrollerrevenuecatwebhook) | **POST** /v1/payment/revenuecat-webhook | |
14
16
  |[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
15
17
  |[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
@@ -238,6 +240,57 @@ No authorization required
238
240
 
239
241
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
240
242
 
243
+ # **paymentControllerPaymentDetails**
244
+ > PaymentDetailsResponseDTO paymentControllerPaymentDetails(paymentDetailsPayload)
245
+
246
+
247
+ ### Example
248
+
249
+ ```typescript
250
+ import {
251
+ PlansApi,
252
+ Configuration,
253
+ PaymentDetailsPayload
254
+ } from './api';
255
+
256
+ const configuration = new Configuration();
257
+ const apiInstance = new PlansApi(configuration);
258
+
259
+ let paymentDetailsPayload: PaymentDetailsPayload; //
260
+
261
+ const { status, data } = await apiInstance.paymentControllerPaymentDetails(
262
+ paymentDetailsPayload
263
+ );
264
+ ```
265
+
266
+ ### Parameters
267
+
268
+ |Name | Type | Description | Notes|
269
+ |------------- | ------------- | ------------- | -------------|
270
+ | **paymentDetailsPayload** | **PaymentDetailsPayload**| | |
271
+
272
+
273
+ ### Return type
274
+
275
+ **PaymentDetailsResponseDTO**
276
+
277
+ ### Authorization
278
+
279
+ [bearer](../README.md#bearer)
280
+
281
+ ### HTTP request headers
282
+
283
+ - **Content-Type**: application/json
284
+ - **Accept**: application/json
285
+
286
+
287
+ ### HTTP response details
288
+ | Status code | Description | Response headers |
289
+ |-------------|-------------|------------------|
290
+ |**200** | | - |
291
+
292
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
293
+
241
294
  # **paymentControllerRetrieveConnectedAccount**
242
295
  > BusinessConnectedAccount paymentControllerRetrieveConnectedAccount()
243
296
 
@@ -274,6 +327,57 @@ This endpoint does not have any parameters.
274
327
  - **Accept**: application/json
275
328
 
276
329
 
330
+ ### HTTP response details
331
+ | Status code | Description | Response headers |
332
+ |-------------|-------------|------------------|
333
+ |**200** | | - |
334
+
335
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
336
+
337
+ # **paymentControllerRetrieveCouponCode**
338
+ > PromoCodeResponseDTO paymentControllerRetrieveCouponCode(promoCode)
339
+
340
+
341
+ ### Example
342
+
343
+ ```typescript
344
+ import {
345
+ PlansApi,
346
+ Configuration,
347
+ PromoCode
348
+ } from './api';
349
+
350
+ const configuration = new Configuration();
351
+ const apiInstance = new PlansApi(configuration);
352
+
353
+ let promoCode: PromoCode; //
354
+
355
+ const { status, data } = await apiInstance.paymentControllerRetrieveCouponCode(
356
+ promoCode
357
+ );
358
+ ```
359
+
360
+ ### Parameters
361
+
362
+ |Name | Type | Description | Notes|
363
+ |------------- | ------------- | ------------- | -------------|
364
+ | **promoCode** | **PromoCode**| | |
365
+
366
+
367
+ ### Return type
368
+
369
+ **PromoCodeResponseDTO**
370
+
371
+ ### Authorization
372
+
373
+ [bearer](../README.md#bearer)
374
+
375
+ ### HTTP request headers
376
+
377
+ - **Content-Type**: application/json
378
+ - **Accept**: application/json
379
+
380
+
277
381
  ### HTTP response details
278
382
  | Status code | Description | Response headers |
279
383
  |-------------|-------------|------------------|
@@ -0,0 +1,22 @@
1
+ # PromoCode
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **eventId** | **string** | Event ID | [default to undefined]
9
+ **discountId** | **string** | Discount ID | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PromoCode } from './api';
15
+
16
+ const instance: PromoCode = {
17
+ eventId,
18
+ discountId,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # PromoCodeResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **message** | **string** | Discount ID | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PromoCodeResponseDTO } from './api';
15
+
16
+ const instance: PromoCodeResponseDTO = {
17
+ statusCode,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | The start date of the booking | [default to 2025-08-01T09:16:05Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-08-06T19:11:23+05:30]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
  **notes** | **string** | | [optional] [default to undefined]
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **startDate** | **string** | The start date of the waitlist | [default to 2025-08-01T09:16:05Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-08-01T10:16:05Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-08-06T19:11:23+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-08-06T20:11:23+05:30]
10
10
  **venue** | **string** | The venue of the waitlist | [default to undefined]
11
11
  **business** | **string** | The business associated with the waitlist | [default to undefined]
12
12
  **collaborators** | [**Array&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.7.6",
3
+ "version": "1.7.9",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},