@d19n/youfibre-odin-sdk 2.0.281 → 2.0.282

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.
Files changed (43) hide show
  1. package/README.md +10 -2
  2. package/dist/EntityRegistry.d.ts +2 -0
  3. package/dist/EntityRegistry.js +2 -0
  4. package/dist/OdinApiClient.d.ts +4 -0
  5. package/dist/OdinApiClient.js +8 -0
  6. package/dist/OdinDbClient.d.ts +4 -0
  7. package/dist/OdinDbClient.js +8 -0
  8. package/dist/accessors-v2/YfAgentLocationAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/YfAgentLocationAccessor.js +190 -0
  10. package/dist/accessors-v2/index.d.ts +1 -0
  11. package/dist/accessors-v2/index.js +3 -1
  12. package/dist/actions-v2/CreateContactDto.d.ts +8 -8
  13. package/dist/actions-v2/CreateLeadFromAddressDto.d.ts +8 -8
  14. package/dist/actions-v2/CreateYfAgentLocationDto.d.ts +92 -0
  15. package/dist/actions-v2/CreateYfAgentLocationDto.js +54 -0
  16. package/dist/actions-v2/UpdateOrderDto.d.ts +9 -1
  17. package/dist/actions-v2/UpdatePgFileAllocationInvalidDto.d.ts +77 -0
  18. package/dist/actions-v2/UpdatePgFileAllocationInvalidDto.js +61 -0
  19. package/dist/api-sdk-v2/YfAgentLocationApi.d.ts +45 -0
  20. package/dist/api-sdk-v2/YfAgentLocationApi.js +151 -0
  21. package/dist/db-accessors-v2/YfAgentLocationDbAccessor.d.ts +149 -0
  22. package/dist/db-accessors-v2/YfAgentLocationDbAccessor.js +227 -0
  23. package/dist/db-accessors-v2/index.d.ts +1 -0
  24. package/dist/db-accessors-v2/index.js +3 -1
  25. package/dist/db-sdk-v2/YfAgentLocationDb.d.ts +117 -0
  26. package/dist/db-sdk-v2/YfAgentLocationDb.js +200 -0
  27. package/dist/entities-v2/FieldServiceProduct.d.ts +2 -0
  28. package/dist/entities-v2/FieldServiceProduct.js +2 -0
  29. package/dist/entities-v2/Order.d.ts +9 -0
  30. package/dist/entities-v2/Order.js +2 -0
  31. package/dist/entities-v2/PgFileAllocation.d.ts +21 -1
  32. package/dist/entities-v2/PgFileAllocation.js +2 -0
  33. package/dist/entities-v2/WorkOrder.d.ts +3 -2
  34. package/dist/entities-v2/WorkOrder.js +3 -2
  35. package/dist/entities-v2/YfAgentLocation.d.ts +98 -0
  36. package/dist/entities-v2/YfAgentLocation.js +72 -0
  37. package/dist/records-v2/PgFileAllocationRecord.d.ts +28 -0
  38. package/dist/records-v2/PgFileAllocationRecord.js +37 -0
  39. package/dist/records-v2/YfAgentLocationRecord.d.ts +184 -0
  40. package/dist/records-v2/YfAgentLocationRecord.js +243 -0
  41. package/dist/records-v2/index.d.ts +1 -0
  42. package/dist/records-v2/index.js +5 -2
  43. package/package.json +1 -1
