@collctiv/l2s-models 1.0.4 → 1.0.6
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/giftCard.d.ts +1 -1
- package/dist/entities/giftCard.d.ts.map +1 -1
- package/dist/entities/giftCard.js +0 -1
- package/dist/entities/ledgerItem.d.ts +1 -1
- package/dist/entities/ledgerItem.d.ts.map +1 -1
- package/dist/entities/ledgerItem.js +0 -1
- package/dist/entities/order.d.ts +1 -1
- package/dist/entities/order.d.ts.map +1 -1
- package/dist/entities/order.js +0 -1
- package/dist/entities/payment.d.ts +3 -9
- package/dist/entities/payment.d.ts.map +1 -1
- package/dist/entities/payment.js +3 -14
- package/dist/entities/user.d.ts +1 -16
- package/dist/entities/user.d.ts.map +1 -1
- package/dist/entities/user.js +3 -38
- package/dist/global/balance.d.ts +1 -1
- package/dist/global/balance.d.ts.map +1 -1
- package/dist/global/balance.js +37 -38
- package/dist/global/enums.d.ts +0 -6
- package/dist/global/enums.d.ts.map +1 -1
- package/dist/global/enums.js +0 -8
- package/dist/global/types.d.ts +3 -0
- package/dist/global/types.d.ts.map +1 -0
- package/dist/global/types.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IDataEntity, type ICreatable } from "../global/interfaces.js";
|
|
2
|
-
import { Country, Currency } from "../global/
|
|
2
|
+
import type { Country, Currency } from "../global/types.js";
|
|
3
3
|
export declare class GiftCard implements IDataEntity, ICreatable {
|
|
4
4
|
id: string;
|
|
5
5
|
create_date: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"giftCard.d.ts","sourceRoot":"","sources":["../../entities/giftCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE5E,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"giftCard.d.ts","sourceRoot":"","sources":["../../entities/giftCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE5E,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE5D,qBACa,QAAS,YAAW,WAAW,EAAE,UAAU;IAE7C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,oBAAoB,CAAC;IACvC,SAAS,EAAE,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC,CAAC;IACnE,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;gBAEN,IAAI,GAAE,OAAO,CAAC,QAAQ,CAAM;CAGlD;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,OAAO,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACxB,CAAA"}
|
|
@@ -9,7 +9,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import {} from "../global/interfaces.js";
|
|
11
11
|
import { Collection } from "../global/decorators.js";
|
|
12
|
-
import { Country, Currency } from "../global/enums.js";
|
|
13
12
|
let GiftCard = class GiftCard {
|
|
14
13
|
id;
|
|
15
14
|
create_date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IDataEntity } from "../global/interfaces.js";
|
|
2
|
-
import { Currency } from "../global/
|
|
2
|
+
import type { Currency } from "../global/types.js";
|
|
3
3
|
import { LedgerOperation, LedgerStatus, LedgerTypeInternal } from "../global/balance.js";
|
|
4
4
|
export declare class LedgerItem implements IDataEntity {
|
|
5
5
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledgerItem.d.ts","sourceRoot":"","sources":["../../entities/ledgerItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ledgerItem.d.ts","sourceRoot":"","sources":["../../entities/ledgerItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGzF,qBACa,UAAW,YAAW,WAAW;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,aAAa,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC9C;AAED,qBAAa,cAAc;IAChB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,aAAa;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,qBAAa,oBAAoB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,kBAAkB;IAC3B,MAAM,EAAE,MAAM,CAAK;CACtB;AAED,qBAAa,sBAAsB;aACI,OAAO,EAAE,MAAM;gBAAf,OAAO,GAAE,MAAU;CACzD;AAED,oBAAY,QAAQ;IAChB,OAAO,gBAAgB;CAC1B"}
|
|
@@ -5,7 +5,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import {} from "../global/interfaces.js";
|
|
8
|
-
import { Currency } from "../global/enums.js";
|
|
9
8
|
import { LedgerOperation, LedgerStatus, LedgerTypeInternal } from "../global/balance.js";
|
|
10
9
|
import { Collection } from "../global/decorators.js";
|
|
11
10
|
let LedgerItem = class LedgerItem {
|
package/dist/entities/order.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type IDataEntity, type ICreatable, type IModifiable } from "../global/interfaces.js";
|
|
2
|
-
import { Currency } from "../global/
|
|
2
|
+
import type { Currency } from "../global/types.js";
|
|
3
3
|
export declare class Order implements IDataEntity, ICreatable, IModifiable {
|
|
4
4
|
id: string;
|
|
5
5
|
create_date: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../entities/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE9F,OAAO,EAAE,QAAQ,EAAE,M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;KAAE,CAAC;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,IAAI,CAAC;CACzB,CAAA"}
|
package/dist/entities/order.js
CHANGED
|
@@ -9,7 +9,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
};
|
|
10
10
|
import {} from "../global/interfaces.js";
|
|
11
11
|
import { Collection, Topic, Updatable, TransactionId } from "../global/decorators.js";
|
|
12
|
-
import { Currency } from "../global/enums.js";
|
|
13
12
|
let Order = class Order {
|
|
14
13
|
id;
|
|
15
14
|
create_date = new Date();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type IDataEntity, type ICreatable, type IModifiable, type IUpsertable } from "../global/interfaces.js";
|
|
2
2
|
import { PaymentProviderType } from "../global/enums.js";
|
|
3
|
+
import type { Currency } from "../global/types.js";
|
|
3
4
|
export declare class Payment implements IDataEntity, ICreatable, IModifiable, IUpsertable {
|
|
4
5
|
id: string;
|
|
5
6
|
create_date: Date;
|
|
6
7
|
modified_date: Date | null;
|
|
7
|
-
available_date: Date;
|
|
8
8
|
amount: number;
|
|
9
9
|
transaction_id: string;
|
|
10
10
|
billing_details: PaymentBillingDetails;
|
|
@@ -14,18 +14,12 @@ export declare class Payment implements IDataEntity, ICreatable, IModifiable, IU
|
|
|
14
14
|
message: string;
|
|
15
15
|
marketing_opt_in: PaymentMarketingOptIn;
|
|
16
16
|
metadata: any;
|
|
17
|
-
thank_you_sent: boolean;
|
|
18
17
|
provider: PaymentProviderType;
|
|
19
|
-
|
|
20
|
-
currency: string;
|
|
18
|
+
currency: Currency;
|
|
21
19
|
fee: number;
|
|
20
|
+
tip: number;
|
|
22
21
|
intent: string;
|
|
23
22
|
pot: PaymentPot;
|
|
24
|
-
service_fee: number;
|
|
25
|
-
subscription_fee: number;
|
|
26
|
-
order_id: string;
|
|
27
|
-
referral_id: string;
|
|
28
|
-
app_fee_amount: number;
|
|
29
23
|
constructor(args?: Partial<Payment>);
|
|
30
24
|
}
|
|
31
25
|
export declare enum PaymentStatus {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../entities/payment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChH,OAAO,
|
|
1
|
+
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../entities/payment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAChH,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,qBAEa,OAAQ,YAAW,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAc;IAC/B,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAK;IACnB,cAAc,EAAE,MAAM,CAAQ;IAC9B,eAAe,EAAE,qBAAqB,CAAM;IAC5C,sBAAsB,EAAE,oBAAoB,CAAM;IAGlD,MAAM,EAAE,aAAa,CAAyB;IAG9C,SAAS,EAAE,OAAO,CAAS;IAG3B,OAAO,EAAE,MAAM,CAAM;IAGrB,gBAAgB,EAAE,qBAAqB,CAAoB;IAG3D,QAAQ,EAAE,GAAG,CAAM;IAEnB,QAAQ,EAAE,mBAAmB,CAAQ;IACrC,QAAQ,EAAE,QAAQ,CAAS;IAC3B,GAAG,EAAE,MAAM,CAAK;IAChB,GAAG,EAAE,MAAM,CAAK;IAChB,MAAM,EAAE,MAAM,CA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
10
|
import { Collection, Updatable, TransactionId } from "../global/decorators.js";
|
|
11
11
|
import {} from "../global/interfaces.js";
|
|
12
|
-
import {
|
|
12
|
+
import { PaymentProviderType } from "../global/enums.js";
|
|
13
13
|
let Payment = class Payment {
|
|
14
14
|
id;
|
|
15
15
|
create_date = new Date();
|
|
16
16
|
modified_date;
|
|
17
|
-
available_date = null;
|
|
18
17
|
amount = 0;
|
|
19
18
|
transaction_id = null;
|
|
20
19
|
billing_details = {};
|
|
@@ -24,18 +23,12 @@ let Payment = class Payment {
|
|
|
24
23
|
message = "";
|
|
25
24
|
marketing_opt_in = { email: false };
|
|
26
25
|
metadata = {};
|
|
27
|
-
thank_you_sent = false;
|
|
28
26
|
provider = null;
|
|
29
|
-
|
|
30
|
-
currency = Currency.GBP;
|
|
27
|
+
currency = "gbp";
|
|
31
28
|
fee = 0;
|
|
29
|
+
tip = 0;
|
|
32
30
|
intent = null;
|
|
33
31
|
pot = {};
|
|
34
|
-
service_fee = 0;
|
|
35
|
-
subscription_fee = 0;
|
|
36
|
-
order_id = null;
|
|
37
|
-
referral_id = null;
|
|
38
|
-
app_fee_amount = 0;
|
|
39
32
|
constructor(args = {}) {
|
|
40
33
|
Object.assign(this, args);
|
|
41
34
|
}
|
|
@@ -60,10 +53,6 @@ __decorate([
|
|
|
60
53
|
Updatable(),
|
|
61
54
|
__metadata("design:type", Object)
|
|
62
55
|
], Payment.prototype, "metadata", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
Updatable(),
|
|
65
|
-
__metadata("design:type", Boolean)
|
|
66
|
-
], Payment.prototype, "thank_you_sent", void 0);
|
|
67
56
|
Payment = __decorate([
|
|
68
57
|
Collection("payments"),
|
|
69
58
|
TransactionId("transaction_id"),
|
package/dist/entities/user.d.ts
CHANGED
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import { type IDataEntity, type ICreatable, type IModifiable, type IUpsertable } from "../global/interfaces.js";
|
|
2
|
-
import { Country, Currency
|
|
2
|
+
import type { Country, Currency } from "../global/types.js";
|
|
3
3
|
export declare class User implements IDataEntity, ICreatable, IModifiable, IUpsertable {
|
|
4
4
|
id: string;
|
|
5
5
|
create_date: Date;
|
|
6
6
|
modified_date: Date | null;
|
|
7
|
-
company_id: string;
|
|
8
7
|
first_name: string;
|
|
9
8
|
last_name: string;
|
|
10
9
|
full_name: string;
|
|
11
10
|
type: UserType;
|
|
12
11
|
email: string;
|
|
13
|
-
kyc?: UserKyc[];
|
|
14
12
|
country: Country;
|
|
15
13
|
currency: Currency;
|
|
16
14
|
gdpr_approved: boolean;
|
|
17
15
|
status: UserStatus;
|
|
18
16
|
id_verified: boolean;
|
|
19
17
|
profile_image: string;
|
|
20
|
-
providers: UserProviders;
|
|
21
18
|
email_verified: boolean;
|
|
22
19
|
constructor(args?: Partial<User>);
|
|
23
20
|
}
|
|
@@ -30,16 +27,4 @@ export declare enum UserStatus {
|
|
|
30
27
|
export declare enum UserType {
|
|
31
28
|
Individual = "individual"
|
|
32
29
|
}
|
|
33
|
-
export type UserProviders = {
|
|
34
|
-
kyc: KycProviderType;
|
|
35
|
-
bank_payouts: PayoutAccountProvider;
|
|
36
|
-
};
|
|
37
|
-
export declare class UserKyc {
|
|
38
|
-
readonly external_id: string;
|
|
39
|
-
readonly first_name: string;
|
|
40
|
-
readonly middle_name: string;
|
|
41
|
-
readonly last_name: string;
|
|
42
|
-
readonly full_name: string;
|
|
43
|
-
constructor(external_id: string, first_name: string, middle_name: string, last_name: string);
|
|
44
|
-
}
|
|
45
30
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../entities/user.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,WAAW,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../entities/user.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,WAAW,EACnB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE5D,qBACa,IAAK,YAAW,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW;IAEnE,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAc;IAC/B,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAG3B,UAAU,EAAE,MAAM,CAAQ;IAG1B,SAAS,EAAE,MAAM,CAAQ;IAGzB,SAAS,EAAE,MAAM,CAAQ;IAGzB,IAAI,EAAE,QAAQ,CAAuB;IAGrC,KAAK,EAAE,MAAM,CAAQ;IAGrB,OAAO,EAAE,OAAO,CAAQ;IAGxB,QAAQ,EAAE,QAAQ,CAAS;IAG3B,aAAa,EAAE,OAAO,CAAS;IAG/B,MAAM,EAAE,UAAU,CAAqB;IAGvC,WAAW,EAAE,OAAO,CAAS;IAG7B,aAAa,EAAE,MAAM,CAAQ;IAG7B,cAAc,EAAE,OAAO,CAAS;gBAEpB,IAAI,GAAE,OAAO,CAAC,IAAI,CAAM;CAG9C;AAED,oBAAY,UAAU;IAClB,MAAM,WAAW;IACjB,aAAa,mBAAmB;IAChC,MAAM,WAAW;IACjB,QAAQ,aAAa;CACxB;AAED,oBAAY,QAAQ;IAChB,UAAU,eAAe;CAC5B"}
|
package/dist/entities/user.js
CHANGED
|
@@ -8,36 +8,27 @@ 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
|
|
12
|
-
import { Country, Currency, KycProviderType, PayoutAccountProvider } from "../global/enums.js";
|
|
11
|
+
import { Collection, Updatable } from "../global/decorators.js";
|
|
13
12
|
let User = class User {
|
|
14
13
|
id;
|
|
15
14
|
create_date = new Date();
|
|
16
15
|
modified_date;
|
|
17
|
-
company_id = null;
|
|
18
16
|
first_name = null;
|
|
19
17
|
last_name = null;
|
|
20
18
|
full_name = null;
|
|
21
19
|
type = UserType.Individual;
|
|
22
20
|
email = null;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
currency = Currency.GBP;
|
|
21
|
+
country = "GB";
|
|
22
|
+
currency = "gbp";
|
|
26
23
|
gdpr_approved = false;
|
|
27
24
|
status = UserStatus.Active;
|
|
28
25
|
id_verified = false;
|
|
29
26
|
profile_image = null;
|
|
30
|
-
providers;
|
|
31
27
|
email_verified = false;
|
|
32
28
|
constructor(args = {}) {
|
|
33
29
|
Object.assign(this, args);
|
|
34
30
|
}
|
|
35
31
|
};
|
|
36
|
-
__decorate([
|
|
37
|
-
Updatable(),
|
|
38
|
-
ObjectId(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], User.prototype, "company_id", void 0);
|
|
41
32
|
__decorate([
|
|
42
33
|
Updatable(),
|
|
43
34
|
__metadata("design:type", String)
|
|
@@ -58,10 +49,6 @@ __decorate([
|
|
|
58
49
|
Updatable(),
|
|
59
50
|
__metadata("design:type", String)
|
|
60
51
|
], User.prototype, "email", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
Updatable(),
|
|
63
|
-
__metadata("design:type", Array)
|
|
64
|
-
], User.prototype, "kyc", void 0);
|
|
65
52
|
__decorate([
|
|
66
53
|
Updatable(),
|
|
67
54
|
__metadata("design:type", String)
|
|
@@ -86,10 +73,6 @@ __decorate([
|
|
|
86
73
|
Updatable(),
|
|
87
74
|
__metadata("design:type", String)
|
|
88
75
|
], User.prototype, "profile_image", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
Updatable(),
|
|
91
|
-
__metadata("design:type", Object)
|
|
92
|
-
], User.prototype, "providers", void 0);
|
|
93
76
|
__decorate([
|
|
94
77
|
Updatable(),
|
|
95
78
|
__metadata("design:type", Boolean)
|
|
@@ -110,21 +93,3 @@ export var UserType;
|
|
|
110
93
|
(function (UserType) {
|
|
111
94
|
UserType["Individual"] = "individual";
|
|
112
95
|
})(UserType || (UserType = {}));
|
|
113
|
-
export class UserKyc {
|
|
114
|
-
external_id;
|
|
115
|
-
first_name;
|
|
116
|
-
middle_name;
|
|
117
|
-
last_name;
|
|
118
|
-
full_name;
|
|
119
|
-
constructor(external_id, first_name, middle_name, last_name) {
|
|
120
|
-
this.external_id = external_id;
|
|
121
|
-
this.first_name = first_name;
|
|
122
|
-
this.middle_name = middle_name;
|
|
123
|
-
this.last_name = last_name;
|
|
124
|
-
this.full_name = this.first_name;
|
|
125
|
-
if (this.middle_name) {
|
|
126
|
-
this.full_name += ` ${this.middle_name}`;
|
|
127
|
-
}
|
|
128
|
-
this.full_name += ` ${this.last_name}`;
|
|
129
|
-
}
|
|
130
|
-
}
|
package/dist/global/balance.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../global/balance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../global/balance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAS3C,oBAAY,aAAa;IACrB,GAAG,QAAQ;CACd;AAED,oBAAY,eAAe;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;CAClB;AAED,oBAAY,kBAAkB;IAE1B,eAAe,qBAAqB;IACpC,eAAe,qBAAqB;IACpC,mBAAmB,0BAA0B;IAC7C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,wBAAwB,+BAA+B;IACvD,uBAAuB,+BAA+B;IACtD,gBAA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kB,YAAW,kBAAkB;gBACvE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,GAAE,QAAgB;CAQvF;AAED,qBAAa,iCAAkC,SAAQ,iBAAkB,YAAW,kBAAkB;gBAE9F,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,QAAQ,GAAE,QAAgB,EAC1B,MAAM,GAAE,MAAa;CAS5B;AAED,qBAAa,wBAAyB,SAAQ,iBAAkB,YAAW,kBAAkB;gBAErF,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAE,QAAgB;CAgBjF;AAED,qBAAa,uBAAwB,SAAQ,iBAAkB,YAAW,kBAAkB;gBAEpF,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAE,QAAgB;CAgBjF"}
|
package/dist/global/balance.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Currency } from "./enums.js";
|
|
2
1
|
import { InvalidOperationError } from "./errors.js";
|
|
3
2
|
// TODO: need to go through this and confirm all the ledger types for L2S
|
|
4
3
|
export var BalanceClient;
|
|
@@ -83,7 +82,7 @@ export class LedgerTransaction {
|
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
export class PaymentReceivedTransaction extends LedgerTransaction {
|
|
86
|
-
constructor(amount, currency =
|
|
85
|
+
constructor(amount, currency = "gbp") {
|
|
87
86
|
super({
|
|
88
87
|
operation: LedgerOperation.Credit,
|
|
89
88
|
type: LedgerTypeInternal.PaymentReceived,
|
|
@@ -92,7 +91,7 @@ export class PaymentReceivedTransaction extends LedgerTransaction {
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
export class PaymentRefundedTransaction extends LedgerTransaction {
|
|
95
|
-
constructor(amount, currency =
|
|
94
|
+
constructor(amount, currency = "gbp") {
|
|
96
95
|
super({
|
|
97
96
|
operation: LedgerOperation.Debit,
|
|
98
97
|
type: LedgerTypeInternal.PaymentRefunded,
|
|
@@ -101,7 +100,7 @@ export class PaymentRefundedTransaction extends LedgerTransaction {
|
|
|
101
100
|
}
|
|
102
101
|
}
|
|
103
102
|
export class PaymentRefundFailedTransaction extends LedgerTransaction {
|
|
104
|
-
constructor(amount, currency =
|
|
103
|
+
constructor(amount, currency = "gbp") {
|
|
105
104
|
super({
|
|
106
105
|
operation: LedgerOperation.Credit,
|
|
107
106
|
type: LedgerTypeInternal.PaymentRefundFailed,
|
|
@@ -110,7 +109,7 @@ export class PaymentRefundFailedTransaction extends LedgerTransaction {
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
export class PaymentDisputedTransaction extends LedgerTransaction {
|
|
113
|
-
constructor(amount, currency =
|
|
112
|
+
constructor(amount, currency = "gbp") {
|
|
114
113
|
super({
|
|
115
114
|
operation: LedgerOperation.Debit,
|
|
116
115
|
type: LedgerTypeInternal.PaymentDisputed,
|
|
@@ -119,7 +118,7 @@ export class PaymentDisputedTransaction extends LedgerTransaction {
|
|
|
119
118
|
}
|
|
120
119
|
}
|
|
121
120
|
export class PaymentDisputedFeeTransaction extends LedgerTransaction {
|
|
122
|
-
constructor(amount, currency =
|
|
121
|
+
constructor(amount, currency = "gbp") {
|
|
123
122
|
super({
|
|
124
123
|
operation: LedgerOperation.Debit,
|
|
125
124
|
type: LedgerTypeInternal.PaymentDisputedFee,
|
|
@@ -128,7 +127,7 @@ export class PaymentDisputedFeeTransaction extends LedgerTransaction {
|
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
129
|
export class PaymentTipRefundedTransaction extends LedgerTransaction {
|
|
131
|
-
constructor(amount, currency =
|
|
130
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
132
131
|
super({
|
|
133
132
|
operation: LedgerOperation.Debit,
|
|
134
133
|
type: LedgerTypeInternal.PaymentRefundedTip,
|
|
@@ -140,7 +139,7 @@ export class PaymentTipRefundedTransaction extends LedgerTransaction {
|
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
export class PaymentRefundFailedTipTransaction extends LedgerTransaction {
|
|
143
|
-
constructor(amount, currency =
|
|
142
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
144
143
|
super({
|
|
145
144
|
operation: LedgerOperation.Credit,
|
|
146
145
|
type: LedgerTypeInternal.PaymentRefundFailedTip,
|
|
@@ -152,7 +151,7 @@ export class PaymentRefundFailedTipTransaction extends LedgerTransaction {
|
|
|
152
151
|
}
|
|
153
152
|
}
|
|
154
153
|
export class WithdrawalPlacedTransaction extends LedgerTransaction {
|
|
155
|
-
constructor(amount, currency =
|
|
154
|
+
constructor(amount, currency = "gbp") {
|
|
156
155
|
super({
|
|
157
156
|
operation: LedgerOperation.Debit,
|
|
158
157
|
type: LedgerTypeInternal.WithdrawalPlaced,
|
|
@@ -161,7 +160,7 @@ export class WithdrawalPlacedTransaction extends LedgerTransaction {
|
|
|
161
160
|
}
|
|
162
161
|
}
|
|
163
162
|
export class WithdrawalPlacedPriorityTransaction extends LedgerTransaction {
|
|
164
|
-
constructor(amount, currency =
|
|
163
|
+
constructor(amount, currency = "gbp") {
|
|
165
164
|
super({
|
|
166
165
|
operation: LedgerOperation.Debit,
|
|
167
166
|
type: LedgerTypeInternal.WithdrawalPlacedPriority,
|
|
@@ -170,7 +169,7 @@ export class WithdrawalPlacedPriorityTransaction extends LedgerTransaction {
|
|
|
170
169
|
}
|
|
171
170
|
}
|
|
172
171
|
export class WithdrawalPlacedNextDayTransaction extends LedgerTransaction {
|
|
173
|
-
constructor(amount, currency =
|
|
172
|
+
constructor(amount, currency = "gbp") {
|
|
174
173
|
super({
|
|
175
174
|
operation: LedgerOperation.Debit,
|
|
176
175
|
type: LedgerTypeInternal.WithdrawalPlacedNextDay,
|
|
@@ -179,7 +178,7 @@ export class WithdrawalPlacedNextDayTransaction extends LedgerTransaction {
|
|
|
179
178
|
}
|
|
180
179
|
}
|
|
181
180
|
export class WithdrawalFailedTransaction extends LedgerTransaction {
|
|
182
|
-
constructor(amount, currency =
|
|
181
|
+
constructor(amount, currency = "gbp", errorMessage = null) {
|
|
183
182
|
super({
|
|
184
183
|
operation: LedgerOperation.Credit,
|
|
185
184
|
type: LedgerTypeInternal.WithdrawalFailed,
|
|
@@ -191,7 +190,7 @@ export class WithdrawalFailedTransaction extends LedgerTransaction {
|
|
|
191
190
|
}
|
|
192
191
|
}
|
|
193
192
|
export class WithdrawalFailedPriorityTransaction extends LedgerTransaction {
|
|
194
|
-
constructor(amount, currency =
|
|
193
|
+
constructor(amount, currency = "gbp", errorMessage = null) {
|
|
195
194
|
super({
|
|
196
195
|
operation: LedgerOperation.Credit,
|
|
197
196
|
type: LedgerTypeInternal.WithdrawalFailedPriority,
|
|
@@ -203,7 +202,7 @@ export class WithdrawalFailedPriorityTransaction extends LedgerTransaction {
|
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
204
|
export class WithdrawalFailedNextDayTransaction extends LedgerTransaction {
|
|
206
|
-
constructor(amount, currency =
|
|
205
|
+
constructor(amount, currency = "gbp", errorMessage = null) {
|
|
207
206
|
super({
|
|
208
207
|
operation: LedgerOperation.Credit,
|
|
209
208
|
type: LedgerTypeInternal.WithdrawalFailedNextDay,
|
|
@@ -215,7 +214,7 @@ export class WithdrawalFailedNextDayTransaction extends LedgerTransaction {
|
|
|
215
214
|
}
|
|
216
215
|
}
|
|
217
216
|
export class WithdrawalCancelledTransaction extends LedgerTransaction {
|
|
218
|
-
constructor(amount, currency =
|
|
217
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
219
218
|
super({
|
|
220
219
|
operation: LedgerOperation.Credit,
|
|
221
220
|
type: LedgerTypeInternal.WithdrawalCancelled,
|
|
@@ -227,7 +226,7 @@ export class WithdrawalCancelledTransaction extends LedgerTransaction {
|
|
|
227
226
|
}
|
|
228
227
|
}
|
|
229
228
|
export class WithdrawalCancelledPriorityTransaction extends LedgerTransaction {
|
|
230
|
-
constructor(amount, currency =
|
|
229
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
231
230
|
super({
|
|
232
231
|
operation: LedgerOperation.Credit,
|
|
233
232
|
type: LedgerTypeInternal.WithdrawalCancelledPriority,
|
|
@@ -239,7 +238,7 @@ export class WithdrawalCancelledPriorityTransaction extends LedgerTransaction {
|
|
|
239
238
|
}
|
|
240
239
|
}
|
|
241
240
|
export class WithdrawalCancelledNextDayTransaction extends LedgerTransaction {
|
|
242
|
-
constructor(amount, currency =
|
|
241
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
243
242
|
super({
|
|
244
243
|
operation: LedgerOperation.Credit,
|
|
245
244
|
type: LedgerTypeInternal.WithdrawalCancelledNextDay,
|
|
@@ -253,7 +252,7 @@ export class WithdrawalCancelledNextDayTransaction extends LedgerTransaction {
|
|
|
253
252
|
// Should only be used when the withdrawal has already been paid out
|
|
254
253
|
// If the withdrawal is scheduled then send a withdrawal_cancelled and a new withdrawal_placed
|
|
255
254
|
export class WithdrawalTipRefundTransaction extends LedgerTransaction {
|
|
256
|
-
constructor(amount, currency =
|
|
255
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
257
256
|
super({
|
|
258
257
|
operation: LedgerOperation.Credit,
|
|
259
258
|
type: LedgerTypeInternal.WithdrawalTipRefunded,
|
|
@@ -267,7 +266,7 @@ export class WithdrawalTipRefundTransaction extends LedgerTransaction {
|
|
|
267
266
|
// Should only be used when the withdrawal has already been paid out and where the withdrawal is priority
|
|
268
267
|
// If the withdrawal is scheduled then send a withdrawal_cancelled and a new withdrawal_placed
|
|
269
268
|
export class WithdrawalPriorityFeeRefundTransaction extends LedgerTransaction {
|
|
270
|
-
constructor(amount, currency =
|
|
269
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
271
270
|
super({
|
|
272
271
|
operation: LedgerOperation.Credit,
|
|
273
272
|
type: LedgerTypeInternal.WithdrawalPriorityFeeRefunded,
|
|
@@ -281,7 +280,7 @@ export class WithdrawalPriorityFeeRefundTransaction extends LedgerTransaction {
|
|
|
281
280
|
// Should only be used when the withdrawal has already been paid out and where the withdrawal is next_day
|
|
282
281
|
// If the withdrawal is scheduled then send a withdrawal_cancelled and a new withdrawal_placed
|
|
283
282
|
export class WithdrawalNextDayFeeRefundTransaction extends LedgerTransaction {
|
|
284
|
-
constructor(amount, currency =
|
|
283
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
285
284
|
super({
|
|
286
285
|
operation: LedgerOperation.Credit,
|
|
287
286
|
type: LedgerTypeInternal.WithdrawalNextDayFeeRefunded,
|
|
@@ -293,7 +292,7 @@ export class WithdrawalNextDayFeeRefundTransaction extends LedgerTransaction {
|
|
|
293
292
|
}
|
|
294
293
|
}
|
|
295
294
|
export class SendToDebitTransaction extends LedgerTransaction {
|
|
296
|
-
constructor(amount, currency =
|
|
295
|
+
constructor(amount, currency = "gbp") {
|
|
297
296
|
super({
|
|
298
297
|
operation: LedgerOperation.Debit,
|
|
299
298
|
type: LedgerTypeInternal.SendToAccepted,
|
|
@@ -302,7 +301,7 @@ export class SendToDebitTransaction extends LedgerTransaction {
|
|
|
302
301
|
}
|
|
303
302
|
}
|
|
304
303
|
export class SendToCreditTransaction extends LedgerTransaction {
|
|
305
|
-
constructor(amount, sourcePot, currency =
|
|
304
|
+
constructor(amount, sourcePot, currency = "gbp") {
|
|
306
305
|
super({
|
|
307
306
|
operation: LedgerOperation.Credit,
|
|
308
307
|
type: LedgerTypeInternal.SendToReceived,
|
|
@@ -315,7 +314,7 @@ export class SendToCreditTransaction extends LedgerTransaction {
|
|
|
315
314
|
}
|
|
316
315
|
// Legacy consumer orders
|
|
317
316
|
export class GiftCardOrderPlacedTransaction extends LedgerTransaction {
|
|
318
|
-
constructor(amount, productId, currency =
|
|
317
|
+
constructor(amount, productId, currency = "gbp") {
|
|
319
318
|
super({
|
|
320
319
|
operation: LedgerOperation.Debit,
|
|
321
320
|
type: LedgerTypeInternal.GiftCardOrderPlaced,
|
|
@@ -328,7 +327,7 @@ export class GiftCardOrderPlacedTransaction extends LedgerTransaction {
|
|
|
328
327
|
}
|
|
329
328
|
// Legacy consumer orders
|
|
330
329
|
export class GiftCardOrderFailedTransaction extends LedgerTransaction {
|
|
331
|
-
constructor(amount, currency =
|
|
330
|
+
constructor(amount, currency = "gbp", errorMessage = null) {
|
|
332
331
|
super({
|
|
333
332
|
operation: LedgerOperation.Credit,
|
|
334
333
|
type: LedgerTypeInternal.GiftCardOrderFailed,
|
|
@@ -341,7 +340,7 @@ export class GiftCardOrderFailedTransaction extends LedgerTransaction {
|
|
|
341
340
|
}
|
|
342
341
|
// Legacy consumer orders
|
|
343
342
|
export class GiftCardOrderRejectedTransaction extends LedgerTransaction {
|
|
344
|
-
constructor(amount, currency =
|
|
343
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
345
344
|
super({
|
|
346
345
|
operation: LedgerOperation.Credit,
|
|
347
346
|
type: LedgerTypeInternal.GiftCardOrderRejected,
|
|
@@ -354,7 +353,7 @@ export class GiftCardOrderRejectedTransaction extends LedgerTransaction {
|
|
|
354
353
|
}
|
|
355
354
|
// Legacy consumer orders
|
|
356
355
|
export class GiftCardOrderCancelledTransaction extends LedgerTransaction {
|
|
357
|
-
constructor(amount, currency =
|
|
356
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
358
357
|
super({
|
|
359
358
|
operation: LedgerOperation.Credit,
|
|
360
359
|
type: LedgerTypeInternal.GiftCardOrderCancelled,
|
|
@@ -367,7 +366,7 @@ export class GiftCardOrderCancelledTransaction extends LedgerTransaction {
|
|
|
367
366
|
}
|
|
368
367
|
// New HAPI orders
|
|
369
368
|
export class OrderPlacedTransaction extends LedgerTransaction {
|
|
370
|
-
constructor(amount, currency =
|
|
369
|
+
constructor(amount, currency = "gbp") {
|
|
371
370
|
super({
|
|
372
371
|
operation: LedgerOperation.Debit,
|
|
373
372
|
type: LedgerTypeInternal.OrderPlaced,
|
|
@@ -377,7 +376,7 @@ export class OrderPlacedTransaction extends LedgerTransaction {
|
|
|
377
376
|
}
|
|
378
377
|
// New HAPI orders
|
|
379
378
|
export class OrderCancelledTransaction extends LedgerTransaction {
|
|
380
|
-
constructor(amount, currency =
|
|
379
|
+
constructor(amount, currency = "gbp", reason = null) {
|
|
381
380
|
super({
|
|
382
381
|
operation: LedgerOperation.Credit,
|
|
383
382
|
type: LedgerTypeInternal.OrderCancelled,
|
|
@@ -386,7 +385,7 @@ export class OrderCancelledTransaction extends LedgerTransaction {
|
|
|
386
385
|
}
|
|
387
386
|
}
|
|
388
387
|
export class PotCreditTransaction extends LedgerTransaction {
|
|
389
|
-
constructor(amount, reason, person, currency =
|
|
388
|
+
constructor(amount, reason, person, currency = "gbp") {
|
|
390
389
|
if (!reason || !person) {
|
|
391
390
|
throw new InvalidOperationError();
|
|
392
391
|
}
|
|
@@ -402,7 +401,7 @@ export class PotCreditTransaction extends LedgerTransaction {
|
|
|
402
401
|
}
|
|
403
402
|
}
|
|
404
403
|
export class PotDebitTransaction extends LedgerTransaction {
|
|
405
|
-
constructor(amount, reason, person, currency =
|
|
404
|
+
constructor(amount, reason, person, currency = "gbp") {
|
|
406
405
|
if (!reason || !person) {
|
|
407
406
|
throw new InvalidOperationError();
|
|
408
407
|
}
|
|
@@ -418,7 +417,7 @@ export class PotDebitTransaction extends LedgerTransaction {
|
|
|
418
417
|
}
|
|
419
418
|
}
|
|
420
419
|
export class FundsTransferOutTransaction extends LedgerTransaction {
|
|
421
|
-
constructor(amount, destinationPotId, currency =
|
|
420
|
+
constructor(amount, destinationPotId, currency = "gbp") {
|
|
422
421
|
super({
|
|
423
422
|
operation: LedgerOperation.Debit,
|
|
424
423
|
type: LedgerTypeInternal.FundsTransferOut,
|
|
@@ -428,7 +427,7 @@ export class FundsTransferOutTransaction extends LedgerTransaction {
|
|
|
428
427
|
}
|
|
429
428
|
}
|
|
430
429
|
export class FundsTransferInTransaction extends LedgerTransaction {
|
|
431
|
-
constructor(amount, sourcePotId, currency =
|
|
430
|
+
constructor(amount, sourcePotId, currency = "gbp") {
|
|
432
431
|
super({
|
|
433
432
|
operation: LedgerOperation.Credit,
|
|
434
433
|
type: LedgerTypeInternal.FundsTransferIn,
|
|
@@ -438,7 +437,7 @@ export class FundsTransferInTransaction extends LedgerTransaction {
|
|
|
438
437
|
}
|
|
439
438
|
}
|
|
440
439
|
export class PotTransferOutTransaction extends LedgerTransaction {
|
|
441
|
-
constructor(amount, currency =
|
|
440
|
+
constructor(amount, currency = "gbp") {
|
|
442
441
|
super({
|
|
443
442
|
operation: LedgerOperation.Debit,
|
|
444
443
|
type: LedgerTypeInternal.PotTransferOut,
|
|
@@ -447,7 +446,7 @@ export class PotTransferOutTransaction extends LedgerTransaction {
|
|
|
447
446
|
}
|
|
448
447
|
}
|
|
449
448
|
export class PotTransferInTransaction extends LedgerTransaction {
|
|
450
|
-
constructor(amount, sourcePotId, currency =
|
|
449
|
+
constructor(amount, sourcePotId, currency = "gbp") {
|
|
451
450
|
super({
|
|
452
451
|
operation: LedgerOperation.Credit,
|
|
453
452
|
type: LedgerTypeInternal.PotTransferIn,
|
|
@@ -457,7 +456,7 @@ export class PotTransferInTransaction extends LedgerTransaction {
|
|
|
457
456
|
}
|
|
458
457
|
}
|
|
459
458
|
export class InactivePotFeeTransaction extends LedgerTransaction {
|
|
460
|
-
constructor(amount, transactionId, currency =
|
|
459
|
+
constructor(amount, transactionId, currency = "gbp") {
|
|
461
460
|
super({
|
|
462
461
|
operation: LedgerOperation.Debit,
|
|
463
462
|
type: LedgerTypeInternal.InactivePotFee,
|
|
@@ -467,7 +466,7 @@ export class InactivePotFeeTransaction extends LedgerTransaction {
|
|
|
467
466
|
}
|
|
468
467
|
}
|
|
469
468
|
export class InactivePotFeeRefundedTransaction extends LedgerTransaction {
|
|
470
|
-
constructor(amount, transactionId, currency =
|
|
469
|
+
constructor(amount, transactionId, currency = "gbp", reason = null) {
|
|
471
470
|
super({
|
|
472
471
|
operation: LedgerOperation.Credit,
|
|
473
472
|
type: LedgerTypeInternal.InactivePotFeeRefunded,
|
|
@@ -477,7 +476,7 @@ export class InactivePotFeeRefundedTransaction extends LedgerTransaction {
|
|
|
477
476
|
}
|
|
478
477
|
}
|
|
479
478
|
export class RevenueCreditTransaction extends LedgerTransaction {
|
|
480
|
-
constructor(amount, reason, person, currency =
|
|
479
|
+
constructor(amount, reason, person, currency = "gbp") {
|
|
481
480
|
if (!reason || !person) {
|
|
482
481
|
throw new InvalidOperationError();
|
|
483
482
|
}
|
|
@@ -493,7 +492,7 @@ export class RevenueCreditTransaction extends LedgerTransaction {
|
|
|
493
492
|
}
|
|
494
493
|
}
|
|
495
494
|
export class RevenueDebitTransaction extends LedgerTransaction {
|
|
496
|
-
constructor(amount, reason, person, currency =
|
|
495
|
+
constructor(amount, reason, person, currency = "gbp") {
|
|
497
496
|
if (!reason || !person) {
|
|
498
497
|
throw new InvalidOperationError();
|
|
499
498
|
}
|
package/dist/global/enums.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../global/enums.ts"],"names":[],"mappings":"AACA,oBAAY,
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../global/enums.ts"],"names":[],"mappings":"AACA,oBAAY,eAAe;IACvB,SAAS,eAAe;CAC3B;AAED,oBAAY,qBAAqB;IAC7B,UAAU,gBAAgB;CAC7B;AAED,oBAAY,mBAAmB;IAC3B,OAAO,aAAa;CACvB"}
|
package/dist/global/enums.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export var Country;
|
|
2
|
-
(function (Country) {
|
|
3
|
-
Country["GB"] = "GB";
|
|
4
|
-
})(Country || (Country = {}));
|
|
5
|
-
export var Currency;
|
|
6
|
-
(function (Currency) {
|
|
7
|
-
Currency["GBP"] = "gbp";
|
|
8
|
-
})(Currency || (Currency = {}));
|
|
9
1
|
export var KycProviderType;
|
|
10
2
|
(function (KycProviderType) {
|
|
11
3
|
KycProviderType["PersonaUK"] = "persona:UK";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../global/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC;AAE7B,MAAM,MAAM,OAAO,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|