@collctiv/l2s-models 1.0.78 → 1.0.80
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/dist/entities/settings.d.ts +11 -0
- package/dist/entities/settings.d.ts.map +1 -0
- package/dist/entities/settings.js +25 -0
- package/dist/global/kyc.d.ts +5 -0
- package/dist/global/kyc.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IDataEntity, type ICreatable } from "../global/interfaces.js";
|
|
2
|
+
export declare class Settings implements IDataEntity, ICreatable {
|
|
3
|
+
id: string;
|
|
4
|
+
create_date: Date;
|
|
5
|
+
type: string;
|
|
6
|
+
args: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
constructor(args?: Partial<Settings>);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../entities/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAG5E,qBACa,QAAS,YAAW,WAAW,EAAE,UAAU;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;gBAEjB,IAAI,GAAE,OAAO,CAAC,QAAQ,CAAM;CAGlD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import {} from "../global/interfaces.js";
|
|
11
|
+
import { Collection } from "../global/decorators.js";
|
|
12
|
+
let Settings = class Settings {
|
|
13
|
+
id;
|
|
14
|
+
create_date;
|
|
15
|
+
type;
|
|
16
|
+
args;
|
|
17
|
+
constructor(args = {}) {
|
|
18
|
+
Object.assign(this, args);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
Settings = __decorate([
|
|
22
|
+
Collection("settings"),
|
|
23
|
+
__metadata("design:paramtypes", [Object])
|
|
24
|
+
], Settings);
|
|
25
|
+
export { Settings };
|
package/dist/global/kyc.d.ts
CHANGED
|
@@ -24,4 +24,9 @@ export declare enum KycJourney {
|
|
|
24
24
|
Enhanced = "enhanced"
|
|
25
25
|
}
|
|
26
26
|
export type KycDeclineCode = KycDeclineGovIdCode | KycDeclineSelfieCode | KycDeclineSupDocCode;
|
|
27
|
+
export type KycSettings = Record<KycJourney, KycSettingsJourney>;
|
|
28
|
+
export type KycSettingsJourney = {
|
|
29
|
+
threshold: number;
|
|
30
|
+
journey_id: string;
|
|
31
|
+
};
|
|
27
32
|
//# sourceMappingURL=kyc.d.ts.map
|
package/dist/global/kyc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kyc.d.ts","sourceRoot":"","sources":["../../global/kyc.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,QAA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;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export * from "./entities/order.js";
|
|
|
10
10
|
export * from "./entities/payment.js";
|
|
11
11
|
export * from "./entities/paymentRequest.js";
|
|
12
12
|
export * from "./entities/pot.js";
|
|
13
|
-
export * from "./entities/
|
|
13
|
+
export * from "./entities/settings.js";
|
|
14
14
|
export * from "./entities/user.js";
|
|
15
15
|
export * from "./global/balance.js";
|
|
16
16
|
export * from "./global/decorators.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,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,wBAAwB,CAAC;AACvC,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"}
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export * from "./entities/order.js";
|
|
|
10
10
|
export * from "./entities/payment.js";
|
|
11
11
|
export * from "./entities/paymentRequest.js";
|
|
12
12
|
export * from "./entities/pot.js";
|
|
13
|
-
export * from "./entities/
|
|
13
|
+
export * from "./entities/settings.js";
|
|
14
14
|
export * from "./entities/user.js";
|
|
15
15
|
export * from "./global/balance.js";
|
|
16
16
|
export * from "./global/decorators.js";
|