@gooday_corp/gooday-api-client 1.9.8 → 2.0.1

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.
@@ -16,6 +16,9 @@ docs/ActivityResponse.md
16
16
  docs/AddCollaboratorPayload.md
17
17
  docs/AddDevicePayload.md
18
18
  docs/AppApi.md
19
+ docs/AppEntity.md
20
+ docs/AppResponseDTO.md
21
+ docs/AppResponseList.md
19
22
  docs/AppleDashboardPayloadDTO.md
20
23
  docs/AppleOAuthResponseDTO.md
21
24
  docs/AppleVerificationPayloadDTO.md
package/api.ts CHANGED
@@ -224,6 +224,83 @@ export interface AddDevicePayload {
224
224
  */
225
225
  'version': string;
226
226
  }
227
+ /**
228
+ *
229
+ * @export
230
+ * @interface AppEntity
231
+ */
232
+ export interface AppEntity {
233
+ /**
234
+ * Unique identifier for the user
235
+ * @type {string}
236
+ * @memberof AppEntity
237
+ */
238
+ '_id': string;
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof AppEntity
243
+ */
244
+ 'content': string;
245
+ /**
246
+ *
247
+ * @type {string}
248
+ * @memberof AppEntity
249
+ */
250
+ 'user': string;
251
+ /**
252
+ *
253
+ * @type {string}
254
+ * @memberof AppEntity
255
+ */
256
+ 'type': AppEntityTypeEnum;
257
+ }
258
+
259
+ export const AppEntityTypeEnum = {
260
+ HelpCenter: 'HELP_CENTER',
261
+ Feedback: 'FEEDBACK'
262
+ } as const;
263
+
264
+ export type AppEntityTypeEnum = typeof AppEntityTypeEnum[keyof typeof AppEntityTypeEnum];
265
+
266
+ /**
267
+ *
268
+ * @export
269
+ * @interface AppResponseDTO
270
+ */
271
+ export interface AppResponseDTO {
272
+ /**
273
+ * statusCode
274
+ * @type {number}
275
+ * @memberof AppResponseDTO
276
+ */
277
+ 'statusCode': number;
278
+ /**
279
+ *
280
+ * @type {AppResponseList}
281
+ * @memberof AppResponseDTO
282
+ */
283
+ 'data': AppResponseList;
284
+ }
285
+ /**
286
+ *
287
+ * @export
288
+ * @interface AppResponseList
289
+ */
290
+ export interface AppResponseList {
291
+ /**
292
+ * statusCode
293
+ * @type {number}
294
+ * @memberof AppResponseList
295
+ */
296
+ 'count': number;
297
+ /**
298
+ *
299
+ * @type {Array<AppEntity>}
300
+ * @memberof AppResponseList
301
+ */
302
+ 'data': Array<AppEntity>;
303
+ }
227
304
  /**
228
305
  *
229
306
  * @export
@@ -11004,6 +11081,53 @@ export class AIApi extends BaseAPI {
11004
11081
  */
11005
11082
  export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
