@d19n/youfibre-odin-sdk 2.0.185 → 2.0.187
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 +14 -15
- package/dist/actions-v2/CreateMissedIncomingCallDto.d.ts +9 -1
- package/dist/actions-v2/MoveInspectionWorkOrderToInProgressSubstantialDto.d.ts +7 -1
- package/dist/actions-v2/MoveInspectionWorkOrderToInProgressSubstantialDto.js +7 -1
- package/dist/actions-v2/MoveInstallWorkOrderToInProgressSubstantialDto.d.ts +7 -1
- package/dist/actions-v2/MoveInstallWorkOrderToInProgressSubstantialDto.js +7 -1
- package/dist/actions-v2/MovePrePullWorkOrderToInProgressSubstantialDto.d.ts +7 -1
- package/dist/actions-v2/MovePrePullWorkOrderToInProgressSubstantialDto.js +7 -1
- package/dist/actions-v2/MoveRemediationWorkOrderToInProgressSubstantialDto.d.ts +7 -1
- package/dist/actions-v2/MoveRemediationWorkOrderToInProgressSubstantialDto.js +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressDto.d.ts +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressDto.js +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSubstantialDto.d.ts +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSubstantialDto.js +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSupplierDto.d.ts +7 -1
- package/dist/actions-v2/MoveServiceWorkOrderToInProgressSupplierDto.js +7 -1
- package/dist/actions-v2/UpdateAdditionalCareDto.d.ts +10 -10
- package/dist/actions-v2/UpdateContactDto.d.ts +10 -10
- package/dist/entities-v2/Order.d.ts +7 -0
- package/dist/entities-v2/Order.js +2 -0
- package/dist/records-v2/ContactRecord.d.ts +7 -6
- package/dist/records-v2/ContactRecord.js +15 -7
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.d.ts +3 -3
- package/dist/records-v2/SiteSpecificRiskAssessmentOutcomeFormRecord.js +3 -3
- package/dist/records-v2/WorkOrderRecord.js +7 -0
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +4 -4
- package/dist/wholesale-provider/kci-effect-bridge.js +19 -0
- package/dist/wholesale-provider/test/kci-effect-bridge.spec.js +12 -0
- package/package.json +1 -1
- package/dist/actions-v2/CreateSsraDto.d.ts +0 -277
- package/dist/actions-v2/CreateSsraDto.js +0 -50
package/README.md
CHANGED
|
@@ -354,7 +354,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
354
354
|
|
|
355
355
|
## Actions
|
|
356
356
|
|
|
357
|
-
This SDK includes **
|
|
357
|
+
This SDK includes **684** actions.
|
|
358
358
|
|
|
359
359
|
### Action Types
|
|
360
360
|
|
|
@@ -1843,20 +1843,6 @@ This SDK includes **685** actions.
|
|
|
1843
1843
|
| `SalesTerritoryCreate` | CREATE | k1.t-hEOJjsDb.CrmModule.SalesTerritory.Create.SalesTerritoryCreate |
|
|
1844
1844
|
| `SalesTerritoryUpdate` | UPDATE | k1.t-hEOJjsDb.CrmModule.SalesTerritory.Update.SalesTerritoryUpdate |
|
|
1845
1845
|
|
|
1846
|
-
#### SiteSpecificRiskAssessmentOutcomeForm
|
|
1847
|
-
|
|
1848
|
-
| Action | Type | Event |
|
|
1849
|
-
|--------|------|-------|
|
|
1850
|
-
| `CreateSsra` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1851
|
-
| `MoveInspectionWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1852
|
-
| `MoveInstallWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1853
|
-
| `MovePrePullWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1854
|
-
| `MoveRemediationWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1855
|
-
| `MoveServiceWorkOrderToInProgress` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1856
|
-
| `MoveServiceWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1857
|
-
| `MoveServiceWorkOrderToInProgressSupplier` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1858
|
-
| `UpdateSsra` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Update.UpdateSsra |
|
|
1859
|
-
|
|
1860
1846
|
#### Team
|
|
1861
1847
|
|
|
1862
1848
|
| Action | Type | Event |
|
|
@@ -1959,6 +1945,19 @@ This SDK includes **685** actions.
|
|
|
1959
1945
|
| `KnowledgeArticleReleaseNoteCreate` | CREATE | k1.t-hEOJjsDb.SupportModule.KnowledgeArticle.Create.KnowledgeArticleReleaseNoteCreate |
|
|
1960
1946
|
| `KnowledgeArticleUserGuideCreate` | CREATE | k1.t-hEOJjsDb.SupportModule.KnowledgeArticle.Create.KnowledgeArticleUserGuideCreate |
|
|
1961
1947
|
|
|
1948
|
+
#### SiteSpecificRiskAssessmentOutcomeForm
|
|
1949
|
+
|
|
1950
|
+
| Action | Type | Event |
|
|
1951
|
+
|--------|------|-------|
|
|
1952
|
+
| `MoveInspectionWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1953
|
+
| `MoveInstallWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1954
|
+
| `MovePrePullWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1955
|
+
| `MoveRemediationWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1956
|
+
| `MoveServiceWorkOrderToInProgress` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1957
|
+
| `MoveServiceWorkOrderToInProgressSubstantial` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1958
|
+
| `MoveServiceWorkOrderToInProgressSupplier` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra |
|
|
1959
|
+
| `UpdateSsra` | UPDATE | k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Update.UpdateSsra |
|
|
1960
|
+
|
|
1962
1961
|
#### Outage
|
|
1963
1962
|
|
|
1964
1963
|
| Action | Type | Event |
|
|
@@ -21,7 +21,7 @@ export interface CreateMissedIncomingCallMessage extends OdinRecordCreatedEvent<
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateMissedIncomingCall action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 11
|
|
25
25
|
* @property Optional fields: 0
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateMissedIncomingCallProperties {
|
|
@@ -105,6 +105,14 @@ export interface CreateMissedIncomingCallProperties {
|
|
|
105
105
|
* @required
|
|
106
106
|
*/
|
|
107
107
|
Duration: string;
|
|
108
|
+
/**
|
|
109
|
+
* missed call reason
|
|
110
|
+
*
|
|
111
|
+
* reason for the call being missed (Communications - Call)
|
|
112
|
+
* @type {TEXT}
|
|
113
|
+
* @required
|
|
114
|
+
*/
|
|
115
|
+
MissedCallReason: string;
|
|
108
116
|
}
|
|
109
117
|
/**
|
|
110
118
|
* CreateMissedIncomingCall
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveInspectionWorkOrderToInProgressSubstantial
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveInstallWorkOrderToInProgressSubstantial
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MovePrePullWorkOrderToInProgressSubstantial
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveRemediationWorkOrderToInProgressSubstantial
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveServiceWorkOrderToInProgress
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveServiceWorkOrderToInProgressSubstantial
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for CreateSsra action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 20
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 10
|
|
20
20
|
*/
|
|
21
21
|
export interface CreateSsraProperties {
|
|
22
22
|
/**
|
|
@@ -244,9 +244,12 @@ export interface CreateSsraProperties {
|
|
|
244
244
|
/**
|
|
245
245
|
* CreateSsra
|
|
246
246
|
*
|
|
247
|
+
* Create Ssra
|
|
248
|
+
*
|
|
247
249
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
248
250
|
* @module FieldServiceModule
|
|
249
251
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
252
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
250
253
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
251
254
|
* @permission schema.action.createssra.trigger
|
|
252
255
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -257,12 +260,15 @@ export declare class CreateSsraDto extends OdinRecordCreateDto<CreateSsraPropert
|
|
|
257
260
|
static readonly ACTION_KEY = "CreateSsra";
|
|
258
261
|
static readonly MODULE_NAME = "FieldServiceModule";
|
|
259
262
|
static readonly ENTITIES: string[];
|
|
263
|
+
static readonly ENTITY_TYPE = "OUTCOME_FORM";
|
|
260
264
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra";
|
|
261
265
|
static readonly PERMISSION = "schema.action.createssra.trigger";
|
|
262
266
|
/** Step metadata - entity this action targets */
|
|
263
267
|
static readonly STEP_ENTITY = "FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm";
|
|
264
268
|
static readonly STEP_SCHEMA_ID = "6380e75c-a0cc-43e8-a57e-dabc00310d16";
|
|
265
269
|
static readonly STEP_SCHEMA_ACTION_ID = "a17ac2ef-f23e-4183-8aba-92ea3debd5fb";
|
|
270
|
+
static readonly STEP_SCHEMA_TYPE_ID = "738369fe-e7c8-4d10-b651-73d69fda5fd0";
|
|
271
|
+
static readonly STEP_TYPE = "OUTCOME_FORM";
|
|
266
272
|
static readonly AUTO_LINK_PARENT = true;
|
|
267
273
|
readonly actionName: string;
|
|
268
274
|
readonly schemaActionId: string;
|
|
@@ -18,9 +18,12 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
18
18
|
/**
|
|
19
19
|
* CreateSsra
|
|
20
20
|
*
|
|
21
|
+
* Create Ssra
|
|
22
|
+
*
|
|
21
23
|
* @actionType CREATE - Creates a new SiteSpecificRiskAssessmentOutcomeForm record
|
|
22
24
|
* @module FieldServiceModule
|
|
23
25
|
* @entity SiteSpecificRiskAssessmentOutcomeForm
|
|
26
|
+
* @entityType OUTCOME_FORM (outcome form)
|
|
24
27
|
* @event k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra
|
|
25
28
|
* @permission schema.action.createssra.trigger
|
|
26
29
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +32,7 @@ class CreateSsraDto extends core_1.OdinRecordCreateDto {
|
|
|
29
32
|
constructor(properties, options) {
|
|
30
33
|
super({
|
|
31
34
|
entity: 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm',
|
|
32
|
-
type:
|
|
35
|
+
type: 'OUTCOME_FORM',
|
|
33
36
|
properties,
|
|
34
37
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
38
|
});
|
|
@@ -44,12 +47,15 @@ CreateSsraDto.ACTION_TYPE = 'CREATE';
|
|
|
44
47
|
CreateSsraDto.ACTION_KEY = 'CreateSsra';
|
|
45
48
|
CreateSsraDto.MODULE_NAME = 'FieldServiceModule';
|
|
46
49
|
CreateSsraDto.ENTITIES = ['SiteSpecificRiskAssessmentOutcomeForm'];
|
|
50
|
+
CreateSsraDto.ENTITY_TYPE = 'OUTCOME_FORM';
|
|
47
51
|
CreateSsraDto.EVENT_NAME = 'k1.t-hEOJjsDb.FieldServiceModule.SiteSpecificRiskAssessmentOutcomeForm.Create.CreateSsra';
|
|
48
52
|
CreateSsraDto.PERMISSION = 'schema.action.createssra.trigger';
|
|
49
53
|
/** Step metadata - entity this action targets */
|
|
50
54
|
CreateSsraDto.STEP_ENTITY = 'FieldServiceModule:SiteSpecificRiskAssessmentOutcomeForm';
|
|
51
55
|
CreateSsraDto.STEP_SCHEMA_ID = '6380e75c-a0cc-43e8-a57e-dabc00310d16';
|
|
52
56
|
CreateSsraDto.STEP_SCHEMA_ACTION_ID = 'a17ac2ef-f23e-4183-8aba-92ea3debd5fb';
|
|
57
|
+
CreateSsraDto.STEP_SCHEMA_TYPE_ID = '738369fe-e7c8-4d10-b651-73d69fda5fd0';
|
|
58
|
+
CreateSsraDto.STEP_TYPE = 'OUTCOME_FORM';
|
|
53
59
|
CreateSsraDto.AUTO_LINK_PARENT = true;
|
|
54
60
|
/**
|
|
55
61
|
* Type-safe step keys for MoveServiceWorkOrderToInProgressSupplier
|
|
@@ -21,18 +21,10 @@ export interface UpdateAdditionalCareMessage extends OdinRecordUpdatedEvent<Upda
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for UpdateAdditionalCare action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 6
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateAdditionalCareProperties {
|
|
28
|
-
/**
|
|
29
|
-
* Additional Care Consent
|
|
30
|
-
*
|
|
31
|
-
* Customer consent for recording additional care requiremetns (Sales - Contact)
|
|
32
|
-
* @type {ENUM}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
AdditionalCareConsent: string;
|
|
36
28
|
/**
|
|
37
29
|
* Medically Dependant
|
|
38
30
|
*
|
|
@@ -61,6 +53,14 @@ export interface UpdateAdditionalCareProperties {
|
|
|
61
53
|
* @type {TEXT_LONG}
|
|
62
54
|
*/
|
|
63
55
|
AdditionalCareNotes?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Additional Care Consent
|
|
58
|
+
*
|
|
59
|
+
* Customer consent for recording additional care requiremetns (Sales - Contact)
|
|
60
|
+
* @type {ENUM}
|
|
61
|
+
* @requiredWhen TelecareAlarm = ["YES"] AND MedicallyDependant = ["YES"]
|
|
62
|
+
*/
|
|
63
|
+
AdditionalCareConsent?: string | null;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Additional Care
|