@d19n/youfibre-odin-sdk 2.0.229-beta.8 → 2.0.229
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 -14
- package/dist/EntityRegistry.d.ts +2 -2
- package/dist/EntityRegistry.js +2 -2
- package/dist/OdinApiClient.d.ts +4 -4
- package/dist/OdinApiClient.js +8 -8
- package/dist/OdinDbClient.d.ts +4 -4
- package/dist/OdinDbClient.js +8 -8
- package/dist/accessors-v2/index.d.ts +1 -1
- package/dist/accessors-v2/index.js +3 -3
- package/dist/actions-v2/CancelOrderPreInstallDto.d.ts +0 -4
- package/dist/actions-v2/CancelOrderPreInstallDto.js +1 -5
- package/dist/actions-v2/CompletePicRequestDto.d.ts +23 -8
- package/dist/actions-v2/CompletePicRequestDto.js +0 -7
- package/dist/actions-v2/CompletePicRequestFlowDto.d.ts +23 -5
- package/dist/actions-v2/CompletePicRequestFlowDto.js +0 -4
- package/dist/actions-v2/CreatePicRequestDto.d.ts +0 -7
- package/dist/actions-v2/CreatePicRequestDto.js +1 -8
- package/dist/actions-v2/DefaultUpdatePicRequestDto.d.ts +0 -4
- package/dist/actions-v2/DefaultUpdatePicRequestDto.js +0 -4
- package/dist/actions-v2/UpdateCallAnalyticsDto.d.ts +8 -1
- package/dist/actions-v2/UpdateCallOnInboundCallAnsweredDto.d.ts +15 -1
- package/dist/actions-v2/UpdateCallOnOutboundCallAnsweredDto.d.ts +30 -0
- package/dist/actions-v2/UpdateCallOnOutboundCallCompletedDto.d.ts +8 -1
- package/dist/actions-v2/UpdatePgPaymentMethodDto.d.ts +15 -1
- package/dist/actions-v2/UpdatePgTransactionChargeDto.d.ts +15 -1
- package/dist/actions-v2/UpdatePgTransactionRefundDto.d.ts +15 -1
- package/dist/db-accessors-v2/index.d.ts +1 -1
- package/dist/db-accessors-v2/index.js +3 -3
- package/dist/entities-v2/Call.d.ts +14 -7
- package/dist/entities-v2/Call.js +4 -2
- package/dist/entities-v2/PICRequest.d.ts +108 -12
- package/dist/entities-v2/PICRequest.js +93 -12
- package/dist/entities-v2/PgPaymentMethod.d.ts +15 -1
- package/dist/entities-v2/PgPaymentMethod.js +4 -0
- package/dist/entities-v2/PgTransaction.d.ts +34 -0
- package/dist/entities-v2/PgTransaction.js +4 -0
- package/dist/records-v2/CaseRecord.d.ts +122 -122
- package/dist/records-v2/CaseRecord.js +177 -177
- package/dist/records-v2/OrderRecord.js +0 -1
- package/dist/records-v2/PICRequestRecord.d.ts +2 -2
- package/dist/records-v2/PICRequestRecord.js +3 -4
- package/dist/records-v2/PaymentRecord.d.ts +22 -22
- package/dist/records-v2/PaymentRecord.js +24 -24
- package/dist/records-v2/index.d.ts +1 -1
- package/dist/records-v2/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -796,7 +796,6 @@ This SDK includes **732** actions.
|
|
|
796
796
|
| `AssignCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase |
|
|
797
797
|
| `AssignCaseTransition` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Flow.AssignCaseTransition |
|
|
798
798
|
| `AssignCaseWithNoteFlow` | MULTI_STEP_FLOW | k1.t-hEOJjsDb.SupportModule.Case.Update.AssignCase |
|
|
799
|
-
| `Casedefaultstageblocked` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
800
799
|
| `CaseDefaultStageEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
801
800
|
| `CaseDefaultStageSolved` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Transition.CaseDefaultStageSolved |
|
|
802
801
|
| `CaseTransitionBlockedToEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
@@ -808,6 +807,7 @@ This SDK includes **732** actions.
|
|
|
808
807
|
| `CaseTransitionPendingReplyToBlocked` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
809
808
|
| `CaseTransitionPendingReplyToEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
810
809
|
| `CaseTransitionSolvedToEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
810
|
+
| `Casedefaultstageblocked` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.MoveCaseToBlockedAction |
|
|
811
811
|
| `CasteTransitionOpenToEscalated` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
812
812
|
| `ChangeCaseChannel` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.ChangeCaseChannel |
|
|
813
813
|
| `CreateCase` | CREATE | k1.t-hEOJjsDb.SupportModule.Case.Create.CreateCase |
|
|
@@ -817,8 +817,8 @@ This SDK includes **732** actions.
|
|
|
817
817
|
| `EditCaseForm` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EditCaseForm |
|
|
818
818
|
| `EscalateCaseActionBrsk` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionBrsk |
|
|
819
819
|
| `EscalateCaseAction` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
820
|
-
| `EscalateCaseActionYfcs` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS |
|
|
821
820
|
| `EscalateCaseActionYf` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYF |
|
|
821
|
+
| `EscalateCaseActionYfcs` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseActionYFCS |
|
|
822
822
|
| `EscalateCaseTransition` | STAGE_TRANSITION | k1.t-hEOJjsDb.SupportModule.Case.Update.EscalateCaseAction |
|
|
823
823
|
| `ExceptionInput` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.ExceptionInput |
|
|
824
824
|
| `MarkCaseClosed` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.MarkCaseClosed |
|
|
@@ -846,8 +846,6 @@ This SDK includes **732** actions.
|
|
|
846
846
|
| `UpdateSentiment` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.UpdateSentiment |
|
|
847
847
|
| `UpdateTags` | UPDATE | k1.t-hEOJjsDb.SupportModule.Case.Update.UpdateTags |
|
|
848
848
|
|
|
849
|
-
**Casedefaultstageblocked Target Stages:** `CaseDefaultStageBlocked`
|
|
850
|
-
|
|
851
849
|
**CaseDefaultStageEscalated Target Stages:** `CaseDefaultStageEscalated`
|
|
852
850
|
|
|
853
851
|
**CaseDefaultStageSolved Target Stages:** `CaseDefaultStageSolved`
|
|
@@ -870,6 +868,8 @@ This SDK includes **732** actions.
|
|
|
870
868
|
|
|
871
869
|
**CaseTransitionSolvedToEscalated Target Stages:** `CaseDefaultStageEscalated`
|
|
872
870
|
|
|
871
|
+
**Casedefaultstageblocked Target Stages:** `CaseDefaultStageBlocked`
|
|
872
|
+
|
|
873
873
|
**CasteTransitionOpenToEscalated Target Stages:** `CaseDefaultStageEscalated`
|
|
874
874
|
|
|
875
875
|
**EscalateCaseTransition Target Stages:** `CaseDefaultStageEscalated`
|
|
@@ -1057,8 +1057,8 @@ This SDK includes **732** actions.
|
|
|
1057
1057
|
|--------|------|-------|
|
|
1058
1058
|
| `CancelPayment` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.Payment.Transition.CancelPayment |
|
|
1059
1059
|
| `ConfirmPaymentSuccess` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.Payment.Transition.ConfirmPaymentSuccess |
|
|
1060
|
-
| `Createpayment` | CREATE | k1.t-hEOJjsDb.BillingModule.Payment.Create.Createpayment |
|
|
1061
1060
|
| `CreatePaymentForInvoices` | CREATE | k1.t-hEOJjsDb.BillingModule.Payment.Create.CreatePaymentForInvoices |
|
|
1061
|
+
| `Createpayment` | CREATE | k1.t-hEOJjsDb.BillingModule.Payment.Create.Createpayment |
|
|
1062
1062
|
| `FailPayment` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.Payment.Transition.FailPayment |
|
|
1063
1063
|
| `SetPaymentLink` | UPDATE | k1.t-hEOJjsDb.BillingModule.Payment.Update.SetPaymentLink |
|
|
1064
1064
|
| `SetPaymentPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.Payment.Update.SetPaymentPending |
|
|
@@ -1559,15 +1559,6 @@ This SDK includes **732** actions.
|
|
|
1559
1559
|
|
|
1560
1560
|
**MoveOrderReferralToQualified Target Stages:** `OrderFlowStageQualified`
|
|
1561
1561
|
|
|
1562
|
-
#### OutboundDialCampaignCase
|
|
1563
|
-
|
|
1564
|
-
| Action | Type | Event |
|
|
1565
|
-
|--------|------|-------|
|
|
1566
|
-
| `Createoutbounddialcampaigncase` | CREATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Create.Createoutbounddialcampaigncase |
|
|
1567
|
-
| `UpdateOutboundDialCampaignCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCase |
|
|
1568
|
-
| `UpdateOutboundDialCampaignCaseOnDialEnd` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCaseOnDialEnd |
|
|
1569
|
-
| `UpdateOutboundDialCampaignCaseOnDialStart` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCaseOnDialStart |
|
|
1570
|
-
|
|
1571
1562
|
#### OutboundDialCampaign
|
|
1572
1563
|
|
|
1573
1564
|
| Action | Type | Event |
|
|
@@ -1985,6 +1976,15 @@ This SDK includes **732** actions.
|
|
|
1985
1976
|
|--------|------|-------|
|
|
1986
1977
|
| `CreateWorkOrderStatusUpdate` | CREATE | k1.t-hEOJjsDb.FieldServiceModule.WorkOrderStatusUpdate.Create.CreateWorkOrderStatusUpdate |
|
|
1987
1978
|
|
|
1979
|
+
#### OutboundDialCampaignCase
|
|
1980
|
+
|
|
1981
|
+
| Action | Type | Event |
|
|
1982
|
+
|--------|------|-------|
|
|
1983
|
+
| `Createoutbounddialcampaigncase` | CREATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Create.Createoutbounddialcampaigncase |
|
|
1984
|
+
| `UpdateOutboundDialCampaignCase` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCase |
|
|
1985
|
+
| `UpdateOutboundDialCampaignCaseOnDialEnd` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCaseOnDialEnd |
|
|
1986
|
+
| `UpdateOutboundDialCampaignCaseOnDialStart` | UPDATE | k1.t-hEOJjsDb.SupportModule.OutboundDialCampaignCase.Update.UpdateOutboundDialCampaignCaseOnDialStart |
|
|
1987
|
+
|
|
1988
1988
|
#### CreditNote
|
|
1989
1989
|
|
|
1990
1990
|
| Action | Type | Event |
|
package/dist/EntityRegistry.d.ts
CHANGED
|
@@ -72,6 +72,7 @@ import { OutboundDialCampaignAccessor } from './accessors-v2/OutboundDialCampaig
|
|
|
72
72
|
import { OutboundDialCampaignCaseAccessor } from './accessors-v2/OutboundDialCampaignCaseAccessor';
|
|
73
73
|
import { OutboundDialSessionAccessor } from './accessors-v2/OutboundDialSessionAccessor';
|
|
74
74
|
import { OverlayRealA55Accessor } from './accessors-v2/OverlayRealA55Accessor';
|
|
75
|
+
import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
|
|
75
76
|
import { PaymentAccessor } from './accessors-v2/PaymentAccessor';
|
|
76
77
|
import { PaymentMethodAccessor } from './accessors-v2/PaymentMethodAccessor';
|
|
77
78
|
import { PaymentMethodRefundAccessor } from './accessors-v2/PaymentMethodRefundAccessor';
|
|
@@ -88,7 +89,6 @@ import { PgTransactionAccessor } from './accessors-v2/PgTransactionAccessor';
|
|
|
88
89
|
import { PgVocalinkAccessor } from './accessors-v2/PgVocalinkAccessor';
|
|
89
90
|
import { PgWebhookAccessor } from './accessors-v2/PgWebhookAccessor';
|
|
90
91
|
import { PgWebhookAttemptAccessor } from './accessors-v2/PgWebhookAttemptAccessor';
|
|
91
|
-
import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
|
|
92
92
|
import { PriceBookAccessor } from './accessors-v2/PriceBookAccessor';
|
|
93
93
|
import { ProductAccessor } from './accessors-v2/ProductAccessor';
|
|
94
94
|
import { PushNotificationAccessor } from './accessors-v2/PushNotificationAccessor';
|
|
@@ -183,6 +183,7 @@ export declare const EntityRegistry: {
|
|
|
183
183
|
readonly OutboundDialCampaignCase: typeof OutboundDialCampaignCaseAccessor;
|
|
184
184
|
readonly OutboundDialSession: typeof OutboundDialSessionAccessor;
|
|
185
185
|
readonly OverlayRealA55: typeof OverlayRealA55Accessor;
|
|
186
|
+
readonly PICRequest: typeof PICRequestAccessor;
|
|
186
187
|
readonly Payment: typeof PaymentAccessor;
|
|
187
188
|
readonly PaymentMethod: typeof PaymentMethodAccessor;
|
|
188
189
|
readonly PaymentMethodRefund: typeof PaymentMethodRefundAccessor;
|
|
@@ -199,7 +200,6 @@ export declare const EntityRegistry: {
|
|
|
199
200
|
readonly PgVocalink: typeof PgVocalinkAccessor;
|
|
200
201
|
readonly PgWebhook: typeof PgWebhookAccessor;
|
|
201
202
|
readonly PgWebhookAttempt: typeof PgWebhookAttemptAccessor;
|
|
202
|
-
readonly PICRequest: typeof PICRequestAccessor;
|
|
203
203
|
readonly PriceBook: typeof PriceBookAccessor;
|
|
204
204
|
readonly Product: typeof ProductAccessor;
|
|
205
205
|
readonly PushNotification: typeof PushNotificationAccessor;
|
package/dist/EntityRegistry.js
CHANGED
|
@@ -75,6 +75,7 @@ const OutboundDialCampaignAccessor_1 = require("./accessors-v2/OutboundDialCampa
|
|
|
75
75
|
const OutboundDialCampaignCaseAccessor_1 = require("./accessors-v2/OutboundDialCampaignCaseAccessor");
|
|
76
76
|
const OutboundDialSessionAccessor_1 = require("./accessors-v2/OutboundDialSessionAccessor");
|
|
77
77
|
const OverlayRealA55Accessor_1 = require("./accessors-v2/OverlayRealA55Accessor");
|
|
78
|
+
const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
|
|
78
79
|
const PaymentAccessor_1 = require("./accessors-v2/PaymentAccessor");
|
|
79
80
|
const PaymentMethodAccessor_1 = require("./accessors-v2/PaymentMethodAccessor");
|
|
80
81
|
const PaymentMethodRefundAccessor_1 = require("./accessors-v2/PaymentMethodRefundAccessor");
|
|
@@ -91,7 +92,6 @@ const PgTransactionAccessor_1 = require("./accessors-v2/PgTransactionAccessor");
|
|
|
91
92
|
const PgVocalinkAccessor_1 = require("./accessors-v2/PgVocalinkAccessor");
|
|
92
93
|
const PgWebhookAccessor_1 = require("./accessors-v2/PgWebhookAccessor");
|
|
93
94
|
const PgWebhookAttemptAccessor_1 = require("./accessors-v2/PgWebhookAttemptAccessor");
|
|
94
|
-
const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
|
|
95
95
|
const PriceBookAccessor_1 = require("./accessors-v2/PriceBookAccessor");
|
|
96
96
|
const ProductAccessor_1 = require("./accessors-v2/ProductAccessor");
|
|
97
97
|
const PushNotificationAccessor_1 = require("./accessors-v2/PushNotificationAccessor");
|
|
@@ -186,6 +186,7 @@ exports.EntityRegistry = {
|
|
|
186
186
|
'OutboundDialCampaignCase': OutboundDialCampaignCaseAccessor_1.OutboundDialCampaignCaseAccessor,
|
|
187
187
|
'OutboundDialSession': OutboundDialSessionAccessor_1.OutboundDialSessionAccessor,
|
|
188
188
|
'OverlayRealA55': OverlayRealA55Accessor_1.OverlayRealA55Accessor,
|
|
189
|
+
'PICRequest': PICRequestAccessor_1.PICRequestAccessor,
|
|
189
190
|
'Payment': PaymentAccessor_1.PaymentAccessor,
|
|
190
191
|
'PaymentMethod': PaymentMethodAccessor_1.PaymentMethodAccessor,
|
|
191
192
|
'PaymentMethodRefund': PaymentMethodRefundAccessor_1.PaymentMethodRefundAccessor,
|
|
@@ -202,7 +203,6 @@ exports.EntityRegistry = {
|
|
|
202
203
|
'PgVocalink': PgVocalinkAccessor_1.PgVocalinkAccessor,
|
|
203
204
|
'PgWebhook': PgWebhookAccessor_1.PgWebhookAccessor,
|
|
204
205
|
'PgWebhookAttempt': PgWebhookAttemptAccessor_1.PgWebhookAttemptAccessor,
|
|
205
|
-
'PICRequest': PICRequestAccessor_1.PICRequestAccessor,
|
|
206
206
|
'PriceBook': PriceBookAccessor_1.PriceBookAccessor,
|
|
207
207
|
'Product': ProductAccessor_1.ProductAccessor,
|
|
208
208
|
'PushNotification': PushNotificationAccessor_1.PushNotificationAccessor,
|
package/dist/OdinApiClient.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import { OutboundDialCampaignAccessor } from './accessors-v2/OutboundDialCampaig
|
|
|
82
82
|
import { OutboundDialCampaignCaseAccessor } from './accessors-v2/OutboundDialCampaignCaseAccessor';
|
|
83
83
|
import { OutboundDialSessionAccessor } from './accessors-v2/OutboundDialSessionAccessor';
|
|
84
84
|
import { OverlayRealA55Accessor } from './accessors-v2/OverlayRealA55Accessor';
|
|
85
|
+
import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
|
|
85
86
|
import { PaymentAccessor } from './accessors-v2/PaymentAccessor';
|
|
86
87
|
import { PaymentMethodAccessor } from './accessors-v2/PaymentMethodAccessor';
|
|
87
88
|
import { PaymentMethodRefundAccessor } from './accessors-v2/PaymentMethodRefundAccessor';
|
|
@@ -98,7 +99,6 @@ import { PgTransactionAccessor } from './accessors-v2/PgTransactionAccessor';
|
|
|
98
99
|
import { PgVocalinkAccessor } from './accessors-v2/PgVocalinkAccessor';
|
|
99
100
|
import { PgWebhookAccessor } from './accessors-v2/PgWebhookAccessor';
|
|
100
101
|
import { PgWebhookAttemptAccessor } from './accessors-v2/PgWebhookAttemptAccessor';
|
|
101
|
-
import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
|
|
102
102
|
import { PriceBookAccessor } from './accessors-v2/PriceBookAccessor';
|
|
103
103
|
import { ProductAccessor } from './accessors-v2/ProductAccessor';
|
|
104
104
|
import { PushNotificationAccessor } from './accessors-v2/PushNotificationAccessor';
|
|
@@ -202,6 +202,7 @@ export declare class OdinApiClient {
|
|
|
202
202
|
private _outboundDialCampaignCases?;
|
|
203
203
|
private _outboundDialSessions?;
|
|
204
204
|
private _overlayRealA55s?;
|
|
205
|
+
private _picRequests?;
|
|
205
206
|
private _payments?;
|
|
206
207
|
private _paymentMethods?;
|
|
207
208
|
private _paymentMethodRefunds?;
|
|
@@ -218,7 +219,6 @@ export declare class OdinApiClient {
|
|
|
218
219
|
private _pgVocalinks?;
|
|
219
220
|
private _pgWebhooks?;
|
|
220
221
|
private _pgWebhookAttempts?;
|
|
221
|
-
private _picRequests?;
|
|
222
222
|
private _priceBooks?;
|
|
223
223
|
private _products?;
|
|
224
224
|
private _pushNotifications?;
|
|
@@ -384,6 +384,8 @@ export declare class OdinApiClient {
|
|
|
384
384
|
get outboundDialSessions(): OutboundDialSessionAccessor;
|
|
385
385
|
/** Access OverlayRealA55 records */
|
|
386
386
|
get overlayRealA55s(): OverlayRealA55Accessor;
|
|
387
|
+
/** Access PICRequest records */
|
|
388
|
+
get picRequests(): PICRequestAccessor;
|
|
387
389
|
/** Access Payment records */
|
|
388
390
|
get payments(): PaymentAccessor;
|
|
389
391
|
/** Access PaymentMethod records */
|
|
@@ -416,8 +418,6 @@ export declare class OdinApiClient {
|
|
|
416
418
|
get pgWebhooks(): PgWebhookAccessor;
|
|
417
419
|
/** Access PgWebhookAttempt records */
|
|
418
420
|
get pgWebhookAttempts(): PgWebhookAttemptAccessor;
|
|
419
|
-
/** Access PICRequest records */
|
|
420
|
-
get picRequests(): PICRequestAccessor;
|
|
421
421
|
/** Access PriceBook records */
|
|
422
422
|
get priceBooks(): PriceBookAccessor;
|
|
423
423
|
/** Access Product records */
|
package/dist/OdinApiClient.js
CHANGED
|
@@ -93,6 +93,7 @@ const OutboundDialCampaignAccessor_1 = require("./accessors-v2/OutboundDialCampa
|
|
|
93
93
|
const OutboundDialCampaignCaseAccessor_1 = require("./accessors-v2/OutboundDialCampaignCaseAccessor");
|
|
94
94
|
const OutboundDialSessionAccessor_1 = require("./accessors-v2/OutboundDialSessionAccessor");
|
|
95
95
|
const OverlayRealA55Accessor_1 = require("./accessors-v2/OverlayRealA55Accessor");
|
|
96
|
+
const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
|
|
96
97
|
const PaymentAccessor_1 = require("./accessors-v2/PaymentAccessor");
|
|
97
98
|
const PaymentMethodAccessor_1 = require("./accessors-v2/PaymentMethodAccessor");
|
|
98
99
|
const PaymentMethodRefundAccessor_1 = require("./accessors-v2/PaymentMethodRefundAccessor");
|
|
@@ -109,7 +110,6 @@ const PgTransactionAccessor_1 = require("./accessors-v2/PgTransactionAccessor");
|
|
|
109
110
|
const PgVocalinkAccessor_1 = require("./accessors-v2/PgVocalinkAccessor");
|
|
110
111
|
const PgWebhookAccessor_1 = require("./accessors-v2/PgWebhookAccessor");
|
|
111
112
|
const PgWebhookAttemptAccessor_1 = require("./accessors-v2/PgWebhookAttemptAccessor");
|
|
112
|
-
const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
|
|
113
113
|
const PriceBookAccessor_1 = require("./accessors-v2/PriceBookAccessor");
|
|
114
114
|
const ProductAccessor_1 = require("./accessors-v2/ProductAccessor");
|
|
115
115
|
const PushNotificationAccessor_1 = require("./accessors-v2/PushNotificationAccessor");
|
|
@@ -597,6 +597,13 @@ class OdinApiClient {
|
|
|
597
597
|
}
|
|
598
598
|
return this._overlayRealA55s;
|
|
599
599
|
}
|
|
600
|
+
/** Access PICRequest records */
|
|
601
|
+
get picRequests() {
|
|
602
|
+
if (!this._picRequests) {
|
|
603
|
+
this._picRequests = new PICRequestAccessor_1.PICRequestAccessor(this._provider);
|
|
604
|
+
}
|
|
605
|
+
return this._picRequests;
|
|
606
|
+
}
|
|
600
607
|
/** Access Payment records */
|
|
601
608
|
get payments() {
|
|
602
609
|
if (!this._payments) {
|
|
@@ -709,13 +716,6 @@ class OdinApiClient {
|
|
|
709
716
|
}
|
|
710
717
|
return this._pgWebhookAttempts;
|
|
711
718
|
}
|
|
712
|
-
/** Access PICRequest records */
|
|
713
|
-
get picRequests() {
|
|
714
|
-
if (!this._picRequests) {
|
|
715
|
-
this._picRequests = new PICRequestAccessor_1.PICRequestAccessor(this._provider);
|
|
716
|
-
}
|
|
717
|
-
return this._picRequests;
|
|
718
|
-
}
|
|
719
719
|
/** Access PriceBook records */
|
|
720
720
|
get priceBooks() {
|
|
721
721
|
if (!this._priceBooks) {
|
package/dist/OdinDbClient.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ import { OutboundDialCampaignCaseDbAccessor } from './db-accessors-v2/OutboundDi
|
|
|
89
89
|
import { OutboundDialCampaignDbAccessor } from './db-accessors-v2/OutboundDialCampaignDbAccessor';
|
|
90
90
|
import { OutboundDialSessionDbAccessor } from './db-accessors-v2/OutboundDialSessionDbAccessor';
|
|
91
91
|
import { OverlayRealA55DbAccessor } from './db-accessors-v2/OverlayRealA55DbAccessor';
|
|
92
|
+
import { PICRequestDbAccessor } from './db-accessors-v2/PICRequestDbAccessor';
|
|
92
93
|
import { PaymentDbAccessor } from './db-accessors-v2/PaymentDbAccessor';
|
|
93
94
|
import { PaymentMethodDbAccessor } from './db-accessors-v2/PaymentMethodDbAccessor';
|
|
94
95
|
import { PaymentMethodRefundDbAccessor } from './db-accessors-v2/PaymentMethodRefundDbAccessor';
|
|
@@ -105,7 +106,6 @@ import { PgTransactionDbAccessor } from './db-accessors-v2/PgTransactionDbAccess
|
|
|
105
106
|
import { PgVocalinkDbAccessor } from './db-accessors-v2/PgVocalinkDbAccessor';
|
|
106
107
|
import { PgWebhookAttemptDbAccessor } from './db-accessors-v2/PgWebhookAttemptDbAccessor';
|
|
107
108
|
import { PgWebhookDbAccessor } from './db-accessors-v2/PgWebhookDbAccessor';
|
|
108
|
-
import { PICRequestDbAccessor } from './db-accessors-v2/PICRequestDbAccessor';
|
|
109
109
|
import { PriceBookDbAccessor } from './db-accessors-v2/PriceBookDbAccessor';
|
|
110
110
|
import { ProductDbAccessor } from './db-accessors-v2/ProductDbAccessor';
|
|
111
111
|
import { PushNotificationDbAccessor } from './db-accessors-v2/PushNotificationDbAccessor';
|
|
@@ -203,6 +203,7 @@ export declare class OdinDbClient {
|
|
|
203
203
|
private _outboundDialCampaigns?;
|
|
204
204
|
private _outboundDialSessions?;
|
|
205
205
|
private _overlayRealA55s?;
|
|
206
|
+
private _picRequests?;
|
|
206
207
|
private _payments?;
|
|
207
208
|
private _paymentMethods?;
|
|
208
209
|
private _paymentMethodRefunds?;
|
|
@@ -219,7 +220,6 @@ export declare class OdinDbClient {
|
|
|
219
220
|
private _pgVocalinks?;
|
|
220
221
|
private _pgWebhookAttempts?;
|
|
221
222
|
private _pgWebhooks?;
|
|
222
|
-
private _picRequests?;
|
|
223
223
|
private _priceBooks?;
|
|
224
224
|
private _products?;
|
|
225
225
|
private _pushNotifications?;
|
|
@@ -394,6 +394,8 @@ export declare class OdinDbClient {
|
|
|
394
394
|
get outboundDialSessions(): OutboundDialSessionDbAccessor;
|
|
395
395
|
/** Access OverlayRealA55 records */
|
|
396
396
|
get overlayRealA55s(): OverlayRealA55DbAccessor;
|
|
397
|
+
/** Access PICRequest records */
|
|
398
|
+
get picRequests(): PICRequestDbAccessor;
|
|
397
399
|
/** Access Payment records */
|
|
398
400
|
get payments(): PaymentDbAccessor;
|
|
399
401
|
/** Access PaymentMethod records */
|
|
@@ -426,8 +428,6 @@ export declare class OdinDbClient {
|
|
|
426
428
|
get pgWebhookAttempts(): PgWebhookAttemptDbAccessor;
|
|
427
429
|
/** Access PgWebhook records */
|
|
428
430
|
get pgWebhooks(): PgWebhookDbAccessor;
|
|
429
|
-
/** Access PICRequest records */
|
|
430
|
-
get picRequests(): PICRequestDbAccessor;
|
|
431
431
|
/** Access PriceBook records */
|
|
432
432
|
get priceBooks(): PriceBookDbAccessor;
|
|
433
433
|
/** Access Product records */
|
package/dist/OdinDbClient.js
CHANGED
|
@@ -91,6 +91,7 @@ const OutboundDialCampaignCaseDbAccessor_1 = require("./db-accessors-v2/Outbound
|
|
|
91
91
|
const OutboundDialCampaignDbAccessor_1 = require("./db-accessors-v2/OutboundDialCampaignDbAccessor");
|
|
92
92
|
const OutboundDialSessionDbAccessor_1 = require("./db-accessors-v2/OutboundDialSessionDbAccessor");
|
|
93
93
|
const OverlayRealA55DbAccessor_1 = require("./db-accessors-v2/OverlayRealA55DbAccessor");
|
|
94
|
+
const PICRequestDbAccessor_1 = require("./db-accessors-v2/PICRequestDbAccessor");
|
|
94
95
|
const PaymentDbAccessor_1 = require("./db-accessors-v2/PaymentDbAccessor");
|
|
95
96
|
const PaymentMethodDbAccessor_1 = require("./db-accessors-v2/PaymentMethodDbAccessor");
|
|
96
97
|
const PaymentMethodRefundDbAccessor_1 = require("./db-accessors-v2/PaymentMethodRefundDbAccessor");
|
|
@@ -107,7 +108,6 @@ const PgTransactionDbAccessor_1 = require("./db-accessors-v2/PgTransactionDbAcce
|
|
|
107
108
|
const PgVocalinkDbAccessor_1 = require("./db-accessors-v2/PgVocalinkDbAccessor");
|
|
108
109
|
const PgWebhookAttemptDbAccessor_1 = require("./db-accessors-v2/PgWebhookAttemptDbAccessor");
|
|
109
110
|
const PgWebhookDbAccessor_1 = require("./db-accessors-v2/PgWebhookDbAccessor");
|
|
110
|
-
const PICRequestDbAccessor_1 = require("./db-accessors-v2/PICRequestDbAccessor");
|
|
111
111
|
const PriceBookDbAccessor_1 = require("./db-accessors-v2/PriceBookDbAccessor");
|
|
112
112
|
const ProductDbAccessor_1 = require("./db-accessors-v2/ProductDbAccessor");
|
|
113
113
|
const PushNotificationDbAccessor_1 = require("./db-accessors-v2/PushNotificationDbAccessor");
|
|
@@ -598,6 +598,13 @@ class OdinDbClient {
|
|
|
598
598
|
}
|
|
599
599
|
return this._overlayRealA55s;
|
|
600
600
|
}
|
|
601
|
+
/** Access PICRequest records */
|
|
602
|
+
get picRequests() {
|
|
603
|
+
if (!this._picRequests) {
|
|
604
|
+
this._picRequests = new PICRequestDbAccessor_1.PICRequestDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
605
|
+
}
|
|
606
|
+
return this._picRequests;
|
|
607
|
+
}
|
|
601
608
|
/** Access Payment records */
|
|
602
609
|
get payments() {
|
|
603
610
|
if (!this._payments) {
|
|
@@ -710,13 +717,6 @@ class OdinDbClient {
|
|
|
710
717
|
}
|
|
711
718
|
return this._pgWebhooks;
|
|
712
719
|
}
|
|
713
|
-
/** Access PICRequest records */
|
|
714
|
-
get picRequests() {
|
|
715
|
-
if (!this._picRequests) {
|
|
716
|
-
this._picRequests = new PICRequestDbAccessor_1.PICRequestDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
717
|
-
}
|
|
718
|
-
return this._picRequests;
|
|
719
|
-
}
|
|
720
720
|
/** Access PriceBook records */
|
|
721
721
|
get priceBooks() {
|
|
722
722
|
if (!this._priceBooks) {
|
|
@@ -67,6 +67,7 @@ export { OutboundDialCampaignCaseAccessor, OutboundDialCampaignCaseSearchRespons
|
|
|
67
67
|
export { OutboundDialCampaignAccessor, OutboundDialCampaignSearchResponse, OutboundDialCampaignListResponse } from './OutboundDialCampaignAccessor';
|
|
68
68
|
export { OutboundDialSessionAccessor, OutboundDialSessionSearchResponse, OutboundDialSessionListResponse } from './OutboundDialSessionAccessor';
|
|
69
69
|
export { OverlayRealA55Accessor, OverlayRealA55SearchResponse, OverlayRealA55ListResponse } from './OverlayRealA55Accessor';
|
|
70
|
+
export { PICRequestAccessor, PICRequestSearchResponse, PICRequestListResponse } from './PICRequestAccessor';
|
|
70
71
|
export { PaymentMethodAccessor, PaymentMethodSearchResponse, PaymentMethodListResponse } from './PaymentMethodAccessor';
|
|
71
72
|
export { PaymentMethodRefundAccessor, PaymentMethodRefundSearchResponse, PaymentMethodRefundListResponse } from './PaymentMethodRefundAccessor';
|
|
72
73
|
export { PaymentAccessor, PaymentSearchResponse, PaymentListResponse } from './PaymentAccessor';
|
|
@@ -83,7 +84,6 @@ export { PgTransactionAccessor, PgTransactionSearchResponse, PgTransactionListRe
|
|
|
83
84
|
export { PgVocalinkAccessor, PgVocalinkSearchResponse, PgVocalinkListResponse } from './PgVocalinkAccessor';
|
|
84
85
|
export { PgWebhookAttemptAccessor, PgWebhookAttemptSearchResponse, PgWebhookAttemptListResponse } from './PgWebhookAttemptAccessor';
|
|
85
86
|
export { PgWebhookAccessor, PgWebhookSearchResponse, PgWebhookListResponse } from './PgWebhookAccessor';
|
|
86
|
-
export { PICRequestAccessor, PICRequestSearchResponse, PICRequestListResponse } from './PICRequestAccessor';
|
|
87
87
|
export { PriceBookAccessor, PriceBookSearchResponse, PriceBookListResponse } from './PriceBookAccessor';
|
|
88
88
|
export { ProductAccessor, ProductSearchResponse, ProductListResponse } from './ProductAccessor';
|
|
89
89
|
export { PushNotificationAccessor, PushNotificationSearchResponse, PushNotificationListResponse } from './PushNotificationAccessor';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
11
|
exports.OhExternalAuditAccessor = exports.OfferTemplateAccessor = exports.OfferAccessor = exports.NoteAccessor = exports.NetworkDeviceAccessor = 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.CustomerPhonePortingAccessor = exports.CustomerDeviceRouterAccessor = 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.AffiliateCodeAccessor = exports.AddressAccessor = exports.AddressInteractionAccessor = exports.ActivityAccessor = exports.ActivityLogAccessor = exports.AccountAccessor = exports.AccountCreditAccessor = void 0;
|
|
12
|
-
exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsMessageAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.RegionAccessor = exports.ReferralAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = exports.
|
|
12
|
+
exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = exports.TwilioActivityAccessor = exports.TransactionAccessor = exports.TimeSlotAccessor = exports.TeamAccessor = exports.SmsMessageAccessor = exports.SiteSpecificRiskAssessmentOutcomeFormAccessor = exports.ServiceAccessor = exports.ServiceAppointmentAccessor = exports.ServiceAppointmentConfigAccessor = exports.ScheduleSlotAccessor = exports.SalesTerritoryAccessor = exports.RewardAccessor = exports.ReturnsAccessor = exports.RemediationRequiredReasonAccessor = exports.RemediationOutcomeFormAccessor = exports.RegionAccessor = exports.ReferralAccessor = exports.PushNotificationAccessor = exports.ProductAccessor = exports.PriceBookAccessor = 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.OutboundDialSessionAccessor = exports.OutboundDialCampaignAccessor = exports.OutboundDialCampaignCaseAccessor = exports.OutageAccessor = exports.OrderAccessor = exports.OrderKciAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = void 0;
|
|
13
13
|
exports.YfFieldServiceVisitAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = exports.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioWorkerAccessor = exports.TwilioUserUpdateAccessor = void 0;
|
|
14
14
|
var AccountCreditAccessor_1 = require("./AccountCreditAccessor");
|
|
15
15
|
Object.defineProperty(exports, "AccountCreditAccessor", { enumerable: true, get: function () { return AccountCreditAccessor_1.AccountCreditAccessor; } });
|
|
@@ -133,6 +133,8 @@ var OutboundDialSessionAccessor_1 = require("./OutboundDialSessionAccessor");
|
|
|
133
133
|
Object.defineProperty(exports, "OutboundDialSessionAccessor", { enumerable: true, get: function () { return OutboundDialSessionAccessor_1.OutboundDialSessionAccessor; } });
|
|
134
134
|
var OverlayRealA55Accessor_1 = require("./OverlayRealA55Accessor");
|
|
135
135
|
Object.defineProperty(exports, "OverlayRealA55Accessor", { enumerable: true, get: function () { return OverlayRealA55Accessor_1.OverlayRealA55Accessor; } });
|
|
136
|
+
var PICRequestAccessor_1 = require("./PICRequestAccessor");
|
|
137
|
+
Object.defineProperty(exports, "PICRequestAccessor", { enumerable: true, get: function () { return PICRequestAccessor_1.PICRequestAccessor; } });
|
|
136
138
|
var PaymentMethodAccessor_1 = require("./PaymentMethodAccessor");
|
|
137
139
|
Object.defineProperty(exports, "PaymentMethodAccessor", { enumerable: true, get: function () { return PaymentMethodAccessor_1.PaymentMethodAccessor; } });
|
|
138
140
|
var PaymentMethodRefundAccessor_1 = require("./PaymentMethodRefundAccessor");
|
|
@@ -165,8 +167,6 @@ var PgWebhookAttemptAccessor_1 = require("./PgWebhookAttemptAccessor");
|
|
|
165
167
|
Object.defineProperty(exports, "PgWebhookAttemptAccessor", { enumerable: true, get: function () { return PgWebhookAttemptAccessor_1.PgWebhookAttemptAccessor; } });
|
|
166
168
|
var PgWebhookAccessor_1 = require("./PgWebhookAccessor");
|
|
167
169
|
Object.defineProperty(exports, "PgWebhookAccessor", { enumerable: true, get: function () { return PgWebhookAccessor_1.PgWebhookAccessor; } });
|
|
168
|
-
var PICRequestAccessor_1 = require("./PICRequestAccessor");
|
|
169
|
-
Object.defineProperty(exports, "PICRequestAccessor", { enumerable: true, get: function () { return PICRequestAccessor_1.PICRequestAccessor; } });
|
|
170
170
|
var PriceBookAccessor_1 = require("./PriceBookAccessor");
|
|
171
171
|
Object.defineProperty(exports, "PriceBookAccessor", { enumerable: true, get: function () { return PriceBookAccessor_1.PriceBookAccessor; } });
|
|
172
172
|
var ProductAccessor_1 = require("./ProductAccessor");
|
|
@@ -49,7 +49,6 @@ export interface CreatePicRequestProperties {
|
|
|
49
49
|
* @actionType CREATE - Creates a new PICRequest record
|
|
50
50
|
* @module OrderModule
|
|
51
51
|
* @entity PICRequest
|
|
52
|
-
* @entityType DEFAULT (Default)
|
|
53
52
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
54
53
|
* @permission schema.action.createpicrequest.trigger
|
|
55
54
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -60,15 +59,12 @@ export declare class CreatePicRequestDto extends OdinRecordCreateDto<CreatePicRe
|
|
|
60
59
|
static readonly ACTION_KEY = "CreatePICRequest";
|
|
61
60
|
static readonly MODULE_NAME = "OrderModule";
|
|
62
61
|
static readonly ENTITIES: string[];
|
|
63
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
64
62
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest";
|
|
65
63
|
static readonly PERMISSION = "schema.action.createpicrequest.trigger";
|
|
66
64
|
/** Step metadata - entity this action targets */
|
|
67
65
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
68
66
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
69
67
|
static readonly STEP_SCHEMA_ACTION_ID = "496ce548-851d-413c-9faf-c5d7714d3dc9";
|
|
70
|
-
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
71
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
72
68
|
static readonly AUTO_LINK_PARENT = true;
|
|
73
69
|
readonly actionName: string;
|
|
74
70
|
readonly schemaActionId: string;
|
|
@@ -20,7 +20,6 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
20
20
|
* @actionType CREATE - Creates a new PICRequest record
|
|
21
21
|
* @module OrderModule
|
|
22
22
|
* @entity PICRequest
|
|
23
|
-
* @entityType DEFAULT (Default)
|
|
24
23
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest
|
|
25
24
|
* @permission schema.action.createpicrequest.trigger
|
|
26
25
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -29,7 +28,7 @@ class CreatePicRequestDto extends core_1.OdinRecordCreateDto {
|
|
|
29
28
|
constructor(properties, options) {
|
|
30
29
|
super({
|
|
31
30
|
entity: 'OrderModule:PICRequest',
|
|
32
|
-
type:
|
|
31
|
+
type: undefined,
|
|
33
32
|
properties,
|
|
34
33
|
journeyId: options === null || options === void 0 ? void 0 : options.journeyId,
|
|
35
34
|
});
|
|
@@ -44,15 +43,12 @@ CreatePicRequestDto.ACTION_TYPE = 'CREATE';
|
|
|
44
43
|
CreatePicRequestDto.ACTION_KEY = 'CreatePICRequest';
|
|
45
44
|
CreatePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
46
45
|
CreatePicRequestDto.ENTITIES = ['PICRequest'];
|
|
47
|
-
CreatePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
48
46
|
CreatePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Create.CreatePICRequest';
|
|
49
47
|
CreatePicRequestDto.PERMISSION = 'schema.action.createpicrequest.trigger';
|
|
50
48
|
/** Step metadata - entity this action targets */
|
|
51
49
|
CreatePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
52
50
|
CreatePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
53
51
|
CreatePicRequestDto.STEP_SCHEMA_ACTION_ID = '496ce548-851d-413c-9faf-c5d7714d3dc9';
|
|
54
|
-
CreatePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
55
|
-
CreatePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
56
52
|
CreatePicRequestDto.AUTO_LINK_PARENT = true;
|
|
57
53
|
/**
|
|
58
54
|
* Type-safe step keys for CancelOrderPreInstall
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CompletePICRequest Action DTO
|
|
3
3
|
*
|
|
4
|
-
* CompletePICRequest
|
|
5
|
-
*
|
|
6
4
|
* @module OrderModule
|
|
7
5
|
* @entity PICRequest
|
|
8
|
-
* @entityType DEFAULT
|
|
9
6
|
* @actionKey CompletePICRequest
|
|
10
7
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
11
8
|
*
|
|
@@ -23,7 +20,7 @@ export interface CompletePicRequestMessage extends OdinRecordUpdatedEvent<Comple
|
|
|
23
20
|
* Properties for CompletePICRequest action
|
|
24
21
|
*
|
|
25
22
|
* @property Required fields: 1
|
|
26
|
-
* @property Optional fields:
|
|
23
|
+
* @property Optional fields: 4
|
|
27
24
|
*/
|
|
28
25
|
export interface CompletePicRequestProperties {
|
|
29
26
|
/**
|
|
@@ -34,6 +31,28 @@ export interface CompletePicRequestProperties {
|
|
|
34
31
|
* @required
|
|
35
32
|
*/
|
|
36
33
|
Outcome: string;
|
|
34
|
+
/**
|
|
35
|
+
* Youfibre Retentions Offer
|
|
36
|
+
* @type {ENUM}
|
|
37
|
+
* @requiredWhen Outcome = ["SAVED"]
|
|
38
|
+
*/
|
|
39
|
+
YoufibreRetentionsOffer?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Comparable Offer - Please add broadband price value.
|
|
42
|
+
*
|
|
43
|
+
* Comparable Offer - Please add broadband price value.
|
|
44
|
+
* @type {NUMBER}
|
|
45
|
+
* @visibleWhen Outcome = ["LOST"]
|
|
46
|
+
* @requiredWhen Outcome = ["LOST"]
|
|
47
|
+
*/
|
|
48
|
+
ComparableOffer?: number | null;
|
|
49
|
+
/**
|
|
50
|
+
* Winning Provider
|
|
51
|
+
* @type {ENUM}
|
|
52
|
+
* @visibleWhen Outcome = ["LOST"]
|
|
53
|
+
* @requiredWhen Outcome = ["LOST"]
|
|
54
|
+
*/
|
|
55
|
+
WinningProvider?: string | null;
|
|
37
56
|
/**
|
|
38
57
|
* comment
|
|
39
58
|
*
|
|
@@ -48,7 +67,6 @@ export interface CompletePicRequestProperties {
|
|
|
48
67
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
49
68
|
* @module OrderModule
|
|
50
69
|
* @entity PICRequest
|
|
51
|
-
* @entityType DEFAULT (Default)
|
|
52
70
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
53
71
|
* @permission schema.action.completepicrequest.trigger
|
|
54
72
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -59,15 +77,12 @@ export declare class CompletePicRequestDto extends OdinRecordUpdateDto<CompleteP
|
|
|
59
77
|
static readonly ACTION_KEY = "CompletePICRequest";
|
|
60
78
|
static readonly MODULE_NAME = "OrderModule";
|
|
61
79
|
static readonly ENTITIES: string[];
|
|
62
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
63
80
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest";
|
|
64
81
|
static readonly PERMISSION = "schema.action.completepicrequest.trigger";
|
|
65
82
|
/** Step metadata - entity this action targets */
|
|
66
83
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
67
84
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
68
85
|
static readonly STEP_SCHEMA_ACTION_ID = "f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6";
|
|
69
|
-
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
70
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
71
86
|
static readonly AUTO_LINK_PARENT = false;
|
|
72
87
|
readonly actionName: string;
|
|
73
88
|
readonly schemaActionId: string;
|
|
@@ -2,11 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* CompletePICRequest Action DTO
|
|
4
4
|
*
|
|
5
|
-
* CompletePICRequest
|
|
6
|
-
*
|
|
7
5
|
* @module OrderModule
|
|
8
6
|
* @entity PICRequest
|
|
9
|
-
* @entityType DEFAULT
|
|
10
7
|
* @actionKey CompletePICRequest
|
|
11
8
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
12
9
|
*
|
|
@@ -21,7 +18,6 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
21
18
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
22
19
|
* @module OrderModule
|
|
23
20
|
* @entity PICRequest
|
|
24
|
-
* @entityType DEFAULT (Default)
|
|
25
21
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
26
22
|
* @permission schema.action.completepicrequest.trigger
|
|
27
23
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -47,13 +43,10 @@ CompletePicRequestDto.ACTION_TYPE = 'UPDATE';
|
|
|
47
43
|
CompletePicRequestDto.ACTION_KEY = 'CompletePICRequest';
|
|
48
44
|
CompletePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
49
45
|
CompletePicRequestDto.ENTITIES = ['PICRequest'];
|
|
50
|
-
CompletePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
51
46
|
CompletePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest';
|
|
52
47
|
CompletePicRequestDto.PERMISSION = 'schema.action.completepicrequest.trigger';
|
|
53
48
|
/** Step metadata - entity this action targets */
|
|
54
49
|
CompletePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
55
50
|
CompletePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
56
51
|
CompletePicRequestDto.STEP_SCHEMA_ACTION_ID = 'f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6';
|
|
57
|
-
CompletePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
58
|
-
CompletePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
59
52
|
CompletePicRequestDto.AUTO_LINK_PARENT = false;
|
|
@@ -16,7 +16,7 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
|
|
|
16
16
|
* Properties for CompletePICRequest action
|
|
17
17
|
*
|
|
18
18
|
* @property Required fields: 1
|
|
19
|
-
* @property Optional fields:
|
|
19
|
+
* @property Optional fields: 4
|
|
20
20
|
*/
|
|
21
21
|
export interface CompletePicRequestProperties {
|
|
22
22
|
/**
|
|
@@ -27,6 +27,28 @@ export interface CompletePicRequestProperties {
|
|
|
27
27
|
* @required
|
|
28
28
|
*/
|
|
29
29
|
Outcome: string;
|
|
30
|
+
/**
|
|
31
|
+
* Youfibre Retentions Offer
|
|
32
|
+
* @type {ENUM}
|
|
33
|
+
* @requiredWhen Outcome = ["SAVED"]
|
|
34
|
+
*/
|
|
35
|
+
YoufibreRetentionsOffer?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Comparable Offer - Please add broadband price value.
|
|
38
|
+
*
|
|
39
|
+
* Comparable Offer - Please add broadband price value.
|
|
40
|
+
* @type {NUMBER}
|
|
41
|
+
* @visibleWhen Outcome = ["LOST"]
|
|
42
|
+
* @requiredWhen Outcome = ["LOST"]
|
|
43
|
+
*/
|
|
44
|
+
ComparableOffer?: number | null;
|
|
45
|
+
/**
|
|
46
|
+
* Winning Provider
|
|
47
|
+
* @type {ENUM}
|
|
48
|
+
* @visibleWhen Outcome = ["LOST"]
|
|
49
|
+
* @requiredWhen Outcome = ["LOST"]
|
|
50
|
+
*/
|
|
51
|
+
WinningProvider?: string | null;
|
|
30
52
|
/**
|
|
31
53
|
* comment
|
|
32
54
|
*
|
|
@@ -41,7 +63,6 @@ export interface CompletePicRequestProperties {
|
|
|
41
63
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
42
64
|
* @module OrderModule
|
|
43
65
|
* @entity PICRequest
|
|
44
|
-
* @entityType DEFAULT (Default)
|
|
45
66
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
46
67
|
* @permission schema.action.completepicrequest.trigger
|
|
47
68
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -52,15 +73,12 @@ export declare class CompletePicRequestDto extends OdinRecordUpdateDto<CompleteP
|
|
|
52
73
|
static readonly ACTION_KEY = "CompletePICRequest";
|
|
53
74
|
static readonly MODULE_NAME = "OrderModule";
|
|
54
75
|
static readonly ENTITIES: string[];
|
|
55
|
-
static readonly ENTITY_TYPE = "DEFAULT";
|
|
56
76
|
static readonly EVENT_NAME = "k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest";
|
|
57
77
|
static readonly PERMISSION = "schema.action.completepicrequest.trigger";
|
|
58
78
|
/** Step metadata - entity this action targets */
|
|
59
79
|
static readonly STEP_ENTITY = "OrderModule:PICRequest";
|
|
60
80
|
static readonly STEP_SCHEMA_ID = "5d43f05b-29a7-4cb7-9eb4-95517cc18ba1";
|
|
61
81
|
static readonly STEP_SCHEMA_ACTION_ID = "f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6";
|
|
62
|
-
static readonly STEP_SCHEMA_TYPE_ID = "5a01904f-3508-4b80-97af-ee5c0f9b848b";
|
|
63
|
-
static readonly STEP_TYPE = "DEFAULT";
|
|
64
82
|
static readonly AUTO_LINK_PARENT = false;
|
|
65
83
|
readonly actionName: string;
|
|
66
84
|
readonly schemaActionId: string;
|
|
@@ -21,7 +21,6 @@ const core_1 = require("@d19n/odin-types/dist/core");
|
|
|
21
21
|
* @actionType UPDATE - Updates an existing PICRequest record
|
|
22
22
|
* @module OrderModule
|
|
23
23
|
* @entity PICRequest
|
|
24
|
-
* @entityType DEFAULT (Default)
|
|
25
24
|
* @event k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest
|
|
26
25
|
* @permission schema.action.completepicrequest.trigger
|
|
27
26
|
* @benchmark This action is tracked for performance benchmarks
|
|
@@ -47,15 +46,12 @@ CompletePicRequestDto.ACTION_TYPE = 'UPDATE';
|
|
|
47
46
|
CompletePicRequestDto.ACTION_KEY = 'CompletePICRequest';
|
|
48
47
|
CompletePicRequestDto.MODULE_NAME = 'OrderModule';
|
|
49
48
|
CompletePicRequestDto.ENTITIES = ['PICRequest'];
|
|
50
|
-
CompletePicRequestDto.ENTITY_TYPE = 'DEFAULT';
|
|
51
49
|
CompletePicRequestDto.EVENT_NAME = 'k1.t-hEOJjsDb.OrderModule.PICRequest.Update.CompletePICRequest';
|
|
52
50
|
CompletePicRequestDto.PERMISSION = 'schema.action.completepicrequest.trigger';
|
|
53
51
|
/** Step metadata - entity this action targets */
|
|
54
52
|
CompletePicRequestDto.STEP_ENTITY = 'OrderModule:PICRequest';
|
|
55
53
|
CompletePicRequestDto.STEP_SCHEMA_ID = '5d43f05b-29a7-4cb7-9eb4-95517cc18ba1';
|
|
56
54
|
CompletePicRequestDto.STEP_SCHEMA_ACTION_ID = 'f5840ff6-23ed-4f7a-8f5d-0bfd8fb45fb6';
|
|
57
|
-
CompletePicRequestDto.STEP_SCHEMA_TYPE_ID = '5a01904f-3508-4b80-97af-ee5c0f9b848b';
|
|
58
|
-
CompletePicRequestDto.STEP_TYPE = 'DEFAULT';
|
|
59
55
|
CompletePicRequestDto.AUTO_LINK_PARENT = false;
|
|
60
56
|
/**
|
|
61
57
|
* Type-safe step keys for CompletePicRequestFlow
|