@d19n/youfibre-odin-sdk 1.0.278 → 1.0.281
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/actions-v2/CreateCollectionAmcoWorkOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateCollectionAmcoWorkOrderFromOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateDispatchAmcoWorkOrderDto.d.ts +1 -1
- package/dist/actions-v2/CreateDispatchAmcoWorkOrderFromOrderDto.d.ts +1 -1
- package/dist/actions-v2/SetPendingAmcoWorkOrderDto.d.ts +18 -4
- package/dist/entities-v2/Order.d.ts +22 -8
- package/dist/entities-v2/Order.js +6 -2
- package/dist/entities-v2/ReplacementAmcoWorkOrder.d.ts +1217 -0
- package/dist/entities-v2/ReplacementAmcoWorkOrder.js +593 -0
- package/dist/entities-v2/WorkOrder.d.ts +2 -0
- package/dist/entities-v2/WorkOrder.js +2 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +7 -2
- package/dist/records-v2/WorkOrderRecord.js +6 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ export interface CreateCollectionAmcoWorkOrderProperties {
|
|
|
24
24
|
*
|
|
25
25
|
* PendingAmcoOrder
|
|
26
26
|
* @type {BOOLEAN}
|
|
27
|
-
* @default Dynamic: {
|
|
27
|
+
* @default Dynamic: {source_record_properties_PendingAmcoCollection}
|
|
28
28
|
* @hidden This field is not visible in the UI
|
|
29
29
|
*/
|
|
30
30
|
PendingAmcoOrder?: boolean;
|
|
@@ -23,7 +23,7 @@ export interface CreateCollectionAmcoWorkOrderProperties {
|
|
|
23
23
|
*
|
|
24
24
|
* PendingAmcoOrder
|
|
25
25
|
* @type {BOOLEAN}
|
|
26
|
-
* @default Dynamic: {
|
|
26
|
+
* @default Dynamic: {source_record_properties_PendingAmcoCollection}
|
|
27
27
|
* @hidden This field is not visible in the UI
|
|
28
28
|
*/
|
|
29
29
|
PendingAmcoOrder?: boolean;
|
|
@@ -24,7 +24,7 @@ export interface CreateDispatchAmcoWorkOrderProperties {
|
|
|
24
24
|
*
|
|
25
25
|
* PendingAmcoOrder
|
|
26
26
|
* @type {BOOLEAN}
|
|
27
|
-
* @default Dynamic: {
|
|
27
|
+
* @default Dynamic: {source_record_properties_PendingAmcoDispatch}
|
|
28
28
|
* @hidden This field is not visible in the UI
|
|
29
29
|
*/
|
|
30
30
|
PendingAmcoOrder?: boolean;
|
|
@@ -23,7 +23,7 @@ export interface CreateDispatchAmcoWorkOrderProperties {
|
|
|
23
23
|
*
|
|
24
24
|
* PendingAmcoOrder
|
|
25
25
|
* @type {BOOLEAN}
|
|
26
|
-
* @default Dynamic: {
|
|
26
|
+
* @default Dynamic: {source_record_properties_PendingAmcoDispatch}
|
|
27
27
|
* @hidden This field is not visible in the UI
|
|
28
28
|
*/
|
|
29
29
|
PendingAmcoOrder?: boolean;
|
|
@@ -15,16 +15,30 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
|
|
|
15
15
|
* Properties for SetPendingAmcoWorkOrder action
|
|
16
16
|
*
|
|
17
17
|
* @property Required fields: 0
|
|
18
|
-
* @property Optional fields:
|
|
18
|
+
* @property Optional fields: 3
|
|
19
19
|
*/
|
|
20
20
|
export interface SetPendingAmcoWorkOrderProperties {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* PendingAmcoCollection
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* PendingAmcoCollection
|
|
25
25
|
* @type {BOOLEAN}
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
PendingAmcoCollection?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* PendingAmcoDispatch
|
|
30
|
+
*
|
|
31
|
+
* PendingAmcoDispatch
|
|
32
|
+
* @type {BOOLEAN}
|
|
33
|
+
*/
|
|
34
|
+
PendingAmcoDispatch?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* PendingAmcoReplacement
|
|
37
|
+
*
|
|
38
|
+
* PendingAmcoReplacement
|
|
39
|
+
* @type {BOOLEAN}
|
|
40
|
+
*/
|
|
41
|
+
PendingAmcoReplacement?: boolean;
|
|
28
42
|
}
|
|
29
43
|
/**
|
|
30
44
|
* SetPendingAmcoWorkOrder
|
|
@@ -261,8 +261,6 @@ export declare enum OrderDiscountUnit {
|
|
|
261
261
|
* Use these constants instead of string literals for type safety
|
|
262
262
|
*/
|
|
263
263
|
export declare enum OrderPropertyKeys {
|
|
264
|
-
/** PendingAmcoWorkOrder */
|
|
265
|
-
PendingAmcoWorkOrder = "PendingAmcoWorkOrder",
|
|
266
264
|
/** Data field for Order records. Used by Sales team. */
|
|
267
265
|
VatNumber = "VATNumber",
|
|
268
266
|
/** the datetime when the amendment was performed (Sales - Order) */
|
|
@@ -426,7 +424,13 @@ export declare enum OrderPropertyKeys {
|
|
|
426
424
|
/** the date the contract start (Sales - Order) */
|
|
427
425
|
ContractStartDate = "ContractStartDate",
|
|
428
426
|
/** check this box if you want to flag a commission hold on this order (Sales - Order) */
|
|
429
|
-
WithholdCommission = "WithholdCommission"
|
|
427
|
+
WithholdCommission = "WithholdCommission",
|
|
428
|
+
/** PendingAmcoReplacement */
|
|
429
|
+
PendingAmcoReplacement = "PendingAmcoReplacement",
|
|
430
|
+
/** PendingAmcoDispatch */
|
|
431
|
+
PendingAmcoDispatch = "PendingAmcoDispatch",
|
|
432
|
+
/** PendingAmcoCollection */
|
|
433
|
+
PendingAmcoCollection = "PendingAmcoCollection"
|
|
430
434
|
}
|
|
431
435
|
/**
|
|
432
436
|
* Properties for Order records
|
|
@@ -434,11 +438,6 @@ export declare enum OrderPropertyKeys {
|
|
|
434
438
|
* @see OrderModule:Order
|
|
435
439
|
*/
|
|
436
440
|
export interface OrderProperties {
|
|
437
|
-
/** PendingAmcoWorkOrder
|
|
438
|
-
*
|
|
439
|
-
* @type {BOOLEAN}
|
|
440
|
-
*/
|
|
441
|
-
PendingAmcoWorkOrder: boolean;
|
|
442
441
|
/** Data field for Order records. Used by Sales team.
|
|
443
442
|
*
|
|
444
443
|
* @type {TEXT}
|
|
@@ -965,6 +964,21 @@ export interface OrderProperties {
|
|
|
965
964
|
* @hidden This field is hidden in the UI
|
|
966
965
|
*/
|
|
967
966
|
WithholdCommission: boolean;
|
|
967
|
+
/** PendingAmcoReplacement
|
|
968
|
+
*
|
|
969
|
+
* @type {BOOLEAN}
|
|
970
|
+
*/
|
|
971
|
+
PendingAmcoReplacement: boolean;
|
|
972
|
+
/** PendingAmcoDispatch
|
|
973
|
+
*
|
|
974
|
+
* @type {BOOLEAN}
|
|
975
|
+
*/
|
|
976
|
+
PendingAmcoDispatch: boolean;
|
|
977
|
+
/** PendingAmcoCollection
|
|
978
|
+
*
|
|
979
|
+
* @type {BOOLEAN}
|
|
980
|
+
*/
|
|
981
|
+
PendingAmcoCollection: boolean;
|
|
968
982
|
}
|
|
969
983
|
/**
|
|
970
984
|
* Order entity from OrderModule
|
|
@@ -244,8 +244,6 @@ var OrderDiscountUnit;
|
|
|
244
244
|
*/
|
|
245
245
|
var OrderPropertyKeys;
|
|
246
246
|
(function (OrderPropertyKeys) {
|
|
247
|
-
/** PendingAmcoWorkOrder */
|
|
248
|
-
OrderPropertyKeys["PendingAmcoWorkOrder"] = "PendingAmcoWorkOrder";
|
|
249
247
|
/** Data field for Order records. Used by Sales team. */
|
|
250
248
|
OrderPropertyKeys["VatNumber"] = "VATNumber";
|
|
251
249
|
/** the datetime when the amendment was performed (Sales - Order) */
|
|
@@ -410,6 +408,12 @@ var OrderPropertyKeys;
|
|
|
410
408
|
OrderPropertyKeys["ContractStartDate"] = "ContractStartDate";
|
|
411
409
|
/** check this box if you want to flag a commission hold on this order (Sales - Order) */
|
|
412
410
|
OrderPropertyKeys["WithholdCommission"] = "WithholdCommission";
|
|
411
|
+
/** PendingAmcoReplacement */
|
|
412
|
+
OrderPropertyKeys["PendingAmcoReplacement"] = "PendingAmcoReplacement";
|
|
413
|
+
/** PendingAmcoDispatch */
|
|
414
|
+
OrderPropertyKeys["PendingAmcoDispatch"] = "PendingAmcoDispatch";
|
|
415
|
+
/** PendingAmcoCollection */
|
|
416
|
+
OrderPropertyKeys["PendingAmcoCollection"] = "PendingAmcoCollection";
|
|
413
417
|
})(OrderPropertyKeys = exports.OrderPropertyKeys || (exports.OrderPropertyKeys = {}));
|
|
414
418
|
/**
|
|
415
419
|
* Order entity from OrderModule
|