@gooday_corp/gooday-api-client 2.2.3 → 2.2.6

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.
package/api.ts CHANGED
@@ -16125,6 +16125,43 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
16125
16125
  options: localVarRequestOptions,
16126
16126
  };
16127
16127
  },
16128
+ /**
16129
+ *
16130
+ * @param {string} id
16131
+ * @param {*} [options] Override http request option.
16132
+ * @throws {RequiredError}
16133
+ */
16134
+ calendarControllerAllCollaboratorsByCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
16135
+ // verify required parameter 'id' is not null or undefined
16136
+ assertParamExists('calendarControllerAllCollaboratorsByCalendar', 'id', id)
16137
+ const localVarPath = `/v1/calendar/{id}/all/collaborators`
16138
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
16139
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16140
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16141
+ let baseOptions;
16142
+ if (configuration) {
16143
+ baseOptions = configuration.baseOptions;
16144
+ }
16145
+
16146
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
16147
+ const localVarHeaderParameter = {} as any;
16148
+ const localVarQueryParameter = {} as any;
16149
+
16150
+ // authentication bearer required
16151
+ // http bearer authentication required
16152
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
16153
+
16154
+
16155
+
16156
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16157
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16158
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
16159
+
16160
+ return {
16161
+ url: toPathString(localVarUrlObj),
16162
+ options: localVarRequestOptions,
16163
+ };
16164
+ },
16128
16165
  /**
16129
16166
  *
16130
16167
  * @param {string} id
@@ -16724,6 +16761,18 @@ export const CalendarApiFp = function(configuration?: Configuration) {
16724
16761
  const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAcceptCalendarInvite']?.[localVarOperationServerIndex]?.url;
16725
16762
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16726
16763
  },
16764
+ /**
16765
+ *
16766
+ * @param {string} id
16767
+ * @param {*} [options] Override http request option.
16768
+ * @throws {RequiredError}
16769
+ */
16770
+ async calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16771
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerAllCollaboratorsByCalendar(id, options);
16772
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16773
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAllCollaboratorsByCalendar']?.[localVarOperationServerIndex]?.url;
16774
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16775
+ },
16727
16776
  /**
16728
16777
  *
16729
16778
  * @param {string} id
@@ -16922,6 +16971,15 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
16922
16971
  calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
16923
16972
  return localVarFp.calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(axios, basePath));
16924
16973
  },
16974
+ /**
16975
+ *
16976
+ * @param {string} id
16977
+ * @param {*} [options] Override http request option.
16978
+ * @throws {RequiredError}
16979
+ */
16980
+ calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
16981
+ return localVarFp.calendarControllerAllCollaboratorsByCalendar(id, options).then((request) => request(axios, basePath));
16982
+ },
16925
16983
  /**
16926
16984
  *
16927
16985
  * @param {string} id
@@ -17077,6 +17135,17 @@ export class CalendarApi extends BaseAPI {
17077
17135
  return CalendarApiFp(this.configuration).calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
17078
17136
  }
17079
17137
 
17138
+ /**
17139
+ *
17140
+ * @param {string} id
17141
+ * @param {*} [options] Override http request option.
17142
+ * @throws {RequiredError}
17143
+ * @memberof CalendarApi
17144
+ */
17145
+ public calendarControllerAllCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig) {
17146
+ return CalendarApiFp(this.configuration).calendarControllerAllCollaboratorsByCalendar(id, options).then((request) => request(this.axios, this.basePath));
17147
+ }
17148
+
17080
17149
  /**
17081
17150
  *
17082
17151
  * @param {string} id
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8080*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**calendarControllerAcceptCalendarInvite**](#calendarcontrolleracceptcalendarinvite) | **POST** /v1/calendar/invite/accept | |
8
+ |[**calendarControllerAllCollaboratorsByCalendar**](#calendarcontrollerallcollaboratorsbycalendar) | **GET** /v1/calendar/{id}/all/collaborators | |
8
9
  |[**calendarControllerCollaboratorsByCalendar**](#calendarcontrollercollaboratorsbycalendar) | **GET** /v1/calendar/{id}/collaborators | |
9
10
  |[**calendarControllerCreateSharedCalendar**](#calendarcontrollercreatesharedcalendar) | **POST** /v1/calendar | |
10
11
  |[**calendarControllerDeleteCalendarInvitation**](#calendarcontrollerdeletecalendarinvitation) | **PUT** /v1/calendar/invitation | |
@@ -72,6 +73,56 @@ const { status, data } = await apiInstance.calendarControllerAcceptCalendarInvit
72
73
 
73
74
  [[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)
74
75
 
76
+ # **calendarControllerAllCollaboratorsByCalendar**
77
+ > calendarControllerAllCollaboratorsByCalendar()
78
+
79
+
80
+ ### Example
81
+
82
+ ```typescript
83
+ import {
84
+ CalendarApi,
85
+ Configuration
86
+ } from './api';
87
+
88
+ const configuration = new Configuration();
89
+ const apiInstance = new CalendarApi(configuration);
90
+
91
+ let id: string; // (default to undefined)
92
+
93
+ const { status, data } = await apiInstance.calendarControllerAllCollaboratorsByCalendar(
94
+ id
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **id** | [**string**] | | defaults to undefined|
103
+
104
+
105
+ ### Return type
106
+
107
+ void (empty response body)
108
+
109
+ ### Authorization
110
+
111
+ [bearer](../README.md#bearer)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: Not defined
117
+
118
+
119
+ ### HTTP response details
120
+ | Status code | Description | Response headers |
121
+ |-------------|-------------|------------------|
122
+ |**200** | | - |
123
+
124
+ [[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)
125
+
75
126
  # **calendarControllerCollaboratorsByCalendar**
76
127
  > calendarControllerCollaboratorsByCalendar()
77
128
 
@@ -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-09-09T16:20:45+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-09T16:20:45+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-09-09T17:59:11+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-09T17:59:11+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-09-09T16:20:45+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-09-09T17:59:11+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-09-09T16:20:45+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-09T17:20:45+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-09-09T17:59:11+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-09-09T18:59:11+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": "2.2.3",
3
+ "version": "2.2.6",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},