@gooday_corp/gooday-api-client 2.0.5 → 2.0.7

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
@@ -186,6 +186,12 @@ export interface AddCollaboratorPayload {
186
186
  * @memberof AddCollaboratorPayload
187
187
  */
188
188
  'collaborators': Array<string>;
189
+ /**
190
+ *
191
+ * @type {Array<string>}
192
+ * @memberof AddCollaboratorPayload
193
+ */
194
+ 'collaboratorsWithoutGooday'?: Array<string>;
189
195
  }
190
196
  /**
191
197
  *
@@ -8908,6 +8914,12 @@ export interface TodoEntity {
8908
8914
  * @memberof TodoEntity
8909
8915
  */
8910
8916
  'collaborators': Array<string>;
8917
+ /**
8918
+ *
8919
+ * @type {Array<string>}
8920
+ * @memberof TodoEntity
8921
+ */
8922
+ 'collaboratorsWithoutGooday': Array<string>;
8911
8923
  /**
8912
8924
  * Owner of the todo item
8913
8925
  * @type {UserEntity}
@@ -23852,6 +23864,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
23852
23864
 
23853
23865
 
23854
23866
 
23867
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23868
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23869
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23870
+
23871
+ return {
23872
+ url: toPathString(localVarUrlObj),
23873
+ options: localVarRequestOptions,
23874
+ };
23875
+ },
23876
+ /**
23877
+ *
23878
+ * @param {string} id
23879
+ * @param {*} [options] Override http request option.
23880
+ * @throws {RequiredError}
23881
+ */
23882
+ todoControllerGetTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23883
+ // verify required parameter 'id' is not null or undefined
23884
+ assertParamExists('todoControllerGetTodo', 'id', id)
23885
+ const localVarPath = `/v1/todo/todoId/{id}`
23886
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
23887
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23888
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23889
+ let baseOptions;
23890
+ if (configuration) {
23891
+ baseOptions = configuration.baseOptions;
23892
+ }
23893
+
23894
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23895
+ const localVarHeaderParameter = {} as any;
23896
+ const localVarQueryParameter = {} as any;
23897
+
23898
+ // authentication bearer required
23899
+ // http bearer authentication required
23900
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
23901
+
23902
+
23903
+
23855
23904
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23856
23905
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23857
23906
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24421,6 +24470,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
24421
24470
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
24422
24471
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24423
24472
  },
