@d19n/youfibre-odin-sdk 2.0.76 → 2.0.78

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 (141) hide show
  1. package/README.md +10 -1
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/RegionAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/RegionAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +4 -2
  12. package/dist/actions-v2/CaseCreateNoteDto.d.ts +7 -0
  13. package/dist/actions-v2/CreateActivityLogEntryDto.d.ts +8 -0
  14. package/dist/actions-v2/CreateAppointmentDto.d.ts +8 -0
  15. package/dist/actions-v2/CreateBillingRequestTransactionDto.d.ts +9 -0
  16. package/dist/actions-v2/CreateBundleProductActionDto.d.ts +8 -0
  17. package/dist/actions-v2/CreateInstallDto.d.ts +9 -10
  18. package/dist/actions-v2/CreateInternetProductActionDto.d.ts +8 -0
  19. package/dist/actions-v2/CreateLaborProductActionDto.d.ts +8 -0
  20. package/dist/actions-v2/CreateLandlineProductActionDto.d.ts +8 -0
  21. package/dist/actions-v2/CreateLeadDto.d.ts +8 -0
  22. package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +8 -0
  23. package/dist/actions-v2/CreateMeshProductActionDto.d.ts +8 -0
  24. package/dist/actions-v2/CreateMessageDto.d.ts +8 -0
  25. package/dist/actions-v2/CreateMobileProductActionDto.d.ts +8 -0
  26. package/dist/actions-v2/CreateOtpTransactionDto.d.ts +9 -0
  27. package/dist/actions-v2/CreatePgContactDto.d.ts +1 -1
  28. package/dist/actions-v2/CreateRegionDto.d.ts +65 -0
  29. package/dist/actions-v2/CreateRegionDto.js +52 -0
  30. package/dist/actions-v2/CreateTelevisionProductActionDto.d.ts +8 -0
  31. package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +14 -0
  32. package/dist/actions-v2/NewAppointmentDto.d.ts +8 -0
  33. package/dist/actions-v2/SendDirectDebitCreatedEmailDto.d.ts +114 -0
  34. package/dist/actions-v2/SendDirectDebitCreatedEmailDto.js +59 -0
  35. package/dist/actions-v2/SendDirectDebitSetupConfirmationEmailDto.d.ts +114 -0
  36. package/dist/actions-v2/SendDirectDebitSetupConfirmationEmailDto.js +59 -0
  37. package/dist/actions-v2/SendRefundTransactionEmailDto.d.ts +109 -0
  38. package/dist/actions-v2/SendRefundTransactionEmailDto.js +54 -0
  39. package/dist/actions-v2/SendTlosNinjaCaseEmailDto.d.ts +7 -0
  40. package/dist/actions-v2/TransactionCreateDto.d.ts +8 -0
  41. package/dist/actions-v2/UpdateBundleProductActionDto.d.ts +8 -0
  42. package/dist/actions-v2/UpdateEmailDto.d.ts +14 -0
  43. package/dist/actions-v2/UpdateInternetProductActionDto.d.ts +8 -0
  44. package/dist/actions-v2/UpdateLaborProductActionDto.d.ts +8 -0
  45. package/dist/actions-v2/UpdateLandlineProductActionDto.d.ts +8 -0
  46. package/dist/actions-v2/UpdateLeadDto.d.ts +8 -0
  47. package/dist/actions-v2/UpdateMeshProductActionDto.d.ts +8 -0
  48. package/dist/actions-v2/UpdateMobileProductActionDto.d.ts +8 -0
  49. package/dist/actions-v2/UpdatePgContactDto.d.ts +1 -1
  50. package/dist/actions-v2/UpdateServiceDto.d.ts +8 -0
  51. package/dist/actions-v2/UpdateSupportEmailDto.d.ts +7 -0
  52. package/dist/actions-v2/UpdateTelevisionProductActionDto.d.ts +8 -0
  53. package/dist/api-sdk-v2/TeamApi.d.ts +2 -2
  54. package/dist/api-sdk-v2/TeamApi.js +6 -6
  55. package/dist/api-sdk-v2/UserApi.d.ts +4 -4
  56. package/dist/api-sdk-v2/UserApi.js +12 -12
  57. package/dist/db-accessors-v2/RegionDbAccessor.d.ts +149 -0
  58. package/dist/db-accessors-v2/RegionDbAccessor.js +227 -0
  59. package/dist/db-accessors-v2/index.d.ts +1 -0
  60. package/dist/db-accessors-v2/index.js +4 -2
  61. package/dist/db-sdk-v2/TeamDb.d.ts +2 -2
  62. package/dist/db-sdk-v2/TeamDb.js +6 -6
  63. package/dist/db-sdk-v2/UserDb.d.ts +4 -4
  64. package/dist/db-sdk-v2/UserDb.js +12 -12
  65. package/dist/entities-v2/Account.d.ts +60 -1
  66. package/dist/entities-v2/Account.js +20 -2
  67. package/dist/entities-v2/ActivityLog.d.ts +26 -1
  68. package/dist/entities-v2/ActivityLog.js +21 -1
  69. package/dist/entities-v2/Address.d.ts +23 -1
  70. package/dist/entities-v2/Address.js +17 -1
  71. package/dist/entities-v2/Appointment.d.ts +22 -1
  72. package/dist/entities-v2/Appointment.js +17 -1
  73. package/dist/entities-v2/Call.d.ts +15 -1
  74. package/dist/entities-v2/Call.js +4 -0
  75. package/dist/entities-v2/ConsumptionSchedule.d.ts +23 -1
  76. package/dist/entities-v2/ConsumptionSchedule.js +17 -1
  77. package/dist/entities-v2/Email.d.ts +45 -1
  78. package/dist/entities-v2/Email.js +4 -0
  79. package/dist/entities-v2/InvoiceItem.d.ts +26 -1
  80. package/dist/entities-v2/InvoiceItem.js +19 -1
  81. package/dist/entities-v2/KnowledgeArticle.d.ts +3 -1
  82. package/dist/entities-v2/KnowledgeArticle.js +2 -0
  83. package/dist/entities-v2/Lead.d.ts +31 -1
  84. package/dist/entities-v2/Lead.js +21 -1
  85. package/dist/entities-v2/Message.d.ts +23 -1
  86. package/dist/entities-v2/Message.js +2 -0
  87. package/dist/entities-v2/Milestone.d.ts +15 -1
  88. package/dist/entities-v2/Milestone.js +11 -1
  89. package/dist/entities-v2/Note.d.ts +8 -1
  90. package/dist/entities-v2/Note.js +2 -0
  91. package/dist/entities-v2/PaymentMethod.d.ts +43 -1
  92. package/dist/entities-v2/PaymentMethod.js +31 -1
  93. package/dist/entities-v2/PgContact.d.ts +8 -8
  94. package/dist/entities-v2/PgContact.js +2 -2
  95. package/dist/entities-v2/Product.d.ts +118 -1
  96. package/dist/entities-v2/Product.js +24 -2
  97. package/dist/entities-v2/ProductComponent.d.ts +27 -1
  98. package/dist/entities-v2/ProductComponent.js +21 -1
  99. package/dist/entities-v2/Program.d.ts +15 -1
  100. package/dist/entities-v2/Program.js +11 -1
  101. package/dist/entities-v2/Project.d.ts +15 -1
  102. package/dist/entities-v2/Project.js +11 -1
  103. package/dist/entities-v2/Restriction.d.ts +23 -1
  104. package/dist/entities-v2/Restriction.js +17 -1
  105. package/dist/entities-v2/Service.d.ts +22 -1
  106. package/dist/entities-v2/Service.js +17 -1
  107. package/dist/entities-v2/ServiceAppointment.d.ts +8 -1
  108. package/dist/entities-v2/ServiceAppointment.js +2 -0
  109. package/dist/entities-v2/ServiceVisitAudit.d.ts +13 -13
  110. package/dist/entities-v2/ServiceVisitAudit.js +2 -2
  111. package/dist/entities-v2/SmsMessage.d.ts +18 -1
  112. package/dist/entities-v2/SmsMessage.js +2 -0
  113. package/dist/entities-v2/Subtask.d.ts +15 -1
  114. package/dist/entities-v2/Subtask.js +11 -1
  115. package/dist/entities-v2/Task.d.ts +15 -1
  116. package/dist/entities-v2/Task.js +11 -1
  117. package/dist/entities-v2/Team.d.ts +3 -3
  118. package/dist/entities-v2/Transaction.d.ts +27 -1
  119. package/dist/entities-v2/Transaction.js +21 -1
  120. package/dist/entities-v2/User.d.ts +6 -6
  121. package/dist/entities-v2/Vendor.d.ts +22 -1
  122. package/dist/entities-v2/Vendor.js +17 -1
  123. package/dist/entities-v2/WorkOrder.d.ts +99 -1
  124. package/dist/entities-v2/WorkOrder.js +2 -0
  125. package/dist/entities-v2/YfStockCount.d.ts +9 -1
  126. package/dist/entities-v2/YfStockCount.js +8 -0
  127. package/dist/records-v2/EmailRecord.d.ts +87 -0
  128. package/dist/records-v2/EmailRecord.js +108 -0
  129. package/dist/records-v2/ExchangeRecord.d.ts +20 -0
  130. package/dist/records-v2/ExchangeRecord.js +33 -0
  131. package/dist/records-v2/RegionRecord.d.ts +205 -0
  132. package/dist/records-v2/RegionRecord.js +292 -0
  133. package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +20 -0
  134. package/dist/records-v2/ServiceAppointmentConfigRecord.js +33 -0
  135. package/dist/records-v2/TeamRecord.d.ts +20 -20
  136. package/dist/records-v2/TeamRecord.js +33 -33
  137. package/dist/records-v2/UserRecord.d.ts +40 -40
  138. package/dist/records-v2/UserRecord.js +66 -66
  139. package/dist/records-v2/index.d.ts +1 -0
  140. package/dist/records-v2/index.js +5 -2
  141. package/package.json +2 -2