@@ -0,0 +1,243 @@
1
+ "use strict";
2
+ /**
3
+ * YfAgentLocation 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.yfAgentLocations.new();
14
+ * await record.createYfAgentLocation({ ... }).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.isYfAgentLocationRecord = exports.YfAgentLocationRecord = void 0;
32
+ const uuid_1 = require("uuid");
33
+ const core_1 = require("@d19n/odin-types/dist/core");
34
+ /**
35
+ * Builder for action execution with dryRun support
36
+ *
37
+ * Provides a consistent API across all action types:
38
+ * - `.execute()` - Execute the action and return results
39
+ * - `.dryRun()` - Return the payload without executing (for debugging)
40
+ */
41
+ class ActionBuilder {
42
+ constructor(provider, moduleName, entityName, payload, clearPendingLinks) {
43
+ this._provider = provider;
44
+ this._moduleName = moduleName;
45
+ this._entityName = entityName;
46
+ this._payload = payload;
47
+ this._clearPendingLinks = clearPendingLinks;
48
+ }
49
+ /**
50
+ * Set an external system identifier for this record.
51
+ * Links the record to a corresponding entry in an external application.
52
+ *
53
+ * @param externalId - The ID in the external system
54
+ * @param externalAppId - The external application identifier
55
+ * @returns this (for chaining)
56
+ *
57
+ * @example
58
+ * ```typescript
59
+ * await record.createOrder({ ... }).withExternalId('SF-123', 'salesforce').execute();
60
+ * ```
61
+ */
62
+ withExternalId(externalId, externalAppId) {
63
+ this._payload.externalId = externalId;
64
+ this._payload.externalAppId = externalAppId;
65
+ return this;
66
+ }
67
+ /**
68
+ * Set security/access groups for this record.
69
+ * Controls which user groups can access the record.
70
+ *
71
+ * @param groups - Array of group names
72
+ * @returns this (for chaining)
73
+ *
74
+ * @example
75
+ * ```typescript
76
+ * await record.createOrder({ ... }).withGroups(['TenantA', 'BillingTeam']).execute();
77
+ * ```
78
+ */
79
+ withGroups(groups) {
80
+ this._payload.groups = groups;
81
+ return this;
82
+ }
83
+ /**
84
+ * Execute the action
85
+ * @returns The result from the API
86
+ */
87
+ execute() {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ const result = yield this._provider._applyAction(this._moduleName, this._entityName, this._payload);
90
+ this._clearPendingLinks();
91
+ return result;
92
+ });
93
+ }
94
+ /**
95
+ * Returns the request payload without executing (for debugging)
96
+ * @returns The request payload that would be sent to the API
97
+ */
98
+ dryRun() {
99
+ return this._payload;
100
+ }
101
+ /**
102
+ * Prevents accidental `await actionBuilder` without .execute()
103
+ * Forces developers to explicitly call .execute()
104
+ * @throws Error always - use .execute() or .dryRun() instead
105
+ */
106
+ then() {
107
+ throw new Error('ActionBuilder cannot be awaited directly. Call .execute() to run the action or .dryRun() to get the payload.');
108
+ }
109
+ }
110
+ class YfAgentLocationRecord {
111
+ /**
112
+ * Create a record wrapper.
113
+ * @param record - The underlying record, or null for create operations
114
+ * @param provider - The API or DB provider
115
+ * @param preGeneratedId - Optional pre-generated ID for new records (auto-generated if not provided)
116
+ */
117
+ constructor(record, provider, preGeneratedId) {
118
+ this._pendingLinks = [];
119
+ this._record = record;
120
+ this._provider = provider;
121
+ this._preGeneratedId = preGeneratedId !== null && preGeneratedId !== void 0 ? preGeneratedId : (0, uuid_1.v4)();
122
+ }
123
+ // ============================================
124
+ // CORE PROPERTIES
125
+ // ============================================
126
+ /** Returns true if this is a new (unsaved) record */
127
+ get isNew() { var _a; return !((_a = this._record) === null || _a === void 0 ? void 0 : _a.id); }
128
+ /** Record ID - always available (pre-generated for new records) */
129
+ 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; }
130
+ get entity() { var _a, _b; return (_b = (_a = this._record) === null || _a === void 0 ? void 0 : _a.entity) !== null && _b !== void 0 ? _b : 'FieldServiceModule:YfAgentLocation'; }
131
+ get type() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.type; }
132
+ /** Record properties - empty object for new (unsaved) records */
133
+ get properties() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.properties) || {}; }
134
+ get title() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.title; }
135
+ get recordNumber() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.recordNumber; }
136
+ get stage() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.stage; }
137
+ get createdAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.createdAt; }
138
+ get updatedAt() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.updatedAt; }
139
+ get externalId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalId; }
140
+ get externalAppId() { var _a; return (_a = this._record) === null || _a === void 0 ? void 0 : _a.externalAppId; }
141
+ get groups() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.groups) || []; }
142
+ /** Access the underlying OdinRecord (null for new records) */
143
+ get record() { return this._record; }
144
+ // ============================================
145
+ // TYPE GUARDS (with TypeScript type predicates)
146
+ // ============================================
147
+ /**
148
+ * Type guard: check if this record is of type DEFAULT
149
+ *
150
+ * When this returns true, TypeScript automatically narrows the type,
151
+ * giving you access to DEFAULT-specific properties.
152
+ *
153
+ * @example
154
+ * ```typescript
155
+ * if (record.isDefault()) {
156
+ * // TypeScript knows record.properties is YfAgentLocationProperties
157
+ * console.log(record.properties.SomeTypeSpecificField);
158
+ * }
159
+ * ```
160
+ * @remarks This is the default record type
161
+ */
162
+ isDefault() { var _a; return ((_a = this._record) === null || _a === void 0 ? void 0 : _a.type) === 'DEFAULT'; }
163
+ // ============================================
164
+ // LINK MANAGEMENT
165
+ // ============================================
166
+ /**
167
+ * Queue a link to be created with the next action.
168
+ * Works for both create and update actions.
169
+ * @returns this (for chaining)
170
+ */
171
+ link(target) {
172
+ this._pendingLinks.push(new core_1.OdinRecordLinkDto({ id: target.id, entity: target.entity }));
173
+ return this;
174
+ }
175
+ /** Get the currently queued links */
176
+ get pendingLinks() {
177
+ return [...this._pendingLinks];
178
+ }
179
+ /** Clear pending links without executing an action */
180
+ clearPendingLinks() {
181
+ this._pendingLinks = [];
182
+ return this;
183
+ }
184
+ /**
185
+ * Immediately unlink a record (API call).
186
+ * Unlike link(), this executes immediately.
187
+ * @throws Error if called on a new (unsaved) record
188
+ */
189
+ unlink(target) {
190
+ var _a;
191
+ return __awaiter(this, void 0, void 0, function* () {
192
+ if (!((_a = this._record) === null || _a === void 0 ? void 0 : _a.id))
193
+ throw new Error('Cannot unlink from a new (unsaved) record');
194
+ const targetId = typeof target === 'string' ? target : target.id;
195
+ yield this._provider._deleteLinks('FieldServiceModule', 'YfAgentLocation', this._record.id, targetId);
196
+ });
197
+ }
198
+ // ============================================
199
+ // CREATE ACTIONS (no existing record required)
200
+ // ============================================
201
+ /**
202
+ * CreateYfAgentLocation
203
+ *
204
+ * Creates a new YfAgentLocation record with the specified properties.
205
+ * Returns an ActionBuilder - call .execute() to create or .dryRun() for debugging.
206
+ *
207
+ * @param properties - The properties for the new record
208
+ * @param options - Optional settings
209
+ * @param options.type - Override the record type
210
+ * @param options.journeyId - Associate with a journey
211
+ * @param options.stageKey - Set initial pipeline stage
212
+ * @returns ActionBuilder - call .execute() to create or .dryRun() for payload
213
+ *
214
+ * @example
215
+ * ```typescript
216
+ * // Create with properties
217
+ * const record = odinClient.yfAgentLocations.new();
218
+ * await record.createYfAgentLocation({ ... }).execute();
219
+ *
220
+ * // Dry run (for debugging)
221
+ * const payload = record.createYfAgentLocation({ ... }).dryRun();
222
+ * ```
223
+ */
224
+ createYfAgentLocation(properties, options) {
225
+ var _a, _b;
226
+ const payload = {
227
+ entity: 'FieldServiceModule:YfAgentLocation',
228
+ type: (_a = options === null || options === void 0 ? void 0 : options.type) !== null && _a !== void 0 ? _a : (_b = this._record) === null || _b === void 0 ? void 0 : _b.type,
229
+ actionName: 'CreateYfAgentLocation',
230
+ properties: properties || {},
231
+ associations: this._pendingLinks.length > 0 ? this._pendingLinks : undefined,
232
+ journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
233
+ stageKey: options === null || options === void 0 ? void 0 : options.stageKey,
234
+ };
235
+ return new ActionBuilder(this._provider, 'FieldServiceModule', 'YfAgentLocation', payload, () => { this._pendingLinks = []; });
236
+ }
237
+ }
238
+ exports.YfAgentLocationRecord = YfAgentLocationRecord;
239
+ /** Type guard to check if an object is a YfAgentLocationRecord */
240
+ function isYfAgentLocationRecord(obj) {
241
+ return obj instanceof YfAgentLocationRecord;
242
+ }
243
+ exports.isYfAgentLocationRecord = isYfAgentLocationRecord;
@@ -105,6 +105,7 @@ export { TwilioWorkerRecord, isTwilioWorkerRecord } from './TwilioWorkerRecord';
105
105
  export { UserRecord, isUserRecord } from './UserRecord';
