@d19n/youfibre-odin-sdk 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/dist/EntityRegistry.d.ts +2 -0
- package/dist/EntityRegistry.js +2 -0
- package/dist/OdinApiClient.d.ts +4 -0
- package/dist/OdinApiClient.js +8 -0
- package/dist/OdinDbClient.d.ts +4 -0
- package/dist/OdinDbClient.js +8 -0
- package/dist/accessors-v2/BrskEntityMigrationErrorAccessor.d.ts +111 -0
- package/dist/accessors-v2/BrskEntityMigrationErrorAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +5 -3
- package/dist/actions-v2/AssignCaseDto.d.ts +5 -13
- package/dist/actions-v2/AssignCaseWithNoteFlowDto.d.ts +5 -13
- package/dist/actions-v2/CreateAuddisPgSubmissionAllocationDto.d.ts +8 -1
- package/dist/actions-v2/CreateBacsPgSubmissionAllocationDto.d.ts +11 -4
- package/dist/actions-v2/CreateBrskMigrationErrorDto.d.ts +100 -0
- package/dist/actions-v2/CreateBrskMigrationErrorDto.js +52 -0
- package/dist/actions-v2/CreateCaseFromContactDto.d.ts +5 -13
- package/dist/actions-v2/CreateCashbackRewardForOrderReferralDto.d.ts +208 -0
- package/dist/actions-v2/CreateCashbackRewardForOrderReferralDto.js +179 -0
- package/dist/actions-v2/MoveCollectionWorkOrderToCompleteDto.d.ts +72 -20
- package/dist/actions-v2/MoveCollectionWorkOrderToCompleteDto.js +42 -21
- package/dist/actions-v2/UpdatePgFileAllocationDto.d.ts +91 -0
- package/dist/actions-v2/UpdatePgFileAllocationDto.js +61 -0
- package/dist/actions-v2/UpdateTeamDto.d.ts +15 -1
- package/dist/api-sdk-v2/BrskEntityMigrationErrorApi.d.ts +45 -0
- package/dist/api-sdk-v2/BrskEntityMigrationErrorApi.js +151 -0
- package/dist/api-sdk-v2/ReferralApi.d.ts +2 -0
- package/dist/api-sdk-v2/ReferralApi.js +6 -0
- package/dist/api-sdk-v2/RewardApi.d.ts +2 -0
- package/dist/api-sdk-v2/RewardApi.js +6 -0
- package/dist/db-accessors-v2/BrskEntityMigrationErrorDbAccessor.d.ts +146 -0
- package/dist/db-accessors-v2/BrskEntityMigrationErrorDbAccessor.js +224 -0
- package/dist/db-accessors-v2/index.d.ts +1 -0
- package/dist/db-accessors-v2/index.js +5 -3
- package/dist/db-sdk-v2/BrskEntityMigrationErrorDb.d.ts +117 -0
- package/dist/db-sdk-v2/BrskEntityMigrationErrorDb.js +200 -0
- package/dist/db-sdk-v2/ReferralDb.d.ts +2 -0
- package/dist/db-sdk-v2/ReferralDb.js +6 -0
- package/dist/db-sdk-v2/RewardDb.d.ts +2 -0
- package/dist/db-sdk-v2/RewardDb.js +6 -0
- package/dist/entities-v2/AccountCredit.d.ts +90 -7
- package/dist/entities-v2/AccountCredit.js +86 -3
- package/dist/entities-v2/BrskEntityMigrationError.d.ts +107 -0
- package/dist/entities-v2/BrskEntityMigrationError.js +75 -0
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +4 -4
- package/dist/entities-v2/Referral.d.ts +7 -0
- package/dist/entities-v2/Referral.js +5 -1
- package/dist/entities-v2/Reward.d.ts +3 -12
- package/dist/entities-v2/Reward.js +0 -2
- package/dist/entities-v2/Team.d.ts +21 -0
- package/dist/entities-v2/Team.js +17 -1
- package/dist/records-v2/BrskEntityMigrationErrorRecord.d.ts +184 -0
- package/dist/records-v2/BrskEntityMigrationErrorRecord.js +243 -0
- package/dist/records-v2/ContactRecord.js +2 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +28 -0
- package/dist/records-v2/PgFileAllocationRecord.js +37 -0
- package/dist/records-v2/ReferralRecord.d.ts +20 -0
- package/dist/records-v2/ReferralRecord.js +33 -0
- package/dist/records-v2/RewardRecord.d.ts +49 -0
- package/dist/records-v2/RewardRecord.js +60 -0
- package/dist/records-v2/WorkOrderRecord.d.ts +25 -29
- package/dist/records-v2/WorkOrderRecord.js +29 -36
- package/dist/records-v2/index.d.ts +1 -0
- package/dist/records-v2/index.js +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,7 +124,7 @@ await workOrder.completeWorkOrder({ ... });
|
|
|
124
124
|
|
|
125
125
|
## Entities
|
|
126
126
|
|
|
127
|
-
This SDK includes **
|
|
127
|
+
This SDK includes **164** entities across **12** modules.
|
|
128
128
|
|
|
129
129
|
### CrmModule
|
|
130
130
|
|
|
@@ -189,6 +189,7 @@ This SDK includes **163** entities across **12** modules.
|
|
|
189
189
|
| Entity | Description | Types |
|
|
190
190
|
|--------|-------------|-------|
|
|
191
191
|
| **ActivityLog** | ActivityLog Entity Definition | DEFAULT |
|
|
192
|
+
| **BrskEntityMigrationError** | BrskEntityMigrationError Entity Definition | DEFAULT |
|
|
192
193
|
| **PgLog** | PgLog Entity Definition | DEFAULT |
|
|
193
194
|
| **PgWebhook** | PgWebhook Entity Definition | DEFAULT |
|
|
194
195
|
| **PgWebhookAttempt** | PgWebhookAttempt Entity Definition | DEFAULT |
|
|
@@ -351,7 +352,7 @@ This SDK includes **163** entities across **12** modules.
|
|
|
351
352
|
|
|
352
353
|
## Actions
|
|
353
354
|
|
|
354
|
-
This SDK includes **
|
|
355
|
+
This SDK includes **556** actions.
|
|
355
356
|
|
|
356
357
|
### Action Types
|
|
357
358
|
|
|
@@ -483,7 +484,7 @@ This SDK includes **553** actions.
|
|
|
483
484
|
| `MoveCollectionWorkOrderFromEnRouteToReceived` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveCollectionWorkOrderFromEnRouteToReceived |
|
|
484
485
|
| `MoveCollectionWorkOrderFromReceivedToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Update.FlowStepCompleteCollectionConfirmation |
|
|
485
486
|
| `MoveCollectionWorkOrderToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveCollectionWorkOrderToCancelled |
|
|
486
|
-
| `MoveCollectionWorkOrderToComplete` |
|
|
487
|
+
| `MoveCollectionWorkOrderToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveCollectionWorkOrderToComplete |
|
|
487
488
|
| `MoveDispatchAmcoToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveDispatchAmcoToCancelled |
|
|
488
489
|
| `MoveDispatchAmcoToComplete` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveDispatchAmcoToComplete |
|
|
489
490
|
| `MoveDispatchAmcoToEnRoute` | STAGE_TRANSITION | k1.t-hEOJjsDb.FieldServiceModule.WorkOrder.Transition.MoveDispatchAmcoToEnRoute |
|
|
@@ -581,6 +582,8 @@ This SDK includes **553** actions.
|
|
|
581
582
|
|
|
582
583
|
**MoveCollectionWorkOrderToCancelled Target Stages:** `CollectionPipelineStageCancelled`
|
|
583
584
|
|
|
585
|
+
**MoveCollectionWorkOrderToComplete Target Stages:** `CollectionPipelineStageComplete`
|
|
586
|
+
|
|
584
587
|
**MoveDispatchAmcoToCancelled Target Stages:** `DispatchAmcoStageCancelled`
|
|
585
588
|
|
|
586
589
|
**MoveDispatchAmcoToComplete Target Stages:** `DispatchAmcoStageComplete`
|
|
@@ -1067,6 +1070,13 @@ This SDK includes **553** actions.
|
|
|
1067
1070
|
| `UpdatePgAllocationWithAcknowledgementOne` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementOne |
|
|
1068
1071
|
| `UpdatePgAllocationWithAcknowledgementTwo` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementTwo |
|
|
1069
1072
|
| `UpdatePgAllocationWithBacsReport` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithBacsReport |
|
|
1073
|
+
| `UpdatePgFileAllocation` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgFileAllocation |
|
|
1074
|
+
|
|
1075
|
+
#### BrskEntityMigrationError
|
|
1076
|
+
|
|
1077
|
+
| Action | Type | Event |
|
|
1078
|
+
|--------|------|-------|
|
|
1079
|
+
| `CreateBrskMigrationError` | CREATE | k1.t-hEOJjsDb.AuditModule.BrskEntityMigrationError.Create.CreateBrskMigrationError |
|
|
1070
1080
|
|
|
1071
1081
|
#### Product
|
|
1072
1082
|
|
|
@@ -1104,6 +1114,7 @@ This SDK includes **553** actions.
|
|
|
1104
1114
|
| Action | Type | Event |
|
|
1105
1115
|
|--------|------|-------|
|
|
1106
1116
|
| `CreateCashbackReward` | CREATE | k1.t-hEOJjsDb.CrmModule.Reward.Create.CreateCashbackReward |
|
|
1117
|
+
| `CreateCashbackRewardForOrderReferral` | CREATE | k1.t-hEOJjsDb.CrmModule.Reward.Create.CreateCashbackRewardForOrderReferral |
|
|
1107
1118
|
| `MoveCashbackRewardToAwarded` | STAGE_TRANSITION | k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToAwarded |
|
|
1108
1119
|
| `MoveCashbackRewardToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.CrmModule.Reward.Transition.MoveCashbackRewardToFailed |
|
|
1109
1120
|
|
package/dist/EntityRegistry.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { AppointmentAccessor } from './accessors-v2/AppointmentAccessor';
|
|
|
21
21
|
import { BillingAdjustmentAccessor } from './accessors-v2/BillingAdjustmentAccessor';
|
|
22
22
|
import { BillingRequestAccessor } from './accessors-v2/BillingRequestAccessor';
|
|
23
23
|
import { BlockageA55Accessor } from './accessors-v2/BlockageA55Accessor';
|
|
24
|
+
import { BrskEntityMigrationErrorAccessor } from './accessors-v2/BrskEntityMigrationErrorAccessor';
|
|
24
25
|
import { CallAccessor } from './accessors-v2/CallAccessor';
|
|
25
26
|
import { CallEventAccessor } from './accessors-v2/CallEventAccessor';
|
|
26
27
|
import { CallLegAccessor } from './accessors-v2/CallLegAccessor';
|
|
@@ -134,6 +135,7 @@ export declare const EntityRegistry: {
|
|
|
134
135
|
readonly BillingAdjustment: typeof BillingAdjustmentAccessor;
|
|
135
136
|
readonly BillingRequest: typeof BillingRequestAccessor;
|
|
136
137
|
readonly BlockageA55: typeof BlockageA55Accessor;
|
|
138
|
+
readonly BrskEntityMigrationError: typeof BrskEntityMigrationErrorAccessor;
|
|
137
139
|
readonly Call: typeof CallAccessor;
|
|
138
140
|
readonly CallEvent: typeof CallEventAccessor;
|
|
139
141
|
readonly CallLeg: typeof CallLegAccessor;
|
package/dist/EntityRegistry.js
CHANGED
|
@@ -24,6 +24,7 @@ const AppointmentAccessor_1 = require("./accessors-v2/AppointmentAccessor");
|
|
|
24
24
|
const BillingAdjustmentAccessor_1 = require("./accessors-v2/BillingAdjustmentAccessor");
|
|
25
25
|
const BillingRequestAccessor_1 = require("./accessors-v2/BillingRequestAccessor");
|
|
26
26
|
const BlockageA55Accessor_1 = require("./accessors-v2/BlockageA55Accessor");
|
|
27
|
+
const BrskEntityMigrationErrorAccessor_1 = require("./accessors-v2/BrskEntityMigrationErrorAccessor");
|
|
27
28
|
const CallAccessor_1 = require("./accessors-v2/CallAccessor");
|
|
28
29
|
const CallEventAccessor_1 = require("./accessors-v2/CallEventAccessor");
|
|
29
30
|
const CallLegAccessor_1 = require("./accessors-v2/CallLegAccessor");
|
|
@@ -137,6 +138,7 @@ exports.EntityRegistry = {
|
|
|
137
138
|
'BillingAdjustment': BillingAdjustmentAccessor_1.BillingAdjustmentAccessor,
|
|
138
139
|
'BillingRequest': BillingRequestAccessor_1.BillingRequestAccessor,
|
|
139
140
|
'BlockageA55': BlockageA55Accessor_1.BlockageA55Accessor,
|
|
141
|
+
'BrskEntityMigrationError': BrskEntityMigrationErrorAccessor_1.BrskEntityMigrationErrorAccessor,
|
|
140
142
|
'Call': CallAccessor_1.CallAccessor,
|
|
141
143
|
'CallEvent': CallEventAccessor_1.CallEventAccessor,
|
|
142
144
|
'CallLeg': CallLegAccessor_1.CallLegAccessor,
|
package/dist/OdinApiClient.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { AppointmentAccessor } from './accessors-v2/AppointmentAccessor';
|
|
|
31
31
|
import { BillingAdjustmentAccessor } from './accessors-v2/BillingAdjustmentAccessor';
|
|
32
32
|
import { BillingRequestAccessor } from './accessors-v2/BillingRequestAccessor';
|
|
33
33
|
import { BlockageA55Accessor } from './accessors-v2/BlockageA55Accessor';
|
|
34
|
+
import { BrskEntityMigrationErrorAccessor } from './accessors-v2/BrskEntityMigrationErrorAccessor';
|
|
34
35
|
import { CallAccessor } from './accessors-v2/CallAccessor';
|
|
35
36
|
import { CallEventAccessor } from './accessors-v2/CallEventAccessor';
|
|
36
37
|
import { CallLegAccessor } from './accessors-v2/CallLegAccessor';
|
|
@@ -153,6 +154,7 @@ export declare class OdinApiClient {
|
|
|
153
154
|
private _billingAdjustments?;
|
|
154
155
|
private _billingRequests?;
|
|
155
156
|
private _blockageA55s?;
|
|
157
|
+
private _brskEntityMigrationErrors?;
|
|
156
158
|
private _calls?;
|
|
157
159
|
private _callEvents?;
|
|
158
160
|
private _callLegs?;
|
|
@@ -286,6 +288,8 @@ export declare class OdinApiClient {
|
|
|
286
288
|
get billingRequests(): BillingRequestAccessor;
|
|
287
289
|
/** Access BlockageA55 records */
|
|
288
290
|
get blockageA55s(): BlockageA55Accessor;
|
|
291
|
+
/** Access BrskEntityMigrationError records */
|
|
292
|
+
get brskEntityMigrationErrors(): BrskEntityMigrationErrorAccessor;
|
|
289
293
|
/** Access Call records */
|
|
290
294
|
get calls(): CallAccessor;
|
|
291
295
|
/** Access CallEvent records */
|
package/dist/OdinApiClient.js
CHANGED
|
@@ -42,6 +42,7 @@ const AppointmentAccessor_1 = require("./accessors-v2/AppointmentAccessor");
|
|
|
42
42
|
const BillingAdjustmentAccessor_1 = require("./accessors-v2/BillingAdjustmentAccessor");
|
|
43
43
|
const BillingRequestAccessor_1 = require("./accessors-v2/BillingRequestAccessor");
|
|
44
44
|
const BlockageA55Accessor_1 = require("./accessors-v2/BlockageA55Accessor");
|
|
45
|
+
const BrskEntityMigrationErrorAccessor_1 = require("./accessors-v2/BrskEntityMigrationErrorAccessor");
|
|
45
46
|
const CallAccessor_1 = require("./accessors-v2/CallAccessor");
|
|
46
47
|
const CallEventAccessor_1 = require("./accessors-v2/CallEventAccessor");
|
|
47
48
|
const CallLegAccessor_1 = require("./accessors-v2/CallLegAccessor");
|
|
@@ -242,6 +243,13 @@ class OdinApiClient {
|
|
|
242
243
|
}
|
|
243
244
|
return this._blockageA55s;
|
|
244
245
|
}
|
|
246
|
+
/** Access BrskEntityMigrationError records */
|
|
247
|
+
get brskEntityMigrationErrors() {
|
|
248
|
+
if (!this._brskEntityMigrationErrors) {
|
|
249
|
+
this._brskEntityMigrationErrors = new BrskEntityMigrationErrorAccessor_1.BrskEntityMigrationErrorAccessor(this._provider);
|
|
250
|
+
}
|
|
251
|
+
return this._brskEntityMigrationErrors;
|
|
252
|
+
}
|
|
245
253
|
/** Access Call records */
|
|
246
254
|
get calls() {
|
|
247
255
|
if (!this._calls) {
|
package/dist/OdinDbClient.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import { AppointmentDbAccessor } from './db-accessors-v2/AppointmentDbAccessor';
|
|
|
32
32
|
import { BillingAdjustmentDbAccessor } from './db-accessors-v2/BillingAdjustmentDbAccessor';
|
|
33
33
|
import { BillingRequestDbAccessor } from './db-accessors-v2/BillingRequestDbAccessor';
|
|
34
34
|
import { BlockageA55DbAccessor } from './db-accessors-v2/BlockageA55DbAccessor';
|
|
35
|
+
import { BrskEntityMigrationErrorDbAccessor } from './db-accessors-v2/BrskEntityMigrationErrorDbAccessor';
|
|
35
36
|
import { CallDbAccessor } from './db-accessors-v2/CallDbAccessor';
|
|
36
37
|
import { CallEventDbAccessor } from './db-accessors-v2/CallEventDbAccessor';
|
|
37
38
|
import { CallLegDbAccessor } from './db-accessors-v2/CallLegDbAccessor';
|
|
@@ -148,6 +149,7 @@ export declare class OdinDbClient {
|
|
|
148
149
|
private _billingAdjustments?;
|
|
149
150
|
private _billingRequests?;
|
|
150
151
|
private _blockageA55s?;
|
|
152
|
+
private _brskEntityMigrationErrors?;
|
|
151
153
|
private _calls?;
|
|
152
154
|
private _callEvents?;
|
|
153
155
|
private _callLegs?;
|
|
@@ -290,6 +292,8 @@ export declare class OdinDbClient {
|
|
|
290
292
|
get billingRequests(): BillingRequestDbAccessor;
|
|
291
293
|
/** Access BlockageA55 records */
|
|
292
294
|
get blockageA55s(): BlockageA55DbAccessor;
|
|
295
|
+
/** Access BrskEntityMigrationError records */
|
|
296
|
+
get brskEntityMigrationErrors(): BrskEntityMigrationErrorDbAccessor;
|
|
293
297
|
/** Access Call records */
|
|
294
298
|
get calls(): CallDbAccessor;
|
|
295
299
|
/** Access CallEvent records */
|
package/dist/OdinDbClient.js
CHANGED
|
@@ -34,6 +34,7 @@ const AppointmentDbAccessor_1 = require("./db-accessors-v2/AppointmentDbAccessor
|
|
|
34
34
|
const BillingAdjustmentDbAccessor_1 = require("./db-accessors-v2/BillingAdjustmentDbAccessor");
|
|
35
35
|
const BillingRequestDbAccessor_1 = require("./db-accessors-v2/BillingRequestDbAccessor");
|
|
36
36
|
const BlockageA55DbAccessor_1 = require("./db-accessors-v2/BlockageA55DbAccessor");
|
|
37
|
+
const BrskEntityMigrationErrorDbAccessor_1 = require("./db-accessors-v2/BrskEntityMigrationErrorDbAccessor");
|
|
37
38
|
const CallDbAccessor_1 = require("./db-accessors-v2/CallDbAccessor");
|
|
38
39
|
const CallEventDbAccessor_1 = require("./db-accessors-v2/CallEventDbAccessor");
|
|
39
40
|
const CallLegDbAccessor_1 = require("./db-accessors-v2/CallLegDbAccessor");
|
|
@@ -237,6 +238,13 @@ class OdinDbClient {
|
|
|
237
238
|
}
|
|
238
239
|
return this._blockageA55s;
|
|
239
240
|
}
|
|
241
|
+
/** Access BrskEntityMigrationError records */
|
|
242
|
+
get brskEntityMigrationErrors() {
|
|
243
|
+
if (!this._brskEntityMigrationErrors) {
|
|
244
|
+
this._brskEntityMigrationErrors = new BrskEntityMigrationErrorDbAccessor_1.BrskEntityMigrationErrorDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
245
|
+
}
|
|
246
|
+
return this._brskEntityMigrationErrors;
|
|
247
|
+
}
|
|
240
248
|
/** Access Call records */
|
|
241
249
|
get calls() {
|
|
242
250
|
if (!this._calls) {
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BrskEntityMigrationError Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to BrskEntityMigrationError 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.updateBrskEntityMigrationError({ ... });
|
|
12
|
+
*
|
|
13
|
+
* // Create new record
|
|
14
|
+
* const newRecord = accessor.new();
|
|
15
|
+
* await newRecord.createBrskEntityMigrationError({ ... });
|
|
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 { BrskEntityMigrationErrorProperties } from '../entities-v2/BrskEntityMigrationError';
|
|
25
|
+
import { BrskEntityMigrationErrorRecord } from '../records-v2/BrskEntityMigrationErrorRecord';
|
|
26
|
+
/** List response with wrapped records */
|
|
27
|
+
export interface BrskEntityMigrationErrorListResponse {
|
|
28
|
+
data: BrskEntityMigrationErrorRecord[];
|
|
29
|
+
hasMore: boolean;
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
}
|
|
32
|
+
/** Search response with wrapped records */
|
|
33
|
+
export interface BrskEntityMigrationErrorSearchResponse {
|
|
34
|
+
records: BrskEntityMigrationErrorRecord[];
|
|
35
|
+
totalRecords: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class BrskEntityMigrationErrorAccessor {
|
|
39
|
+
private readonly _provider;
|
|
40
|
+
private readonly _moduleName;
|
|
41
|
+
private readonly _entityName;
|
|
42
|
+
constructor(provider: ApiProvider);
|
|
43
|
+
constructor(authParams: OauthParams);
|
|
44
|
+
constructor(authToken: string, host?: string);
|
|
45
|
+
get moduleName(): string;
|
|
46
|
+
get entityName(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Create a new empty BrskEntityMigrationError record instance for create operations.
|
|
49
|
+
* Pre-generates an ID that can be referenced before the record is saved.
|
|
50
|
+
*
|
|
51
|
+
* @param id - Optional ID to use (auto-generated UUID if not provided)
|
|
52
|
+
* @returns A new record wrapper with pre-generated ID
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```typescript
|
|
56
|
+
* // Auto-generated ID
|
|
57
|
+
* const note = odinClient.notes.new();
|
|
58
|
+
* console.log(note.id); // UUID available immediately
|
|
59
|
+
*
|
|
60
|
+
* // Custom ID
|
|
61
|
+
* const order = odinClient.orders.new("custom-id-123");
|
|
62
|
+
*
|
|
63
|
+
* // Reference ID before save
|
|
64
|
+
* const account = odinClient.accounts.new();
|
|
65
|
+
* const contact = odinClient.contacts.new();
|
|
66
|
+
* await contact
|
|
67
|
+
* .link({ id: account.id, entity: "CrmModule:Account" })
|
|
68
|
+
* .createContact({ FirstName: "John" });
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
new(id?: string): BrskEntityMigrationErrorRecord;
|
|
72
|
+
/**
|
|
73
|
+
* Get a single BrskEntityMigrationError record by ID
|
|
74
|
+
*/
|
|
75
|
+
get(id: string): Promise<BrskEntityMigrationErrorRecord>;
|
|
76
|
+
/**
|
|
77
|
+
* Get multiple BrskEntityMigrationError records by IDs
|
|
78
|
+
*/
|
|
79
|
+
getMany(ids: string[]): Promise<BrskEntityMigrationErrorRecord[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Search BrskEntityMigrationError records
|
|
82
|
+
*/
|
|
83
|
+
search(params: Partial<OdinSearchV2>): Promise<BrskEntityMigrationErrorSearchResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Search all BrskEntityMigrationError records with automatic pagination
|
|
86
|
+
*/
|
|
87
|
+
searchAll(params: Partial<OdinSearchV2>): Promise<BrskEntityMigrationErrorRecord[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Async generator for paginating through all matching records.
|
|
90
|
+
* Yields batches of wrapped records.
|
|
91
|
+
*/
|
|
92
|
+
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<BrskEntityMigrationErrorRecord[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a fluent query builder for BrskEntityMigrationError records
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* ```typescript
|
|
98
|
+
* const results = await accessor
|
|
99
|
+
* .query()
|
|
100
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
101
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
102
|
+
* .select('id', 'title', 'properties.*')
|
|
103
|
+
* .sortBy('createdAt', 'desc')
|
|
104
|
+
* .limit(100)
|
|
105
|
+
* .execute();
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
query(): QueryBuilder<BrskEntityMigrationErrorProperties, BrskEntityMigrationErrorRecord>;
|
|
109
|
+
/** Access the underlying ApiProvider */
|
|
110
|
+
get provider(): ApiProvider;
|
|
111
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* BrskEntityMigrationError Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to BrskEntityMigrationError 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.updateBrskEntityMigrationError({ ... });
|
|
13
|
+
*
|
|
14
|
+
* // Create new record
|
|
15
|
+
* const newRecord = accessor.new();
|
|
16
|
+
* await newRecord.createBrskEntityMigrationError({ ... });
|
|
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.BrskEntityMigrationErrorAccessor = 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 BrskEntityMigrationErrorRecord_1 = require("../records-v2/BrskEntityMigrationErrorRecord");
|
|
47
|
+
class BrskEntityMigrationErrorAccessor {
|
|
48
|
+
constructor(providerOrAuth, host) {
|
|
49
|
+
this._moduleName = 'AuditModule';
|
|
50
|
+
this._entityName = 'BrskEntityMigrationError';
|
|
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 BrskEntityMigrationError 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 BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(null, this._provider, id);
|
|
94
|
+
}
|
|
95
|
+
// ============================================
|
|
96
|
+
// RECORD RETRIEVAL
|
|
97
|
+
// ============================================
|
|
98
|
+
/**
|
|
99
|
+
* Get a single BrskEntityMigrationError 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 BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(record, this._provider);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get multiple BrskEntityMigrationError 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 BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(r, this._provider));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ============================================
|
|
119
|
+
// SEARCH OPERATIONS
|
|
120
|
+
// ============================================
|
|
121
|
+
/**
|
|
122
|
+
* Search BrskEntityMigrationError 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 BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(r, this._provider)),
|
|
129
|
+
totalRecords: result.totalRecords,
|
|
130
|
+
hasMore: result.hasMore,
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Search all BrskEntityMigrationError records with automatic pagination
|
|
136
|
+
*/
|
|
137
|
+
searchAll(params) {
|
|
138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
139
|
+
const result = yield this._provider._searchAllRecordsAndPaginate(this._moduleName, this._entityName, params);
|
|
140
|
+
return result.records.map((r) => new BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(r, this._provider));
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Async generator for paginating through all matching records.
|
|
145
|
+
* Yields batches of wrapped records.
|
|
146
|
+
*/
|
|
147
|
+
paginate(params) {
|
|
148
|
+
var _a;
|
|
149
|
+
return __asyncGenerator(this, arguments, function* paginate_1() {
|
|
150
|
+
let hasMore = true;
|
|
151
|
+
let searchAfter;
|
|
152
|
+
const query = Object.assign(Object.assign({}, params.query), { pageSize: ((_a = params.query) === null || _a === void 0 ? void 0 : _a.pageSize) || 500 });
|
|
153
|
+
while (hasMore) {
|
|
154
|
+
const result = yield __await(this._provider._searchRecords(this._moduleName, this._entityName, Object.assign(Object.assign({}, params), { query: Object.assign(Object.assign({}, query), { searchAfter }) })));
|
|
155
|
+
if (result.records.length > 0) {
|
|
156
|
+
yield yield __await(result.records.map((r) => new BrskEntityMigrationErrorRecord_1.BrskEntityMigrationErrorRecord(r, this._provider)));
|
|
157
|
+
const lastRecord = result.records[result.records.length - 1];
|
|
158
|
+
searchAfter = lastRecord === null || lastRecord === void 0 ? void 0 : lastRecord.sort;
|
|
159
|
+
}
|
|
160
|
+
hasMore = result.hasMore && result.records.length >= query.pageSize;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
// ============================================
|
|
165
|
+
// QUERY BUILDER
|
|
166
|
+
// ============================================
|
|
167
|
+
/**
|
|
168
|
+
* Create a fluent query builder for BrskEntityMigrationError records
|
|
169
|
+
*
|
|
170
|
+
* @example
|
|
171
|
+
* ```typescript
|
|
172
|
+
* const results = await accessor
|
|
173
|
+
* .query()
|
|
174
|
+
* .where('Status', 'in', ['Active', 'Pending'])
|
|
175
|
+
* .where('CreatedAt', 'gte', '2025-01-01')
|
|
176
|
+
* .select('id', 'title', 'properties.*')
|
|
177
|
+
* .sortBy('createdAt', 'desc')
|
|
178
|
+
* .limit(100)
|
|
179
|
+
* .execute();
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
query() {
|
|
183
|
+
return (0, query_builder_1.createQueryBuilder)(this);
|
|
184
|
+
}
|
|
185
|
+
/** Access the underlying ApiProvider */
|
|
186
|
+
get provider() {
|
|
187
|
+
return this._provider;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.BrskEntityMigrationErrorAccessor = BrskEntityMigrationErrorAccessor;
|
|
@@ -16,6 +16,7 @@ export { AppointmentAccessor, AppointmentSearchResponse, AppointmentListResponse
|
|
|
16
16
|
export { BillingAdjustmentAccessor, BillingAdjustmentSearchResponse, BillingAdjustmentListResponse } from './BillingAdjustmentAccessor';
|
|
17
17
|
export { BillingRequestAccessor, BillingRequestSearchResponse, BillingRequestListResponse } from './BillingRequestAccessor';
|
|
18
18
|
export { BlockageA55Accessor, BlockageA55SearchResponse, BlockageA55ListResponse } from './BlockageA55Accessor';
|
|
19
|
+
export { BrskEntityMigrationErrorAccessor, BrskEntityMigrationErrorSearchResponse, BrskEntityMigrationErrorListResponse } from './BrskEntityMigrationErrorAccessor';
|
|
19
20
|
export { CallEventAccessor, CallEventSearchResponse, CallEventListResponse } from './CallEventAccessor';
|
|
20
21
|
export { CallLegAccessor, CallLegSearchResponse, CallLegListResponse } from './CallLegAccessor';
|
|
21
22
|
export { CallAccessor, CallSearchResponse, CallListResponse } from './CallAccessor';
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* AUTO-GENERATED - DO NOT EDIT DIRECTLY
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.YfStockAuditAccessor = exports.YfFieldServiceVisitAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgRetroAuditAccessor = exports.UgInstallationAuditAccessor = exports.UgInProgressAuditAccessor = exports.UgExternalAuditAccessor = void 0;
|
|
11
|
+
exports.OhExternalAuditAccessor = exports.OhAuditOfInstallationAccessor = exports.OfferAccessor = exports.NoteAccessor = exports.NetworkDeviceAccessor = exports.MessageAccessor = exports.LeadAccessor = exports.KnowledgeArticleAccessor = exports.InvoiceAccessor = exports.InvoiceItemAccessor = exports.InternalInstallAuditAccessor = exports.ImpersonationTrackerAccessor = exports.FileAccessor = exports.FieldServiceProductAccessor = exports.FieldServiceDispatchedProductAccessor = exports.EmailTemplateAccessor = exports.EmailSenderAccessor = exports.EmailAccessor = exports.DiscountAccessor = exports.CustomerPhonePortingAccessor = exports.CustomerDeviceRouterAccessor = exports.CustomerDeviceOntAccessor = exports.CustomerDeviceConfigurationAccessor = exports.CustomerDeviceAtaAccessor = exports.CrmDatasetAccessor = exports.CreditNoteAccessor = exports.ConversationAccessor = exports.ConversationFeedbackAccessor = exports.ContractBuyOutAccessor = exports.ContactAccessor = exports.ConfigAccessor = exports.ChurnRequestAccessor = exports.ChangeReasonAccessor = exports.CaseAccessor = exports.CampaignAccessor = exports.CallTransferAccessor = exports.CallAccessor = exports.CallLegAccessor = exports.CallEventAccessor = exports.BrskEntityMigrationErrorAccessor = exports.BlockageA55Accessor = exports.BillingRequestAccessor = exports.BillingAdjustmentAccessor = exports.AppointmentAccessor = exports.AffiliateCodeAccessor = exports.AddressAccessor = exports.ActivityAccessor = exports.ActivityLogAccessor = exports.AccountAccessor = exports.AccountCreditAccessor = void 0;
|
|
12
|
+
exports.TwilioUserUpdateAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TestEntityForVisualBuilderAccessor = exports.TeamAccessor = exports.SweeperMaintenanceAuditAccessor = exports.SmsMessageAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceVisitAuditAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.ReferralAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = exports.PhoneNumberAccessor = exports.PgWebhookAccessor = exports.PgWebhookAttemptAccessor = exports.PgVocalinkAccessor = exports.PgTransactionAccessor = exports.PgSortCodeSubstitutionAccessor = 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.OutageAccessor = exports.OrderAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = exports.OhRetroAuditAccessor = exports.OhInstallationAuditAccessor = exports.OhInProgressAuditAccessor = void 0;
|
|
13
|
+
exports.YfStockAuditAccessor = exports.YfFieldServiceVisitAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgRetroAuditAccessor = exports.UgInstallationAuditAccessor = exports.UgInProgressAuditAccessor = exports.UgExternalAuditAccessor = exports.UgAuditOfInstallationAccessor = 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");
|
|
@@ -31,6 +31,8 @@ var BillingRequestAccessor_1 = require("./BillingRequestAccessor");
|
|
|
31
31
|
Object.defineProperty(exports, "BillingRequestAccessor", { enumerable: true, get: function () { return BillingRequestAccessor_1.BillingRequestAccessor; } });
|
|
32
32
|
var BlockageA55Accessor_1 = require("./BlockageA55Accessor");
|
|
33
33
|
Object.defineProperty(exports, "BlockageA55Accessor", { enumerable: true, get: function () { return BlockageA55Accessor_1.BlockageA55Accessor; } });
|
|
34
|
+
var BrskEntityMigrationErrorAccessor_1 = require("./BrskEntityMigrationErrorAccessor");
|
|
35
|
+
Object.defineProperty(exports, "BrskEntityMigrationErrorAccessor", { enumerable: true, get: function () { return BrskEntityMigrationErrorAccessor_1.BrskEntityMigrationErrorAccessor; } });
|
|
34
36
|
var CallEventAccessor_1 = require("./CallEventAccessor");
|
|
35
37
|
Object.defineProperty(exports, "CallEventAccessor", { enumerable: true, get: function () { return CallEventAccessor_1.CallEventAccessor; } });
|
|
36
38
|
var CallLegAccessor_1 = require("./CallLegAccessor");
|
|
@@ -23,17 +23,9 @@ export interface AssignCaseMessage extends OdinRecordUpdatedEvent<AssignCaseDto,
|
|
|
23
23
|
* Properties for AssignCase action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 0
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 2
|
|
27
27
|
*/
|
|
28
28
|
export interface AssignCaseProperties {
|
|
29
|
-
/**
|
|
30
|
-
* Team
|
|
31
|
-
*
|
|
32
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
33
|
-
* @type {LOOKUP}
|
|
34
|
-
* @visibleWhen Channel = ["CALL","CUSTOMER_PORTAL","CUSTOMER_APP","EMAIL","FACEBOOK_MESSENGER","IN_APP_CHAT","INSTAGRAM_DM","SMS","TLOS_APP","TLOS_PORTAL","TRUSTPILOT_SERVICE_REVIEW","WEB_CHAT","WEB_FORM_BUSINESS","WHATSAPP"]
|
|
35
|
-
*/
|
|
36
|
-
TeamId?: string | null;
|
|
37
29
|
/**
|
|
38
30
|
* Owner
|
|
39
31
|
*
|
|
@@ -42,12 +34,12 @@ export interface AssignCaseProperties {
|
|
|
42
34
|
*/
|
|
43
35
|
OwnerId?: string | null;
|
|
44
36
|
/**
|
|
45
|
-
*
|
|
37
|
+
* Team
|
|
46
38
|
*
|
|
47
|
-
*
|
|
48
|
-
* @type {
|
|
39
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
40
|
+
* @type {LOOKUP}
|
|
49
41
|
*/
|
|
50
|
-
|
|
42
|
+
TeamId?: string | null;
|
|
51
43
|
}
|
|
52
44
|
/**
|
|
53
45
|
* Assign Owner
|
|
@@ -16,17 +16,9 @@ import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdated
|
|
|
16
16
|
* Properties for AssignCase action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 0
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 2
|
|
20
20
|
*/
|
|
21
21
|
export interface AssignCaseProperties {
|
|
22
|
-
/**
|
|
23
|
-
* Team
|
|
24
|
-
*
|
|
25
|
-
* Reference identifier for Case relationships. Used for data integrity.
|
|
26
|
-
* @type {LOOKUP}
|
|
27
|
-
* @visibleWhen Channel = ["CALL","CUSTOMER_PORTAL","CUSTOMER_APP","EMAIL","FACEBOOK_MESSENGER","IN_APP_CHAT","INSTAGRAM_DM","SMS","TLOS_APP","TLOS_PORTAL","TRUSTPILOT_SERVICE_REVIEW","WEB_CHAT","WEB_FORM_BUSINESS","WHATSAPP"]
|
|
28
|
-
*/
|
|
29
|
-
TeamId?: string | null;
|
|
30
22
|
/**
|
|
31
23
|
* Owner
|
|
32
24
|
*
|
|
@@ -35,12 +27,12 @@ export interface AssignCaseProperties {
|
|
|
35
27
|
*/
|
|
36
28
|
OwnerId?: string | null;
|
|
37
29
|
/**
|
|
38
|
-
*
|
|
30
|
+
* Team
|
|
39
31
|
*
|
|
40
|
-
*
|
|
41
|
-
* @type {
|
|
32
|
+
* Reference identifier for Case relationships. Used for data integrity.
|
|
33
|
+
* @type {LOOKUP}
|
|
42
34
|
*/
|
|
43
|
-
|
|
35
|
+
TeamId?: string | null;
|
|
44
36
|
}
|
|
45
37
|
/**
|
|
46
38
|
* Assign Owner
|
|
@@ -23,7 +23,7 @@ export interface CreateAuddisPgSubmissionAllocationMessage extends OdinRecordCre
|
|
|
23
23
|
* Properties for CreateAuddisPgSubmissionAllocation action
|
|
24
24
|
*
|
|
25
25
|
* @property Required fields: 2
|
|
26
|
-
* @property Optional fields:
|
|
26
|
+
* @property Optional fields: 1
|
|
27
27
|
*/
|
|
28
28
|
export interface CreateAuddisPgSubmissionAllocationProperties {
|
|
29
29
|
/**
|
|
@@ -42,6 +42,13 @@ export interface CreateAuddisPgSubmissionAllocationProperties {
|
|
|
42
42
|
* @required
|
|
43
43
|
*/
|
|
44
44
|
PaymentMethod: string;
|
|
45
|
+
/**
|
|
46
|
+
* SubmissionFileLineNumber
|
|
47
|
+
*
|
|
48
|
+
* Submission File Line Number
|
|
49
|
+
* @type {NUMBER}
|
|
50
|
+
*/
|
|
51
|
+
SubmissionFileLineNumber?: number | null;
|
|
45
52
|
}
|
|
46
53
|
/**
|
|
47
54
|
* CreateAuddisPgSubmissionAllocation
|