@gooday_corp/gooday-api-client 1.0.7 → 1.0.9-beta

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.
Files changed (2) hide show
  1. package/api.ts +561 -9
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -23,6 +23,187 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface AddDevicePayload
30
+ */
31
+ export interface AddDevicePayload {
32
+ /**
33
+ * Name of the device
34
+ * @type {string}
35
+ * @memberof AddDevicePayload
36
+ */
37
+ 'name': string;
38
+ /**
39
+ * Unique identifier for the device
40
+ * @type {string}
41
+ * @memberof AddDevicePayload
42
+ */
43
+ 'identifier': string;
44
+ /**
45
+ * Token associated with the device
46
+ * @type {string}
47
+ * @memberof AddDevicePayload
48
+ */
49
+ 'token': string;
50
+ /**
51
+ * Activation status of the device
52
+ * @type {string}
53
+ * @memberof AddDevicePayload
54
+ */
55
+ 'status': string;
56
+ }
57
+ /**
58
+ *
59
+ * @export
60
+ * @interface AssistantEntity
61
+ */
62
+ export interface AssistantEntity {
63
+ /**
64
+ * Unique identifier for the assistant
65
+ * @type {string}
66
+ * @memberof AssistantEntity
67
+ */
68
+ 'id': string;
69
+ /**
70
+ * Name of the assistant
71
+ * @type {string}
72
+ * @memberof AssistantEntity
73
+ */
74
+ 'name': string;
75
+ /**
76
+ * Thumbnail URL or path
77
+ * @type {string}
78
+ * @memberof AssistantEntity
79
+ */
80
+ 'thumbnail': string;
81
+ /**
82
+ * Array of availability times for the assistant
83
+ * @type {Array<string>}
84
+ * @memberof AssistantEntity
85
+ */
86
+ 'availablity': Array<string>;
87
+ /**
88
+ * Configuration object for the assistant
89
+ * @type {object}
90
+ * @memberof AssistantEntity
91
+ */
92
+ 'configuration': object;
93
+ }
94
+ /**
95
+ *
96
+ * @export
97
+ * @interface AssistantListResponse
98
+ */
99
+ export interface AssistantListResponse {
100
+ /**
101
+ * statuscCode
102
+ * @type {number}
103
+ * @memberof AssistantListResponse
104
+ */
105
+ 'statusCode': number;
106
+ /**
107
+ * Assistant
108
+ * @type {Array<AssistantEntity>}
109
+ * @memberof AssistantListResponse
110
+ */
111
+ 'data': Array<AssistantEntity>;
112
+ }
113
+ /**
114
+ *
115
+ * @export
116
+ * @interface DeviceAddResponse
117
+ */
118
+ export interface DeviceAddResponse {
119
+ /**
120
+ * Status code of the response
121
+ * @type {number}
122
+ * @memberof DeviceAddResponse
123
+ */
124
+ 'statusCode': number;
125
+ /**
126
+ * Device details
127
+ * @type {DeviceEntity}
128
+ * @memberof DeviceAddResponse
129
+ */
130
+ 'data': DeviceEntity;
131
+ }
132
+ /**
133
+ *
134
+ * @export
135
+ * @interface DeviceEntity
136
+ */
137
+ export interface DeviceEntity {
138
+ /**
139
+ * Name of the device
140
+ * @type {string}
141
+ * @memberof DeviceEntity
142
+ */
143
+ 'name': string;
144
+ /**
145
+ * Unique identifier for the device
146
+ * @type {string}
147
+ * @memberof DeviceEntity
148
+ */
149
+ 'identifier': string;
150
+ /**
151
+ * Last used date of the device
152
+ * @type {string}
153
+ * @memberof DeviceEntity
154
+ */
155
+ 'lastUsed': string;
156
+ /**
157
+ * Token associated with the device
158
+ * @type {string}
159
+ * @memberof DeviceEntity
160
+ */
161
+ 'token': string;
162
+ /**
163
+ * Activation status of the device
164
+ * @type {string}
165
+ * @memberof DeviceEntity
166
+ */
167
+ 'status': string;
168
+ }
169
+ /**
170
+ *
171
+ * @export
172
+ * @interface DeviceUpdatePayload
173
+ */
174
+ export interface DeviceUpdatePayload {
175
+ /**
176
+ * Unique identifier for the device
177
+ * @type {string}
178
+ * @memberof DeviceUpdatePayload
179
+ */
180
+ 'identifier': string;
181
+ /**
182
+ * Device Status
183
+ * @type {string}
184
+ * @memberof DeviceUpdatePayload
185
+ */
186
+ 'status': string;
187
+ }
188
+ /**
189
+ *
190
+ * @export
191
+ * @interface DeviceUpdateResponse
192
+ */
193
+ export interface DeviceUpdateResponse {
194
+ /**
195
+ * Status code of the response
196
+ * @type {number}
197
+ * @memberof DeviceUpdateResponse
198
+ */
199
+ 'statusCode': number;
200
+ /**
201
+ * Device details
202
+ * @type {DeviceEntity}
203
+ * @memberof DeviceUpdateResponse
204
+ */
205
+ 'data': DeviceEntity;
206
+ }
26
207
  /**
27
208
  *
28
209
  * @export
@@ -61,6 +242,25 @@ export interface GoalListResponse {
61
242
  */