@@ -54,6 +54,13 @@ export declare enum DefaultMilestoneStageKeys {
54
54
  /** milestone stop stage */
55
55
  MilestoneStageStop = "MilestoneStageStop"
56
56
  }
57
+ /**
58
+ * Valid values for Milestone.Type
59
+ *
60
+ * The type of milestone (Project Management - Milestone)
61
+ */
62
+ export declare enum MilestoneType {
63
+ }
57
64
  /**
58
65
  * Property keys for Milestone
59
66
  * Use these constants instead of string literals for type safety
@@ -78,7 +85,9 @@ export declare enum MilestonePropertyKeys {
78
85
  /** system generated when the milestone is moved out of the first stage of the pipeline (Project Management - Milestone) */
79
86
  ActualStartDate = "ActualStartDate",
80
87
  /** the estimated end date of the milestone (Project Management - Milestone) */
81
- EstimatedEndDate = "EstimatedEndDate"
88
+ EstimatedEndDate = "EstimatedEndDate",
89
+ /** The type of milestone (Project Management - Milestone) */
90
+ Type = "Type"
82
91
  }
83
92
  /**
84
93
  * Properties for Milestone records
@@ -150,6 +159,11 @@ export interface MilestoneProperties {
150
159
  * @format DD/MM/YYYY
151
160
  */
152
161
  EstimatedEndDate: string;
162
+ /** The type of milestone (Project Management - Milestone)
163
+ *
164
+ * @type {ENUM}
165
+ */
166
+ Type: MilestoneType;
153
167
  }
