@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,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QaRubricSection Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to QaRubricSection records via API.
|
|
5
|
+
* Returns wrapped records with typed action methods.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```typescript
|
|
9
|
+
* // Get existing record
|
|
10
|
+
* const record = await accessor.get(id);
|
|
11
|
+
* await record.updateQaRubricSection({ ... });
|
|
12
|
+
*
|
|
13
|
+
* // Create new record
|
|
14
|
+
* const newRecord = accessor.new();
|
|
15
|
+
* await newRecord.createQaRubricSection({ ... });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
19
|
+
*/
|
|
20
|
+
import { OdinSearchV2 } from '@d19n/odin-types/dist/core';
|
|
21
|
+
import { ApiProvider } from '@d19n/odin-sdk-generator/dist/api.provider';
|
|
22
|
+
import { OauthParams } from '@d19n/odin-sdk-generator/dist/odin-sdk-types';
|
|
23
|
+
import { QueryBuilder } from '@d19n/odin-sdk-generator/dist/query-builder';
|
|
24
|
+
import { QaRubricSectionProperties } from '../entities-v2/QaRubricSection';
|
|
25
|
+
import { QaRubricSectionRecord } from '../records-v2/QaRubricSectionRecord';
|
|
26
|
+
/** List response with wrapped records */
|
|
27
|
+
export interface QaRubricSectionListResponse {
|
|
28
|
+
data: QaRubricSectionRecord[];
|
|
29
|
+
hasMore: boolean;
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
}
|
|
32
|
+
/** Search response with wrapped records */
|
|
33
|
+
export interface QaRubricSectionSearchResponse {
|
|
34
|
+
records: QaRubricSectionRecord[];
|
|
35
|
+
totalRecords: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
aggregations?: Record<string, any>;
|
|
38
|
+
}
|
|
39
|
+
export declare class QaRubricSectionAccessor {
|
|
40
|
+
private readonly _provider;
|
|
41
|
+
private readonly _moduleName;
|
|
42
|
+
private readonly _entityName;
|
|
43
|
+
constructor(provider: ApiProvider);
|
|
44
|
+
constructor(authParams: OauthParams);
|
|
45
|
+
constructor(authToken: string, host?: string);
|
|
46
|
+
get moduleName(): string;
|
|
47
|
+
get entityName(): string;
|
|
48
|
+
/**
|
|
49
|
+
* Create a new empty QaRubricSection record instance for create operations.
|
|
50
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
51
|
+
*
|
|
52
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
53
|
+
* @returns A new record wrapper with pre-generated ID
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```typescript
|
|
57
|
+
* // Auto-generated ID
|
|
58
|
+
* const note = odinClient.notes.new();
|
|
59
|
+
* console.log(note.id); // UUID available immediately
|
|
60
|
+
*
|
|
61
|
+
* // Custom ID
|
|
62
|
+
* const order = odinClient.orders.new("custom-id-123");
|
|
63
|
+
*
|
|
64
|
+
* // Reference ID before save
|
|
65
|
+
* const account = odinClient.accounts.new();
|
|
66
|
+
* const contact = odinClient.contacts.new();
|
|
67
|
+
* await contact
|
|
68
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
69
|
+
* .createContact({ FirstName: "John" });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
new(id?: string): QaRubricSectionRecord;
|
|
73
|
+
/**
|
|
74
|
+
* Get a single QaRubricSection record by ID
|
|
75
|
+
*/
|
|
76
|
+
get(id: string): Promise<QaRubricSectionRecord>;
|
|
77
|
+
/**
|
|
78
|
+
* Get multiple QaRubricSection records by IDs
|
|
79
|
+
*/
|
|
80
|
+
getMany(ids: string[]): Promise<QaRubricSectionRecord[]>;
|
|
81
|
+
/**
|
|
82
|
+
* Search QaRubricSection records
|
|
83
|
+
*/
|
|
84
|
+
search(params: Partial<OdinSearchV2>): Promise<QaRubricSectionSearchResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* Search all QaRubricSection records with automatic pagination
|
|
87
|
+
*/
|
|
88
|
+
searchAll(params: Partial<OdinSearchV2>): Promise<QaRubricSectionRecord[]>;
|
|
89
|
+
/**
|
|
90
|
+
* Async generator for paginating through all matching records.
|
|
91
|
+
* Yields batches of wrapped records.
|
|
92
|
+
*/
|
|
93
|
+
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<QaRubricSectionRecord[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Create a fluent query builder for QaRubricSection records
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```typescript
|
|
99
|
+
* const results = await accessor
|
|
100
|
+
* .query()
|
|
101
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
102
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
103
|
+
* .select('id', 'title', 'properties.*')
|
|
104
|
+
* .sortBy('createdAt', 'desc')
|
|
105
|
+
* .limit(100)
|
|
106
|
+
* .execute();
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
query(): QueryBuilder<QaRubricSectionProperties, QaRubricSectionRecord>;
|
|
110
|
+
/** Access the underlying ApiProvider */
|
|
111
|
+
get provider(): ApiProvider;
|
|
112
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* QaRubricSection Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to QaRubricSection records via API.
|
|
6
|
+
* Returns wrapped records with typed action methods.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* // Get existing record
|
|
11
|
+
* const record = await accessor.get(id);
|
|
12
|
+
* await record.updateQaRubricSection({ ... });
|
|
13
|
+
*
|
|
14
|
+
* // Create new record
|
|
15
|
+
* const newRecord = accessor.new();
|
|
16
|
+
* await newRecord.createQaRubricSection({ ... });
|
|
17
|
+
* ```
|
|
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
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
31
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
32
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
33
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
34
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
35
|
+
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
36
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
37
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
38
|
+
function fulfill(value) { resume("next", value); }
|
|
39
|
+
function reject(value) { resume("throw", value); }
|
|
40
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.QaRubricSectionAccessor = void 0;
|
|
44
|
+
const api_provider_1 = require("@d19n/odin-sdk-generator/dist/api.provider");
|
|
45
|
+
const query_builder_1 = require("@d19n/odin-sdk-generator/dist/query-builder");
|
|
46
|
+
const QaRubricSectionRecord_1 = require("../records-v2/QaRubricSectionRecord");
|
|
47
|
+
class QaRubricSectionAccessor {
|
|
48
|
+
constructor(providerOrAuth, host) {
|
|
49
|
+
this._moduleName = 'SupportModule';
|
|
50
|
+
this._entityName = 'QaRubricSection';
|
|
51
|
+
if (providerOrAuth instanceof api_provider_1.ApiProvider) {
|
|
52
|
+
this._provider = providerOrAuth;
|
|
53
|
+
}
|
|
54
|
+
else if (typeof providerOrAuth === 'string') {
|
|
55
|
+
// Auth token provided
|
|
56
|
+
this._provider = new api_provider_1.ApiProvider(host ? { host } : undefined, providerOrAuth);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
// OauthParams provided
|
|
60
|
+
this._provider = new api_provider_1.ApiProvider(providerOrAuth);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
get moduleName() { return this._moduleName; }
|
|
64
|
+
get entityName() { return this._entityName; }
|
|
65
|
+
// ============================================
|
|
66
|
+
// RECORD CREATION
|
|
67
|
+
// ============================================
|
|
68
|
+
/**
|
|
69
|
+
* Create a new empty QaRubricSection record instance for create operations.
|
|
70
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
71
|
+
*
|
|
72
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
73
|
+
* @returns A new record wrapper with pre-generated ID
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```typescript
|
|
77
|
+
* // Auto-generated ID
|
|
78
|
+
* const note = odinClient.notes.new();
|
|
79
|
+
* console.log(note.id); // UUID available immediately
|
|
80
|
+
*
|
|
81
|
+
* // Custom ID
|
|
82
|
+
* const order = odinClient.orders.new("custom-id-123");
|
|
83
|
+
*
|
|
84
|
+
* // Reference ID before save
|
|
85
|
+
* const account = odinClient.accounts.new();
|
|
86
|
+
* const contact = odinClient.contacts.new();
|
|
87
|
+
* await contact
|
|
88
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
89
|
+
* .createContact({ FirstName: "John" });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
new(id) {
|
|
93
|
+
return new QaRubricSectionRecord_1.QaRubricSectionRecord(null, this._provider, id);
|
|
94
|
+
}
|
|
95
|
+
// ============================================
|
|
96
|
+
// RECORD RETRIEVAL
|
|
97
|
+
// ============================================
|
|
98
|
+
/**
|
|
99
|
+
* Get a single QaRubricSection record by ID
|
|
100
|
+
*/
|
|
101
|
+
get(id) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const record = yield this._provider._getByPrimaryKey(this._moduleName, this._entityName, id);
|
|
104
|
+
return new QaRubricSectionRecord_1.QaRubricSectionRecord(record, this._provider);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get multiple QaRubricSection records by IDs
|
|
109
|
+
*/
|
|
110
|
+
getMany(ids) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
if (ids.length === 0)
|
|
113
|
+
return [];
|
|
114
|
+
const records = yield this._provider._getManyByPrimaryKey(this._moduleName, this._entityName, ids);
|
|
115
|
+
return records.map((r) => new QaRubricSectionRecord_1.QaRubricSectionRecord(r, this._provider));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ============================================
|
|
119
|
+
// SEARCH OPERATIONS
|
|
120
|
+
// ============================================
|
|
121
|
+
/**
|
|
122
|
+
* Search QaRubricSection records
|
|
123
|
+
*/
|
|
124
|
+
search(params) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const result = yield this._provider._searchRecords(this._moduleName, this._entityName, params);
|
|
127
|
+
return {
|
|
128
|
+
records: result.records.map((r) => new QaRubricSectionRecord_1.QaRubricSectionRecord(r, this._provider)),
|
|
129
|
+
totalRecords: result.totalRecords,
|
|
130
|
+
hasMore: result.hasMore,
|
|
131
|
+
aggregations: result.aggregations,
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Search all QaRubricSection records with automatic pagination
|
|
137
|
+
*/
|
|
138
|
+
searchAll(params) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
const result = yield this._provider._searchAllRecordsAndPaginate(this._moduleName, this._entityName, params);
|
|
141
|
+
return result.records.map((r) => new QaRubricSectionRecord_1.QaRubricSectionRecord(r, this._provider));
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Async generator for paginating through all matching records.
|
|
146
|
+
* Yields batches of wrapped records.
|
|
147
|
+
*/
|
|
148
|
+
paginate(params) {
|
|
149
|
+
var _a;
|
|
150
|
+
return __asyncGenerator(this, arguments, function* paginate_1() {
|
|
151
|
+
let hasMore = true;
|
|
152
|
+
let searchAfter;
|
|
153
|
+
const query = Object.assign(Object.assign({}, params.query), { pageSize: ((_a = params.query) === null || _a === void 0 ? void 0 : _a.pageSize) || 500 });
|
|
154
|
+
while (hasMore) {
|
|
155
|
+
const result = yield __await(this._provider._searchRecords(this._moduleName, this._entityName, Object.assign(Object.assign({}, params), { query: Object.assign(Object.assign({}, query), { searchAfter }) })));
|
|
156
|
+
if (result.records.length > 0) {
|
|
157
|
+
yield yield __await(result.records.map((r) => new QaRubricSectionRecord_1.QaRubricSectionRecord(r, this._provider)));
|
|
158
|
+
const lastRecord = result.records[result.records.length - 1];
|
|
159
|
+
searchAfter = lastRecord === null || lastRecord === void 0 ? void 0 : lastRecord.sort;
|
|
160
|
+
}
|
|
161
|
+
hasMore = result.hasMore && result.records.length >= query.pageSize;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
// ============================================
|
|
166
|
+
// QUERY BUILDER
|
|
167
|
+
// ============================================
|
|
168
|
+
/**
|
|
169
|
+
* Create a fluent query builder for QaRubricSection records
|
|
170
|
+
*
|
|
171
|
+
* @example
|
|
172
|
+
* ```typescript
|
|
173
|
+
* const results = await accessor
|
|
174
|
+
* .query()
|
|
175
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
176
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
177
|
+
* .select('id', 'title', 'properties.*')
|
|
178
|
+
* .sortBy('createdAt', 'desc')
|
|
179
|
+
* .limit(100)
|
|
180
|
+
* .execute();
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
query() {
|
|
184
|
+
return (0, query_builder_1.createQueryBuilder)(this);
|
|
185
|
+
}
|
|
186
|
+
/** Access the underlying ApiProvider */
|
|
187
|
+
get provider() {
|
|
188
|
+
return this._provider;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
exports.QaRubricSectionAccessor = QaRubricSectionAccessor;
|
|
@@ -93,7 +93,11 @@ export { PgWebhookAccessor, PgWebhookSearchResponse, PgWebhookListResponse } fro
|
|
|
93
93
|
export { PriceBookAccessor, PriceBookSearchResponse, PriceBookListResponse } from './PriceBookAccessor';
|
|
94
94
|
export { ProductAccessor, ProductSearchResponse, ProductListResponse } from './ProductAccessor';
|
|
95
95
|
export { PushNotificationAccessor, PushNotificationSearchResponse, PushNotificationListResponse } from './PushNotificationAccessor';
|
|
96
|
+
export { QaAutoFailAccessor, QaAutoFailSearchResponse, QaAutoFailListResponse } from './QaAutoFailAccessor';
|
|
96
97
|
export { QaReportAccessor, QaReportSearchResponse, QaReportListResponse } from './QaReportAccessor';
|
|
98
|
+
export { QaRubricItemAccessor, QaRubricItemSearchResponse, QaRubricItemListResponse } from './QaRubricItemAccessor';
|
|
99
|
+
export { QaRubricAccessor, QaRubricSearchResponse, QaRubricListResponse } from './QaRubricAccessor';
|
|
100
|
+
export { QaRubricSectionAccessor, QaRubricSectionSearchResponse, QaRubricSectionListResponse } from './QaRubricSectionAccessor';
|
|
97
101
|
export { RecontractAccessor, RecontractSearchResponse, RecontractListResponse } from './RecontractAccessor';
|
|
98
102
|
export { ReferralAccessor, ReferralSearchResponse, ReferralListResponse } from './ReferralAccessor';
|
|
99
103
|
export { RegionAccessor, RegionSearchResponse, RegionListResponse } from './RegionAccessor';
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.NetworkDeviceAccessor = exports.ModifyServiceRequestAccessor = exports.MessageAccessor = exports.LeadAccessor = exports.KnowledgeArticleAccessor = exports.InvoiceAccessor = exports.InvoiceItemAccessor = exports.ImpersonationTrackerAccessor = exports.FileAccessor = exports.FieldServiceProductAccessor = exports.FieldServiceDispatchedProductAccessor = exports.ExchangeAccessor = exports.EmailTemplateAccessor = exports.EmailSenderAccessor = exports.EmailAccessor = exports.DiscountAccessor = exports.DataIssueAccessor = exports.CustomerPhonePortingAccessor = exports.CustomerDeviceRouterAccessor = exports.CustomerDeviceAccessor = exports.CustomerDeviceOntAccessor = exports.CustomerDeviceConfigurationAccessor = exports.CustomerDeviceAtaAccessor = exports.CrmDatasetAccessor = exports.CreditNoteAccessor = exports.ConversationSummaryFeedbackAccessor = exports.ConversationAccessor = exports.ContractBuyOutAccessor = exports.ContactAccessor = exports.ContactIdentityAccessor = exports.ConfigAccessor = exports.ChurnRequestAccessor = exports.ChangeReasonAccessor = exports.CaseAccessor = exports.CampaignAccessor = exports.CallAccessor = exports.CallLegAccessor = exports.BrskEntityMigrationErrorAccessor = exports.BngProvisionAccessor = exports.BillingRequestAccessor = exports.BillingAdjustmentAccessor = exports.AppointmentAccessor = exports.AgentStatusAccessor = exports.AffiliateCodeAccessor = exports.AddressAccessor = exports.AddressInteractionAccessor = exports.ActivityAccessor = exports.ActivityLogAccessor = exports.AccountAccessor = exports.AccountCreditAccessor = void 0;
|
|
12
|
-
exports.
|
|
13
|
-
exports.YfWifiSurveyAccessor = exports.YfFieldVisitOutcomeFormAccessor = exports.YfAgentLocationAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioWorkerAccessor = exports.TwilioUserUpdateAccessor = exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsTemplateAccessor = exports.SmsMessageAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = void 0;
|
|
12
|
+
exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.RegionAccessor = exports.ReferralAccessor = exports.RecontractAccessor = exports.QaRubricSectionAccessor = exports.QaRubricAccessor = exports.QaRubricItemAccessor = exports.QaReportAccessor = exports.QaAutoFailAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = exports.PgWebhookAccessor = exports.PgWebhookAttemptAccessor = exports.PgVocalinkAccessor = exports.PgTransactionAccessor = exports.PgSortCodeSubstitutionAccessor = exports.PgReportEventAccessor = exports.PgPaymentMethodAccessor = exports.PgLogAccessor = exports.PgFileAllocationAccessor = exports.PgDisputeAccessor = exports.PgDirectDebitFileAccessor = exports.PgContactAccessor = exports.PgAccountValidationAccessor = exports.PermissionToFailAccessor = exports.PaymentAccessor = exports.PaymentMethodRefundAccessor = exports.PaymentMethodAccessor = exports.PICRequestAccessor = exports.OverlayRealA55Accessor = exports.OutboundDialSessionAccessor = exports.OutboundDialCampaignAccessor = exports.OutboundDialCampaignCaseAccessor = exports.OutageAccessor = exports.OrderAccessor = exports.OrderKciAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = exports.OhExternalAuditAccessor = exports.OfferTemplateAccessor = exports.OfferAccessor = exports.NotificationTemplateAccessor = exports.NoteAccessor = void 0;
|
|
13
|
+
exports.YfWifiSurveyAccessor = exports.YfFieldVisitOutcomeFormAccessor = exports.YfAgentLocationAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioWorkerAccessor = exports.TwilioUserUpdateAccessor = exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsTemplateAccessor = exports.SmsMessageAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = void 0;
|
|
14
14
|
var AccountCreditAccessor_1 = require("./AccountCreditAccessor");
|
|
15
15
|
Object.defineProperty(exports, "AccountCreditAccessor", { enumerable: true, get: function () { return AccountCreditAccessor_1.AccountCreditAccessor; } });
|
|
16
16
|
var AccountAccessor_1 = require("./AccountAccessor");
|
|
@@ -185,8 +185,16 @@ var ProductAccessor_1 = require("./ProductAccessor");
|
|
|
185
185
|
Object.defineProperty(exports, "ProductAccessor", { enumerable: true, get: function () { return ProductAccessor_1.ProductAccessor; } });
|
|
186
186
|
var PushNotificationAccessor_1 = require("./PushNotificationAccessor");
|
|
187
187
|
Object.defineProperty(exports, "PushNotificationAccessor", { enumerable: true, get: function () { return PushNotificationAccessor_1.PushNotificationAccessor; } });
|
|
188
|
+
var QaAutoFailAccessor_1 = require("./QaAutoFailAccessor");
|
|
189
|
+
Object.defineProperty(exports, "QaAutoFailAccessor", { enumerable: true, get: function () { return QaAutoFailAccessor_1.QaAutoFailAccessor; } });
|
|
188
190
|
var QaReportAccessor_1 = require("./QaReportAccessor");
|
|
189
191
|
Object.defineProperty(exports, "QaReportAccessor", { enumerable: true, get: function () { return QaReportAccessor_1.QaReportAccessor; } });
|
|
192
|
+
var QaRubricItemAccessor_1 = require("./QaRubricItemAccessor");
|
|
193
|
+
Object.defineProperty(exports, "QaRubricItemAccessor", { enumerable: true, get: function () { return QaRubricItemAccessor_1.QaRubricItemAccessor; } });
|
|
194
|
+
var QaRubricAccessor_1 = require("./QaRubricAccessor");
|
|
195
|
+
Object.defineProperty(exports, "QaRubricAccessor", { enumerable: true, get: function () { return QaRubricAccessor_1.QaRubricAccessor; } });
|
|
196
|
+
var QaRubricSectionAccessor_1 = require("./QaRubricSectionAccessor");
|
|
197
|
+
Object.defineProperty(exports, "QaRubricSectionAccessor", { enumerable: true, get: function () { return QaRubricSectionAccessor_1.QaRubricSectionAccessor; } });
|
|
190
198
|
var RecontractAccessor_1 = require("./RecontractAccessor");
|
|
191
199
|
Object.defineProperty(exports, "RecontractAccessor", { enumerable: true, get: function () { return RecontractAccessor_1.RecontractAccessor; } });
|
|
192
200
|
var ReferralAccessor_1 = require("./ReferralAccessor");
|
|
@@ -21,26 +21,10 @@ export interface CreateContactSalesAppMessage extends OdinRecordCreatedEvent<Cre
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateContactSalesApp action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateContactSalesAppProperties {
|
|
28
|
-
/**
|
|
29
|
-
* FirstName
|
|
30
|
-
*
|
|
31
|
-
* Contacts First Name (Sales - Contact)
|
|
32
|
-
* @type {TEXT}
|
|
33
|
-
* @required
|
|
34
|
-
*/
|
|
35
|
-
FirstName: string;
|
|
36
|
-
/**
|
|
37
|
-
* LastName
|
|
38
|
-
*
|
|
39
|
-
* Contacts Last Name (Sales - Contact)
|
|
40
|
-
* @type {TEXT}
|
|
41
|
-
* @required
|
|
42
|
-
*/
|
|
43
|
-
LastName: string;
|
|
44
28
|
/**
|
|
45
29
|
* EmailAddress
|
|
46
30
|
*
|
|
@@ -49,13 +33,6 @@ export interface CreateContactSalesAppProperties {
|
|
|
49
33
|
* @required
|
|
50
34
|
*/
|
|
51
35
|
EmailAddress: string;
|
|
52
|
-
/**
|
|
53
|
-
* Phone
|
|
54
|
-
*
|
|
55
|
-
* Phone number (Sales - Contact)
|
|
56
|
-
* @type {PHONE_NUMBER_E164_GB}
|
|
57
|
-
*/
|
|
58
|
-
Phone?: string | null;
|
|
59
36
|
/**
|
|
60
37
|
* Marketing Consent
|
|
61
38
|
*
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateInstallDayBeforeWifiEducation Action DTO
|
|
3
|
+
*
|
|
4
|
+
* Create install day-before Wi-Fi education email
|
|
5
|
+
*
|
|
6
|
+
* @module NotificationModule
|
|
7
|
+
* @entity Email
|
|
8
|
+
* @entityType TRANSACTIONAL
|
|
9
|
+
* @actionKey CreateInstallDayBeforeWifiEducation
|
|
10
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation
|
|
11
|
+
*
|
|
12
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
13
|
+
*/
|
|
14
|
+
import { OdinRecordCreateDto, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
|
|
15
|
+
/**
|
|
16
|
+
* RabbitMQ message payload for CreateInstallDayBeforeWifiEducation created events
|
|
17
|
+
*
|
|
18
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation
|
|
19
|
+
*/
|
|
20
|
+
export interface CreateInstallDayBeforeWifiEducationMessage extends OdinRecordCreatedEvent<CreateInstallDayBeforeWifiEducationDto, CreateInstallDayBeforeWifiEducationProperties> {
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Properties for CreateInstallDayBeforeWifiEducation action
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export interface CreateInstallDayBeforeWifiEducationProperties {
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* CreateInstallDayBeforeWifiEducation
|
|
30
|
+
*
|
|
31
|
+
* Create install day-before Wi-Fi education email
|
|
32
|
+
*
|
|
33
|
+
* @actionType CREATE - Creates a new Email record
|
|
34
|
+
* @module NotificationModule
|
|
35
|
+
* @entity Email
|
|
36
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
37
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation
|
|
38
|
+
* @permission schema.action.createinstalldaybeforewifieducation.trigger
|
|
39
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
40
|
+
*/
|
|
41
|
+
export declare class CreateInstallDayBeforeWifiEducationDto extends OdinRecordCreateDto<CreateInstallDayBeforeWifiEducationProperties> {
|
|
42
|
+
/** Used by SDK generators to identify action type */
|
|
43
|
+
static readonly ACTION_TYPE = "CREATE";
|
|
44
|
+
static readonly ACTION_KEY = "CreateInstallDayBeforeWifiEducation";
|
|
45
|
+
static readonly MODULE_NAME = "NotificationModule";
|
|
46
|
+
static readonly ENTITIES: string[];
|
|
47
|
+
static readonly ENTITY_TYPE = "TRANSACTIONAL";
|
|
48
|
+
static readonly EVENT_NAME = "k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation";
|
|
49
|
+
static readonly PERMISSION = "schema.action.createinstalldaybeforewifieducation.trigger";
|
|
50
|
+
/** Step metadata - entity this action targets */
|
|
51
|
+
static readonly STEP_ENTITY = "NotificationModule:Email";
|
|
52
|
+
static readonly STEP_SCHEMA_ID = "cb37958c-d72f-44aa-975a-a8fae42b1b72";
|
|
53
|
+
static readonly STEP_SCHEMA_ACTION_ID = "c4f9cf49-bd6d-4998-b78d-2c39a2c3cfe8";
|
|
54
|
+
static readonly STEP_SCHEMA_TYPE_ID = "14042940-a388-44c7-87fe-3a4105d92e94";
|
|
55
|
+
static readonly STEP_TYPE = "TRANSACTIONAL";
|
|
56
|
+
static readonly AUTO_LINK_PARENT = true;
|
|
57
|
+
readonly actionName: string;
|
|
58
|
+
readonly schemaActionId: string;
|
|
59
|
+
readonly entity: string;
|
|
60
|
+
constructor(properties: CreateInstallDayBeforeWifiEducationProperties, options?: {
|
|
61
|
+
journeyId?: string;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* CreateInstallDayBeforeWifiEducation Action DTO
|
|
4
|
+
*
|
|
5
|
+
* Create install day-before Wi-Fi education email
|
|
6
|
+
*
|
|
7
|
+
* @module NotificationModule
|
|
8
|
+
* @entity Email
|
|
9
|
+
* @entityType TRANSACTIONAL
|
|
10
|
+
* @actionKey CreateInstallDayBeforeWifiEducation
|
|
11
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation
|
|
12
|
+
*
|
|
13
|
+
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateInstallDayBeforeWifiEducationDto = void 0;
|
|
17
|
+
const core_1 = require("@d19n/odin-types/dist/core");
|
|
18
|
+
/**
|
|
19
|
+
* CreateInstallDayBeforeWifiEducation
|
|
20
|
+
*
|
|
21
|
+
* Create install day-before Wi-Fi education email
|
|
22
|
+
*
|
|
23
|
+
* @actionType CREATE - Creates a new Email record
|
|
24
|
+
* @module NotificationModule
|
|
25
|
+
* @entity Email
|
|
26
|
+
* @entityType TRANSACTIONAL (TRANSACTIONAL)
|
|
27
|
+
* @event k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation
|
|
28
|
+
* @permission schema.action.createinstalldaybeforewifieducation.trigger
|
|
29
|
+
* @benchmark This action is tracked for performance benchmarks
|
|
30
|
+
*/
|
|
31
|
+
class CreateInstallDayBeforeWifiEducationDto extends core_1.OdinRecordCreateDto {
|
|
32
|
+
constructor(properties, options) {
|
|
33
|
+
super({
|
|
34
|
+
entity: 'NotificationModule:Email',
|
|
35
|
+
type: 'TRANSACTIONAL',
|
|
36
|
+
properties,
|
|
37
|
+
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
38
|
+
});
|
|
39
|
+
this.actionName = 'CreateInstallDayBeforeWifiEducation';
|
|
40
|
+
this.schemaActionId = 'c4f9cf49-bd6d-4998-b78d-2c39a2c3cfe8';
|
|
41
|
+
this.entity = 'NotificationModule:Email';
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.CreateInstallDayBeforeWifiEducationDto = CreateInstallDayBeforeWifiEducationDto;
|
|
45
|
+
/** Used by SDK generators to identify action type */
|
|
46
|
+
CreateInstallDayBeforeWifiEducationDto.ACTION_TYPE = 'CREATE';
|
|
47
|
+
CreateInstallDayBeforeWifiEducationDto.ACTION_KEY = 'CreateInstallDayBeforeWifiEducation';
|
|
48
|
+
CreateInstallDayBeforeWifiEducationDto.MODULE_NAME = 'NotificationModule';
|
|
49
|
+
CreateInstallDayBeforeWifiEducationDto.ENTITIES = ['Email'];
|
|
50
|
+
CreateInstallDayBeforeWifiEducationDto.ENTITY_TYPE = 'TRANSACTIONAL';
|
|
51
|
+
CreateInstallDayBeforeWifiEducationDto.EVENT_NAME = 'k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateInstallDayBeforeWifiEducation';
|
|
52
|
+
CreateInstallDayBeforeWifiEducationDto.PERMISSION = 'schema.action.createinstalldaybeforewifieducation.trigger';
|
|
53
|
+
/** Step metadata - entity this action targets */
|
|
54
|
+
CreateInstallDayBeforeWifiEducationDto.STEP_ENTITY = 'NotificationModule:Email';
|
|
55
|
+
CreateInstallDayBeforeWifiEducationDto.STEP_SCHEMA_ID = 'cb37958c-d72f-44aa-975a-a8fae42b1b72';
|
|
56
|
+
CreateInstallDayBeforeWifiEducationDto.STEP_SCHEMA_ACTION_ID = 'c4f9cf49-bd6d-4998-b78d-2c39a2c3cfe8';
|
|
57
|
+
CreateInstallDayBeforeWifiEducationDto.STEP_SCHEMA_TYPE_ID = '14042940-a388-44c7-87fe-3a4105d92e94';
|
|
58
|
+
CreateInstallDayBeforeWifiEducationDto.STEP_TYPE = 'TRANSACTIONAL';
|
|
59
|
+
CreateInstallDayBeforeWifiEducationDto.AUTO_LINK_PARENT = true;
|
|
@@ -21,18 +21,26 @@ export interface CreateLeadSalesAppMessage extends OdinRecordCreatedEvent<Create
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateLeadSalesApp action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
24
|
+
* @property Required fields: 5
|
|
25
25
|
* @property Optional fields: 1
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateLeadSalesAppProperties {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* First name
|
|
30
30
|
*
|
|
31
31
|
* Copy and paste address title please
|
|
32
32
|
* @type {TEXT}
|
|
33
33
|
* @required
|
|
34
34
|
*/
|
|
35
35
|
Name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Nast name
|
|
38
|
+
*
|
|
39
|
+
* Display name/title for Lead records. Primary identifier for Sales team.
|
|
40
|
+
* @type {TEXT}
|
|
41
|
+
* @required
|
|
42
|
+
*/
|
|
43
|
+
LastName: string;
|
|
36
44
|
/**
|
|
37
45
|
* Type
|
|
38
46
|
*
|
|
@@ -23,7 +23,7 @@ export interface CreateTransactionalEmailMessage extends OdinRecordCreatedEvent<
|
|
|
23
23
|
* Properties for CreateTransactionalEmail action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 1
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 24
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateTransactionalEmailProperties {
|
|
29
29
|
/**
|
|
@@ -34,6 +34,13 @@ export interface CreateTransactionalEmailProperties {
|
|
|
34
34
|
* @required
|
|
35
35
|
*/
|
|
36
36
|
Date: string;
|
|
37
|
+
/**
|
|
38
|
+
* Title
|
|
39
|
+
*
|
|
40
|
+
* Used for title
|
|
41
|
+
* @type {TEXT}
|
|
42
|
+
*/
|
|
43
|
+
Title?: string | null;
|
|
37
44
|
/**
|
|
38
45
|
* Subject
|
|
39
46
|
*
|