@gooday_corp/gooday-api-client 1.8.9 → 1.9.1

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.
@@ -110,6 +110,7 @@ docs/CategoryListResponse.md
110
110
  docs/ContactResponseDTO.md
111
111
  docs/ContactsApi.md
112
112
  docs/ContactsEntity.md
113
+ docs/ContactsPayloadDTO.md
113
114
  docs/ContactsResponseDTO.md
114
115
  docs/CreateBookingCollaboratorPayload.md
115
116
  docs/CreateBookingPayload.md
package/api.ts CHANGED
@@ -3302,6 +3302,43 @@ export interface ContactsEntity {
3302
3302
  */
3303
3303
  'profile'?: string;
3304
3304
  }
3305
+ /**
3306
+ *
3307
+ * @export
3308
+ * @interface ContactsPayloadDTO
3309
+ */
3310
+ export interface ContactsPayloadDTO {
3311
+ /**
3312
+ * First name of the user
3313
+ * @type {string}
3314
+ * @memberof ContactsPayloadDTO
3315
+ */
3316
+ 'firstName'?: string;
3317
+ /**
3318
+ * Last name of the user
3319
+ * @type {string}
3320
+ * @memberof ContactsPayloadDTO
3321
+ */
3322
+ 'lastName'?: string;
3323
+ /**
3324
+ * Email address of the user
3325
+ * @type {string}
3326
+ * @memberof ContactsPayloadDTO
3327
+ */
3328
+ 'email'?: string;
3329
+ /**
3330
+ * Phone No
3331
+ * @type {string}
3332
+ * @memberof ContactsPayloadDTO
3333
+ */
3334
+ 'mobileNumber'?: string;
3335
+ /**
3336
+ *
3337
+ * @type {string}
3338
+ * @memberof ContactsPayloadDTO
3339
+ */
3340
+ 'profile'?: string;
3341
+ }
3305
3342
  /**
3306
3343
  *
3307
3344
  * @export
@@ -16965,13 +17002,13 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
16965
17002
  return {
16966
17003
  /**
16967
17004
  *
16968
- * @param {Array<string>} requestBody
17005
+ * @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
16969
17006
  * @param {*} [options] Override http request option.
16970
17007
  * @throws {RequiredError}
16971
17008
  */