154
168
  /**
155
169
  * Milestone entity from ProjectModule
@@ -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_MILESTONE_MILESTONE_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_MILESTONE_CREATED = exports.ROUTING_KEY_LINK_MILESTONE_TASK_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_TASK_CREATED = exports.ROUTING_KEY_LINK_MILESTONE_NOTE_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_NOTE_CREATED = exports.ROUTING_KEY_MILESTONE_DEFAULT_DELETED = exports.ROUTING_KEY_MILESTONE_DEFAULT_UPDATED = exports.ROUTING_KEY_MILESTONE_DEFAULT_CREATED = exports.ROUTING_KEY_MILESTONE_DELETED = exports.ROUTING_KEY_MILESTONE_UPDATED = exports.ROUTING_KEY_MILESTONE_CREATED = exports.Milestone = exports.MilestonePropertyKeys = exports.DefaultMilestoneStageKeys = exports.DefaultMilestoneStageNames = exports.MilestoneEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_MILESTONE_MILESTONE_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_MILESTONE_CREATED = exports.ROUTING_KEY_LINK_MILESTONE_TASK_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_TASK_CREATED = exports.ROUTING_KEY_LINK_MILESTONE_NOTE_DELETED = exports.ROUTING_KEY_LINK_MILESTONE_NOTE_CREATED = exports.ROUTING_KEY_MILESTONE_DEFAULT_DELETED = exports.ROUTING_KEY_MILESTONE_DEFAULT_UPDATED = exports.ROUTING_KEY_MILESTONE_DEFAULT_CREATED = exports.ROUTING_KEY_MILESTONE_DELETED = exports.ROUTING_KEY_MILESTONE_UPDATED = exports.ROUTING_KEY_MILESTONE_CREATED = exports.Milestone = exports.MilestonePropertyKeys = exports.MilestoneType = exports.DefaultMilestoneStageKeys = exports.DefaultMilestoneStageNames = exports.MilestoneEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for Milestone records
@@ -57,6 +57,14 @@ var DefaultMilestoneStageKeys;
57
57
  /** milestone stop stage */
58
58
  DefaultMilestoneStageKeys["MilestoneStageStop"] = "MilestoneStageStop";
59
59
  })(DefaultMilestoneStageKeys = exports.DefaultMilestoneStageKeys || (exports.DefaultMilestoneStageKeys = {}));
60
+ /**
61
+ * Valid values for Milestone.Type
62
+ *
63
+ * The type of milestone (Project Management - Milestone)
64
+ */
65
+ var MilestoneType;
66
+ (function (MilestoneType) {
67
+ })(MilestoneType = exports.MilestoneType || (exports.MilestoneType = {}));
60
68
  /**
61
69
  * Property keys for Milestone
62
70
  * Use these constants instead of string literals for type safety
@@ -83,6 +91,8 @@ var MilestonePropertyKeys;
83
91
  MilestonePropertyKeys["ActualStartDate"] = "ActualStartDate";
84
92
  /** the estimated end date of the milestone (Project Management - Milestone) */
85
93
  MilestonePropertyKeys["EstimatedEndDate"] = "EstimatedEndDate";
94
+ /** The type of milestone (Project Management - Milestone) */
95
+ MilestonePropertyKeys["Type"] = "Type";
86
96
  })(MilestonePropertyKeys = exports.MilestonePropertyKeys || (exports.MilestonePropertyKeys = {}));
87
97
  /**
88
98
  * Milestone entity from ProjectModule
@@ -109,7 +109,9 @@ export declare enum NotePropertyKeys {
109
109
  /** ContractBuyOut (Customer Service - Note) */
110
110
  ContractBuyOut = "ContractBuyOut",
111
111
  /** The author of the note (Customer Service - Note) */
112
- Author = "Author"
112
+ Author = "Author",
113
+ /** Data field for Note records. Used by Customer Service team. */
114
+ Case = "Case"
113
115
  }
114
116
  /**
115
117
  * Properties for Note records
@@ -161,6 +163,11 @@ export interface NoteProperties {
161
163
  * @type {TEXT}
162
164
  */
163
165
  Author: string;
166
+ /** Data field for Note records. Used by Customer Service team.
167
+ *
168
+ * @type {LOOKUP}
169
+ */
170
+ Case: string;
164
171
  }
165
172
  /**
166
173
  * Note entity from SupportModule
@@ -44,6 +44,8 @@ var NotePropertyKeys;
44
44
  NotePropertyKeys["ContractBuyOut"] = "ContractBuyOut";
45
45
  /** The author of the note (Customer Service - Note) */
46
46
  NotePropertyKeys["Author"] = "Author";
47
+ /** Data field for Note records. Used by Customer Service team. */
48
+ NotePropertyKeys["Case"] = "Case";
47
49
  })(NotePropertyKeys = exports.NotePropertyKeys || (exports.NotePropertyKeys = {}));
48
50
  /**
49
51
  * Note entity from SupportModule
@@ -79,6 +79,30 @@ export declare enum PaymentMethodStatus {
79
79
  SUBMITTED = "SUBMITTED",
80
80
  TRANSFERRED = "TRANSFERRED"
81
81
  }
82
+ /**
83
+ * Valid values for PaymentMethod.Type
84
+ *
85
+ * payment method type (Finance - PaymentMethod)
86
+ *
87
+ * @remarks Available options:
88
+ * - `MANDATE`
89
+ */
90
+ export declare enum PaymentMethodType {
91
+ MANDATE = "MANDATE"
92
+ }
93
+ /**
94
+ * Valid values for PaymentMethod.Default
95
+ *
96
+ * is this the default payment method (Finance - PaymentMethod)
97
+ *
98
+ * @remarks Available options:
99
+ * - `NO` - No
100
+ * - `YES` - Yes
101
+ */
102
+ export declare enum PaymentMethodDefault {
103
+ NO = "NO",
104
+ YES = "YES"
105
+ }
82
106
  /**
83
107
  * Property keys for PaymentMethod
84
108
  * Use these constants instead of string literals for type safety
@@ -109,7 +133,11 @@ export declare enum PaymentMethodPropertyKeys {
109
133
  /** the date the mandate last changed statuses (Finance - PaymentMethod) */
