@d19n/youfibre-odin-sdk 2.0.353 → 2.0.355

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +4 -8
  2. package/dist/EntityRegistry.d.ts +0 -2
  3. package/dist/EntityRegistry.js +0 -2
  4. package/dist/OdinApiClient.d.ts +0 -4
  5. package/dist/OdinApiClient.js +0 -8
  6. package/dist/OdinDbClient.d.ts +0 -4
  7. package/dist/OdinDbClient.js +0 -8
  8. package/dist/accessors-v2/index.d.ts +0 -1
  9. package/dist/accessors-v2/index.js +3 -5
  10. package/dist/actions-v2/CreatePgPaymentMethodDto.d.ts +3 -4
  11. package/dist/actions-v2/MoveCollectionAmcoToNonReturnedDto.d.ts +68 -0
  12. package/dist/actions-v2/MoveCollectionAmcoToNonReturnedDto.js +60 -0
  13. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestConfirmedDto.d.ts +52 -0
  14. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestFailedDto.d.ts +52 -0
  15. package/dist/actions-v2/MoveGainingOneTouchSwitchToMatchRequestSentDto.d.ts +52 -0
  16. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelConfirmedDto.d.ts +52 -0
  17. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelFailedDto.d.ts +52 -0
  18. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderCancelSentDto.d.ts +52 -0
  19. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestConfirmedDto.d.ts +52 -0
  20. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestFailedDto.d.ts +52 -0
  21. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderRequestSentDto.d.ts +52 -0
  22. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerConfirmedDto.d.ts +52 -0
  23. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerFailedDto.d.ts +52 -0
  24. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderTriggerSentDto.d.ts +52 -0
  25. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateConfirmedDto.d.ts +52 -0
  26. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateFailedDto.d.ts +52 -0
  27. package/dist/actions-v2/MoveGainingOneTouchSwitchToOrderUpdateSentDto.d.ts +52 -0
  28. package/dist/api-sdk-v2/InvoiceApi.d.ts +2 -2
  29. package/dist/api-sdk-v2/InvoiceApi.js +6 -6
  30. package/dist/db-accessors-v2/index.d.ts +0 -1
  31. package/dist/db-accessors-v2/index.js +3 -5
  32. package/dist/db-sdk-v2/InvoiceDb.d.ts +2 -2
  33. package/dist/db-sdk-v2/InvoiceDb.js +6 -6
  34. package/dist/entities-v2/Case.d.ts +4 -0
  35. package/dist/entities-v2/Case.js +4 -0
  36. package/dist/entities-v2/Contact.d.ts +65 -1
  37. package/dist/entities-v2/Contact.js +38 -2
  38. package/dist/entities-v2/Invoice.d.ts +7 -7
  39. package/dist/entities-v2/Invoice.js +5 -5
  40. package/dist/entities-v2/QaReport.d.ts +49 -1
  41. package/dist/entities-v2/QaReport.js +25 -1
  42. package/dist/entities-v2/QaRubric.d.ts +17 -1
  43. package/dist/entities-v2/QaRubric.js +4 -0
  44. package/dist/entities-v2/VoiceConfiguration.d.ts +130 -130
  45. package/dist/entities-v2/VoiceConfiguration.js +46 -46
  46. package/dist/entities-v2/WorkOrder.d.ts +197 -1
  47. package/dist/entities-v2/WorkOrder.js +4 -0
  48. package/dist/records-v2/InvoiceRecord.d.ts +20 -20
  49. package/dist/records-v2/InvoiceRecord.js +33 -33
  50. package/dist/records-v2/WorkOrderRecord.d.ts +25 -0
  51. package/dist/records-v2/WorkOrderRecord.js +29 -0
  52. package/dist/records-v2/index.d.ts +0 -1
  53. package/dist/records-v2/index.js +5 -8
  54. package/dist/wholesale-provider/kci-effect-bridge.js +22 -0
  55. package/dist/wholesale-provider/test/kci-effect-bridge.spec.js +12 -0
  56. package/package.json +2 -2
  57. package/dist/accessors-v2/AiRouteRequestAccessor.d.ts +0 -112
  58. package/dist/accessors-v2/AiRouteRequestAccessor.js +0 -191
  59. package/dist/actions-v2/CreateAiRouteRequestDto.d.ts +0 -165
  60. package/dist/actions-v2/CreateAiRouteRequestDto.js +0 -57
  61. package/dist/api-sdk-v2/AiRouteRequestApi.d.ts +0 -45
  62. package/dist/api-sdk-v2/AiRouteRequestApi.js +0 -151
  63. package/dist/db-accessors-v2/AiRouteRequestDbAccessor.d.ts +0 -180
  64. package/dist/db-accessors-v2/AiRouteRequestDbAccessor.js +0 -265
  65. package/dist/db-sdk-v2/AiRouteRequestDb.d.ts +0 -117
  66. package/dist/db-sdk-v2/AiRouteRequestDb.js +0 -200
  67. package/dist/entities-v2/AiRouteRequest.d.ts +0 -260
  68. package/dist/entities-v2/AiRouteRequest.js +0 -174
  69. package/dist/records-v2/AiRouteRequestRecord.d.ts +0 -186
  70. package/dist/records-v2/AiRouteRequestRecord.js +0 -245
@@ -57,12 +57,6 @@ class InvoiceApi extends api_provider_1.ApiProvider {
57
57
  }
58
58
  return this._order;
59
59
  }
