addio-admin-sdk 1.6.8 → 1.6.9
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/Interfaces/CMS/Creator/index.d.ts +12 -0
- package/dist/Interfaces/CMS/Creator/index.js +3 -0
- package/dist/Interfaces/CMS/Creator/index.js.map +1 -0
- package/dist/Interfaces/CMS/Reader/index.d.ts +47 -0
- package/dist/Interfaces/CMS/Reader/index.js +3 -0
- package/dist/Interfaces/CMS/Reader/index.js.map +1 -0
- package/dist/Interfaces/Delivery/CalendarDay.d.ts +9 -0
- package/dist/Interfaces/Delivery/CalendarDay.js +12 -0
- package/dist/Interfaces/Delivery/CalendarDay.js.map +1 -0
- package/dist/Interfaces/Delivery/Driver.d.ts +7 -0
- package/dist/Interfaces/Delivery/Driver.js +10 -0
- package/dist/Interfaces/Delivery/Driver.js.map +1 -0
- package/dist/Interfaces/Delivery/PlannedOrder.d.ts +26 -0
- package/dist/Interfaces/Delivery/PlannedOrder.js +20 -0
- package/dist/Interfaces/Delivery/PlannedOrder.js.map +1 -0
- package/dist/Interfaces/Delivery/ScheduledRun.d.ts +14 -0
- package/dist/Interfaces/Delivery/ScheduledRun.js +15 -0
- package/dist/Interfaces/Delivery/ScheduledRun.js.map +1 -0
- package/dist/Interfaces/Delivery/Truck.d.ts +21 -0
- package/dist/Interfaces/Delivery/Truck.js +25 -0
- package/dist/Interfaces/Delivery/Truck.js.map +1 -0
- package/dist/Interfaces/Directions/index.d.ts +72 -0
- package/dist/Interfaces/Directions/index.js +3 -0
- package/dist/Interfaces/Directions/index.js.map +1 -0
- package/dist/Interfaces/Email/IQuoteApprobationEmail.d.ts +29 -0
- package/dist/Interfaces/Email/IQuoteApprobationEmail.js +3 -0
- package/dist/Interfaces/Email/IQuoteApprobationEmail.js.map +1 -0
- package/dist/Interfaces/ProductGroup/index.d.ts +20 -0
- package/dist/Interfaces/ProductGroup/index.js +3 -0
- package/dist/Interfaces/ProductGroup/index.js.map +1 -0
- package/dist/Interfaces/Quote/QuoteCMS/actions.d.ts +6 -0
- package/dist/Interfaces/Quote/QuoteCMS/actions.js +50 -0
- package/dist/Interfaces/Quote/QuoteCMS/actions.js.map +1 -0
- package/dist/Interfaces/Quote/QuoteCMS/defaults.d.ts +4 -0
- package/dist/Interfaces/Quote/QuoteCMS/defaults.js +32 -0
- package/dist/Interfaces/Quote/QuoteCMS/defaults.js.map +1 -0
- package/dist/Interfaces/Quote/QuoteCMS/enums.d.ts +50 -0
- package/dist/Interfaces/Quote/QuoteCMS/enums.js +61 -0
- package/dist/Interfaces/Quote/QuoteCMS/enums.js.map +1 -0
- package/dist/Interfaces/Specials/bb.d.ts +27 -0
- package/dist/Interfaces/Specials/bb.js +23 -0
- package/dist/Interfaces/Specials/bb.js.map +1 -0
- package/dist/constants/errors.d.ts +27 -0
- package/dist/constants/errors.js +33 -0
- package/dist/constants/errors.js.map +1 -0
- package/dist/lib/CMS/Creator/index.d.ts +38 -0
- package/dist/lib/CMS/Creator/index.js +625 -0
- package/dist/lib/CMS/Creator/index.js.map +1 -0
- package/dist/lib/CMS/Reader/index.d.ts +64 -0
- package/dist/lib/CMS/Reader/index.js +1174 -0
- package/dist/lib/CMS/Reader/index.js.map +1 -0
- package/dist/lib/CMS/Utils.d.ts +1 -0
- package/dist/lib/CMS/Utils.js +30 -0
- package/dist/lib/CMS/Utils.js.map +1 -0
- package/dist/lib/CMS/Writer/index.d.ts +6 -0
- package/dist/lib/CMS/Writer/index.js +91 -0
- package/dist/lib/CMS/Writer/index.js.map +1 -0
- package/dist/lib/Delivery/CalendarDay.d.ts +10 -0
- package/dist/lib/Delivery/CalendarDay.js +149 -0
- package/dist/lib/Delivery/CalendarDay.js.map +1 -0
- package/dist/lib/Delivery/Dispatch.d.ts +56 -0
- package/dist/lib/Delivery/Dispatch.js +1055 -0
- package/dist/lib/Delivery/Dispatch.js.map +1 -0
- package/dist/lib/Delivery/Driver.d.ts +12 -0
- package/dist/lib/Delivery/Driver.js +153 -0
- package/dist/lib/Delivery/Driver.js.map +1 -0
- package/dist/lib/Delivery/PlannedOrder.d.ts +15 -0
- package/dist/lib/Delivery/PlannedOrder.js +237 -0
- package/dist/lib/Delivery/PlannedOrder.js.map +1 -0
- package/dist/lib/Delivery/ScheduledRun.d.ts +12 -0
- package/dist/lib/Delivery/ScheduledRun.js +165 -0
- package/dist/lib/Delivery/ScheduledRun.js.map +1 -0
- package/dist/lib/Delivery/Truck.d.ts +12 -0
- package/dist/lib/Delivery/Truck.js +158 -0
- package/dist/lib/Delivery/Truck.js.map +1 -0
- package/dist/lib/Email/QuoteApprobationEmail.d.ts +8 -0
- package/dist/lib/Email/QuoteApprobationEmail.js +79 -0
- package/dist/lib/Email/QuoteApprobationEmail.js.map +1 -0
- package/dist/lib/Inventory/__tests__.d.ts +1 -0
- package/dist/lib/Inventory/__tests__.js +199 -0
- package/dist/lib/Inventory/__tests__.js.map +1 -0
- package/dist/lib/ProductGroup/index.d.ts +49 -0
- package/dist/lib/ProductGroup/index.js +141 -0
- package/dist/lib/ProductGroup/index.js.map +1 -0
- package/dist/lib/Quote/index.d.ts +204 -0
- package/dist/lib/Quote/index.js +721 -0
- package/dist/lib/Quote/index.js.map +1 -0
- package/dist/lib/SpecialOPS/Cases/BB.d.ts +8 -0
- package/dist/lib/SpecialOPS/Cases/BB.js +24 -0
- package/dist/lib/SpecialOPS/Cases/BB.js.map +1 -0
- package/dist/lib/SpecialOPS/index.d.ts +14 -0
- package/dist/lib/SpecialOPS/index.js +21 -0
- package/dist/lib/SpecialOPS/index.js.map +1 -0
- package/dist/lib/base copy.d.ts +14 -0
- package/dist/lib/base copy.js +136 -0
- package/dist/lib/base copy.js.map +1 -0
- package/dist/rules/GR/utils/anonymisation.d.ts +29 -0
- package/dist/rules/GR/utils/anonymisation.js +269 -0
- package/dist/rules/GR/utils/anonymisation.js.map +1 -0
- package/dist/rules/GR/utils/expedition.js +12 -11
- package/dist/rules/GR/utils/expedition.js.map +1 -1
- package/dist/services/database/AuthProvider.d.ts +3 -0
- package/dist/services/database/AuthProvider.js +67 -0
- package/dist/services/database/AuthProvider.js.map +1 -0
- package/dist/utils/env.d.ts +1 -0
- package/dist/utils/env.js +14 -0
- package/dist/utils/env.js.map +1 -0
- package/dist/utils/file.js +6 -3
- package/dist/utils/file.js.map +1 -1
- package/dist/utils/firebase.js +46 -15
- package/dist/utils/firebase.js.map +1 -1
- package/dist/utils/math.d.ts +1 -0
- package/dist/utils/math.js +16 -0
- package/dist/utils/math.js.map +1 -0
- package/dist/utils/slack.d.ts +33 -0
- package/dist/utils/slack.js +178 -0
- package/dist/utils/slack.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Attribute from '../../../lib/Attribute';
|
|
2
|
+
import Space from '../../../lib/Space';
|
|
3
|
+
export default interface ICMSCreator {
|
|
4
|
+
readonly space: Space;
|
|
5
|
+
readonly attributes?: Attribute[];
|
|
6
|
+
}
|
|
7
|
+
export interface IPossibleFieldForRender {
|
|
8
|
+
readonly parse?: boolean;
|
|
9
|
+
readonly actionsOnly?: boolean;
|
|
10
|
+
readonly mathOption?: boolean;
|
|
11
|
+
readonly customPrefix?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Interfaces/CMS/Creator/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IQuoteSectionField, IQuoteTabSection } from '../../../Interfaces/Space';
|
|
2
|
+
import Space from '../../../lib/Space';
|
|
3
|
+
export default interface ICMSReader {
|
|
4
|
+
readonly data: any;
|
|
5
|
+
readonly sectionData?: any;
|
|
6
|
+
readonly section?: IQuoteTabSection;
|
|
7
|
+
}
|
|
8
|
+
export interface IQuoteSectionData {
|
|
9
|
+
}
|
|
10
|
+
export interface IGetDataOptions {
|
|
11
|
+
readonly forOptions?: boolean;
|
|
12
|
+
readonly keepClass?: boolean;
|
|
13
|
+
readonly stringify?: boolean;
|
|
14
|
+
readonly section?: IQuoteTabSection;
|
|
15
|
+
readonly space?: Space;
|
|
16
|
+
}
|
|
17
|
+
export interface IRenderFieldOptions {
|
|
18
|
+
readonly parseValue?: boolean;
|
|
19
|
+
readonly divingData?: any;
|
|
20
|
+
readonly forOptions?: boolean;
|
|
21
|
+
readonly keepClass?: boolean;
|
|
22
|
+
readonly stringify?: boolean;
|
|
23
|
+
readonly section?: IQuoteTabSection;
|
|
24
|
+
readonly field?: IQuoteSectionField;
|
|
25
|
+
readonly space?: Space;
|
|
26
|
+
readonly toggle?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface IRenderOptions {
|
|
29
|
+
readonly space?: Space;
|
|
30
|
+
}
|
|
31
|
+
export interface IRespectConditionOptions {
|
|
32
|
+
readonly noNeedToDiveInData?: boolean;
|
|
33
|
+
readonly divingData?: any;
|
|
34
|
+
}
|
|
35
|
+
export interface IRenderSectionOptions {
|
|
36
|
+
readonly forColumns?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface IRenderFieldValueOptions {
|
|
39
|
+
readonly keepClass?: boolean;
|
|
40
|
+
readonly section?: IQuoteTabSection;
|
|
41
|
+
readonly index?: number;
|
|
42
|
+
}
|
|
43
|
+
export interface ISelectDataFromFieldValueUseOptions {
|
|
44
|
+
readonly keepClass?: boolean;
|
|
45
|
+
readonly filter?: boolean;
|
|
46
|
+
readonly index?: number;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Interfaces/CMS/Reader/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ICalendarDay {
|
|
2
|
+
readonly id?: string;
|
|
3
|
+
readonly day: string;
|
|
4
|
+
readonly max_runs: number;
|
|
5
|
+
readonly time_limit: number;
|
|
6
|
+
readonly avaible_drivers: string[];
|
|
7
|
+
readonly last_update_by: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const newCalendarDay: () => ICalendarDay;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newCalendarDay = void 0;
|
|
4
|
+
var newCalendarDay = function () { return ({
|
|
5
|
+
day: '1970-01-01',
|
|
6
|
+
max_runs: 0,
|
|
7
|
+
time_limit: 0,
|
|
8
|
+
avaible_drivers: [],
|
|
9
|
+
last_update_by: ''
|
|
10
|
+
}); };
|
|
11
|
+
exports.newCalendarDay = newCalendarDay;
|
|
12
|
+
//# sourceMappingURL=CalendarDay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalendarDay.js","sourceRoot":"","sources":["../../../src/Interfaces/Delivery/CalendarDay.ts"],"names":[],"mappings":";;;AASO,IAAM,cAAc,GAAG,cAAoB,OAAA,CAAC;IAClD,GAAG,EAAE,YAAY;IACjB,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,CAAC;IACb,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;CAClB,CAAC,EANgD,CAMhD,CAAA;AANW,QAAA,cAAc,kBAMzB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newDriver = void 0;
|
|
4
|
+
var newDriver = function () { return ({
|
|
5
|
+
name: '',
|
|
6
|
+
slug: '',
|
|
7
|
+
last_update_by: ''
|
|
8
|
+
}); };
|
|
9
|
+
exports.newDriver = newDriver;
|
|
10
|
+
//# sourceMappingURL=Driver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Driver.js","sourceRoot":"","sources":["../../../src/Interfaces/Delivery/Driver.ts"],"names":[],"mappings":";;;AAOO,IAAM,SAAS,GAAG,cAAe,OAAA,CAAC;IACxC,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,cAAc,EAAE,EAAE;CAClB,CAAC,EAJsC,CAItC,CAAA;AAJW,QAAA,SAAS,aAIpB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DocumentReference } from 'firebase/firestore';
|
|
2
|
+
import { QuoteStatusEnum } from '../Quote/QuoteCMS/enums';
|
|
3
|
+
import IQuote from '../Quote';
|
|
4
|
+
export interface IPlannedOrder {
|
|
5
|
+
readonly id?: string;
|
|
6
|
+
readonly quote_id: string;
|
|
7
|
+
readonly quote_ref?: DocumentReference<IQuote>;
|
|
8
|
+
readonly day: string;
|
|
9
|
+
readonly is_AM?: boolean;
|
|
10
|
+
readonly address: string;
|
|
11
|
+
readonly city: string;
|
|
12
|
+
readonly province: string;
|
|
13
|
+
readonly zip_code: string;
|
|
14
|
+
readonly last_update_by: string;
|
|
15
|
+
readonly google_city?: string;
|
|
16
|
+
readonly customer: {
|
|
17
|
+
readonly name: string;
|
|
18
|
+
readonly email: string;
|
|
19
|
+
readonly phone: string;
|
|
20
|
+
};
|
|
21
|
+
readonly status?: number;
|
|
22
|
+
readonly picture_url?: string;
|
|
23
|
+
readonly signature_url?: string;
|
|
24
|
+
readonly quote_status?: QuoteStatusEnum;
|
|
25
|
+
}
|
|
26
|
+
export declare const newPlannedOrder: () => IPlannedOrder;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newPlannedOrder = void 0;
|
|
4
|
+
var newPlannedOrder = function () { return ({
|
|
5
|
+
quote_id: '',
|
|
6
|
+
day: '1970-01-01',
|
|
7
|
+
is_AM: false,
|
|
8
|
+
city: '',
|
|
9
|
+
address: '',
|
|
10
|
+
province: '',
|
|
11
|
+
zip_code: '',
|
|
12
|
+
last_update_by: '',
|
|
13
|
+
customer: {
|
|
14
|
+
name: '',
|
|
15
|
+
email: '',
|
|
16
|
+
phone: ''
|
|
17
|
+
}
|
|
18
|
+
}); };
|
|
19
|
+
exports.newPlannedOrder = newPlannedOrder;
|
|
20
|
+
//# sourceMappingURL=PlannedOrder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlannedOrder.js","sourceRoot":"","sources":["../../../src/Interfaces/Delivery/PlannedOrder.ts"],"names":[],"mappings":";;;AA4BO,IAAM,eAAe,GAAG,cAAqB,OAAA,CAAC;IACpD,QAAQ,EAAE,EAAE;IACZ,GAAG,EAAE,YAAY;IACjB,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,EAAE;IACR,OAAO,EAAE,EAAE;IACX,QAAQ,EAAE,EAAE;IACZ,QAAQ,EAAE,EAAE;IACZ,cAAc,EAAE,EAAE;IAClB,QAAQ,EAAE;QACT,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;KACT;CACD,CAAC,EAdkD,CAclD,CAAA;AAdW,QAAA,eAAe,mBAc1B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IPlannedOrder } from './PlannedOrder';
|
|
2
|
+
import { ITruck } from './Truck';
|
|
3
|
+
export interface IScheduledRun {
|
|
4
|
+
readonly id?: string;
|
|
5
|
+
readonly day: string;
|
|
6
|
+
readonly command_list: IPlannedOrder[];
|
|
7
|
+
readonly driver: string;
|
|
8
|
+
readonly truck?: ITruck;
|
|
9
|
+
readonly skids: number;
|
|
10
|
+
readonly google_route?: any;
|
|
11
|
+
readonly google_is_good?: boolean;
|
|
12
|
+
readonly last_update_by: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const newScheduledRun: () => IScheduledRun;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newScheduledRun = void 0;
|
|
4
|
+
var newScheduledRun = function () { return ({
|
|
5
|
+
day: '1970-01-01',
|
|
6
|
+
command_list: [],
|
|
7
|
+
driver: '',
|
|
8
|
+
truck: undefined,
|
|
9
|
+
skids: 0,
|
|
10
|
+
google_route: undefined,
|
|
11
|
+
google_is_good: false,
|
|
12
|
+
last_update_by: ''
|
|
13
|
+
}); };
|
|
14
|
+
exports.newScheduledRun = newScheduledRun;
|
|
15
|
+
//# sourceMappingURL=ScheduledRun.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledRun.js","sourceRoot":"","sources":["../../../src/Interfaces/Delivery/ScheduledRun.ts"],"names":[],"mappings":";;;AAeO,IAAM,eAAe,GAAG,cAAqB,OAAA,CAAC;IACpD,GAAG,EAAE,YAAY;IACjB,YAAY,EAAE,EAAE;IAChB,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,CAAC;IACR,YAAY,EAAE,SAAS;IACvB,cAAc,EAAE,KAAK;IACrB,cAAc,EAAE,EAAE;CAClB,CAAC,EATkD,CASlD,CAAA;AATW,QAAA,eAAe,mBAS1B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum TruckClassEnum {
|
|
2
|
+
None = 0,
|
|
3
|
+
CLASS_4 = 4,
|
|
4
|
+
CLASS_5 = 5,
|
|
5
|
+
CLASS_6 = 6,
|
|
6
|
+
CLASS_7 = 7,
|
|
7
|
+
CLASS_8 = 8
|
|
8
|
+
}
|
|
9
|
+
export interface ITruck {
|
|
10
|
+
readonly id?: string;
|
|
11
|
+
readonly slug: string;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly code_name: string;
|
|
14
|
+
readonly draft: boolean;
|
|
15
|
+
readonly description?: string;
|
|
16
|
+
readonly skid_count: number;
|
|
17
|
+
readonly truck_class: TruckClassEnum;
|
|
18
|
+
readonly priority: number;
|
|
19
|
+
readonly last_update_by: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const newTruck: () => ITruck;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newTruck = exports.TruckClassEnum = void 0;
|
|
4
|
+
var TruckClassEnum;
|
|
5
|
+
(function (TruckClassEnum) {
|
|
6
|
+
TruckClassEnum[TruckClassEnum["None"] = 0] = "None";
|
|
7
|
+
TruckClassEnum[TruckClassEnum["CLASS_4"] = 4] = "CLASS_4";
|
|
8
|
+
TruckClassEnum[TruckClassEnum["CLASS_5"] = 5] = "CLASS_5";
|
|
9
|
+
TruckClassEnum[TruckClassEnum["CLASS_6"] = 6] = "CLASS_6";
|
|
10
|
+
TruckClassEnum[TruckClassEnum["CLASS_7"] = 7] = "CLASS_7";
|
|
11
|
+
TruckClassEnum[TruckClassEnum["CLASS_8"] = 8] = "CLASS_8";
|
|
12
|
+
})(TruckClassEnum = exports.TruckClassEnum || (exports.TruckClassEnum = {}));
|
|
13
|
+
var newTruck = function () { return ({
|
|
14
|
+
slug: '',
|
|
15
|
+
name: '',
|
|
16
|
+
code_name: '',
|
|
17
|
+
draft: true,
|
|
18
|
+
description: '',
|
|
19
|
+
skid_count: 4,
|
|
20
|
+
truck_class: TruckClassEnum.CLASS_4,
|
|
21
|
+
priority: 1,
|
|
22
|
+
last_update_by: ''
|
|
23
|
+
}); };
|
|
24
|
+
exports.newTruck = newTruck;
|
|
25
|
+
//# sourceMappingURL=Truck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Truck.js","sourceRoot":"","sources":["../../../src/Interfaces/Delivery/Truck.ts"],"names":[],"mappings":";;;AAQA,IAAY,cAOX;AAPD,WAAY,cAAc;IACzB,mDAAQ,CAAA;IACR,yDAAW,CAAA;IACX,yDAAW,CAAA;IACX,yDAAW,CAAA;IACX,yDAAW,CAAA;IACX,yDAAW,CAAA;AACZ,CAAC,EAPW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAOzB;AAeM,IAAM,QAAQ,GAAG,cAAc,OAAA,CAAC;IACtC,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,cAAc,CAAC,OAAO;IACnC,QAAQ,EAAE,CAAC;IACX,cAAc,EAAE,EAAE;CAClB,CAAC,EAVoC,CAUpC,CAAA;AAVW,QAAA,QAAQ,YAUnB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export interface IDirections {
|
|
2
|
+
readonly geocoded_waypoints: Array<{
|
|
3
|
+
readonly geocoder_status: string;
|
|
4
|
+
readonly place_id: string;
|
|
5
|
+
readonly types: Array<string>;
|
|
6
|
+
}>;
|
|
7
|
+
readonly routes: Array<{
|
|
8
|
+
readonly bounds: {
|
|
9
|
+
readonly northeast: {
|
|
10
|
+
readonly lat: number;
|
|
11
|
+
readonly lng: number;
|
|
12
|
+
};
|
|
13
|
+
readonly southwest: {
|
|
14
|
+
readonly lat: number;
|
|
15
|
+
readonly lng: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly copyrights: string;
|
|
19
|
+
readonly legs: Array<{
|
|
20
|
+
readonly distance: {
|
|
21
|
+
readonly text: 'string';
|
|
22
|
+
readonly value: number;
|
|
23
|
+
};
|
|
24
|
+
readonly duration: {
|
|
25
|
+
readonly text: 'string';
|
|
26
|
+
readonly value: number;
|
|
27
|
+
};
|
|
28
|
+
readonly end_address: string;
|
|
29
|
+
readonly end_location: {
|
|
30
|
+
readonly lat: number;
|
|
31
|
+
readonly lng: number;
|
|
32
|
+
};
|
|
33
|
+
readonly start_address: string;
|
|
34
|
+
readonly start_location: {
|
|
35
|
+
readonly lat: number;
|
|
36
|
+
readonly lng: number;
|
|
37
|
+
};
|
|
38
|
+
readonly steps: Array<{
|
|
39
|
+
readonly distance: {
|
|
40
|
+
readonly text: 'string';
|
|
41
|
+
readonly value: number;
|
|
42
|
+
};
|
|
43
|
+
readonly duration: {
|
|
44
|
+
readonly text: 'string';
|
|
45
|
+
readonly value: number;
|
|
46
|
+
};
|
|
47
|
+
readonly end_location: {
|
|
48
|
+
readonly lat: number;
|
|
49
|
+
readonly lng: number;
|
|
50
|
+
};
|
|
51
|
+
readonly html_instructions: string;
|
|
52
|
+
readonly polyline: {
|
|
53
|
+
readonly points: string;
|
|
54
|
+
};
|
|
55
|
+
readonly start_location: {
|
|
56
|
+
readonly lat: number;
|
|
57
|
+
readonly lng: number;
|
|
58
|
+
};
|
|
59
|
+
readonly travel_mode: string;
|
|
60
|
+
}>;
|
|
61
|
+
readonly traffic_speed_entry: Array<any>;
|
|
62
|
+
readonly via_waypoint: Array<any>;
|
|
63
|
+
}>;
|
|
64
|
+
readonly overview_polyline: {
|
|
65
|
+
readonly points: string;
|
|
66
|
+
};
|
|
67
|
+
readonly summary: string;
|
|
68
|
+
readonly warnings: Array<any>;
|
|
69
|
+
readonly waypoint_order: Array<number>;
|
|
70
|
+
}>;
|
|
71
|
+
readonly status: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Interfaces/Directions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default interface IQuoteApprobationEmail {
|
|
2
|
+
readonly Attachments?: {
|
|
3
|
+
readonly Name: string;
|
|
4
|
+
readonly ContentID: string;
|
|
5
|
+
readonly Content: string;
|
|
6
|
+
readonly ContentType: string;
|
|
7
|
+
}[];
|
|
8
|
+
readonly TemplateModel: {
|
|
9
|
+
readonly subject: string;
|
|
10
|
+
readonly title: string;
|
|
11
|
+
readonly subtitle: string;
|
|
12
|
+
readonly btn_href: string;
|
|
13
|
+
readonly btn_label: string;
|
|
14
|
+
readonly cart_title: string;
|
|
15
|
+
readonly cart_items: {
|
|
16
|
+
readonly href: string;
|
|
17
|
+
readonly image_src: string;
|
|
18
|
+
readonly title: string;
|
|
19
|
+
readonly subtitle: string;
|
|
20
|
+
readonly variants: string;
|
|
21
|
+
readonly price: string;
|
|
22
|
+
}[];
|
|
23
|
+
readonly socialmedias_items: {
|
|
24
|
+
readonly href: string;
|
|
25
|
+
readonly icon: string;
|
|
26
|
+
}[];
|
|
27
|
+
readonly [key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IQuoteApprobationEmail.js","sourceRoot":"","sources":["../../../src/Interfaces/Email/IQuoteApprobationEmail.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IPriceOptions } from '../Declination';
|
|
2
|
+
export interface IProductGroupPart {
|
|
3
|
+
readonly sku: string;
|
|
4
|
+
readonly qty: number;
|
|
5
|
+
readonly parent_slug: string;
|
|
6
|
+
readonly part_name: string;
|
|
7
|
+
readonly part_price: IPriceOptions;
|
|
8
|
+
readonly depends_on?: string[];
|
|
9
|
+
readonly is_needed_by?: string[];
|
|
10
|
+
readonly order?: number;
|
|
11
|
+
}
|
|
12
|
+
export default interface IProductGroup {
|
|
13
|
+
readonly id?: string;
|
|
14
|
+
readonly group_name: string;
|
|
15
|
+
readonly parts: IProductGroupPart[];
|
|
16
|
+
readonly draft?: boolean;
|
|
17
|
+
readonly last_update?: Date;
|
|
18
|
+
readonly last_update_by?: string;
|
|
19
|
+
readonly category_id?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Interfaces/ProductGroup/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IQuoteDataResult, IQuoteSectionField, IQuoteTabSection } from '../../../Interfaces/Space';
|
|
2
|
+
import IQuote, { ICMSObject, IQuoteActionResult } from '..';
|
|
3
|
+
export declare const quoteActions: IQuoteActionResult[];
|
|
4
|
+
export declare const getEnumDictionnaryValue: (value: any, enumString: ICMSObject['enum_string']) => any;
|
|
5
|
+
export declare const getDefaultQuote: () => IQuote;
|
|
6
|
+
export declare const getFilteredDataFromMapOnData: (mapOnData: IQuoteDataResult['data'], section: IQuoteTabSection, field: IQuoteSectionField) => import("../../../lib/Attribute").default[] | import("..").IQuoteClientPreference[] | import("../../../lib/Category").default[] | import("../../../lib/Product").default[] | import("../../../lib/Quote").default | import("../../../lib/Quote").default[] | undefined;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
exports.getFilteredDataFromMapOnData = exports.getDefaultQuote = exports.getEnumDictionnaryValue = exports.quoteActions = void 0;
|
|
7
|
+
var enums_1 = require("./enums");
|
|
8
|
+
var string_1 = require("../../../utils/string");
|
|
9
|
+
var lodash_1 = require("lodash");
|
|
10
|
+
var toString_1 = __importDefault(require("lodash/toString"));
|
|
11
|
+
exports.quoteActions = [
|
|
12
|
+
{
|
|
13
|
+
title: "Afficher l'\u00E9tat de la soumissions sous forme de texte",
|
|
14
|
+
type: enums_1.ActionResultTypeEnum.RENDER
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
var getEnumDictionnaryValue = function (value, enumString) {
|
|
18
|
+
try {
|
|
19
|
+
if (!!!(0, toString_1.default)(enumString))
|
|
20
|
+
return value;
|
|
21
|
+
if (!!!(0, toString_1.default)(value))
|
|
22
|
+
return value;
|
|
23
|
+
var key_1 = "".concat(enumString, ".").concat(value);
|
|
24
|
+
var res = string_1.enumDict.find(function (d) { return d.key === key_1; });
|
|
25
|
+
if (!!!res)
|
|
26
|
+
return value;
|
|
27
|
+
return res.value;
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.getEnumDictionnaryValue = getEnumDictionnaryValue;
|
|
34
|
+
var getDefaultQuote = function () { return ({
|
|
35
|
+
created_at: new Date(),
|
|
36
|
+
shipping_fee: 0,
|
|
37
|
+
status: enums_1.QuoteStatusEnum.PRODUCTION,
|
|
38
|
+
draft: true,
|
|
39
|
+
items: [],
|
|
40
|
+
job_id: ''
|
|
41
|
+
}); };
|
|
42
|
+
exports.getDefaultQuote = getDefaultQuote;
|
|
43
|
+
var getFilteredDataFromMapOnData = function (mapOnData, section, field) {
|
|
44
|
+
if (!!!section)
|
|
45
|
+
throw new Error("Section must be defined");
|
|
46
|
+
var rules = (0, lodash_1.flatten)((section.fields || []).map(function (field) { return (field.values || []).filter(function (value) { return value.will_filter; }); }));
|
|
47
|
+
return mapOnData;
|
|
48
|
+
};
|
|
49
|
+
exports.getFilteredDataFromMapOnData = getFilteredDataFromMapOnData;
|
|
50
|
+
//# sourceMappingURL=actions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../../src/Interfaces/Quote/QuoteCMS/actions.ts"],"names":[],"mappings":";;;;;;AAEA,iCAA+D;AAC/D,yCAAyC;AACzC,iCAAgC;AAEhC,6DAAsC;AAEzB,QAAA,YAAY,GAAyB;IACjD;QACC,KAAK,EAAE,4DAAuD;QAC9D,IAAI,EAAE,4BAAoB,CAAC,MAAM;KACjC;CACD,CAAA;AAEM,IAAM,uBAAuB,GAAG,UAAC,KAAU,EAAE,UAAqC;IACxF,IAAI;QACH,IAAI,CAAC,CAAC,CAAC,IAAA,kBAAQ,EAAC,UAAU,CAAC;YAAE,OAAO,KAAK,CAAA;QACzC,IAAI,CAAC,CAAC,CAAC,IAAA,kBAAQ,EAAC,KAAK,CAAC;YAAE,OAAO,KAAK,CAAA;QAEpC,IAAM,KAAG,GAAQ,UAAG,UAAU,cAAI,KAAK,CAAE,CAAA;QAEzC,IAAM,GAAG,GAAG,iBAAQ,CAAC,IAAI,CAAC,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,GAAG,KAAK,KAAG,EAAb,CAAa,CAAC,CAAA;QAE/C,IAAI,CAAC,CAAC,CAAC,GAAG;YAAE,OAAO,KAAK,CAAA;QACxB,OAAO,GAAG,CAAC,KAAK,CAAA;KAChB;IAAC,OAAO,KAAK,EAAE;QACf,OAAO,KAAK,CAAA;KACZ;AACF,CAAC,CAAA;AAdY,QAAA,uBAAuB,2BAcnC;AAEM,IAAM,eAAe,GAAG,cAAc,OAAA,CAAC;IAC7C,UAAU,EAAE,IAAI,IAAI,EAAE;IACtB,YAAY,EAAE,CAAC;IACf,MAAM,EAAE,uBAAe,CAAC,UAAU;IAClC,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;CACV,CAAC,EAP2C,CAO3C,CAAA;AAPW,QAAA,eAAe,mBAO1B;AAEK,IAAM,4BAA4B,GAAG,UAC3C,SAAmC,EACnC,OAAyB,EACzB,KAAyB;IAEzB,IAAI,CAAC,CAAC,CAAC,OAAO;QAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;IAE1D,IAAM,KAAK,GAAG,IAAA,gBAAO,EACpB,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,WAAW,EAAjB,CAAiB,CAAC,EAAzD,CAAyD,CAAC,CAChG,CAAA;IAED,OAAO,SAAS,CAAA;AACjB,CAAC,CAAA;AAZY,QAAA,4BAA4B,gCAYxC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
exports.getDefaultProductAttributesCMS = void 0;
|
|
7
|
+
var enums_1 = require("../../../constants/enums");
|
|
8
|
+
var locale_1 = require("../../../utils/locale");
|
|
9
|
+
var orderBy_1 = __importDefault(require("lodash/orderBy"));
|
|
10
|
+
var toLower_1 = __importDefault(require("lodash/toLower"));
|
|
11
|
+
var getDefaultProductAttributesCMS = function (attributes, space) {
|
|
12
|
+
return (0, orderBy_1.default)(attributes, function (attr) { return (0, locale_1.getPrincipalWord)(attr.name, space); }).map(function (attr) { return ({
|
|
13
|
+
label: (0, toLower_1.default)((0, locale_1.getPrincipalWord)(attr.name, space)),
|
|
14
|
+
default: {
|
|
15
|
+
attribute_id: '',
|
|
16
|
+
values: []
|
|
17
|
+
},
|
|
18
|
+
key: "items.attributes.attribute_id@".concat(attr.id, ".attribute_value"),
|
|
19
|
+
path_key: "attribute_id@".concat(attr.id, ".values"),
|
|
20
|
+
object_path: "attribute_id@".concat(attr.id, ".values"),
|
|
21
|
+
type: 'select',
|
|
22
|
+
path_use: enums_1.QuotePartDataTypeEnum.ALL_ATTRIBUTE,
|
|
23
|
+
object: [
|
|
24
|
+
{ field: 'slug', key: 'value' },
|
|
25
|
+
{ field: 'value', key: 'label' }
|
|
26
|
+
],
|
|
27
|
+
value: attr.id,
|
|
28
|
+
use: enums_1.QuotePartDataTypeEnum.CURRENT_QUOTE
|
|
29
|
+
}); });
|
|
30
|
+
};
|
|
31
|
+
exports.getDefaultProductAttributesCMS = getDefaultProductAttributesCMS;
|
|
32
|
+
//# sourceMappingURL=defaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../src/Interfaces/Quote/QuoteCMS/defaults.ts"],"names":[],"mappings":";;;;;;AAEA,2CAA+E;AAE/E,yCAAiD;AAGjD,2DAAoC;AACpC,2DAAoC;AAK7B,IAAM,8BAA8B,GAAG,UAAC,UAAwB,EAAE,KAAY;IACpF,OAAA,IAAA,iBAAO,EAAC,UAAU,EAAE,UAAC,IAAI,IAAK,OAAA,IAAA,yBAAgB,EAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,EAAlC,CAAkC,CAAC,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CAAC;QAChF,KAAK,EAAE,IAAA,iBAAO,EAAC,IAAA,yBAAgB,EAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClD,OAAO,EAAE;YACR,YAAY,EAAE,EAAE;YAChB,MAAM,EAAE,EAAE;SACe;QAC1B,GAAG,EAAE,wCAAiC,IAAI,CAAC,EAAE,qBAAkB;QAC/D,QAAQ,EAAE,uBAAgB,IAAI,CAAC,EAAE,YAAS;QAC1C,WAAW,EAAE,uBAAgB,IAAI,CAAC,EAAE,YAAS;QAC7C,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,6BAAqB,CAAC,aAAa;QAC7C,MAAM,EAAE;YACP,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE;YAC/B,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE;SAChC;QACD,KAAK,EAAE,IAAI,CAAC,EAAE;QACd,GAAG,EAAE,6BAAqB,CAAC,aAAa;KACxC,CAAC,EAjB8E,CAiB9E,CAAC;AAjBH,CAiBG,CAAA;AAlBS,QAAA,8BAA8B,kCAkBvC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare enum ClientTypeEnum {
|
|
2
|
+
ENTREPRENEUR = "Entrepreneur",
|
|
3
|
+
PARTICULIER = "Particulier"
|
|
4
|
+
}
|
|
5
|
+
export declare enum PromptResultTypeEnum {
|
|
6
|
+
YES = 0
|
|
7
|
+
}
|
|
8
|
+
export declare enum QuoteStatusEnum {
|
|
9
|
+
EN_COURS = 0,
|
|
10
|
+
APPROBATION = 1,
|
|
11
|
+
APPROUVEE_CLIENT = 2,
|
|
12
|
+
APPROUVEE_PAR_LE_GESTIONNAIRE = 3,
|
|
13
|
+
PRODUCTION = 4,
|
|
14
|
+
EN_LIVRAISON = 5,
|
|
15
|
+
LIVREE = 6,
|
|
16
|
+
TERMINEE = 7,
|
|
17
|
+
COMPTABILISE = 8,
|
|
18
|
+
BO = 9,
|
|
19
|
+
REFUSEE_PAR_LE_CLIENT = 10,
|
|
20
|
+
REFUSEE_PAR_LE_GESTIONNAIRE = 11,
|
|
21
|
+
ANNULEE = 12,
|
|
22
|
+
EN_ATTENTE = 13
|
|
23
|
+
}
|
|
24
|
+
export declare enum BBSpecialTypeEnum {
|
|
25
|
+
PORTE = 0,
|
|
26
|
+
MOULURE = 1,
|
|
27
|
+
PLINTHE = 2,
|
|
28
|
+
POIGNEE = 3
|
|
29
|
+
}
|
|
30
|
+
export declare enum ProductProductionStateEnum {
|
|
31
|
+
ATTENTE = 0,
|
|
32
|
+
EN_COURS = 1,
|
|
33
|
+
PRET_POUR_VERIFICATION = 2,
|
|
34
|
+
VERIFICATION = 3,
|
|
35
|
+
VERIFIEE = 4
|
|
36
|
+
}
|
|
37
|
+
export declare enum PanelTypeEnum {
|
|
38
|
+
PORTE = 0,
|
|
39
|
+
MOULURE = 1,
|
|
40
|
+
PLINTHE = 2,
|
|
41
|
+
CHAMBRANLE = 3,
|
|
42
|
+
QUINCAILLERIE = 4,
|
|
43
|
+
POIGNEE = 5
|
|
44
|
+
}
|
|
45
|
+
export declare enum ActionResultTypeEnum {
|
|
46
|
+
RENDER = 0,
|
|
47
|
+
UPDATE = 1,
|
|
48
|
+
DELETE = 2,
|
|
49
|
+
CREATE = 3
|
|
50
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionResultTypeEnum = exports.PanelTypeEnum = exports.ProductProductionStateEnum = exports.BBSpecialTypeEnum = exports.QuoteStatusEnum = exports.PromptResultTypeEnum = exports.ClientTypeEnum = void 0;
|
|
4
|
+
var ClientTypeEnum;
|
|
5
|
+
(function (ClientTypeEnum) {
|
|
6
|
+
ClientTypeEnum["ENTREPRENEUR"] = "Entrepreneur";
|
|
7
|
+
ClientTypeEnum["PARTICULIER"] = "Particulier";
|
|
8
|
+
})(ClientTypeEnum = exports.ClientTypeEnum || (exports.ClientTypeEnum = {}));
|
|
9
|
+
var PromptResultTypeEnum;
|
|
10
|
+
(function (PromptResultTypeEnum) {
|
|
11
|
+
PromptResultTypeEnum[PromptResultTypeEnum["YES"] = 0] = "YES";
|
|
12
|
+
})(PromptResultTypeEnum = exports.PromptResultTypeEnum || (exports.PromptResultTypeEnum = {}));
|
|
13
|
+
var QuoteStatusEnum;
|
|
14
|
+
(function (QuoteStatusEnum) {
|
|
15
|
+
QuoteStatusEnum[QuoteStatusEnum["EN_COURS"] = 0] = "EN_COURS";
|
|
16
|
+
QuoteStatusEnum[QuoteStatusEnum["APPROBATION"] = 1] = "APPROBATION";
|
|
17
|
+
QuoteStatusEnum[QuoteStatusEnum["APPROUVEE_CLIENT"] = 2] = "APPROUVEE_CLIENT";
|
|
18
|
+
QuoteStatusEnum[QuoteStatusEnum["APPROUVEE_PAR_LE_GESTIONNAIRE"] = 3] = "APPROUVEE_PAR_LE_GESTIONNAIRE";
|
|
19
|
+
QuoteStatusEnum[QuoteStatusEnum["PRODUCTION"] = 4] = "PRODUCTION";
|
|
20
|
+
QuoteStatusEnum[QuoteStatusEnum["EN_LIVRAISON"] = 5] = "EN_LIVRAISON";
|
|
21
|
+
QuoteStatusEnum[QuoteStatusEnum["LIVREE"] = 6] = "LIVREE";
|
|
22
|
+
QuoteStatusEnum[QuoteStatusEnum["TERMINEE"] = 7] = "TERMINEE";
|
|
23
|
+
QuoteStatusEnum[QuoteStatusEnum["COMPTABILISE"] = 8] = "COMPTABILISE";
|
|
24
|
+
QuoteStatusEnum[QuoteStatusEnum["BO"] = 9] = "BO";
|
|
25
|
+
QuoteStatusEnum[QuoteStatusEnum["REFUSEE_PAR_LE_CLIENT"] = 10] = "REFUSEE_PAR_LE_CLIENT";
|
|
26
|
+
QuoteStatusEnum[QuoteStatusEnum["REFUSEE_PAR_LE_GESTIONNAIRE"] = 11] = "REFUSEE_PAR_LE_GESTIONNAIRE";
|
|
27
|
+
QuoteStatusEnum[QuoteStatusEnum["ANNULEE"] = 12] = "ANNULEE";
|
|
28
|
+
QuoteStatusEnum[QuoteStatusEnum["EN_ATTENTE"] = 13] = "EN_ATTENTE";
|
|
29
|
+
})(QuoteStatusEnum = exports.QuoteStatusEnum || (exports.QuoteStatusEnum = {}));
|
|
30
|
+
var BBSpecialTypeEnum;
|
|
31
|
+
(function (BBSpecialTypeEnum) {
|
|
32
|
+
BBSpecialTypeEnum[BBSpecialTypeEnum["PORTE"] = 0] = "PORTE";
|
|
33
|
+
BBSpecialTypeEnum[BBSpecialTypeEnum["MOULURE"] = 1] = "MOULURE";
|
|
34
|
+
BBSpecialTypeEnum[BBSpecialTypeEnum["PLINTHE"] = 2] = "PLINTHE";
|
|
35
|
+
BBSpecialTypeEnum[BBSpecialTypeEnum["POIGNEE"] = 3] = "POIGNEE";
|
|
36
|
+
})(BBSpecialTypeEnum = exports.BBSpecialTypeEnum || (exports.BBSpecialTypeEnum = {}));
|
|
37
|
+
var ProductProductionStateEnum;
|
|
38
|
+
(function (ProductProductionStateEnum) {
|
|
39
|
+
ProductProductionStateEnum[ProductProductionStateEnum["ATTENTE"] = 0] = "ATTENTE";
|
|
40
|
+
ProductProductionStateEnum[ProductProductionStateEnum["EN_COURS"] = 1] = "EN_COURS";
|
|
41
|
+
ProductProductionStateEnum[ProductProductionStateEnum["PRET_POUR_VERIFICATION"] = 2] = "PRET_POUR_VERIFICATION";
|
|
42
|
+
ProductProductionStateEnum[ProductProductionStateEnum["VERIFICATION"] = 3] = "VERIFICATION";
|
|
43
|
+
ProductProductionStateEnum[ProductProductionStateEnum["VERIFIEE"] = 4] = "VERIFIEE";
|
|
44
|
+
})(ProductProductionStateEnum = exports.ProductProductionStateEnum || (exports.ProductProductionStateEnum = {}));
|
|
45
|
+
var PanelTypeEnum;
|
|
46
|
+
(function (PanelTypeEnum) {
|
|
47
|
+
PanelTypeEnum[PanelTypeEnum["PORTE"] = 0] = "PORTE";
|
|
48
|
+
PanelTypeEnum[PanelTypeEnum["MOULURE"] = 1] = "MOULURE";
|
|
49
|
+
PanelTypeEnum[PanelTypeEnum["PLINTHE"] = 2] = "PLINTHE";
|
|
50
|
+
PanelTypeEnum[PanelTypeEnum["CHAMBRANLE"] = 3] = "CHAMBRANLE";
|
|
51
|
+
PanelTypeEnum[PanelTypeEnum["QUINCAILLERIE"] = 4] = "QUINCAILLERIE";
|
|
52
|
+
PanelTypeEnum[PanelTypeEnum["POIGNEE"] = 5] = "POIGNEE";
|
|
53
|
+
})(PanelTypeEnum = exports.PanelTypeEnum || (exports.PanelTypeEnum = {}));
|
|
54
|
+
var ActionResultTypeEnum;
|
|
55
|
+
(function (ActionResultTypeEnum) {
|
|
56
|
+
ActionResultTypeEnum[ActionResultTypeEnum["RENDER"] = 0] = "RENDER";
|
|
57
|
+
ActionResultTypeEnum[ActionResultTypeEnum["UPDATE"] = 1] = "UPDATE";
|
|
58
|
+
ActionResultTypeEnum[ActionResultTypeEnum["DELETE"] = 2] = "DELETE";
|
|
59
|
+
ActionResultTypeEnum[ActionResultTypeEnum["CREATE"] = 3] = "CREATE";
|
|
60
|
+
})(ActionResultTypeEnum = exports.ActionResultTypeEnum || (exports.ActionResultTypeEnum = {}));
|
|
61
|
+
//# sourceMappingURL=enums.js.map
|