@gooday_corp/gooday-api-client 1.0.16 → 1.0.17-alpha
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 +32 -5
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -432,11 +432,11 @@ export interface OnBoardingDTO {
|
|
|
432
432
|
*/
|
|
433
433
|
'assistant'?: string;
|
|
434
434
|
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {
|
|
435
|
+
*
|
|
436
|
+
* @type {UserPlanDTO}
|
|
437
437
|
* @memberof OnBoardingDTO
|
|
438
438
|
*/
|
|
439
|
-
'plan'?:
|
|
439
|
+
'plan'?: UserPlanDTO;
|
|
440
440
|
/**
|
|
441
441
|
* Date of Birth
|
|
442
442
|
* @type {string}
|
|
@@ -873,10 +873,10 @@ export interface UserEntity {
|
|
|
873
873
|
'goals': Array<string>;
|
|
874
874
|
/**
|
|
875
875
|
* Plan subscribed by the user
|
|
876
|
-
* @type {
|
|
876
|
+
* @type {UserPlanDTO}
|
|
877
877
|
* @memberof UserEntity
|
|
878
878
|
*/
|
|
879
|
-
'plan':
|
|
879
|
+
'plan': UserPlanDTO;
|
|
880
880
|
/**
|
|
881
881
|
* Action user has to perform
|
|
882
882
|
* @type {Array<string>}
|
|
@@ -903,6 +903,33 @@ export interface UserMeDTO {
|
|
|
903
903
|
*/
|
|
904
904
|
'data': UserEntity;
|
|
905
905
|
}
|
|
906
|
+
/**
|
|
907
|
+
*
|
|
908
|
+
* @export
|
|
909
|
+
* @interface UserPlanDTO
|
|
910
|
+
*/
|
|
911
|
+
export interface UserPlanDTO {
|
|
912
|
+
/**
|
|
913
|
+
* id
|
|
914
|
+
* @type {string}
|
|
915
|
+
* @memberof UserPlanDTO
|
|
916
|
+
*/
|
|
917
|
+
'name': UserPlanDTONameEnum;
|
|
918
|
+
/**
|
|
919
|
+
* id
|
|
920
|
+
* @type {string}
|
|
921
|
+
* @memberof UserPlanDTO
|
|
922
|
+
*/
|
|
923
|
+
'id': string;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export const UserPlanDTONameEnum = {
|
|
927
|
+
Free: 'free',
|
|
928
|
+
Pro: 'pro'
|
|
929
|
+
} as const;
|
|
930
|
+
|
|
931
|
+
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
932
|
+
|
|
906
933
|
/**
|
|
907
934
|
*
|
|
908
935
|
* @export
|