@futdevpro/nts-dynamo 1.3.69 → 1.3.70

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.
Files changed (42) hide show
  1. package/lib/_models/fullstack/control-models/daily-usage-data.d.ts +18 -0
  2. package/lib/_models/fullstack/control-models/daily-usage-data.d.ts.map +1 -0
  3. package/lib/_models/fullstack/control-models/daily-usage-data.js +22 -0
  4. package/lib/_models/fullstack/control-models/daily-usage-data.js.map +1 -0
  5. package/lib/_models/fullstack/control-models/dynamobe-data-params.d.ts +11 -0
  6. package/lib/_models/fullstack/control-models/dynamobe-data-params.d.ts.map +1 -0
  7. package/lib/_models/fullstack/control-models/dynamobe-data-params.js +12 -0
  8. package/lib/_models/fullstack/control-models/dynamobe-data-params.js.map +1 -0
  9. package/lib/_models/fullstack/control-models/dynamobe-data-property-params.d.ts +28 -0
  10. package/lib/_models/fullstack/control-models/dynamobe-data-property-params.d.ts.map +1 -0
  11. package/lib/_models/fullstack/control-models/dynamobe-data-property-params.js +67 -0
  12. package/lib/_models/fullstack/control-models/dynamobe-data-property-params.js.map +1 -0
  13. package/lib/_models/fullstack/control-models/dynamobe-error.d.ts +18 -0
  14. package/lib/_models/fullstack/control-models/dynamobe-error.d.ts.map +1 -0
  15. package/lib/_models/fullstack/control-models/dynamobe-error.js +188 -0
  16. package/lib/_models/fullstack/control-models/dynamobe-error.js.map +1 -0
  17. package/lib/_models/fullstack/control-models/geo-ip-location.d.ts +26 -0
  18. package/lib/_models/fullstack/control-models/geo-ip-location.d.ts.map +1 -0
  19. package/lib/_models/fullstack/control-models/geo-ip-location.js +3 -0
  20. package/lib/_models/fullstack/control-models/geo-ip-location.js.map +1 -0
  21. package/lib/_models/fullstack/control-models/usage-action.d.ts +9 -0
  22. package/lib/_models/fullstack/control-models/usage-action.d.ts.map +1 -0
  23. package/lib/_models/fullstack/control-models/usage-action.js +13 -0
  24. package/lib/_models/fullstack/control-models/usage-action.js.map +1 -0
  25. package/lib/_models/fullstack/control-models/usage-data.d.ts +14 -0
  26. package/lib/_models/fullstack/control-models/usage-data.d.ts.map +1 -0
  27. package/lib/_models/fullstack/control-models/usage-data.js +16 -0
  28. package/lib/_models/fullstack/control-models/usage-data.js.map +1 -0
  29. package/lib/_models/fullstack/data-models/custom-data.d.ts +16 -0
  30. package/lib/_models/fullstack/data-models/custom-data.d.ts.map +1 -0
  31. package/lib/_models/fullstack/data-models/custom-data.js +28 -0
  32. package/lib/_models/fullstack/data-models/custom-data.js.map +1 -0
  33. package/lib/_models/fullstack/data-models/metadata.d.ts +17 -0
  34. package/lib/_models/fullstack/data-models/metadata.d.ts.map +1 -0
  35. package/lib/_models/fullstack/data-models/metadata.js +17 -0
  36. package/lib/_models/fullstack/data-models/metadata.js.map +1 -0
  37. package/lib/_models/fullstack/data-models/usage-session.d.ts +34 -0
  38. package/lib/_models/fullstack/data-models/usage-session.d.ts.map +1 -0
  39. package/lib/_models/fullstack/data-models/usage-session.js +53 -0
  40. package/lib/_models/fullstack/data-models/usage-session.js.map +1 -0
  41. package/lib/tsconfig.tsbuildinfo +1885 -341
  42. package/package.json +14 -12
