@gooday_corp/gooday-api-client 1.5.16 → 1.5.18

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.
@@ -182,6 +182,7 @@ docs/HomeFeedListResponseDTO.md
182
182
  docs/IntegrationApi.md
183
183
  docs/IntegrationEntity.md
184
184
  docs/IntegrationResponse.md
185
+ docs/IntegrationRevokeResponse.md
185
186
  docs/IntegrationsResponse.md
186
187
  docs/LeaveBookingDTO.md
187
188
  docs/LeaveBookingResponseDTO.md
package/api.ts CHANGED
@@ -5487,6 +5487,25 @@ export interface IntegrationResponse {
5487
5487
  */
5488
5488
  'data': IntegrationEntity;
5489
5489
  }
5490
+ /**
5491
+ *
5492
+ * @export
5493
+ * @interface IntegrationRevokeResponse
5494
+ */
5495
+ export interface IntegrationRevokeResponse {
5496
+ /**
5497
+ * Status code of the response
5498
+ * @type {number}
5499
+ * @memberof IntegrationRevokeResponse
5500
+ */
5501
+ 'statusCode': number;
5502
+ /**
5503
+ *
5504
+ * @type {boolean}
5505
+ * @memberof IntegrationRevokeResponse
5506
+ */
5507
+ 'data': boolean;
5508
+ }
5490
5509
  /**
5491
5510
  *
5492
5511
  * @export
@@ -18723,6 +18742,39 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
18723
18742
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18724
18743
  localVarRequestOptions.data = serializeDataIfNeeded(microsoftCalendarAccessDTO, localVarRequestOptions, configuration)
18725
18744
 
18745
+ return {
18746
+ url: toPathString(localVarUrlObj),
18747
+ options: localVarRequestOptions,
18748
+ };
18749
+ },
18750
+ /**
18751
+ *
18752
+ * @param {*} [options] Override http request option.
18753
+ * @throws {RequiredError}
18754
+ */
18755
+ integrationControllerRevokeGoogleToken: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18756
+ const localVarPath = `/v1/integration/google/revoke/token`;
18757
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18758
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18759
+ let baseOptions;
18760
+ if (configuration) {
18761
+ baseOptions = configuration.baseOptions;
18762
+ }
18763
+
18764
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18765
+ const localVarHeaderParameter = {} as any;
18766
+ const localVarQueryParameter = {} as any;
18767
+
18768
+ // authentication bearer required
18769
+ // http bearer authentication required
18770
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18771
+
18772
+
18773
+
18774
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18776
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18777
+
18726
18778
  return {
18727
18779
  url: toPathString(localVarUrlObj),
18728
18780
  options: localVarRequestOptions,
@@ -18773,6 +18825,17 @@ export const IntegrationApiFp = function(configuration?: Configuration) {
18773
18825
  const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerMicrosoftCalendar']?.[localVarOperationServerIndex]?.url;
18774
18826
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18775
18827
  },
18828
+ /**
18829
+ *
18830
+ * @param {*} [options] Override http request option.
18831
+ * @throws {RequiredError}
18832
+ */
18833
+ async integrationControllerRevokeGoogleToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationRevokeResponse>> {
18834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerRevokeGoogleToken(options);
18835
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18836
+ const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerRevokeGoogleToken']?.[localVarOperationServerIndex]?.url;
18837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18838
+ },
18776
18839
  }
18777
18840
  };
18778
18841
 
@@ -18809,6 +18872,14 @@ export const IntegrationApiFactory = function (configuration?: Configuration, ba
18809
18872
  integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationResponse> {
18810
18873
  return localVarFp.integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(axios, basePath));
18811
18874
  },
18875
+ /**
18876
+ *
18877
+ * @param {*} [options] Override http request option.
18878
+ * @throws {RequiredError}
18879
+ */
18880
+ integrationControllerRevokeGoogleToken(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationRevokeResponse> {
18881
+ return localVarFp.integrationControllerRevokeGoogleToken(options).then((request) => request(axios, basePath));
18882
+ },
18812
18883
  };
18813
18884
  };
18814
18885
 
@@ -18850,6 +18921,16 @@ export class IntegrationApi extends BaseAPI {
18850
18921
  public integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig) {
18851
18922
  return IntegrationApiFp(this.configuration).integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
18852
18923
  }
18924
+
18925
+ /**
18926
+ *
18927
+ * @param {*} [options] Override http request option.
18928
+ * @throws {RequiredError}
18929
+ * @memberof IntegrationApi
18930
+ */
18931
+ public integrationControllerRevokeGoogleToken(options?: RawAxiosRequestConfig) {
18932
+ return IntegrationApiFp(this.configuration).integrationControllerRevokeGoogleToken(options).then((request) => request(this.axios, this.basePath));
18933
+ }
18853
18934
  }
18854
18935
 
18855
18936
 
@@ -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-07-08T13:27:40Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-08T13:27:40Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-07-09T10:45:52+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-09T10:45:52+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]
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost:8080*
7
7
  |[**integrationControllerFetchIntegration**](#integrationcontrollerfetchintegration) | **GET** /v1/integration | |
8
8
  |[**integrationControllerGoogleCalendarAccess**](#integrationcontrollergooglecalendaraccess) | **POST** /v1/integration/google | |
9
9
  |[**integrationControllerMicrosoftCalendar**](#integrationcontrollermicrosoftcalendar) | **POST** /v1/integration/microsoft | |
10
+ |[**integrationControllerRevokeGoogleToken**](#integrationcontrollerrevokegoogletoken) | **POST** /v1/integration/google/revoke/token | |
10
11
 
11
12
  # **integrationControllerFetchIntegration**
12
13
  > IntegrationsResponse integrationControllerFetchIntegration()
@@ -155,3 +156,46 @@ const { status, data } = await apiInstance.integrationControllerMicrosoftCalenda
155
156
 
156
157
  [[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)
157
158
 
159
+ # **integrationControllerRevokeGoogleToken**
160
+ > IntegrationRevokeResponse integrationControllerRevokeGoogleToken()
161
+
162
+
163
+ ### Example
164
+
165
+ ```typescript
166
+ import {
167
+ IntegrationApi,
168
+ Configuration
169
+ } from './api';
170
+
171
+ const configuration = new Configuration();
172
+ const apiInstance = new IntegrationApi(configuration);
173
+
174
+ const { status, data } = await apiInstance.integrationControllerRevokeGoogleToken();
175
+ ```
176
+
177
+ ### Parameters
178
+ This endpoint does not have any parameters.
179
+
180
+
181
+ ### Return type
182
+
183
+ **IntegrationRevokeResponse**
184
+
185
+ ### Authorization
186
+
187
+ [bearer](../README.md#bearer)
188
+
189
+ ### HTTP request headers
190
+
191
+ - **Content-Type**: Not defined
192
+ - **Accept**: application/json
193
+
194
+
195
+ ### HTTP response details
196
+ | Status code | Description | Response headers |
197
+ |-------------|-------------|------------------|
198
+ |**200** | | - |
199
+
200
+ [[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)
201
+
@@ -0,0 +1,22 @@
1
+ # IntegrationRevokeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | Status code of the response | [default to undefined]
9
+ **data** | **boolean** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { IntegrationRevokeResponse } from './api';
15
+
16
+ const instance: IntegrationRevokeResponse = {
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)
@@ -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-07-08T13:27:40Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-07-09T10:45:52+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-07-08T13:27:40Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-07-08T14:27:40Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-07-09T10:45:52+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-07-09T11:45:52+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.5.16",
3
+ "version": "1.5.18",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},