60
- get billingadjustment() {
61
- if (!this._billingadjustment) {
62
- this._billingadjustment = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:Invoice', 'OrderModule:BillingAdjustment', 'Invoice__BillingAdjustment');
63
- }
64
- return this._billingadjustment;
65
- }
66
60
  get contact() {
67
61
  if (!this._contact) {
68
62
  this._contact = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:Invoice', 'CrmModule:Contact', 'Invoice__Contact');
@@ -141,6 +135,12 @@ class InvoiceApi extends api_provider_1.ApiProvider {
141
135
  }
142
136
  return this._payment;
143
137
  }
138
+ get billingadjustment() {
139
+ if (!this._billingadjustment) {
140
+ this._billingadjustment = new api_record_link_manager_1.ApiRecordLinkManager(this.authParams, 'BillingModule:Invoice', 'OrderModule:BillingAdjustment', 'Invoice__BillingAdjustment');
141
+ }
142
+ return this._billingadjustment;
143
+ }
144
144
  // ============================================
145
145
  // STANDARD METHODS (Unchanged API)
146
146
  // ============================================
@@ -15,7 +15,6 @@ export { AddressInteractionDbAccessor, AddressInteractionDbSearchResponse } from
15
15
  export { AddressDbAccessor, AddressDbSearchResponse } from './AddressDbAccessor';
16
16
  export { AffiliateCodeDbAccessor, AffiliateCodeDbSearchResponse } from './AffiliateCodeDbAccessor';
17
17
  export { AgentStatusDbAccessor, AgentStatusDbSearchResponse } from './AgentStatusDbAccessor';
18
- export { AiRouteRequestDbAccessor, AiRouteRequestDbSearchResponse } from './AiRouteRequestDbAccessor';
19
18
  export { AppointmentDbAccessor, AppointmentDbSearchResponse } from './AppointmentDbAccessor';
20
19
  export { BillingAdjustmentDbAccessor, BillingAdjustmentDbSearchResponse } from './BillingAdjustmentDbAccessor';
21
20
  export { BillingRequestDbAccessor, BillingRequestDbSearchResponse } from './BillingRequestDbAccessor';
@@ -9,9 +9,9 @@
9
9
  * AUTO-GENERATED - DO NOT EDIT DIRECTLY
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.InvoiceItemDbAccessor = exports.ImpersonationTrackerDbAccessor = exports.HomeMoveDbAccessor = exports.FileDbAccessor = exports.FieldServiceProductDbAccessor = exports.FieldServiceDispatchedProductDbAccessor = exports.ExchangeDbAccessor = exports.EquipmentReturnDbAccessor = exports.EquipmentReturnItemDbAccessor = exports.EmailTemplateDbAccessor = exports.EmailSenderDbAccessor = exports.EmailDbAccessor = exports.DocumentDbAccessor = exports.DocumentProcessingDbAccessor = exports.DiscountDbAccessor = exports.DataIssueDbAccessor = exports.CustomerPhonePortingDbAccessor = exports.CustomerDeviceRouterDbAccessor = exports.CustomerDeviceDbAccessor = exports.CustomerDeviceOntDbAccessor = exports.CustomerDeviceConfigurationDbAccessor = exports.CustomerDeviceAtaDbAccessor = exports.CrmDatasetDbAccessor = exports.CreditNoteDbAccessor = exports.ConversationSummaryFeedbackDbAccessor = exports.ConversationDbAccessor = exports.ContractBuyOutDbAccessor = exports.ContactDbAccessor = exports.ContactIdentityDbAccessor = exports.ConfigDbAccessor = exports.ChurnRequestDbAccessor = exports.ChangeReasonDbAccessor = exports.CaseDbAccessor = exports.CampaignDbAccessor = exports.CallDbAccessor = exports.CallLegDbAccessor = exports.BrskEntityMigrationErrorDbAccessor = exports.BngProvisionDbAccessor = exports.BillingRequestDbAccessor = exports.BillingAdjustmentDbAccessor = exports.AppointmentDbAccessor = exports.AiRouteRequestDbAccessor = exports.AgentStatusDbAccessor = exports.AffiliateCodeDbAccessor = exports.AddressDbAccessor = exports.AddressInteractionDbAccessor = exports.ActivityDbAccessor = exports.ActivityLogDbAccessor = exports.AccountDbAccessor = exports.AccountCreditDbAccessor = void 0;
13
- exports.ReferralDbAccessor = exports.RecontractDbAccessor = exports.QaRubricSectionDbAccessor = exports.QaRubricDbAccessor = exports.QaRubricItemDbAccessor = exports.QaReportDbAccessor = exports.QaAutoFailDbAccessor = exports.PushNotificationDbAccessor = exports.ProductDbAccessor = exports.PriceBookDbAccessor = exports.PgWebhookDbAccessor = exports.PgWebhookAttemptDbAccessor = exports.PgVocalinkDbAccessor = exports.PgTransactionDbAccessor = exports.PgSortCodeSubstitutionDbAccessor = exports.PgReportEventDbAccessor = exports.PgPaymentMethodDbAccessor = exports.PgLogDbAccessor = exports.PgFileAllocationDbAccessor = exports.PgDisputeDbAccessor = exports.PgDirectDebitFileDbAccessor = exports.PgContactDbAccessor = exports.PgAccountValidationDbAccessor = exports.PermissionToFailDbAccessor = exports.PaymentDbAccessor = exports.PaymentMethodRefundDbAccessor = exports.PaymentMethodDbAccessor = exports.PICRequestDbAccessor = exports.OverlayRealA55DbAccessor = exports.OutboundDialSessionDbAccessor = exports.OutboundDialCampaignDbAccessor = exports.OutboundDialCampaignCaseDbAccessor = exports.OutageDbAccessor = exports.OrderDbAccessor = exports.OrderKciDbAccessor = exports.OrderItemDbAccessor = exports.OrderCheckDbAccessor = exports.OntReplacementApprovalDbAccessor = exports.OneTouchSwitchDbAccessor = exports.OhExternalAuditDbAccessor = exports.OfferTemplateDbAccessor = exports.OfferDbAccessor = exports.NotificationTemplateDbAccessor = exports.NoteDbAccessor = exports.NetworkDeviceDbAccessor = exports.ModifyServiceRequestDbAccessor = exports.MessageDbAccessor = exports.LeadDbAccessor = exports.KnowledgeArticleDbAccessor = exports.InvoiceDbAccessor = void 0;
14
- exports.YfWifiSurveyDbAccessor = exports.YfFieldVisitOutcomeFormDbAccessor = exports.YfAgentLocationDbAccessor = exports.WorkOrderStatusUpdateDbAccessor = exports.WorkOrderDbAccessor = exports.WayleaveAuditDbAccessor = exports.VoiceConfigurationDbAccessor = exports.VisitDbAccessor = exports.UserDbAccessor = exports.UgExternalAuditDbAccessor = exports.TwilioWorkerDbAccessor = exports.TwilioUserUpdateDbAccessor = exports.TwilioTaskQueueDbAccessor = exports.TwilioCallEventDbAccessor = exports.TwilioActivityDbAccessor = exports.TransactionDbAccessor = exports.TimeSlotDbAccessor = exports.TeamDbAccessor = exports.SmsTemplateDbAccessor = exports.SmsMessageDbAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormDbAccessor = exports.ServiceDbAccessor = exports.ServiceAppointmentDbAccessor = exports.ServiceAppointmentConfigDbAccessor = exports.ScheduleSlotDbAccessor = exports.SalesTerritoryDbAccessor = exports.RewardDbAccessor = exports.ReturnsDbAccessor = exports.RemediationRequiredReasonDbAccessor = exports.RemediationOutcomeFormDbAccessor = exports.RegionDbAccessor = void 0;
12
+ exports.InvoiceDbAccessor = exports.InvoiceItemDbAccessor = exports.ImpersonationTrackerDbAccessor = exports.HomeMoveDbAccessor = exports.FileDbAccessor = exports.FieldServiceProductDbAccessor = exports.FieldServiceDispatchedProductDbAccessor = exports.ExchangeDbAccessor = exports.EquipmentReturnDbAccessor = exports.EquipmentReturnItemDbAccessor = exports.EmailTemplateDbAccessor = exports.EmailSenderDbAccessor = exports.EmailDbAccessor = exports.DocumentDbAccessor = exports.DocumentProcessingDbAccessor = exports.DiscountDbAccessor = exports.DataIssueDbAccessor = exports.CustomerPhonePortingDbAccessor = exports.CustomerDeviceRouterDbAccessor = exports.CustomerDeviceDbAccessor = exports.CustomerDeviceOntDbAccessor = exports.CustomerDeviceConfigurationDbAccessor = exports.CustomerDeviceAtaDbAccessor = exports.CrmDatasetDbAccessor = exports.CreditNoteDbAccessor = exports.ConversationSummaryFeedbackDbAccessor = exports.ConversationDbAccessor = exports.ContractBuyOutDbAccessor = exports.ContactDbAccessor = exports.ContactIdentityDbAccessor = exports.ConfigDbAccessor = exports.ChurnRequestDbAccessor = exports.ChangeReasonDbAccessor = exports.CaseDbAccessor = exports.CampaignDbAccessor = exports.CallDbAccessor = exports.CallLegDbAccessor = exports.BrskEntityMigrationErrorDbAccessor = exports.BngProvisionDbAccessor = exports.BillingRequestDbAccessor = exports.BillingAdjustmentDbAccessor = exports.AppointmentDbAccessor = exports.AgentStatusDbAccessor = exports.AffiliateCodeDbAccessor = exports.AddressDbAccessor = exports.AddressInteractionDbAccessor = exports.ActivityDbAccessor = exports.ActivityLogDbAccessor = exports.AccountDbAccessor = exports.AccountCreditDbAccessor = void 0;
13
+ exports.RegionDbAccessor = exports.ReferralDbAccessor = exports.RecontractDbAccessor = exports.QaRubricSectionDbAccessor = exports.QaRubricDbAccessor = exports.QaRubricItemDbAccessor = exports.QaReportDbAccessor = exports.QaAutoFailDbAccessor = exports.PushNotificationDbAccessor = exports.ProductDbAccessor = exports.PriceBookDbAccessor = exports.PgWebhookDbAccessor = exports.PgWebhookAttemptDbAccessor = exports.PgVocalinkDbAccessor = exports.PgTransactionDbAccessor = exports.PgSortCodeSubstitutionDbAccessor = exports.PgReportEventDbAccessor = exports.PgPaymentMethodDbAccessor = exports.PgLogDbAccessor = exports.PgFileAllocationDbAccessor = exports.PgDisputeDbAccessor = exports.PgDirectDebitFileDbAccessor = exports.PgContactDbAccessor = exports.PgAccountValidationDbAccessor = exports.PermissionToFailDbAccessor = exports.PaymentDbAccessor = exports.PaymentMethodRefundDbAccessor = exports.PaymentMethodDbAccessor = exports.PICRequestDbAccessor = exports.OverlayRealA55DbAccessor = exports.OutboundDialSessionDbAccessor = exports.OutboundDialCampaignDbAccessor = exports.OutboundDialCampaignCaseDbAccessor = exports.OutageDbAccessor = exports.OrderDbAccessor = exports.OrderKciDbAccessor = exports.OrderItemDbAccessor = exports.OrderCheckDbAccessor = exports.OntReplacementApprovalDbAccessor = exports.OneTouchSwitchDbAccessor = exports.OhExternalAuditDbAccessor = exports.OfferTemplateDbAccessor = exports.OfferDbAccessor = exports.NotificationTemplateDbAccessor = exports.NoteDbAccessor = exports.NetworkDeviceDbAccessor = exports.ModifyServiceRequestDbAccessor = exports.MessageDbAccessor = exports.LeadDbAccessor = exports.KnowledgeArticleDbAccessor = void 0;
14
+ exports.YfWifiSurveyDbAccessor = exports.YfFieldVisitOutcomeFormDbAccessor = exports.YfAgentLocationDbAccessor = exports.WorkOrderStatusUpdateDbAccessor = exports.WorkOrderDbAccessor = exports.WayleaveAuditDbAccessor = exports.VoiceConfigurationDbAccessor = exports.VisitDbAccessor = exports.UserDbAccessor = exports.UgExternalAuditDbAccessor = exports.TwilioWorkerDbAccessor = exports.TwilioUserUpdateDbAccessor = exports.TwilioTaskQueueDbAccessor = exports.TwilioCallEventDbAccessor = exports.TwilioActivityDbAccessor = exports.TransactionDbAccessor = exports.TimeSlotDbAccessor = exports.TeamDbAccessor = exports.SmsTemplateDbAccessor = exports.SmsMessageDbAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormDbAccessor = exports.ServiceDbAccessor = exports.ServiceAppointmentDbAccessor = exports.ServiceAppointmentConfigDbAccessor = exports.ScheduleSlotDbAccessor = exports.SalesTerritoryDbAccessor = exports.RewardDbAccessor = exports.ReturnsDbAccessor = exports.RemediationRequiredReasonDbAccessor = exports.RemediationOutcomeFormDbAccessor = void 0;
15
15
  var AccountCreditDbAccessor_1 = require("./AccountCreditDbAccessor");
16
16
  Object.defineProperty(exports, "AccountCreditDbAccessor", { enumerable: true, get: function () { return AccountCreditDbAccessor_1.AccountCreditDbAccessor; } });
17
17
  var AccountDbAccessor_1 = require("./AccountDbAccessor");
@@ -28,8 +28,6 @@ var AffiliateCodeDbAccessor_1 = require("./AffiliateCodeDbAccessor");
28
28
  Object.defineProperty(exports, "AffiliateCodeDbAccessor", { enumerable: true, get: function () { return AffiliateCodeDbAccessor_1.AffiliateCodeDbAccessor; } });
29
29
  var AgentStatusDbAccessor_1 = require("./AgentStatusDbAccessor");
30
30
  Object.defineProperty(exports, "AgentStatusDbAccessor", { enumerable: true, get: function () { return AgentStatusDbAccessor_1.AgentStatusDbAccessor; } });
31
- var AiRouteRequestDbAccessor_1 = require("./AiRouteRequestDbAccessor");
32
- Object.defineProperty(exports, "AiRouteRequestDbAccessor", { enumerable: true, get: function () { return AiRouteRequestDbAccessor_1.AiRouteRequestDbAccessor; } });
33
31
  var AppointmentDbAccessor_1 = require("./AppointmentDbAccessor");
34
32
  Object.defineProperty(exports, "AppointmentDbAccessor", { enumerable: true, get: function () { return AppointmentDbAccessor_1.AppointmentDbAccessor; } });
35
33
  var BillingAdjustmentDbAccessor_1 = require("./BillingAdjustmentDbAccessor");
@@ -25,7 +25,6 @@ export declare class InvoiceDb extends DbProvider {
25
25
  private _note?;
26
26
  private _account?;
27
27
  private _order?;
28
- private _billingadjustment?;
29
28
  private _contact?;
30
29
  private _accountcredit?;
31
30
  private _workorder?;
@@ -39,12 +38,12 @@ export declare class InvoiceDb extends DbProvider {
39
38
  private _onetouchswitch?;
40
39
  private _creditnote?;
41
40
  private _payment?;
41
+ private _billingadjustment?;
42
42
  constructor(principal: any, dbService: any, defaultOptions?: DbProviderOptions);
43
43
  get file(): DbRecordLinkManager;
44
44
  get note(): DbRecordLinkManager;
45
45
  get account(): DbRecordLinkManager;
46
46
  get order(): DbRecordLinkManager;
47
- get billingadjustment(): DbRecordLinkManager;
48
47
  get contact(): DbRecordLinkManager;
49
48
  get accountcredit(): DbRecordLinkManager;
50
49
  get workorder(): DbRecordLinkManager;
@@ -58,6 +57,7 @@ export declare class InvoiceDb extends DbProvider {
58
57
  get onetouchswitch(): DbRecordLinkManager;
59
58
  get creditnote(): DbRecordLinkManager;
60
59
  get payment(): DbRecordLinkManager;
60
+ get billingadjustment(): DbRecordLinkManager;
61
61
  setRecord(sourceRecord: any): void;
62
62
  /**
63
63
  * Search records with manual pagination control
@@ -62,12 +62,6 @@ class InvoiceDb extends db_provider_1.DbProvider {
62
62
  }
63
63
  return this._order;
64
64
  }
65
- get billingadjustment() {
66
- if (!this._billingadjustment) {
67
- this._billingadjustment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:Invoice', 'OrderModule:BillingAdjustment', 'Invoice__BillingAdjustment');
68
- }
69
- return this._billingadjustment;
70
- }
71
65
  get contact() {
72
66
  if (!this._contact) {
73
67
  this._contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:Invoice', 'CrmModule:Contact', 'Invoice__Contact');
@@ -146,6 +140,12 @@ class InvoiceDb extends db_provider_1.DbProvider {
146
140
  }
147
141
  return this._payment;
148
142
  }
143
+ get billingadjustment() {
144
+ if (!this._billingadjustment) {
145
+ this._billingadjustment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'BillingModule:Invoice', 'OrderModule:BillingAdjustment', 'Invoice__BillingAdjustment');
146
+ }
147
+ return this._billingadjustment;
148
+ }
149
149
  // ============================================
150
150
  // STANDARD METHODS
151
151
  // ============================================
@@ -513,12 +513,14 @@ export declare enum CaseSubCategory {
513
513
  * @remarks Available options:
514
514
  * - `AWAITING_CHURN` - Awaiting Churn
515
515
  * - `AWAITING_NETOMNIA_ACTION` - Awaiting Netomnia Action
516
+ * - `AWAITING_PROOF_OF_MOVE` - Awaiting Proof of Move
516
517
  * - `PAYMENT_PLAN` - Payment Plan
517
518
  * - `WAITING_TO_PROCESS_REFUND` - Waiting to process Refund
518
519
  */
519
520
  export declare enum CaseBlockedReason {
520
521
  AWAITING_CHURN = "AWAITING_CHURN",
521
522
  AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
523
+ AWAITING_PROOF_OF_MOVE = "AWAITING_PROOF_OF_MOVE",
522
524
  PAYMENT_PLAN = "PAYMENT_PLAN",
523
525
  WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
524
526
  }
@@ -632,6 +634,7 @@ export declare enum CaseSla {
632
634
  * - `FREE_MONTHS` - Free Months
633
635
  * - `NONE_REQUIRED` - None Required
634
636
  * - `PRICE_MATCH` - Price Match
637
+ * - `RENEWED_UPGRADED` - Renewed/Upgraded
635
638
  * - `STATIC_IP` - Static IP
636
639
  * - `YOUMESH` - YouMesh
637
640
  */
@@ -639,6 +642,7 @@ export declare enum CaseRetentionOffer {
639
642
  FREE_MONTHS = "FREE_MONTHS",
640
643
  NONE_REQUIRED = "NONE_REQUIRED",
641
644
  PRICE_MATCH = "PRICE_MATCH",
645
+ RENEWED_UPGRADED = "RENEWED_UPGRADED",
642
646
  STATIC_IP = "STATIC_IP",
643
647
  YOU_MESH = "YOUMESH"
644
648
  }
@@ -506,6 +506,7 @@ var CaseSubCategory;
506
506
  * @remarks Available options:
507
507
  * - `AWAITING_CHURN` - Awaiting Churn
508
508
  * - `AWAITING_NETOMNIA_ACTION` - Awaiting Netomnia Action
509
+ * - `AWAITING_PROOF_OF_MOVE` - Awaiting Proof of Move
509
510
  * - `PAYMENT_PLAN` - Payment Plan
510
511
  * - `WAITING_TO_PROCESS_REFUND` - Waiting to process Refund
511
512
  */
@@ -513,6 +514,7 @@ var CaseBlockedReason;
513
514
  (function (CaseBlockedReason) {
514
515
  CaseBlockedReason["AWAITING_CHURN"] = "AWAITING_CHURN";
515
516
  CaseBlockedReason["AWAITING_NETOMNIA_ACTION"] = "AWAITING_NETOMNIA_ACTION";
517
+ CaseBlockedReason["AWAITING_PROOF_OF_MOVE"] = "AWAITING_PROOF_OF_MOVE";
516
518
  CaseBlockedReason["PAYMENT_PLAN"] = "PAYMENT_PLAN";
517
519
  CaseBlockedReason["WAITING_TO_PROCESS_REFUND"] = "WAITING_TO_PROCESS_REFUND";
518
520
  })(CaseBlockedReason = exports.CaseBlockedReason || (exports.CaseBlockedReason = {}));
@@ -631,6 +633,7 @@ var CaseSla;
631
633
  * - `FREE_MONTHS` - Free Months
632
634
  * - `NONE_REQUIRED` - None Required
633
635
  * - `PRICE_MATCH` - Price Match
636
+ * - `RENEWED_UPGRADED` - Renewed/Upgraded
634
637
  * - `STATIC_IP` - Static IP
635
638
  * - `YOUMESH` - YouMesh
636
639
  */
@@ -639,6 +642,7 @@ var CaseRetentionOffer;
639
642
  CaseRetentionOffer["FREE_MONTHS"] = "FREE_MONTHS";
640
643
  CaseRetentionOffer["NONE_REQUIRED"] = "NONE_REQUIRED";
641
644
  CaseRetentionOffer["PRICE_MATCH"] = "PRICE_MATCH";
645
+ CaseRetentionOffer["RENEWED_UPGRADED"] = "RENEWED_UPGRADED";
642
646
  CaseRetentionOffer["STATIC_IP"] = "STATIC_IP";
643
647
  CaseRetentionOffer["YOU_MESH"] = "YOUMESH";
644
648
  })(CaseRetentionOffer = exports.CaseRetentionOffer || (exports.CaseRetentionOffer = {}));
@@ -273,6 +273,32 @@ export declare enum ContactWhitelistedTwilioQueue {
273
273
  GENERAL_SUPPORT = "General Support",
274
274
  ORDER_MANAGEMENT_UPDATE = "Order Management - Update"
275
275
  }
276
+ /**
277
+ * Valid values for Contact.AppPushNotificationStatus
278
+ *
279
+ * Whether the customer receives push notifications from the app: ENABLED only when the in-app toggle is on and the phone allows notifications. Empty until the app reports it (PORTAPP-3345).
280
+ *
281
+ * @remarks Available options:
282
+ * - `DISABLED` - Disabled
283
+ * - `ENABLED` - Enabled
284
+ */
285
+ export declare enum ContactAppPushNotificationStatus {
286
+ DISABLED = "DISABLED",
287
+ ENABLED = "ENABLED"
288
+ }
289
+ /**
290
+ * Valid values for Contact.AppBiometricLoginStatus
291
+ *
292
+ * Whether the customer has biometric login (Face ID, fingerprint) turned on in the app. Empty until the app reports it (PORTAPP-3345).
293
+ *
294
+ * @remarks Available options:
295
+ * - `DISABLED` - Disabled
296
+ * - `ENABLED` - Enabled
297
+ */
298
+ export declare enum ContactAppBiometricLoginStatus {
299
+ DISABLED = "DISABLED",
300
+ ENABLED = "ENABLED"
301
+ }
276
302
  /**
277
303
  * Property keys for Contact
278
304
  * Use these constants instead of string literals for type safety
@@ -389,7 +415,15 @@ export declare enum ContactPropertyKeys {
389
415
  /** True suppresses every CSAT survey (email, web-chat, SMS) for this contact, regardless of channel. Set via a permission-locked toggle on the Contact detail view. Absent/false = CSAT sends as normal. */
390
416
  CsatDisabled = "CsatDisabled",
391
417
  /** Phone number (Sales - Contact) */
392
- Phone = "Phone"
418
+ Phone = "Phone",
419
+ /** Whether the customer receives push notifications from the app: ENABLED only when the in-app toggle is on and the phone allows notifications. Empty until the app reports it (PORTAPP-3345). */
420
+ AppPushNotificationStatus = "AppPushNotificationStatus",
421
+ /** Whether the customer has biometric login (Face ID, fingerprint) turned on in the app. Empty until the app reports it (PORTAPP-3345). */
422
+ AppBiometricLoginStatus = "AppBiometricLoginStatus",
423
+ /** When AppPushNotificationStatus last changed (PORTAPP-3345). */
424
+ AppPushNotificationStatusDate = "AppPushNotificationStatusDate",
425
+ /** When AppBiometricLoginStatus last changed (PORTAPP-3345). */
426
+ AppBiometricLoginStatusDate = "AppBiometricLoginStatusDate"
393
427
  }
394
428
  /**
395
429
  * Properties for Contact records
@@ -755,6 +789,36 @@ export interface ContactProperties {
755
789
  * @pii This field contains personally identifiable information
756
790
  */
757
791
  Phone: string;
792
+ /** Whether the customer receives push notifications from the app: ENABLED only when the in-app toggle is on and the phone allows notifications. Empty until the app reports it (PORTAPP-3345).
793
+ *
794
+ * @type {ENUM}
795
+ * @default
796
+ * @enum {ContactAppPushNotificationStatus}
797
+ * @hidden This field is hidden in the UI
798
+ */
799
+ AppPushNotificationStatus: ContactAppPushNotificationStatus;
800
+ /** Whether the customer has biometric login (Face ID, fingerprint) turned on in the app. Empty until the app reports it (PORTAPP-3345).
801
+ *
802
+ * @type {ENUM}
803
+ * @default
804
+ * @enum {ContactAppBiometricLoginStatus}
805
+ * @hidden This field is hidden in the UI
806
+ */
807
+ AppBiometricLoginStatus: ContactAppBiometricLoginStatus;
808
+ /** When AppPushNotificationStatus last changed (PORTAPP-3345).
809
+ *
810
+ * @type {DATE_TIME}
811
+ * @default
812
+ * @hidden This field is hidden in the UI
813
+ */
814
+ AppPushNotificationStatusDate: string;
815
+ /** When AppBiometricLoginStatus last changed (PORTAPP-3345).
816
+ *
817
+ * @type {DATE_TIME}
818
+ * @default
819
+ * @hidden This field is hidden in the UI
820
+ */
821
+ AppBiometricLoginStatusDate: string;
758
822
  }
759
823
  /**
760
824
  * Contact entity from CrmModule
@@ -12,8 +12,8 @@
12
12
  * Generated from Odin schema definition
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactMedicallyDependant = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = void 0;
15
+ exports.ROUTING_KEY_LINK_CONTACT_REWARD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_DELETED = exports.ROUTING_KEY_LINK_CONTACT_BILLING_REQUEST_CREATED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_APPOINTMENT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTACT_IDENTITY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_FILE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_FILE_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_DELETED = exports.ROUTING_KEY_LINK_REFEREE_REFERRALS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PUSH_NOTIFICATION_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PHONE_NUMBER_CREATED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_LINK_CONTACT_PAYMENT_METHOD_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NOTE_CREATED = exports.ROUTING_KEY_CONTACT_DEFAULT_DELETED = exports.ROUTING_KEY_CONTACT_DEFAULT_UPDATED = exports.ROUTING_KEY_CONTACT_DEFAULT_CREATED = exports.ROUTING_KEY_CONTACT_DELETED = exports.ROUTING_KEY_CONTACT_UPDATED = exports.ROUTING_KEY_CONTACT_CREATED = exports.Contact = exports.ContactPropertyKeys = exports.ContactAppBiometricLoginStatus = exports.ContactAppPushNotificationStatus = exports.ContactWhitelistedTwilioQueue = exports.ContactHomeownerStatus = exports.ContactMedicallyDependant = exports.ContactAdditionalCareRequired = exports.ContactTelecareAlarm = exports.ContactAccountStatus = exports.ContactActivationSource = exports.ContactCurrentNetworkProvider = exports.ContactRole = exports.ContactPreviousProvider = exports.ContactPortalStatus = exports.ContactCurrentProvider = exports.ContactEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_CONTRACT_BUY_OUT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_DELETED = exports.ROUTING_KEY_LINK_CONTACT_NPS_SURVEY_CREATED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_DELETED = exports.ROUTING_KEY_LINK_CONTACT_AFFILIATE_CODES_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ACCOUNT_CREDIT_CREATED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_CONTACT_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_CONTACT_REWARD_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Contact records
@@ -255,6 +255,34 @@ var ContactWhitelistedTwilioQueue;
255
255
  ContactWhitelistedTwilioQueue["GENERAL_SUPPORT"] = "General Support";
256
256
  ContactWhitelistedTwilioQueue["ORDER_MANAGEMENT_UPDATE"] = "Order Management - Update";
257
257
  })(ContactWhitelistedTwilioQueue = exports.ContactWhitelistedTwilioQueue || (exports.ContactWhitelistedTwilioQueue = {}));
258
+ /**
259
+ * Valid values for Contact.AppPushNotificationStatus
260
+ *
261
+ * Whether the customer receives push notifications from the app: ENABLED only when the in-app toggle is on and the phone allows notifications. Empty until the app reports it (PORTAPP-3345).
262
+ *
263
+ * @remarks Available options:
264
+ * - `DISABLED` - Disabled
265
+ * - `ENABLED` - Enabled
266
+ */
267
+ var ContactAppPushNotificationStatus;
268
+ (function (ContactAppPushNotificationStatus) {
269
+ ContactAppPushNotificationStatus["DISABLED"] = "DISABLED";
270
+ ContactAppPushNotificationStatus["ENABLED"] = "ENABLED";
271
+ })(ContactAppPushNotificationStatus = exports.ContactAppPushNotificationStatus || (exports.ContactAppPushNotificationStatus = {}));
272
+ /**
273
+ * Valid values for Contact.AppBiometricLoginStatus
274
+ *
275
+ * Whether the customer has biometric login (Face ID, fingerprint) turned on in the app. Empty until the app reports it (PORTAPP-3345).
276
+ *
277
+ * @remarks Available options:
278
+ * - `DISABLED` - Disabled
279
+ * - `ENABLED` - Enabled
280
+ */
281
+ var ContactAppBiometricLoginStatus;
282
+ (function (ContactAppBiometricLoginStatus) {
283
+ ContactAppBiometricLoginStatus["DISABLED"] = "DISABLED";
284
+ ContactAppBiometricLoginStatus["ENABLED"] = "ENABLED";
285
+ })(ContactAppBiometricLoginStatus = exports.ContactAppBiometricLoginStatus || (exports.ContactAppBiometricLoginStatus = {}));
258
286
  /**
259
287
  * Property keys for Contact
260
288
  * Use these constants instead of string literals for type safety
@@ -373,6 +401,14 @@ var ContactPropertyKeys;
373
401
  ContactPropertyKeys["CsatDisabled"] = "CsatDisabled";
374
402
  /** Phone number (Sales - Contact) */
375
403
  ContactPropertyKeys["Phone"] = "Phone";
404
+ /** Whether the customer receives push notifications from the app: ENABLED only when the in-app toggle is on and the phone allows notifications. Empty until the app reports it (PORTAPP-3345). */
405
+ ContactPropertyKeys["AppPushNotificationStatus"] = "AppPushNotificationStatus";
406
+ /** Whether the customer has biometric login (Face ID, fingerprint) turned on in the app. Empty until the app reports it (PORTAPP-3345). */
407
+ ContactPropertyKeys["AppBiometricLoginStatus"] = "AppBiometricLoginStatus";
408
+ /** When AppPushNotificationStatus last changed (PORTAPP-3345). */
409
+ ContactPropertyKeys["AppPushNotificationStatusDate"] = "AppPushNotificationStatusDate";
410
+ /** When AppBiometricLoginStatus last changed (PORTAPP-3345). */
411
+ ContactPropertyKeys["AppBiometricLoginStatusDate"] = "AppBiometricLoginStatusDate";
376
412
  })(ContactPropertyKeys = exports.ContactPropertyKeys || (exports.ContactPropertyKeys = {}));
