@lyxa.ai/core 1.0.320 → 1.0.321
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/libraries/mongo/models/embedded/service-order-settings.model.d.ts +0 -3
- package/dist/libraries/mongo/models/embedded/service-order-settings.model.js +0 -9
- package/dist/libraries/mongo/models/embedded/service-order-settings.model.js.map +1 -1
- package/dist/types/README.md +1 -1
- package/dist/types/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { Ref } from '@typegoose/typegoose';
|
|
2
|
-
import { Vendor } from '../vendor.model';
|
|
3
1
|
import { FrequencyConfig } from './frequency-configuration.model';
|
|
4
2
|
export declare class ServiceOrderSettings {
|
|
5
|
-
vendor: Ref<Vendor>;
|
|
6
3
|
slotBufferTime: number;
|
|
7
4
|
slotInterval: number;
|
|
8
5
|
frequencyConfigs: FrequencyConfig[];
|
|
@@ -11,9 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ServiceOrderSettings = void 0;
|
|
13
13
|
const typegoose_1 = require("@typegoose/typegoose");
|
|
14
|
-
const vendor_model_1 = require("../vendor.model");
|
|
15
14
|
let ServiceOrderSettings = class ServiceOrderSettings {
|
|
16
|
-
vendor;
|
|
17
15
|
slotBufferTime;
|
|
18
16
|
slotInterval;
|
|
19
17
|
frequencyConfigs;
|
|
@@ -23,13 +21,6 @@ let ServiceOrderSettings = class ServiceOrderSettings {
|
|
|
23
21
|
numberOfProfessionalsPerDay;
|
|
24
22
|
};
|
|
25
23
|
exports.ServiceOrderSettings = ServiceOrderSettings;
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, typegoose_1.prop)({
|
|
28
|
-
required: true,
|
|
29
|
-
ref: () => vendor_model_1.Vendor,
|
|
30
|
-
}),
|
|
31
|
-
__metadata("design:type", Object)
|
|
32
|
-
], ServiceOrderSettings.prototype, "vendor", void 0);
|
|
33
24
|
__decorate([
|
|
34
25
|
(0, typegoose_1.prop)({
|
|
35
26
|
min: 5,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-order-settings.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/service-order-settings.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA+D;
|
|
1
|
+
{"version":3,"file":"service-order-settings.model.js","sourceRoot":"/","sources":["libraries/mongo/models/embedded/service-order-settings.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAA+D;AAKxD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAMzB,cAAc,CAAU;IAOxB,YAAY,CAAS;IAGrB,gBAAgB,CAAqB;IASrC,sBAAsB,CAAU;IAOhC,kBAAkB,CAAU;IAQ5B,oBAAoB,CAAU;IAM9B,2BAA2B,CAAU;CAC5C,CAAA;AA/CY,oDAAoB;AAMzB;IALN,IAAA,gBAAI,EAAC;QACL,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,EAAE;QACP,OAAO,EAAE,CAAC;KACV,CAAC;;4DAC6B;AAOxB;IALN,IAAA,gBAAI,EAAC;QACL,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,GAAG;QACR,OAAO,EAAE,EAAE;KACX,CAAC;;0DAC0B;AAGrB;IADN,IAAA,gBAAI,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACmB;AASrC;IAPN,IAAA,gBAAI,EAAC;QACL,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;QACZ,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,GAAG;QACR,OAAO,EAAE,CAAC;KACV,CAAC;;oEACqC;AAOhC;IALN,IAAA,gBAAI,EAAC;QACL,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,GAAG,EAAE,CAAC;KACN,CAAC;;gEACiC;AAQ5B;IANN,IAAA,gBAAI,EAAC;QACL,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,CAAC;QACV,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,EAAE;KACP,CAAC;;kEACmC;AAM9B;IAJN,IAAA,gBAAI,EAAC;QACL,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,MAAM;KACZ,CAAC;;yEAC0C;+BA9ChC,oBAAoB;IADhC,IAAA,wBAAY,EAAC,EAAE,aAAa,EAAE,EAAE,UAAU,EAAE,sBAAsB,EAAE,EAAE,CAAC;GAC3D,oBAAoB,CA+ChC","sourcesContent":["import { modelOptions, prop, Ref } from '@typegoose/typegoose';\nimport { Vendor } from '../vendor.model';\nimport { FrequencyConfig } from './frequency-configuration.model';\n\n@modelOptions({ schemaOptions: { collection: 'serviceOrderSettings' } })\nexport class ServiceOrderSettings {\n\t@prop({\n\t\tmin: 5,\n\t\tmax: 60,\n\t\tdefault: 5,\n\t})\n\tpublic slotBufferTime!: number; // minutes\n\n\t@prop({\n\t\tmin: 30,\n\t\tmax: 120,\n\t\tdefault: 30,\n\t})\n\tpublic slotInterval: number; // minutes\n\n\t@prop({ required: true })\n\tpublic frequencyConfigs!: FrequencyConfig[];\n\n\t@prop({\n\t\trequired: true,\n\t\ttype: Number,\n\t\tmin: 0,\n\t\tmax: 200,\n\t\tdefault: 3,\n\t})\n\tpublic servicePreparationTime!: number; // hours\n\n\t@prop({\n\t\trequired: true,\n\t\tdefault: 3,\n\t\tmin: 1,\n\t})\n\tpublic maxBookingsPerSlot!: number;\n\n\t@prop({\n\t\trequired: true,\n\t\tdefault: 6,\n\t\tmin: 0,\n\t\tmax: 72,\n\t})\n\tpublic autoUrgencyTimeLimit!: number; // hours\n\n\t@prop({\n\t\trequired: true,\n\t\ttype: Number,\n\t})\n\tpublic numberOfProfessionalsPerDay!: number;\n}\n"]}
|
package/dist/types/README.md
CHANGED
package/dist/types/package.json
CHANGED