106
106
  export { WayleaveAuditRecord, isWayleaveAuditRecord } from './WayleaveAuditRecord';
107
107
  export { WorkOrderStatusUpdateRecord, isWorkOrderStatusUpdateRecord } from './WorkOrderStatusUpdateRecord';
108
+ export { YfAgentLocationRecord, isYfAgentLocationRecord } from './YfAgentLocationRecord';
108
109
  export { YfWifiSurveyRecord, isYfWifiSurveyRecord } from './YfWifiSurveyRecord';
109
110
  export { OutboundDialCampaignCaseRecord, isOutboundDialCampaignCaseRecord } from './OutboundDialCampaignCaseRecord';
110
111
  export { CreditNoteRecord, isCreditNoteRecord } from './CreditNoteRecord';
@@ -14,8 +14,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.isRemediationOutcomeFormRecord = exports.RemediationOutcomeFormRecord = exports.isOhExternalAuditRecord = exports.OhExternalAuditRecord = exports.isUgExternalAuditRecord = exports.UgExternalAuditRecord = exports.isPaymentMethodRefundRecord = exports.PaymentMethodRefundRecord = exports.isConversationRecord = exports.ConversationRecord = exports.isOntReplacementApprovalRecord = exports.OntReplacementApprovalRecord = exports.isAccountRecord = exports.AccountRecord = exports.isPermissionToFailRecord = exports.PermissionToFailRecord = exports.isTransactionRecord = exports.TransactionRecord = exports.isPaymentRecord = exports.PaymentRecord = exports.isPICRequestRecord = exports.PICRequestRecord = exports.isChangeReasonRecord = exports.ChangeReasonRecord = exports.isChurnRequestRecord = exports.ChurnRequestRecord = exports.isBillingRequestRecord = exports.BillingRequestRecord = exports.isBillingAdjustmentRecord = exports.BillingAdjustmentRecord = exports.isServiceAppointmentConfigRecord = exports.ServiceAppointmentConfigRecord = exports.isCrmDatasetRecord = exports.CrmDatasetRecord = exports.isNoteRecord = exports.NoteRecord = exports.isDataIssueRecord = exports.DataIssueRecord = exports.isContractBuyOutRecord = exports.ContractBuyOutRecord = exports.isCaseRecord = exports.CaseRecord = exports.isAddressInteractionRecord = exports.AddressInteractionRecord = exports.isAddressRecord = exports.AddressRecord = exports.isWorkOrderRecord = exports.WorkOrderRecord = exports.isOrderRecord = exports.OrderRecord = void 0;
15
15
  exports.isEmailTemplateRecord = exports.EmailTemplateRecord = exports.isEmailSenderRecord = exports.EmailSenderRecord = 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.isEmailRecord = exports.EmailRecord = 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.isCallLegRecord = exports.CallLegRecord = exports.isAffiliateCodeRecord = exports.AffiliateCodeRecord = exports.isActivityLogRecord = exports.ActivityLogRecord = exports.isAccountCreditRecord = exports.AccountCreditRecord = exports.isYfFieldServiceVisitRecord = exports.YfFieldServiceVisitRecord = void 0;
