@collctiv/l2s-models 1.0.41-beta.8 → 1.0.41

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 (39) hide show
  1. package/dist/entities/activity.d.ts +45 -26
  2. package/dist/entities/activity.d.ts.map +1 -1
  3. package/dist/entities/activity.js +125 -5
  4. package/dist/entities/balance.d.ts +3 -3
  5. package/dist/entities/balance.d.ts.map +1 -1
  6. package/dist/entities/balance.js +5 -1
  7. package/dist/entities/kyc.d.ts +1 -20
  8. package/dist/entities/kyc.d.ts.map +1 -1
  9. package/dist/entities/kyc.js +25 -14
  10. package/dist/entities/kycEvent.d.ts +1 -36
  11. package/dist/entities/kycEvent.d.ts.map +1 -1
  12. package/dist/entities/kycEvent.js +43 -23
  13. package/dist/entities/kycRequest.d.ts +1 -34
  14. package/dist/entities/kycRequest.d.ts.map +1 -1
  15. package/dist/entities/kycRequest.js +47 -54
  16. package/dist/entities/ledgerItem.d.ts +19 -19
  17. package/dist/entities/ledgerItem.d.ts.map +1 -1
  18. package/dist/entities/ledgerItem.js +43 -24
  19. package/dist/entities/order.d.ts +56 -56
  20. package/dist/entities/order.d.ts.map +1 -1
  21. package/dist/entities/order.js +88 -1
  22. package/dist/entities/payment.d.ts +23 -23
  23. package/dist/entities/payment.d.ts.map +1 -1
  24. package/dist/entities/payment.js +33 -1
  25. package/dist/entities/paymentRequest.d.ts.map +1 -1
  26. package/dist/entities/paymentRequest.js +3 -1
  27. package/dist/entities/pot.d.ts +1 -1
  28. package/dist/entities/pot.d.ts.map +1 -1
  29. package/dist/entities/pot.js +6 -2
  30. package/dist/entities/user.d.ts +0 -4
  31. package/dist/entities/user.d.ts.map +1 -1
  32. package/dist/entities/user.js +1 -13
  33. package/dist/global/kyc.d.ts +1 -21
  34. package/dist/global/kyc.d.ts.map +1 -1
  35. package/dist/global/kyc.js +27 -22
  36. package/dist/index.d.ts +0 -4
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +4 -4
  39. package/package.json +1 -1
@@ -8,19 +8,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import {} from "../global/interfaces.js";
11
- import { Collection, Updatable, Topic, ObjectId, TypeOfObject, TypeOfObjectArray } from "../global/decorators.js";
12
- // TEMP
13
- export class OidTestObject1 {
14
- oid_test_level_3;
15
- }
16
- // ---
11
+ import { Collection, Updatable, Topic } from "../global/decorators.js";
17
12
  let User = class User {
18
13
  id;
19
14
  create_date = new Date();
20
15
  modified_date;
21
- // TEMP --------
22
- oid_test_object;
23
- // -----------------------------------------
24
16
  first_name = null;
25
17
  last_name = null;
26
18
  full_name = null;
@@ -37,10 +29,6 @@ let User = class User {
37
29
  Object.assign(this, args);
38
30
  }
39
31
  };
40
- __decorate([
41
- TypeOfObject(OidTestObject1),
42
- __metadata("design:type", OidTestObject1)
43
- ], User.prototype, "oid_test_object", void 0);
44
32
  __decorate([
45
33
  Updatable(),
46
34
  __metadata("design:type", String)
@@ -1,22 +1,2 @@
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;
1
+ export {};
22
2
  //# sourceMappingURL=kyc.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"kyc.d.ts","sourceRoot":"","sources":["../../global/kyc.ts"],"names":[],"mappings":""}
@@ -1,22 +1,27 @@
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 = {}));
1
+ export {};
2
+ /*
3
+ export type KycDeclineType = "selfie" | "gov_id" | "sup_doc";
4
+
5
+ export enum KycDeclineSelfieCode {
6
+ PosePosition = "pose_position",
7
+ PoseRepeat = "pose_repeat",
8
+ Glasses = "glasses",
9
+ PortraitQuality = "portrait_quality",
10
+ FaceCovering = "face_covering",
11
+ Glare = "glare",
12
+ ImageQuality = "image_quality"
13
+ }
14
+
15
+ export enum KycDeclineGovIdCode {
16
+ AllowedCountry = "allowed_country",
17
+ AllowedIdType = "allowed_type",
18
+ Expiration = "expiration"
19
+ }
20
+
21
+ export enum KycDeclineSupDocCode {
22
+ TypeDetection = "type_detection",
23
+ ProcessableSubmission = "processable_submission",
24
+ RecencyEffectiveDetection = "recency_effective_detection"
25
+ }
26
+
27
+ export type KycDeclineCode = KycDeclineGovIdCode | KycDeclineSelfieCode | KycDeclineSupDocCode;*/
package/dist/index.d.ts CHANGED
@@ -1,9 +1,6 @@
1
1
  export * from "./entities/activity.js";
2
2
  export * from "./entities/balance.js";
3
- export * from "./entities/kyc.js";
4
- export * from "./entities/kycEvent.js";
5
3
  export * from "./entities/giftCard.js";
6
- export * from "./entities/kycRequest.js";
7
4
  export * from "./entities/ledgerItem.js";
8
5
  export * from "./entities/order.js";
9
6
  export * from "./entities/payment.js";
@@ -16,6 +13,5 @@ export * from "./global/decorators.js";
16
13
  export * from "./global/enums.js";
17
14
  export * from "./global/errors.js";
18
15
  export * from "./global/interfaces.js";
19
- export * from "./global/kyc.js";
20
16
  export * from "./global/types.js";
21
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,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;AAChC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AAIvC,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;AAEvC,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  export * from "./entities/activity.js";
2
2
  export * from "./entities/balance.js";
3
- export * from "./entities/kyc.js";
4
- export * from "./entities/kycEvent.js";
5
3
  export * from "./entities/giftCard.js";
6
- export * from "./entities/kycRequest.js";
4
+ //export * from "./entities/kyc.js";
5
+ //export * from "./entities/kycEvent.js";
6
+ //export * from "./entities/kycRequest.js";
7
7
  export * from "./entities/ledgerItem.js";
8
8
  export * from "./entities/order.js";
9
9
  export * from "./entities/payment.js";
@@ -16,5 +16,5 @@ export * from "./global/decorators.js";
16
16
  export * from "./global/enums.js";
17
17
  export * from "./global/errors.js";
18
18
  export * from "./global/interfaces.js";
19
- export * from "./global/kyc.js";
19
+ //export * from "./global/kyc.js";
20
20
  export * from "./global/types.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@collctiv/l2s-models",
3
- "version": "1.0.41-beta.8",
3
+ "version": "1.0.41",
4
4
  "description": "L2S models, interfaces, types and enums",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",