repzo 1.0.151 → 1.0.153
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/lib/index.d.ts +7 -1
- package/lib/index.js +8 -0
- package/lib/types/index.d.ts +1343 -49
- package/lib/types/index.js +91 -1
- package/package.json +1 -1
- package/src/types/index.ts +1836 -69
package/lib/types/index.js
CHANGED
|
@@ -1 +1,91 @@
|
|
|
1
|
-
|
|
1
|
+
// <reference path = "vehicle.ts" />
|
|
2
|
+
export var Service;
|
|
3
|
+
(function (Service) {
|
|
4
|
+
let FormV2;
|
|
5
|
+
(function (FormV2) {
|
|
6
|
+
FormV2.fieldType_enums = [
|
|
7
|
+
"Text", // Long Text
|
|
8
|
+
"String", // Short Text
|
|
9
|
+
"Phone", // phone
|
|
10
|
+
"Email", // email
|
|
11
|
+
"Date", // Date
|
|
12
|
+
// "Boolean", // No need any more in this form
|
|
13
|
+
"Number", // Number
|
|
14
|
+
"List", // List => custom List with ref or template (Allow multi, not only for media)
|
|
15
|
+
"Separator", // Separator
|
|
16
|
+
"Heading", // Heading
|
|
17
|
+
"Media", // Media + phone + Image
|
|
18
|
+
"Signature", // signature
|
|
19
|
+
"DateTime", // timestamp
|
|
20
|
+
"YesNo", // Yes/No/NA (with disable N/A option )
|
|
21
|
+
"ProductBarcodeScan", // String
|
|
22
|
+
"BarcodeScan", // String
|
|
23
|
+
"GeoPoint", // { coordinates: [0, 0], type: "Point" }
|
|
24
|
+
];
|
|
25
|
+
})(FormV2 = Service.FormV2 || (Service.FormV2 = {}));
|
|
26
|
+
let ActivityFormV2Result;
|
|
27
|
+
(function (ActivityFormV2Result) {
|
|
28
|
+
const fieldType_enums = [
|
|
29
|
+
"Text", // Long Text
|
|
30
|
+
"String", // Short Text
|
|
31
|
+
"Phone", // phone
|
|
32
|
+
"Email", // email
|
|
33
|
+
"Date", // Date
|
|
34
|
+
// "Boolean", // No need any more in this form
|
|
35
|
+
"Number", // Number
|
|
36
|
+
"List", // List => custom List with ref or template (Allow multi, not only for media)
|
|
37
|
+
"Separator", // Separator
|
|
38
|
+
"Heading", // Heading
|
|
39
|
+
"Media", // Media + phone + Image
|
|
40
|
+
"Signature", // signature
|
|
41
|
+
"DateTime", // timestamp
|
|
42
|
+
"YesNo", // Yes/No/NA (with disable N/A option )
|
|
43
|
+
"ProductBarcodeScan", // String
|
|
44
|
+
"BarcodeScan", // String
|
|
45
|
+
"GeoPoint", // { coordinates: [0, 0], type: "Point" }
|
|
46
|
+
];
|
|
47
|
+
})(ActivityFormV2Result = Service.ActivityFormV2Result || (Service.ActivityFormV2Result = {}));
|
|
48
|
+
let TimelineReport;
|
|
49
|
+
(function (TimelineReport) {
|
|
50
|
+
TimelineReport.activity_types = [
|
|
51
|
+
"client",
|
|
52
|
+
"visit",
|
|
53
|
+
"payment",
|
|
54
|
+
"activity-photo",
|
|
55
|
+
"activity-audit",
|
|
56
|
+
"activity-availability",
|
|
57
|
+
"activity-checkout-display",
|
|
58
|
+
"activity-feedback",
|
|
59
|
+
"activity-form-result",
|
|
60
|
+
"activity-form-v2-result",
|
|
61
|
+
"activity-item-status",
|
|
62
|
+
"activity-note",
|
|
63
|
+
"activity-planogram",
|
|
64
|
+
"activity-secondary-display",
|
|
65
|
+
"activity-shelfshare",
|
|
66
|
+
"activity-storecheck",
|
|
67
|
+
"activity-task",
|
|
68
|
+
"approval-request",
|
|
69
|
+
"asset-part-receival",
|
|
70
|
+
"asset-part-transfer",
|
|
71
|
+
"asset",
|
|
72
|
+
"asset-part",
|
|
73
|
+
"asset-unit",
|
|
74
|
+
"reminders",
|
|
75
|
+
"return-asset-part-unit",
|
|
76
|
+
"store-asset-part-unit",
|
|
77
|
+
"refund",
|
|
78
|
+
"settlement",
|
|
79
|
+
"convert-proforma",
|
|
80
|
+
"transfer",
|
|
81
|
+
"proforma",
|
|
82
|
+
"receiving-material",
|
|
83
|
+
"void-invoice",
|
|
84
|
+
"fullinvoices",
|
|
85
|
+
"workorder",
|
|
86
|
+
"workorder-request",
|
|
87
|
+
"return-whole-invoice",
|
|
88
|
+
"cycle",
|
|
89
|
+
];
|
|
90
|
+
})(TimelineReport = Service.TimelineReport || (Service.TimelineReport = {}));
|
|
91
|
+
})(Service || (Service = {}));
|