110
134
  StatusUpdatedAt = "StatusUpdatedAt",
111
135
  /** Display name/title for PaymentMethod records. Primary identifier for Finance team. */
112
- BankName = "BankName"
136
+ BankName = "BankName",
137
+ /** payment method type (Finance - PaymentMethod) */
138
+ Type = "Type",
139
+ /** is this the default payment method (Finance - PaymentMethod) */
140
+ Default = "Default"
113
141
  }
114
142
  /**
115
143
  * Properties for PaymentMethod records
@@ -201,6 +229,20 @@ export interface PaymentMethodProperties {
201
229
  * @hidden This field is hidden in the UI
202
230
  */
203
231
  BankName: string;
232
+ /** payment method type (Finance - PaymentMethod)
233
+ *
234
+ * @type {ENUM}
235
+ * @enum {PaymentMethodType}
236
+ * @hidden This field is hidden in the UI
237
+ */
238
+ Type: PaymentMethodType;
239
+ /** is this the default payment method (Finance - PaymentMethod)
240
+ *
241
+ * @type {ENUM}
242
+ * @enum {PaymentMethodDefault}
243
+ * @hidden This field is hidden in the UI
244
+ */
245
+ Default: PaymentMethodDefault;
204
246
  }
205
247
  /**
206
248
  * PaymentMethod entity from BillingModule
@@ -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_PAYMENT_METHOD_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_FILE_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_FILE_CREATED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_NOTE_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_NOTE_CREATED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PAYMENT_METHOD_CREATED = exports.PaymentMethod = exports.PaymentMethodPropertyKeys = exports.PaymentMethodStatus = exports.PaymentMethodProvider = exports.PaymentMethodEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_PAYMENT_METHOD_PAYMENT_METHOD_REFUND_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_PAYMENT_METHOD_REFUND_CREATED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_FILE_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_FILE_CREATED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_NOTE_DELETED = exports.ROUTING_KEY_LINK_PAYMENT_METHOD_NOTE_CREATED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_DELETED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_UPDATED = exports.ROUTING_KEY_PAYMENT_METHOD_DEFAULT_CREATED = exports.ROUTING_KEY_PAYMENT_METHOD_DELETED = exports.ROUTING_KEY_PAYMENT_METHOD_UPDATED = exports.ROUTING_KEY_PAYMENT_METHOD_CREATED = exports.PaymentMethod = exports.PaymentMethodPropertyKeys = exports.PaymentMethodDefault = exports.PaymentMethodType = exports.PaymentMethodStatus = exports.PaymentMethodProvider = exports.PaymentMethodEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for PaymentMethod records
@@ -78,6 +78,32 @@ var PaymentMethodStatus;
78
78
  PaymentMethodStatus["SUBMITTED"] = "SUBMITTED";
79
79
  PaymentMethodStatus["TRANSFERRED"] = "TRANSFERRED";
80
80
  })(PaymentMethodStatus = exports.PaymentMethodStatus || (exports.PaymentMethodStatus = {}));
81
+ /**
82
+ * Valid values for PaymentMethod.Type
83
+ *
84
+ * payment method type (Finance - PaymentMethod)
85
+ *
86
+ * @remarks Available options:
87
+ * - `MANDATE`
88
+ */
89
+ var PaymentMethodType;
90
+ (function (PaymentMethodType) {
91
+ PaymentMethodType["MANDATE"] = "MANDATE";
92
+ })(PaymentMethodType = exports.PaymentMethodType || (exports.PaymentMethodType = {}));
93
+ /**
94
+ * Valid values for PaymentMethod.Default
95
+ *
96
+ * is this the default payment method (Finance - PaymentMethod)
97
+ *
98
+ * @remarks Available options:
99
+ * - `NO` - No
100
+ * - `YES` - Yes
101
+ */
102
+ var PaymentMethodDefault;
103
+ (function (PaymentMethodDefault) {
104
+ PaymentMethodDefault["NO"] = "NO";
105
+ PaymentMethodDefault["YES"] = "YES";
106
+ })(PaymentMethodDefault = exports.PaymentMethodDefault || (exports.PaymentMethodDefault = {}));
81
107
  /**
82
108
  * Property keys for PaymentMethod
83
109
  * Use these constants instead of string literals for type safety
@@ -110,6 +136,10 @@ var PaymentMethodPropertyKeys;
110
136
  PaymentMethodPropertyKeys["StatusUpdatedAt"] = "StatusUpdatedAt";
111
137
  /** Display name/title for PaymentMethod records. Primary identifier for Finance team. */
112
138
  PaymentMethodPropertyKeys["BankName"] = "BankName";
139
+ /** payment method type (Finance - PaymentMethod) */
140
+ PaymentMethodPropertyKeys["Type"] = "Type";
141
+ /** is this the default payment method (Finance - PaymentMethod) */
142
+ PaymentMethodPropertyKeys["Default"] = "Default";
113
143
  })(PaymentMethodPropertyKeys = exports.PaymentMethodPropertyKeys || (exports.PaymentMethodPropertyKeys = {}));
114
144
  /**
115
145
  * PaymentMethod entity from BillingModule
@@ -63,12 +63,12 @@ export declare enum PgContactPropertyKeys {
63
63
  OdinContact = "OdinContact",
64
64
  /** Metadata */
65
65
  Metadata = "Metadata",
66
- /** Email */
67
- EmailAddress = "EmailAddress",
68
66
  /** Phone */
