@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.
- package/README.md +10 -1
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/RegionAccessor.d.ts +111 -0
- package/dist/accessors-v2/RegionAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +4 -2
- package/dist/actions-v2/CaseCreateNoteDto.d.ts +7 -0
- package/dist/actions-v2/CreateActivityLogEntryDto.d.ts +8 -0
- package/dist/actions-v2/CreateAppointmentDto.d.ts +8 -0
- package/dist/actions-v2/CreateBillingRequestTransactionDto.d.ts +9 -0
- package/dist/actions-v2/CreateBundleProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateInstallDto.d.ts +9 -10
- package/dist/actions-v2/CreateInternetProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateLaborProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateLandlineProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateLeadDto.d.ts +8 -0
- package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +8 -0
- package/dist/actions-v2/CreateMeshProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateMessageDto.d.ts +8 -0
- package/dist/actions-v2/CreateMobileProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateOtpTransactionDto.d.ts +9 -0
- package/dist/actions-v2/CreatePgContactDto.d.ts +1 -1
- package/dist/actions-v2/CreateRegionDto.d.ts +65 -0
- package/dist/actions-v2/CreateRegionDto.js +52 -0
- package/dist/actions-v2/CreateTelevisionProductActionDto.d.ts +8 -0
- package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +14 -0
- package/dist/actions-v2/NewAppointmentDto.d.ts +8 -0
- package/dist/actions-v2/SendDirectDebitCreatedEmailDto.d.ts +114 -0
- package/dist/actions-v2/SendDirectDebitCreatedEmailDto.js +59 -0
- package/dist/actions-v2/SendDirectDebitSetupConfirmationEmailDto.d.ts +114 -0
- package/dist/actions-v2/SendDirectDebitSetupConfirmationEmailDto.js +59 -0
- package/dist/actions-v2/SendRefundTransactionEmailDto.d.ts +109 -0
- package/dist/actions-v2/SendRefundTransactionEmailDto.js +54 -0
- package/dist/actions-v2/SendTlosNinjaCaseEmailDto.d.ts +7 -0
- package/dist/actions-v2/TransactionCreateDto.d.ts +8 -0
- package/dist/actions-v2/UpdateBundleProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdateEmailDto.d.ts +14 -0
- package/dist/actions-v2/UpdateInternetProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdateLaborProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdateLandlineProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdateLeadDto.d.ts +8 -0
- package/dist/actions-v2/UpdateMeshProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdateMobileProductActionDto.d.ts +8 -0
- package/dist/actions-v2/UpdatePgContactDto.d.ts +1 -1
- package/dist/actions-v2/UpdateServiceDto.d.ts +8 -0
- package/dist/actions-v2/UpdateSupportEmailDto.d.ts +7 -0
- package/dist/actions-v2/UpdateTelevisionProductActionDto.d.ts +8 -0
- package/dist/api-sdk-v2/TeamApi.d.ts +2 -2
- package/dist/api-sdk-v2/TeamApi.js +6 -6
- package/dist/api-sdk-v2/UserApi.d.ts +4 -4
- package/dist/api-sdk-v2/UserApi.js +12 -12
- package/dist/db-accessors-v2/RegionDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/RegionDbAccessor.js +227 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +4 -2
- package/dist/db-sdk-v2/TeamDb.d.ts +2 -2
- package/dist/db-sdk-v2/TeamDb.js +6 -6
- package/dist/db-sdk-v2/UserDb.d.ts +4 -4
- package/dist/db-sdk-v2/UserDb.js +12 -12
- package/dist/entities-v2/Account.d.ts +60 -1
- package/dist/entities-v2/Account.js +20 -2
- package/dist/entities-v2/ActivityLog.d.ts +26 -1
- package/dist/entities-v2/ActivityLog.js +21 -1
- package/dist/entities-v2/Address.d.ts +23 -1
- package/dist/entities-v2/Address.js +17 -1
- package/dist/entities-v2/Appointment.d.ts +22 -1
- package/dist/entities-v2/Appointment.js +17 -1
- package/dist/entities-v2/Call.d.ts +15 -1
- package/dist/entities-v2/Call.js +4 -0
- package/dist/entities-v2/ConsumptionSchedule.d.ts +23 -1
- package/dist/entities-v2/ConsumptionSchedule.js +17 -1
- package/dist/entities-v2/Email.d.ts +45 -1
- package/dist/entities-v2/Email.js +4 -0
- package/dist/entities-v2/InvoiceItem.d.ts +26 -1
- package/dist/entities-v2/InvoiceItem.js +19 -1
- package/dist/entities-v2/KnowledgeArticle.d.ts +3 -1
- package/dist/entities-v2/KnowledgeArticle.js +2 -0
- package/dist/entities-v2/Lead.d.ts +31 -1
- package/dist/entities-v2/Lead.js +21 -1
- package/dist/entities-v2/Message.d.ts +23 -1
- package/dist/entities-v2/Message.js +2 -0
- package/dist/entities-v2/Milestone.d.ts +15 -1
- package/dist/entities-v2/Milestone.js +11 -1
- package/dist/entities-v2/Note.d.ts +8 -1
- package/dist/entities-v2/Note.js +2 -0
- package/dist/entities-v2/PaymentMethod.d.ts +43 -1
- package/dist/entities-v2/PaymentMethod.js +31 -1
- package/dist/entities-v2/PgContact.d.ts +8 -8
- package/dist/entities-v2/PgContact.js +2 -2
- package/dist/entities-v2/Product.d.ts +118 -1
- package/dist/entities-v2/Product.js +24 -2
- package/dist/entities-v2/ProductComponent.d.ts +27 -1
- package/dist/entities-v2/ProductComponent.js +21 -1
- package/dist/entities-v2/Program.d.ts +15 -1
- package/dist/entities-v2/Program.js +11 -1
- package/dist/entities-v2/Project.d.ts +15 -1
- package/dist/entities-v2/Project.js +11 -1
- package/dist/entities-v2/Restriction.d.ts +23 -1
- package/dist/entities-v2/Restriction.js +17 -1
- package/dist/entities-v2/Service.d.ts +22 -1
- package/dist/entities-v2/Service.js +17 -1
- package/dist/entities-v2/ServiceAppointment.d.ts +8 -1
- package/dist/entities-v2/ServiceAppointment.js +2 -0
- package/dist/entities-v2/ServiceVisitAudit.d.ts +13 -13
- package/dist/entities-v2/ServiceVisitAudit.js +2 -2
- package/dist/entities-v2/SmsMessage.d.ts +18 -1
- package/dist/entities-v2/SmsMessage.js +2 -0
- package/dist/entities-v2/Subtask.d.ts +15 -1
- package/dist/entities-v2/Subtask.js +11 -1
- package/dist/entities-v2/Task.d.ts +15 -1
- package/dist/entities-v2/Task.js +11 -1
- package/dist/entities-v2/Team.d.ts +3 -3
- package/dist/entities-v2/Transaction.d.ts +27 -1
- package/dist/entities-v2/Transaction.js +21 -1
- package/dist/entities-v2/User.d.ts +6 -6
- package/dist/entities-v2/Vendor.d.ts +22 -1
- package/dist/entities-v2/Vendor.js +17 -1
- package/dist/entities-v2/WorkOrder.d.ts +99 -1
- package/dist/entities-v2/WorkOrder.js +2 -0
- package/dist/entities-v2/YfStockCount.d.ts +9 -1
- package/dist/entities-v2/YfStockCount.js +8 -0
- package/dist/records-v2/EmailRecord.d.ts +87 -0
- package/dist/records-v2/EmailRecord.js +108 -0
- package/dist/records-v2/ExchangeRecord.d.ts +20 -0
- package/dist/records-v2/ExchangeRecord.js +33 -0
- package/dist/records-v2/RegionRecord.d.ts +205 -0
- package/dist/records-v2/RegionRecord.js +292 -0
- package/dist/records-v2/ServiceAppointmentConfigRecord.d.ts +20 -0
- package/dist/records-v2/ServiceAppointmentConfigRecord.js +33 -0
- package/dist/records-v2/TeamRecord.d.ts +20 -20
- package/dist/records-v2/TeamRecord.js +33 -33
- package/dist/records-v2/UserRecord.d.ts +40 -40
- package/dist/records-v2/UserRecord.js +66 -66
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +5 -2
- package/package.json +2 -2
|
@@ -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_PROGRAM_NOTE_DELETED = exports.ROUTING_KEY_LINK_PROGRAM_NOTE_CREATED = exports.ROUTING_KEY_LINK_PROGRAM_PROJECT_DELETED = exports.ROUTING_KEY_LINK_PROGRAM_PROJECT_CREATED = exports.ROUTING_KEY_PROGRAM_DEFAULT_DELETED = exports.ROUTING_KEY_PROGRAM_DEFAULT_UPDATED = exports.ROUTING_KEY_PROGRAM_DEFAULT_CREATED = exports.ROUTING_KEY_PROGRAM_DELETED = exports.ROUTING_KEY_PROGRAM_UPDATED = exports.ROUTING_KEY_PROGRAM_CREATED = exports.Program = exports.ProgramPropertyKeys = exports.DefaultProgramStageKeys = exports.DefaultProgramStageNames = exports.ProgramEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_PROGRAM_NOTE_DELETED = exports.ROUTING_KEY_LINK_PROGRAM_NOTE_CREATED = exports.ROUTING_KEY_LINK_PROGRAM_PROJECT_DELETED = exports.ROUTING_KEY_LINK_PROGRAM_PROJECT_CREATED = exports.ROUTING_KEY_PROGRAM_DEFAULT_DELETED = exports.ROUTING_KEY_PROGRAM_DEFAULT_UPDATED = exports.ROUTING_KEY_PROGRAM_DEFAULT_CREATED = exports.ROUTING_KEY_PROGRAM_DELETED = exports.ROUTING_KEY_PROGRAM_UPDATED = exports.ROUTING_KEY_PROGRAM_CREATED = exports.Program = exports.ProgramPropertyKeys = exports.ProgramType = exports.DefaultProgramStageKeys = exports.DefaultProgramStageNames = exports.ProgramEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Program records
|
|
@@ -57,6 +57,14 @@ var DefaultProgramStageKeys;
|
|
|
57
57
|
/** program stop stage */
|
|
58
58
|
DefaultProgramStageKeys["ProgramStageStop"] = "ProgramStageStop";
|
|
59
59
|
})(DefaultProgramStageKeys = exports.DefaultProgramStageKeys || (exports.DefaultProgramStageKeys = {}));
|
|
60
|
+
/**
|
|
61
|
+
* Valid values for Program.Type
|
|
62
|
+
*
|
|
63
|
+
* The type of program (Project Management - Program)
|
|
64
|
+
*/
|
|
65
|
+
var ProgramType;
|
|
66
|
+
(function (ProgramType) {
|
|
67
|
+
})(ProgramType = exports.ProgramType || (exports.ProgramType = {}));
|
|
60
68
|
/**
|
|
61
69
|
* Property keys for Program
|
|
62
70
|
* Use these constants instead of string literals for type safety
|
|
@@ -83,6 +91,8 @@ var ProgramPropertyKeys;
|
|
|
83
91
|
ProgramPropertyKeys["ActualStartDate"] = "ActualStartDate";
|
|
84
92
|
/** the estimated start date of the project (Project Management - Program) */
|
|
85
93
|
ProgramPropertyKeys["EstimatedStartDate"] = "EstimatedStartDate";
|
|
94
|
+
/** The type of program (Project Management - Program) */
|
|
95
|
+
ProgramPropertyKeys["Type"] = "Type";
|
|
86
96
|
})(ProgramPropertyKeys = exports.ProgramPropertyKeys || (exports.ProgramPropertyKeys = {}));
|
|
87
97
|
/**
|
|
88
98
|
* Program entity from ProjectModule
|
|
@@ -54,6 +54,13 @@ export declare enum DefaultProjectStageKeys {
|
|
|
54
54
|
/** project stop stage */
|
|
55
55
|
ProjectStageStop = "ProjectStageStop"
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Valid values for Project.Type
|
|
59
|
+
*
|
|
60
|
+
* The type of project (Project Management - Project)
|
|
61
|
+
*/
|
|
62
|
+
export declare enum ProjectType {
|
|
63
|
+
}
|
|
57
64
|
/**
|
|
58
65
|
* Property keys for Project
|
|
59
66
|
* Use these constants instead of string literals for type safety
|
|
@@ -78,7 +85,9 @@ export declare enum ProjectPropertyKeys {
|
|
|
78
85
|
/** system generated when the project is moved out of the first stage of the pipeline (Project Management - Project) */
|
|
79
86
|
ActualStartDate = "ActualStartDate",
|
|
80
87
|
/** the estimated end date of the project (Project Management - Project) */
|
|
81
|
-
EstimatedEndDate = "EstimatedEndDate"
|
|
88
|
+
EstimatedEndDate = "EstimatedEndDate",
|
|
89
|
+
/** The type of project (Project Management - Project) */
|
|
90
|
+
Type = "Type"
|
|
82
91
|
}
|
|
83
92
|
/**
|
|
84
93
|
* Properties for Project records
|
|
@@ -150,6 +159,11 @@ export interface ProjectProperties {
|
|
|
150
159
|
* @format DD/MM/YYYY
|
|
151
160
|
*/
|
|
152
161
|
EstimatedEndDate: string;
|
|
162
|
+
/** The type of project (Project Management - Project)
|
|
163
|
+
*
|
|
164
|
+
* @type {ENUM}
|
|
165
|
+
*/
|
|
166
|
+
Type: ProjectType;
|
|
153
167
|
}
|
|
154
168
|
/**
|
|
155
169
|
* Project 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_PROJECT_MILESTONE_DELETED = exports.ROUTING_KEY_LINK_PROJECT_MILESTONE_CREATED = exports.ROUTING_KEY_LINK_PROJECT_NOTE_DELETED = exports.ROUTING_KEY_LINK_PROJECT_NOTE_CREATED = exports.ROUTING_KEY_PROJECT_DEFAULT_DELETED = exports.ROUTING_KEY_PROJECT_DEFAULT_UPDATED = exports.ROUTING_KEY_PROJECT_DEFAULT_CREATED = exports.ROUTING_KEY_PROJECT_DELETED = exports.ROUTING_KEY_PROJECT_UPDATED = exports.ROUTING_KEY_PROJECT_CREATED = exports.Project = exports.ProjectPropertyKeys = exports.DefaultProjectStageKeys = exports.DefaultProjectStageNames = exports.ProjectEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_PROJECT_MILESTONE_DELETED = exports.ROUTING_KEY_LINK_PROJECT_MILESTONE_CREATED = exports.ROUTING_KEY_LINK_PROJECT_NOTE_DELETED = exports.ROUTING_KEY_LINK_PROJECT_NOTE_CREATED = exports.ROUTING_KEY_PROJECT_DEFAULT_DELETED = exports.ROUTING_KEY_PROJECT_DEFAULT_UPDATED = exports.ROUTING_KEY_PROJECT_DEFAULT_CREATED = exports.ROUTING_KEY_PROJECT_DELETED = exports.ROUTING_KEY_PROJECT_UPDATED = exports.ROUTING_KEY_PROJECT_CREATED = exports.Project = exports.ProjectPropertyKeys = exports.ProjectType = exports.DefaultProjectStageKeys = exports.DefaultProjectStageNames = exports.ProjectEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Project records
|
|
@@ -57,6 +57,14 @@ var DefaultProjectStageKeys;
|
|
|
57
57
|
/** project stop stage */
|
|
58
58
|
DefaultProjectStageKeys["ProjectStageStop"] = "ProjectStageStop";
|
|
59
59
|
})(DefaultProjectStageKeys = exports.DefaultProjectStageKeys || (exports.DefaultProjectStageKeys = {}));
|
|
60
|
+
/**
|
|
61
|
+
* Valid values for Project.Type
|
|
62
|
+
*
|
|
63
|
+
* The type of project (Project Management - Project)
|
|
64
|
+
*/
|
|
65
|
+
var ProjectType;
|
|
66
|
+
(function (ProjectType) {
|
|
67
|
+
})(ProjectType = exports.ProjectType || (exports.ProjectType = {}));
|
|
60
68
|
/**
|
|
61
69
|
* Property keys for Project
|
|
62
70
|
* Use these constants instead of string literals for type safety
|
|
@@ -83,6 +91,8 @@ var ProjectPropertyKeys;
|
|
|
83
91
|
ProjectPropertyKeys["ActualStartDate"] = "ActualStartDate";
|
|
84
92
|
/** the estimated end date of the project (Project Management - Project) */
|
|
85
93
|
ProjectPropertyKeys["EstimatedEndDate"] = "EstimatedEndDate";
|
|
94
|
+
/** The type of project (Project Management - Project) */
|
|
95
|
+
ProjectPropertyKeys["Type"] = "Type";
|
|
86
96
|
})(ProjectPropertyKeys = exports.ProjectPropertyKeys || (exports.ProjectPropertyKeys = {}));
|
|
87
97
|
/**
|
|
88
98
|
* Project entity from ProjectModule
|
|
@@ -37,6 +37,19 @@ export declare enum RestrictionCondition {
|
|
|
37
37
|
IS_LESS_THAN = "IS_LESS_THAN",
|
|
38
38
|
IS_NOT_EQUAL_TO = "IS_NOT_EQUAL_TO"
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Valid values for Restriction.Type
|
|
42
|
+
*
|
|
43
|
+
* type of the restriction (Product Management - Restriction)
|
|
44
|
+
*
|
|
45
|
+
* @remarks Available options:
|
|
46
|
+
* - `ALLOW` - Allow
|
|
47
|
+
* - `DENY` - Deny
|
|
48
|
+
*/
|
|
49
|
+
export declare enum RestrictionType {
|
|
50
|
+
ALLOW = "ALLOW",
|
|
51
|
+
DENY = "DENY"
|
|
52
|
+
}
|
|
40
53
|
/**
|
|
41
54
|
* Property keys for Restriction
|
|
42
55
|
* Use these constants instead of string literals for type safety
|
|
@@ -49,7 +62,9 @@ export declare enum RestrictionPropertyKeys {
|
|
|
49
62
|
/** the entity the restriction applies to i.e CrmModule:Address (Product Management - Restriction) */
|
|
50
63
|
Entity = "Entity",
|
|
51
64
|
/** The schema property for the entity that the condition applies to (Product Management - Restriction) */
|
|
52
|
-
Property = "Property"
|
|
65
|
+
Property = "Property",
|
|
66
|
+
/** type of the restriction (Product Management - Restriction) */
|
|
67
|
+
Type = "Type"
|
|
53
68
|
}
|
|
54
69
|
/**
|
|
55
70
|
* Properties for Restriction records
|
|
@@ -80,6 +95,13 @@ export interface RestrictionProperties {
|
|
|
80
95
|
* @hidden This field is hidden in the UI
|
|
81
96
|
*/
|
|
82
97
|
Property: string;
|
|
98
|
+
/** type of the restriction (Product Management - Restriction)
|
|
99
|
+
*
|
|
100
|
+
* @type {ENUM}
|
|
101
|
+
* @default ALLOW
|
|
102
|
+
* @enum {RestrictionType}
|
|
103
|
+
*/
|
|
104
|
+
Type: RestrictionType;
|
|
83
105
|
}
|
|
84
106
|
/**
|
|
85
107
|
* Restriction 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_RESTRICTION_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_RESTRICTION_RESTRICTION_CREATED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_DELETED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_UPDATED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_CREATED = exports.ROUTING_KEY_RESTRICTION_DELETED = exports.ROUTING_KEY_RESTRICTION_UPDATED = exports.ROUTING_KEY_RESTRICTION_CREATED = exports.Restriction = exports.RestrictionPropertyKeys = exports.RestrictionCondition = exports.RestrictionEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_RESTRICTION_RESTRICTION_DELETED = exports.ROUTING_KEY_LINK_RESTRICTION_RESTRICTION_CREATED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_DELETED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_UPDATED = exports.ROUTING_KEY_RESTRICTION_DEFAULT_CREATED = exports.ROUTING_KEY_RESTRICTION_DELETED = exports.ROUTING_KEY_RESTRICTION_UPDATED = exports.ROUTING_KEY_RESTRICTION_CREATED = exports.Restriction = exports.RestrictionPropertyKeys = exports.RestrictionType = exports.RestrictionCondition = exports.RestrictionEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Restriction records
|
|
@@ -40,6 +40,20 @@ var RestrictionCondition;
|
|
|
40
40
|
RestrictionCondition["IS_LESS_THAN"] = "IS_LESS_THAN";
|
|
41
41
|
RestrictionCondition["IS_NOT_EQUAL_TO"] = "IS_NOT_EQUAL_TO";
|
|
42
42
|
})(RestrictionCondition = exports.RestrictionCondition || (exports.RestrictionCondition = {}));
|
|
43
|
+
/**
|
|
44
|
+
* Valid values for Restriction.Type
|
|
45
|
+
*
|
|
46
|
+
* type of the restriction (Product Management - Restriction)
|
|
47
|
+
*
|
|
48
|
+
* @remarks Available options:
|
|
49
|
+
* - `ALLOW` - Allow
|
|
50
|
+
* - `DENY` - Deny
|
|
51
|
+
*/
|
|
52
|
+
var RestrictionType;
|
|
53
|
+
(function (RestrictionType) {
|
|
54
|
+
RestrictionType["ALLOW"] = "ALLOW";
|
|
55
|
+
RestrictionType["DENY"] = "DENY";
|
|
56
|
+
})(RestrictionType = exports.RestrictionType || (exports.RestrictionType = {}));
|
|
43
57
|
/**
|
|
44
58
|
* Property keys for Restriction
|
|
45
59
|
* Use these constants instead of string literals for type safety
|
|
@@ -54,6 +68,8 @@ var RestrictionPropertyKeys;
|
|
|
54
68
|
RestrictionPropertyKeys["Entity"] = "Entity";
|
|
55
69
|
/** The schema property for the entity that the condition applies to (Product Management - Restriction) */
|
|
56
70
|
RestrictionPropertyKeys["Property"] = "Property";
|
|
71
|
+
/** type of the restriction (Product Management - Restriction) */
|
|
72
|
+
RestrictionPropertyKeys["Type"] = "Type";
|
|
57
73
|
})(RestrictionPropertyKeys = exports.RestrictionPropertyKeys || (exports.RestrictionPropertyKeys = {}));
|
|
58
74
|
/**
|
|
59
75
|
* Restriction entity from ProductModule
|
|
@@ -81,6 +81,19 @@ export declare enum ServiceSipwiseBillingProfileId {
|
|
|
81
81
|
YOU_PHONE_PLUS = "PROFILE_17",
|
|
82
82
|
YOU_PHONE_PRO = "PROFILE_19"
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Valid values for Service.Type
|
|
86
|
+
*
|
|
87
|
+
* type of service (Network Operations - Service)
|
|
88
|
+
*
|
|
89
|
+
* @remarks Available options:
|
|
90
|
+
* - `BROADBAND` - Broadband
|
|
91
|
+
* - `VOICE` - Voice
|
|
92
|
+
*/
|
|
93
|
+
export declare enum ServiceType {
|
|
94
|
+
BROADBAND = "BROADBAND",
|
|
95
|
+
VOICE = "VOICE"
|
|
96
|
+
}
|
|
84
97
|
/**
|
|
85
98
|
* Property keys for Service
|
|
86
99
|
* Use these constants instead of string literals for type safety
|
|
@@ -101,7 +114,9 @@ export declare enum ServicePropertyKeys {
|
|
|
101
114
|
/** network speed (Network Operations - Service) */
|
|
102
115
|
NetworkSpeed = "NetworkSpeed",
|
|
103
116
|
/** sipwise billing profile id (voice) (Network Operations - Service) */
|
|
104
|
-
SipwiseBillingProfileId = "SipwiseBillingProfileId"
|
|
117
|
+
SipwiseBillingProfileId = "SipwiseBillingProfileId",
|
|
118
|
+
/** type of service (Network Operations - Service) */
|
|
119
|
+
Type = "Type"
|
|
105
120
|
}
|
|
106
121
|
/**
|
|
107
122
|
* Properties for Service records
|
|
@@ -155,6 +170,12 @@ export interface ServiceProperties {
|
|
|
155
170
|
* @enum {ServiceSipwiseBillingProfileId}
|
|
156
171
|
*/
|
|
157
172
|
SipwiseBillingProfileId: ServiceSipwiseBillingProfileId;
|
|
173
|
+
/** type of service (Network Operations - Service)
|
|
174
|
+
*
|
|
175
|
+
* @type {ENUM}
|
|
176
|
+
* @enum {ServiceType}
|
|
177
|
+
*/
|
|
178
|
+
Type: ServiceType;
|
|
158
179
|
}
|
|
159
180
|
/**
|
|
160
181
|
* Service entity from ServiceModule
|
|
@@ -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_SERVICE_SERVICE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_SERVICE_CREATED = exports.ROUTING_KEY_SERVICE_DEFAULT_DELETED = exports.ROUTING_KEY_SERVICE_DEFAULT_UPDATED = exports.ROUTING_KEY_SERVICE_DEFAULT_CREATED = exports.ROUTING_KEY_SERVICE_DELETED = exports.ROUTING_KEY_SERVICE_UPDATED = exports.ROUTING_KEY_SERVICE_CREATED = exports.Service = exports.ServicePropertyKeys = exports.ServiceSipwiseBillingProfileId = exports.ServiceSipwiseResellerId = exports.ServiceCustomerType = exports.ServiceSipwiseDomainId = exports.ServiceEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_SERVICE_SERVICE_DELETED = exports.ROUTING_KEY_LINK_SERVICE_SERVICE_CREATED = exports.ROUTING_KEY_SERVICE_DEFAULT_DELETED = exports.ROUTING_KEY_SERVICE_DEFAULT_UPDATED = exports.ROUTING_KEY_SERVICE_DEFAULT_CREATED = exports.ROUTING_KEY_SERVICE_DELETED = exports.ROUTING_KEY_SERVICE_UPDATED = exports.ROUTING_KEY_SERVICE_CREATED = exports.Service = exports.ServicePropertyKeys = exports.ServiceType = exports.ServiceSipwiseBillingProfileId = exports.ServiceSipwiseResellerId = exports.ServiceCustomerType = exports.ServiceSipwiseDomainId = exports.ServiceEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Service records
|
|
@@ -88,6 +88,20 @@ var ServiceSipwiseBillingProfileId;
|
|
|
88
88
|
ServiceSipwiseBillingProfileId["YOU_PHONE_PLUS"] = "PROFILE_17";
|
|
89
89
|
ServiceSipwiseBillingProfileId["YOU_PHONE_PRO"] = "PROFILE_19";
|
|
90
90
|
})(ServiceSipwiseBillingProfileId = exports.ServiceSipwiseBillingProfileId || (exports.ServiceSipwiseBillingProfileId = {}));
|
|
91
|
+
/**
|
|
92
|
+
* Valid values for Service.Type
|
|
93
|
+
*
|
|
94
|
+
* type of service (Network Operations - Service)
|
|
95
|
+
*
|
|
96
|
+
* @remarks Available options:
|
|
97
|
+
* - `BROADBAND` - Broadband
|
|
98
|
+
* - `VOICE` - Voice
|
|
99
|
+
*/
|
|
100
|
+
var ServiceType;
|
|
101
|
+
(function (ServiceType) {
|
|
102
|
+
ServiceType["BROADBAND"] = "BROADBAND";
|
|
103
|
+
ServiceType["VOICE"] = "VOICE";
|
|
104
|
+
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
91
105
|
/**
|
|
92
106
|
* Property keys for Service
|
|
93
107
|
* Use these constants instead of string literals for type safety
|
|
@@ -110,6 +124,8 @@ var ServicePropertyKeys;
|
|
|
110
124
|
ServicePropertyKeys["NetworkSpeed"] = "NetworkSpeed";
|
|
111
125
|
/** sipwise billing profile id (voice) (Network Operations - Service) */
|
|
112
126
|
ServicePropertyKeys["SipwiseBillingProfileId"] = "SipwiseBillingProfileId";
|
|
127
|
+
/** type of service (Network Operations - Service) */
|
|
128
|
+
ServicePropertyKeys["Type"] = "Type";
|
|
113
129
|
})(ServicePropertyKeys = exports.ServicePropertyKeys || (exports.ServicePropertyKeys = {}));
|
|
114
130
|
/**
|
|
115
131
|
* Service entity from ServiceModule
|
|
@@ -53,7 +53,9 @@ export declare enum ServiceAppointmentPropertyKeys {
|
|
|
53
53
|
/** used for holding appointments, if there is a past date the appointment will be deleted (Field Operations - ServiceAppointment) */
|
|
54
54
|
ExpirationDate = "ExpirationDate",
|
|
55
55
|
/** the optimizer used to book this appointmnet (Field Operations - ServiceAppointment) */
|
|
56
|
-
Optimizer = "Optimizer"
|
|
56
|
+
Optimizer = "Optimizer",
|
|
57
|
+
/** the type of appointment (Field Operations - ServiceAppointment) */
|
|
58
|
+
Type = "Type"
|
|
57
59
|
}
|
|
58
60
|
/**
|
|
59
61
|
* Properties for ServiceAppointment records
|
|
@@ -99,6 +101,11 @@ export interface ServiceAppointmentProperties {
|
|
|
99
101
|
* @hidden This field is hidden in the UI
|
|
100
102
|
*/
|
|
101
103
|
Optimizer: string;
|
|
104
|
+
/** the type of appointment (Field Operations - ServiceAppointment)
|
|
105
|
+
*
|
|
106
|
+
* @type {TEXT}
|
|
107
|
+
*/
|
|
108
|
+
Type: string;
|
|
102
109
|
}
|
|
103
110
|
/**
|
|
104
111
|
* ServiceAppointment entity from FieldServiceModule
|
|
@@ -56,6 +56,8 @@ var ServiceAppointmentPropertyKeys;
|
|
|
56
56
|
ServiceAppointmentPropertyKeys["ExpirationDate"] = "ExpirationDate";
|
|
57
57
|
/** the optimizer used to book this appointmnet (Field Operations - ServiceAppointment) */
|
|
58
58
|
ServiceAppointmentPropertyKeys["Optimizer"] = "Optimizer";
|
|
59
|
+
/** the type of appointment (Field Operations - ServiceAppointment) */
|
|
60
|
+
ServiceAppointmentPropertyKeys["Type"] = "Type";
|
|
59
61
|
})(ServiceAppointmentPropertyKeys = exports.ServiceAppointmentPropertyKeys || (exports.ServiceAppointmentPropertyKeys = {}));
|
|
60
62
|
/**
|
|
61
63
|
* ServiceAppointment entity from FieldServiceModule
|
|
@@ -214,8 +214,6 @@ export declare enum ServiceVisitAuditPropertyKeys {
|
|
|
214
214
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
215
215
|
TerminationBoxDamageImage = "TerminationBoxDamageImage",
|
|
216
216
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
217
|
-
InstallWorkOrder = "InstallWorkOrder",
|
|
218
|
-
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
219
217
|
LightReadingOnt = "LightReadingONT",
|
|
220
218
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
221
219
|
DropCableExplanation = "DropCableExplanation",
|
|
@@ -290,7 +288,9 @@ export declare enum ServiceVisitAuditPropertyKeys {
|
|
|
290
288
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
291
289
|
RemediationWorkRaised = "RemediationWorkRaised",
|
|
292
290
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
293
|
-
ReSpliceReason = "ReSpliceReason"
|
|
291
|
+
ReSpliceReason = "ReSpliceReason",
|
|
292
|
+
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
293
|
+
InstallWorkOrder = "InstallWorkOrder"
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
296
|
* Properties for ServiceVisitAudit records
|
|
@@ -344,11 +344,6 @@ export interface ServiceVisitAuditProperties {
|
|
|
344
344
|
* @type {FILE_MULTIPLE}
|
|
345
345
|
*/
|
|
346
346
|
TerminationBoxDamageImage: string;
|
|
347
|
-
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
348
|
-
*
|
|
349
|
-
* @type {LOOKUP}
|
|
350
|
-
*/
|
|
351
|
-
InstallWorkOrder: string;
|
|
352
347
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
353
348
|
*
|
|
354
349
|
* @type {FILE_MULTIPLE}
|
|
@@ -551,6 +546,11 @@ export interface ServiceVisitAuditProperties {
|
|
|
551
546
|
* @type {TEXT_LONG}
|
|
552
547
|
*/
|
|
553
548
|
ReSpliceReason: string;
|
|
549
|
+
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
550
|
+
*
|
|
551
|
+
* @type {LOOKUP}
|
|
552
|
+
*/
|
|
553
|
+
InstallWorkOrder: string;
|
|
554
554
|
}
|
|
555
555
|
/**
|
|
556
556
|
* Properties for OUTCOME_FORM ServiceVisitAudit records
|
|
@@ -604,11 +604,6 @@ export interface OutcomeFormServiceVisitAuditProperties {
|
|
|
604
604
|
* @type {FILE_MULTIPLE}
|
|
605
605
|
*/
|
|
606
606
|
TerminationBoxDamageImage: string;
|
|
607
|
-
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
608
|
-
*
|
|
609
|
-
* @type {LOOKUP}
|
|
610
|
-
*/
|
|
611
|
-
InstallWorkOrder: string;
|
|
612
607
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
613
608
|
*
|
|
614
609
|
* @type {FILE_MULTIPLE}
|
|
@@ -811,6 +806,11 @@ export interface OutcomeFormServiceVisitAuditProperties {
|
|
|
811
806
|
* @type {TEXT_LONG}
|
|
812
807
|
*/
|
|
813
808
|
ReSpliceReason: string;
|
|
809
|
+
/** Data field for ServiceVisitAudit records. Used by Field Operations team.
|
|
810
|
+
*
|
|
811
|
+
* @type {LOOKUP}
|
|
812
|
+
*/
|
|
813
|
+
InstallWorkOrder: string;
|
|
814
814
|
}
|
|
815
815
|
/**
|
|
816
816
|
* ServiceVisitAudit entity from FieldServiceModule
|
|
@@ -229,8 +229,6 @@ var ServiceVisitAuditPropertyKeys;
|
|
|
229
229
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
230
230
|
ServiceVisitAuditPropertyKeys["TerminationBoxDamageImage"] = "TerminationBoxDamageImage";
|
|
231
231
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
232
|
-
ServiceVisitAuditPropertyKeys["InstallWorkOrder"] = "InstallWorkOrder";
|
|
233
|
-
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
234
232
|
ServiceVisitAuditPropertyKeys["LightReadingOnt"] = "LightReadingONT";
|
|
235
233
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
236
234
|
ServiceVisitAuditPropertyKeys["DropCableExplanation"] = "DropCableExplanation";
|
|
@@ -306,6 +304,8 @@ var ServiceVisitAuditPropertyKeys;
|
|
|
306
304
|
ServiceVisitAuditPropertyKeys["RemediationWorkRaised"] = "RemediationWorkRaised";
|
|
307
305
|
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
308
306
|
ServiceVisitAuditPropertyKeys["ReSpliceReason"] = "ReSpliceReason";
|
|
307
|
+
/** Data field for ServiceVisitAudit records. Used by Field Operations team. */
|
|
308
|
+
ServiceVisitAuditPropertyKeys["InstallWorkOrder"] = "InstallWorkOrder";
|
|
309
309
|
})(ServiceVisitAuditPropertyKeys = exports.ServiceVisitAuditPropertyKeys || (exports.ServiceVisitAuditPropertyKeys = {}));
|
|
310
310
|
/**
|
|
311
311
|
* ServiceVisitAudit entity from FieldServiceModule
|
|
@@ -85,7 +85,9 @@ export declare enum SmsMessagePropertyKeys {
|
|
|
85
85
|
/** the sms message id (Communications - SmsMessage) */
|
|
86
86
|
SmsSid = "SmsSid",
|
|
87
87
|
/** String field used to identify the preconfigured content. Required to send templates created using the Content Template Builder. (Communications - SmsMessage) */
|
|
88
|
-
ContentSid = "ContentSid"
|
|
88
|
+
ContentSid = "ContentSid",
|
|
89
|
+
/** the phone number sending the message (Communications - SmsMessage) */
|
|
90
|
+
From = "From"
|
|
89
91
|
}
|
|
90
92
|
/**
|
|
91
93
|
* Properties for SmsMessage records
|
|
@@ -145,6 +147,11 @@ export interface SmsMessageProperties {
|
|
|
145
147
|
* @type {TEXT}
|
|
146
148
|
*/
|
|
147
149
|
ContentSid: string;
|
|
150
|
+
/** the phone number sending the message (Communications - SmsMessage)
|
|
151
|
+
*
|
|
152
|
+
* @type {TEXT}
|
|
153
|
+
*/
|
|
154
|
+
From: string;
|
|
148
155
|
}
|
|
149
156
|
/**
|
|
150
157
|
* Properties for INBOUND SmsMessage records
|
|
@@ -204,6 +211,11 @@ export interface InboundSmsMessageProperties {
|
|
|
204
211
|
* @type {TEXT}
|
|
205
212
|
*/
|
|
206
213
|
ContentSid: string;
|
|
214
|
+
/** the phone number sending the message (Communications - SmsMessage)
|
|
215
|
+
*
|
|
216
|
+
* @type {TEXT}
|
|
217
|
+
*/
|
|
218
|
+
From: string;
|
|
207
219
|
}
|
|
208
220
|
/**
|
|
209
221
|
* Properties for OUTBOUND SmsMessage records
|
|
@@ -263,6 +275,11 @@ export interface OutboundSmsMessageProperties {
|
|
|
263
275
|
* @type {TEXT}
|
|
264
276
|
*/
|
|
265
277
|
ContentSid: string;
|
|
278
|
+
/** the phone number sending the message (Communications - SmsMessage)
|
|
279
|
+
*
|
|
280
|
+
* @type {TEXT}
|
|
281
|
+
*/
|
|
282
|
+
From: string;
|
|
266
283
|
}
|
|
267
284
|
/**
|
|
268
285
|
* SmsMessage entity from NotificationModule
|
|
@@ -86,6 +86,8 @@ var SmsMessagePropertyKeys;
|
|
|
86
86
|
SmsMessagePropertyKeys["SmsSid"] = "SmsSid";
|
|
87
87
|
/** String field used to identify the preconfigured content. Required to send templates created using the Content Template Builder. (Communications - SmsMessage) */
|
|
88
88
|
SmsMessagePropertyKeys["ContentSid"] = "ContentSid";
|
|
89
|
+
/** the phone number sending the message (Communications - SmsMessage) */
|
|
90
|
+
SmsMessagePropertyKeys["From"] = "From";
|
|
89
91
|
})(SmsMessagePropertyKeys = exports.SmsMessagePropertyKeys || (exports.SmsMessagePropertyKeys = {}));
|
|
90
92
|
/**
|
|
91
93
|
* SmsMessage entity from NotificationModule
|
|
@@ -53,6 +53,13 @@ export declare enum DefaultSubtaskStageKeys {
|
|
|
53
53
|
/** subtask stop stage */
|
|
54
54
|
SubtaskStageStop = "SubtaskStageStop"
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Valid values for Subtask.Type
|
|
58
|
+
*
|
|
59
|
+
* The type of task (Project Management - Subtask)
|
|
60
|
+
*/
|
|
61
|
+
export declare enum SubtaskType {
|
|
62
|
+
}
|
|
56
63
|
/**
|
|
57
64
|
* Property keys for Subtask
|
|
58
65
|
* Use these constants instead of string literals for type safety
|
|
@@ -71,7 +78,9 @@ export declare enum SubtaskPropertyKeys {
|
|
|
71
78
|
/** the estimated end date of the task (Project Management - Subtask) */
|
|
72
79
|
EstimatedEndDate = "EstimatedEndDate",
|
|
73
80
|
/** the estimated start date of the task (Project Management - Subtask) */
|
|
74
|
-
EstimatedStartDate = "EstimatedStartDate"
|
|
81
|
+
EstimatedStartDate = "EstimatedStartDate",
|
|
82
|
+
/** The type of task (Project Management - Subtask) */
|
|
83
|
+
Type = "Type"
|
|
75
84
|
}
|
|
76
85
|
/**
|
|
77
86
|
* Properties for Subtask records
|
|
@@ -122,6 +131,11 @@ export interface SubtaskProperties {
|
|
|
122
131
|
* @format DD/MM/YYYY
|
|
123
132
|
*/
|
|
124
133
|
EstimatedStartDate: string;
|
|
134
|
+
/** The type of task (Project Management - Subtask)
|
|
135
|
+
*
|
|
136
|
+
* @type {ENUM}
|
|
137
|
+
*/
|
|
138
|
+
Type: SubtaskType;
|
|
125
139
|
}
|
|
126
140
|
/**
|
|
127
141
|
* Subtask 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_SUBTASK_NOTE_DELETED = exports.ROUTING_KEY_LINK_SUBTASK_NOTE_CREATED = exports.ROUTING_KEY_SUBTASK_DEFAULT_DELETED = exports.ROUTING_KEY_SUBTASK_DEFAULT_UPDATED = exports.ROUTING_KEY_SUBTASK_DEFAULT_CREATED = exports.ROUTING_KEY_SUBTASK_DELETED = exports.ROUTING_KEY_SUBTASK_UPDATED = exports.ROUTING_KEY_SUBTASK_CREATED = exports.Subtask = exports.SubtaskPropertyKeys = exports.DefaultSubtaskStageKeys = exports.DefaultSubtaskStageNames = exports.SubtaskEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_SUBTASK_NOTE_DELETED = exports.ROUTING_KEY_LINK_SUBTASK_NOTE_CREATED = exports.ROUTING_KEY_SUBTASK_DEFAULT_DELETED = exports.ROUTING_KEY_SUBTASK_DEFAULT_UPDATED = exports.ROUTING_KEY_SUBTASK_DEFAULT_CREATED = exports.ROUTING_KEY_SUBTASK_DELETED = exports.ROUTING_KEY_SUBTASK_UPDATED = exports.ROUTING_KEY_SUBTASK_CREATED = exports.Subtask = exports.SubtaskPropertyKeys = exports.SubtaskType = exports.DefaultSubtaskStageKeys = exports.DefaultSubtaskStageNames = exports.SubtaskEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Subtask records
|
|
@@ -57,6 +57,14 @@ var DefaultSubtaskStageKeys;
|
|
|
57
57
|
/** subtask stop stage */
|
|
58
58
|
DefaultSubtaskStageKeys["SubtaskStageStop"] = "SubtaskStageStop";
|
|
59
59
|
})(DefaultSubtaskStageKeys = exports.DefaultSubtaskStageKeys || (exports.DefaultSubtaskStageKeys = {}));
|
|
60
|
+
/**
|
|
61
|
+
* Valid values for Subtask.Type
|
|
62
|
+
*
|
|
63
|
+
* The type of task (Project Management - Subtask)
|
|
64
|
+
*/
|
|
65
|
+
var SubtaskType;
|
|
66
|
+
(function (SubtaskType) {
|
|
67
|
+
})(SubtaskType = exports.SubtaskType || (exports.SubtaskType = {}));
|
|
60
68
|
/**
|
|
61
69
|
* Property keys for Subtask
|
|
62
70
|
* Use these constants instead of string literals for type safety
|
|
@@ -77,6 +85,8 @@ var SubtaskPropertyKeys;
|
|
|
77
85
|
SubtaskPropertyKeys["EstimatedEndDate"] = "EstimatedEndDate";
|
|
78
86
|
/** the estimated start date of the task (Project Management - Subtask) */
|
|
79
87
|
SubtaskPropertyKeys["EstimatedStartDate"] = "EstimatedStartDate";
|
|
88
|
+
/** The type of task (Project Management - Subtask) */
|
|
89
|
+
SubtaskPropertyKeys["Type"] = "Type";
|
|
80
90
|
})(SubtaskPropertyKeys = exports.SubtaskPropertyKeys || (exports.SubtaskPropertyKeys = {}));
|
|
81
91
|
/**
|
|
82
92
|
* Subtask entity from ProjectModule
|
|
@@ -54,6 +54,13 @@ export declare enum DefaultTaskStageKeys {
|
|
|
54
54
|
/** project stop stage */
|
|
55
55
|
ProjectStageStop = "ProjectStageStop"
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Valid values for Task.Type
|
|
59
|
+
*
|
|
60
|
+
* The type of task (Project Management - Task)
|
|
61
|
+
*/
|
|
62
|
+
export declare enum TaskType {
|
|
63
|
+
}
|
|
57
64
|
/**
|
|
58
65
|
* Property keys for Task
|
|
59
66
|
* Use these constants instead of string literals for type safety
|
|
@@ -78,7 +85,9 @@ export declare enum TaskPropertyKeys {
|
|
|
78
85
|
/** A system generated value aggregating the cost of all related child tasks (Project Management - Task) */
|
|
79
86
|
Cost = "Cost",
|
|
80
87
|
/** system generated when the task is moved to the selected success stage of the pipeline (Project Management - Task) */
|
|
81
|
-
ActualEndDate = "ActualEndDate"
|
|
88
|
+
ActualEndDate = "ActualEndDate",
|
|
89
|
+
/** The type of task (Project Management - Task) */
|
|
90
|
+
Type = "Type"
|
|
82
91
|
}
|
|
83
92
|
/**
|
|
84
93
|
* Properties for Task records
|
|
@@ -150,6 +159,11 @@ export interface TaskProperties {
|
|
|
150
159
|
* @hidden This field is hidden in the UI
|
|
151
160
|
*/
|
|
152
161
|
ActualEndDate: string;
|
|
162
|
+
/** The type of task (Project Management - Task)
|
|
163
|
+
*
|
|
164
|
+
* @type {ENUM}
|
|
165
|
+
*/
|
|
166
|
+
Type: TaskType;
|
|
153
167
|
}
|
|
154
168
|
/**
|
|
155
169
|
* Task entity from ProjectModule
|
package/dist/entities-v2/Task.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Generated from Odin schema definition
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ROUTING_KEY_LINK_TASK_NOTE_DELETED = exports.ROUTING_KEY_LINK_TASK_NOTE_CREATED = exports.ROUTING_KEY_LINK_TASK_SUBTASK_DELETED = exports.ROUTING_KEY_LINK_TASK_SUBTASK_CREATED = exports.ROUTING_KEY_TASK_DEFAULT_DELETED = exports.ROUTING_KEY_TASK_DEFAULT_UPDATED = exports.ROUTING_KEY_TASK_DEFAULT_CREATED = exports.ROUTING_KEY_TASK_DELETED = exports.ROUTING_KEY_TASK_UPDATED = exports.ROUTING_KEY_TASK_CREATED = exports.Task = exports.TaskPropertyKeys = exports.DefaultTaskStageKeys = exports.DefaultTaskStageNames = exports.TaskEntityTypes = void 0;
|
|
15
|
+
exports.ROUTING_KEY_LINK_TASK_NOTE_DELETED = exports.ROUTING_KEY_LINK_TASK_NOTE_CREATED = exports.ROUTING_KEY_LINK_TASK_SUBTASK_DELETED = exports.ROUTING_KEY_LINK_TASK_SUBTASK_CREATED = exports.ROUTING_KEY_TASK_DEFAULT_DELETED = exports.ROUTING_KEY_TASK_DEFAULT_UPDATED = exports.ROUTING_KEY_TASK_DEFAULT_CREATED = exports.ROUTING_KEY_TASK_DELETED = exports.ROUTING_KEY_TASK_UPDATED = exports.ROUTING_KEY_TASK_CREATED = exports.Task = exports.TaskPropertyKeys = exports.TaskType = exports.DefaultTaskStageKeys = exports.DefaultTaskStageNames = exports.TaskEntityTypes = void 0;
|
|
16
16
|
const core_1 = require("@d19n/odin-types/dist/core");
|
|
17
17
|
/**
|
|
18
18
|
* Available types for Task records
|
|
@@ -57,6 +57,14 @@ var DefaultTaskStageKeys;
|
|
|
57
57
|
/** project stop stage */
|
|
58
58
|
DefaultTaskStageKeys["ProjectStageStop"] = "ProjectStageStop";
|
|
59
59
|
})(DefaultTaskStageKeys = exports.DefaultTaskStageKeys || (exports.DefaultTaskStageKeys = {}));
|
|
60
|
+
/**
|
|
61
|
+
* Valid values for Task.Type
|
|
62
|
+
*
|
|
63
|
+
* The type of task (Project Management - Task)
|
|
64
|
+
*/
|
|
65
|
+
var TaskType;
|
|
66
|
+
(function (TaskType) {
|
|
67
|
+
})(TaskType = exports.TaskType || (exports.TaskType = {}));
|
|
60
68
|
/**
|
|
61
69
|
* Property keys for Task
|
|
62
70
|
* Use these constants instead of string literals for type safety
|
|
@@ -83,6 +91,8 @@ var TaskPropertyKeys;
|
|
|
83
91
|
TaskPropertyKeys["Cost"] = "Cost";
|
|
84
92
|
/** system generated when the task is moved to the selected success stage of the pipeline (Project Management - Task) */
|
|
85
93
|
TaskPropertyKeys["ActualEndDate"] = "ActualEndDate";
|
|
94
|
+
/** The type of task (Project Management - Task) */
|
|
95
|
+
TaskPropertyKeys["Type"] = "Type";
|
|
86
96
|
})(TaskPropertyKeys = exports.TaskPropertyKeys || (exports.TaskPropertyKeys = {}));
|
|
87
97
|
/**
|
|
88
98
|
* Task entity from ProjectModule
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import { OdinRecord, OdinLink, LinkedOdinRecord } from '@d19n/odin-types/dist/core';
|
|
14
14
|
import { CaseProperties } from './Case';
|
|
15
|
-
import { UserProperties } from './User';
|
|
16
15
|
import { WorkOrderProperties } from './WorkOrder';
|
|
17
16
|
import { CrmDatasetProperties } from './CrmDataset';
|
|
17
|
+
import { UserProperties } from './User';
|
|
18
18
|
/**
|
|
19
19
|
* Available types for Team records
|
|
20
20
|
*/
|
|
@@ -220,12 +220,12 @@ export declare class Team extends OdinRecord<TeamProperties> {
|
|
|
220
220
|
properties: TeamProperties;
|
|
221
221
|
/** Linked Case records (Case_Team) */
|
|
222
222
|
Case: OdinLink<LinkedOdinRecord<CaseProperties>>;
|
|
223
|
-
/** Linked User records (Team_User) */
|
|
224
|
-
User: OdinLink<LinkedOdinRecord<UserProperties>>;
|
|
225
223
|
/** Linked WorkOrder records (WorkOrder_Team) */
|
|
226
224
|
WorkOrder: OdinLink<LinkedOdinRecord<WorkOrderProperties>>;
|
|
227
225
|
/** Linked CrmDataset records (CrmDataset_Team) */
|
|
228
226
|
CrmDataset: OdinLink<LinkedOdinRecord<CrmDatasetProperties>>;
|
|
227
|
+
/** Linked User records (Team_User) */
|
|
228
|
+
User: OdinLink<LinkedOdinRecord<UserProperties>>;
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
231
|
* RabbitMQ routing keys for Team events
|