@trusted-solutions/sdit.models 0.17.0-alpha.0 → 0.17.0-alpha.4
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/enums/table-index.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ export declare enum DataTableIndex {
|
|
|
14
14
|
phone = "phone-index",
|
|
15
15
|
email = "email-index",
|
|
16
16
|
lastVisitTime = "lastVisitTime-index",
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
gsi1PkSortKey = "gsi1Pk-sortKey-index",
|
|
18
|
+
gsi2PkSortKey = "gsi2Pk-sortKey-index"
|
|
19
19
|
}
|
package/enums/table-index.js
CHANGED
|
@@ -20,7 +20,7 @@ var DataTableIndex;
|
|
|
20
20
|
DataTableIndex["phone"] = "phone-index";
|
|
21
21
|
DataTableIndex["email"] = "email-index";
|
|
22
22
|
DataTableIndex["lastVisitTime"] = "lastVisitTime-index";
|
|
23
|
-
DataTableIndex["
|
|
24
|
-
DataTableIndex["
|
|
23
|
+
DataTableIndex["gsi1PkSortKey"] = "gsi1Pk-sortKey-index";
|
|
24
|
+
DataTableIndex["gsi2PkSortKey"] = "gsi2Pk-sortKey-index";
|
|
25
25
|
})(DataTableIndex = exports.DataTableIndex || (exports.DataTableIndex = {}));
|
|
26
26
|
//# sourceMappingURL=table-index.js.map
|
package/enums/table-index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-index.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/table-index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAE7B,2CAA2C;IAC3C,gDAA6B,CAAA;IAC7B,gDAA6B,CAAA;AACjC,CAAC,EAVW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAU1B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACtB,2DAAyC,CAAA;IACzC,2CAAyB,CAAA;IACzB,oEAAkD,CAAA;IAClD,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,uDAAqC,CAAA;IACrC,
|
|
1
|
+
{"version":3,"file":"table-index.js","sourceRoot":"","sources":["../../../projects/sdit-model-lib/src/enums/table-index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAUX;AAVD,WAAY,eAAe;IACvB,kCAAe,CAAA;IACf,wDAAqC,CAAA;IACrC,kDAA+B,CAAA;IAC/B,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;IAE7B,2CAA2C;IAC3C,gDAA6B,CAAA;IAC7B,gDAA6B,CAAA;AACjC,CAAC,EAVW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAU1B;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACtB,2DAAyC,CAAA;IACzC,2CAAyB,CAAA;IACzB,oEAAkD,CAAA;IAClD,uCAAqB,CAAA;IACrB,uCAAqB,CAAA;IACrB,uDAAqC,CAAA;IACrC,wDAAsC,CAAA;IACtC,wDAAsC,CAAA;AAC1C,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
|
|
@@ -41,6 +41,15 @@ export interface CancelOnlineOrderResponse {
|
|
|
41
41
|
partialUpdateOrder: Partial<Order>;
|
|
42
42
|
voidedReceipt?: Receipt;
|
|
43
43
|
}
|
|
44
|
+
export interface CompleteOnlineOrderRequest {
|
|
45
|
+
storeId: string;
|
|
46
|
+
orderId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface CompleteOnlineOrderResponse {
|
|
49
|
+
storeId: string;
|
|
50
|
+
orderId: string;
|
|
51
|
+
partialUpdateOrder: Partial<Order>;
|
|
52
|
+
}
|
|
44
53
|
export interface GetOMMConfigRequest {
|
|
45
54
|
storeId: string;
|
|
46
55
|
onlinePlatformType: OnlinePlatformType;
|
|
@@ -3,19 +3,6 @@ import { BetweenValue } from "./dynamodb-filters";
|
|
|
3
3
|
export interface DynamoDBIndex<T> {
|
|
4
4
|
name: T;
|
|
5
5
|
value?: IndexType;
|
|
6
|
-
/**
|
|
7
|
-
* Default Value:
|
|
8
|
-
* `name.split('-')[0]`
|
|
9
|
-
*/
|
|
10
|
-
hashKey?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Default Value:
|
|
13
|
-
* ```
|
|
14
|
-
* const array = name.split("-")
|
|
15
|
-
* (array.length === 2) ? array[0] : array[1];
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
rangeKey?: string;
|
|
19
6
|
GSIPartitionKeyValue?: any;
|
|
20
7
|
}
|
|
21
8
|
export interface IndexType {
|
|
@@ -61,3 +61,9 @@ export interface NcccVX520PaymentConfig extends BasePaymentConfig {
|
|
|
61
61
|
type: PaymentType.chinaUnionPay | PaymentType.creditCard | PaymentType.easyCard | PaymentType.iPass | PaymentType.iCash | PaymentType.happyCash;
|
|
62
62
|
ip: string;
|
|
63
63
|
}
|
|
64
|
+
export interface MyPayPayPagePaymentConfig extends BasePaymentConfig {
|
|
65
|
+
provider: PaymentServiceProvider.MyPayPayPage;
|
|
66
|
+
type: PaymentType.unknown;
|
|
67
|
+
storeUid: string;
|
|
68
|
+
storeKey: string;
|
|
69
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trusted-solutions/sdit.models",
|
|
3
|
-
"version": "0.17.0-alpha.
|
|
3
|
+
"version": "0.17.0-alpha.4",
|
|
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": {
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"license": "ISC",
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"moment": "^2.29.1",
|
|
18
|
-
"ng-packagr": "11",
|
|
19
18
|
"uuid": "^8.3.1"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|