377
413
  /**
378
414
  * Contact entity from CrmModule
@@ -15,7 +15,6 @@ import { FileProperties } from './File';
15
15
  import { NoteProperties } from './Note';
16
16
  import { AccountProperties } from './Account';
17
17
  import { OrderProperties } from './Order';
18
- import { BillingAdjustmentProperties } from './BillingAdjustment';
19
18
  import { ContactProperties } from './Contact';
20
19
  import { AccountCreditProperties } from './AccountCredit';
21
20
  import { WorkOrderProperties } from './WorkOrder';
@@ -29,6 +28,7 @@ import { SmsMessageProperties } from './SmsMessage';
29
28
  import { OneTouchSwitchProperties } from './OneTouchSwitch';
30
29
  import { CreditNoteProperties } from './CreditNote';
31
30
  import { PaymentProperties } from './Payment';
31
+ import { BillingAdjustmentProperties } from './BillingAdjustment';
32
32
  /**
33
33
  * Available types for Invoice records
34
34
  */
@@ -1283,8 +1283,6 @@ export declare class Invoice extends OdinRecord<InvoiceProperties> {
1283
1283
  Account: OdinLink<LinkedOdinRecord<AccountProperties>>;
1284
1284
  /** Linked Order records (Order__Invoice) */
1285
1285
  Order: OdinLink<LinkedOdinRecord<OrderProperties>>;
1286
- /** Linked BillingAdjustment records (Invoice__BillingAdjustment) */
1287
- BillingAdjustment: OdinLink<LinkedOdinRecord<BillingAdjustmentProperties>>;
1288
1286
  /** Linked Contact records (Invoice__Contact) */
1289
1287
  Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
1290
1288
  /** Linked AccountCredit records (AccountCredit__Invoice) */
@@ -1311,6 +1309,8 @@ export declare class Invoice extends OdinRecord<InvoiceProperties> {
1311
1309
  CreditNote: OdinLink<LinkedOdinRecord<CreditNoteProperties>>;
1312
1310
  /** Linked Payment records (Payment_Invoice) */
1313
1311
  Payment: OdinLink<LinkedOdinRecord<PaymentProperties>>;
1312
+ /** Linked BillingAdjustment records (Invoice__BillingAdjustment) */
1313
+ BillingAdjustment: OdinLink<LinkedOdinRecord<BillingAdjustmentProperties>>;
1314
1314
  }
1315
1315
  /**
1316
1316
  * RabbitMQ routing keys for Invoice events
@@ -1348,10 +1348,6 @@ export declare const ROUTING_KEY_LINK_INVOICE_FILE_DELETED = "BillingModule.Invo
1348
1348
  export declare const ROUTING_KEY_LINK_INVOICE_NOTE_CREATED = "BillingModule.Invoice.Note.SubDbRecordAssociationCreated";
1349
1349
  /** Event: Invoice__Note link deleted */
1350
1350
  export declare const ROUTING_KEY_LINK_INVOICE_NOTE_DELETED = "BillingModule.Invoice.Note.SubDbRecordAssociationDeleted";
1351
- /** Event: Invoice__BillingAdjustment link created */
1352
- export declare const ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = "BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationCreated";
1353
- /** Event: Invoice__BillingAdjustment link deleted */
1354
- export declare const ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = "BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationDeleted";
1355
1351
  /** Event: Invoice__Contact link created */
1356
1352
  export declare const ROUTING_KEY_LINK_INVOICE_CONTACT_CREATED = "BillingModule.Invoice.Contact.SubDbRecordAssociationCreated";
1357
1353
  /** Event: Invoice__Contact link deleted */
@@ -1380,3 +1376,7 @@ export declare const ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_DELETED = "BillingModu
1380
1376
  export declare const ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_CREATED = "BillingModule.Invoice.CreditNote.SubDbRecordAssociationCreated";
1381
1377
  /** Event: Invoice__CreditNote link deleted */
1382
1378
  export declare const ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_DELETED = "BillingModule.Invoice.CreditNote.SubDbRecordAssociationDeleted";
1379
+ /** Event: Invoice__BillingAdjustment link created */
1380
+ export declare const ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = "BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationCreated";
1381
+ /** Event: Invoice__BillingAdjustment link deleted */
1382
+ export declare const ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = "BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationDeleted";
@@ -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_INVOICE_CREDIT_NOTE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_INVOICE_ITEM_DELETED = exports.ROUTING_KEY_LINK_INVOICE_INVOICE_ITEM_CREATED = exports.ROUTING_KEY_LINK_INVOICE_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_DISCOUNT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_INVOICE_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_INVOICE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_INVOICE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_INVOICE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_NOTE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_NOTE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_FILE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_FILE_CREATED = exports.ROUTING_KEY_INVOICE_ETF_DELETED = exports.ROUTING_KEY_INVOICE_ETF_UPDATED = exports.ROUTING_KEY_INVOICE_ETF_CREATED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_DELETED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_UPDATED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_CREATED = exports.ROUTING_KEY_INVOICE_DEFAULT_DELETED = exports.ROUTING_KEY_INVOICE_DEFAULT_UPDATED = exports.ROUTING_KEY_INVOICE_DEFAULT_CREATED = exports.ROUTING_KEY_INVOICE_DELETED = exports.ROUTING_KEY_INVOICE_UPDATED = exports.ROUTING_KEY_INVOICE_CREATED = exports.Invoice = exports.InvoicePropertyKeys = exports.InvoiceStatus = exports.InvoiceBillingMode = exports.InvoiceBillingPeriodType = exports.InvoiceDiscountUnit = exports.InvoiceCurrencyCode = exports.InvoiceDunningStatus = exports.InvoiceTrialUnit = exports.InvoiceDiscountType = exports.InvoiceBillingTerms = exports.InvoiceEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_INVOICE_ITEM_DELETED = exports.ROUTING_KEY_LINK_INVOICE_INVOICE_ITEM_CREATED = exports.ROUTING_KEY_LINK_INVOICE_DISCOUNT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_DISCOUNT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_TRANSACTION_DELETED = exports.ROUTING_KEY_LINK_INVOICE_TRANSACTION_CREATED = exports.ROUTING_KEY_LINK_INVOICE_ADDRESS_DELETED = exports.ROUTING_KEY_LINK_INVOICE_ADDRESS_CREATED = exports.ROUTING_KEY_LINK_INVOICE_CONTACT_DELETED = exports.ROUTING_KEY_LINK_INVOICE_CONTACT_CREATED = exports.ROUTING_KEY_LINK_INVOICE_NOTE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_NOTE_CREATED = exports.ROUTING_KEY_LINK_INVOICE_FILE_DELETED = exports.ROUTING_KEY_LINK_INVOICE_FILE_CREATED = exports.ROUTING_KEY_INVOICE_ETF_DELETED = exports.ROUTING_KEY_INVOICE_ETF_UPDATED = exports.ROUTING_KEY_INVOICE_ETF_CREATED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_DELETED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_UPDATED = exports.ROUTING_KEY_INVOICE_EQUIPMENT_CREATED = exports.ROUTING_KEY_INVOICE_DEFAULT_DELETED = exports.ROUTING_KEY_INVOICE_DEFAULT_UPDATED = exports.ROUTING_KEY_INVOICE_DEFAULT_CREATED = exports.ROUTING_KEY_INVOICE_DELETED = exports.ROUTING_KEY_INVOICE_UPDATED = exports.ROUTING_KEY_INVOICE_CREATED = exports.Invoice = exports.InvoicePropertyKeys = exports.InvoiceStatus = exports.InvoiceBillingMode = exports.InvoiceBillingPeriodType = exports.InvoiceDiscountUnit = exports.InvoiceCurrencyCode = exports.InvoiceDunningStatus = exports.InvoiceTrialUnit = exports.InvoiceDiscountType = exports.InvoiceBillingTerms = exports.InvoiceEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for Invoice records
@@ -363,10 +363,6 @@ exports.ROUTING_KEY_LINK_INVOICE_FILE_DELETED = 'BillingModule.Invoice.File.SubD
363
363
  exports.ROUTING_KEY_LINK_INVOICE_NOTE_CREATED = 'BillingModule.Invoice.Note.SubDbRecordAssociationCreated';
364
364
  /** Event: Invoice__Note link deleted */
365
365
  exports.ROUTING_KEY_LINK_INVOICE_NOTE_DELETED = 'BillingModule.Invoice.Note.SubDbRecordAssociationDeleted';
366
- /** Event: Invoice__BillingAdjustment link created */
367
- exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = 'BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationCreated';
368
- /** Event: Invoice__BillingAdjustment link deleted */
369
- exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = 'BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationDeleted';
370
366
  /** Event: Invoice__Contact link created */
371
367
  exports.ROUTING_KEY_LINK_INVOICE_CONTACT_CREATED = 'BillingModule.Invoice.Contact.SubDbRecordAssociationCreated';
372
368
  /** Event: Invoice__Contact link deleted */
@@ -395,3 +391,7 @@ exports.ROUTING_KEY_LINK_INVOICE_SMS_MESSAGE_DELETED = 'BillingModule.Invoice.Sm
395
391
  exports.ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_CREATED = 'BillingModule.Invoice.CreditNote.SubDbRecordAssociationCreated';
396
392
  /** Event: Invoice__CreditNote link deleted */
397
393
  exports.ROUTING_KEY_LINK_INVOICE_CREDIT_NOTE_DELETED = 'BillingModule.Invoice.CreditNote.SubDbRecordAssociationDeleted';
394
+ /** Event: Invoice__BillingAdjustment link created */
395
+ exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_CREATED = 'BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationCreated';
396
+ /** Event: Invoice__BillingAdjustment link deleted */
397
+ exports.ROUTING_KEY_LINK_INVOICE_BILLING_ADJUSTMENT_DELETED = 'BillingModule.Invoice.BillingAdjustment.SubDbRecordAssociationDeleted';
@@ -70,6 +70,21 @@ export declare enum QaReportFeedbackReason {
70
70
  THE_SCORE_IS_WRONG = "SCORE_WRONG",
71
71
  UNFAIR_TO_THE_AGENT = "UNFAIR_TO_AGENT"
72
72
  }
73
+ /**
74
+ * Valid values for QaReport.Status
75
+ *
76
+ * PENDING while a worker is scoring the case, COMPLETE once the report is stored, FAILED with the reason in Error.
77
+ *
78
+ * @remarks Available options:
79
+ * - `COMPLETE` - Complete
80
+ * - `FAILED` - Failed
81
+ * - `PENDING` - Pending
82
+ */
83
+ export declare enum QaReportStatus {
84
+ COMPLETE = "COMPLETE",
85
+ FAILED = "FAILED",
86
+ PENDING = "PENDING"
87
+ }
73
88
  /**
74
89
  * Property keys for QaReport
75
90
  * Use these constants instead of string literals for type safety
@@ -112,7 +127,15 @@ export declare enum QaReportPropertyKeys {
112
127
  /** S3 URL of the exact scoring_criteria JSON sent with this report, so the criteria that produced the score can always be read back. */
113
128
  RubricSnapshotUrl = "RubricSnapshotUrl",
114
129
  /** S3 URL of qa_result: the verdict and points for every rubric item, the section totals and the score, all computed in code by the Databricks endpoint. Only set when the report was scored against an Odin rubric. Per-item analytics read this. */
115
- QaResultUrl = "QaResultUrl"
130
+ QaResultUrl = "QaResultUrl",
131
+ /** PENDING while a worker is scoring the case, COMPLETE once the report is stored, FAILED with the reason in Error. */
132
+ Status = "Status",
133
+ /** Why the report could not be generated, in plain English, when Status is FAILED. */
134
+ Error = "Error",
135
+ /** Display name of the person who pressed Generate. */
136
+ RequestedBy = "RequestedBy",
137
+ /** When Generate was pressed. The report is written against this row when the worker finishes. */
138
+ RequestedAt = "RequestedAt"
116
139
  }
