@d19n/youfibre-odin-sdk 2.0.335 → 2.0.337
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 +31 -2
- package/dist/EntityRegistry.d.ts +8 -0
- package/dist/EntityRegistry.js +8 -0
- package/dist/OdinApiClient.d.ts +16 -0
- package/dist/OdinApiClient.js +32 -0
- package/dist/OdinDbClient.d.ts +16 -0
- package/dist/OdinDbClient.js +32 -0
- package/dist/accessors-v2/QaAutoFailAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaAutoFailAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricItemAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricItemAccessor.js +191 -0
- package/dist/accessors-v2/QaRubricSectionAccessor.d.ts +112 -0
- package/dist/accessors-v2/QaRubricSectionAccessor.js +191 -0
- package/dist/accessors-v2/index.d.ts +4 -0
- package/dist/accessors-v2/index.js +10 -2
- package/dist/actions-v2/CreateContactSalesAppDto.d.ts +2 -25
- package/dist/actions-v2/CreateInstallDayBeforeWifiEducationDto.d.ts +63 -0
- package/dist/actions-v2/CreateInstallDayBeforeWifiEducationDto.js +59 -0
- package/dist/actions-v2/CreateLeadSalesAppDto.d.ts +10 -2
- package/dist/actions-v2/CreateTransactionalEmailDto.d.ts +8 -1
- package/dist/actions-v2/UpdateQaAutoFailDto.d.ts +102 -0
- package/dist/actions-v2/UpdateQaAutoFailDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricDto.d.ts +103 -0
- package/dist/actions-v2/UpdateQaRubricDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricItemDto.d.ts +157 -0
- package/dist/actions-v2/UpdateQaRubricItemDto.js +56 -0
- package/dist/actions-v2/UpdateQaRubricSectionDto.d.ts +87 -0
- package/dist/actions-v2/UpdateQaRubricSectionDto.js +56 -0
- package/dist/api-sdk-v2/QaAutoFailApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaAutoFailApi.js +155 -0
- package/dist/api-sdk-v2/QaRubricApi.d.ts +50 -0
- package/dist/api-sdk-v2/QaRubricApi.js +161 -0
- package/dist/api-sdk-v2/QaRubricItemApi.d.ts +48 -0
- package/dist/api-sdk-v2/QaRubricItemApi.js +155 -0
- package/dist/api-sdk-v2/QaRubricSectionApi.d.ts +50 -0
- package/dist/api-sdk-v2/QaRubricSectionApi.js +161 -0
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaAutoFailDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricItemDbAccessor.js +265 -0
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.d.ts +180 -0
- package/dist/db-accessors-v2/QaRubricSectionDbAccessor.js +265 -0
- package/dist/db-accessors-v2/index.d.ts +4 -0
- package/dist/db-accessors-v2/index.js +10 -2
- package/dist/db-sdk-v2/QaAutoFailDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaAutoFailDb.js +204 -0
- package/dist/db-sdk-v2/QaRubricDb.d.ts +122 -0
- package/dist/db-sdk-v2/QaRubricDb.js +210 -0
- package/dist/db-sdk-v2/QaRubricItemDb.d.ts +120 -0
- package/dist/db-sdk-v2/QaRubricItemDb.js +204 -0
- package/dist/db-sdk-v2/QaRubricSectionDb.d.ts +122 -0
- package/dist/db-sdk-v2/QaRubricSectionDb.js +210 -0
- package/dist/entities-v2/QaAutoFail.d.ts +117 -0
- package/dist/entities-v2/QaAutoFail.js +76 -0
- package/dist/entities-v2/QaReport.d.ts +41 -1
- package/dist/entities-v2/QaReport.js +10 -0
- package/dist/entities-v2/QaRubric.d.ts +152 -0
- package/dist/entities-v2/QaRubric.js +114 -0
- package/dist/entities-v2/QaRubricItem.d.ts +199 -0
- package/dist/entities-v2/QaRubricItem.js +110 -0
- package/dist/entities-v2/QaRubricSection.d.ts +108 -0
- package/dist/entities-v2/QaRubricSection.js +76 -0
- package/dist/records-v2/EmailRecord.d.ts +29 -0
- package/dist/records-v2/EmailRecord.js +36 -0
- package/dist/records-v2/QaAutoFailRecord.d.ts +205 -0
- package/dist/records-v2/QaAutoFailRecord.js +275 -0
- package/dist/records-v2/QaRubricItemRecord.d.ts +205 -0
- package/dist/records-v2/QaRubricItemRecord.js +275 -0
- package/dist/records-v2/QaRubricRecord.d.ts +225 -0
- package/dist/records-v2/QaRubricRecord.js +308 -0
- package/dist/records-v2/QaRubricSectionRecord.d.ts +225 -0
- package/dist/records-v2/QaRubricSectionRecord.js +308 -0
- package/dist/records-v2/index.d.ts +4 -0
- package/dist/records-v2/index.js +13 -1
- package/package.json +1 -1
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QaRubricSection Record Wrapper
|
|
3
|
+
*
|
|
4
|
+
* Provides typed action methods and link management.
|
|
5
|
+
* Works with both ApiProvider and DbProvider.
|
|
6
|
+
*
|
|
7
|
+
* All action methods return an ActionBuilder or FlowBuilder.
|
|
8
|
+
* Call .execute() to run or .dryRun() to get the payload for debugging.
|
|
9
|
+
*
|
|
10
|
+
* Can be instantiated with null record for create operations:
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const record = odinClient.qaRubricSections.new();
|
|
13
|
+
* await record.createQaRubricSection({ ... }).execute();
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* Entity Types: DEFAULT
|
|
17
|
+
*
|
|
18
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
|
+
*/
|
|
20
|
+
import { OdinRecord, OdinRecordLinkDto } from '@d19n/odin-types/dist/core';
|
|
21
|
+
import { PipelineStageEntity } from '@d19n/odin-types/dist/core';
|
|
22
|
+
import { IDbRecordCreateUpdateRes } from '@d19n/odin-types/dist/core/interfaces/v1.db.interfaces';
|
|
23
|
+
import { IOdinProvider } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
24
|
+
import { RecordLinkManager } from '@d19n/odin-sdk-generator/dist/record-link-manager';
|
|
25
|
+
import { QaRubricSectionProperties } from '../entities-v2/QaRubricSection';
|
|
26
|
+
import { UpdateQaRubricSectionProperties } from '../actions-v2/UpdateQaRubricSectionDto';
|
|
27
|
+
import { QaRubricRecord } from './QaRubricRecord';
|
|
28
|
+
import { QaRubricItemRecord } from './QaRubricItemRecord';
|
|
29
|
+
/** Valid entity types for QaRubricSection */
|
|
30
|
+
export declare type QaRubricSectionType = 'DEFAULT';
|
|
31
|
+
/**
|
|
32
|
+
* Builder for action execution with dryRun support
|
|
33
|
+
*
|
|
34
|
+
* Provides a consistent API across all action types:
|
|
35
|
+
* - `.execute()` - Execute the action and return results
|
|
36
|
+
* - `.dryRun()` - Return the payload without executing (for debugging)
|
|
37
|
+
*/
|
|
38
|
+
declare class ActionBuilder<T = IDbRecordCreateUpdateRes[]> {
|
|
39
|
+
private _provider;
|
|
40
|
+
private _moduleName;
|
|
41
|
+
private _entityName;
|
|
42
|
+
private _payload;
|
|
43
|
+
private _clearPendingLinks;
|
|
44
|
+
constructor(provider: IOdinProvider, moduleName: string, entityName: string, payload: Record<string, any>, clearPendingLinks: () => void);
|
|
45
|
+
/**
|
|
46
|
+
* Set an external system identifier for this record.
|
|
47
|
+
* Links the record to a corresponding entry in an external application.
|
|
48
|
+
*
|
|
49
|
+
* @param externalId - The ID in the external system
|
|
50
|
+
* @param externalAppId - The external application identifier
|
|
51
|
+
* @returns this (for chaining)
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* await record.createOrder({ ... }).withExternalId('SF-123', 'salesforce').execute();
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
withExternalId(externalId: string, externalAppId: string): this;
|
|
59
|
+
/**
|
|
60
|
+
* Set security/access groups for this record.
|
|
61
|
+
* Controls which user groups can access the record.
|
|
62
|
+
*
|
|
63
|
+
* @param groups - Array of group names
|
|
64
|
+
* @returns this (for chaining)
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```typescript
|
|
68
|
+
* await record.createOrder({ ... }).withGroups(['TenantA', 'BillingTeam']).execute();
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
withGroups(groups: string[]): this;
|
|
72
|
+
/**
|
|
73
|
+
* Execute the action
|
|
74
|
+
* @returns The result from the API
|
|
75
|
+
*/
|
|
76
|
+
execute(): Promise<T>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the request payload without executing (for debugging)
|
|
79
|
+
* @returns The request payload that would be sent to the API
|
|
80
|
+
*/
|
|
81
|
+
dryRun(): Record<string, any>;
|
|
82
|
+
/**
|
|
83
|
+
* Prevents accidental `await actionBuilder` without .execute()
|
|
84
|
+
* Forces developers to explicitly call .execute()
|
|
85
|
+
* @throws Error always - use .execute() or .dryRun() instead
|
|
86
|
+
*/
|
|
87
|
+
then(): never;
|
|
88
|
+
}
|
|
89
|
+
export declare class QaRubricSectionRecord<TProps = QaRubricSectionProperties> {
|
|
90
|
+
private _record;
|
|
91
|
+
private _provider;
|
|
92
|
+
private _pendingLinks;
|
|
93
|
+
private _preGeneratedId;
|
|
94
|
+
private _qaRubrics?;
|
|
95
|
+
private _qaRubricItems?;
|
|
96
|
+
/**
|
|
97
|
+
* Create a record wrapper.
|
|
98
|
+
* @param record - The underlying record, or null for create operations
|
|
99
|
+
* @param provider - The API or DB provider
|
|
100
|
+
* @param preGeneratedId - Optional pre-generated ID for new records (auto-generated if not provided)
|
|
101
|
+
*/
|
|
102
|
+
constructor(record: OdinRecord<TProps> | null, provider: IOdinProvider, preGeneratedId?: string);
|
|
103
|
+
/** Returns true if this is a new (unsaved) record */
|
|
104
|
+
get isNew(): boolean;
|
|
105
|
+
/** Record ID - always available (pre-generated for new records) */
|
|
106
|
+
get id(): string;
|
|
107
|
+
get entity(): string;
|
|
108
|
+
get type(): QaRubricSectionType | undefined;
|
|
109
|
+
/** Record properties - empty object for new (unsaved) records */
|
|
110
|
+
get properties(): TProps;
|
|
111
|
+
get title(): string | undefined;
|
|
112
|
+
get recordNumber(): string | undefined;
|
|
113
|
+
get stage(): PipelineStageEntity | undefined;
|
|
114
|
+
get createdAt(): string | undefined;
|
|
115
|
+
get updatedAt(): string | undefined;
|
|
116
|
+
get externalId(): string | undefined;
|
|
117
|
+
get externalAppId(): string | undefined;
|
|
118
|
+
get groups(): string[];
|
|
119
|
+
/** Link metadata - populated only when the read passed withLinks (empty otherwise) */
|
|
120
|
+
get links(): OdinRecord<TProps>['links'];
|
|
121
|
+
/** Access the underlying OdinRecord (null for new records) */
|
|
122
|
+
get record(): OdinRecord<TProps> | null;
|
|
123
|
+
/**
|
|
124
|
+
* Type guard: check if this record is of type DEFAULT
|
|
125
|
+
*
|
|
126
|
+
* When this returns true, TypeScript automatically narrows the type,
|
|
127
|
+
* giving you access to DEFAULT-specific properties.
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* ```typescript
|
|
131
|
+
* if (record.isDefault()) {
|
|
132
|
+
* // TypeScript knows record.properties is QaRubricSectionProperties
|
|
133
|
+
* console.log(record.properties.SomeTypeSpecificField);
|
|
134
|
+
* }
|
|
135
|
+
* ```
|
|
136
|
+
* @remarks This is the default record type
|
|
137
|
+
*/
|
|
138
|
+
isDefault(): this is QaRubricSectionRecord<QaRubricSectionProperties>;
|
|
139
|
+
/** Valid labels for QaRubric associations */
|
|
140
|
+
static readonly qaRubricsLabels: readonly ["Rubric__Section"];
|
|
141
|
+
/**
|
|
142
|
+
* Access linked QaRubric records
|
|
143
|
+
* @remarks Available labels: Rubric__Section
|
|
144
|
+
* @throws Error if called on a new (unsaved) record
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* ```typescript
|
|
148
|
+
* // Get all linked QaRubric records
|
|
149
|
+
* const items = await record.qaRubrics.list();
|
|
150
|
+
* const first = await record.qaRubrics.first();
|
|
151
|
+
*
|
|
152
|
+
* // Filter by label
|
|
153
|
+
* const specific = await record.qaRubrics.first({ label: 'Rubric__Section' });
|
|
154
|
+
* ```
|
|
155
|
+
*/
|
|
156
|
+
get qaRubrics(): RecordLinkManager<QaRubricRecord, typeof QaRubricSectionRecord['qaRubricsLabels'][number]>;
|
|
157
|
+
/** Valid labels for QaRubricItem associations */
|
|
158
|
+
static readonly qaRubricItemsLabels: readonly ["Section__Item"];
|
|
159
|
+
/**
|
|
160
|
+
* Access linked QaRubricItem records
|
|
161
|
+
* @remarks Available labels: Section__Item
|
|
162
|
+
* @throws Error if called on a new (unsaved) record
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* ```typescript
|
|
166
|
+
* // Get all linked QaRubricItem records
|
|
167
|
+
* const items = await record.qaRubricItems.list();
|
|
168
|
+
* const first = await record.qaRubricItems.first();
|
|
169
|
+
*
|
|
170
|
+
* // Filter by label
|
|
171
|
+
* const specific = await record.qaRubricItems.first({ label: 'Section__Item' });
|
|
172
|
+
* ```
|
|
173
|
+
*/
|
|
174
|
+
get qaRubricItems(): RecordLinkManager<QaRubricItemRecord, typeof QaRubricSectionRecord['qaRubricItemsLabels'][number]>;
|
|
175
|
+
/**
|
|
176
|
+
* Queue a link to be created with the next action.
|
|
177
|
+
* Works for both create and update actions.
|
|
178
|
+
* @returns this (for chaining)
|
|
179
|
+
*/
|
|
180
|
+
link(target: OdinRecord<any> | {
|
|
181
|
+
id: string;
|
|
182
|
+
entity: string;
|
|
183
|
+
}): this;
|
|
184
|
+
/** Get the currently queued links */
|
|
185
|
+
get pendingLinks(): OdinRecordLinkDto[];
|
|
186
|
+
/** Clear pending links without executing an action */
|
|
187
|
+
clearPendingLinks(): this;
|
|
188
|
+
/**
|
|
189
|
+
* Immediately unlink a record (API call).
|
|
190
|
+
* Unlike link(), this executes immediately.
|
|
191
|
+
* @throws Error if called on a new (unsaved) record
|
|
192
|
+
*/
|
|
193
|
+
unlink(target: OdinRecord<any> | {
|
|
194
|
+
id: string;
|
|
195
|
+
} | string): Promise<void>;
|
|
196
|
+
/**
|
|
197
|
+
* UpdateQaRubricSection
|
|
198
|
+
*
|
|
199
|
+
* Updates this QaRubricSection record with the specified properties.
|
|
200
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
201
|
+
*
|
|
202
|
+
* @param properties - Required properties for this action
|
|
203
|
+
* @param options - Optional settings
|
|
204
|
+
* @param options.journeyId - Associate with a journey
|
|
205
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
206
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
207
|
+
* @throws Error if called on a new (unsaved) record
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* ```typescript
|
|
211
|
+
* const record = await odinClient.qaRubricSections.get(id);
|
|
212
|
+
* await record.updateQaRubricSection({ ... }).execute();
|
|
213
|
+
*
|
|
214
|
+
* // Dry run (for debugging)
|
|
215
|
+
* const payload = record.updateQaRubricSection({ ... }).dryRun();
|
|
216
|
+
* ```
|
|
217
|
+
*/
|
|
218
|
+
updateQaRubricSection(properties: UpdateQaRubricSectionProperties, options?: {
|
|
219
|
+
journeyId?: string;
|
|
220
|
+
stageKey?: string;
|
|
221
|
+
}): ActionBuilder;
|
|
222
|
+
}
|
|
223
|
+
/** Type guard to check if an object is a QaRubricSectionRecord */
|
|
224
|
+
export declare function isQaRubricSectionRecord(obj: any): obj is QaRubricSectionRecord;
|
|
225
|
+
export {};
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* QaRubricSection Record Wrapper
|
|
4
|
+
*
|
|
5
|
+
* Provides typed action methods and link management.
|
|
6
|
+
* Works with both ApiProvider and DbProvider.
|
|
7
|
+
*
|
|
8
|
+
* All action methods return an ActionBuilder or FlowBuilder.
|
|
9
|
+
* Call .execute() to run or .dryRun() to get the payload for debugging.
|
|
10
|
+
*
|
|
11
|
+
* Can be instantiated with null record for create operations:
|
|
12
|
+
* ```typescript
|
|
13
|
+
* const record = odinClient.qaRubricSections.new();
|
|
14
|
+
* await record.createQaRubricSection({ ... }).execute();
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Entity Types: DEFAULT
|
|
18
|
+
*
|
|
19
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
20
|
+
*/
|
|
21
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
+
exports.isQaRubricSectionRecord = exports.QaRubricSectionRecord = void 0;
|
|
32
|
+
const uuid_1 = require("uuid");
|
|
33
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
34
|
+
const record_link_manager_1 = require("@d19n/odin-sdk-generator/dist/record-link-manager");
|
|
35
|
+
const QaRubricRecord_1 = require("./QaRubricRecord");
|
|
36
|
+
const QaRubricItemRecord_1 = require("./QaRubricItemRecord");
|
|
37
|
+
/**
|
|
38
|
+
* Builder for action execution with dryRun support
|
|
39
|
+
*
|
|
40
|
+
* Provides a consistent API across all action types:
|
|
41
|
+
* - `.execute()` - Execute the action and return results
|
|
42
|
+
* - `.dryRun()` - Return the payload without executing (for debugging)
|
|
43
|
+
*/
|
|
44
|
+
class ActionBuilder {
|
|
45
|
+
constructor(provider, moduleName, entityName, payload, clearPendingLinks) {
|
|
46
|
+
this._provider = provider;
|
|
47
|
+
this._moduleName = moduleName;
|
|
48
|
+
this._entityName = entityName;
|
|
49
|
+
this._payload = payload;
|
|
50
|
+
this._clearPendingLinks = clearPendingLinks;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Set an external system identifier for this record.
|
|
54
|
+
* Links the record to a corresponding entry in an external application.
|
|
55
|
+
*
|
|
56
|
+
* @param externalId - The ID in the external system
|
|
57
|
+
* @param externalAppId - The external application identifier
|
|
58
|
+
* @returns this (for chaining)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* await record.createOrder({ ... }).withExternalId('SF-123', 'salesforce').execute();
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
withExternalId(externalId, externalAppId) {
|
|
66
|
+
this._payload.externalId = externalId;
|
|
67
|
+
this._payload.externalAppId = externalAppId;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Set security/access groups for this record.
|
|
72
|
+
* Controls which user groups can access the record.
|
|
73
|
+
*
|
|
74
|
+
* @param groups - Array of group names
|
|
75
|
+
* @returns this (for chaining)
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```typescript
|
|
79
|
+
* await record.createOrder({ ... }).withGroups(['TenantA', 'BillingTeam']).execute();
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
withGroups(groups) {
|
|
83
|
+
this._payload.groups = groups;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Execute the action
|
|
88
|
+
* @returns The result from the API
|
|
89
|
+
*/
|
|
90
|
+
execute() {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const result = yield this._provider._applyAction(this._moduleName, this._entityName, this._payload);
|
|
93
|
+
this._clearPendingLinks();
|
|
94
|
+
return result;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns the request payload without executing (for debugging)
|
|
99
|
+
* @returns The request payload that would be sent to the API
|
|
100
|
+
*/
|
|
101
|
+
dryRun() {
|
|
102
|
+
return this._payload;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Prevents accidental `await actionBuilder` without .execute()
|
|
106
|
+
* Forces developers to explicitly call .execute()
|
|
107
|
+
* @throws Error always - use .execute() or .dryRun() instead
|
|
108
|
+
*/
|
|
109
|
+
then() {
|
|
110
|
+
throw new Error('ActionBuilder cannot be awaited directly. Call .execute() to run the action or .dryRun() to get the payload.');
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
class QaRubricSectionRecord {
|
|
114
|
+
/**
|
|
115
|
+
* Create a record wrapper.
|
|
116
|
+
* @param record - The underlying record, or null for create operations
|
|
117
|
+
* @param provider - The API or DB provider
|
|
118
|
+
* @param preGeneratedId - Optional pre-generated ID for new records (auto-generated if not provided)
|
|
119
|
+
*/
|
|
120
|
+
constructor(record, provider, preGeneratedId) {
|
|
121
|
+
this._pendingLinks = [];
|
|
122
|
+
this._record = record;
|
|
123
|
+
this._provider = provider;
|
|
124
|
+
this._preGeneratedId = preGeneratedId !== null && preGeneratedId !== void 0 ? preGeneratedId : (0, uuid_1.v4)();
|
|
125
|
+
}
|
|
126
|
+
// ============================================
|
|
127
|
+
// CORE PROPERTIES
|
|
128
|
+
// ============================================
|
|
129
|
+
/** Returns true if this is a new (unsaved) record */
|
|
130
|
+
get isNew() { var _a; return !((_a = this._record) === null || _a === void 0 ? void 0 : _a.id); }
|
|
131
|
+
/** Record ID - always available (pre-generated for new records) */
|
|
132
|
+
get id() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : this._preGeneratedId; }
|
|
133
|
+
get entity() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.entity) !== null && _b !== void 0 ? _b : 'SupportModule:QaRubricSection'; }
|
|
134
|
+
get type() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.type; }
|
|
135
|
+
/** Record properties - empty object for new (unsaved) records */
|
|
136
|
+
get properties() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.properties) || {}; }
|
|
137
|
+
get title() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.title; }
|
|
138
|
+
get recordNumber() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.recordNumber; }
|
|
139
|
+
get stage() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.stage; }
|
|
140
|
+
get createdAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.createdAt; }
|
|
141
|
+
get updatedAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.updatedAt; }
|
|
142
|
+
get externalId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalId; }
|
|
143
|
+
get externalAppId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalAppId; }
|
|
144
|
+
get groups() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.groups) || []; }
|
|
145
|
+
/** Link metadata - populated only when the read passed withLinks (empty otherwise) */
|
|
146
|
+
get links() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.links) !== null && _b !== void 0 ? _b : []; }
|
|
147
|
+
/** Access the underlying OdinRecord (null for new records) */
|
|
148
|
+
get record() { return this._record; }
|
|
149
|
+
// ============================================
|
|
150
|
+
// TYPE GUARDS (with TypeScript type predicates)
|
|
151
|
+
// ============================================
|
|
152
|
+
/**
|
|
153
|
+
* Type guard: check if this record is of type DEFAULT
|
|
154
|
+
*
|
|
155
|
+
* When this returns true, TypeScript automatically narrows the type,
|
|
156
|
+
* giving you access to DEFAULT-specific properties.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```typescript
|
|
160
|
+
* if (record.isDefault()) {
|
|
161
|
+
* // TypeScript knows record.properties is QaRubricSectionProperties
|
|
162
|
+
* console.log(record.properties.SomeTypeSpecificField);
|
|
163
|
+
* }
|
|
164
|
+
* ```
|
|
165
|
+
* @remarks This is the default record type
|
|
166
|
+
*/
|
|
167
|
+
isDefault() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'DEFAULT'; }
|
|
168
|
+
/**
|
|
169
|
+
* Access linked QaRubric records
|
|
170
|
+
* @remarks Available labels: Rubric__Section
|
|
171
|
+
* @throws Error if called on a new (unsaved) record
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```typescript
|
|
175
|
+
* // Get all linked QaRubric records
|
|
176
|
+
* const items = await record.qaRubrics.list();
|
|
177
|
+
* const first = await record.qaRubrics.first();
|
|
178
|
+
*
|
|
179
|
+
* // Filter by label
|
|
180
|
+
* const specific = await record.qaRubrics.first({ label: 'Rubric__Section' });
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
get qaRubrics() {
|
|
184
|
+
var _a;
|
|
185
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
186
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
187
|
+
if (!this._qaRubrics) {
|
|
188
|
+
this._qaRubrics = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
189
|
+
sourceEntity: 'SupportModule:QaRubricSection',
|
|
190
|
+
targetEntity: 'SupportModule:QaRubric',
|
|
191
|
+
targetModuleName: 'SupportModule',
|
|
192
|
+
targetEntityName: 'QaRubric',
|
|
193
|
+
labels: ['Rubric__Section'],
|
|
194
|
+
}, QaRubricRecord_1.QaRubricRecord);
|
|
195
|
+
}
|
|
196
|
+
return this._qaRubrics;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Access linked QaRubricItem records
|
|
200
|
+
* @remarks Available labels: Section__Item
|
|
201
|
+
* @throws Error if called on a new (unsaved) record
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
* ```typescript
|
|
205
|
+
* // Get all linked QaRubricItem records
|
|
206
|
+
* const items = await record.qaRubricItems.list();
|
|
207
|
+
* const first = await record.qaRubricItems.first();
|
|
208
|
+
*
|
|
209
|
+
* // Filter by label
|
|
210
|
+
* const specific = await record.qaRubricItems.first({ label: 'Section__Item' });
|
|
211
|
+
* ```
|
|
212
|
+
*/
|
|
213
|
+
get qaRubricItems() {
|
|
214
|
+
var _a;
|
|
215
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
216
|
+
throw new Error('Cannot access links on a new (unsaved) record');
|
|
217
|
+
if (!this._qaRubricItems) {
|
|
218
|
+
this._qaRubricItems = new record_link_manager_1.RecordLinkManager(this._provider, this._record, {
|
|
219
|
+
sourceEntity: 'SupportModule:QaRubricSection',
|
|
220
|
+
targetEntity: 'SupportModule:QaRubricItem',
|
|
221
|
+
targetModuleName: 'SupportModule',
|
|
222
|
+
targetEntityName: 'QaRubricItem',
|
|
223
|
+
labels: ['Section__Item'],
|
|
224
|
+
}, QaRubricItemRecord_1.QaRubricItemRecord);
|
|
225
|
+
}
|
|
226
|
+
return this._qaRubricItems;
|
|
227
|
+
}
|
|
228
|
+
// ============================================
|
|
229
|
+
// LINK MANAGEMENT
|
|
230
|
+
// ============================================
|
|
231
|
+
/**
|
|
232
|
+
* Queue a link to be created with the next action.
|
|
233
|
+
* Works for both create and update actions.
|
|
234
|
+
* @returns this (for chaining)
|
|
235
|
+
*/
|
|
236
|
+
link(target) {
|
|
237
|
+
this._pendingLinks.push(new core_1.OdinRecordLinkDto({ id: target.id, entity: target.entity }));
|
|
238
|
+
return this;
|
|
239
|
+
}
|
|
240
|
+
/** Get the currently queued links */
|
|
241
|
+
get pendingLinks() {
|
|
242
|
+
return [...this._pendingLinks];
|
|
243
|
+
}
|
|
244
|
+
/** Clear pending links without executing an action */
|
|
245
|
+
clearPendingLinks() {
|
|
246
|
+
this._pendingLinks = [];
|
|
247
|
+
return this;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Immediately unlink a record (API call).
|
|
251
|
+
* Unlike link(), this executes immediately.
|
|
252
|
+
* @throws Error if called on a new (unsaved) record
|
|
253
|
+
*/
|
|
254
|
+
unlink(target) {
|
|
255
|
+
var _a;
|
|
256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
258
|
+
throw new Error('Cannot unlink from a new (unsaved) record');
|
|
259
|
+
const targetId = typeof target === 'string' ? target : target.id;
|
|
260
|
+
yield this._provider._deleteLinks('SupportModule', 'QaRubricSection', this._record.id, targetId);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
// ============================================
|
|
264
|
+
// UPDATE ACTIONS (require existing record)
|
|
265
|
+
// ============================================
|
|
266
|
+
/**
|
|
267
|
+
* UpdateQaRubricSection
|
|
268
|
+
*
|
|
269
|
+
* Updates this QaRubricSection record with the specified properties.
|
|
270
|
+
* Returns an ActionBuilder - call .execute() to update or .dryRun() for debugging.
|
|
271
|
+
*
|
|
272
|
+
* @param properties - Required properties for this action
|
|
273
|
+
* @param options - Optional settings
|
|
274
|
+
* @param options.journeyId - Associate with a journey
|
|
275
|
+
* @param options.stageKey - Transition to pipeline stage
|
|
276
|
+
* @returns ActionBuilder - call .execute() to update or .dryRun() for payload
|
|
277
|
+
* @throws Error if called on a new (unsaved) record
|
|
278
|
+
*
|
|
279
|
+
* @example
|
|
280
|
+
* ```typescript
|
|
281
|
+
* const record = await odinClient.qaRubricSections.get(id);
|
|
282
|
+
* await record.updateQaRubricSection({ ... }).execute();
|
|
283
|
+
*
|
|
284
|
+
* // Dry run (for debugging)
|
|
285
|
+
* const payload = record.updateQaRubricSection({ ... }).dryRun();
|
|
286
|
+
* ```
|
|
287
|
+
*/
|
|
288
|
+
updateQaRubricSection(properties, options) {
|
|
289
|
+
var _a;
|
|
290
|
+
if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
|
|
291
|
+
throw new Error('updateQaRubricSection requires an existing record. Use accessor.get() first.');
|
|
292
|
+
const payload = Object.assign({ id: this._record.id, entity: this._record.entity, type: this._record.type, actionName: 'UpdateQaRubricSection', properties, associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined }, options);
|
|
293
|
+
return new ActionBuilder(this._provider, 'SupportModule', 'QaRubricSection', payload, () => { this._pendingLinks = []; });
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
exports.QaRubricSectionRecord = QaRubricSectionRecord;
|
|
297
|
+
// ============================================
|
|
298
|
+
// TYPED LINK ACCESSORS
|
|
299
|
+
// ============================================
|
|
300
|
+
/** Valid labels for QaRubric associations */
|
|
301
|
+
QaRubricSectionRecord.qaRubricsLabels = ['Rubric__Section'];
|
|
302
|
+
/** Valid labels for QaRubricItem associations */
|
|
303
|
+
QaRubricSectionRecord.qaRubricItemsLabels = ['Section__Item'];
|
|
304
|
+
/** Type guard to check if an object is a QaRubricSectionRecord */
|
|
305
|
+
function isQaRubricSectionRecord(obj) {
|
|
306
|
+
return obj instanceof QaRubricSectionRecord;
|
|
307
|
+
}
|
|
308
|
+
exports.isQaRubricSectionRecord = isQaRubricSectionRecord;
|
|
@@ -126,6 +126,10 @@ export { PriceBookRecord, isPriceBookRecord } from './PriceBookRecord';
|
|
|
126
126
|
export { ScheduleSlotRecord, isScheduleSlotRecord } from './ScheduleSlotRecord';
|
|
127
127
|
export { AgentStatusRecord, isAgentStatusRecord } from './AgentStatusRecord';
|
|
128
128
|
export { NotificationTemplateRecord, isNotificationTemplateRecord } from './NotificationTemplateRecord';
|
|
129
|
+
export { QaAutoFailRecord, isQaAutoFailRecord } from './QaAutoFailRecord';
|
|
130
|
+
export { QaRubricRecord, isQaRubricRecord } from './QaRubricRecord';
|
|
131
|
+
export { QaRubricItemRecord, isQaRubricItemRecord } from './QaRubricItemRecord';
|
|
132
|
+
export { QaRubricSectionRecord, isQaRubricSectionRecord } from './QaRubricSectionRecord';
|
|
129
133
|
export { ServiceRecord, isServiceRecord } from './ServiceRecord';
|
|
130
134
|
export { SmsTemplateRecord, isSmsTemplateRecord } from './SmsTemplateRecord';
|
|
131
135
|
export { VisitRecord, isVisitRecord } from './VisitRecord';
|
package/dist/records-v2/index.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaym
|
|
|
15
15
|
exports.isCustomerDeviceOntRecord = exports.CustomerDeviceOntRecord = exports.isCustomerDeviceConfigurationRecord = exports.CustomerDeviceConfigurationRecord = exports.isCustomerDeviceRecord = exports.CustomerDeviceRecord = exports.isConversationSummaryFeedbackRecord = exports.ConversationSummaryFeedbackRecord = exports.isContactIdentityRecord = exports.ContactIdentityRecord = exports.isConfigRecord = exports.ConfigRecord = exports.isMessageRecord = exports.MessageRecord = exports.isOrderKciRecord = exports.OrderKciRecord = exports.isRewardRecord = exports.RewardRecord = exports.isContactRecord = exports.ContactRecord = exports.isCallRecord = exports.CallRecord = exports.isTwilioCallEventRecord = exports.TwilioCallEventRecord = exports.isProductRecord = exports.ProductRecord = exports.isBrskEntityMigrationErrorRecord = exports.BrskEntityMigrationErrorRecord = exports.isBngProvisionRecord = exports.BngProvisionRecord = exports.isPgFileAllocationRecord = exports.PgFileAllocationRecord = exports.isAppointmentRecord = exports.AppointmentRecord = exports.isEmailRecord = exports.EmailRecord = exports.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldVisitOutcomeFormRecord = exports.YfFieldVisitOutcomeFormRecord = exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = void 0;
|
|
16
16
|
exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isSmsMessageRecord = exports.SmsMessageRecord = exports.isOutboundDialSessionRecord = exports.OutboundDialSessionRecord = exports.isOutboundDialCampaignRecord = exports.OutboundDialCampaignRecord = exports.isReferralRecord = exports.ReferralRecord = exports.isOrderCheckRecord = exports.OrderCheckRecord = exports.isCampaignRecord = exports.CampaignRecord = exports.isOneTouchSwitchRecord = exports.OneTouchSwitchRecord = exports.isOfferTemplateRecord = exports.OfferTemplateRecord = exports.isReturnsRecord = exports.ReturnsRecord = exports.isNetworkDeviceRecord = exports.NetworkDeviceRecord = exports.isModifyServiceRequestRecord = exports.ModifyServiceRequestRecord = exports.isLeadRecord = exports.LeadRecord = exports.isInvoiceItemRecord = exports.InvoiceItemRecord = exports.isImpersonationTrackerRecord = exports.ImpersonationTrackerRecord = exports.isActivityRecord = exports.ActivityRecord = exports.isFileRecord = exports.FileRecord = exports.isFieldServiceProductRecord = exports.FieldServiceProductRecord = exports.isFieldServiceDispatchedProductRecord = exports.FieldServiceDispatchedProductRecord = exports.isExchangeRecord = exports.ExchangeRecord = exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = void 0;
|
|
17
17
|
exports.isYfAgentLocationRecord = exports.YfAgentLocationRecord = exports.isWorkOrderStatusUpdateRecord = exports.WorkOrderStatusUpdateRecord = exports.isWayleaveAuditRecord = exports.WayleaveAuditRecord = exports.isUserRecord = exports.UserRecord = exports.isTwilioWorkerRecord = exports.TwilioWorkerRecord = exports.isTwilioUserUpdateRecord = exports.TwilioUserUpdateRecord = exports.isTwilioTaskQueueRecord = exports.TwilioTaskQueueRecord = exports.isTwilioActivityRecord = exports.TwilioActivityRecord = exports.isTimeSlotRecord = exports.TimeSlotRecord = exports.isTeamRecord = exports.TeamRecord = exports.isSalesTerritoryRecord = exports.SalesTerritoryRecord = exports.isRegionRecord = exports.RegionRecord = exports.isVoiceConfigurationRecord = exports.VoiceConfigurationRecord = exports.isOrderItemRecord = exports.OrderItemRecord = exports.isRecontractRecord = exports.RecontractRecord = exports.isQaReportRecord = exports.QaReportRecord = exports.isPushNotificationRecord = exports.PushNotificationRecord = exports.isPgWebhookRecord = exports.PgWebhookRecord = exports.isPgWebhookAttemptRecord = exports.PgWebhookAttemptRecord = exports.isPgAccountValidationRecord = exports.PgAccountValidationRecord = exports.isPgTransactionRecord = exports.PgTransactionRecord = exports.isPgSortCodeSubstitutionRecord = exports.PgSortCodeSubstitutionRecord = exports.isPgVocalinkRecord = exports.PgVocalinkRecord = exports.isPgDirectDebitFileRecord = exports.PgDirectDebitFileRecord = exports.isPgReportEventRecord = exports.PgReportEventRecord = void 0;
|
|
18
|
-
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = exports.isAgentStatusRecord = exports.AgentStatusRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = exports.isOverlayRealA55Record = exports.OverlayRealA55Record = exports.isOfferRecord = exports.OfferRecord = exports.isServiceAppointmentRecord = exports.ServiceAppointmentRecord = exports.isOutageRecord = exports.OutageRecord = exports.isSiteSpecificRiskAssessmentOutcomeFormRecord = exports.SiteSpecificRiskAssessmentOutcomeFormRecord = exports.isRemediationRequiredReasonRecord = exports.RemediationRequiredReasonRecord = exports.isKnowledgeArticleRecord = exports.KnowledgeArticleRecord = exports.isInvoiceRecord = exports.InvoiceRecord = exports.isDiscountRecord = exports.DiscountRecord = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = void 0;
|
|
18
|
+
exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isQaRubricSectionRecord = exports.QaRubricSectionRecord = exports.isQaRubricItemRecord = exports.QaRubricItemRecord = exports.isQaRubricRecord = exports.QaRubricRecord = exports.isQaAutoFailRecord = exports.QaAutoFailRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = exports.isAgentStatusRecord = exports.AgentStatusRecord = exports.isScheduleSlotRecord = exports.ScheduleSlotRecord = exports.isPriceBookRecord = exports.PriceBookRecord = exports.isOverlayRealA55Record = exports.OverlayRealA55Record = exports.isOfferRecord = exports.OfferRecord = exports.isServiceAppointmentRecord = exports.ServiceAppointmentRecord = exports.isOutageRecord = exports.OutageRecord = exports.isSiteSpecificRiskAssessmentOutcomeFormRecord = exports.SiteSpecificRiskAssessmentOutcomeFormRecord = exports.isRemediationRequiredReasonRecord = exports.RemediationRequiredReasonRecord = exports.isKnowledgeArticleRecord = exports.KnowledgeArticleRecord = exports.isInvoiceRecord = exports.InvoiceRecord = exports.isDiscountRecord = exports.DiscountRecord = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = void 0;
|
|
19
19
|
var OrderRecord_1 = require("./OrderRecord");
|
|
20
20
|
Object.defineProperty(exports, "OrderRecord", { enumerable: true, get: function () { return OrderRecord_1.OrderRecord; } });
|
|
21
21
|
Object.defineProperty(exports, "isOrderRecord", { enumerable: true, get: function () { return OrderRecord_1.isOrderRecord; } });
|
|
@@ -367,6 +367,18 @@ Object.defineProperty(exports, "isAgentStatusRecord", { enumerable: true, get: f
|
|
|
367
367
|
var NotificationTemplateRecord_1 = require("./NotificationTemplateRecord");
|
|
368
368
|
Object.defineProperty(exports, "NotificationTemplateRecord", { enumerable: true, get: function () { return NotificationTemplateRecord_1.NotificationTemplateRecord; } });
|
|
369
369
|
Object.defineProperty(exports, "isNotificationTemplateRecord", { enumerable: true, get: function () { return NotificationTemplateRecord_1.isNotificationTemplateRecord; } });
|
|
370
|
+
var QaAutoFailRecord_1 = require("./QaAutoFailRecord");
|
|
371
|
+
Object.defineProperty(exports, "QaAutoFailRecord", { enumerable: true, get: function () { return QaAutoFailRecord_1.QaAutoFailRecord; } });
|
|
372
|
+
Object.defineProperty(exports, "isQaAutoFailRecord", { enumerable: true, get: function () { return QaAutoFailRecord_1.isQaAutoFailRecord; } });
|
|
373
|
+
var QaRubricRecord_1 = require("./QaRubricRecord");
|
|
374
|
+
Object.defineProperty(exports, "QaRubricRecord", { enumerable: true, get: function () { return QaRubricRecord_1.QaRubricRecord; } });
|
|
375
|
+
Object.defineProperty(exports, "isQaRubricRecord", { enumerable: true, get: function () { return QaRubricRecord_1.isQaRubricRecord; } });
|
|
376
|
+
var QaRubricItemRecord_1 = require("./QaRubricItemRecord");
|
|
377
|
+
Object.defineProperty(exports, "QaRubricItemRecord", { enumerable: true, get: function () { return QaRubricItemRecord_1.QaRubricItemRecord; } });
|
|
378
|
+
Object.defineProperty(exports, "isQaRubricItemRecord", { enumerable: true, get: function () { return QaRubricItemRecord_1.isQaRubricItemRecord; } });
|
|
379
|
+
var QaRubricSectionRecord_1 = require("./QaRubricSectionRecord");
|
|
380
|
+
Object.defineProperty(exports, "QaRubricSectionRecord", { enumerable: true, get: function () { return QaRubricSectionRecord_1.QaRubricSectionRecord; } });
|
|
381
|
+
Object.defineProperty(exports, "isQaRubricSectionRecord", { enumerable: true, get: function () { return QaRubricSectionRecord_1.isQaRubricSectionRecord; } });
|
|
370
382
|
var ServiceRecord_1 = require("./ServiceRecord");
|
|
371
383
|
Object.defineProperty(exports, "ServiceRecord", { enumerable: true, get: function () { return ServiceRecord_1.ServiceRecord; } });
|
|
372
384
|
Object.defineProperty(exports, "isServiceRecord", { enumerable: true, get: function () { return ServiceRecord_1.isServiceRecord; } });
|