@gooday_corp/gooday-api-client 1.0.5 → 1.0.6

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 +44 -7
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -72,25 +72,31 @@ export interface OnBoardingDTO {
72
72
  * @type {string}
73
73
  * @memberof OnBoardingDTO
74
74
  */
75
- 'nickname': string;
75
+ 'nickname'?: string;
76
76
  /**
77
77
  * Gender
78
78
  * @type {string}
79
79
  * @memberof OnBoardingDTO
80
80
  */
81
- 'gender': string;
81
+ 'gender'?: string;
82
+ /**
83
+ * Plan
84
+ * @type {string}
85
+ * @memberof OnBoardingDTO
86
+ */
87
+ 'plan'?: string;
82
88
  /**
83
89
  * Date of Birth
84
90
  * @type {string}
85
91
  * @memberof OnBoardingDTO
86
92
  */
87
- 'dob': string;
93
+ 'dob'?: string;
88
94
  /**
89
95
  * Goals
90
96
  * @type {Array<string>}
91
97
  * @memberof OnBoardingDTO
92
98
  */
93
- 'goals': Array<string>;
99
+ 'goals'?: Array<string>;
94
100
  }
95
101
  /**
96
102
  *
@@ -129,6 +135,12 @@ export interface PlanEntity {
129
135
  * @memberof PlanEntity
130
136
  */
131
137
  'name': string;
138
+ /**
139
+ *
140
+ * @type {string}
141
+ * @memberof PlanEntity
142
+ */
143
+ 'description': string;
132
144
  /**
133
145
  * Array of features included in the plan
134
146
  * @type {Array<PlanFeature>}
@@ -141,6 +153,12 @@ export interface PlanEntity {
141
153
  * @memberof PlanEntity
142
154
  */
143
155
  'prices': Array<PriceEntity>;
156
+ /**
157
+ * Background Image
158
+ * @type {string}
159
+ * @memberof PlanEntity
160
+ */
161
+ 'image': string;
144
162
  }
145
163
  /**
146
164
  *
@@ -161,6 +179,25 @@ export interface PlanFeature {
161
179
  */
162
180
  'children': Array<PlanFeature>;
163
181
  }
182
+ /**
183
+ *
184
+ * @export
185
+ * @interface PlanResponseDTO
186
+ */
187
+ export interface PlanResponseDTO {
188
+ /**
189
+ * Message
190
+ * @type {string}
191
+ * @memberof PlanResponseDTO
192
+ */
193
+ 'message': string;
194
+ /**
195
+ * Message
196
+ * @type {Array<PlanEntity>}
197
+ * @memberof PlanResponseDTO
198
+ */
199
+ 'data': Array<PlanEntity>;
200
+ }
164
201
  /**
165
202
  *
166
203
  * @export
@@ -413,7 +450,7 @@ export const UserEntityNextStepEnum = {
413
450
  NickName: 'nick_name',
414
451
  Dob: 'dob',
415
452
  Gender: 'gender',
416
- Recommendations: 'recommendations',
453
+ Goals: 'goals',
417
454
  Plan: 'plan'
418
455
  } as const;
419
456
 
@@ -817,7 +854,7 @@ export const PlansApiFp = function(configuration?: Configuration) {
817
854
  * @param {*} [options] Override http request option.
818
855
  * @throws {RequiredError}
819
856
  */
820
- async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PlanEntity>>> {
857
+ async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
821
858
  const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
822
859
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
823
860
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
@@ -838,7 +875,7 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
838
875
  * @param {*} [options] Override http request option.
839
876
  * @throws {RequiredError}
840
877
  */
841
- paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<Array<PlanEntity>> {
878
+ paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
842
879
  return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
843
880
  },
844
881
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},