69
67
  Phone = "Phone",
70
68
  /** Company */
71
69
  Company = "Company",
70
+ /** Email */
71
+ EmailAddress = "EmailAddress",
72
72
  /** Name */
73
73
  Name = "Name"
74
74
  }
@@ -96,11 +96,6 @@ export interface PgContactProperties {
96
96
  * @default {}
97
97
  */
98
98
  Metadata: string;
99
- /** Email
100
- *
101
- * @type {EMAIL}
102
- */
103
- EmailAddress: string;
104
99
  /** Phone
105
100
  *
106
101
  * @type {PHONE_NUMBER}
@@ -112,9 +107,14 @@ export interface PgContactProperties {
112
107
  * @enum {PgContactCompany}
113
108
  */
114
109
  Company: PgContactCompany;
110
+ /** Email
111
+ *
112
+ * @type {EMAIL}
113
+ */
114
+ EmailAddress: string;
115
115
  /** Name
116
116
  *
117
- * @type {NAME}
117
+ * @type {TEXT}
118
118
  */
119
119
  Name: string;
120
120
  }
@@ -68,12 +68,12 @@ var PgContactPropertyKeys;
68
68
  PgContactPropertyKeys["OdinContact"] = "OdinContact";
69
69
  /** Metadata */
70
70
  PgContactPropertyKeys["Metadata"] = "Metadata";
71
- /** Email */
72
- PgContactPropertyKeys["EmailAddress"] = "EmailAddress";
73
71
  /** Phone */
74
72
  PgContactPropertyKeys["Phone"] = "Phone";
75
73
  /** Company */
76
74
  PgContactPropertyKeys["Company"] = "Company";
75
+ /** Email */
76
+ PgContactPropertyKeys["EmailAddress"] = "EmailAddress";
77
77
  /** Name */
78
78
  PgContactPropertyKeys["Name"] = "Name";
79
79
  })(PgContactPropertyKeys = exports.PgContactPropertyKeys || (exports.PgContactPropertyKeys = {}));
@@ -287,6 +287,23 @@ export declare enum ProductDiscount2Unit {
287
287
  */
288
288
  export declare enum ProductContractType {
289
289
  }
290
+ /**
291
+ * Valid values for Product.Type
292
+ *
293
+ * type of product (Product Management - Product)
294
+ *
295
+ * @remarks Available options:
296
+ * - `ADD_ON_PRODUCT` - Add-on product
297
+ * - `ASSEMBLY` - Assembly
298
+ * - `BASE_PRODUCT` - Base product
299
+ * - `NON_INVENTORY` - Non inventory
300
+ */
301
+ export declare enum ProductType {
302
+ ADD_ON_PRODUCT = "ADD_ON_PRODUCT",
303
+ ASSEMBLY = "ASSEMBLY",
304
+ BASE_PRODUCT = "BASE_PRODUCT",
305
+ NON_INVENTORY = "NON_INVENTORY"
306
+ }
290
307
  /**
291
308
  * Property keys for Product
292
309
  * Use these constants instead of string literals for type safety
@@ -387,7 +404,11 @@ export declare enum ProductPropertyKeys {
387
404
  /** set a discount length for the discount starting after discount1 (Product Management - Product) */
388
405
  Discount2Length = "Discount2Length",
389
406
  /** The product SKU set by the business (Product Management - Product) */
390
- Sku = "SKU"
407
+ Sku = "SKU",
408
+ /** type of product (Product Management - Product) */
409
+ Type = "Type",
410
+ /** make this the default product (Product Management - Product) */
411
+ Default = "Default"
391
412
  }
392
413
  /**
393
414
  * Properties for Product records
@@ -688,6 +709,18 @@ export interface ProductProperties {
688
709
  * @type {TEXT}
689
710
  */
690
711
  Sku: string;
712
+ /** type of product (Product Management - Product)
713
+ *
714
+ * @type {ENUM}
715
+ * @default BASE_PRODUCT
716
+ * @enum {ProductType}
717
+ */
718
+ Type: ProductType;
719
+ /** make this the default product (Product Management - Product)
720
+ *
721
+ * @type {BOOLEAN}
722
+ */
723
+ Default: boolean;
691
724
  }
692
725
  /**
693
726
  * Properties for BUNDLE Product records
@@ -988,6 +1021,18 @@ export interface BundleProductProperties {
988
1021
  * @type {TEXT}
989
1022
  */
990
1023
  Sku: string;
1024
+ /** type of product (Product Management - Product)
1025
+ *
1026
+ * @type {ENUM}
1027
+ * @default BASE_PRODUCT
1028
+ * @enum {ProductType}
1029
+ */
1030
+ Type: ProductType;
1031
+ /** make this the default product (Product Management - Product)
1032
+ *
1033
+ * @type {BOOLEAN}
1034
+ */
1035
+ Default: boolean;
991
1036
  }
992
1037
  /**
993
1038
  * Properties for INTERNET Product records
@@ -1288,6 +1333,18 @@ export interface InternetProductProperties {
1288
1333
  * @type {TEXT}
1289
1334
  */
1290
1335
  Sku: string;
1336
+ /** type of product (Product Management - Product)
1337
+ *
1338
+ * @type {ENUM}
1339
+ * @default BASE_PRODUCT
1340
+ * @enum {ProductType}
1341
+ */
1342
+ Type: ProductType;
1343
+ /** make this the default product (Product Management - Product)
1344
+ *
1345
+ * @type {BOOLEAN}
1346
+ */
1347
+ Default: boolean;
1291
1348
  }
1292
1349
  /**
1293
1350
  * Properties for LABOR Product records
@@ -1588,6 +1645,18 @@ export interface LaborProductProperties {
1588
1645
  * @type {TEXT}
1589
1646
  */
1590
1647
  Sku: string;