24473
+ /**
24474
+ *
24475
+ * @param {string} id
24476
+ * @param {*} [options] Override http request option.
24477
+ * @throws {RequiredError}
24478
+ */
24479
+ async todoControllerGetTodo(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaskDetailResponseDTO>> {
24480
+ const localVarAxiosArgs = await localVarAxiosParamCreator.todoControllerGetTodo(id, options);
24481
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24482
+ const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerGetTodo']?.[localVarOperationServerIndex]?.url;
24483
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24484
+ },
24424
24485
  /**
24425
24486
  *
24426
24487
  * @param {string} id
@@ -24633,6 +24694,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
24633
24694
  todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24634
24695
  return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
24635
24696
  },
24697
+ /**
24698
+ *
24699
+ * @param {string} id
24700
+ * @param {*} [options] Override http request option.
24701
+ * @throws {RequiredError}
24702
+ */
24703
+ todoControllerGetTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TaskDetailResponseDTO> {
24704
+ return localVarFp.todoControllerGetTodo(id, options).then((request) => request(axios, basePath));
24705
+ },
24636
24706
  /**
24637
24707
  *
24638
24708
  * @param {string} id
@@ -24816,6 +24886,17 @@ export class TodoApi extends BaseAPI {
24816
24886
  return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
24817
24887
  }
24818
24888
 
24889
+ /**
24890
+ *
24891
+ * @param {string} id
24892
+ * @param {*} [options] Override http request option.
24893
+ * @throws {RequiredError}
24894
+ * @memberof TodoApi
24895
+ */
24896
+ public todoControllerGetTodo(id: string, options?: RawAxiosRequestConfig) {
24897
+ return TodoApiFp(this.configuration).todoControllerGetTodo(id, options).then((request) => request(this.axios, this.basePath));
24898
+ }
24899
+
24819
24900
  /**
24820
24901
  *
24821
24902
  * @param {string} id
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **collaborators** | **Array&lt;string&gt;** | List of collaborators for the todo | [default to undefined]
9
+ **collaboratorsWithoutGooday** | **Array&lt;string&gt;** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { AddCollaboratorPayload } from './api';
14
15
 
15
16
  const instance: AddCollaboratorPayload = {
16
17
  collaborators,
18
+ collaboratorsWithoutGooday,
17
19
  };
18
20
  ```
19
21
 
@@ -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-01T07:10:30Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-01T07:10:30Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-09-02T13:57:06+05:30]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-02T13:57:06+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-01T07:10:30Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-09-02T13:57:06+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]
package/docs/TodoApi.md CHANGED
@@ -9,6 +9,7 @@ All URIs are relative to *http://localhost:8080*
9
9
  |[**todoControllerCreateTask**](#todocontrollercreatetask) | **POST** /v1/todo/task | |
10
10
  |[**todoControllerCreateTodo**](#todocontrollercreatetodo) | **POST** /v1/todo | |
11
11
  |[**todoControllerDeleteTodo**](#todocontrollerdeletetodo) | **DELETE** /v1/todo/{id} | |
12
+ |[**todoControllerGetTodo**](#todocontrollergettodo) | **GET** /v1/todo/todoId/{id} | |
12
13
  |[**todoControllerInviteCollaborator**](#todocontrollerinvitecollaborator) | **POST** /v1/todo/{id}/collaborator | |
13
14
  |[**todoControllerListDelegatedMyFriendsTasks**](#todocontrollerlistdelegatedmyfriendstasks) | **POST** /v1/todo/my-friends/task/list | |
14
15
  |[**todoControllerListDelegatedMyTasks**](#todocontrollerlistdelegatedmytasks) | **POST** /v1/todo/my/task/list | |
@@ -279,6 +280,56 @@ void (empty response body)
279
280
 
280
281
  [[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)
281
282
 
283
+ # **todoControllerGetTodo**
284
+ > TaskDetailResponseDTO todoControllerGetTodo()
285
+
286
+
287
+ ### Example
288
+
289
+ ```typescript
290
+ import {
291
+ TodoApi,
292
+ Configuration
293
+ } from './api';
294
+
295
+ const configuration = new Configuration();
296
+ const apiInstance = new TodoApi(configuration);
297
+
298
+ let id: string; // (default to undefined)
299
+
300
+ const { status, data } = await apiInstance.todoControllerGetTodo(
301
+ id
302
+ );
303
+ ```
304
+
305
+ ### Parameters
306
+
307
+ |Name | Type | Description | Notes|
308
+ |------------- | ------------- | ------------- | -------------|
309
+ | **id** | [**string**] | | defaults to undefined|
310
+
311
+
312
+ ### Return type
313
+
314
+ **TaskDetailResponseDTO**
315
+
316
+ ### Authorization
317
+
318
+ [bearer](../README.md#bearer)
319
+
320
+ ### HTTP request headers
321
+
322
+ - **Content-Type**: Not defined
323
+ - **Accept**: application/json
324
+
325
+
326
+ ### HTTP response details
327
+ | Status code | Description | Response headers |
328
+ |-------------|-------------|------------------|
329
+ |**0** | | - |
330
+
331
+ [[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)
332
+
282
333
  # **todoControllerInviteCollaborator**
283
334
  > TodoDetailResponseDTO todoControllerInviteCollaborator(addCollaboratorPayload)
284
335
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **name** | **string** | Name of the todo item | [default to undefined]
10
10
  **type** | **string** | Todo Type | [default to undefined]
11
11
  **collaborators** | **Array&lt;string&gt;** | List of collaborators for the todo | [default to undefined]
12
+ **collaboratorsWithoutGooday** | **Array&lt;string&gt;** | | [default to undefined]
12
13
  **owner** | [**UserEntity**](UserEntity.md) | Owner of the todo item | [default to undefined]
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const instance: TodoEntity = {
21
22
  name,
22
23
  type,
23
24
  collaborators,
25
+ collaboratorsWithoutGooday,
24
26
  owner,
25
27
  };
26
28
  ```
@@ -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-01T07:10:30Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-01T08:10:30Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-09-02T13:57:06+05:30]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-09-02T14:57:06+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.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},