117
140
  /**
118
141
  * Properties for QaReport records
@@ -238,6 +261,31 @@ export interface QaReportProperties {
238
261
  * @default
239
262
  */
240
263
  QaResultUrl: string;
264
+ /** PENDING while a worker is scoring the case, COMPLETE once the report is stored, FAILED with the reason in Error.
265
+ *
266
+ * @type {ENUM}
267
+ * @default COMPLETE
268
+ * @enum {QaReportStatus}
269
+ */
270
+ Status: QaReportStatus;
271
+ /** Why the report could not be generated, in plain English, when Status is FAILED.
272
+ *
273
+ * @type {TEXT}
274
+ * @default
275
+ */
276
+ Error: string;
277
+ /** Display name of the person who pressed Generate.
278
+ *
279
+ * @type {TEXT}
280
+ * @default
281
+ */
282
+ RequestedBy: string;
283
+ /** When Generate was pressed. The report is written against this row when the worker finishes.
284
+ *
285
+ * @type {DATE_TIME}
286
+ * @default
287
+ */
288
+ RequestedAt: string;
241
289
  }
242
290
  /**
243
291
  * QaReport entity from SupportModule
@@ -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_QA_REPORT_DEFAULT_DELETED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_CREATED = exports.ROUTING_KEY_QA_REPORT_DELETED = exports.ROUTING_KEY_QA_REPORT_UPDATED = exports.ROUTING_KEY_QA_REPORT_CREATED = exports.QaReport = exports.QaReportPropertyKeys = exports.QaReportFeedbackReason = exports.QaReportFeedbackAccuracy = exports.QaReportChannel = exports.QaReportEntityTypes = void 0;
15
+ exports.ROUTING_KEY_QA_REPORT_DEFAULT_DELETED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_UPDATED = exports.ROUTING_KEY_QA_REPORT_DEFAULT_CREATED = exports.ROUTING_KEY_QA_REPORT_DELETED = exports.ROUTING_KEY_QA_REPORT_UPDATED = exports.ROUTING_KEY_QA_REPORT_CREATED = exports.QaReport = exports.QaReportPropertyKeys = exports.QaReportStatus = exports.QaReportFeedbackReason = exports.QaReportFeedbackAccuracy = exports.QaReportChannel = exports.QaReportEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for QaReport records
@@ -76,6 +76,22 @@ var QaReportFeedbackReason;
76
76
  QaReportFeedbackReason["THE_SCORE_IS_WRONG"] = "SCORE_WRONG";
77
77
  QaReportFeedbackReason["UNFAIR_TO_THE_AGENT"] = "UNFAIR_TO_AGENT";
78
78
  })(QaReportFeedbackReason = exports.QaReportFeedbackReason || (exports.QaReportFeedbackReason = {}));
79
+ /**
80
+ * Valid values for QaReport.Status
81
+ *
82
+ * PENDING while a worker is scoring the case, COMPLETE once the report is stored, FAILED with the reason in Error.
83
+ *
84
+ * @remarks Available options:
85
+ * - `COMPLETE` - Complete
86
+ * - `FAILED` - Failed
87
+ * - `PENDING` - Pending
88
+ */
89
+ var QaReportStatus;
90
+ (function (QaReportStatus) {
91
+ QaReportStatus["COMPLETE"] = "COMPLETE";
92
+ QaReportStatus["FAILED"] = "FAILED";
93
+ QaReportStatus["PENDING"] = "PENDING";
94
+ })(QaReportStatus = exports.QaReportStatus || (exports.QaReportStatus = {}));
79
95
  /**
80
96
  * Property keys for QaReport
81
97
  * Use these constants instead of string literals for type safety
@@ -120,6 +136,14 @@ var QaReportPropertyKeys;
120
136
  QaReportPropertyKeys["RubricSnapshotUrl"] = "RubricSnapshotUrl";
121
137
  /** S3 URL of qa_result: the verdict and points for every rubric item, the section totals and the score, all computed in code by the Databricks endpoint. Only set when the report was scored against an Odin rubric. Per-item analytics read this. */