1648
+ /** type of product (Product Management - Product)
1649
+ *
1650
+ * @type {ENUM}
1651
+ * @default BASE_PRODUCT
1652
+ * @enum {ProductType}
1653
+ */
1654
+ Type: ProductType;
1655
+ /** make this the default product (Product Management - Product)
1656
+ *
1657
+ * @type {BOOLEAN}
1658
+ */
1659
+ Default: boolean;
1591
1660
  }
1592
1661
  /**
1593
1662
  * Properties for LANDLINE Product records
@@ -1888,6 +1957,18 @@ export interface LandlineProductProperties {
1888
1957
  * @type {TEXT}
1889
1958
  */
1890
1959
  Sku: string;
1960
+ /** type of product (Product Management - Product)
1961
+ *
1962
+ * @type {ENUM}
1963
+ * @default BASE_PRODUCT
1964
+ * @enum {ProductType}
1965
+ */
1966
+ Type: ProductType;
1967
+ /** make this the default product (Product Management - Product)
1968
+ *
1969
+ * @type {BOOLEAN}
1970
+ */
1971
+ Default: boolean;
1891
1972
  }
1892
1973
  /**
1893
1974
  * Properties for MESH Product records
@@ -2188,6 +2269,18 @@ export interface MeshProductProperties {
2188
2269
  * @type {TEXT}
2189
2270
  */
2190
2271
  Sku: string;
2272
+ /** type of product (Product Management - Product)
2273
+ *
2274
+ * @type {ENUM}
2275
+ * @default BASE_PRODUCT
2276
+ * @enum {ProductType}
2277
+ */
2278
+ Type: ProductType;
2279
+ /** make this the default product (Product Management - Product)
2280
+ *
2281
+ * @type {BOOLEAN}
2282
+ */
2283
+ Default: boolean;
2191
2284
  }
2192
2285
  /**
2193
2286
  * Properties for MOBILE Product records
@@ -2488,6 +2581,18 @@ export interface MobileProductProperties {
2488
2581
  * @type {TEXT}
2489
2582
  */
2490
2583
  Sku: string;
2584
+ /** type of product (Product Management - Product)
2585
+ *
2586
+ * @type {ENUM}
2587
+ * @default BASE_PRODUCT
2588
+ * @enum {ProductType}
2589
+ */
2590
+ Type: ProductType;
2591
+ /** make this the default product (Product Management - Product)
2592
+ *
2593
+ * @type {BOOLEAN}
2594
+ */
2595
+ Default: boolean;
2491
2596
  }
2492
2597
  /**
2493
2598
  * Properties for TELEVISION Product records
@@ -2788,6 +2893,18 @@ export interface TelevisionProductProperties {
2788
2893
  * @type {TEXT}
2789
2894
  */
2790
2895
  Sku: string;
2896
+ /** type of product (Product Management - Product)
2897
+ *
2898
+ * @type {ENUM}
2899
+ * @default BASE_PRODUCT
2900
+ * @enum {ProductType}
2901
+ */
2902
+ Type: ProductType;
2903
+ /** make this the default product (Product Management - Product)
2904
+ *
2905
+ * @type {BOOLEAN}
2906
+ */
2907
+ Default: boolean;
2791
2908
  }
