@gooday_corp/gooday-api-client 1.5.18 → 1.5.21

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
@@ -18771,6 +18771,39 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
18771
18771
 
18772
18772
 
18773
18773
 
18774
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18776
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18777
+
18778
+ return {
18779
+ url: toPathString(localVarUrlObj),
18780
+ options: localVarRequestOptions,
18781
+ };
18782
+ },
18783
+ /**
18784
+ *
18785
+ * @param {*} [options] Override http request option.
18786
+ * @throws {RequiredError}
18787
+ */
18788
+ integrationControllerRevokeMicrosoftToken: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18789
+ const localVarPath = `/v1/integration/microsoft/revoke/token`;
18790
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18791
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18792
+ let baseOptions;
18793
+ if (configuration) {
18794
+ baseOptions = configuration.baseOptions;
18795
+ }
18796
+
18797
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
18798
+ const localVarHeaderParameter = {} as any;
18799
+ const localVarQueryParameter = {} as any;
18800
+
18801
+ // authentication bearer required
18802
+ // http bearer authentication required
18803
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18804
+
18805
+
18806
+
18774
18807
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18775
18808
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18776
18809
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18836,6 +18869,17 @@ export const IntegrationApiFp = function(configuration?: Configuration) {
18836
18869
  const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerRevokeGoogleToken']?.[localVarOperationServerIndex]?.url;
18837
18870
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18838
18871
  },
18872
+ /**
18873
+ *
18874
+ * @param {*} [options] Override http request option.
18875
+ * @throws {RequiredError}
18876
+ */
18877
+ async integrationControllerRevokeMicrosoftToken(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationRevokeResponse>> {
18878
+ const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerRevokeMicrosoftToken(options);
18879
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18880
+ const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerRevokeMicrosoftToken']?.[localVarOperationServerIndex]?.url;
18881
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18882
+ },
18839
18883
  }
18840
18884
  };
18841
18885
 
@@ -18880,6 +18924,14 @@ export const IntegrationApiFactory = function (configuration?: Configuration, ba
18880
18924
  integrationControllerRevokeGoogleToken(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationRevokeResponse> {
18881
18925
  return localVarFp.integrationControllerRevokeGoogleToken(options).then((request) => request(axios, basePath));
18882
18926
  },
18927
+ /**
18928
+ *
18929
+ * @param {*} [options] Override http request option.
18930
+ * @throws {RequiredError}
18931
+ */
18932
+ integrationControllerRevokeMicrosoftToken(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationRevokeResponse> {
18933
+ return localVarFp.integrationControllerRevokeMicrosoftToken(options).then((request) => request(axios, basePath));
18934
+ },
18883
18935
  };
18884
18936
  };
18885
18937
 
@@ -18931,6 +18983,16 @@ export class IntegrationApi extends BaseAPI {
18931
18983
  public integrationControllerRevokeGoogleToken(options?: RawAxiosRequestConfig) {
18932
18984
  return IntegrationApiFp(this.configuration).integrationControllerRevokeGoogleToken(options).then((request) => request(this.axios, this.basePath));
18933
18985
  }
18986
+
18987
+ /**
18988
+ *
18989
+ * @param {*} [options] Override http request option.
18990
+ * @throws {RequiredError}
18991
+ * @memberof IntegrationApi
18992
+ */
18993
+ public integrationControllerRevokeMicrosoftToken(options?: RawAxiosRequestConfig) {
18994
+ return IntegrationApiFp(this.configuration).integrationControllerRevokeMicrosoftToken(options).then((request) => request(this.axios, this.basePath));
18995
+ }
18934
18996
  }
18935
18997
 
18936
18998
 
@@ -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-09T10:45:52+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-09T10:45:52+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-07-09T16:43:48+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-07-09T16:43:48+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]
@@ -8,6 +8,7 @@ All URIs are relative to *http://localhost:8080*
8
8
  |[**integrationControllerGoogleCalendarAccess**](#integrationcontrollergooglecalendaraccess) | **POST** /v1/integration/google | |
9
9
  |[**integrationControllerMicrosoftCalendar**](#integrationcontrollermicrosoftcalendar) | **POST** /v1/integration/microsoft | |
10
10
  |[**integrationControllerRevokeGoogleToken**](#integrationcontrollerrevokegoogletoken) | **POST** /v1/integration/google/revoke/token | |
11
+ |[**integrationControllerRevokeMicrosoftToken**](#integrationcontrollerrevokemicrosofttoken) | **POST** /v1/integration/microsoft/revoke/token | |
11
12
 
12
13
  # **integrationControllerFetchIntegration**
13
14
  > IntegrationsResponse integrationControllerFetchIntegration()
@@ -199,3 +200,46 @@ This endpoint does not have any parameters.
199
200
 
200
201
  [[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
202
 
203
+ # **integrationControllerRevokeMicrosoftToken**
204
+ > IntegrationRevokeResponse integrationControllerRevokeMicrosoftToken()
205
+
206
+
207
+ ### Example
208
+
209
+ ```typescript
210
+ import {
211
+ IntegrationApi,
212
+ Configuration
213
+ } from './api';
214
+
215
+ const configuration = new Configuration();
216
+ const apiInstance = new IntegrationApi(configuration);
217
+
218
+ const { status, data } = await apiInstance.integrationControllerRevokeMicrosoftToken();
219
+ ```
220
+
221
+ ### Parameters
222
+ This endpoint does not have any parameters.
223
+
224
+
225
+ ### Return type
226
+
227
+ **IntegrationRevokeResponse**
228
+
229
+ ### Authorization
230
+
231
+ [bearer](../README.md#bearer)
232
+
233
+ ### HTTP request headers
234
+
235
+ - **Content-Type**: Not defined
236
+ - **Accept**: application/json
237
+
238
+
239
+ ### HTTP response details
240
+ | Status code | Description | Response headers |
241
+ |-------------|-------------|------------------|
242
+ |**200** | | - |
243
+
244
+ [[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)
245
+
@@ -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-09T10:45:52+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-07-09T16:43:48+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-09T10:45:52+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-07-09T11:45:52+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-07-09T16:43:48+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-07-09T17:43:48+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.18",
3
+ "version": "1.5.21",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},