122
138
  QaReportPropertyKeys["QaResultUrl"] = "QaResultUrl";
139
+ /** PENDING while a worker is scoring the case, COMPLETE once the report is stored, FAILED with the reason in Error. */
140
+ QaReportPropertyKeys["Status"] = "Status";
141
+ /** Why the report could not be generated, in plain English, when Status is FAILED. */
142
+ QaReportPropertyKeys["Error"] = "Error";
143
+ /** Display name of the person who pressed Generate. */
144
+ QaReportPropertyKeys["RequestedBy"] = "RequestedBy";
145
+ /** When Generate was pressed. The report is written against this row when the worker finishes. */
146
+ QaReportPropertyKeys["RequestedAt"] = "RequestedAt";
123
147
  })(QaReportPropertyKeys = exports.QaReportPropertyKeys || (exports.QaReportPropertyKeys = {}));
124
148
  /**
125
149
  * QaReport entity from SupportModule
@@ -64,7 +64,11 @@ export declare enum QaRubricPropertyKeys {
64
64
  /** The pass benchmark for this rubric, as a percentage. Currently 95. */
65
65
  Benchmark = "Benchmark",
66
66
  /** When this version became the active rubric for its channel. */
67
- EffectiveFrom = "EffectiveFrom"
67
+ EffectiveFrom = "EffectiveFrom",
68
+ /** When this version was last published or restored as the active rubric for its channel. */
69
+ PublishedAt = "PublishedAt",
70
+ /** Display name of the person who last published or restored this version. */
71
+ PublishedBy = "PublishedBy"
68
72
  }