2792
2909
  /**
2793
2910
  * Product entity from ProductModule
@@ -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_PRODUCT_SERVICE_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_SERVICE_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_CONSUMPTION_SCHEDULE_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_CONSUMPTION_SCHEDULE_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_RESTRICTION_CREATED = exports.ROUTING_KEY_PRODUCT_TELEVISION_DELETED = exports.ROUTING_KEY_PRODUCT_TELEVISION_UPDATED = exports.ROUTING_KEY_PRODUCT_TELEVISION_CREATED = exports.ROUTING_KEY_PRODUCT_MOBILE_DELETED = exports.ROUTING_KEY_PRODUCT_MOBILE_UPDATED = exports.ROUTING_KEY_PRODUCT_MOBILE_CREATED = exports.ROUTING_KEY_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_PRODUCT_LANDLINE_DELETED = exports.ROUTING_KEY_PRODUCT_LANDLINE_UPDATED = exports.ROUTING_KEY_PRODUCT_LANDLINE_CREATED = exports.ROUTING_KEY_PRODUCT_LABOR_DELETED = exports.ROUTING_KEY_PRODUCT_LABOR_UPDATED = exports.ROUTING_KEY_PRODUCT_LABOR_CREATED = exports.ROUTING_KEY_PRODUCT_INTERNET_DELETED = exports.ROUTING_KEY_PRODUCT_INTERNET_UPDATED = exports.ROUTING_KEY_PRODUCT_INTERNET_CREATED = exports.ROUTING_KEY_PRODUCT_BUNDLE_DELETED = exports.ROUTING_KEY_PRODUCT_BUNDLE_UPDATED = exports.ROUTING_KEY_PRODUCT_BUNDLE_CREATED = exports.ROUTING_KEY_PRODUCT_DELETED = exports.ROUTING_KEY_PRODUCT_UPDATED = exports.ROUTING_KEY_PRODUCT_CREATED = exports.Product = exports.ProductPropertyKeys = exports.ProductContractType = exports.ProductDiscount2Unit = exports.ProductDiscount2Type = exports.ProductTaxIncluded = exports.ProductChargeType = exports.ProductTaxable = exports.ProductTrialUnit = exports.ProductCustomerType = exports.ProductRequiresProvisioning = exports.ProductRetrievable = exports.ProductShippable = exports.ProductRequiresOnSiteSetup = exports.ProductDiscountType = exports.ProductDiscountUnit = exports.ProductCategory = exports.ProductIntervalUnit = exports.ProductUnitType = exports.ProductEntityTypes = void 0;
16
- exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_COMPONENT_CREATED = void 0;
15
+ exports.ROUTING_KEY_LINK_PRODUCT_SERVICE_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_CONSUMPTION_SCHEDULE_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_CONSUMPTION_SCHEDULE_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_RESTRICTION_CREATED = exports.ROUTING_KEY_PRODUCT_TELEVISION_DELETED = exports.ROUTING_KEY_PRODUCT_TELEVISION_UPDATED = exports.ROUTING_KEY_PRODUCT_TELEVISION_CREATED = exports.ROUTING_KEY_PRODUCT_MOBILE_DELETED = exports.ROUTING_KEY_PRODUCT_MOBILE_UPDATED = exports.ROUTING_KEY_PRODUCT_MOBILE_CREATED = exports.ROUTING_KEY_PRODUCT_MESH_DELETED = exports.ROUTING_KEY_PRODUCT_MESH_UPDATED = exports.ROUTING_KEY_PRODUCT_MESH_CREATED = exports.ROUTING_KEY_PRODUCT_LANDLINE_DELETED = exports.ROUTING_KEY_PRODUCT_LANDLINE_UPDATED = exports.ROUTING_KEY_PRODUCT_LANDLINE_CREATED = exports.ROUTING_KEY_PRODUCT_LABOR_DELETED = exports.ROUTING_KEY_PRODUCT_LABOR_UPDATED = exports.ROUTING_KEY_PRODUCT_LABOR_CREATED = exports.ROUTING_KEY_PRODUCT_INTERNET_DELETED = exports.ROUTING_KEY_PRODUCT_INTERNET_UPDATED = exports.ROUTING_KEY_PRODUCT_INTERNET_CREATED = exports.ROUTING_KEY_PRODUCT_BUNDLE_DELETED = exports.ROUTING_KEY_PRODUCT_BUNDLE_UPDATED = exports.ROUTING_KEY_PRODUCT_BUNDLE_CREATED = exports.ROUTING_KEY_PRODUCT_DELETED = exports.ROUTING_KEY_PRODUCT_UPDATED = exports.ROUTING_KEY_PRODUCT_CREATED = exports.Product = exports.ProductPropertyKeys = exports.ProductType = exports.ProductContractType = exports.ProductDiscount2Unit = exports.ProductDiscount2Type = exports.ProductTaxIncluded = exports.ProductChargeType = exports.ProductTaxable = exports.ProductTrialUnit = exports.ProductCustomerType = exports.ProductRequiresProvisioning = exports.ProductRetrievable = exports.ProductShippable = exports.ProductRequiresOnSiteSetup = exports.ProductDiscountType = exports.ProductDiscountUnit = exports.ProductCategory = exports.ProductIntervalUnit = exports.ProductUnitType = exports.ProductEntityTypes = void 0;
16
+ exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_PRODUCT_COMPONENT_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_SERVICE_DELETED = void 0;
17
17
  const core_1 = require("@d19n/odin-types/dist/core");
18
18
  /**
19
19
  * Available types for Product records
@@ -299,6 +299,24 @@ var ProductDiscount2Unit;
299
299
  var ProductContractType;
300
300
  (function (ProductContractType) {
301
301
  })(ProductContractType = exports.ProductContractType || (exports.ProductContractType = {}));
302
+ /**
303
+ * Valid values for Product.Type
304
+ *
305
+ * type of product (Product Management - Product)
306
+ *
307
+ * @remarks Available options:
308
+ * - `ADD_ON_PRODUCT` - Add-on product
309
+ * - `ASSEMBLY` - Assembly
310
+ * - `BASE_PRODUCT` - Base product
311
+ * - `NON_INVENTORY` - Non inventory
312
+ */
313
+ var ProductType;
314
+ (function (ProductType) {
315
+ ProductType["ADD_ON_PRODUCT"] = "ADD_ON_PRODUCT";
316
+ ProductType["ASSEMBLY"] = "ASSEMBLY";
317
+ ProductType["BASE_PRODUCT"] = "BASE_PRODUCT";
318
+ ProductType["NON_INVENTORY"] = "NON_INVENTORY";
319
+ })(ProductType = exports.ProductType || (exports.ProductType = {}));
302
320
  /**
303
321
  * Property keys for Product
304
322
  * Use these constants instead of string literals for type safety
@@ -401,6 +419,10 @@ var ProductPropertyKeys;
401
419
  ProductPropertyKeys["Discount2Length"] = "Discount2Length";
402
420
  /** The product SKU set by the business (Product Management - Product) */
403
421
  ProductPropertyKeys["Sku"] = "SKU";
422
+ /** type of product (Product Management - Product) */
423
+ ProductPropertyKeys["Type"] = "Type";
424
+ /** make this the default product (Product Management - Product) */
425
+ ProductPropertyKeys["Default"] = "Default";
404
426
  })(ProductPropertyKeys = exports.ProductPropertyKeys || (exports.ProductPropertyKeys = {}));
405
427
  /**
406
428
  * Product entity from ProductModule
@@ -74,6 +74,23 @@ export declare enum ProductComponentShippable {
74
74
  NO = "NO",
75
75
  YES = "YES"
76
76
  }
77
+ /**
78
+ * Valid values for ProductComponent.Type
79
+ *
80
+ * type of component (Product Management - ProductComponent)
81
+ *
82
+ * @remarks Available options:
83
+ * - `DATA` - Data
84
+ * - `LABOR` - Labor
85
+ * - `MATERIAL` - Material
86
+ * - `VOICE` - Voice
87
+ */
88
+ export declare enum ProductComponentType {
89
+ DATA = "DATA",
90
+ LABOR = "LABOR",
91
+ MATERIAL = "MATERIAL",
92
+ VOICE = "VOICE"
93
+ }
77
94
  /**
78
95
  * Property keys for ProductComponent
79
96
  * Use these constants instead of string literals for type safety
@@ -104,7 +121,9 @@ export declare enum ProductComponentPropertyKeys {
104
121
  /** minimum sale price of the product components default is UnitCost (Product Management - ProductComponent) */
