@collctiv/l2s-models 1.0.0
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/README.md +2 -0
- package/dist/entities/giftCard.d.ts +24 -0
- package/dist/entities/giftCard.d.ts.map +1 -0
- package/dist/entities/giftCard.js +34 -0
- package/dist/entities/kyc.d.ts +21 -0
- package/dist/entities/kyc.d.ts.map +1 -0
- package/dist/entities/kyc.js +19 -0
- package/dist/entities/kycEvent.d.ts +37 -0
- package/dist/entities/kycEvent.d.ts.map +1 -0
- package/dist/entities/kycEvent.js +26 -0
- package/dist/entities/kycRequest.d.ts +35 -0
- package/dist/entities/kycRequest.d.ts.map +1 -0
- package/dist/entities/kycRequest.js +61 -0
- package/dist/entities/ledgerItem.d.ts +45 -0
- package/dist/entities/ledgerItem.d.ts.map +1 -0
- package/dist/entities/ledgerItem.js +56 -0
- package/dist/entities/order.d.ts +131 -0
- package/dist/entities/order.d.ts.map +1 -0
- package/dist/entities/order.js +86 -0
- package/dist/entities/payment.d.ts +73 -0
- package/dist/entities/payment.d.ts.map +1 -0
- package/dist/entities/payment.js +91 -0
- package/dist/entities/paymentRequest.d.ts +29 -0
- package/dist/entities/paymentRequest.d.ts.map +1 -0
- package/dist/entities/paymentRequest.js +55 -0
- package/dist/entities/pot.d.ts +33 -0
- package/dist/entities/pot.d.ts.map +1 -0
- package/dist/entities/pot.js +78 -0
- package/dist/entities/setting.d.ts +11 -0
- package/dist/entities/setting.d.ts.map +1 -0
- package/dist/entities/setting.js +25 -0
- package/dist/entities/user.d.ts +45 -0
- package/dist/entities/user.d.ts.map +1 -0
- package/dist/entities/user.js +130 -0
- package/dist/global/balance.d.ts +207 -0
- package/dist/global/balance.d.ts.map +1 -0
- package/dist/global/balance.js +510 -0
- package/dist/global/decorators.d.ts +8 -0
- package/dist/global/decorators.d.ts.map +1 -0
- package/dist/global/decorators.js +31 -0
- package/dist/global/enums.d.ts +16 -0
- package/dist/global/enums.d.ts.map +1 -0
- package/dist/global/enums.js +20 -0
- package/dist/global/errors.d.ts +22 -0
- package/dist/global/errors.d.ts.map +1 -0
- package/dist/global/errors.js +35 -0
- package/dist/global/interfaces.d.ts +14 -0
- package/dist/global/interfaces.d.ts.map +1 -0
- package/dist/global/interfaces.js +1 -0
- package/dist/global/kyc.d.ts +22 -0
- package/dist/global/kyc.d.ts.map +1 -0
- package/dist/global/kyc.js +22 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/package.json +32 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type KycDeclineType = "selfie" | "gov_id" | "sup_doc";
|
|
2
|
+
export declare enum KycDeclineSelfieCode {
|
|
3
|
+
PosePosition = "pose_position",
|
|
4
|
+
PoseRepeat = "pose_repeat",
|
|
5
|
+
Glasses = "glasses",
|
|
6
|
+
PortraitQuality = "portrait_quality",
|
|
7
|
+
FaceCovering = "face_covering",
|
|
8
|
+
Glare = "glare",
|
|
9
|
+
ImageQuality = "image_quality"
|
|
10
|
+
}
|
|
11
|
+
export declare enum KycDeclineGovIdCode {
|
|
12
|
+
AllowedCountry = "allowed_country",
|
|
13
|
+
AllowedIdType = "allowed_type",
|
|
14
|
+
Expiration = "expiration"
|
|
15
|
+
}
|
|
16
|
+
export declare enum KycDeclineSupDocCode {
|
|
17
|
+
TypeDetection = "type_detection",
|
|
18
|
+
ProcessableSubmission = "processable_submission",
|
|
19
|
+
RecencyEffectiveDetection = "recency_effective_detection"
|
|
20
|
+
}
|
|
21
|
+
export type KycDeclineCode = KycDeclineGovIdCode | KycDeclineSelfieCode | KycDeclineSupDocCode;
|
|
22
|
+
//# sourceMappingURL=kyc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kyc.d.ts","sourceRoot":"","sources":["../../global/kyc.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE7D,oBAAY,oBAAoB;IAC5B,YAAY,kBAAkB;IAC9B,UAAU,gBAAgB;IAC1B,OAAO,YAAY;IACnB,eAAe,qBAAqB;IACpC,YAAY,kBAAkB;IAC9B,KAAK,UAAU;IACf,YAAY,kBAAkB;CACjC;AAED,oBAAY,mBAAmB;IAC3B,cAAc,oBAAoB;IAClC,aAAa,iBAAiB;IAC9B,UAAU,eAAe;CAC5B;AAED,oBAAY,oBAAoB;IAC5B,aAAa,mBAAmB;IAChC,qBAAqB,2BAA2B;IAChD,yBAAyB,gCAAgC;CAC5D;AAED,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export var KycDeclineSelfieCode;
|
|
2
|
+
(function (KycDeclineSelfieCode) {
|
|
3
|
+
KycDeclineSelfieCode["PosePosition"] = "pose_position";
|
|
4
|
+
KycDeclineSelfieCode["PoseRepeat"] = "pose_repeat";
|
|
5
|
+
KycDeclineSelfieCode["Glasses"] = "glasses";
|
|
6
|
+
KycDeclineSelfieCode["PortraitQuality"] = "portrait_quality";
|
|
7
|
+
KycDeclineSelfieCode["FaceCovering"] = "face_covering";
|
|
8
|
+
KycDeclineSelfieCode["Glare"] = "glare";
|
|
9
|
+
KycDeclineSelfieCode["ImageQuality"] = "image_quality";
|
|
10
|
+
})(KycDeclineSelfieCode || (KycDeclineSelfieCode = {}));
|
|
11
|
+
export var KycDeclineGovIdCode;
|
|
12
|
+
(function (KycDeclineGovIdCode) {
|
|
13
|
+
KycDeclineGovIdCode["AllowedCountry"] = "allowed_country";
|
|
14
|
+
KycDeclineGovIdCode["AllowedIdType"] = "allowed_type";
|
|
15
|
+
KycDeclineGovIdCode["Expiration"] = "expiration";
|
|
16
|
+
})(KycDeclineGovIdCode || (KycDeclineGovIdCode = {}));
|
|
17
|
+
export var KycDeclineSupDocCode;
|
|
18
|
+
(function (KycDeclineSupDocCode) {
|
|
19
|
+
KycDeclineSupDocCode["TypeDetection"] = "type_detection";
|
|
20
|
+
KycDeclineSupDocCode["ProcessableSubmission"] = "processable_submission";
|
|
21
|
+
KycDeclineSupDocCode["RecencyEffectiveDetection"] = "recency_effective_detection";
|
|
22
|
+
})(KycDeclineSupDocCode || (KycDeclineSupDocCode = {}));
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./entities/kyc.js";
|
|
2
|
+
export * from "./entities/kycEvent.js";
|
|
3
|
+
export * from "./entities/giftCard.js";
|
|
4
|
+
export * from "./entities/kycRequest.js";
|
|
5
|
+
export * from "./entities/ledgerItem.js";
|
|
6
|
+
export * from "./entities/order.js";
|
|
7
|
+
export * from "./entities/payment.js";
|
|
8
|
+
export * from "./entities/paymentRequest.js";
|
|
9
|
+
export * from "./entities/pot.js";
|
|
10
|
+
export * from "./entities/setting.js";
|
|
11
|
+
export * from "./entities/user.js";
|
|
12
|
+
export * from "./global/balance.js";
|
|
13
|
+
export * from "./global/decorators.js";
|
|
14
|
+
export * from "./global/enums.js";
|
|
15
|
+
export * from "./global/errors.js";
|
|
16
|
+
export * from "./global/interfaces.js";
|
|
17
|
+
export * from "./global/kyc.js";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "./entities/kyc.js";
|
|
2
|
+
export * from "./entities/kycEvent.js";
|
|
3
|
+
export * from "./entities/giftCard.js";
|
|
4
|
+
export * from "./entities/kycRequest.js";
|
|
5
|
+
export * from "./entities/ledgerItem.js";
|
|
6
|
+
export * from "./entities/order.js";
|
|
7
|
+
export * from "./entities/payment.js";
|
|
8
|
+
export * from "./entities/paymentRequest.js";
|
|
9
|
+
export * from "./entities/pot.js";
|
|
10
|
+
export * from "./entities/setting.js";
|
|
11
|
+
export * from "./entities/user.js";
|
|
12
|
+
export * from "./global/balance.js";
|
|
13
|
+
export * from "./global/decorators.js";
|
|
14
|
+
export * from "./global/enums.js";
|
|
15
|
+
export * from "./global/errors.js";
|
|
16
|
+
export * from "./global/interfaces.js";
|
|
17
|
+
export * from "./global/kyc.js";
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@collctiv/l2s-models",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "L2S models, interfaces, types and enums",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "jest \"tests/.*\\.test\\.ts\"",
|
|
12
|
+
"build": "tsc"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/Collctiv/l2s-models.git"
|
|
17
|
+
},
|
|
18
|
+
"author": "",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/Collctiv/l2s-models/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/Collctiv/l2s-models#readme",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"reflect-metadata": "^0.2.2"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^25.6.0",
|
|
29
|
+
"ts-node": "^10.9.2",
|
|
30
|
+
"typescript": "^6.0.3"
|
|
31
|
+
}
|
|
32
|
+
}
|