62
243
  'data': Array<GoalEntity>;
63
244
  }
245
+ /**
246
+ *
247
+ * @export
248
+ * @interface MyAssistantResponse
249
+ */
250
+ export interface MyAssistantResponse {
251
+ /**
252
+ * statuscCode
253
+ * @type {number}
254
+ * @memberof MyAssistantResponse
255
+ */
256
+ 'statusCode': number;
257
+ /**
258
+ * Assistant
259
+ * @type {AssistantEntity}
260
+ * @memberof MyAssistantResponse
261
+ */
262
+ 'data': AssistantEntity;
263
+ }
64
264
  /**
65
265
  *
66
266
  * @export
@@ -74,11 +274,11 @@ export interface OnBoardingDTO {
74
274
  */
75
275
  'nickname'?: string;
76
276
  /**
77
- * Gender
277
+ * Assistant
78
278
  * @type {string}
79
279
  * @memberof OnBoardingDTO
80
280
  */
81
- 'gender'?: string;
281
+ 'assistant'?: string;
82
282
  /**
83
283
  * Plan
84
284
  * @type {string}
@@ -309,11 +509,17 @@ export interface SignInResponseDto {
309
509
  */
310
510
  export interface SignupDto {
311
511
  /**
312
- * The name of the user
512
+ * The first name of the user
313
513
  * @type {string}
314
514
  * @memberof SignupDto
315
515
  */
316
- 'name': string;
516
+ 'firstName': string;
517
+ /**
518
+ * The last name of the user
519
+ * @type {string}
520
+ * @memberof SignupDto
521
+ */
522
+ 'lastName': string;
317
523
  /**
318
524
  * The email of the user
319
525
  * @type {string}
@@ -384,11 +590,17 @@ export interface UserEntity {
384
590
  */
385
591
  '_id': string;
386
592
  /**
387
- * Name of the user
593
+ * First name of the user
388
594
  * @type {string}
389
595
  * @memberof UserEntity
390
596
  */
391
- 'name': string;
597
+ 'firstName': string;
598
+ /**
599
+ * Last name of the user
600
+ * @type {string}
601
+ * @memberof UserEntity
602
+ */
603
+ 'lastName': string;
392
604
  /**
393
605
  * Email address of the user
394
606
  * @type {string}
@@ -408,11 +620,11 @@ export interface UserEntity {
408
620
  */
409
621
  'dob': string;
410
622
  /**
411
- * Gender of the user
623
+ * Assistant ID
412
624
  * @type {string}
413
625
  * @memberof UserEntity
414
626
  */
415
- 'gender': string;
627
+ 'assistant': string;
416
628
  /**
417
629
  * Indicates whether the user\'s email has been verified
418
630
  * @type {boolean}
@@ -449,7 +661,7 @@ export const UserEntityNextStepEnum = {
449
661
  BasicInfo: 'basic_info',
450
662
  NickName: 'nick_name',
451
663
  Dob: 'dob',
452
- Gender: 'gender',
664
+ Assistant: 'assistant',
453
665
  Goals: 'goals',
454
666
  Plan: 'plan'
455
667
  } as const;
@@ -476,6 +688,165 @@ export interface UserMeDTO {
476
688
  'data': UserEntity;
477
689
  }
478
690
 
691
+ /**
692
+ * AIApi - axios parameter creator
693
+ * @export
694
+ */
695
+ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
696
+ return {
697
+ /**
698
+ *
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ assistantControllerListAssistants: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
703
+ const localVarPath = `/v1/assistant/list`;
704
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
705
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
706
+ let baseOptions;
707
+ if (configuration) {
708
+ baseOptions = configuration.baseOptions;
709
+ }
710
+
711
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
712
+ const localVarHeaderParameter = {} as any;
713
+ const localVarQueryParameter = {} as any;
714
+
715
+
716
+
717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
719
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
720
+
721
+ return {
722
+ url: toPathString(localVarUrlObj),
723
+ options: localVarRequestOptions,
724
+ };
725
+ },
726
+ /**
727
+ *
728
+ * @param {*} [options] Override http request option.
729
+ * @throws {RequiredError}
730
+ */
731
+ assistantControllerMyAssistant: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
732
+ const localVarPath = `/v1/assistant/me`;
733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
734
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
735
+ let baseOptions;
736
+ if (configuration) {
737
+ baseOptions = configuration.baseOptions;
738
+ }
739
+
740
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
741
+ const localVarHeaderParameter = {} as any;
742
+ const localVarQueryParameter = {} as any;
743
+
744
+ // authentication bearer required
745
+ // http bearer authentication required
746
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
747
+
748
+
749
+
750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
752
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
753
+
754
+ return {
755
+ url: toPathString(localVarUrlObj),
756
+ options: localVarRequestOptions,
757
+ };
758
+ },
759
+ }
760
+ };
761
+
762
+ /**
763
+ * AIApi - functional programming interface
764
+ * @export
765
+ */
766
+ export const AIApiFp = function(configuration?: Configuration) {
767
+ const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
768
+ return {
769
+ /**
770
+ *
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ async assistantControllerListAssistants(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssistantListResponse>> {
775
+ const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerListAssistants(options);
776
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
777
+ const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerListAssistants']?.[localVarOperationServerIndex]?.url;
778
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
779
+ },
780
+ /**
781
+ *
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ async assistantControllerMyAssistant(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyAssistantResponse>> {
786
+ const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerMyAssistant(options);
787
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
788
+ const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerMyAssistant']?.[localVarOperationServerIndex]?.url;
789
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
790
+ },
791
+ }
792
+ };
793
+
794
+ /**
795
+ * AIApi - factory interface
796
+ * @export
797
+ */
798
+ export const AIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
799
+ const localVarFp = AIApiFp(configuration)
800
+ return {
801
+ /**
802
+ *
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ assistantControllerListAssistants(options?: RawAxiosRequestConfig): AxiosPromise<AssistantListResponse> {
807
+ return localVarFp.assistantControllerListAssistants(options).then((request) => request(axios, basePath));
808
+ },
809
+ /**
810
+ *
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ assistantControllerMyAssistant(options?: RawAxiosRequestConfig): AxiosPromise<MyAssistantResponse> {
815
+ return localVarFp.assistantControllerMyAssistant(options).then((request) => request(axios, basePath));
816
+ },
817
+ };
818
+ };
819
+
820
+ /**
821
+ * AIApi - object-oriented interface
822
+ * @export
823
+ * @class AIApi
824
+ * @extends {BaseAPI}
825
+ */
826
+ export class AIApi extends BaseAPI {
827
+ /**
828
+ *
829
+ * @param {*} [options] Override http request option.
830
+ * @throws {RequiredError}
831
+ * @memberof AIApi
832
+ */
833
+ public assistantControllerListAssistants(options?: RawAxiosRequestConfig) {
834
+ return AIApiFp(this.configuration).assistantControllerListAssistants(options).then((request) => request(this.axios, this.basePath));
835
+ }
836
+
837
+ /**
838
+ *
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ * @memberof AIApi
842
+ */
843
+ public assistantControllerMyAssistant(options?: RawAxiosRequestConfig) {
844
+ return AIApiFp(this.configuration).assistantControllerMyAssistant(options).then((request) => request(this.axios, this.basePath));
845
+ }
846
+ }
847
+
848
+
849
+
479
850
  /**
480
851
  * AuthApi - axios parameter creator
481
852
  * @export
@@ -707,6 +1078,187 @@ export class AuthApi extends BaseAPI {
707
1078
 
708
1079
 
709
1080
 
1081
+ /**
1082
+ * DeviceApi - axios parameter creator
1083
+ * @export
1084
+ */
1085
+ export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
1086
+ return {
1087
+ /**
1088
+ *
1089
+ * @param {AddDevicePayload} addDevicePayload
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1094
+ // verify required parameter 'addDevicePayload' is not null or undefined
1095
+ assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
1096
+ const localVarPath = `/v1/device`;
1097
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1099
+ let baseOptions;
1100
+ if (configuration) {
1101
+ baseOptions = configuration.baseOptions;
1102
+ }
1103
+
1104
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1105
+ const localVarHeaderParameter = {} as any;
1106
+ const localVarQueryParameter = {} as any;
1107
+
1108
+ // authentication bearer required
1109
+ // http bearer authentication required
1110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1111
+
1112
+
1113
+
1114
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1115
+
1116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1118
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1119
+ localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
1120
+
1121
+ return {
1122
+ url: toPathString(localVarUrlObj),
1123
+ options: localVarRequestOptions,
1124
+ };
1125
+ },
1126
+ /**
1127
+ *
1128
+ * @param {DeviceUpdatePayload} deviceUpdatePayload
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ */
1132
+ deviceControllerUpdateStatus: async (deviceUpdatePayload: DeviceUpdatePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1133
+ // verify required parameter 'deviceUpdatePayload' is not null or undefined
1134
+ assertParamExists('deviceControllerUpdateStatus', 'deviceUpdatePayload', deviceUpdatePayload)
1135
+ const localVarPath = `/v1/device`;
1136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1138
+ let baseOptions;
1139
+ if (configuration) {
1140
+ baseOptions = configuration.baseOptions;
1141
+ }
1142
+
1143
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
1144
+ const localVarHeaderParameter = {} as any;
1145
+ const localVarQueryParameter = {} as any;
1146
+
1147
+ // authentication bearer required
1148
+ // http bearer authentication required
1149
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1150
+
1151
+
1152
+
1153
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1154
+
1155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1157
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1158
+ localVarRequestOptions.data = serializeDataIfNeeded(deviceUpdatePayload, localVarRequestOptions, configuration)
1159
+
1160
+ return {
1161
+ url: toPathString(localVarUrlObj),
1162
+ options: localVarRequestOptions,
1163
+ };
1164
+ },
1165
+ }
1166
+ };
1167
+
1168
+ /**
1169
+ * DeviceApi - functional programming interface
1170
+ * @export
1171
+ */
1172
+ export const DeviceApiFp = function(configuration?: Configuration) {
1173
+ const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
1174
+ return {
1175
+ /**
1176
+ *
1177
+ * @param {AddDevicePayload} addDevicePayload
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
1182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
1183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1184
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
1185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1186
+ },
1187
+ /**
1188
+ *
1189
+ * @param {DeviceUpdatePayload} deviceUpdatePayload
1190
+ * @param {*} [options] Override http request option.
1191
+ * @throws {RequiredError}
1192
+ */
1193
+ async deviceControllerUpdateStatus(deviceUpdatePayload: DeviceUpdatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceUpdateResponse>> {
1194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerUpdateStatus(deviceUpdatePayload, options);
1195
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1196
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerUpdateStatus']?.[localVarOperationServerIndex]?.url;
1197
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1198
+ },
1199
+ }
1200
+ };
1201
+
1202
+ /**
1203
+ * DeviceApi - factory interface
1204
+ * @export
1205
+ */
1206
+ export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1207
+ const localVarFp = DeviceApiFp(configuration)
1208
+ return {
1209
+ /**
1210
+ *
1211
+ * @param {AddDevicePayload} addDevicePayload
1212
+ * @param {*} [options] Override http request option.
1213
+ * @throws {RequiredError}
1214
+ */
1215
+ deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
1216
+ return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
1217
+ },
1218
+ /**
1219
+ *
1220
+ * @param {DeviceUpdatePayload} deviceUpdatePayload
1221
+ * @param {*} [options] Override http request option.
1222
+ * @throws {RequiredError}
1223
+ */
1224
+ deviceControllerUpdateStatus(deviceUpdatePayload: DeviceUpdatePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceUpdateResponse> {
1225
+ return localVarFp.deviceControllerUpdateStatus(deviceUpdatePayload, options).then((request) => request(axios, basePath));
1226
+ },
1227
+ };
1228
+ };
1229
+
1230
+ /**
1231
+ * DeviceApi - object-oriented interface
1232
+ * @export
1233
+ * @class DeviceApi
1234
+ * @extends {BaseAPI}
1235
+ */
1236
+ export class DeviceApi extends BaseAPI {
1237
+ /**
1238
+ *
1239
+ * @param {AddDevicePayload} addDevicePayload
1240
+ * @param {*} [options] Override http request option.
1241
+ * @throws {RequiredError}
1242
+ * @memberof DeviceApi
1243
+ */
1244
+ public deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig) {
1245
+ return DeviceApiFp(this.configuration).deviceControllerAddDevice(addDevicePayload, options).then((request) => request(this.axios, this.basePath));
1246
+ }
1247
+
1248
+ /**
1249
+ *
1250
+ * @param {DeviceUpdatePayload} deviceUpdatePayload
1251
+ * @param {*} [options] Override http request option.
1252
+ * @throws {RequiredError}
1253
+ * @memberof DeviceApi
1254
+ */
1255
+ public deviceControllerUpdateStatus(deviceUpdatePayload: DeviceUpdatePayload, options?: RawAxiosRequestConfig) {
1256
+ return DeviceApiFp(this.configuration).deviceControllerUpdateStatus(deviceUpdatePayload, options).then((request) => request(this.axios, this.basePath));
1257
+ }
1258
+ }
1259
+
1260
+
1261
+
710
1262
  /**
711
1263
  * GoalsApi - axios parameter creator
712
1264
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.0.7",
3
+ "version": "1.0.9-beta",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},