105
122
  MinimumSalePrice = "MinimumSalePrice",
106
123
  /** item description (Product Management - ProductComponent) */
107
- Description = "Description"
124
+ Description = "Description",
125
+ /** type of component (Product Management - ProductComponent) */
126
+ Type = "Type"
108
127
  }
109
128
  /**
110
129
  * Properties for ProductComponent records
@@ -191,6 +210,13 @@ export interface ProductComponentProperties {
191
210
  * @type {TEXT}
192
211
  */
193
212
  Description: string;
213
+ /** type of component (Product Management - ProductComponent)
214
+ *
215
+ * @type {ENUM}
216
+ * @default DATA
217
+ * @enum {ProductComponentType}
218
+ */
219
+ Type: ProductComponentType;
194
220
  }
195
221
  /**
196
222
  * ProductComponent entity from ProductModule
@@ -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_PRODUCT_COMPONENT_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_PRODUCT_COMPONENT_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_RESTRICTION_CREATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_DELETED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_UPDATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_CREATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_PRODUCT_COMPONENT_UPDATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_CREATED = exports.ProductComponent = exports.ProductComponentPropertyKeys = exports.ProductComponentShippable = exports.ProductComponentRequiresOnSiteSetup = exports.ProductComponentRequiresProvisioning = exports.ProductComponentCategory = exports.ProductComponentEntityTypes = void 0;
15
+ exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_PRODUCT_COMPONENT_CREATED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_PRODUCT_COMPONENT_RESTRICTION_CREATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_DELETED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_UPDATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DEFAULT_CREATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_DELETED = exports.ROUTING_KEY_PRODUCT_COMPONENT_UPDATED = exports.ROUTING_KEY_PRODUCT_COMPONENT_CREATED = exports.ProductComponent = exports.ProductComponentPropertyKeys = exports.ProductComponentType = exports.ProductComponentShippable = exports.ProductComponentRequiresOnSiteSetup = exports.ProductComponentRequiresProvisioning = exports.ProductComponentCategory = exports.ProductComponentEntityTypes = void 0;
16
16
  const core_1 = require("@d19n/odin-types/dist/core");
17
17
  /**
18
18
  * Available types for ProductComponent records
@@ -80,6 +80,24 @@ var ProductComponentShippable;
80
80
  ProductComponentShippable["NO"] = "NO";
81
81
  ProductComponentShippable["YES"] = "YES";
82
82
  })(ProductComponentShippable = exports.ProductComponentShippable || (exports.ProductComponentShippable = {}));
83
+ /**
84
+ * Valid values for ProductComponent.Type
85
+ *
86
+ * type of component (Product Management - ProductComponent)
87
+ *
88
+ * @remarks Available options:
89
+ * - `DATA` - Data
90
+ * - `LABOR` - Labor
91
+ * - `MATERIAL` - Material
92
+ * - `VOICE` - Voice
93
+ */
94
+ var ProductComponentType;
95
+ (function (ProductComponentType) {
96
+ ProductComponentType["DATA"] = "DATA";
97
+ ProductComponentType["LABOR"] = "LABOR";
98
+ ProductComponentType["MATERIAL"] = "MATERIAL";
99
+ ProductComponentType["VOICE"] = "VOICE";
100
+ })(ProductComponentType = exports.ProductComponentType || (exports.ProductComponentType = {}));
83
101
  /**
84
102
  * Property keys for ProductComponent
85
103
  * Use these constants instead of string literals for type safety
@@ -112,6 +130,8 @@ var ProductComponentPropertyKeys;
112
130
  ProductComponentPropertyKeys["MinimumSalePrice"] = "MinimumSalePrice";
113
131
  /** item description (Product Management - ProductComponent) */
114
132
  ProductComponentPropertyKeys["Description"] = "Description";
133
+ /** type of component (Product Management - ProductComponent) */
134
+ ProductComponentPropertyKeys["Type"] = "Type";
115
135
  })(ProductComponentPropertyKeys = exports.ProductComponentPropertyKeys || (exports.ProductComponentPropertyKeys = {}));
116
136
  /**
117
137
  * ProductComponent entity from ProductModule
@@ -53,6 +53,13 @@ export declare enum DefaultProgramStageKeys {
53
53
  /** program stop stage */
54
54
  ProgramStageStop = "ProgramStageStop"
55
55
  }
56
+ /**
57
+ * Valid values for Program.Type
58
+ *
59
+ * The type of program (Project Management - Program)
60
+ */
61
+ export declare enum ProgramType {
62
+ }
56
63
  /**
57
64
  * Property keys for Program
58
65
  * Use these constants instead of string literals for type safety
@@ -77,7 +84,9 @@ export declare enum ProgramPropertyKeys {
77
84
  /** system generated when the project is moved out of the first stage of the pipeline (Project Management - Program) */
78
85
  ActualStartDate = "ActualStartDate",
79
86
  /** the estimated start date of the project (Project Management - Program) */
80
- EstimatedStartDate = "EstimatedStartDate"
87
+ EstimatedStartDate = "EstimatedStartDate",
88
+ /** The type of program (Project Management - Program) */
89
+ Type = "Type"
81
90
  }
82
91
  /**
83
92
  * Properties for Program records
@@ -149,6 +158,11 @@ export interface ProgramProperties {
149
158
  * @format DD/MM/YYYY
150
159
  */
151
160
  EstimatedStartDate: string;
161
+ /** The type of program (Project Management - Program)
162
+ *
163
+ * @type {ENUM}
164
+ */
165
+ Type: ProgramType;
152
166
  }
153
167
  /**
154
168
  * Program entity from ProjectModule