@d19n/youfibre-odin-sdk 2.0.206 → 2.0.208-beta.0
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 +23 -11
- package/dist/EntityRegistry.d.ts +4 -0
- package/dist/EntityRegistry.js +4 -0
- package/dist/OdinApiClient.d.ts +8 -0
- package/dist/OdinApiClient.js +16 -0
- package/dist/OdinDbClient.d.ts +8 -0
- package/dist/OdinDbClient.js +16 -0
- package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.d.ts +111 -0
- package/dist/accessors-v2/ConversationSummaryFeedbackAccessor.js +190 -0
- package/dist/accessors-v2/TwilioActivityAccessor.d.ts +111 -0
- package/dist/accessors-v2/TwilioActivityAccessor.js +190 -0
- package/dist/accessors-v2/TwilioTaskQueueAccessor.js +1 -1
- package/dist/accessors-v2/index.d.ts +2 -0
- package/dist/accessors-v2/index.js +7 -3
- package/dist/actions-v2/CancelActiveOrderDto.d.ts +10 -1
- package/dist/actions-v2/CompleteChurnRequestDto.d.ts +10 -1
- package/dist/actions-v2/CompleteChurnRequestFlowDto.d.ts +10 -1
- package/dist/actions-v2/CreateChurnRequestDto.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/CreateTwilioActivityDto.d.ts +76 -0
- package/dist/actions-v2/CreateTwilioActivityDto.js +54 -0
- package/dist/actions-v2/CreateTwilioTaskQueueDto.d.ts +39 -11
- package/dist/actions-v2/CreateTwilioTaskQueueDto.js +15 -13
- package/dist/actions-v2/MoveOrderFromDeactivatedToCancelledDto.d.ts +10 -1
- package/dist/actions-v2/MoveOrderFromPendingCancellationToCancelledDto.d.ts +10 -1
- package/dist/actions-v2/OfferCreateDto.d.ts +10 -1
- package/dist/actions-v2/OfferUpdateDto.d.ts +10 -1
- package/dist/actions-v2/SyncTwilioActivityDto.d.ts +86 -0
- package/dist/actions-v2/SyncTwilioActivityDto.js +56 -0
- package/dist/actions-v2/SyncTwilioTaskQueueDto.d.ts +63 -0
- package/dist/actions-v2/SyncTwilioTaskQueueDto.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/AddressApi.d.ts +2 -0
- package/dist/api-sdk-v2/AddressApi.js +6 -0
- package/dist/api-sdk-v2/ChurnRequestApi.d.ts +2 -0
- package/dist/api-sdk-v2/ChurnRequestApi.js +6 -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/api-sdk-v2/TwilioActivityApi.d.ts +45 -0
- package/dist/api-sdk-v2/TwilioActivityApi.js +151 -0
- package/dist/api-sdk-v2/TwilioTaskQueueApi.d.ts +3 -0
- package/dist/api-sdk-v2/TwilioTaskQueueApi.js +8 -4
- package/dist/api-sdk-v2/TwilioWorkerApi.d.ts +50 -0
- package/dist/api-sdk-v2/TwilioWorkerApi.js +161 -0
- package/dist/api-sdk-v2/UserApi.d.ts +2 -0
- package/dist/api-sdk-v2/UserApi.js +6 -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/TwilioActivityDbAccessor.d.ts +149 -0
- package/dist/db-accessors-v2/TwilioActivityDbAccessor.js +227 -0
- package/dist/db-accessors-v2/TwilioTaskQueueDbAccessor.js +1 -1
- package/dist/db-accessors-v2/index.d.ts +2 -0
- package/dist/db-accessors-v2/index.js +7 -3
- package/dist/db-sdk-v2/AddressDb.d.ts +2 -0
- package/dist/db-sdk-v2/AddressDb.js +6 -0
- package/dist/db-sdk-v2/ChurnRequestDb.d.ts +2 -0
- package/dist/db-sdk-v2/ChurnRequestDb.js +6 -0
- 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/db-sdk-v2/TwilioActivityDb.d.ts +117 -0
- package/dist/db-sdk-v2/TwilioActivityDb.js +200 -0
- package/dist/db-sdk-v2/TwilioTaskQueueDb.d.ts +3 -0
- package/dist/db-sdk-v2/TwilioTaskQueueDb.js +8 -4
- package/dist/db-sdk-v2/TwilioWorkerDb.d.ts +122 -0
- package/dist/db-sdk-v2/TwilioWorkerDb.js +210 -0
- package/dist/db-sdk-v2/UserDb.d.ts +2 -0
- package/dist/db-sdk-v2/UserDb.js +6 -0
- package/dist/entities-v2/Address.d.ts +3 -0
- package/dist/entities-v2/ChurnRequest.d.ts +60 -5
- package/dist/entities-v2/ChurnRequest.js +47 -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/TwilioActivity.d.ts +86 -0
- package/dist/entities-v2/TwilioActivity.js +69 -0
- package/dist/entities-v2/TwilioTaskQueue.d.ts +53 -32
- package/dist/entities-v2/TwilioTaskQueue.js +39 -21
- package/dist/entities-v2/TwilioWorker.d.ts +92 -0
- package/dist/entities-v2/TwilioWorker.js +69 -0
- package/dist/entities-v2/User.d.ts +7 -0
- package/dist/entities-v2/User.js +5 -1
- package/dist/records-v2/AddressRecord.d.ts +20 -0
- package/dist/records-v2/AddressRecord.js +33 -0
- package/dist/records-v2/ChurnRequestRecord.d.ts +20 -0
- package/dist/records-v2/ChurnRequestRecord.js +33 -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/OrderRecord.d.ts +0 -50
- package/dist/records-v2/OrderRecord.js +0 -58
- package/dist/records-v2/PgFileAllocationRecord.d.ts +27 -0
- package/dist/records-v2/PgFileAllocationRecord.js +29 -0
- package/dist/records-v2/TwilioActivityRecord.d.ts +212 -0
- package/dist/records-v2/TwilioActivityRecord.js +283 -0
- package/dist/records-v2/TwilioTaskQueueRecord.d.ts +6 -6
- package/dist/records-v2/TwilioTaskQueueRecord.js +11 -11
- package/dist/records-v2/index.d.ts +2 -0
- package/dist/records-v2/index.js +10 -4
- package/package.json +1 -1
- package/dist/actions-v2/CancelOrderForRecontractDto.d.ts +0 -67
- package/dist/actions-v2/CancelOrderForRecontractDto.js +0 -59
- package/dist/actions-v2/CancelOrderForRollbackDto.d.ts +0 -67
- package/dist/actions-v2/CancelOrderForRollbackDto.js +0 -59
- package/dist/actions-v2/UpdateTwilioTaskQueueDto.d.ts +0 -61
- package/dist/actions-v2/UpdateTwilioTaskQueueDto.js +0 -54
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 **169** entities across **12** modules.
|
|
128
128
|
|
|
129
129
|
### CrmModule
|
|
130
130
|
|
|
@@ -277,7 +277,6 @@ This SDK includes **166** entities across **12** modules.
|
|
|
277
277
|
| **OltSnapshot** | OltSnapshot Entity Definition | DEFAULT |
|
|
278
278
|
| **Outage** | Outage Entity Definition | DEFAULT |
|
|
279
279
|
| **Service** | Service Entity Definition | DEFAULT |
|
|
280
|
-
| **TwilioTaskQueue** | TwilioTaskQueue Entity Definition | DEFAULT |
|
|
281
280
|
| **VoiceConfiguration** | VoiceConfiguration Entity Definition | DEFAULT |
|
|
282
281
|
|
|
283
282
|
### NotificationModule
|
|
@@ -290,6 +289,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
290
289
|
| **CallTransfer** | CallTransfer Entity Definition | DEFAULT |
|
|
291
290
|
| **CallUpdates** | CallUpdates Entity Definition | DEFAULT |
|
|
292
291
|
| **Conversation** | Conversation Entity Definition | DEFAULT |
|
|
292
|
+
| **ConversationSummaryFeedback** | ConversationSummaryFeedback Entity Definition | DEFAULT |
|
|
293
293
|
| **CustomerDeviceConfiguration** | CustomerDeviceConfiguration Entity Definition | DEFAULT |
|
|
294
294
|
| **Email** | Email Entity Definition | REFERRAL, SUPPORT, TRANSACTIONAL |
|
|
295
295
|
| **EmailSender** | EmailSender Entity Definition | DEFAULT |
|
|
@@ -315,6 +315,9 @@ This SDK includes **166** entities across **12** modules.
|
|
|
315
315
|
| **Queue** | Queue Entity Definition | DEFAULT |
|
|
316
316
|
| **QueueChange** | QueueChange Entity Definition | DEFAULT |
|
|
317
317
|
| **SupportTask** | SupportTask Entity Definition | DEFAULT |
|
|
318
|
+
| **TwilioActivity** | TwilioActivity Entity Definition | DEFAULT |
|
|
319
|
+
| **TwilioTaskQueue** | TwilioTaskQueue Entity Definition | DEFAULT |
|
|
320
|
+
| **TwilioWorker** | TwilioWorker Entity Definition | DEFAULT |
|
|
318
321
|
|
|
319
322
|
### ProductModule
|
|
320
323
|
|
|
@@ -354,7 +357,7 @@ This SDK includes **166** entities across **12** modules.
|
|
|
354
357
|
|
|
355
358
|
## Actions
|
|
356
359
|
|
|
357
|
-
This SDK includes **
|
|
360
|
+
This SDK includes **695** actions.
|
|
358
361
|
|
|
359
362
|
### Action Types
|
|
360
363
|
|
|
@@ -373,8 +376,6 @@ This SDK includes **692** actions.
|
|
|
373
376
|
|--------|------|-------|
|
|
374
377
|
| `ActivateOrder` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.ActivateOrder |
|
|
375
378
|
| `ActivateRecontractOrder` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.Order.Transition.ActivateRecontractOrder |
|
|
376
|
-
| `CancelOrderForRecontract` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.Order.Transition.CancelOrderForRecontract |
|
|
377
|
-
| `CancelOrderForRollback` | STAGE_TRANSITION | k1.t-hEOJjsDb.OrderModule.Order.Transition.CancelOrderForRollback |
|
|
378
379
|
| `ChangeBillingDay` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.ChangeBillingDay |
|
|
379
380
|
| `ClearOrderDeactivateOnDate` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Update.ClearOrderDeactivateOnDate |
|
|
380
381
|
| `CreateInstallWorkOrderFlow` | UPDATE | k1.t-hEOJjsDb.OrderModule.Order.Flow.CreateInstallWorkOrderFlow |
|
|
@@ -402,10 +403,6 @@ This SDK includes **692** actions.
|
|
|
402
403
|
|
|
403
404
|
**ActivateRecontractOrder Target Stages:** `OrderStageActive`
|
|
404
405
|
|
|
405
|
-
**CancelOrderForRecontract Target Stages:** `OrderStageCancelled`
|
|
406
|
-
|
|
407
|
-
**CancelOrderForRollback Target Stages:** `OrderStageCancelled`
|
|
408
|
-
|
|
409
406
|
**DeactivateOrderDunning Target Stages:** `OrderStageDeactivated`
|
|
410
407
|
|
|
411
408
|
**MoveBrskMigrationRemediationToCancelled Target Stages:** `OrderStageCancelled`
|
|
@@ -1230,6 +1227,7 @@ This SDK includes **692** actions.
|
|
|
1230
1227
|
| `CreateAuddisPgSubmissionAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateAuddisPgSubmissionAllocation |
|
|
1231
1228
|
| `CreateBacsPgReportAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateBacsPgReportAllocation |
|
|
1232
1229
|
| `CreateBacsPgSubmissionAllocation` | CREATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Create.CreateBacsPgSubmissionAllocation |
|
|
1230
|
+
| `UpdatePgAllocationSubmissionFileLineNumber` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationSubmissionFileLineNumber |
|
|
1233
1231
|
| `UpdatePgAllocationWithAcknowledgementOne` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementOne |
|
|
1234
1232
|
| `UpdatePgAllocationWithAcknowledgementTwo` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithAcknowledgementTwo |
|
|
1235
1233
|
| `UpdatePgAllocationWithBacsReport` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgFileAllocation.Update.UpdatePgAllocationWithBacsReport |
|
|
@@ -1314,6 +1312,7 @@ This SDK includes **692** actions.
|
|
|
1314
1312
|
| `CreateOrderReferralReferrerNotQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerNotQualifiedEmail |
|
|
1315
1313
|
| `CreateOrderReferralReferrerPendingEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerPendingEmail |
|
|
1316
1314
|
| `CreateOrderReferralReferrerQualifiedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateOrderReferralReferrerQualifiedEmail |
|
|
1315
|
+
| `CreateRecontractReminderEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateRecontractReminderEmail |
|
|
1317
1316
|
| `CreateTransactionalEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.CreateTransactionalEmail |
|
|
1318
1317
|
| `SendDirectDebitCreatedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitCreatedEmail |
|
|
1319
1318
|
| `SendDirectDebitFailedEmail` | CREATE | k1.t-hEOJjsDb.NotificationModule.Email.Create.SendDirectDebitFailedEmail |
|
|
@@ -1348,6 +1347,12 @@ This SDK includes **692** actions.
|
|
|
1348
1347
|
|--------|------|-------|
|
|
1349
1348
|
| `CreateContactIdentity` | CREATE | k1.t-hEOJjsDb.CrmModule.ContactIdentity.Create.createContactIdentity |
|
|
1350
1349
|
|
|
1350
|
+
#### ConversationSummaryFeedback
|
|
1351
|
+
|
|
1352
|
+
| Action | Type | Event |
|
|
1353
|
+
|--------|------|-------|
|
|
1354
|
+
| `CreateConversationSummaryFeedback` | CREATE | k1.t-hEOJjsDb.NotificationModule.ConversationSummaryFeedback.Create.CreateConversationSummaryFeedback |
|
|
1355
|
+
|
|
1351
1356
|
#### CustomerDeviceConfiguration
|
|
1352
1357
|
|
|
1353
1358
|
| Action | Type | Event |
|
|
@@ -1875,12 +1880,19 @@ This SDK includes **692** actions.
|
|
|
1875
1880
|
| `CreateTimeSlot` | CREATE | k1.t-hEOJjsDb.IdentityModule.TimeSlot.Create.CreateTimeSlot |
|
|
1876
1881
|
| `UpdateTimeSlot` | UPDATE | k1.t-hEOJjsDb.IdentityModule.TimeSlot.Update.UpdateTimeSlot |
|
|
1877
1882
|
|
|
1883
|
+
#### TwilioActivity
|
|
1884
|
+
|
|
1885
|
+
| Action | Type | Event |
|
|
1886
|
+
|--------|------|-------|
|
|
1887
|
+
| `CreateTwilioActivity` | CREATE | k1.t-hEOJjsDb.SupportModule.TwilioActivity.Create.CreateTwilioActivity |
|
|
1888
|
+
| `SyncTwilioActivity` | UPDATE | k1.t-hEOJjsDb.SupportModule.TwilioActivity.Update.SyncTwilioActivity |
|
|
1889
|
+
|
|
1878
1890
|
#### TwilioTaskQueue
|
|
1879
1891
|
|
|
1880
1892
|
| Action | Type | Event |
|
|
1881
1893
|
|--------|------|-------|
|
|
1882
|
-
| `CreateTwilioTaskQueue` | CREATE | k1.t-hEOJjsDb.
|
|
1883
|
-
| `
|
|
1894
|
+
| `CreateTwilioTaskQueue` | CREATE | k1.t-hEOJjsDb.SupportModule.TwilioTaskQueue.Create.CreateTwilioTaskQueue |
|
|
1895
|
+
| `SyncTwilioTaskQueue` | UPDATE | k1.t-hEOJjsDb.SupportModule.TwilioTaskQueue.Update.SyncTwilioTaskQueue |
|
|
1884
1896
|
|
|
1885
1897
|
#### TwilioUserUpdate
|
|
1886
1898
|
|
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';
|
|
@@ -105,6 +106,7 @@ import { SmsMessageAccessor } from './accessors-v2/SmsMessageAccessor';
|
|
|
105
106
|
import { TeamAccessor } from './accessors-v2/TeamAccessor';
|
|
106
107
|
import { TimeSlotAccessor } from './accessors-v2/TimeSlotAccessor';
|
|
107
108
|
import { TransactionAccessor } from './accessors-v2/TransactionAccessor';
|
|
109
|
+
import { TwilioActivityAccessor } from './accessors-v2/TwilioActivityAccessor';
|
|
108
110
|
import { TwilioCallEventAccessor } from './accessors-v2/TwilioCallEventAccessor';
|
|
109
111
|
import { TwilioTaskQueueAccessor } from './accessors-v2/TwilioTaskQueueAccessor';
|
|
110
112
|
import { TwilioUserUpdateAccessor } from './accessors-v2/TwilioUserUpdateAccessor';
|
|
@@ -141,6 +143,7 @@ export declare const EntityRegistry: {
|
|
|
141
143
|
readonly ContactIdentity: typeof ContactIdentityAccessor;
|
|
142
144
|
readonly ContractBuyOut: typeof ContractBuyOutAccessor;
|
|
143
145
|
readonly Conversation: typeof ConversationAccessor;
|
|
146
|
+
readonly ConversationSummaryFeedback: typeof ConversationSummaryFeedbackAccessor;
|
|
144
147
|
readonly CreditNote: typeof CreditNoteAccessor;
|
|
145
148
|
readonly CrmDataset: typeof CrmDatasetAccessor;
|
|
146
149
|
readonly CustomerDeviceAta: typeof CustomerDeviceAtaAccessor;
|
|
@@ -211,6 +214,7 @@ export declare const EntityRegistry: {
|
|
|
211
214
|
readonly Team: typeof TeamAccessor;
|
|
212
215
|
readonly TimeSlot: typeof TimeSlotAccessor;
|
|
213
216
|
readonly Transaction: typeof TransactionAccessor;
|
|
217
|
+
readonly TwilioActivity: typeof TwilioActivityAccessor;
|
|
214
218
|
readonly TwilioCallEvent: typeof TwilioCallEventAccessor;
|
|
215
219
|
readonly TwilioTaskQueue: typeof TwilioTaskQueueAccessor;
|
|
216
220
|
readonly TwilioUserUpdate: typeof TwilioUserUpdateAccessor;
|
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");
|
|
@@ -108,6 +109,7 @@ const SmsMessageAccessor_1 = require("./accessors-v2/SmsMessageAccessor");
|
|
|
108
109
|
const TeamAccessor_1 = require("./accessors-v2/TeamAccessor");
|
|
109
110
|
const TimeSlotAccessor_1 = require("./accessors-v2/TimeSlotAccessor");
|
|
110
111
|
const TransactionAccessor_1 = require("./accessors-v2/TransactionAccessor");
|
|
112
|
+
const TwilioActivityAccessor_1 = require("./accessors-v2/TwilioActivityAccessor");
|
|
111
113
|
const TwilioCallEventAccessor_1 = require("./accessors-v2/TwilioCallEventAccessor");
|
|
112
114
|
const TwilioTaskQueueAccessor_1 = require("./accessors-v2/TwilioTaskQueueAccessor");
|
|
113
115
|
const TwilioUserUpdateAccessor_1 = require("./accessors-v2/TwilioUserUpdateAccessor");
|
|
@@ -144,6 +146,7 @@ exports.EntityRegistry = {
|
|
|
144
146
|
'ContactIdentity': ContactIdentityAccessor_1.ContactIdentityAccessor,
|
|
145
147
|
'ContractBuyOut': ContractBuyOutAccessor_1.ContractBuyOutAccessor,
|
|
146
148
|
'Conversation': ConversationAccessor_1.ConversationAccessor,
|
|
149
|
+
'ConversationSummaryFeedback': ConversationSummaryFeedbackAccessor_1.ConversationSummaryFeedbackAccessor,
|
|
147
150
|
'CreditNote': CreditNoteAccessor_1.CreditNoteAccessor,
|
|
148
151
|
'CrmDataset': CrmDatasetAccessor_1.CrmDatasetAccessor,
|
|
149
152
|
'CustomerDeviceAta': CustomerDeviceAtaAccessor_1.CustomerDeviceAtaAccessor,
|
|
@@ -214,6 +217,7 @@ exports.EntityRegistry = {
|
|
|
214
217
|
'Team': TeamAccessor_1.TeamAccessor,
|
|
215
218
|
'TimeSlot': TimeSlotAccessor_1.TimeSlotAccessor,
|
|
216
219
|
'Transaction': TransactionAccessor_1.TransactionAccessor,
|
|
220
|
+
'TwilioActivity': TwilioActivityAccessor_1.TwilioActivityAccessor,
|
|
217
221
|
'TwilioCallEvent': TwilioCallEventAccessor_1.TwilioCallEventAccessor,
|
|
218
222
|
'TwilioTaskQueue': TwilioTaskQueueAccessor_1.TwilioTaskQueueAccessor,
|
|
219
223
|
'TwilioUserUpdate': TwilioUserUpdateAccessor_1.TwilioUserUpdateAccessor,
|
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';
|
|
@@ -115,6 +116,7 @@ import { SmsMessageAccessor } from './accessors-v2/SmsMessageAccessor';
|
|
|
115
116
|
import { TeamAccessor } from './accessors-v2/TeamAccessor';
|
|
116
117
|
import { TimeSlotAccessor } from './accessors-v2/TimeSlotAccessor';
|
|
117
118
|
import { TransactionAccessor } from './accessors-v2/TransactionAccessor';
|
|
119
|
+
import { TwilioActivityAccessor } from './accessors-v2/TwilioActivityAccessor';
|
|
118
120
|
import { TwilioCallEventAccessor } from './accessors-v2/TwilioCallEventAccessor';
|
|
119
121
|
import { TwilioTaskQueueAccessor } from './accessors-v2/TwilioTaskQueueAccessor';
|
|
120
122
|
import { TwilioUserUpdateAccessor } from './accessors-v2/TwilioUserUpdateAccessor';
|
|
@@ -160,6 +162,7 @@ export declare class OdinApiClient {
|
|
|
160
162
|
private _contactIdentities?;
|
|
161
163
|
private _contractBuyOuts?;
|
|
162
164
|
private _conversations?;
|
|
165
|
+
private _conversationSummaryFeedbacks?;
|
|
163
166
|
private _creditNotes?;
|
|
164
167
|
private _crmDatasets?;
|
|
165
168
|
private _customerDeviceAtas?;
|
|
@@ -230,6 +233,7 @@ export declare class OdinApiClient {
|
|
|
230
233
|
private _teams?;
|
|
231
234
|
private _timeSlots?;
|
|
232
235
|
private _transactions?;
|
|
236
|
+
private _twilioActivities?;
|
|
233
237
|
private _twilioCallEvents?;
|
|
234
238
|
private _twilioTaskQueues?;
|
|
235
239
|
private _twilioUserUpdates?;
|
|
@@ -300,6 +304,8 @@ export declare class OdinApiClient {
|
|
|
300
304
|
get contractBuyOuts(): ContractBuyOutAccessor;
|
|
301
305
|
/** Access Conversation records */
|
|
302
306
|
get conversations(): ConversationAccessor;
|
|
307
|
+
/** Access ConversationSummaryFeedback records */
|
|
308
|
+
get conversationSummaryFeedbacks(): ConversationSummaryFeedbackAccessor;
|
|
303
309
|
/** Access CreditNote records */
|
|
304
310
|
get creditNotes(): CreditNoteAccessor;
|
|
305
311
|
/** Access CrmDataset records */
|
|
@@ -440,6 +446,8 @@ export declare class OdinApiClient {
|
|
|
440
446
|
get timeSlots(): TimeSlotAccessor;
|
|
441
447
|
/** Access Transaction records */
|
|
442
448
|
get transactions(): TransactionAccessor;
|
|
449
|
+
/** Access TwilioActivity records */
|
|
450
|
+
get twilioActivities(): TwilioActivityAccessor;
|
|
443
451
|
/** Access TwilioCallEvent records */
|
|
444
452
|
get twilioCallEvents(): TwilioCallEventAccessor;
|
|
445
453
|
/** Access TwilioTaskQueue 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");
|
|
@@ -126,6 +127,7 @@ const SmsMessageAccessor_1 = require("./accessors-v2/SmsMessageAccessor");
|
|
|
126
127
|
const TeamAccessor_1 = require("./accessors-v2/TeamAccessor");
|
|
127
128
|
const TimeSlotAccessor_1 = require("./accessors-v2/TimeSlotAccessor");
|
|
128
129
|
const TransactionAccessor_1 = require("./accessors-v2/TransactionAccessor");
|
|
130
|
+
const TwilioActivityAccessor_1 = require("./accessors-v2/TwilioActivityAccessor");
|
|
129
131
|
const TwilioCallEventAccessor_1 = require("./accessors-v2/TwilioCallEventAccessor");
|
|
130
132
|
const TwilioTaskQueueAccessor_1 = require("./accessors-v2/TwilioTaskQueueAccessor");
|
|
131
133
|
const TwilioUserUpdateAccessor_1 = require("./accessors-v2/TwilioUserUpdateAccessor");
|
|
@@ -333,6 +335,13 @@ class OdinApiClient {
|
|
|
333
335
|
}
|
|
334
336
|
return this._conversations;
|
|
335
337
|
}
|
|
338
|
+
/** Access ConversationSummaryFeedback records */
|
|
339
|
+
get conversationSummaryFeedbacks() {
|
|
340
|
+
if (!this._conversationSummaryFeedbacks) {
|
|
341
|
+
this._conversationSummaryFeedbacks = new ConversationSummaryFeedbackAccessor_1.ConversationSummaryFeedbackAccessor(this._provider);
|
|
342
|
+
}
|
|
343
|
+
return this._conversationSummaryFeedbacks;
|
|
344
|
+
}
|
|
336
345
|
/** Access CreditNote records */
|
|
337
346
|
get creditNotes() {
|
|
338
347
|
if (!this._creditNotes) {
|
|
@@ -823,6 +832,13 @@ class OdinApiClient {
|
|
|
823
832
|
}
|
|
824
833
|
return this._transactions;
|
|
825
834
|
}
|
|
835
|
+
/** Access TwilioActivity records */
|
|
836
|
+
get twilioActivities() {
|
|
837
|
+
if (!this._twilioActivities) {
|
|
838
|
+
this._twilioActivities = new TwilioActivityAccessor_1.TwilioActivityAccessor(this._provider);
|
|
839
|
+
}
|
|
840
|
+
return this._twilioActivities;
|
|
841
|
+
}
|
|
826
842
|
/** Access TwilioCallEvent records */
|
|
827
843
|
get twilioCallEvents() {
|
|
828
844
|
if (!this._twilioCallEvents) {
|
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';
|
|
@@ -122,6 +123,7 @@ import { SmsMessageDbAccessor } from './db-accessors-v2/SmsMessageDbAccessor';
|
|
|
122
123
|
import { TeamDbAccessor } from './db-accessors-v2/TeamDbAccessor';
|
|
123
124
|
import { TimeSlotDbAccessor } from './db-accessors-v2/TimeSlotDbAccessor';
|
|
124
125
|
import { TransactionDbAccessor } from './db-accessors-v2/TransactionDbAccessor';
|
|
126
|
+
import { TwilioActivityDbAccessor } from './db-accessors-v2/TwilioActivityDbAccessor';
|
|
125
127
|
import { TwilioCallEventDbAccessor } from './db-accessors-v2/TwilioCallEventDbAccessor';
|
|
126
128
|
import { TwilioTaskQueueDbAccessor } from './db-accessors-v2/TwilioTaskQueueDbAccessor';
|
|
127
129
|
import { TwilioUserUpdateDbAccessor } from './db-accessors-v2/TwilioUserUpdateDbAccessor';
|
|
@@ -161,6 +163,7 @@ export declare class OdinDbClient {
|
|
|
161
163
|
private _contactIdentities?;
|
|
162
164
|
private _contractBuyOuts?;
|
|
163
165
|
private _conversations?;
|
|
166
|
+
private _conversationSummaryFeedbacks?;
|
|
164
167
|
private _creditNotes?;
|
|
165
168
|
private _crmDatasets?;
|
|
166
169
|
private _customerDeviceAtas?;
|
|
@@ -231,6 +234,7 @@ export declare class OdinDbClient {
|
|
|
231
234
|
private _teams?;
|
|
232
235
|
private _timeSlots?;
|
|
233
236
|
private _transactions?;
|
|
237
|
+
private _twilioActivities?;
|
|
234
238
|
private _twilioCallEvents?;
|
|
235
239
|
private _twilioTaskQueues?;
|
|
236
240
|
private _twilioUserUpdates?;
|
|
@@ -310,6 +314,8 @@ export declare class OdinDbClient {
|
|
|
310
314
|
get contractBuyOuts(): ContractBuyOutDbAccessor;
|
|
311
315
|
/** Access Conversation records */
|
|
312
316
|
get conversations(): ConversationDbAccessor;
|
|
317
|
+
/** Access ConversationSummaryFeedback records */
|
|
318
|
+
get conversationSummaryFeedbacks(): ConversationSummaryFeedbackDbAccessor;
|
|
313
319
|
/** Access CreditNote records */
|
|
314
320
|
get creditNotes(): CreditNoteDbAccessor;
|
|
315
321
|
/** Access CrmDataset records */
|
|
@@ -450,6 +456,8 @@ export declare class OdinDbClient {
|
|
|
450
456
|
get timeSlots(): TimeSlotDbAccessor;
|
|
451
457
|
/** Access Transaction records */
|
|
452
458
|
get transactions(): TransactionDbAccessor;
|
|
459
|
+
/** Access TwilioActivity records */
|
|
460
|
+
get twilioActivities(): TwilioActivityDbAccessor;
|
|
453
461
|
/** Access TwilioCallEvent records */
|
|
454
462
|
get twilioCallEvents(): TwilioCallEventDbAccessor;
|
|
455
463
|
/** Access TwilioTaskQueue 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");
|
|
@@ -124,6 +125,7 @@ const SmsMessageDbAccessor_1 = require("./db-accessors-v2/SmsMessageDbAccessor")
|
|
|
124
125
|
const TeamDbAccessor_1 = require("./db-accessors-v2/TeamDbAccessor");
|
|
125
126
|
const TimeSlotDbAccessor_1 = require("./db-accessors-v2/TimeSlotDbAccessor");
|
|
126
127
|
const TransactionDbAccessor_1 = require("./db-accessors-v2/TransactionDbAccessor");
|
|
128
|
+
const TwilioActivityDbAccessor_1 = require("./db-accessors-v2/TwilioActivityDbAccessor");
|
|
127
129
|
const TwilioCallEventDbAccessor_1 = require("./db-accessors-v2/TwilioCallEventDbAccessor");
|
|
128
130
|
const TwilioTaskQueueDbAccessor_1 = require("./db-accessors-v2/TwilioTaskQueueDbAccessor");
|
|
129
131
|
const TwilioUserUpdateDbAccessor_1 = require("./db-accessors-v2/TwilioUserUpdateDbAccessor");
|
|
@@ -334,6 +336,13 @@ class OdinDbClient {
|
|
|
334
336
|
}
|
|
335
337
|
return this._conversations;
|
|
336
338
|
}
|
|
339
|
+
/** Access ConversationSummaryFeedback records */
|
|
340
|
+
get conversationSummaryFeedbacks() {
|
|
341
|
+
if (!this._conversationSummaryFeedbacks) {
|
|
342
|
+
this._conversationSummaryFeedbacks = new ConversationSummaryFeedbackDbAccessor_1.ConversationSummaryFeedbackDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
343
|
+
}
|
|
344
|
+
return this._conversationSummaryFeedbacks;
|
|
345
|
+
}
|
|
337
346
|
/** Access CreditNote records */
|
|
338
347
|
get creditNotes() {
|
|
339
348
|
if (!this._creditNotes) {
|
|
@@ -824,6 +833,13 @@ class OdinDbClient {
|
|
|
824
833
|
}
|
|
825
834
|
return this._transactions;
|
|
826
835
|
}
|
|
836
|
+
/** Access TwilioActivity records */
|
|
837
|
+
get twilioActivities() {
|
|
838
|
+
if (!this._twilioActivities) {
|
|
839
|
+
this._twilioActivities = new TwilioActivityDbAccessor_1.TwilioActivityDbAccessor(this._principal, this._dbService, this._defaultOptions);
|
|
840
|
+
}
|
|
841
|
+
return this._twilioActivities;
|
|
842
|
+
}
|
|
827
843
|
/** Access TwilioCallEvent records */
|
|
828
844
|
get twilioCallEvents() {
|
|
829
845
|
if (!this._twilioCallEvents) {
|
|
@@ -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;
|