@nimee/shared-types 1.0.41 → 1.0.43
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/account/account.d.ts +2 -0
- package/dist/event/event.d.ts +7 -0
- package/dist/event/event.js +9 -1
- package/dist/event/event.js.map +1 -1
- package/dist/payment/coupon.d.ts +4 -0
- package/dist/payment/coupon.js +9 -0
- package/dist/payment/coupon.js.map +1 -0
- package/dist/payment/index.d.ts +1 -0
- package/dist/payment/index.js +1 -0
- package/dist/payment/index.js.map +1 -1
- package/package.json +1 -1
- package/src/account/account.ts +2 -0
- package/src/event/event.ts +7 -0
- package/src/payment/coupon.ts +4 -0
- package/src/payment/index.ts +1 -0
package/dist/event/event.d.ts
CHANGED
|
@@ -4,6 +4,13 @@ export declare enum IEventTypeEnum {
|
|
|
4
4
|
TECHNO_PARTY = "techno-party",
|
|
5
5
|
ELECTRONIC_PARTY = "electronic-party"
|
|
6
6
|
}
|
|
7
|
+
export declare enum RoleTypeEnum {
|
|
8
|
+
user = 1,
|
|
9
|
+
reader = 2,
|
|
10
|
+
editor = 3,
|
|
11
|
+
admin = 4,
|
|
12
|
+
owner = 5
|
|
13
|
+
}
|
|
7
14
|
export interface IEventModel {
|
|
8
15
|
start_time: string;
|
|
9
16
|
comments: string;
|
package/dist/event/event.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IEventTypeEnum = void 0;
|
|
3
|
+
exports.RoleTypeEnum = exports.IEventTypeEnum = void 0;
|
|
4
4
|
var IEventTypeEnum;
|
|
5
5
|
(function (IEventTypeEnum) {
|
|
6
6
|
IEventTypeEnum["TRANCE_PARTY"] = "trance-party";
|
|
7
7
|
IEventTypeEnum["TECHNO_PARTY"] = "techno-party";
|
|
8
8
|
IEventTypeEnum["ELECTRONIC_PARTY"] = "electronic-party";
|
|
9
9
|
})(IEventTypeEnum = exports.IEventTypeEnum || (exports.IEventTypeEnum = {}));
|
|
10
|
+
var RoleTypeEnum;
|
|
11
|
+
(function (RoleTypeEnum) {
|
|
12
|
+
RoleTypeEnum[RoleTypeEnum["user"] = 1] = "user";
|
|
13
|
+
RoleTypeEnum[RoleTypeEnum["reader"] = 2] = "reader";
|
|
14
|
+
RoleTypeEnum[RoleTypeEnum["editor"] = 3] = "editor";
|
|
15
|
+
RoleTypeEnum[RoleTypeEnum["admin"] = 4] = "admin";
|
|
16
|
+
RoleTypeEnum[RoleTypeEnum["owner"] = 5] = "owner";
|
|
17
|
+
})(RoleTypeEnum = exports.RoleTypeEnum || (exports.RoleTypeEnum = {}));
|
|
10
18
|
//# sourceMappingURL=event.js.map
|
package/dist/event/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AACA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;AACvC,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/event/event.ts"],"names":[],"mappings":";;;AACA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;AACvC,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AACD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,+CAAQ,CAAA;IACR,mDAAU,CAAA;IACV,mDAAU,CAAA;IACV,iDAAS,CAAA;IACT,iDAAS,CAAA;AACX,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IPaymentCouponTypeEnum = void 0;
|
|
4
|
+
var IPaymentCouponTypeEnum;
|
|
5
|
+
(function (IPaymentCouponTypeEnum) {
|
|
6
|
+
IPaymentCouponTypeEnum["percentage"] = "percentage";
|
|
7
|
+
IPaymentCouponTypeEnum["fixed"] = "fixed";
|
|
8
|
+
})(IPaymentCouponTypeEnum = exports.IPaymentCouponTypeEnum || (exports.IPaymentCouponTypeEnum = {}));
|
|
9
|
+
//# sourceMappingURL=coupon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coupon.js","sourceRoot":"","sources":["../../src/payment/coupon.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,mDAAyB,CAAA;IACzB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC"}
|
package/dist/payment/index.d.ts
CHANGED
package/dist/payment/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./charge"), exports);
|
|
18
|
+
__exportStar(require("./coupon"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/payment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB"}
|
package/package.json
CHANGED
package/src/account/account.ts
CHANGED
|
@@ -30,6 +30,8 @@ export interface IAccountModel {
|
|
|
30
30
|
sellerPaymeId: string;
|
|
31
31
|
currency: string;
|
|
32
32
|
_id: string;
|
|
33
|
+
createdAt: string;
|
|
34
|
+
updatedAt: string;
|
|
33
35
|
}
|
|
34
36
|
// {"payme_status":"success","status_error_code":0,"status_code":0,"seller_payme_id":"MPL16720-72349IAE-FRITPXY5-TFLDUEWF","seller_created":"2022-12-26 18:32:29","seller_first_name":"Ron","seller_last_name":"Dahan","seller_social_id":"205569163","seller_birthdate":"1994-07-01","seller_date_of_birth":"1994-07-01","seller_gender":0,"seller_email":"roncho1794@gmail.com","seller_contact_email":"roncho1794@gmail.com","seller_phone":"+972542323517","seller_contact_phone":"+972542323517","seller_address_city":"Tel Aviv","seller_address_street":"Tel Aviv","seller_address_street_number":"12","seller_address_country":"IL","seller_inc":0,"seller_inc_code":"12345","seller_merchant_name":"Ronen","seller_site_url":"www.no.co.il","seller_custom_details":"No existing Isracard MID","seller_active":true,"seller_approved":false,"seller_market_fee":0,"seller_currencies":,"fee_default_processing_fee":"1.50","fee_default_processing_charge":"0.100000000000000000","fee_default_discount_fee":"0.50","fee_foreign_processing_fee":"2.95","fee_foreign_processing_charge":"0.100000000000000000","fee_forcurr_processing_charge":"0.100000000000000000","seller_public_key":{"uuid":"b40a5251-9907-4db1-8f26-c015dd9466df","description":"PayMe-Public-Key","is_active":true},"notify_type":"seller-create"}
|
|
35
37
|
|
package/src/event/event.ts
CHANGED
|
@@ -4,6 +4,13 @@ export enum IEventTypeEnum {
|
|
|
4
4
|
TECHNO_PARTY = "techno-party",
|
|
5
5
|
ELECTRONIC_PARTY = "electronic-party",
|
|
6
6
|
}
|
|
7
|
+
export enum RoleTypeEnum {
|
|
8
|
+
user = 1,
|
|
9
|
+
reader = 2,
|
|
10
|
+
editor = 3,
|
|
11
|
+
admin = 4,
|
|
12
|
+
owner = 5,
|
|
13
|
+
}
|
|
7
14
|
export interface IEventModel {
|
|
8
15
|
start_time: string;
|
|
9
16
|
comments: string;
|
package/src/payment/index.ts
CHANGED