@@ -0,0 +1,18 @@
1
+ import { DynamoUsageSession } from "../data-models/usage-session";
2
+ export declare class DailyUsageData {
3
+ date?: string;
4
+ totalVisitTime?: number;
5
+ averageVisitTime?: number;
6
+ visitorsHun?: number;
7
+ visitorsElse?: number;
8
+ visitations?: DynamoUsageSession[];
9
+ constructor(set?: {
10
+ date?: string;
11
+ totalVisitTime?: number;
12
+ averageVisitTime?: number;
13
+ visitorsHun?: number;
14
+ visitorsElse?: number;
15
+ visitations?: DynamoUsageSession[];
16
+ });
17
+ }
18
+ //# sourceMappingURL=daily-usage-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daily-usage-data.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/daily-usage-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,qBAAa,cAAc;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAK;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAK;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAK;IACzB,YAAY,CAAC,EAAE,MAAM,CAAK;IAE1B,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAM;gBAGtC,GAAG,CAAC,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;KACpC;CAYJ"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DailyUsageData = void 0;
4
+ class DailyUsageData {
5
+ constructor(set) {
6
+ this.totalVisitTime = 0;
7
+ this.averageVisitTime = 0;
8
+ this.visitorsHun = 0;
9
+ this.visitorsElse = 0;
10
+ this.visitations = [];
11
+ if (set) {
12
+ this.date = set.date;
13
+ this.totalVisitTime = set.totalVisitTime ? set.totalVisitTime : 0;
14
+ this.averageVisitTime = set.averageVisitTime ? set.averageVisitTime : 0;
15
+ this.visitorsHun = set.visitorsHun ? set.visitorsHun : 0;
16
+ this.visitorsElse = set.visitorsElse ? set.visitorsElse : 0;
17
+ this.visitations = set.visitations ? set.visitations : [];
18
+ }
19
+ }
20
+ }
21
+ exports.DailyUsageData = DailyUsageData;
22
+ //# sourceMappingURL=daily-usage-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"daily-usage-data.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/daily-usage-data.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;IASzB,YACE,GAQC;QAhBH,mBAAc,GAAY,CAAC,CAAC;QAC5B,qBAAgB,GAAY,CAAC,CAAC;QAC9B,gBAAW,GAAY,CAAC,CAAC;QACzB,iBAAY,GAAY,CAAC,CAAC;QAE1B,gBAAW,GAA0B,EAAE,CAAC;QAatC,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACrB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;YAE5D,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;SAC3D;IACH,CAAC;CACF;AA9BD,wCA8BC"}
@@ -0,0 +1,11 @@
1
+ import { DynamoBEDataPropertyParams } from './dynamobe-data-property-params';
2
+ export declare class DynamoBEDataParams {
3
+ dataName: string;
4
+ dbName: string;
5
+ modelParams: DynamoBEDataPropertyParams[];
6
+ constructor(set: {
7
+ dataName: string;
8
+ modelParams: DynamoBEDataPropertyParams[];
9
+ });
10
+ }
11
+ //# sourceMappingURL=dynamobe-data-params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-data-params.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-data-params.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,qBAAa,kBAAkB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,0BAA0B,EAAE,CAAC;gBAGxC,GAAG,EAAE;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,0BAA0B,EAAE,CAAC;KAC3C;CAMJ"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoBEDataParams = void 0;
4
+ class DynamoBEDataParams {
5
+ constructor(set) {
6
+ this.dataName = set.dataName;
7
+ this.dbName = set.dataName.charAt(0).toUpperCase() + set.dataName.slice(1);
8
+ this.modelParams = set.modelParams ? set.modelParams : [];
9
+ }
10
+ }
11
+ exports.DynamoBEDataParams = DynamoBEDataParams;
12
+ //# sourceMappingURL=dynamobe-data-params.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-data-params.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-data-params.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;IAK7B,YACE,GAGC;QAED,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3E,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5D,CAAC;CACF;AAfD,gDAeC"}
@@ -0,0 +1,28 @@
1
+ export declare class DynamoBEDataPropertyParams {
2
+ key: string;
3
+ type: 'string' | 'number' | 'boolean' | 'Date' | 'object' | string;
4
+ unique?: boolean;
5
+ required?: boolean;
6
+ index?: boolean;
7
+ isDependencyHook?: boolean;
8
+ dependencyName?: string;
9
+ minlength?: number;
10
+ maxlength?: number;
11
+ subObjectParams?: DynamoBEDataPropertyParams[];
12
+ additionalValidators?: ((data: any) => void)[];
13
+ constructor(set: {
14
+ key: string;
15
+ type: 'string' | 'number' | 'boolean' | 'Date' | 'object' | string;
16
+ unique?: boolean;
17
+ required?: boolean;
18
+ index?: boolean;
19
+ isDependencyHook?: boolean;
20
+ dependencyDBServiceName?: string;
21
+ minlength?: number;
22
+ maxlength?: number;
23
+ subObjectParams?: DynamoBEDataPropertyParams[];
24
+ additionalValidators?: ((data: any) => void)[];
25
+ });
26
+ getBEType?(): String | Number | Boolean | Object | Function | Array<any> | Date;
27
+ }
28
+ //# sourceMappingURL=dynamobe-data-property-params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-data-property-params.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-data-property-params.ts"],"names":[],"mappings":"AAGA,qBAAa,0BAA0B;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,eAAe,CAAC,EAAE,0BAA0B,EAAE,CAAM;IAEpD,oBAAoB,CAAC,EAAE,CAAC,CAAC,IAAI,KAAA,KAAK,IAAI,CAAC,EAAE,CAAC;gBAGxC,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;QAEnE,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,OAAO,CAAC;QAEhB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,eAAe,CAAC,EAAE,0BAA0B,EAAE,CAAC;QAE/C,oBAAoB,CAAC,EAAE,CAAC,CAAC,IAAI,KAAA,KAAK,IAAI,CAAC,EAAE,CAAC;KAC3C;IAqCH,SAAS,CAAC,IAAI,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI;CAqBhF"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoBEDataPropertyParams = void 0;
4
+ const dynamobe_error_1 = require("./dynamobe-error");
5
+ class DynamoBEDataPropertyParams {
6
+ constructor(set) {
7
+ this.subObjectParams = [];
8
+ if (set) {
9
+ this.key = set.key;
10
+ this.type = set.type;
11
+ if (this.getBEType() === Object) {
12
+ if (set === null || set === void 0 ? void 0 : set.subObjectParams) {
13
+ this.subObjectParams = set.subObjectParams;
14
+ }
15
+ else {
16
+ console.log('DYNAMO ERROR: \n subObjectParams missing', '\n\n', new Error());
17
+ throw new dynamobe_error_1.DynamoBEError({ message: 'subObjectParams missing' });
18
+ }
19
+ }
20
+ if (set.isDependencyHook) {
21
+ if (set.dependencyDBServiceName) {
22
+ this.isDependencyHook = set.isDependencyHook;
23
+ this.dependencyName = set.dependencyDBServiceName;
24
+ }
25
+ else {
26
+ this.isDependencyHook = set.isDependencyHook;
27
+ console.log('DYNAMO ERROR: \n dependencyDBServiceName missing for dependencyHook', '\n\n', new Error());
28
+ }
29
+ }
30
+ this.unique = set.unique;
31
+ this.required = set.required;
32
+ this.index = set.index;
33
+ this.minlength = set.minlength;
34
+ this.maxlength = set.maxlength;
35
+ this.additionalValidators = set.additionalValidators;
36
+ }
37
+ else {
38
+ console.log('DYNAMO ERROR: \nMISSING DynamoBEDataPropertyParams constructor input', '\n\n', new Error());
39
+ }
40
+ }
41
+ // tslint:disable-next-line: ban-types
42
+ getBEType() {
43
+ switch (this.type) {
44
+ case 'string':
45
+ return String;
46
+ case 'number':
47
+ return Number;
48
+ case 'boolean':
49
+ return Boolean;
50
+ case 'Date':
51
+ return Date;
52
+ case 'object':
53
+ default:
54
+ if (this.type.includes('[]')) {
55
+ return Array;
56
+ }
57
+ else if (this.type.includes('=>') || this.type.includes('function')) {
58
+ return Function;
59
+ }
60
+ else {
61
+ return Object;
62
+ }
63
+ }
64
+ }
65
+ }
66
+ exports.DynamoBEDataPropertyParams = DynamoBEDataPropertyParams;
67
+ //# sourceMappingURL=dynamobe-data-property-params.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-data-property-params.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-data-property-params.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,0BAA0B;IAkBrC,YACE,GAiBC;QAtBH,oBAAe,GAAkC,EAAE,CAAC;QAyBlD,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;YACnB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YAErB,IAAI,IAAI,CAAC,SAAS,EAAE,KAAK,MAAM,EAAE;gBAC/B,IAAI,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,eAAe,EAAE;oBACxB,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;iBAC5C;qBAAM;oBACL,OAAO,CAAC,GAA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C;YACd;gBACE,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC;iBACd;qBAAM,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;oBACrE,OAAO,QAAQ,CAAC;iBACjB;qBAAM;oBACL,OAAO,MAAM,CAAC;iBACf;SACJ;IACH,CAAC;CACF;AA9FD,gEA8FC"}
@@ -0,0 +1,18 @@
1
+ export declare class DynamoBEError {
2
+ flag: string;
3
+ handled: boolean;
4
+ status: number;
5
+ errors: any[];
6
+ error: any;
7
+ messages: string[];
8
+ userMessages: string[];
9
+ constructor(customConstructor: {
10
+ status?: number;
11
+ message?: string;
12
+ messages?: string[];
13
+ userMessage?: string;
14
+ error?: any;
15
+ consoleLog?: boolean;
16
+ });
17
+ }
18
+ //# sourceMappingURL=dynamobe-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-error.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-error.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACxB,IAAI,SAA4B;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAM;IACnB,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,MAAM,EAAE,CAAM;IACxB,YAAY,EAAE,MAAM,EAAE,CAAM;gBAG1B,iBAAiB,EAAE;QACjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,GAAG,CAAC;QACZ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB;CA+CJ"}
@@ -0,0 +1,188 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoBEError = void 0;
4
+ class DynamoBEError {
5
+ constructor(customConstructor) {
6
+ var _a, _b, _c, _d, _e, _f, _g;
7
+ this.flag = 'DYNAMO-BE ERROR OBJECT';
8
+ this.errors = [];
9
+ this.messages = [];
10
+ this.userMessages = [];
11
+ //console.log('HEREIAM', customConstructor);
12
+ if (customConstructor.status) {
13
+ this.status = customConstructor.status;
14
+ }
15
+ this.status = ((_a = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _a === void 0 ? void 0 : _a.status) ? customConstructor.error.status : this.status;
16
+ if ((_b = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _b === void 0 ? void 0 : _b.errors) {
17
+ this.errors = this.errors.concat((_c = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _c === void 0 ? void 0 : _c.errors);
18
+ }
19
+ if ((_d = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _d === void 0 ? void 0 : _d.messages) {
20
+ this.messages = this.messages.concat((_e = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _e === void 0 ? void 0 : _e.messages);
21
+ }
22
+ if ((_f = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _f === void 0 ? void 0 : _f.userMessages) {
23
+ this.userMessages = this.userMessages.concat((_g = customConstructor === null || customConstructor === void 0 ? void 0 : customConstructor.error) === null || _g === void 0 ? void 0 : _g.userMessages);
24
+ }
25
+ if (customConstructor.error) {
26
+ if (customConstructor.error instanceof DynamoBEError) {
27
+ this.errors.push(customConstructor.error.error);
28
+ }
29
+ else {
30
+ if (customConstructor.error.error) {
31
+ this.errors.push(customConstructor.error.error);
32
+ }
33
+ this.errors.push(customConstructor.error);
34
+ }
35
+ if (customConstructor.error.message) {
36
+ this.messages.push(customConstructor.error.message);
37
+ }
38
+ if (customConstructor.error.status) {
39
+ this.status = customConstructor.error.status;
40
+ }
41
+ }
42
+ if (customConstructor.message) {
43
+ this.messages.push(customConstructor.message);
44
+ }
45
+ if (customConstructor.messages) {
46
+ this.messages.push(...customConstructor.messages);
47
+ }
48
+ if (customConstructor.userMessage) {
49
+ this.userMessages.push(customConstructor.userMessage);
50
+ }
51
+ if (customConstructor.consoleLog) {
52
+ console.log(this);
53
+ }
54
+ }
55
+ }
56
+ exports.DynamoBEError = DynamoBEError;
57
+ /*
58
+
59
+ // //
60
+ // RESPONSE STATUS //
61
+ // //
62
+
63
+ 1XX informational response
64
+
65
+ 100 Continue
66
+ 101 Switching Protocols
67
+ 102 Processing
68
+ 103 Early Hints
69
+
70
+
71
+ 2XX success
72
+
73
+ 200 OK
74
+ 201 Created
75
+ 202 Accepted
76
+ 203 Non-Authoritative Information
77
+ 204 No Content
78
+ 205 Reset Content
79
+ 206 Partial Content
80
+ 207 Multi-Status
81
+ 208 Already Reported
82
+ 226 IM Used
83
+
84
+
85
+ 3XX redirection
86
+
87
+ 300 Multiple Choices
88
+ 301 Moved Permanently
89
+ 302 Found
90
+ 303 See Other
91
+ 304 Not Modified
92
+ 305 Use Proxy
93
+ 306 Switch Proxy
94
+ 307 Temporary Redirect
95
+ 308 Permanent Redirect
96
+
97
+
98
+ 4XX client errors
99
+
100
+ 400 Bad Request
101
+ 401 Unauthorized
102
+ 402 Payment Required
103
+ 403 Forbidden
104
+ 404 Not Found
105
+ 405 Method Not Allowed
106
+ 406 Not Acceptable
107
+ 407 Proxy Authentication Required
108
+ 408 Request Timeout
109
+ 409 Conflict
110
+ 410 Gone
111
+ 411 Length Required
112
+ 412 Precondition Failed
113
+ 413 Payload Too Large
114
+ 414 URI Too Long
115
+ 415 Unsupported Media Type
116
+ 416 Range Not Satisfiable
117
+ 417 Expectation Failed
118
+ 418 I'm a teapot
119
+ 421 Misdirected Request
120
+ 422 Unprocessable Entity
121
+ 423 Locked
122
+ 424 Failed Dependency
123
+ 425 Too Early
124
+ 426 Upgrade Required
125
+ 428 Precondition Required
126
+ 429 Too Many Requests
127
+ 431 Request Header Fields Too Large
128
+ 451 Unavailable For Legal Reasons
129
+
130
+
131
+ 5XX server errors
132
+
133
+ 500 Internal Server Error
134
+ 501 Not Implemented
135
+ 502 Bad Gateway
136
+ 503 Service Unavailable
137
+ 504 Gateway Timeout
138
+ 505 HTTP Version Not Supported
139
+ 506 Variant Also Negotiates
140
+ 507 Insufficient Storage
141
+ 508 Loop Detected
142
+ 510 Not Extended
143
+ 511 Network Authentication Required
144
+
145
+
146
+ Unofficial codes
147
+
148
+ 103 Checkpoint
149
+ 218 This is fine (Apache Web Server)
150
+ 419 Page Expired (Laravel Framework)
151
+ 420 Enhance Your Calm (Twitter)
152
+ 430 Request Header Fields Too Large (Shopify)
153
+ 450 Blocked by Windows Parental Controls (Microsoft)
154
+ 498 Invalid Token (Esri)
155
+ 499 Token Required (Esri)
156
+ 509 Bandwidth Limit Exceeded (Apache Web Server/cPanel)
157
+ 526 Invalid SSL Certificate
158
+ 529 Site is overloaded
159
+ 530 Site is frozen
160
+ 598 (Informal convention) Network read timeout error
161
+
162
+ 440 Login Time-out
163
+ 449 Retry With
164
+ 451 Redirect
165
+
166
+ 444 No Response
167
+ 494 Request header too large
168
+ 495 SSL Certificate Error
169
+ 496 SSL Certificate Required
170
+ 497 HTTP Request Sent to HTTPS Port
171
+ 499 Client Closed Request
172
+
173
+ 520 Web Server Returned an Unknown Error
174
+ 521 Web Server Is Down
175
+ 522 Connection Timed Out
176
+ 523 Origin Is Unreachable
177
+ 524 A Timeout Occurred
178
+ 525 SSL Handshake Failed
179
+ 526 Invalid SSL Certificate
180
+ 527 Railgun Error
181
+
182
+ 530
183
+
184
+ 460
185
+ 463
186
+
187
+ */
188
+ //# sourceMappingURL=dynamobe-error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamobe-error.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/dynamobe-error.ts"],"names":[],"mappings":";;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkIE"}
@@ -0,0 +1,26 @@
1
+ export interface GeoIpLocation {
2
+ /** [ <low bound of IP block>, <high bound of IP block> ] */
3
+ range: [number, number];
4
+ /** 2 letter ISO-3166-1 country code https://www.iban.com/country-codes */
5
+ country: string;
6
+ /**
7
+ * Up to 3 alphanumeric variable length characters as ISO 3166-2 code
8
+ * For US states this is the 2 letter state
9
+ * For the United Kingdom this could be ENG as a country like “England
10
+ * FIPS 10-4 subcountry code
11
+ */
12
+ region: string;
13
+ /** 1 if the country is a member state of the European Union, 0 otherwise. */
14
+ eu: '1' | '0';
15
+ /** "Country/Zone" Timezone from IANA Time Zone Database */
16
+ timezone: string;
17
+ /** This is the full city name */
18
+ city: string;
19
+ /** The latitude and longitude of the city */
20
+ ll: [number, number];
21
+ /** Metro code */
22
+ metro: number;
23
+ /** The approximate accuracy radius (km), around the latitude and longitude */
24
+ area: number;
25
+ }
26
+ //# sourceMappingURL=geo-ip-location.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-ip-location.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/geo-ip-location.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B,4DAA4D;IAC5D,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,EAAE,EAAE,GAAG,GAAG,GAAG,CAAC;IACd,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=geo-ip-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geo-ip-location.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/geo-ip-location.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ export declare class DynamoUsageAction {
2
+ action?: string;
3
+ time?: Date;
4
+ constructor(set?: {
5
+ action?: string;
6
+ time?: Date;
7
+ });
8
+ }
9
+ //# sourceMappingURL=usage-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-action.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/usage-action.ts"],"names":[],"mappings":"AACA,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;gBAGV,GAAG,CAAC,EAAE;QACJ,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,IAAI,CAAC;KACb;CAOJ"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoUsageAction = void 0;
4
+ class DynamoUsageAction {
5
+ constructor(set) {
6
+ if (set) {
7
+ this.action = set.action;
8
+ this.time = set.time;
9
+ }
10
+ }
11
+ }
12
+ exports.DynamoUsageAction = DynamoUsageAction;
13
+ //# sourceMappingURL=usage-action.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-action.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/usage-action.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;IAI5B,YACE,GAGC;QAED,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;YACzB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;SACtB;IACH,CAAC;CACF;AAfD,8CAeC"}
@@ -0,0 +1,14 @@
1
+ import { DynamoUsageAction } from './usage-action';
2
+ export declare class DynamoUsageData {
3
+ page?: string;
4
+ opened?: Date;
5
+ timeSpentOnPage?: number;
6
+ actions?: DynamoUsageAction[];
7
+ constructor(set?: {
8
+ page?: string;
9
+ opened?: Date;
10
+ timeSpentOnPage?: number;
11
+ actions?: DynamoUsageAction[];
12
+ });
13
+ }
14
+ //# sourceMappingURL=usage-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-data.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/usage-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,qBAAa,eAAe;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAM;gBAGjC,GAAG,CAAC,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC/B;CASJ"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoUsageData = void 0;
4
+ class DynamoUsageData {
5
+ constructor(set) {
6
+ this.actions = [];
7
+ if (set) {
8
+ this.page = set.page;
9
+ this.opened = set.opened;
10
+ this.timeSpentOnPage = set.timeSpentOnPage;
11
+ this.actions = set.actions ? set.actions : [];
12
+ }
13
+ }
14
+ }
15
+ exports.DynamoUsageData = DynamoUsageData;
16
+ //# sourceMappingURL=usage-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage-data.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/control-models/usage-data.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;IAM1B,YACE,GAKC;QARH,YAAO,GAAyB,EAAE,CAAC;QAUjC,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACrB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;YACzB,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;YAC3C,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/C;IACH,CAAC;CACF;AArBD,0CAqBC"}
@@ -0,0 +1,16 @@
1
+ import { DynamoBEDataParams } from '../control-models/dynamobe-data-params';
2
+ import { Metadata } from './metadata';
3
+ export declare class CustomData extends Metadata {
4
+ data?: string;
5
+ constructor(set?: {
6
+ _id?: string;
7
+ data?: string;
8
+ __v?: number;
9
+ __created?: Date;
10
+ __createdBy?: string;
11
+ __lastModified?: Date;
12
+ __lastModifiedBy?: string;
13
+ });
14
+ }
15
+ export declare const customDataModelParams: DynamoBEDataParams;
16
+ //# sourceMappingURL=custom-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-data.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/data-models/custom-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,UAAW,SAAQ,QAAQ;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;gBAGZ,GAAG,CAAC,EAAE;QACJ,GAAG,CAAC,EAAE,MAAM,CAAC;QAEb,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,IAAI,CAAC;QACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;CAcJ;AAED,eAAO,MAAM,qBAAqB,oBAKhC,CAAA"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.customDataModelParams = exports.CustomData = void 0;
4
+ const dynamobe_data_params_1 = require("../control-models/dynamobe-data-params");
5
+ const metadata_1 = require("./metadata");
6
+ class CustomData extends metadata_1.Metadata {
7
+ constructor(set) {
8
+ super({
9
+ _id: set._id,
10
+ __v: set.__v,
11
+ __created: set.__created,
12
+ __createdBy: set.__createdBy,
13
+ __lastModified: set.__lastModified,
14
+ __lastModifiedBy: set.__lastModifiedBy,
15
+ });
16
+ if (set) {
17
+ this.data = set.data;
18
+ }
19
+ }
20
+ }
21
+ exports.CustomData = CustomData;
22
+ exports.customDataModelParams = new dynamobe_data_params_1.DynamoBEDataParams({
23
+ dataName: 'customData',
24
+ modelParams: [
25
+ { key: 'data', type: 'string', required: true },
26
+ ]
27
+ });
28
+ //# sourceMappingURL=custom-data.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-data.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/data-models/custom-data.ts"],"names":[],"mappings":";;;AACA,iFAA4E;AAC5E,yCAAsC;AAEtC,MAAa,UAAW,SAAQ,mBAAQ;IAGtC,YACE,GAUC;QAED,KAAK,CAAC;YACJ,GAAG,EAAE,GAAG,CAAC,GAAG;YACZ,GAAG,EAAE,GAAG,CAAC,GAAG;YACZ,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,WAAW,EAAE,GAAG,CAAC,WAAW;YAC5B,cAAc,EAAE,GAAG,CAAC,cAAc;YAClC,gBAAgB,EAAE,GAAG,CAAC,gBAAgB;SACvC,CAAC,CAAA;QACF,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;SACtB;IACH,CAAC;CACF;AA5BD,gCA4BC;AAEY,QAAA,qBAAqB,GAAG,IAAI,yCAAkB,CAAC;IAC1D,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE;QACX,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAChD;CACF,CAAC,CAAA"}
@@ -0,0 +1,17 @@
1
+ export declare class Metadata {
2
+ _id?: string;
3
+ __created?: Date;
4
+ __createdBy?: string;
5
+ __lastModified?: Date;
6
+ __lastModifiedBy?: string;
7
+ __v?: number;
8
+ constructor(set?: {
9
+ _id?: string;
10
+ __created?: Date;
11
+ __createdBy?: string;
12
+ __lastModified?: Date;
13
+ __lastModifiedBy?: string;
14
+ __v?: number;
15
+ } | Metadata);
16
+ }
17
+ //# sourceMappingURL=metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../src/_models/fullstack/data-models/metadata.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;gBAGX,GAAG,CAAC,EAAE;QACJ,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,IAAI,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,IAAI,CAAC;QACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,GAAG,QAAQ;CAWf"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Metadata = void 0;
4
+ class Metadata {
5
+ constructor(set) {
6
+ if (set) {
7
+ this._id = set._id;
8
+ this.__created = set.__created;
9
+ this.__createdBy = set.__createdBy;
10
+ this.__lastModified = set.__lastModified;
11
+ this.__lastModifiedBy = set.__lastModifiedBy;
12
+ this.__v = set.__v;
13
+ }
14
+ }
15
+ }
16
+ exports.Metadata = Metadata;
17
+ //# sourceMappingURL=metadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../../src/_models/fullstack/data-models/metadata.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAQnB,YACE,GAOY;QAEZ,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;YACnB,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;YAC/B,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;YACnC,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;YACzC,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC;YAC7C,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;SACpB;IACH,CAAC;CACF;AA3BD,4BA2BC"}