@trusted-solutions/sdit.models 0.48.1-alpha.0 → 0.48.1-alpha.2

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.
@@ -158,10 +158,18 @@ export interface SOGetStoreInfoResponse {
158
158
  */
159
159
  availableGuest?: boolean;
160
160
  /**
161
+ * @deprecated Cognito專用,PoskyIdentity請改用 `userPoolWebClientIdV2`
162
+ *
161
163
  * Cognito user pool web client id
162
- * @Default brand的設定
164
+ * @Default undefined
163
165
  */
164
166
  userPoolWebClientId?: string;
167
+ /**
168
+ * PoskyIdentity web client id
169
+ * 由Brand決定,如果沒有Brand,會給 Posky Default User Pool
170
+ * @Default Posky Default User Pool client id
171
+ */
172
+ userPoolWebClientIdV2: string;
165
173
  /**
166
174
  * 是否啟用集點
167
175
  * @Default brand的設定
@@ -257,6 +265,8 @@ export interface SOValidateMutationResponse {
257
265
  * 本次折抵金額
258
266
  */
259
267
  pointsDiscountAmount?: number;
268
+ /** 點數異常訊息 */
269
+ pointsErrorMsg?: string;
260
270
  }
261
271
  /*******************************/
262
272
  /*******************************/
package/models/store.d.ts CHANGED
@@ -197,10 +197,17 @@ export interface Store {
197
197
  /** 是否開放訪客點餐 */
198
198
  onlineAvailableGuest?: boolean;
199
199
  /**
200
+ * @deprecated 應改用 `onlineUserPoolWebClientIdV2`
201
+ *
200
202
  * 線上點餐登入UserPoolWebClientId
201
- * 單店設定,用來覆蓋 Brand 的 UserPoolWebClientId
203
+ * 單店設定
202
204
  */
203
205
  onlineUserPoolWebClientId?: string;
206
+ /**
207
+ * 線上點餐登入UserPoolWebClientIdV2
208
+ * 單店設定,用來覆蓋 Brand 的 UserPoolWebClientId
209
+ */
210
+ onlineUserPoolWebClientIdV2?: string;
204
211
  /**
205
212
  * 是否啟用集點
206
213
  * 單店設定,用來覆蓋 Brand 的 StorePointsEnabled
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AAiPnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/models/store.ts"],"names":[],"mappings":";;;AAEA,oCAAmH;AAuPnH,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,gCAAe,CAAA;IACf,kDAAiC,CAAA;AACnC,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trusted-solutions/sdit.models",
3
- "version": "0.48.1-alpha.0",
3
+ "version": "0.48.1-alpha.2",
4
4
  "description": "TODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.",
5
5
  "main": "index.js",
6
6
  "scripts": {