69
73
  /**
70
74
  * Properties for QaRubric records
@@ -104,6 +108,18 @@ export interface QaRubricProperties {
104
108
  * @default
105
109
  */
106
110
  EffectiveFrom: string;
111
+ /** When this version was last published or restored as the active rubric for its channel.
112
+ *
113
+ * @type {DATE_TIME}
114
+ * @default
115
+ */
116
+ PublishedAt: string;
117
+ /** Display name of the person who last published or restored this version.
118
+ *
119
+ * @type {TEXT}
120
+ * @default
121
+ */
122
+ PublishedBy: string;
107
123
  }
108
124
  /**
109
125
  * QaRubric entity from SupportModule
@@ -70,6 +70,10 @@ var QaRubricPropertyKeys;
70
70
  QaRubricPropertyKeys["Benchmark"] = "Benchmark";
71
71
  /** When this version became the active rubric for its channel. */
72
72
  QaRubricPropertyKeys["EffectiveFrom"] = "EffectiveFrom";
73
+ /** When this version was last published or restored as the active rubric for its channel. */
74
+ QaRubricPropertyKeys["PublishedAt"] = "PublishedAt";
75
+ /** Display name of the person who last published or restored this version. */
76
+ QaRubricPropertyKeys["PublishedBy"] = "PublishedBy";
73
77
  })(QaRubricPropertyKeys = exports.QaRubricPropertyKeys || (exports.QaRubricPropertyKeys = {}));
74
78
  /**
75
79
  * QaRubric entity from SupportModule