11006
11083
  return {
11084
+ /**
11085
+ *
11086
+ * @param {number} page
11087
+ * @param {number} pageSize
11088
+ * @param {*} [options] Override http request option.
11089
+ * @throws {RequiredError}
11090
+ */
11091
+ appResponseControllerAppResponse: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11092
+ // verify required parameter 'page' is not null or undefined
11093
+ assertParamExists('appResponseControllerAppResponse', 'page', page)
11094
+ // verify required parameter 'pageSize' is not null or undefined
11095
+ assertParamExists('appResponseControllerAppResponse', 'pageSize', pageSize)
11096
+ const localVarPath = `/v1/app`;
11097
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11099
+ let baseOptions;
11100
+ if (configuration) {
11101
+ baseOptions = configuration.baseOptions;
11102
+ }
11103
+
11104
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
11105
+ const localVarHeaderParameter = {} as any;
11106
+ const localVarQueryParameter = {} as any;
11107
+
11108
+ // authentication bearer required
11109
+ // http bearer authentication required
11110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11111
+
11112
+ if (page !== undefined) {
11113
+ localVarQueryParameter['page'] = page;
11114
+ }
11115
+
11116
+ if (pageSize !== undefined) {
11117
+ localVarQueryParameter['pageSize'] = pageSize;
11118
+ }
11119
+
11120
+
11121
+
11122
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11123
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11124
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11125
+
11126
+ return {
11127
+ url: toPathString(localVarUrlObj),
11128
+ options: localVarRequestOptions,
11129
+ };
11130
+ },
11007
11131
  /**
11008
11132
  *
11009
11133
  * @param {FeedbackPayloadDTO} feedbackPayloadDTO
@@ -11092,6 +11216,19 @@ export const AppApiAxiosParamCreator = function (configuration?: Configuration)
11092
11216
  export const AppApiFp = function(configuration?: Configuration) {
11093
11217
  const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)
11094
11218
  return {
11219
+ /**
11220
+ *
11221
+ * @param {number} page
11222
+ * @param {number} pageSize
11223
+ * @param {*} [options] Override http request option.
11224
+ * @throws {RequiredError}
11225
+ */
11226
+ async appResponseControllerAppResponse(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppResponseDTO>> {
11227
+ const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerAppResponse(page, pageSize, options);
11228
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11229
+ const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerAppResponse']?.[localVarOperationServerIndex]?.url;
11230
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11231
+ },
11095
11232
  /**
11096
11233
  *
11097
11234
  * @param {FeedbackPayloadDTO} feedbackPayloadDTO
@@ -11126,6 +11263,16 @@ export const AppApiFp = function(configuration?: Configuration) {
11126
11263
  export const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
11127
11264
  const localVarFp = AppApiFp(configuration)
11128
11265
  return {
11266
+ /**
11267
+ *
11268
+ * @param {number} page
11269
+ * @param {number} pageSize
11270
+ * @param {*} [options] Override http request option.
11271
+ * @throws {RequiredError}
11272
+ */
11273
+ appResponseControllerAppResponse(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<AppResponseDTO> {
11274
+ return localVarFp.appResponseControllerAppResponse(page, pageSize, options).then((request) => request(axios, basePath));
11275
+ },
11129
11276
  /**
11130
11277
  *
11131
11278
  * @param {FeedbackPayloadDTO} feedbackPayloadDTO
@@ -11154,6 +11301,18 @@ export const AppApiFactory = function (configuration?: Configuration, basePath?:
11154
11301
  * @extends {BaseAPI}
11155
11302
  */
11156
11303
  export class AppApi extends BaseAPI {
11304
+ /**
11305
+ *
11306
+ * @param {number} page
11307
+ * @param {number} pageSize
11308
+ * @param {*} [options] Override http request option.
11309
+ * @throws {RequiredError}
11310
+ * @memberof AppApi
11311
+ */
11312
+ public appResponseControllerAppResponse(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
11313
+ return AppApiFp(this.configuration).appResponseControllerAppResponse(page, pageSize, options).then((request) => request(this.axios, this.basePath));
11314
+ }
11315
+
11157
11316
  /**
11158
11317
  *
11159
11318
  * @param {FeedbackPayloadDTO} feedbackPayloadDTO
package/docs/AppApi.md CHANGED
@@ -4,9 +4,63 @@ All URIs are relative to *http://localhost:8080*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**appResponseControllerAppResponse**](#appresponsecontrollerappresponse) | **POST** /v1/app | |
7
8
  |[**appResponseControllerFeedbackResponse**](#appresponsecontrollerfeedbackresponse) | **POST** /v1/feedback | |
8
9
  |[**appResponseControllerHelpCenterResponse**](#appresponsecontrollerhelpcenterresponse) | **POST** /v1/help-center | |
9
10
 
11
+ # **appResponseControllerAppResponse**
12
+ > AppResponseDTO appResponseControllerAppResponse()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ AppApi,
20
+ Configuration
21
+ } from './api';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new AppApi(configuration);
25
+
26
+ let page: number; // (default to undefined)
27
+ let pageSize: number; // (default to undefined)
28
+
29
+ const { status, data } = await apiInstance.appResponseControllerAppResponse(
30
+ page,
31
+ pageSize
32
+ );
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ |Name | Type | Description | Notes|
38
+ |------------- | ------------- | ------------- | -------------|
39
+ | **page** | [**number**] | | defaults to undefined|
40
+ | **pageSize** | [**number**] | | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **AppResponseDTO**
46
+
47
+ ### Authorization
48
+
49
+ [bearer](../README.md#bearer)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | | - |
61
+
62
+ [[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)
63
+
10
64
  # **appResponseControllerFeedbackResponse**
11
65
  > appResponseControllerFeedbackResponse(feedbackPayloadDTO)
12
66
 
@@ -0,0 +1,26 @@
1
+ # AppEntity
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **_id** | **string** | Unique identifier for the user | [default to undefined]
9
+ **content** | **string** | | [default to undefined]
10
+ **user** | **string** | | [default to undefined]
11
+ **type** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { AppEntity } from './api';
17
+
18
+ const instance: AppEntity = {
19
+ _id,
20
+ content,
21
+ user,
22
+ type,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # AppResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**AppResponseList**](AppResponseList.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AppResponseDTO } from './api';
15
+
16
+ const instance: AppResponseDTO = {
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)
@@ -0,0 +1,22 @@
1
+ # AppResponseList
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **count** | **number** | statusCode | [default to undefined]
9
+ **data** | [**Array&lt;AppEntity&gt;**](AppEntity.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { AppResponseList } from './api';
15
+
16
+ const instance: AppResponseList = {
17
+ count,
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)
@@ -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-08-28T09:17:04Z]
10
- **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-28T09:17:04Z]
9
+ **date** | **string** | The start date of the booking | [default to 2025-08-28T10:28:37Z]
10
+ **recurrenceEndDate** | **string** | The start date of the booking | [optional] [default to 2025-08-28T10:28:37Z]
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-08-28T09:17:04Z]
8
+ **date** | **string** | The start date of the booking | [default to 2025-08-28T10:28:37Z]
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-08-28T09:17:04Z]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-08-28T10:17:04Z]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-08-28T10:28:37Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-08-28T11:28:37Z]
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.9.8",
3
+ "version": "2.0.1",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},