16
16
  exports.isPgReportEventRecord = exports.PgReportEventRecord = exports.isPgPaymentMethodRecord = exports.PgPaymentMethodRecord = exports.isPgLogRecord = exports.PgLogRecord = exports.isPgDisputeRecord = exports.PgDisputeRecord = exports.isPgContactRecord = exports.PgContactRecord = exports.isPaymentMethodRecord = exports.PaymentMethodRecord = 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 = void 0;
17
- exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = 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.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 = void 0;
18
- exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = 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.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = void 0;
17
+ exports.isCreditNoteRecord = exports.CreditNoteRecord = exports.isOutboundDialCampaignCaseRecord = exports.OutboundDialCampaignCaseRecord = exports.isYfWifiSurveyRecord = exports.YfWifiSurveyRecord = 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.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 = void 0;
18
+ exports.isCustomerPhonePortingRecord = exports.CustomerPhonePortingRecord = exports.isVisitRecord = exports.VisitRecord = exports.isSmsTemplateRecord = exports.SmsTemplateRecord = exports.isServiceRecord = exports.ServiceRecord = exports.isNotificationTemplateRecord = exports.NotificationTemplateRecord = 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.isCustomerDeviceRouterRecord = exports.CustomerDeviceRouterRecord = exports.isCustomerDeviceAtaRecord = exports.CustomerDeviceAtaRecord = 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; } });
@@ -304,6 +304,9 @@ Object.defineProperty(exports, "isWayleaveAuditRecord", { enumerable: true, get:
304
304
  var WorkOrderStatusUpdateRecord_1 = require("./WorkOrderStatusUpdateRecord");
305
305
  Object.defineProperty(exports, "WorkOrderStatusUpdateRecord", { enumerable: true, get: function () { return WorkOrderStatusUpdateRecord_1.WorkOrderStatusUpdateRecord; } });
306
306
  Object.defineProperty(exports, "isWorkOrderStatusUpdateRecord", { enumerable: true, get: function () { return WorkOrderStatusUpdateRecord_1.isWorkOrderStatusUpdateRecord; } });
307
+ var YfAgentLocationRecord_1 = require("./YfAgentLocationRecord");
308
+ Object.defineProperty(exports, "YfAgentLocationRecord", { enumerable: true, get: function () { return YfAgentLocationRecord_1.YfAgentLocationRecord; } });
309
+ Object.defineProperty(exports, "isYfAgentLocationRecord", { enumerable: true, get: function () { return YfAgentLocationRecord_1.isYfAgentLocationRecord; } });
307
310
  var YfWifiSurveyRecord_1 = require("./YfWifiSurveyRecord");
308
311
  Object.defineProperty(exports, "YfWifiSurveyRecord", { enumerable: true, get: function () { return YfWifiSurveyRecord_1.YfWifiSurveyRecord; } });
309
312
  Object.defineProperty(exports, "isYfWifiSurveyRecord", { enumerable: true, get: function () { return YfWifiSurveyRecord_1.isYfWifiSurveyRecord; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.281",
3
+ "version": "2.0.282",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",