@d19n/youfibre-odin-sdk 2.0.262 → 2.0.264
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/README.md +3 -2
- package/dist/actions-v2/CaseTransitionEscalatedToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionOpenToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionPendingAgentToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CaseTransitionPendingReplyToBlockedDto.d.ts +36 -2
- package/dist/actions-v2/CasedefaultstageblockedDto.d.ts +36 -2
- package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.d.ts +136 -0
- package/dist/actions-v2/CreateOrderPreviousConnectionEmailDto.js +59 -0
- package/dist/actions-v2/MoveCaseToBlockedActionDto.d.ts +36 -2
- package/dist/actions-v2/MoveCaseToBlockedTransitionDto.d.ts +36 -2
- package/dist/actions-v2/SendRefundTransactionEmailDto.d.ts +5 -0
- package/dist/actions-v2/SendRefundTransactionEmailDto.js +6 -1
- package/dist/db-sdk-v2/FileDb.d.ts +122 -122
- package/dist/db-sdk-v2/FileDb.js +247 -247
- package/dist/entities-v2/Case.d.ts +78 -0
- package/dist/entities-v2/Case.js +48 -2
- package/dist/entities-v2/FieldServiceProduct.d.ts +70 -1
- package/dist/entities-v2/FieldServiceProduct.js +9 -1
- package/dist/entities-v2/File.d.ts +6 -0
- package/dist/entities-v2/File.js +5 -1
- package/dist/entities-v2/Offer.d.ts +20 -0
- package/dist/entities-v2/Offer.js +2 -0
- package/dist/entities-v2/Recontract.d.ts +56 -0
- package/dist/entities-v2/Recontract.js +14 -0
- package/dist/entities-v2/WorkOrder.d.ts +50 -2
- package/dist/entities-v2/WorkOrder.js +48 -0
- package/dist/records-v2/EmailRecord.d.ts +31 -2
- package/dist/records-v2/EmailRecord.js +39 -3
- package/dist/records-v2/FieldServiceProductRecord.d.ts +19 -3
- package/dist/records-v2/FieldServiceProductRecord.js +17 -1
- package/package.json +1 -1
|
@@ -750,6 +750,44 @@ export declare enum CaseSource {
|
|
|
750
750
|
USERESPONSE = "USERESPONSE",
|
|
751
751
|
WEBSITE = "WEBSITE"
|
|
752
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Valid values for Case.OmbudsmanReason
|
|
755
|
+
*
|
|
756
|
+
* Ombudsman Reason
|
|
757
|
+
*
|
|
758
|
+
* @remarks Available options:
|
|
759
|
+
* - `A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT` - A problem making changes to my account
|
|
760
|
+
* - `A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS` - A problem with my bill or payments
|
|
761
|
+
* - `I_HAVE_BEEN_MISSOLD_A_SERVICE` - I have been mis-sold a service
|
|
762
|
+
* - `I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE` - I have had problems with my service
|
|
763
|
+
* - `THE_LEVEL_OF_CUSTOMER_SERVICE` - The level of customer service
|
|
764
|
+
*/
|
|
765
|
+
export declare enum CaseOmbudsmanReason {
|
|
766
|
+
A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT = "A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT",
|
|
767
|
+
A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS = "A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS",
|
|
768
|
+
I_HAVE_BEEN_MIS_SOLD_A_SERVICE = "I_HAVE_BEEN_MISSOLD_A_SERVICE",
|
|
769
|
+
I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE = "I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE",
|
|
770
|
+
THE_LEVEL_OF_CUSTOMER_SERVICE = "THE_LEVEL_OF_CUSTOMER_SERVICE"
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Valid values for Case.EscalationReason
|
|
774
|
+
*
|
|
775
|
+
* Escalation Reason
|
|
776
|
+
*
|
|
777
|
+
* @remarks Available options:
|
|
778
|
+
* - `CUSTOMER_SERVICE_EXPERIENCE` - Customer Service Experience
|
|
779
|
+
* - `DEADLOCKED_COMPLAINT` - Deadlocked Complaint
|
|
780
|
+
* - `HANDLING_FAILURES` - Handling Failure
|
|
781
|
+
* - `SALES_AND_CONTRACT_ISSUES` - Sales & Contract Issues
|
|
782
|
+
* - `SERVICE_PERFORMANCE_ISSUES` - Service Performance Issues
|
|
783
|
+
*/
|
|
784
|
+
export declare enum CaseEscalationReason {
|
|
785
|
+
CUSTOMER_SERVICE_EXPERIENCE = "CUSTOMER_SERVICE_EXPERIENCE",
|
|
786
|
+
DEADLOCKED_COMPLAINT = "DEADLOCKED_COMPLAINT",
|
|
787
|
+
HANDLING_FAILURE = "HANDLING_FAILURES",
|
|
788
|
+
SALES_CONTRACT_ISSUES = "SALES_AND_CONTRACT_ISSUES",
|
|
789
|
+
SERVICE_PERFORMANCE_ISSUES = "SERVICE_PERFORMANCE_ISSUES"
|
|
790
|
+
}
|
|
753
791
|
/**
|
|
754
792
|
* Valid values for Case.LastDialOutcome
|
|
755
793
|
*
|
|
@@ -989,6 +1027,12 @@ export declare enum CasePropertyKeys {
|
|
|
989
1027
|
CCreatedAt = "C_CreatedAt",
|
|
990
1028
|
/** This id represents the id receved from social media platforms for a user (Customer Service - Case) */
|
|
991
1029
|
SocialMediaExternalId = "SocialMediaExternalId",
|
|
1030
|
+
/** Ombudsman case number */
|
|
1031
|
+
OmbudsmanRef = "OmbudsmanRef",
|
|
1032
|
+
/** Ombudsman Reason */
|
|
1033
|
+
OmbudsmanReason = "OmbudsmanReason",
|
|
1034
|
+
/** Escalation Reason */
|
|
1035
|
+
EscalationReason = "EscalationReason",
|
|
992
1036
|
/** DialAttemptCount */
|
|
993
1037
|
DialAttemptCount = "DialAttemptCount",
|
|
994
1038
|
/** NextDialAt */
|
|
@@ -1497,6 +1541,23 @@ export interface CaseProperties {
|
|
|
1497
1541
|
* @type {TEXT}
|
|
1498
1542
|
*/
|
|
1499
1543
|
SocialMediaExternalId: string;
|
|
1544
|
+
/** Ombudsman case number
|
|
1545
|
+
*
|
|
1546
|
+
* @type {TEXT}
|
|
1547
|
+
*/
|
|
1548
|
+
OmbudsmanRef: string;
|
|
1549
|
+
/** Ombudsman Reason
|
|
1550
|
+
*
|
|
1551
|
+
* @type {ENUM}
|
|
1552
|
+
* @enum {CaseOmbudsmanReason}
|
|
1553
|
+
*/
|
|
1554
|
+
OmbudsmanReason: CaseOmbudsmanReason;
|
|
1555
|
+
/** Escalation Reason
|
|
1556
|
+
*
|
|
1557
|
+
* @type {ENUM}
|
|
1558
|
+
* @enum {CaseEscalationReason}
|
|
1559
|
+
*/
|
|
1560
|
+
EscalationReason: CaseEscalationReason;
|
|
1500
1561
|
/** DialAttemptCount
|
|
1501
1562
|
*
|
|
1502
1563
|
* @type {NUMBER}
|
|
@@ -2037,6 +2098,23 @@ export interface OutageCaseProperties {
|
|
|
2037
2098
|
* @type {TEXT}
|
|
2038
2099
|
*/
|
|
2039
2100
|
SocialMediaExternalId: string;
|
|
2101
|
+
/** Ombudsman case number
|
|
2102
|
+
*
|
|
2103
|
+
* @type {TEXT}
|
|
2104
|
+
*/
|
|
2105
|
+
OmbudsmanRef: string;
|
|
2106
|
+
/** Ombudsman Reason
|
|
2107
|
+
*
|
|
2108
|
+
* @type {ENUM}
|
|
2109
|
+
* @enum {CaseOmbudsmanReason}
|
|
2110
|
+
*/
|
|
2111
|
+
OmbudsmanReason: CaseOmbudsmanReason;
|
|
2112
|
+
/** Escalation Reason
|
|
2113
|
+
*
|
|
2114
|
+
* @type {ENUM}
|
|
2115
|
+
* @enum {CaseEscalationReason}
|
|
2116
|
+
*/
|
|
2117
|
+
EscalationReason: CaseEscalationReason;
|
|
2040
2118
|
/** DialAttemptCount
|
|
2041
2119
|
*
|
|
2042
2120
|
* @type {NUMBER}
|
package/dist/entities-v2/Case.js
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_ACTION_CREATED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_DELETED = exports.ROUTING_KEY_LINK_CASE_ACTIVITY_LOG_CREATED = exports.ROUTING_KEY_CASE_OUTAGE_DELETED = exports.ROUTING_KEY_CASE_OUTAGE_UPDATED = exports.ROUTING_KEY_CASE_OUTAGE_CREATED = exports.ROUTING_KEY_CASE_DEFAULT_DELETED = exports.ROUTING_KEY_CASE_DEFAULT_UPDATED = exports.ROUTING_KEY_CASE_DEFAULT_CREATED = exports.ROUTING_KEY_CASE_DELETED = exports.ROUTING_KEY_CASE_UPDATED = exports.ROUTING_KEY_CASE_CREATED = exports.Case = exports.CasePropertyKeys = exports.CaseDeprecated = exports.CaseRetentionOutcome = exports.CaseVulnerableCustomer = exports.CaseLastDialOutcome = exports.CaseEscalationReason = exports.CaseOmbudsmanReason = exports.CaseSource = exports.CaseReasonForReview = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBusinessArea = exports.CaseRetentionOffer = exports.CaseSla = exports.CaseReasonForLeaving = exports.CaseDpaCustomerType = exports.CaseDpaCustomerCategory = exports.CaseConversationStatus = exports.CaseBlockedReason = exports.CaseSubCategory = exports.CaseCategory = exports.CaseChannel = exports.CaseProblem = exports.CasePrimaryExceptionReason = exports.CasePrimaryException = exports.CaseFormalComplaint = exports.CaseOrigin = exports.CaseProviders = exports.CaseCsatResolutionReason = exports.CaseComplaint = exports.CaseCsatAgentReason = exports.OutageCaseStageKeys = exports.OutageCaseStageNames = exports.DefaultCaseStageKeys = exports.DefaultCaseStageNames = exports.CaseEntityTypes = void 0;
|
|
16
|
+
exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_DELETED = exports.ROUTING_KEY_LINK_OUTBOUND_DIAL_SESSION_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_DELETED = exports.ROUTING_KEY_LINK_CASE_ONE_TOUCH_SWITCH_CREATED = exports.ROUTING_KEY_LINK_CASE_CASE_DELETED = exports.ROUTING_KEY_LINK_CASE_CASE_CREATED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CASE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CASE_USER_DELETED = exports.ROUTING_KEY_LINK_CASE_USER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_DELETED = exports.ROUTING_KEY_LINK_CASE_QUEUE_CHANGE_CREATED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CASE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_WORK_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_EMAIL_DELETED = exports.ROUTING_KEY_LINK_CASE_EMAIL_CREATED = exports.ROUTING_KEY_LINK_CASE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CASE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CASE_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CASE_ORDER_DELETED = exports.ROUTING_KEY_LINK_CASE_ORDER_CREATED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_DELETED = exports.ROUTING_KEY_LINK_CASE_CONVERSATION_CREATED = exports.ROUTING_KEY_LINK_CASE_TEAM_DELETED = exports.ROUTING_KEY_LINK_CASE_TEAM_CREATED = exports.ROUTING_KEY_LINK_CASE_NOTE_DELETED = exports.ROUTING_KEY_LINK_CASE_NOTE_CREATED = exports.ROUTING_KEY_LINK_CASE_FILE_DELETED = exports.ROUTING_KEY_LINK_CASE_FILE_CREATED = void 0;
|
|
17
17
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
18
|
/**
|
|
19
19
|
* Available types for Case records
|
|
@@ -760,6 +760,46 @@ var CaseSource;
|
|
|
760
760
|
CaseSource["USERESPONSE"] = "USERESPONSE";
|
|
761
761
|
CaseSource["WEBSITE"] = "WEBSITE";
|
|
762
762
|
})(CaseSource = exports.CaseSource || (exports.CaseSource = {}));
|
|
763
|
+
/**
|
|
764
|
+
* Valid values for Case.OmbudsmanReason
|
|
765
|
+
*
|
|
766
|
+
* Ombudsman Reason
|
|
767
|
+
*
|
|
768
|
+
* @remarks Available options:
|
|
769
|
+
* - `A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT` - A problem making changes to my account
|
|
770
|
+
* - `A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS` - A problem with my bill or payments
|
|
771
|
+
* - `I_HAVE_BEEN_MISSOLD_A_SERVICE` - I have been mis-sold a service
|
|
772
|
+
* - `I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE` - I have had problems with my service
|
|
773
|
+
* - `THE_LEVEL_OF_CUSTOMER_SERVICE` - The level of customer service
|
|
774
|
+
*/
|
|
775
|
+
var CaseOmbudsmanReason;
|
|
776
|
+
(function (CaseOmbudsmanReason) {
|
|
777
|
+
CaseOmbudsmanReason["A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT"] = "A_PROBLEM_MAKING_CHANGES_TO_MY_ACCOUNT";
|
|
778
|
+
CaseOmbudsmanReason["A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS"] = "A_PROBLEM_WITH_MY_BILL_OR_PAYMENTS";
|
|
779
|
+
CaseOmbudsmanReason["I_HAVE_BEEN_MIS_SOLD_A_SERVICE"] = "I_HAVE_BEEN_MISSOLD_A_SERVICE";
|
|
780
|
+
CaseOmbudsmanReason["I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE"] = "I_HAVE_HAD_PROBLEMS_WITH_MY_SERVICE";
|
|
781
|
+
CaseOmbudsmanReason["THE_LEVEL_OF_CUSTOMER_SERVICE"] = "THE_LEVEL_OF_CUSTOMER_SERVICE";
|
|
782
|
+
})(CaseOmbudsmanReason = exports.CaseOmbudsmanReason || (exports.CaseOmbudsmanReason = {}));
|
|
783
|
+
/**
|
|
784
|
+
* Valid values for Case.EscalationReason
|
|
785
|
+
*
|
|
786
|
+
* Escalation Reason
|
|
787
|
+
*
|
|
788
|
+
* @remarks Available options:
|
|
789
|
+
* - `CUSTOMER_SERVICE_EXPERIENCE` - Customer Service Experience
|
|
790
|
+
* - `DEADLOCKED_COMPLAINT` - Deadlocked Complaint
|
|
791
|
+
* - `HANDLING_FAILURES` - Handling Failure
|
|
792
|
+
* - `SALES_AND_CONTRACT_ISSUES` - Sales & Contract Issues
|
|
793
|
+
* - `SERVICE_PERFORMANCE_ISSUES` - Service Performance Issues
|
|
794
|
+
*/
|
|
795
|
+
var CaseEscalationReason;
|
|
796
|
+
(function (CaseEscalationReason) {
|
|
797
|
+
CaseEscalationReason["CUSTOMER_SERVICE_EXPERIENCE"] = "CUSTOMER_SERVICE_EXPERIENCE";
|
|
798
|
+
CaseEscalationReason["DEADLOCKED_COMPLAINT"] = "DEADLOCKED_COMPLAINT";
|
|
799
|
+
CaseEscalationReason["HANDLING_FAILURE"] = "HANDLING_FAILURES";
|
|
800
|
+
CaseEscalationReason["SALES_CONTRACT_ISSUES"] = "SALES_AND_CONTRACT_ISSUES";
|
|
801
|
+
CaseEscalationReason["SERVICE_PERFORMANCE_ISSUES"] = "SERVICE_PERFORMANCE_ISSUES";
|
|
802
|
+
})(CaseEscalationReason = exports.CaseEscalationReason || (exports.CaseEscalationReason = {}));
|
|
763
803
|
/**
|
|
764
804
|
* Valid values for Case.LastDialOutcome
|
|
765
805
|
*
|
|
@@ -1004,6 +1044,12 @@ var CasePropertyKeys;
|
|
|
1004
1044
|
CasePropertyKeys["CCreatedAt"] = "C_CreatedAt";
|
|
1005
1045
|
/** This id represents the id receved from social media platforms for a user (Customer Service - Case) */
|
|
1006
1046
|
CasePropertyKeys["SocialMediaExternalId"] = "SocialMediaExternalId";
|
|
1047
|
+
/** Ombudsman case number */
|
|
1048
|
+
CasePropertyKeys["OmbudsmanRef"] = "OmbudsmanRef";
|
|
1049
|
+
/** Ombudsman Reason */
|
|
1050
|
+
CasePropertyKeys["OmbudsmanReason"] = "OmbudsmanReason";
|
|
1051
|
+
/** Escalation Reason */
|
|
1052
|
+
CasePropertyKeys["EscalationReason"] = "EscalationReason";
|
|
1007
1053
|
/** DialAttemptCount */
|
|
1008
1054
|
CasePropertyKeys["DialAttemptCount"] = "DialAttemptCount";
|
|
1009
1055
|
/** NextDialAt */
|
|
@@ -23,7 +23,9 @@ export declare enum FieldServiceProductEntityTypes {
|
|
|
23
23
|
/** Mesh */
|
|
24
24
|
MESH = "MESH",
|
|
25
25
|
/** MISC */
|
|
26
|
-
MISC = "MISC"
|
|
26
|
+
MISC = "MISC",
|
|
27
|
+
/** Return Bag */
|
|
28
|
+
RETURNS_BAG = "RETURNS_BAG"
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* Valid values for FieldServiceProduct.DefaultShippingMethod
|
|
@@ -344,6 +346,67 @@ export interface MiscFieldServiceProductProperties {
|
|
|
344
346
|
*/
|
|
345
347
|
Providers: string;
|
|
346
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* Properties for RETURNS_BAG FieldServiceProduct records
|
|
351
|
+
*
|
|
352
|
+
* @see FieldServiceModule:FieldServiceProduct
|
|
353
|
+
*/
|
|
354
|
+
export interface ReturnsBagFieldServiceProductProperties {
|
|
355
|
+
/** The inventory Id of the product (Field Operations - FieldServiceProduct)
|
|
356
|
+
*
|
|
357
|
+
* @type {ALPHA_NUMERICAL}
|
|
358
|
+
*/
|
|
359
|
+
InventoryId: string;
|
|
360
|
+
/** Default Shipping Method fpr the product (Field Operations - FieldServiceProduct)
|
|
361
|
+
*
|
|
362
|
+
* @type {ENUM}
|
|
363
|
+
* @default RM_48_NON_TRACKED
|
|
364
|
+
* @enum {FieldServiceProductDefaultShippingMethod}
|
|
365
|
+
*/
|
|
366
|
+
DefaultShippingMethod: FieldServiceProductDefaultShippingMethod;
|
|
367
|
+
/** Name of the Product (Field Operations - FieldServiceProduct)
|
|
368
|
+
*
|
|
369
|
+
* @type {TEXT}
|
|
370
|
+
*/
|
|
371
|
+
Name: string;
|
|
372
|
+
/** Vendor of the product (Field Operations - FieldServiceProduct)
|
|
373
|
+
*
|
|
374
|
+
* @type {ENUM}
|
|
375
|
+
* @enum {FieldServiceProductVendor}
|
|
376
|
+
*/
|
|
377
|
+
Vendor: FieldServiceProductVendor;
|
|
378
|
+
/** Data field for FieldServiceProduct records. Used by Field Operations team.
|
|
379
|
+
*
|
|
380
|
+
* @type {BOOLEAN}
|
|
381
|
+
*/
|
|
382
|
+
Active: boolean;
|
|
383
|
+
/** AvailableOnAllBroadbandProducts
|
|
384
|
+
*
|
|
385
|
+
* @type {BOOLEAN}
|
|
386
|
+
*/
|
|
387
|
+
AvailableOnAllBroadbandProducts: boolean;
|
|
388
|
+
/** AvailableOnAllMeshProducts
|
|
389
|
+
*
|
|
390
|
+
* @type {BOOLEAN}
|
|
391
|
+
*/
|
|
392
|
+
AvailableOnAllMeshProducts: boolean;
|
|
393
|
+
/** AvailableOnAllPhoneProducts
|
|
394
|
+
*
|
|
395
|
+
* @type {BOOLEAN}
|
|
396
|
+
*/
|
|
397
|
+
AvailableOnAllPhoneProducts: boolean;
|
|
398
|
+
/** Customer Device Type (non router or mesh type used to create customer device links)
|
|
399
|
+
*
|
|
400
|
+
* @type {ENUM}
|
|
401
|
+
* @enum {FieldServiceProductCustomerDeviceType}
|
|
402
|
+
*/
|
|
403
|
+
CustomerDeviceType: FieldServiceProductCustomerDeviceType;
|
|
404
|
+
/** Providers
|
|
405
|
+
*
|
|
406
|
+
* @type {ENUM_MULTI_SELECT}
|
|
407
|
+
*/
|
|
408
|
+
Providers: string;
|
|
409
|
+
}
|
|
347
410
|
/**
|
|
348
411
|
* FieldServiceProduct entity from FieldServiceModule
|
|
349
412
|
*
|
|
@@ -395,6 +458,12 @@ export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = "FieldServ
|
|
|
395
458
|
export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = "FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordUpdated";
|
|
396
459
|
/** MISC deleted */
|
|
397
460
|
export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = "FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordDeleted";
|
|
461
|
+
/** Return Bag created */
|
|
462
|
+
export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordCreated";
|
|
463
|
+
/** Return Bag updated */
|
|
464
|
+
export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordUpdated";
|
|
465
|
+
/** Return Bag deleted */
|
|
466
|
+
export declare const ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = "FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordDeleted";
|
|
398
467
|
/** Event: FieldServiceProduct__CompatibleProducts link created */
|
|
399
468
|
export declare const ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = "FieldServiceModule.FieldServiceProduct.Product.SubDbRecordAssociationCreated";
|
|
400
469
|
/** Event: FieldServiceProduct__CompatibleProducts link deleted */
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductCustomerDeviceType = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_DELETED = exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CPE_ROUTER_CREATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_DELETED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_UPDATED = exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_CREATED = exports.FieldServiceProduct = exports.FieldServiceProductPropertyKeys = exports.FieldServiceProductCustomerDeviceType = exports.FieldServiceProductVendor = exports.FieldServiceProductDefaultShippingMethod = exports.FieldServiceProductEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for FieldServiceProduct records
|
|
@@ -25,6 +25,8 @@ var FieldServiceProductEntityTypes;
|
|
|
25
25
|
FieldServiceProductEntityTypes["MESH"] = "MESH";
|
|
26
26
|
/** MISC */
|
|
27
27
|
FieldServiceProductEntityTypes["MISC"] = "MISC";
|
|
28
|
+
/** Return Bag */
|
|
29
|
+
FieldServiceProductEntityTypes["RETURNS_BAG"] = "RETURNS_BAG";
|
|
28
30
|
})(FieldServiceProductEntityTypes = exports.FieldServiceProductEntityTypes || (exports.FieldServiceProductEntityTypes = {}));
|
|
29
31
|
/**
|
|
30
32
|
* Valid values for FieldServiceProduct.DefaultShippingMethod
|
|
@@ -150,6 +152,12 @@ exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_CREATED = 'FieldServiceModule.Fie
|
|
|
150
152
|
exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_UPDATED = 'FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordUpdated';
|
|
151
153
|
/** MISC deleted */
|
|
152
154
|
exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_MISC_DELETED = 'FieldServiceModule.FieldServiceProduct.MISC.SubDbRecordDeleted';
|
|
155
|
+
/** Return Bag created */
|
|
156
|
+
exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_CREATED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordCreated';
|
|
157
|
+
/** Return Bag updated */
|
|
158
|
+
exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_UPDATED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordUpdated';
|
|
159
|
+
/** Return Bag deleted */
|
|
160
|
+
exports.ROUTING_KEY_FIELD_SERVICE_PRODUCT_RETURNS_BAG_DELETED = 'FieldServiceModule.FieldServiceProduct.RETURNS_BAG.SubDbRecordDeleted';
|
|
153
161
|
/** Event: FieldServiceProduct__CompatibleProducts link created */
|
|
154
162
|
exports.ROUTING_KEY_LINK_FIELD_SERVICE_PRODUCT_COMPATIBLE_PRODUCTS_CREATED = 'FieldServiceModule.FieldServiceProduct.Product.SubDbRecordAssociationCreated';
|
|
155
163
|
/** Event: FieldServiceProduct__CompatibleProducts link deleted */
|
|
@@ -836,6 +836,8 @@ export declare class File extends OdinRecord<FileProperties> {
|
|
|
836
836
|
type: FileEntityTypes;
|
|
837
837
|
schemaId: '74510906-4af8-479c-862e-04a1bae015d7';
|
|
838
838
|
properties: FileProperties;
|
|
839
|
+
/** Linked File records (ServiceVisitAudit__File) */
|
|
840
|
+
File: OdinLink<LinkedOdinRecord<FileProperties>>;
|
|
839
841
|
/** Linked ServiceVisitAudit records (ServiceVisitAudit__File) */
|
|
840
842
|
ServiceVisitAudit: OdinLink<LinkedOdinRecord<ServiceVisitAuditProperties>>;
|
|
841
843
|
/** Linked BlockageA55 records (BlockageA55_File) */
|
|
@@ -1029,6 +1031,10 @@ export declare const ROUTING_KEY_FILE_OTDR_CREATED = "SchemaModule.File.OTDR.Sub
|
|
|
1029
1031
|
export declare const ROUTING_KEY_FILE_OTDR_UPDATED = "SchemaModule.File.OTDR.SubDbRecordUpdated";
|
|
1030
1032
|
/** OTDR evidence for L1 and L2 closures deleted */
|
|
1031
1033
|
export declare const ROUTING_KEY_FILE_OTDR_DELETED = "SchemaModule.File.OTDR.SubDbRecordDeleted";
|
|
1034
|
+
/** Event: ServiceVisitAudit__File link created */
|
|
1035
|
+
export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = "SchemaModule.File.File.SubDbRecordAssociationCreated";
|
|
1036
|
+
/** Event: ServiceVisitAudit__File link deleted */
|
|
1037
|
+
export declare const ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = "SchemaModule.File.File.SubDbRecordAssociationDeleted";
|
|
1032
1038
|
/** Event: File__Note link created */
|
|
1033
1039
|
export declare const ROUTING_KEY_LINK_FILE_NOTE_CREATED = "SchemaModule.File.Note.SubDbRecordAssociationCreated";
|
|
1034
1040
|
/** Event: File__Note link deleted */
|
package/dist/entities-v2/File.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_FILE_NOTE_DELETED = exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = exports.ROUTING_KEY_FILE_OTDR_DELETED = exports.ROUTING_KEY_FILE_OTDR_UPDATED = exports.ROUTING_KEY_FILE_OTDR_CREATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_DELETED = exports.ROUTING_KEY_FILE_OPENREACH_A55_UPDATED = exports.ROUTING_KEY_FILE_OPENREACH_A55_CREATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_SOLUTION_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_DELETED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_UPDATED = exports.ROUTING_KEY_FILE_NA_PROBLEM_EVIDENCE_CREATED = exports.ROUTING_KEY_FILE_INVOICE_DELETED = exports.ROUTING_KEY_FILE_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_INVOICE_CREATED = exports.ROUTING_KEY_FILE_EMAIL_DELETED = exports.ROUTING_KEY_FILE_EMAIL_UPDATED = exports.ROUTING_KEY_FILE_EMAIL_CREATED = exports.ROUTING_KEY_FILE_DEFAULT_DELETED = exports.ROUTING_KEY_FILE_DEFAULT_UPDATED = exports.ROUTING_KEY_FILE_DEFAULT_CREATED = exports.ROUTING_KEY_FILE_CSV_DELETED = exports.ROUTING_KEY_FILE_CSV_UPDATED = exports.ROUTING_KEY_FILE_CSV_CREATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_DELETED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_UPDATED = exports.ROUTING_KEY_FILE_CBO_FINAL_BILL_CREATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_DELETED = exports.ROUTING_KEY_FILE_AFP_INVOICE_UPDATED = exports.ROUTING_KEY_FILE_AFP_INVOICE_CREATED = exports.ROUTING_KEY_FILE_DELETED = exports.ROUTING_KEY_FILE_UPDATED = exports.ROUTING_KEY_FILE_CREATED = exports.File = exports.FilePropertyKeys = exports.FileCategory = exports.FileDevice = exports.FileDataStore = exports.FileEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for File records
|
|
@@ -194,6 +194,10 @@ exports.ROUTING_KEY_FILE_OTDR_CREATED = 'SchemaModule.File.OTDR.SubDbRecordCreat
|
|
|
194
194
|
exports.ROUTING_KEY_FILE_OTDR_UPDATED = 'SchemaModule.File.OTDR.SubDbRecordUpdated';
|
|
195
195
|
/** OTDR evidence for L1 and L2 closures deleted */
|
|
196
196
|
exports.ROUTING_KEY_FILE_OTDR_DELETED = 'SchemaModule.File.OTDR.SubDbRecordDeleted';
|
|
197
|
+
/** Event: ServiceVisitAudit__File link created */
|
|
198
|
+
exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_CREATED = 'SchemaModule.File.File.SubDbRecordAssociationCreated';
|
|
199
|
+
/** Event: ServiceVisitAudit__File link deleted */
|
|
200
|
+
exports.ROUTING_KEY_LINK_SERVICE_VISIT_AUDIT_FILE_DELETED = 'SchemaModule.File.File.SubDbRecordAssociationDeleted';
|
|
197
201
|
/** Event: File__Note link created */
|
|
198
202
|
exports.ROUTING_KEY_LINK_FILE_NOTE_CREATED = 'SchemaModule.File.Note.SubDbRecordAssociationCreated';
|
|
199
203
|
/** Event: File__Note link deleted */
|
|
@@ -99,6 +99,8 @@ export declare enum OfferPropertyKeys {
|
|
|
99
99
|
IsDefault = "IsDefault",
|
|
100
100
|
/** code to retrieve offer (Product Management - Offer) */
|
|
101
101
|
Code = "Code",
|
|
102
|
+
/** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison. */
|
|
103
|
+
RecontractOfferId = "RecontractOfferId",
|
|
102
104
|
/** IsRecontractDefault */
|
|
103
105
|
IsRecontractDefault = "IsRecontractDefault",
|
|
104
106
|
/** IsDefaultWebsiteOffer */
|
|
@@ -178,6 +180,12 @@ export interface OfferProperties {
|
|
|
178
180
|
* @type {TEXT}
|
|
179
181
|
*/
|
|
180
182
|
Code: string;
|
|
183
|
+
/** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
|
|
184
|
+
*
|
|
185
|
+
* @type {LOOKUP}
|
|
186
|
+
* @default
|
|
187
|
+
*/
|
|
188
|
+
RecontractOfferId: string;
|
|
181
189
|
/** IsRecontractDefault
|
|
182
190
|
*
|
|
183
191
|
* @type {BOOLEAN}
|
|
@@ -264,6 +272,12 @@ export interface RecontractOfferProperties {
|
|
|
264
272
|
* @type {TEXT}
|
|
265
273
|
*/
|
|
266
274
|
Code: string;
|
|
275
|
+
/** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
|
|
276
|
+
*
|
|
277
|
+
* @type {LOOKUP}
|
|
278
|
+
* @default
|
|
279
|
+
*/
|
|
280
|
+
RecontractOfferId: string;
|
|
267
281
|
/** IsRecontractDefault
|
|
268
282
|
*
|
|
269
283
|
* @type {BOOLEAN}
|
|
@@ -350,6 +364,12 @@ export interface StandardOfferProperties {
|
|
|
350
364
|
* @type {TEXT}
|
|
351
365
|
*/
|
|
352
366
|
Code: string;
|
|
367
|
+
/** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison.
|
|
368
|
+
*
|
|
369
|
+
* @type {LOOKUP}
|
|
370
|
+
* @default
|
|
371
|
+
*/
|
|
372
|
+
RecontractOfferId: string;
|
|
353
373
|
/** IsRecontractDefault
|
|
354
374
|
*
|
|
355
375
|
* @type {BOOLEAN}
|
|
@@ -102,6 +102,8 @@ var OfferPropertyKeys;
|
|
|
102
102
|
OfferPropertyKeys["IsDefault"] = "IsDefault";
|
|
103
103
|
/** code to retrieve offer (Product Management - Offer) */
|
|
104
104
|
OfferPropertyKeys["Code"] = "Code";
|
|
105
|
+
/** The Offer that customers currently on THIS offer recontract onto. Read by resolveRecontractOffer as the per-offer successor, taking precedence over the price-comparison fallback but NOT over an explicitly supplied offerId. Empty = no per-offer successor configured; resolution falls back to the IsDefaultWebsiteOffer / IsRecontractDefault comparison. */
|
|
106
|
+
OfferPropertyKeys["RecontractOfferId"] = "RecontractOfferId";
|
|
105
107
|
/** IsRecontractDefault */
|
|
106
108
|
OfferPropertyKeys["IsRecontractDefault"] = "IsRecontractDefault";
|
|
107
109
|
/** IsDefaultWebsiteOffer */
|
|
@@ -37,6 +37,20 @@ export declare enum RecontractSource {
|
|
|
37
37
|
* Use these constants instead of string literals for type safety
|
|
38
38
|
*/
|
|
39
39
|
export declare enum RecontractPropertyKeys {
|
|
40
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId. */
|
|
41
|
+
PreviousContractStartDate = "PreviousContractStartDate",
|
|
42
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price). */
|
|
43
|
+
PreviousContractEndDate = "PreviousContractEndDate",
|
|
44
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header. */
|
|
45
|
+
PreviousContractType = "PreviousContractType",
|
|
46
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day). */
|
|
47
|
+
NextContractStartDate = "NextContractStartDate",
|
|
48
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items. */
|
|
49
|
+
NextContractEndDate = "NextContractEndDate",
|
|
50
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
|
|
51
|
+
NextContractType = "NextContractType",
|
|
52
|
+
/** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites. */
|
|
53
|
+
PreviousActiveDate = "PreviousActiveDate",
|
|
40
54
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
|
|
41
55
|
Name = "Name",
|
|
42
56
|
/** Snapshot of the order items BEFORE the recontract (rollback source). */
|
|
@@ -60,6 +74,48 @@ export declare enum RecontractPropertyKeys {
|
|
|
60
74
|
* @see OrderModule:Recontract
|
|
61
75
|
*/
|
|
62
76
|
export interface RecontractProperties {
|
|
77
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId.
|
|
78
|
+
*
|
|
79
|
+
* @type {DATE}
|
|
80
|
+
* @default
|
|
81
|
+
*/
|
|
82
|
+
PreviousContractStartDate: string;
|
|
83
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price).
|
|
84
|
+
*
|
|
85
|
+
* @type {DATE}
|
|
86
|
+
* @default
|
|
87
|
+
*/
|
|
88
|
+
PreviousContractEndDate: string;
|
|
89
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header.
|
|
90
|
+
*
|
|
91
|
+
* @type {TEXT}
|
|
92
|
+
* @default
|
|
93
|
+
*/
|
|
94
|
+
PreviousContractType: string;
|
|
95
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day).
|
|
96
|
+
*
|
|
97
|
+
* @type {DATE}
|
|
98
|
+
* @default
|
|
99
|
+
*/
|
|
100
|
+
NextContractStartDate: string;
|
|
101
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items.
|
|
102
|
+
*
|
|
103
|
+
* @type {DATE}
|
|
104
|
+
* @default
|
|
105
|
+
*/
|
|
106
|
+
NextContractEndDate: string;
|
|
107
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header.
|
|
108
|
+
*
|
|
109
|
+
* @type {TEXT}
|
|
110
|
+
* @default
|
|
111
|
+
*/
|
|
112
|
+
NextContractType: string;
|
|
113
|
+
/** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites.
|
|
114
|
+
*
|
|
115
|
+
* @type {DATE}
|
|
116
|
+
* @default
|
|
117
|
+
*/
|
|
118
|
+
PreviousActiveDate: string;
|
|
63
119
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24").
|
|
64
120
|
*
|
|
65
121
|
* @type {TEXT}
|
|
@@ -42,6 +42,20 @@ var RecontractSource;
|
|
|
42
42
|
*/
|
|
43
43
|
var RecontractPropertyKeys;
|
|
44
44
|
(function (RecontractPropertyKeys) {
|
|
45
|
+
/** The ContractStartDate the Order carried immediately BEFORE this recontract was applied. Captured because amend-in-place overwrites it on the Order and no property-change audit exists to recover it. Twin of PreviousItems / PreviousOfferId. */
|
|
46
|
+
RecontractPropertyKeys["PreviousContractStartDate"] = "PreviousContractStartDate";
|
|
47
|
+
/** The ContractEndDate the Order carried immediately BEFORE this recontract was applied. Determines whether a billing period between the old term ending and the new term starting was genuinely out of contract (and therefore correctly billed at full price). */
|
|
48
|
+
RecontractPropertyKeys["PreviousContractEndDate"] = "PreviousContractEndDate";
|
|
49
|
+
/** The ContractType (term length, e.g. ANNUAL_12) the Order carried immediately BEFORE this recontract. Raw value, not an ENUM — see spec header. */
|
|
50
|
+
RecontractPropertyKeys["PreviousContractType"] = "PreviousContractType";
|
|
51
|
+
/** The ContractStartDate this recontract SET on the Order — the new term start. Equals the computed billing anchor (previous Invoice.BillingPeriodEnd + 1 day). */
|
|
52
|
+
RecontractPropertyKeys["NextContractStartDate"] = "NextContractStartDate";
|
|
53
|
+
/** The ContractEndDate this recontract SET on the Order, derived by ContractTermCalculatorService.computeContractEndDate from the new start + the new items. */
|
|
54
|
+
RecontractPropertyKeys["NextContractEndDate"] = "NextContractEndDate";
|
|
55
|
+
/** The ContractType (term length, e.g. ANNUAL_24) this recontract SET on the Order. Raw value, not an ENUM — see spec header. */
|
|
56
|
+
RecontractPropertyKeys["NextContractType"] = "NextContractType";
|
|
57
|
+
/** DORMANT — written by nothing today. Added to make an ActiveDate 1:1 write safe, but that write was then deliberately dropped: amending in place, the order IS the one that went live on its original ActiveDate, so it is left untouched and needs no snapshot (RecontractWrittenProperties.spec.ts asserts it is never written). Retained because the column already exists in sandbox + prod and schema removals are not free; declared here so the spec still matches reality. Populate it only if Order.ActiveDate ever becomes something a recontract overwrites. */
|
|
58
|
+
RecontractPropertyKeys["PreviousActiveDate"] = "PreviousActiveDate";
|
|
45
59
|
/** Recontract title (e.g. "OR1654429 recontract 2026-07-24"). */
|
|
46
60
|
RecontractPropertyKeys["Name"] = "Name";
|
|
47
61
|
/** Snapshot of the order items BEFORE the recontract (rollback source). */
|
|
@@ -591,7 +591,31 @@ export declare enum RemediationWorkOrderStageKeys {
|
|
|
591
591
|
*/
|
|
592
592
|
export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
593
593
|
/** Created (default) */
|
|
594
|
-
Created = "Created"
|
|
594
|
+
Created = "Created",
|
|
595
|
+
/** Received */
|
|
596
|
+
Received = "Received",
|
|
597
|
+
/** Processed */
|
|
598
|
+
Processed = "Processed",
|
|
599
|
+
/** En Route */
|
|
600
|
+
EnRoute = "En Route",
|
|
601
|
+
/** Delivered */
|
|
602
|
+
Delivered = "Delivered",
|
|
603
|
+
/** Pending Return */
|
|
604
|
+
PendingReturn = "Pending Return",
|
|
605
|
+
/** Pending Inspection */
|
|
606
|
+
PendingInspection = "Pending Inspection",
|
|
607
|
+
/** Error */
|
|
608
|
+
Error = "Error",
|
|
609
|
+
/** Failed Inspection */
|
|
610
|
+
FailedInspection = "Failed Inspection",
|
|
611
|
+
/** Non Returned */
|
|
612
|
+
NonReturned = "Non Returned",
|
|
613
|
+
/** Cancelled */
|
|
614
|
+
Cancelled = "Cancelled",
|
|
615
|
+
/** Overridden */
|
|
616
|
+
Overridden = "Overridden",
|
|
617
|
+
/** Complete */
|
|
618
|
+
Complete = "Complete"
|
|
595
619
|
}
|
|
596
620
|
/**
|
|
597
621
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -599,7 +623,31 @@ export declare enum ReplacementAmcoWorkOrderStageNames {
|
|
|
599
623
|
*/
|
|
600
624
|
export declare enum ReplacementAmcoWorkOrderStageKeys {
|
|
601
625
|
/** Created */
|
|
602
|
-
ReplacementAmcoStageCreated = "ReplacementAmcoStageCreated"
|
|
626
|
+
ReplacementAmcoStageCreated = "ReplacementAmcoStageCreated",
|
|
627
|
+
/** Received */
|
|
628
|
+
ReplacementAmcoStageReceived = "ReplacementAmcoStageReceived",
|
|
629
|
+
/** Processed */
|
|
630
|
+
ReplacementAmcoStageProcessed = "ReplacementAmcoStageProcessed",
|
|
631
|
+
/** En Route */
|
|
632
|
+
ReplacementAmcoStageEnRoute = "ReplacementAmcoStageEnRoute",
|
|
633
|
+
/** Delivered */
|
|
634
|
+
ReplacementAmcoStageDelivered = "ReplacementAmcoStageDelivered",
|
|
635
|
+
/** Pending Return */
|
|
636
|
+
ReplacementAmcoStagePendingReturn = "ReplacementAmcoStagePendingReturn",
|
|
637
|
+
/** Pending Inspection */
|
|
638
|
+
ReplacementAmcoStagePendingInspection = "ReplacementAmcoStagePendingInspection",
|
|
639
|
+
/** Error */
|
|
640
|
+
ReplacementAmcoStageError = "ReplacementAmcoStageError",
|
|
641
|
+
/** Failed Inspection */
|
|
642
|
+
ReplacementAmcoStageFailedInspection = "ReplacementAmcoStageFailedInspection",
|
|
643
|
+
/** Non Returned */
|
|
644
|
+
ReplacementAmcoStageNonReturned = "ReplacementAmcoStageNonReturned",
|
|
645
|
+
/** Cancelled */
|
|
646
|
+
ReplacementAmcoStageCancelled = "ReplacementAmcoStageCancelled",
|
|
647
|
+
/** Overridden */
|
|
648
|
+
ReplacementAmcoStageOverridden = "ReplacementAmcoStageOverridden",
|
|
649
|
+
/** Complete */
|
|
650
|
+
ReplacementAmcoStageComplete = "ReplacementAmcoStageComplete"
|
|
603
651
|
}
|
|
604
652
|
/**
|
|
605
653
|
* Pipeline stage names for SERVICE WorkOrder
|
|
@@ -564,6 +564,30 @@ var ReplacementAmcoWorkOrderStageNames;
|
|
|
564
564
|
(function (ReplacementAmcoWorkOrderStageNames) {
|
|
565
565
|
/** Created (default) */
|
|
566
566
|
ReplacementAmcoWorkOrderStageNames["Created"] = "Created";
|
|
567
|
+
/** Received */
|
|
568
|
+
ReplacementAmcoWorkOrderStageNames["Received"] = "Received";
|
|
569
|
+
/** Processed */
|
|
570
|
+
ReplacementAmcoWorkOrderStageNames["Processed"] = "Processed";
|
|
571
|
+
/** En Route */
|
|
572
|
+
ReplacementAmcoWorkOrderStageNames["EnRoute"] = "En Route";
|
|
573
|
+
/** Delivered */
|
|
574
|
+
ReplacementAmcoWorkOrderStageNames["Delivered"] = "Delivered";
|
|
575
|
+
/** Pending Return */
|
|
576
|
+
ReplacementAmcoWorkOrderStageNames["PendingReturn"] = "Pending Return";
|
|
577
|
+
/** Pending Inspection */
|
|
578
|
+
ReplacementAmcoWorkOrderStageNames["PendingInspection"] = "Pending Inspection";
|
|
579
|
+
/** Error */
|
|
580
|
+
ReplacementAmcoWorkOrderStageNames["Error"] = "Error";
|
|
581
|
+
/** Failed Inspection */
|
|
582
|
+
ReplacementAmcoWorkOrderStageNames["FailedInspection"] = "Failed Inspection";
|
|
583
|
+
/** Non Returned */
|
|
584
|
+
ReplacementAmcoWorkOrderStageNames["NonReturned"] = "Non Returned";
|
|
585
|
+
/** Cancelled */
|
|
586
|
+
ReplacementAmcoWorkOrderStageNames["Cancelled"] = "Cancelled";
|
|
587
|
+
/** Overridden */
|
|
588
|
+
ReplacementAmcoWorkOrderStageNames["Overridden"] = "Overridden";
|
|
589
|
+
/** Complete */
|
|
590
|
+
ReplacementAmcoWorkOrderStageNames["Complete"] = "Complete";
|
|
567
591
|
})(ReplacementAmcoWorkOrderStageNames = exports.ReplacementAmcoWorkOrderStageNames || (exports.ReplacementAmcoWorkOrderStageNames = {}));
|
|
568
592
|
/**
|
|
569
593
|
* Pipeline stage keys for REPLACEMENT_AMCO WorkOrder
|
|
@@ -573,6 +597,30 @@ var ReplacementAmcoWorkOrderStageKeys;
|
|
|
573
597
|
(function (ReplacementAmcoWorkOrderStageKeys) {
|
|
574
598
|
/** Created */
|
|
575
599
|
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageCreated"] = "ReplacementAmcoStageCreated";
|
|
600
|
+
/** Received */
|
|
601
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageReceived"] = "ReplacementAmcoStageReceived";
|
|
602
|
+
/** Processed */
|
|
603
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageProcessed"] = "ReplacementAmcoStageProcessed";
|
|
604
|
+
/** En Route */
|
|
605
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageEnRoute"] = "ReplacementAmcoStageEnRoute";
|
|
606
|
+
/** Delivered */
|
|
607
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageDelivered"] = "ReplacementAmcoStageDelivered";
|
|
608
|
+
/** Pending Return */
|
|
609
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingReturn"] = "ReplacementAmcoStagePendingReturn";
|
|
610
|
+
/** Pending Inspection */
|
|
611
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStagePendingInspection"] = "ReplacementAmcoStagePendingInspection";
|
|
612
|
+
/** Error */
|
|
613
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageError"] = "ReplacementAmcoStageError";
|
|
614
|
+
/** Failed Inspection */
|
|
615
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageFailedInspection"] = "ReplacementAmcoStageFailedInspection";
|
|
616
|
+
/** Non Returned */
|
|
617
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageNonReturned"] = "ReplacementAmcoStageNonReturned";
|
|
618
|
+
/** Cancelled */
|
|
619
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageCancelled"] = "ReplacementAmcoStageCancelled";
|
|
620
|
+
/** Overridden */
|
|
621
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageOverridden"] = "ReplacementAmcoStageOverridden";
|
|
622
|
+
/** Complete */
|
|
623
|
+
ReplacementAmcoWorkOrderStageKeys["ReplacementAmcoStageComplete"] = "ReplacementAmcoStageComplete";
|
|
576
624
|
})(ReplacementAmcoWorkOrderStageKeys = exports.ReplacementAmcoWorkOrderStageKeys || (exports.ReplacementAmcoWorkOrderStageKeys = {}));
|
|
577
625
|
/**
|
|
578
626
|
* Pipeline stage names for SERVICE WorkOrder
|