16972
- contactsControllerAddContacts: async (requestBody: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16973
- // verify required parameter 'requestBody' is not null or undefined
16974
- assertParamExists('contactsControllerAddContacts', 'requestBody', requestBody)
17009
+ contactsControllerAddContacts: async (contactsPayloadDTO: Array<ContactsPayloadDTO>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17010
+ // verify required parameter 'contactsPayloadDTO' is not null or undefined
17011
+ assertParamExists('contactsControllerAddContacts', 'contactsPayloadDTO', contactsPayloadDTO)
16975
17012
  const localVarPath = `/v1/contacts`;
16976
17013
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
16977
17014
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -16991,7 +17028,7 @@ export const ContactsApiAxiosParamCreator = function (configuration?: Configurat
16991
17028
  setSearchParams(localVarUrlObj, localVarQueryParameter);
16992
17029
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16993
17030
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16994
- localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
17031
+ localVarRequestOptions.data = serializeDataIfNeeded(contactsPayloadDTO, localVarRequestOptions, configuration)
16995
17032
 
16996
17033
  return {
16997
17034
  url: toPathString(localVarUrlObj),
@@ -17054,12 +17091,12 @@ export const ContactsApiFp = function(configuration?: Configuration) {
17054
17091
  return {
17055
17092
  /**
17056
17093
  *
17057
- * @param {Array<string>} requestBody
17094
+ * @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
17058
17095
  * @param {*} [options] Override http request option.
17059
17096
  * @throws {RequiredError}
17060
17097
  */
17061
- async contactsControllerAddContacts(requestBody: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactResponseDTO>> {
17062
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerAddContacts(requestBody, options);
17098
+ async contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactResponseDTO>> {
17099
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsControllerAddContacts(contactsPayloadDTO, options);
17063
17100
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17064
17101
  const localVarOperationServerBasePath = operationServerMap['ContactsApi.contactsControllerAddContacts']?.[localVarOperationServerIndex]?.url;
17065
17102
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -17090,12 +17127,12 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
17090
17127
  return {
17091
17128
  /**
17092
17129
  *
17093
- * @param {Array<string>} requestBody
17130
+ * @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
17094
17131
  * @param {*} [options] Override http request option.
17095
17132
  * @throws {RequiredError}
17096
17133
  */
17097
- contactsControllerAddContacts(requestBody: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<ContactResponseDTO> {
17098
- return localVarFp.contactsControllerAddContacts(requestBody, options).then((request) => request(axios, basePath));
17134
+ contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig): AxiosPromise<ContactResponseDTO> {
17135
+ return localVarFp.contactsControllerAddContacts(contactsPayloadDTO, options).then((request) => request(axios, basePath));
17099
17136
  },
17100
17137
  /**
17101
17138
  *
@@ -17120,13 +17157,13 @@ export const ContactsApiFactory = function (configuration?: Configuration, baseP
17120
17157
  export class ContactsApi extends BaseAPI {
17121
17158
  /**
17122
17159
  *
17123
- * @param {Array<string>} requestBody
17160
+ * @param {Array<ContactsPayloadDTO>} contactsPayloadDTO
17124
17161
  * @param {*} [options] Override http request option.
17125
17162
  * @throws {RequiredError}
17126
17163
  * @memberof ContactsApi
17127
17164
  */
17128
- public contactsControllerAddContacts(requestBody: Array<string>, options?: RawAxiosRequestConfig) {
17129
- return ContactsApiFp(this.configuration).contactsControllerAddContacts(requestBody, options).then((request) => request(this.axios, this.basePath));
17165
+ public contactsControllerAddContacts(contactsPayloadDTO: Array<ContactsPayloadDTO>, options?: RawAxiosRequestConfig) {
17166
+ return ContactsApiFp(this.configuration).contactsControllerAddContacts(contactsPayloadDTO, options).then((request) => request(this.axios, this.basePath));
17130
17167
  }
17131
17168
 
17132
17169
  /**
@@ -8,7 +8,7 @@ All URIs are relative to *http://localhost:8080*
8
8
  |[**contactsControllerFindContacts**](#contactscontrollerfindcontacts) | **GET** /v1/contacts | |
9
9
 
10
10
  # **contactsControllerAddContacts**
11
- > ContactResponseDTO contactsControllerAddContacts(requestBody)
11
+ > ContactResponseDTO contactsControllerAddContacts(contactsPayloadDTO)
12
12
 
13
13
 
14
14
  ### Example
@@ -22,10 +22,10 @@ import {
22
22
  const configuration = new Configuration();
23
23
  const apiInstance = new ContactsApi(configuration);
24
24
 
25
- let requestBody: Array<string>; //
25
+ let contactsPayloadDTO: Array<ContactsPayloadDTO>; //
26
26
 
27
27
  const { status, data } = await apiInstance.contactsControllerAddContacts(
28
- requestBody
28
+ contactsPayloadDTO
29
29
  );
30
30
  ```
31
31
 
@@ -33,7 +33,7 @@ const { status, data } = await apiInstance.contactsControllerAddContacts(
33
33
 
34
34
  |Name | Type | Description | Notes|
35
35
  |------------- | ------------- | ------------- | -------------|
36
- | **requestBody** | **Array<string>**| | |
36
+ | **contactsPayloadDTO** | **Array<ContactsPayloadDTO>**| | |
37
37
 
38
38
 
39
39
  ### Return type
@@ -0,0 +1,28 @@
1
+ # ContactsPayloadDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **firstName** | **string** | First name of the user | [optional] [default to undefined]
9
+ **lastName** | **string** | Last name of the user | [optional] [default to undefined]
10
+ **email** | **string** | Email address of the user | [optional] [default to undefined]
11
+ **mobileNumber** | **string** | Phone No | [optional] [default to undefined]
12
+ **profile** | **string** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ContactsPayloadDTO } from './api';
18
+
19
+ const instance: ContactsPayloadDTO = {
20
+ firstName,
21
+ lastName,
22
+ email,
23
+ mobileNumber,
24
+ profile,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -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-18T17:10:42+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-18T17:10:42+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-08-18T17:27:26+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-18T17:27:26+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]
@@ -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-18T17:10:42+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-08-18T17:27:26+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-18T17:10:42+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-08-18T18:10:42+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-08-18T17:27:26+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-08-18T18:27:26+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.8.9",
3
+ "version": "1.9.1",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},