@d19n/youfibre-odin-sdk 2.0.204 → 2.0.207
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 +24 -2
- 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/ConversationSummaryFeedbackAccessor.d.ts +111 -0
- package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.js +190 -0
- package/dist/accessors-v2/index.d.ts +1 -0
- package/dist/accessors-v2/index.js +5 -3
- package/dist/actions-v2/CompleteChurnRequestDto.d.ts +10 -1
- package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +10 -1
- package/dist/actions-v2/CreateConversationSummaryFeedbackDto.d.ts +101 -0
- package/dist/actions-v2/CreateConversationSummaryFeedbackDto.js +57 -0
- package/dist/actions-v2/CreateRecontractReminderEmailDto.d.ts +128 -0
- package/dist/actions-v2/CreateRecontractReminderEmailDto.js +59 -0
- package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToCreatedDto.js +62 -0
- package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgPaymentMethodToReallocatingDto.js +62 -0
- package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgTransactionChargeToReallocatingDto.js +62 -0
- package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.d.ts +70 -0
- package/dist/actions-v2/MovePgTransactionRefundToReallocatingDto.js +62 -0
- package/dist/actions-v2/OfferCreateDto.d.ts +10 -1
- package/dist/actions-v2/OfferUpdateDto.d.ts +10 -1
- package/dist/actions-v2/UpdateCallRecordingDetailsDto.d.ts +89 -0
- package/dist/actions-v2/UpdateCallRecordingDetailsDto.js +56 -0
- package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.d.ts +78 -0
- package/dist/actions-v2/UpdatePgAllocationSubmissionFileLineNumberDto.js +61 -0
- package/dist/api-sdk-v2/ConversationApi.d.ts +2 -0
- package/dist/api-sdk-v2/ConversationApi.js +6 -0
- package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.d.ts +48 -0
- package/dist/api-sdk-v2/ConversationSummaryFeedbackApi.js +155 -0
- package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/ConversationSummaryFeedbackDbAccessor.js +227 -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/ConversationDb.d.ts +2 -0
- package/dist/db-sdk-v2/ConversationDb.js +6 -0
- package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.d.ts +120 -0
- package/dist/db-sdk-v2/ConversationSummaryFeedbackDb.js +204 -0
- package/dist/entities-v2/ChurnRequest.d.ts +46 -5
- package/dist/entities-v2/ChurnRequest.js +41 -5
- package/dist/entities-v2/Conversation.d.ts +7 -0
- package/dist/entities-v2/Conversation.js +5 -1
- package/dist/entities-v2/ConversationSummaryFeedback.d.ts +153 -0
- package/dist/entities-v2/ConversationSummaryFeedback.js +122 -0
- package/dist/entities-v2/PgPaymentMethod.d.ts +20 -16
- package/dist/entities-v2/PgPaymentMethod.js +8 -4
- package/dist/entities-v2/PgTransaction.d.ts +12 -4
- package/dist/entities-v2/PgTransaction.js +8 -0
- package/dist/records-v2/CallRecord.d.ts +27 -0
- package/dist/records-v2/CallRecord.js +29 -0
- package/dist/records-v2/ConversationRecord.d.ts +20 -0
- package/dist/records-v2/ConversationRecord.js +33 -0
- package/dist/records-v2/ConversationSummaryFeedbackRecord.d.ts +205 -0
- package/dist/records-v2/ConversationSummaryFeedbackRecord.js +280 -0
- package/dist/records-v2/EmailRecord.d.ts +29 -0
- package/dist/records-v2/EmailRecord.js +36 -0
- package/dist/records-v2/PgFileAllocationRecord.d.ts +27 -0
- package/dist/records-v2/PgFileAllocationRecord.js +29 -0
- package/dist/records-v2/PgPaymentMethodRecord.d.ts +50 -0
- package/dist/records-v2/PgPaymentMethodRecord.js +58 -0
- package/dist/records-v2/PgTransactionRecord.d.ts +50 -0
- package/dist/records-v2/PgTransactionRecord.js +58 -0
- 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 **167** entities across **12** modules.
|
|
128
128
|
|
|
129
129
|
### CrmModule
|
|
130
130
|
|
|
@@ -290,6 +290,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
290
290
|
| **CallTransfer** | CallTransfer Entity Definition | DEFAULT |
|
|
291
291
|
| **CallUpdates** | CallUpdates Entity Definition | DEFAULT |
|
|
292
292
|
| **Conversation** | Conversation Entity Definition | DEFAULT |
|
|
293
|
+
| **ConversationSummaryFeedback** | ConversationSummaryFeedback Entity Definition | DEFAULT |
|
|
293
294
|
| **CustomerDeviceConfiguration** | CustomerDeviceConfiguration Entity Definition | DEFAULT |
|
|
294
295
|
| **Email** | Email Entity Definition | REFERRAL, SUPPORT, TRANSACTIONAL |
|
|
295
296
|
| **EmailSender** | EmailSender Entity Definition | DEFAULT |
|
|
@@ -354,7 +355,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
354
355
|
|
|
355
356
|
## Actions
|
|
356
357
|
|
|
357
|
-
This SDK includes **
|
|
358
|
+
This SDK includes **695** actions.
|
|
358
359
|
|
|
359
360
|
### Action Types
|
|
360
361
|
|
|
@@ -1230,6 +1231,7 @@ This SDK includes **687** actions.
|
|
|
1230
1231
|
| `CreateAuddisPgSubmissionAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateAuddisPgSubmissionAllocation |
|
|
1231
1232
|
| `CreateBacsPgReportAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateBacsPgReportAllocation |
|
|
1232
1233
|
| `CreateBacsPgSubmissionAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateBacsPgSubmissionAllocation |
|
|
1234
|
+
| `UpdatePgAllocationSubmissionFileLineNumber` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber |
|
|
1233
1235
|
| `UpdatePgAllocationWithAcknowledgementOne` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementOne |
|
|
1234
1236
|
| `UpdatePgAllocationWithAcknowledgementTwo` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementTwo |
|
|
1235
1237
|
| `UpdatePgAllocationWithBacsReport` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithBacsReport |
|
|
@@ -1314,6 +1316,7 @@ This SDK includes **687** actions.
|
|
|
1314
1316
|
| `CreateOrderReferralReferrerNotQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerNotQualifiedEmail |
|
|
1315
1317
|
| `CreateOrderReferralReferrerPendingEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail |
|
|
1316
1318
|
| `CreateOrderReferralReferrerQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerQualifiedEmail |
|
|
1319
|
+
| `CreateRecontractReminderEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail |
|
|
1317
1320
|
| `CreateTransactionalEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateTransactionalEmail |
|
|
1318
1321
|
| `SendDirectDebitCreatedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitCreatedEmail |
|
|
1319
1322
|
| `SendDirectDebitFailedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitFailedEmail |
|
|
@@ -1348,6 +1351,12 @@ This SDK includes **687** actions.
|
|
|
1348
1351
|
|--------|------|-------|
|
|
1349
1352
|
| `CreateContactIdentity` | CREATE | k1.t-hEOJjsDb.CrmModule.ContactIdentity.Create.createContactIdentity |
|
|
1350
1353
|
|
|
1354
|
+
#### ConversationSummaryFeedback
|
|
1355
|
+
|
|
1356
|
+
| Action | Type | Event |
|
|
1357
|
+
|--------|------|-------|
|
|
1358
|
+
| `CreateConversationSummaryFeedback` | CREATE | k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback |
|
|
1359
|
+
|
|
1351
1360
|
#### CustomerDeviceConfiguration
|
|
1352
1361
|
|
|
1353
1362
|
| Action | Type | Event |
|
|
@@ -1433,6 +1442,7 @@ This SDK includes **687** actions.
|
|
|
1433
1442
|
| `UpdateCallOnOutboundDialAction` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnOutboundDialAction |
|
|
1434
1443
|
| `UpdateCallOnTaskCanceled` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskCanceled |
|
|
1435
1444
|
| `UpdateCallOnTaskRouterAssign` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallOnTaskRouterAssign |
|
|
1445
|
+
| `UpdateCallRecordingDetails` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallRecordingDetails |
|
|
1436
1446
|
| `UpdateCallTranscriptionUrl` | UPDATE | k1.t-hEOJjsDb.NotificationModule.Call.Update.UpdateCallTranscriptionUrl |
|
|
1437
1447
|
|
|
1438
1448
|
#### InvoiceItem
|
|
@@ -1596,10 +1606,12 @@ This SDK includes **687** actions.
|
|
|
1596
1606
|
| `MovePgPaymentMethodToCancellationPending` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancellationPending |
|
|
1597
1607
|
| `MovePgPaymentMethodToCancellationRequested` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Update.MovePgPaymentMethodToCancellationRequested |
|
|
1598
1608
|
| `MovePgPaymentMethodToCancelled` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCancelled |
|
|
1609
|
+
| `MovePgPaymentMethodToCreated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToCreated |
|
|
1599
1610
|
| `MovePgPaymentMethodToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToFileRejected |
|
|
1600
1611
|
| `MovePgPaymentMethodToInstructionRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInstructionRejected |
|
|
1601
1612
|
| `MovePgPaymentMethodToInvalid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToInvalid |
|
|
1602
1613
|
| `MovePgPaymentMethodToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToProcessing |
|
|
1614
|
+
| `MovePgPaymentMethodToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToReallocating |
|
|
1603
1615
|
| `MovePgPaymentMethodToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToSubmissionFailed |
|
|
1604
1616
|
| `MovePgPaymentMethodToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToSubmitted |
|
|
1605
1617
|
| `MovePgPaymentMethodToValidated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgPaymentMethod.Transition.MovePgPaymentMethodToValidated |
|
|
@@ -1619,6 +1631,8 @@ This SDK includes **687** actions.
|
|
|
1619
1631
|
|
|
1620
1632
|
**MovePgPaymentMethodToCancelled Target Stages:** `StatusStageCancelled`
|
|
1621
1633
|
|
|
1634
|
+
**MovePgPaymentMethodToCreated Target Stages:** `StatusStageCreated`
|
|
1635
|
+
|
|
1622
1636
|
**MovePgPaymentMethodToFileRejected Target Stages:** `StatusStageFileRejected`
|
|
1623
1637
|
|
|
1624
1638
|
**MovePgPaymentMethodToInstructionRejected Target Stages:** `StatusStageInstructionRejected`
|
|
@@ -1627,6 +1641,8 @@ This SDK includes **687** actions.
|
|
|
1627
1641
|
|
|
1628
1642
|
**MovePgPaymentMethodToProcessing Target Stages:** `StatusStageProcessing`
|
|
1629
1643
|
|
|
1644
|
+
**MovePgPaymentMethodToReallocating Target Stages:** `StatusStageReallocating`
|
|
1645
|
+
|
|
1630
1646
|
**MovePgPaymentMethodToSubmissionFailed Target Stages:** `StatusStageSubmissionFailed`
|
|
1631
1647
|
|
|
1632
1648
|
**MovePgPaymentMethodToSubmitted Target Stages:** `StatusStageSubmitted`
|
|
@@ -1709,6 +1725,7 @@ This SDK includes **687** actions.
|
|
|
1709
1725
|
| `MovePgTransactionChargeToPaidOut` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToPaidOut |
|
|
1710
1726
|
| `MovePgTransactionChargeToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToProcessing |
|
|
1711
1727
|
| `MovePgTransactionChargeToReady` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReady |
|
|
1728
|
+
| `MovePgTransactionChargeToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToReallocating |
|
|
1712
1729
|
| `MovePgTransactionChargeToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmissionFailed |
|
|
1713
1730
|
| `MovePgTransactionChargeToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmitted |
|
|
1714
1731
|
| `MovePgTransactionChargeToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSucceeded |
|
|
@@ -1721,6 +1738,7 @@ This SDK includes **687** actions.
|
|
|
1721
1738
|
| `MovePgTransactionRefundToPaid` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToPaid |
|
|
1722
1739
|
| `MovePgTransactionRefundToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToProcessing |
|
|
1723
1740
|
| `MovePgTransactionRefundToReady` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReady |
|
|
1741
|
+
| `MovePgTransactionRefundToReallocating` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReallocating |
|
|
1724
1742
|
| `MovePgTransactionRefundToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmissionFailed |
|
|
1725
1743
|
| `MovePgTransactionRefundToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmitted |
|
|
1726
1744
|
| `MovePgTransactionRefundToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSucceeded |
|
|
@@ -1748,6 +1766,8 @@ This SDK includes **687** actions.
|
|
|
1748
1766
|
|
|
1749
1767
|
**MovePgTransactionChargeToReady Target Stages:** `ChargeStatusStageReady`
|
|
1750
1768
|
|
|
1769
|
+
**MovePgTransactionChargeToReallocating Target Stages:** `ChargeStatusStageReallocating`
|
|
1770
|
+
|
|
1751
1771
|
**MovePgTransactionChargeToSubmissionFailed Target Stages:** `ChargeStatusStageSubmissionFailed`
|
|
1752
1772
|
|
|
1753
1773
|
**MovePgTransactionChargeToSubmitted Target Stages:** `ChargeStatusStageSubmitted`
|
|
@@ -1772,6 +1792,8 @@ This SDK includes **687** actions.
|
|
|
1772
1792
|
|
|
1773
1793
|
**MovePgTransactionRefundToReady Target Stages:** `RefundStatusStageReady`
|
|
1774
1794
|
|
|
1795
|
+
**MovePgTransactionRefundToReallocating Target Stages:** `RefundStatusStageReallocating`
|
|
1796
|
+
|
|
1775
1797
|
**MovePgTransactionRefundToSubmissionFailed Target Stages:** `RefundStatusStageSubmissionFailed`
|
|
1776
1798
|
|
|
1777
1799
|
**MovePgTransactionRefundToSubmitted Target Stages:** `RefundStatusStageSubmitted`
|
package/dist/EntityRegistry.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { ContactAccessor } from './accessors-v2/ContactAccessor';
|
|
|
35
35
|
import { ContactIdentityAccessor } from './accessors-v2/ContactIdentityAccessor';
|
|
36
36
|
import { ContractBuyOutAccessor } from './accessors-v2/ContractBuyOutAccessor';
|
|
37
37
|
import { ConversationAccessor } from './accessors-v2/ConversationAccessor';
|
|
38
|
+
import { ConversationSummaryFeedbackAccessor } from './accessors-v2/ConversationSummaryFeedbackAccessor';
|
|
38
39
|
import { CreditNoteAccessor } from './accessors-v2/CreditNoteAccessor';
|
|
39
40
|
import { CrmDatasetAccessor } from './accessors-v2/CrmDatasetAccessor';
|
|
40
41
|
import { CustomerDeviceAtaAccessor } from './accessors-v2/CustomerDeviceAtaAccessor';
|
|
@@ -141,6 +142,7 @@ export declare const EntityRegistry: {
|
|
|
141
142
|
readonly ContactIdentity: typeof ContactIdentityAccessor;
|
|
142
143
|
readonly ContractBuyOut: typeof ContractBuyOutAccessor;
|
|
143
144
|
readonly Conversation: typeof ConversationAccessor;
|
|
145
|
+
readonly ConversationSummaryFeedback: typeof ConversationSummaryFeedbackAccessor;
|
|
144
146
|
readonly CreditNote: typeof CreditNoteAccessor;
|
|
145
147
|
readonly CrmDataset: typeof CrmDatasetAccessor;
|
|
146
148
|
readonly CustomerDeviceAta: typeof CustomerDeviceAtaAccessor;
|
package/dist/EntityRegistry.js
CHANGED
|
@@ -38,6 +38,7 @@ const ContactAccessor_1 = require("./accessors-v2/ContactAccessor");
|
|
|
38
38
|
const ContactIdentityAccessor_1 = require("./accessors-v2/ContactIdentityAccessor");
|
|
39
39
|
const ContractBuyOutAccessor_1 = require("./accessors-v2/ContractBuyOutAccessor");
|
|
40
40
|
const ConversationAccessor_1 = require("./accessors-v2/ConversationAccessor");
|
|
41
|
+
const ConversationSummaryFeedbackAccessor_1 = require("./accessors-v2/ConversationSummaryFeedbackAccessor");
|
|
41
42
|
const CreditNoteAccessor_1 = require("./accessors-v2/CreditNoteAccessor");
|
|
42
43
|
const CrmDatasetAccessor_1 = require("./accessors-v2/CrmDatasetAccessor");
|
|
43
44
|
const CustomerDeviceAtaAccessor_1 = require("./accessors-v2/CustomerDeviceAtaAccessor");
|
|
@@ -144,6 +145,7 @@ exports.EntityRegistry = {
|
|
|
144
145
|
'ContactIdentity': ContactIdentityAccessor_1.ContactIdentityAccessor,
|
|
145
146
|
'ContractBuyOut': ContractBuyOutAccessor_1.ContractBuyOutAccessor,
|
|
146
147
|
'Conversation': ConversationAccessor_1.ConversationAccessor,
|
|
148
|
+
'ConversationSummaryFeedback': ConversationSummaryFeedbackAccessor_1.ConversationSummaryFeedbackAccessor,
|
|
147
149
|
'CreditNote': CreditNoteAccessor_1.CreditNoteAccessor,
|
|
148
150
|
'CrmDataset': CrmDatasetAccessor_1.CrmDatasetAccessor,
|
|
149
151
|
'CustomerDeviceAta': CustomerDeviceAtaAccessor_1.CustomerDeviceAtaAccessor,
|
package/dist/OdinApiClient.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { ContactAccessor } from './accessors-v2/ContactAccessor';
|
|
|
45
45
|
import { ContactIdentityAccessor } from './accessors-v2/ContactIdentityAccessor';
|
|
46
46
|
import { ContractBuyOutAccessor } from './accessors-v2/ContractBuyOutAccessor';
|
|
47
47
|
import { ConversationAccessor } from './accessors-v2/ConversationAccessor';
|
|
48
|
+
import { ConversationSummaryFeedbackAccessor } from './accessors-v2/ConversationSummaryFeedbackAccessor';
|
|
48
49
|
import { CreditNoteAccessor } from './accessors-v2/CreditNoteAccessor';
|
|
49
50
|
import { CrmDatasetAccessor } from './accessors-v2/CrmDatasetAccessor';
|
|
50
51
|
import { CustomerDeviceAtaAccessor } from './accessors-v2/CustomerDeviceAtaAccessor';
|
|
@@ -160,6 +161,7 @@ export declare class OdinApiClient {
|
|
|
160
161
|
private _contactIdentities?;
|
|
161
162
|
private _contractBuyOuts?;
|
|
162
163
|
private _conversations?;
|
|
164
|
+
private _conversationSummaryFeedbacks?;
|
|
163
165
|
private _creditNotes?;
|
|
164
166
|
private _crmDatasets?;
|
|
165
167
|
private _customerDeviceAtas?;
|
|
@@ -300,6 +302,8 @@ export declare class OdinApiClient {
|
|
|
300
302
|
get contractBuyOuts(): ContractBuyOutAccessor;
|
|
301
303
|
/** Access Conversation records */
|
|
302
304
|
get conversations(): ConversationAccessor;
|
|
305
|
+
/** Access ConversationSummaryFeedback records */
|
|
306
|
+
get conversationSummaryFeedbacks(): ConversationSummaryFeedbackAccessor;
|
|
303
307
|
/** Access CreditNote records */
|
|
304
308
|
get creditNotes(): CreditNoteAccessor;
|
|
305
309
|
/** Access CrmDataset records */
|
package/dist/OdinApiClient.js
CHANGED
|
@@ -56,6 +56,7 @@ const ContactAccessor_1 = require("./accessors-v2/ContactAccessor");
|
|
|
56
56
|
const ContactIdentityAccessor_1 = require("./accessors-v2/ContactIdentityAccessor");
|
|
57
57
|
const ContractBuyOutAccessor_1 = require("./accessors-v2/ContractBuyOutAccessor");
|
|
58
58
|
const ConversationAccessor_1 = require("./accessors-v2/ConversationAccessor");
|
|
59
|
+
const ConversationSummaryFeedbackAccessor_1 = require("./accessors-v2/ConversationSummaryFeedbackAccessor");
|
|
59
60
|
const CreditNoteAccessor_1 = require("./accessors-v2/CreditNoteAccessor");
|
|
60
61
|
const CrmDatasetAccessor_1 = require("./accessors-v2/CrmDatasetAccessor");
|
|
61
62
|
const CustomerDeviceAtaAccessor_1 = require("./accessors-v2/CustomerDeviceAtaAccessor");
|
|
@@ -333,6 +334,13 @@ class OdinApiClient {
|
|
|
333
334
|
}
|
|
334
335
|
return this._conversations;
|
|
335
336
|
}
|
|
337
|
+
/** Access ConversationSummaryFeedback records */
|
|
338
|
+
get conversationSummaryFeedbacks() {
|
|
339
|
+
if (!this._conversationSummaryFeedbacks) {
|
|
340
|
+
this._conversationSummaryFeedbacks = new ConversationSummaryFeedbackAccessor_1.ConversationSummaryFeedbackAccessor(this._provider);
|
|
341
|
+
}
|
|
342
|
+
return this._conversationSummaryFeedbacks;
|
|
343
|
+
}
|
|
336
344
|
/** Access CreditNote records */
|
|
337
345
|
get creditNotes() {
|
|
338
346
|
if (!this._creditNotes) {
|
package/dist/OdinDbClient.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ import { ContactDbAccessor } from './db-accessors-v2/ContactDbAccessor';
|
|
|
52
52
|
import { ContactIdentityDbAccessor } from './db-accessors-v2/ContactIdentityDbAccessor';
|
|
53
53
|
import { ContractBuyOutDbAccessor } from './db-accessors-v2/ContractBuyOutDbAccessor';
|
|
54
54
|
import { ConversationDbAccessor } from './db-accessors-v2/ConversationDbAccessor';
|
|
55
|
+
import { ConversationSummaryFeedbackDbAccessor } from './db-accessors-v2/ConversationSummaryFeedbackDbAccessor';
|
|
55
56
|
import { CreditNoteDbAccessor } from './db-accessors-v2/CreditNoteDbAccessor';
|
|
56
57
|
import { CrmDatasetDbAccessor } from './db-accessors-v2/CrmDatasetDbAccessor';
|
|
57
58
|
import { CustomerDeviceAtaDbAccessor } from './db-accessors-v2/CustomerDeviceAtaDbAccessor';
|
|
@@ -161,6 +162,7 @@ export declare class OdinDbClient {
|
|
|
161
162
|
private _contactIdentities?;
|
|
162
163
|
private _contractBuyOuts?;
|
|
163
164
|
private _conversations?;
|
|
165
|
+
private _conversationSummaryFeedbacks?;
|
|
164
166
|
private _creditNotes?;
|
|
165
167
|
private _crmDatasets?;
|
|
166
168
|
private _customerDeviceAtas?;
|
|
@@ -310,6 +312,8 @@ export declare class OdinDbClient {
|
|
|
310
312
|
get contractBuyOuts(): ContractBuyOutDbAccessor;
|
|
311
313
|
/** Access Conversation records */
|
|
312
314
|
get conversations(): ConversationDbAccessor;
|
|
315
|
+
/** Access ConversationSummaryFeedback records */
|
|
316
|
+
get conversationSummaryFeedbacks(): ConversationSummaryFeedbackDbAccessor;
|
|
313
317
|
/** Access CreditNote records */
|
|
314
318
|
get creditNotes(): CreditNoteDbAccessor;
|
|
315
319
|
/** Access CrmDataset records */
|
package/dist/OdinDbClient.js
CHANGED
|
@@ -54,6 +54,7 @@ const ContactDbAccessor_1 = require("./db-accessors-v2/ContactDbAccessor");
|
|
|
54
54
|
const ContactIdentityDbAccessor_1 = require("./db-accessors-v2/ContactIdentityDbAccessor");
|
|
55
55
|
const ContractBuyOutDbAccessor_1 = require("./db-accessors-v2/ContractBuyOutDbAccessor");
|
|
56
56
|
const ConversationDbAccessor_1 = require("./db-accessors-v2/ConversationDbAccessor");
|
|
57
|
+
const ConversationSummaryFeedbackDbAccessor_1 = require("./db-accessors-v2/ConversationSummaryFeedbackDbAccessor");
|
|
57
58
|
const CreditNoteDbAccessor_1 = require("./db-accessors-v2/CreditNoteDbAccessor");
|
|
58
59
|
const CrmDatasetDbAccessor_1 = require("./db-accessors-v2/CrmDatasetDbAccessor");
|
|
59
60
|
const CustomerDeviceAtaDbAccessor_1 = require("./db-accessors-v2/CustomerDeviceAtaDbAccessor");
|
|
@@ -334,6 +335,13 @@ class OdinDbClient {
|
|
|
334
335
|
}
|
|
335
336
|
return this._conversations;
|
|
336
337
|
}
|
|
338
|
+
/** Access ConversationSummaryFeedback records */
|
|
339
|
+
get conversationSummaryFeedbacks() {
|
|
340
|
+
if (!this._conversationSummaryFeedbacks) {
|
|
341
|
+
this._conversationSummaryFeedbacks = new ConversationSummaryFeedbackDbAccessor_1.ConversationSummaryFeedbackDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
342
|
+
}
|
|
343
|
+
return this._conversationSummaryFeedbacks;
|
|
344
|
+
}
|
|
337
345
|
/** Access CreditNote records */
|
|
338
346
|
get creditNotes() {
|
|
339
347
|
if (!this._creditNotes) {
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ConversationSummaryFeedback Accessor
|
|
3
|
+
*
|
|
4
|
+
* Provides typed access to ConversationSummaryFeedback 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.updateConversationSummaryFeedback({ ... });
|
|
12
|
+
*
|
|
13
|
+
* // Create new record
|
|
14
|
+
* const newRecord = accessor.new();
|
|
15
|
+
* await newRecord.createConversationSummaryFeedback({ ... });
|
|
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 { ConversationSummaryFeedbackProperties } from '../entities-v2/ConversationSummaryFeedback';
|
|
25
|
+
import { ConversationSummaryFeedbackRecord } from '../records-v2/ConversationSummaryFeedbackRecord';
|
|
26
|
+
/** List response with wrapped records */
|
|
27
|
+
export interface ConversationSummaryFeedbackListResponse {
|
|
28
|
+
data: ConversationSummaryFeedbackRecord[];
|
|
29
|
+
hasMore: boolean;
|
|
30
|
+
totalRecords: number;
|
|
31
|
+
}
|
|
32
|
+
/** Search response with wrapped records */
|
|
33
|
+
export interface ConversationSummaryFeedbackSearchResponse {
|
|
34
|
+
records: ConversationSummaryFeedbackRecord[];
|
|
35
|
+
totalRecords: number;
|
|
36
|
+
hasMore: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class ConversationSummaryFeedbackAccessor {
|
|
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 ConversationSummaryFeedback 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): ConversationSummaryFeedbackRecord;
|
|
72
|
+
/**
|
|
73
|
+
* Get a single ConversationSummaryFeedback record by ID
|
|
74
|
+
*/
|
|
75
|
+
get(id: string): Promise<ConversationSummaryFeedbackRecord>;
|
|
76
|
+
/**
|
|
77
|
+
* Get multiple ConversationSummaryFeedback records by IDs
|
|
78
|
+
*/
|
|
79
|
+
getMany(ids: string[]): Promise<ConversationSummaryFeedbackRecord[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Search ConversationSummaryFeedback records
|
|
82
|
+
*/
|
|
83
|
+
search(params: Partial<OdinSearchV2>): Promise<ConversationSummaryFeedbackSearchResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* Search all ConversationSummaryFeedback records with automatic pagination
|
|
86
|
+
*/
|
|
87
|
+
searchAll(params: Partial<OdinSearchV2>): Promise<ConversationSummaryFeedbackRecord[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Async generator for paginating through all matching records.
|
|
90
|
+
* Yields batches of wrapped records.
|
|
91
|
+
*/
|
|
92
|
+
paginate(params: Partial<OdinSearchV2>): AsyncGenerator<ConversationSummaryFeedbackRecord[]>;
|
|
93
|
+
/**
|
|
94
|
+
* Create a fluent query builder for ConversationSummaryFeedback 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<ConversationSummaryFeedbackProperties, ConversationSummaryFeedbackRecord>;
|
|
109
|
+
/** Access the underlying ApiProvider */
|
|
110
|
+
get provider(): ApiProvider;
|
|
111
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ConversationSummaryFeedback Accessor
|
|
4
|
+
*
|
|
5
|
+
* Provides typed access to ConversationSummaryFeedback 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.updateConversationSummaryFeedback({ ... });
|
|
13
|
+
*
|
|
14
|
+
* // Create new record
|
|
15
|
+
* const newRecord = accessor.new();
|
|
16
|
+
* await newRecord.createConversationSummaryFeedback({ ... });
|
|
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.ConversationSummaryFeedbackAccessor = 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 ConversationSummaryFeedbackRecord_1 = require("../records-v2/ConversationSummaryFeedbackRecord");
|
|
47
|
+
class ConversationSummaryFeedbackAccessor {
|
|
48
|
+
constructor(providerOrAuth, host) {
|
|
49
|
+
this._moduleName = 'NotificationModule';
|
|
50
|
+
this._entityName = 'ConversationSummaryFeedback';
|
|
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 ConversationSummaryFeedback 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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(null, this._provider, id);
|
|
94
|
+
}
|
|
95
|
+
// ============================================
|
|
96
|
+
// RECORD RETRIEVAL
|
|
97
|
+
// ============================================
|
|
98
|
+
/**
|
|
99
|
+
* Get a single ConversationSummaryFeedback 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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(record, this._provider);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get multiple ConversationSummaryFeedback 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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(r, this._provider));
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ============================================
|
|
119
|
+
// SEARCH OPERATIONS
|
|
120
|
+
// ============================================
|
|
121
|
+
/**
|
|
122
|
+
* Search ConversationSummaryFeedback 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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(r, this._provider)),
|
|
129
|
+
totalRecords: result.totalRecords,
|
|
130
|
+
hasMore: result.hasMore,
|
|
131
|
+
};
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Search all ConversationSummaryFeedback 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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(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 ConversationSummaryFeedbackRecord_1.ConversationSummaryFeedbackRecord(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 ConversationSummaryFeedback 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.ConversationSummaryFeedbackAccessor = ConversationSummaryFeedbackAccessor;
|
|
@@ -30,6 +30,7 @@ export { ContactIdentityAccessor, ContactIdentitySearchResponse, ContactIdentity
|
|
|
30
30
|
export { ContactAccessor, ContactSearchResponse, ContactListResponse } from './ContactAccessor';
|
|
31
31
|
export { ContractBuyOutAccessor, ContractBuyOutSearchResponse, ContractBuyOutListResponse } from './ContractBuyOutAccessor';
|
|
32
32
|
export { ConversationAccessor, ConversationSearchResponse, ConversationListResponse } from './ConversationAccessor';
|
|
33
|
+
export { ConversationSummaryFeedbackAccessor, ConversationSummaryFeedbackSearchResponse, ConversationSummaryFeedbackListResponse } from './ConversationSummaryFeedbackAccessor';
|
|
33
34
|
export { CreditNoteAccessor, CreditNoteSearchResponse, CreditNoteListResponse } from './CreditNoteAccessor';
|
|
34
35
|
export { CrmDatasetAccessor, CrmDatasetSearchResponse, CrmDatasetListResponse } from './CrmDatasetAccessor';
|
|
35
36
|
export { CustomerDeviceAtaAccessor, CustomerDeviceAtaSearchResponse, CustomerDeviceAtaListResponse } from './CustomerDeviceAtaAccessor';
|
|
@@ -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.YfFieldServiceVisitAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = void 0;
|
|
11
|
+
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.CallTransferAccessor = 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.UserAccessor = exports.UgExternalAuditAccessor = exports.TwilioUserUpdateAccessor = exports.TwilioTaskQueueAccessor = exports.TwilioCallEventAccessor = 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.OutageAccessor = exports.OrderAccessor = exports.OrderKciAccessor = exports.OrderItemAccessor = exports.OrderCheckAccessor = exports.OntReplacementApprovalAccessor = exports.OneTouchSwitchAccessor = exports.OhExternalAuditAccessor = void 0;
|
|
13
|
+
exports.YfFieldServiceVisitAccessor = exports.WorkOrderStatusUpdateAccessor = exports.WorkOrderAccessor = exports.WayleaveAuditAccessor = exports.VoiceConfigurationAccessor = exports.VisitAccessor = 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");
|
|
@@ -59,6 +59,8 @@ var ContractBuyOutAccessor_1 = require("./ContractBuyOutAccessor");
|
|
|
59
59
|
Object.defineProperty(exports, "ContractBuyOutAccessor", { enumerable: true, get: function () { return ContractBuyOutAccessor_1.ContractBuyOutAccessor; } });
|
|
60
60
|
var ConversationAccessor_1 = require("./ConversationAccessor");
|
|
61
61
|
Object.defineProperty(exports, "ConversationAccessor", { enumerable: true, get: function () { return ConversationAccessor_1.ConversationAccessor; } });
|
|
62
|
+
var ConversationSummaryFeedbackAccessor_1 = require("./ConversationSummaryFeedbackAccessor");
|
|
63
|
+
Object.defineProperty(exports, "ConversationSummaryFeedbackAccessor", { enumerable: true, get: function () { return ConversationSummaryFeedbackAccessor_1.ConversationSummaryFeedbackAccessor; } });
|
|
62
64
|
var CreditNoteAccessor_1 = require("./CreditNoteAccessor");
|
|
63
65
|
Object.defineProperty(exports, "CreditNoteAccessor", { enumerable: true, get: function () { return CreditNoteAccessor_1.CreditNoteAccessor; } });
|
|
64
66
|
var CrmDatasetAccessor_1 = require("./CrmDatasetAccessor");
|
|
@@ -22,7 +22,7 @@ export interface CompleteChurnRequestMessage extends OdinRecordUpdatedEvent<Comp
|
|
|
22
22
|
/**
|
|
23
23
|
* Properties for CompleteChurnRequest action
|
|
24
24
|
*
|
|
25
|
-
* @property Required fields:
|
|
25
|
+
* @property Required fields: 4
|
|
26
26
|
* @property Optional fields: 2
|
|
27
27
|
*/
|
|
28
28
|
export interface CompleteChurnRequestProperties {
|
|
@@ -52,6 +52,15 @@ export interface CompleteChurnRequestProperties {
|
|
|
52
52
|
* @visibleWhen Outcome = ["LOST"] AND Reason = ["BILLING","CUSTOMER_SERVICE","SALES_LOST_TO_COMPETITION","SALES_MISSELLING","SALES_TRIAL","TECHNICAL_ISSUE_NETOMNIA","TECHNICAL_ISSUE_YOUFIBRE"]
|
|
53
53
|
*/
|
|
54
54
|
GainingProviderPackage: string;
|
|
55
|
+
/**
|
|
56
|
+
* Retention offer
|
|
57
|
+
*
|
|
58
|
+
* Offer made to retain the customer
|
|
59
|
+
* @type {ENUM}
|
|
60
|
+
* @required
|
|
61
|
+
* @visibleWhen Reason = ["BILLING","CUSTOMER_SERVICE","SALES_LOST_TO_COMPETITION","SALES_MISSELLING","SALES_TRIAL","TECHNICAL_ISSUE_NETOMNIA","TECHNICAL_ISSUE_YOUFIBRE"]
|
|
62
|
+
*/
|
|
63
|
+
RetentionOffer: string;
|
|
55
64
|
/**
|
|
56
65
|
* comment
|
|
57
66
|
*
|
|
@@ -15,7 +15,7 @@ import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/o
|
|
|
15
15
|
/**
|
|
16
16
|
* Properties for CompleteChurnRequest action
|
|
17
17
|
*
|
|
18
|
-
* @property Required fields:
|
|
18
|
+
* @property Required fields: 4
|
|
19
19
|
* @property Optional fields: 2
|
|
20
20
|
*/
|
|
21
21
|
export interface CompleteChurnRequestProperties {
|
|
@@ -45,6 +45,15 @@ export interface CompleteChurnRequestProperties {
|
|
|
45
45
|
* @visibleWhen Outcome = ["LOST"] AND Reason = ["BILLING","CUSTOMER_SERVICE","SALES_LOST_TO_COMPETITION","SALES_MISSELLING","SALES_TRIAL","TECHNICAL_ISSUE_NETOMNIA","TECHNICAL_ISSUE_YOUFIBRE"]
|
|
46
46
|
*/
|
|
47
47
|
GainingProviderPackage: string;
|
|
48
|
+
/**
|
|
49
|
+
* Retention offer
|
|
50
|
+
*
|
|
51
|
+
* Offer made to retain the customer
|
|
52
|
+
* @type {ENUM}
|
|
53
|
+
* @required
|
|
54
|
+
* @visibleWhen Reason = ["BILLING","CUSTOMER_SERVICE","SALES_LOST_TO_COMPETITION","SALES_MISSELLING","SALES_TRIAL","TECHNICAL_ISSUE_NETOMNIA","TECHNICAL_ISSUE_YOUFIBRE"]
|
|
55
|
+
*/
|
|
56
|
+
RetentionOffer: string;
|
|
48
57
|
/**
|
|
49
58
|
* comment
|
|
50
59
|
*
|