@gooday_corp/gooday-api-client 2.0.7 → 2.0.9
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,12 +186,6 @@ 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>;
|
|
195
189
|
}
|
|
196
190
|
/**
|
|
197
191
|
*
|
|
@@ -8914,12 +8908,6 @@ export interface TodoEntity {
|
|
|
8914
8908
|
* @memberof TodoEntity
|
|
8915
8909
|
*/
|
|
8916
8910
|
'collaborators': Array<string>;
|
|
8917
|
-
/**
|
|
8918
|
-
*
|
|
8919
|
-
* @type {Array<string>}
|
|
8920
|
-
* @memberof TodoEntity
|
|
8921
|
-
*/
|
|
8922
|
-
'collaboratorsWithoutGooday': Array<string>;
|
|
8923
8911
|
/**
|
|
8924
8912
|
* Owner of the todo item
|
|
8925
8913
|
* @type {UserEntity}
|
|
@@ -23864,43 +23852,6 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
23864
23852
|
|
|
23865
23853
|
|
|
23866
23854
|
|
|
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
|
-
|
|
23904
23855
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23905
23856
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23906
23857
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24470,18 +24421,6 @@ export const TodoApiFp = function(configuration?: Configuration) {
|
|
|
24470
24421
|
const localVarOperationServerBasePath = operationServerMap['TodoApi.todoControllerDeleteTodo']?.[localVarOperationServerIndex]?.url;
|
|
24471
24422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24472
24423
|
},
|
|
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
|
-
},
|
|
24485
24424
|
/**
|
|
24486
24425
|
*
|
|
24487
24426
|
* @param {string} id
|
|
@@ -24694,15 +24633,6 @@ export const TodoApiFactory = function (configuration?: Configuration, basePath?
|
|
|
24694
24633
|
todoControllerDeleteTodo(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
24695
24634
|
return localVarFp.todoControllerDeleteTodo(id, options).then((request) => request(axios, basePath));
|
|
24696
24635
|
},
|
|
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
|
-
},
|
|
24706
24636
|
/**
|
|
24707
24637
|
*
|
|
24708
24638
|
* @param {string} id
|
|
@@ -24886,17 +24816,6 @@ export class TodoApi extends BaseAPI {
|
|
|
24886
24816
|
return TodoApiFp(this.configuration).todoControllerDeleteTodo(id, options).then((request) => request(this.axios, this.basePath));
|
|
24887
24817
|
}
|
|
24888
24818
|
|
|
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
|
-
|
|
24900
24819
|
/**
|
|
24901
24820
|
*
|
|
24902
24821
|
* @param {string} id
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**collaborators** | **Array<string>** | List of collaborators for the todo | [default to undefined]
|
|
9
|
-
**collaboratorsWithoutGooday** | **Array<string>** | | [optional] [default to undefined]
|
|
10
9
|
|
|
11
10
|
## Example
|
|
12
11
|
|
|
@@ -15,7 +14,6 @@ import { AddCollaboratorPayload } from './api';
|
|
|
15
14
|
|
|
16
15
|
const instance: AddCollaboratorPayload = {
|
|
17
16
|
collaborators,
|
|
18
|
-
collaboratorsWithoutGooday,
|
|
19
17
|
};
|
|
20
18
|
```
|
|
21
19
|
|
|
@@ -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-
|
|
10
|
-
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-02T15:50:50+05:30]
|
|
10
|
+
**recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-09-02T15:50:50+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-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-09-02T15:50:50+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,7 +9,6 @@ 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} | |
|
|
13
12
|
|[**todoControllerInviteCollaborator**](#todocontrollerinvitecollaborator) | **POST** /v1/todo/{id}/collaborator | |
|
|
14
13
|
|[**todoControllerListDelegatedMyFriendsTasks**](#todocontrollerlistdelegatedmyfriendstasks) | **POST** /v1/todo/my-friends/task/list | |
|
|
15
14
|
|[**todoControllerListDelegatedMyTasks**](#todocontrollerlistdelegatedmytasks) | **POST** /v1/todo/my/task/list | |
|
|
@@ -280,56 +279,6 @@ void (empty response body)
|
|
|
280
279
|
|
|
281
280
|
[[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)
|
|
282
281
|
|
|
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
|
-
|
|
333
282
|
# **todoControllerInviteCollaborator**
|
|
334
283
|
> TodoDetailResponseDTO todoControllerInviteCollaborator(addCollaboratorPayload)
|
|
335
284
|
|
package/docs/TodoEntity.md
CHANGED
|
@@ -9,7 +9,6 @@ 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<string>** | List of collaborators for the todo | [default to undefined]
|
|
12
|
-
**collaboratorsWithoutGooday** | **Array<string>** | | [default to undefined]
|
|
13
12
|
**owner** | [**UserEntity**](UserEntity.md) | Owner of the todo item | [default to undefined]
|
|
14
13
|
|
|
15
14
|
## Example
|
|
@@ -22,7 +21,6 @@ const instance: TodoEntity = {
|
|
|
22
21
|
name,
|
|
23
22
|
type,
|
|
24
23
|
collaborators,
|
|
25
|
-
collaboratorsWithoutGooday,
|
|
26
24
|
owner,
|
|
27
25
|
};
|
|
28
26
|
```
|
|
@@ -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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-09-02T15:50:50+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-09-02T16:50:50+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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|