@sellout/models 0.0.387 → 0.0.388
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/graphql/queries/eventsAdminCalender.query.js +0 -3
- package/.dist/graphql/queries/eventsAdminCalender.query.js.map +1 -1
- package/.dist/graphql/queries/eventsListOptimized.query.js +1 -4
- package/.dist/graphql/queries/eventsListOptimized.query.js.map +1 -1
- package/.dist/interfaces/IAnalytics.d.ts +0 -1
- package/.dist/interfaces/IAnalytics.js.map +1 -1
- package/.dist/interfaces/IOrder.d.ts +0 -7
- package/.dist/interfaces/IOrder.js.map +1 -1
- package/.dist/interfaces/ITask.d.ts +1 -2
- package/.dist/interfaces/ITask.js +0 -1
- package/.dist/interfaces/ITask.js.map +1 -1
- package/.dist/schemas/Order.d.ts +0 -22
- package/.dist/schemas/Order.js +0 -23
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/sellout-proto.js +1239 -4936
- package/.dist/utils/OrderUtil.js +79 -0
- package/.dist/utils/OrderUtil.js.map +1 -1
- package/package.json +3 -3
- package/src/graphql/queries/eventsAdminCalender.query.ts +0 -3
- package/src/graphql/queries/eventsListOptimized.query.ts +1 -4
- package/src/interfaces/IAnalytics.ts +0 -1
- package/src/interfaces/IOrder.ts +7 -15
- package/src/interfaces/ITask.ts +0 -1
- package/src/proto/broadcast.proto +0 -7
- package/src/proto/email.proto +0 -1
- package/src/proto/event.proto +0 -16
- package/src/proto/order.proto +0 -71
- package/src/schemas/Order.ts +0 -24
- package/src/utils/OrderUtil.ts +93 -0
- package/.dist/interfaces/IPassKitDeviceRegistration.d.ts +0 -11
- package/.dist/interfaces/IPassKitDeviceRegistration.js +0 -3
- package/.dist/interfaces/IPassKitDeviceRegistration.js.map +0 -1
- package/.dist/schemas/WalletPassDevice.d.ts +0 -45
- package/.dist/schemas/WalletPassDevice.js +0 -51
- package/.dist/schemas/WalletPassDevice.js.map +0 -1
- package/src/interfaces/IPassKitDeviceRegistration.ts +0 -11
- package/src/schemas/WalletPassDevice.ts +0 -46
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const shortid_1 = __importDefault(require("shortid"));
|
|
7
|
-
exports.default = {
|
|
8
|
-
_id: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: shortid_1.default.generate,
|
|
11
|
-
},
|
|
12
|
-
deviceLibraryIdentifier: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: true,
|
|
15
|
-
index: true,
|
|
16
|
-
},
|
|
17
|
-
pushToken: {
|
|
18
|
-
type: String,
|
|
19
|
-
required: true,
|
|
20
|
-
},
|
|
21
|
-
passTypeIdentifier: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: true,
|
|
24
|
-
index: true,
|
|
25
|
-
},
|
|
26
|
-
serialNumber: {
|
|
27
|
-
type: String,
|
|
28
|
-
required: true,
|
|
29
|
-
index: true,
|
|
30
|
-
},
|
|
31
|
-
orderId: {
|
|
32
|
-
type: String,
|
|
33
|
-
required: true,
|
|
34
|
-
index: true,
|
|
35
|
-
},
|
|
36
|
-
orgId: {
|
|
37
|
-
type: String,
|
|
38
|
-
required: true,
|
|
39
|
-
index: true,
|
|
40
|
-
},
|
|
41
|
-
createdAt: {
|
|
42
|
-
type: Number,
|
|
43
|
-
required: true,
|
|
44
|
-
},
|
|
45
|
-
updatedAt: {
|
|
46
|
-
type: Number,
|
|
47
|
-
required: false,
|
|
48
|
-
default: null,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=WalletPassDevice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WalletPassDevice.js","sourceRoot":"","sources":["../../src/schemas/WalletPassDevice.ts"],"names":[],"mappings":";;;;;AAAA,sDAA8B;AAE9B,kBAAe;IACb,GAAG,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,iBAAO,CAAC,QAAQ;KAC1B;IACD,uBAAuB,EAAE;QACvB,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACZ;IACD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACZ;IACD,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACZ;IACD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACZ;IACD,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,IAAI;KACZ;IACD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,SAAS,EAAE;QACT,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd;CACF,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export default interface IPassKitDeviceRegistration {
|
|
2
|
-
_id?: string;
|
|
3
|
-
deviceLibraryIdentifier: string;
|
|
4
|
-
pushToken: string;
|
|
5
|
-
passTypeIdentifier: string;
|
|
6
|
-
serialNumber: string;
|
|
7
|
-
orderId: string;
|
|
8
|
-
orgId: string;
|
|
9
|
-
createdAt: number;
|
|
10
|
-
updatedAt?: number;
|
|
11
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import shortid from 'shortid';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
_id: {
|
|
5
|
-
type: String,
|
|
6
|
-
default: shortid.generate,
|
|
7
|
-
},
|
|
8
|
-
deviceLibraryIdentifier: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: true,
|
|
11
|
-
index: true,
|
|
12
|
-
},
|
|
13
|
-
pushToken: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: true,
|
|
16
|
-
},
|
|
17
|
-
passTypeIdentifier: {
|
|
18
|
-
type: String,
|
|
19
|
-
required: true,
|
|
20
|
-
index: true,
|
|
21
|
-
},
|
|
22
|
-
serialNumber: {
|
|
23
|
-
type: String,
|
|
24
|
-
required: true,
|
|
25
|
-
index: true,
|
|
26
|
-
},
|
|
27
|
-
orderId: {
|
|
28
|
-
type: String,
|
|
29
|
-
required: true,
|
|
30
|
-
index: true,
|
|
31
|
-
},
|
|
32
|
-
orgId: {
|
|
33
|
-
type: String,
|
|
34
|
-
required: true,
|
|
35
|
-
index: true,
|
|
36
|
-
},
|
|
37
|
-
createdAt: {
|
|
38
|
-
type: Number,
|
|
39
|
-
required: true,
|
|
40
|
-
},
|
|
41
|
-
updatedAt: {
|
|
42
|
-
type: Number,
|
|
43
|
-
required: false,
|
|
44
|
-
default: null,
|
|
45
|
-
},
|
|
46
|
-
};
|