@gooday_corp/gooday-api-client 2.0.6 → 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
@@ -187,7 +187,7 @@ export interface AddCollaboratorPayload {
187
187
  */
188
188
  'collaborators': Array<string>;
189
189
  /**
190
- * List of collaborators for the todo
190
+ *
191
191
  * @type {Array<string>}
192
192
  * @memberof AddCollaboratorPayload
193
193
  */
@@ -8914,6 +8914,12 @@ export interface TodoEntity {
8914
8914
  * @memberof TodoEntity
8915
8915
  */
8916
8916
  'collaborators': Array<string>;
8917
+ /**
8918
+ *
8919
+ * @type {Array<string>}
8920
+ * @memberof TodoEntity
8921
+ */
8922
+ 'collaboratorsWithoutGooday': Array<string>;
8917
8923
  /**
8918
8924
  * Owner of the todo item
8919
8925
  * @type {UserEntity}
@@ -23858,6 +23864,43 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
23858
23864
 
23859
23865
 
23860
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
+
23861
23904
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23862
23905
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23863
23906
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24427,6 +24470,18 @@ export const TodoApiFp = function(configuration?: Configuration) {
24427
24470
  const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
24428
24471
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24429
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
+ },
24430
24485
  /**
24431
24486
  *
24432
24487
  * @param {string} id
@@ -24639,6 +24694,15 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
24639
24694
  todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24640
24695
  return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
24641
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
+ },
24642
24706
  /**
24643
24707
  *
24644
24708
  * @param {string} id
@@ -24822,6 +24886,17 @@ export class TodoApi extends BaseAPI {
24822
24886
  return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
24823
24887
  }
24824
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
+
24825
24900
  /**
24826
24901
  *
24827
24902
  * @param {string} id
@@ -6,7 +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;** | List of collaborators for the todo | [optional] [default to undefined]
9
+ **collaboratorsWithoutGooday** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -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-02T11:36:45+05:30]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-02T11:36:45+05:30]
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-02T11:36:45+05:30]
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-02T11:36:45+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-09-02T12:36:45+05:30]
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.6",
3
+ "version": "2.0.7",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},