@d19n/youfibre-odin-sdk 2.0.315 → 2.0.316

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.
@@ -30,7 +30,7 @@ export interface AssignEngineerProperties {
30
30
  *
31
31
  * Reference identifier for WorkOrder relationships. Used for data integrity.
32
32
  * @type {LOOKUP}
33
- * @visibleWhen ScheduleIdDummy = ["*any"]
33
+ * @visibleWhen ScheduleIdDummy = ["*"]
34
34
  */
35
35
  EngineerId?: string | null;
36
36
  /**
@@ -148,7 +148,7 @@ export interface YfFieldVisitOutcomeFormProperties {
148
148
  * Location
149
149
  *
150
150
  * The property visited, linked to the CRM address record.
151
- * @type {LOOKUP}
151
+ * @type {TEXT}
152
152
  * @required
153
153
  * @default Dynamic: {source_record_properties_AddressId}
154
154
  */
@@ -23,13 +23,13 @@ export interface CreateQaReportMessage extends OdinRecordCreatedEvent<CreateQaRe
23
23
  * Properties for CreateQaReport action
24
24
  *
25
25
  * @property Required fields: 2
26
- * @property Optional fields: 6
26
+ * @property Optional fields: 7
27
27
  */
28
28
  export interface CreateQaReportProperties {
29
29
  /**
30
30
  * Case
31
31
  *
32
- * The case this report scores.
32
+ * The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below.
33
33
  * @type {LOOKUP}
34
34
  * @required
35
35
  */
@@ -42,6 +42,13 @@ export interface CreateQaReportProperties {
42
42
  * @required
43
43
  */
44
44
  ReportUrl: string;
45
+ /**
46
+ * Case
47
+ *
48
+ * Record number of the case this report scores, e.g. SC6490.
49
+ * @type {TEXT}
50
+ */
51
+ Case?: string | null;
45
52
  /**
46
53
  * Score %
47
54
  *
@@ -62,6 +62,7 @@ export declare enum DefaultPgReportEventStageKeys {
62
62
  * - `AUDDIS_ADVICE` - AUDDIS Advice Report
63
63
  * - `AUDDIS_ACCEPTANCE` - AUDDIS File Acceptance Report
64
64
  * - `AUDDIS_INPUT` - AUDDIS Input Report
65
+ * - `AWACS`
65
66
  * - `INPUT` - PE Input Report
66
67
  */
67
68
  export declare enum PgReportEventReportType {
@@ -71,6 +72,7 @@ export declare enum PgReportEventReportType {
71
72
  AUDDIS_ADVICE_REPORT = "AUDDIS_ADVICE",
72
73
  AUDDIS_FILE_ACCEPTANCE_REPORT = "AUDDIS_ACCEPTANCE",
73
74
  AUDDIS_INPUT_REPORT = "AUDDIS_INPUT",
75
+ AWACS = "AWACS",
74
76
  PE_INPUT_REPORT = "INPUT"
75
77
  }
76
78
  /**
@@ -65,6 +65,7 @@ var DefaultPgReportEventStageKeys;
65
65
  * - `AUDDIS_ADVICE` - AUDDIS Advice Report
66
66
  * - `AUDDIS_ACCEPTANCE` - AUDDIS File Acceptance Report
67
67
  * - `AUDDIS_INPUT` - AUDDIS Input Report
68
+ * - `AWACS`
68
69
  * - `INPUT` - PE Input Report
69
70
  */
70
71
  var PgReportEventReportType;
@@ -75,6 +76,7 @@ var PgReportEventReportType;
75
76
  PgReportEventReportType["AUDDIS_ADVICE_REPORT"] = "AUDDIS_ADVICE";
76
77
  PgReportEventReportType["AUDDIS_FILE_ACCEPTANCE_REPORT"] = "AUDDIS_ACCEPTANCE";
77
78
  PgReportEventReportType["AUDDIS_INPUT_REPORT"] = "AUDDIS_INPUT";
79
+ PgReportEventReportType["AWACS"] = "AWACS";
78
80
  PgReportEventReportType["PE_INPUT_REPORT"] = "INPUT";
79
81
  })(PgReportEventReportType = exports.PgReportEventReportType || (exports.PgReportEventReportType = {}));
80
82
  /**
@@ -43,7 +43,7 @@ export declare enum QaReportChannel {
43
43
  * Use these constants instead of string literals for type safety
44
44
  */
45
45
  export declare enum QaReportPropertyKeys {
46
- /** The case this report scores. */
46
+ /** The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below. */
47
47
  CaseId = "CaseId",
48
48
  /** Total score the rubric awarded, 0-100, parsed out of the report. Stored separately so QA can be reported on without parsing HTML. */
49
49
  Score = "Score",
@@ -58,7 +58,9 @@ export declare enum QaReportPropertyKeys {
58
58
  /** Which model produced the report, e.g. system.ai.gpt-5-4. Needed to compare scores once the rubric or the model changes. */
59
59
  LlmEndpointUsed = "LlmEndpointUsed",
60
60
  /** S3 URL of the scorecard HTML returned by the Databricks quality_assurance_report endpoint. Uploaded through Odin, so it lands in the org files bucket and also exists as a SchemaModule:File. */
61
- ReportUrl = "ReportUrl"
61
+ ReportUrl = "ReportUrl",
62
+ /** Record number of the case this report scores, e.g. SC6490. */
63
+ Case = "Case"
62
64
  }
63
65
  /**
64
66
  * Properties for QaReport records
@@ -66,7 +68,7 @@ export declare enum QaReportPropertyKeys {
66
68
  * @see SupportModule:QaReport
67
69
  */
68
70
  export interface QaReportProperties {
69
- /** The case this report scores.
71
+ /** The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below.
70
72
  *
71
73
  * @type {LOOKUP}
72
74
  * @default
@@ -115,6 +117,12 @@ export interface QaReportProperties {
115
117
  * @default
116
118
  */
117
119
  ReportUrl: string;
120
+ /** Record number of the case this report scores, e.g. SC6490.
121
+ *
122
+ * @type {TEXT}
123
+ * @default
124
+ */
125
+ Case: string;
118
126
  }
119
127
  /**
120
128
  * QaReport entity from SupportModule
@@ -48,7 +48,7 @@ var QaReportChannel;
48
48
  */
49
49
  var QaReportPropertyKeys;
50
50
  (function (QaReportPropertyKeys) {
51
- /** The case this report scores. */
51
+ /** The case this report scores. This is the real link; it holds a uuid, so it is not shown in tables — the same choice Note.Case and ConversationSummaryFeedback.ConversationId make. The readable reference is the Case column below. */
52
52
  QaReportPropertyKeys["CaseId"] = "CaseId";
53
53
  /** Total score the rubric awarded, 0-100, parsed out of the report. Stored separately so QA can be reported on without parsing HTML. */
54
54
  QaReportPropertyKeys["Score"] = "Score";
@@ -64,6 +64,8 @@ var QaReportPropertyKeys;
64
64
  QaReportPropertyKeys["LlmEndpointUsed"] = "LlmEndpointUsed";
65
65
  /** S3 URL of the scorecard HTML returned by the Databricks quality_assurance_report endpoint. Uploaded through Odin, so it lands in the org files bucket and also exists as a SchemaModule:File. */
66
66
  QaReportPropertyKeys["ReportUrl"] = "ReportUrl";
67
+ /** Record number of the case this report scores, e.g. SC6490. */
68
+ QaReportPropertyKeys["Case"] = "Case";
67
69
  })(QaReportPropertyKeys = exports.QaReportPropertyKeys || (exports.QaReportPropertyKeys = {}));
68
70
  /**
69
71
  * QaReport entity from SupportModule
@@ -335,8 +335,6 @@ export declare enum YfFieldVisitOutcomeFormPropertyKeys {
335
335
  WorkOrderNumber = "WorkOrderNumber",
336
336
  /** RETIRED — replaced by the Engineer column, which is TEXT and prefills from the work order. Off the form; a NAME column cannot become TEXT in place. */
337
337
  EngineerName = "EngineerName",
338
- /** The property visited, linked to the CRM address record. */
339
- Location = "Location",
340
338
  /** The picture the engineer confirms having taken on arrival. */
341
339
  PropertyFrontPhoto = "PropertyFrontPhoto",
342
340
  /** Where the main router sits, as found on arrival. */
@@ -349,6 +347,8 @@ export declare enum YfFieldVisitOutcomeFormPropertyKeys {
349
347
  YouMeshLocation1 = "YouMeshLocation1",
350
348
  /** Evidence the node is not on the floor. */
351
349
  YouMeshLocation2Photo = "YouMeshLocation2Photo",
350
+ /** The property visited, linked to the CRM address record. */
351
+ Location = "Location",
352
352
  /** Proof of attendance at the right property. The confirmation is the enforced half; the photo beside it is not. */
353
353
  PropertyFrontPhotoConfirmed = "PropertyFrontPhotoConfirmed",
354
354
  /** An ONT on an extension lead or sitting loose is a repeat-fault cause in its own right. */
@@ -498,12 +498,6 @@ export interface YfFieldVisitOutcomeFormProperties {
498
498
  * @default
499
499
  */
500
500
  EngineerName: string;
501
- /** The property visited, linked to the CRM address record.
502
- *
503
- * @type {LOOKUP}
504
- * @default
505
- */
506
- Location: string;
507
501
  /** The picture the engineer confirms having taken on arrival.
508
502
  *
509
503
  * @type {FILE_MULTIPLE}
@@ -541,6 +535,12 @@ export interface YfFieldVisitOutcomeFormProperties {
541
535
  * @default
542
536
  */
543
537
  YouMeshLocation2Photo: string;
538
+ /** The property visited, linked to the CRM address record.
539
+ *
540
+ * @type {TEXT}
541
+ * @default
542
+ */
543
+ Location: string;
544
544
  /** Proof of attendance at the right property. The confirmation is the enforced half; the photo beside it is not.
545
545
  *
546
546
  * @type {ENUM}
@@ -892,12 +892,6 @@ export interface OutcomeFormYfFieldVisitOutcomeFormProperties {
892
892
  * @default
893
893
  */
894
894
  EngineerName: string;
895
- /** The property visited, linked to the CRM address record.
896
- *
897
- * @type {LOOKUP}
898
- * @default
899
- */
900
- Location: string;
901
895
  /** The picture the engineer confirms having taken on arrival.
902
896
  *
903
897
  * @type {FILE_MULTIPLE}
@@ -935,6 +929,12 @@ export interface OutcomeFormYfFieldVisitOutcomeFormProperties {
935
929
  * @default
936
930
  */
937
931
  YouMeshLocation2Photo: string;
932
+ /** The property visited, linked to the CRM address record.
933
+ *
934
+ * @type {TEXT}
935
+ * @default
936
+ */
937
+ Location: string;
938
938
  /** Proof of attendance at the right property. The confirmation is the enforced half; the photo beside it is not.
939
939
  *
940
940
  * @type {ENUM}
@@ -350,8 +350,6 @@ var YfFieldVisitOutcomeFormPropertyKeys;
350
350
  YfFieldVisitOutcomeFormPropertyKeys["WorkOrderNumber"] = "WorkOrderNumber";
351
351
  /** RETIRED — replaced by the Engineer column, which is TEXT and prefills from the work order. Off the form; a NAME column cannot become TEXT in place. */
352
352
  YfFieldVisitOutcomeFormPropertyKeys["EngineerName"] = "EngineerName";
353
- /** The property visited, linked to the CRM address record. */
354
- YfFieldVisitOutcomeFormPropertyKeys["Location"] = "Location";
355
353
  /** The picture the engineer confirms having taken on arrival. */
356
354
  YfFieldVisitOutcomeFormPropertyKeys["PropertyFrontPhoto"] = "PropertyFrontPhoto";
357
355
  /** Where the main router sits, as found on arrival. */
@@ -364,6 +362,8 @@ var YfFieldVisitOutcomeFormPropertyKeys;
364
362
  YfFieldVisitOutcomeFormPropertyKeys["YouMeshLocation1"] = "YouMeshLocation1";
365
363
  /** Evidence the node is not on the floor. */
366
364
  YfFieldVisitOutcomeFormPropertyKeys["YouMeshLocation2Photo"] = "YouMeshLocation2Photo";
365
+ /** The property visited, linked to the CRM address record. */
366
+ YfFieldVisitOutcomeFormPropertyKeys["Location"] = "Location";
367
367
  /** Proof of attendance at the right property. The confirmation is the enforced half; the photo beside it is not. */
368
368
  YfFieldVisitOutcomeFormPropertyKeys["PropertyFrontPhotoConfirmed"] = "PropertyFrontPhotoConfirmed";
369
369
  /** An ONT on an extension lead or sitting loose is a repeat-fault cause in its own right. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.315",
3
+ "version": "2.0.316",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",