@d19n/youfibre-odin-sdk 1.0.360 → 1.0.363

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +48 -1
  2. package/dist/EntityRegistry.d.ts +4 -0
  3. package/dist/EntityRegistry.js +4 -0
  4. package/dist/OdinApiClient.d.ts +8 -0
  5. package/dist/OdinApiClient.js +16 -0
  6. package/dist/OdinDbClient.d.ts +8 -0
  7. package/dist/OdinDbClient.js +16 -0
  8. package/dist/accessors-v2/CustomerDeviceConfigurationAccessor.d.ts +111 -0
  9. package/dist/accessors-v2/CustomerDeviceConfigurationAccessor.js +190 -0
  10. package/dist/accessors-v2/PhoneNumberAccessor.d.ts +111 -0
  11. package/dist/accessors-v2/PhoneNumberAccessor.js +190 -0
  12. package/dist/accessors-v2/index.d.ts +2 -0
  13. package/dist/accessors-v2/index.js +7 -3
  14. package/dist/actions-v2/CreateAccountFromBrskDto.d.ts +102 -0
  15. package/dist/actions-v2/CreateAccountFromBrskDto.js +54 -0
  16. package/dist/actions-v2/CreateCaseWithDpaDto.d.ts +8 -1
  17. package/dist/actions-v2/CreateCustomerDeviceConfigurationDto.d.ts +95 -0
  18. package/dist/actions-v2/CreateCustomerDeviceConfigurationDto.js +54 -0
  19. package/dist/actions-v2/CreatePgTransactionRefundDto.d.ts +129 -0
  20. package/dist/actions-v2/CreatePgTransactionRefundDto.js +59 -0
  21. package/dist/actions-v2/CreatePhoneNumberFromBrskDto.d.ts +67 -0
  22. package/dist/actions-v2/CreatePhoneNumberFromBrskDto.js +54 -0
  23. package/dist/actions-v2/CreatePushNotificationDto.d.ts +45 -24
  24. package/dist/actions-v2/MovePgTransactionRefundToAcknowledgedDto.d.ts +70 -0
  25. package/dist/actions-v2/MovePgTransactionRefundToAcknowledgedDto.js +62 -0
  26. package/dist/actions-v2/MovePgTransactionRefundToAllocatedDto.d.ts +70 -0
  27. package/dist/actions-v2/MovePgTransactionRefundToAllocatedDto.js +62 -0
  28. package/dist/actions-v2/MovePgTransactionRefundToFailedDto.d.ts +70 -0
  29. package/dist/actions-v2/MovePgTransactionRefundToFailedDto.js +62 -0
  30. package/dist/actions-v2/MovePgTransactionRefundToFileRejectedDto.d.ts +70 -0
  31. package/dist/actions-v2/MovePgTransactionRefundToFileRejectedDto.js +62 -0
  32. package/dist/actions-v2/MovePgTransactionRefundToInstructionRejectedDto.d.ts +70 -0
  33. package/dist/actions-v2/MovePgTransactionRefundToInstructionRejectedDto.js +62 -0
  34. package/dist/actions-v2/MovePgTransactionRefundToProcessingDto.d.ts +70 -0
  35. package/dist/actions-v2/MovePgTransactionRefundToProcessingDto.js +62 -0
  36. package/dist/actions-v2/MovePgTransactionRefundToReadyDto.d.ts +70 -0
  37. package/dist/actions-v2/MovePgTransactionRefundToReadyDto.js +62 -0
  38. package/dist/actions-v2/MovePgTransactionRefundToSubmissionFailedDto.d.ts +70 -0
  39. package/dist/actions-v2/MovePgTransactionRefundToSubmissionFailedDto.js +62 -0
  40. package/dist/actions-v2/MovePgTransactionRefundToSubmittedDto.d.ts +70 -0
  41. package/dist/actions-v2/MovePgTransactionRefundToSubmittedDto.js +62 -0
  42. package/dist/actions-v2/MovePgTransactionRefundToSucceededDto.d.ts +70 -0
  43. package/dist/actions-v2/MovePgTransactionRefundToSucceededDto.js +62 -0
  44. package/dist/actions-v2/UpdatePgResponseCompanyDto.d.ts +78 -0
  45. package/dist/actions-v2/UpdatePgResponseCompanyDto.js +61 -0
  46. package/dist/actions-v2/UpdatePgResponseFileReferenceNumberDto.d.ts +78 -0
  47. package/dist/actions-v2/UpdatePgResponseFileReferenceNumberDto.js +61 -0
  48. package/dist/actions-v2/UpdatePgSubmissionDto.d.ts +1 -8
  49. package/dist/actions-v2/UpdatePgTransactionRefundDto.d.ts +140 -0
  50. package/dist/actions-v2/UpdatePgTransactionRefundDto.js +61 -0
  51. package/dist/api-sdk-v2/ContactApi.d.ts +2 -0
  52. package/dist/api-sdk-v2/ContactApi.js +6 -0
  53. package/dist/api-sdk-v2/PushNotificationApi.d.ts +2 -0
  54. package/dist/api-sdk-v2/PushNotificationApi.js +6 -0
  55. package/dist/db-accessors-v2/CustomerDeviceConfigurationDbAccessor.d.ts +146 -0
  56. package/dist/db-accessors-v2/CustomerDeviceConfigurationDbAccessor.js +224 -0
  57. package/dist/db-accessors-v2/PhoneNumberDbAccessor.d.ts +146 -0
  58. package/dist/db-accessors-v2/PhoneNumberDbAccessor.js +224 -0
  59. package/dist/db-accessors-v2/index.d.ts +2 -0
  60. package/dist/db-accessors-v2/index.js +7 -3
  61. package/dist/db-sdk-v2/ContactDb.d.ts +2 -0
  62. package/dist/db-sdk-v2/ContactDb.js +6 -0
  63. package/dist/db-sdk-v2/PushNotificationDb.d.ts +2 -0
  64. package/dist/db-sdk-v2/PushNotificationDb.js +6 -0
  65. package/dist/entities-v2/Account.d.ts +32 -0
  66. package/dist/entities-v2/Account.js +2 -0
  67. package/dist/entities-v2/Contact.d.ts +7 -0
  68. package/dist/entities-v2/Contact.js +5 -1
  69. package/dist/entities-v2/PgDirectDebitFile.d.ts +17 -17
  70. package/dist/entities-v2/PgDirectDebitFile.js +2 -2
  71. package/dist/entities-v2/PgTransaction.d.ts +57 -0
  72. package/dist/entities-v2/PgTransaction.js +60 -1
  73. package/dist/entities-v2/PushNotification.d.ts +31 -0
  74. package/dist/entities-v2/PushNotification.js +8 -0
  75. package/dist/records-v2/AccountRecord.d.ts +29 -0
  76. package/dist/records-v2/AccountRecord.js +36 -0
  77. package/dist/records-v2/ContactRecord.d.ts +40 -0
  78. package/dist/records-v2/ContactRecord.js +66 -0
  79. package/dist/records-v2/CustomerDeviceConfigurationRecord.d.ts +225 -0
  80. package/dist/records-v2/CustomerDeviceConfigurationRecord.js +313 -0
  81. package/dist/records-v2/OrderRecord.d.ts +20 -0
  82. package/dist/records-v2/OrderRecord.js +33 -0
  83. package/dist/records-v2/PgDirectDebitFileRecord.d.ts +54 -0
  84. package/dist/records-v2/PgDirectDebitFileRecord.js +58 -0
  85. package/dist/records-v2/PgTransactionRecord.d.ts +307 -0
  86. package/dist/records-v2/PgTransactionRecord.js +363 -0
  87. package/dist/records-v2/PhoneNumberRecord.d.ts +205 -0
  88. package/dist/records-v2/PhoneNumberRecord.js +292 -0
  89. package/dist/records-v2/PushNotificationRecord.d.ts +40 -0
  90. package/dist/records-v2/PushNotificationRecord.js +66 -0
  91. package/dist/records-v2/UserRecord.d.ts +20 -0
  92. package/dist/records-v2/UserRecord.js +33 -0
  93. package/dist/records-v2/index.d.ts +2 -0
  94. package/dist/records-v2/index.js +10 -4
  95. package/package.json +1 -1
package/README.md CHANGED
@@ -351,7 +351,7 @@ This SDK includes **163** entities across **12** modules.
351
351
 
352
352
  ## Actions
353
353
 
354
- This SDK includes **535** actions.
354
+ This SDK includes **552** actions.
355
355
 
356
356
  ### Action Types
357
357
 
@@ -968,6 +968,7 @@ This SDK includes **535** actions.
968
968
  | Action | Type | Event |
969
969
  |--------|------|-------|
970
970
  | `ChangeBillingMode` | UPDATE | k1.t-hEOJjsDb.CrmModule.Account.Update.ChangeBillingMode |
971
+ | `CreateAccountFromBrsk` | CREATE | k1.t-hEOJjsDb.CrmModule.Account.Create.CreateAccountFromBrsk |
971
972
  | `CreateBusinessAccount` | CREATE | k1.t-hEOJjsDb.CrmModule.Account.Create.CreateBusinessAccount |
972
973
  | `CreatePrimaryAccount` | CREATE | k1.t-hEOJjsDb.CrmModule.Account.Create.CreatePrimaryAccount |
973
974
  | `CreateResellerAccount` | CREATE | k1.t-hEOJjsDb.CrmModule.Account.Create.CreateResellerAccount |
@@ -1129,6 +1130,12 @@ This SDK includes **535** actions.
1129
1130
  |--------|------|-------|
1130
1131
  | `CreateConversationFeedback` | CREATE | k1.t-hEOJjsDb.NotificationModule.ConversationFeedback.Create.CreateConversationFeedback |
1131
1132
 
1133
+ #### CustomerDeviceConfiguration
1134
+
1135
+ | Action | Type | Event |
1136
+ |--------|------|-------|
1137
+ | `CreateCustomerDeviceConfiguration` | CREATE | k1.t-hEOJjsDb.NotificationModule.CustomerDeviceConfiguration.Create.CreateCustomerDeviceConfiguration |
1138
+
1132
1139
  #### CustomerDeviceOnt
1133
1140
 
1134
1141
  | Action | Type | Event |
@@ -1395,7 +1402,9 @@ This SDK includes **535** actions.
1395
1402
  | `MovePgSubmissionToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Transition.MovePgSubmissionToProcessing |
1396
1403
  | `MovePgSubmissionToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Transition.MovePgSubmissionToSubmissionFailed |
1397
1404
  | `MovePgSubmissionToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Transition.MovePgSubmissionToSubmitted |
1405
+ | `UpdatePgResponseCompany` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Update.UpdatePgResponseCompany |
1398
1406
  | `UpdatePgResponse` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Update.UpdatePgResponse |
1407
+ | `UpdatePgResponseFileReferenceNumber` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Update.UpdatePgResponseFileReferenceNumber |
1399
1408
  | `UpdatePgResponseMessage` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Update.UpdatePgResponseMessage |
1400
1409
  | `UpdatePgSubmission` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgDirectDebitFile.Update.UpdatePgSubmission |
1401
1410
 
@@ -1436,6 +1445,7 @@ This SDK includes **535** actions.
1436
1445
  | Action | Type | Event |
1437
1446
  |--------|------|-------|
1438
1447
  | `CreatePgTransactionCharge` | CREATE | k1.t-hEOJjsDb.BillingModule.PgTransaction.Create.CreatePgTransactionCharge |
1448
+ | `CreatePgTransactionRefund` | CREATE | k1.t-hEOJjsDb.BillingModule.PgTransaction.Create.CreatePgTransactionRefund |
1439
1449
  | `MovePgTransactionChargeToAcknowledged` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToAcknowledged |
1440
1450
  | `MovePgTransactionChargeToAllocated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToAllocated |
1441
1451
  | `MovePgTransactionChargeToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToFailed |
@@ -1446,8 +1456,19 @@ This SDK includes **535** actions.
1446
1456
  | `MovePgTransactionChargeToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmissionFailed |
1447
1457
  | `MovePgTransactionChargeToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSubmitted |
1448
1458
  | `MovePgTransactionChargeToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionChargeToSucceeded |
1459
+ | `MovePgTransactionRefundToAcknowledged` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToAcknowledged |
1460
+ | `MovePgTransactionRefundToAllocated` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToAllocated |
1461
+ | `MovePgTransactionRefundToFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToFailed |
1462
+ | `MovePgTransactionRefundToFileRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToFileRejected |
1463
+ | `MovePgTransactionRefundToInstructionRejected` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToInstructionRejected |
1464
+ | `MovePgTransactionRefundToProcessing` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToProcessing |
1465
+ | `MovePgTransactionRefundToReady` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToReady |
1466
+ | `MovePgTransactionRefundToSubmissionFailed` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmissionFailed |
1467
+ | `MovePgTransactionRefundToSubmitted` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSubmitted |
1468
+ | `MovePgTransactionRefundToSucceeded` | STAGE_TRANSITION | k1.t-hEOJjsDb.BillingModule.PgTransaction.Transition.MovePgTransactionRefundToSucceeded |
1449
1469
  | `UpdatePgTransactionCharge` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgTransaction.Update.UpdatePgTransactionCharge |
1450
1470
  | `UpdatePgTransactionMessage` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgTransaction.Update.UpdatePgTransactionMessage |
1471
+ | `UpdatePgTransactionRefund` | UPDATE | k1.t-hEOJjsDb.BillingModule.PgTransaction.Update.UpdatePgTransactionRefund |
1451
1472
 
1452
1473
  **MovePgTransactionChargeToAcknowledged Target Stages:** `ChargeStatusStageAcknowledged`
1453
1474
 
@@ -1469,6 +1490,26 @@ This SDK includes **535** actions.
1469
1490
 
1470
1491
  **MovePgTransactionChargeToSucceeded Target Stages:** `ChargeStatusStageSucceeded`
1471
1492
 
1493
+ **MovePgTransactionRefundToAcknowledged Target Stages:** `RefundStatusStageAcknowledged`
1494
+
1495
+ **MovePgTransactionRefundToAllocated Target Stages:** `RefundStatusStageAllocated`
1496
+
1497
+ **MovePgTransactionRefundToFailed Target Stages:** `RefundStatusStageFailed`
1498
+
1499
+ **MovePgTransactionRefundToFileRejected Target Stages:** `RefundStatusStageFileRejected`
1500
+
1501
+ **MovePgTransactionRefundToInstructionRejected Target Stages:** `RefundStatusStageInstructionRejected`
1502
+
1503
+ **MovePgTransactionRefundToProcessing Target Stages:** `RefundStatusStageProcessing`
1504
+
1505
+ **MovePgTransactionRefundToReady Target Stages:** `RefundStatusStageReady`
1506
+
1507
+ **MovePgTransactionRefundToSubmissionFailed Target Stages:** `RefundStatusStageSubmissionFailed`
1508
+
1509
+ **MovePgTransactionRefundToSubmitted Target Stages:** `RefundStatusStageSubmitted`
1510
+
1511
+ **MovePgTransactionRefundToSucceeded Target Stages:** `RefundStatusStageSucceeded`
1512
+
1472
1513
  #### PgAccountValidation
1473
1514
 
1474
1515
  | Action | Type | Event |
@@ -1496,6 +1537,12 @@ This SDK includes **535** actions.
1496
1537
 
1497
1538
  **MovePgWebhookToSucceeded Target Stages:** `StatusStageSucceeded`
1498
1539
 
1540
+ #### PhoneNumber
1541
+
1542
+ | Action | Type | Event |
1543
+ |--------|------|-------|
1544
+ | `CreatePhoneNumberFromBrsk` | CREATE | k1.t-hEOJjsDb.CrmModule.PhoneNumber.Create.CreatePhoneNumberFromBrsk |
1545
+
1499
1546
  #### PushNotification
1500
1547
 
1501
1548
  | Action | Type | Event |
@@ -37,6 +37,7 @@ import { ConversationFeedbackAccessor } from './accessors-v2/ConversationFeedbac
37
37
  import { CreditNoteAccessor } from './accessors-v2/CreditNoteAccessor';
38
38
  import { CrmDatasetAccessor } from './accessors-v2/CrmDatasetAccessor';
39
39
  import { CustomerDeviceAtaAccessor } from './accessors-v2/CustomerDeviceAtaAccessor';
40
+ import { CustomerDeviceConfigurationAccessor } from './accessors-v2/CustomerDeviceConfigurationAccessor';
40
41
  import { CustomerDeviceOntAccessor } from './accessors-v2/CustomerDeviceOntAccessor';
41
42
  import { CustomerDeviceRouterAccessor } from './accessors-v2/CustomerDeviceRouterAccessor';
42
43
  import { CustomerPhonePortingAccessor } from './accessors-v2/CustomerPhonePortingAccessor';
@@ -85,6 +86,7 @@ import { PgTransactionAccessor } from './accessors-v2/PgTransactionAccessor';
85
86
  import { PgVocalinkAccessor } from './accessors-v2/PgVocalinkAccessor';
86
87
  import { PgWebhookAccessor } from './accessors-v2/PgWebhookAccessor';
87
88
  import { PgWebhookAttemptAccessor } from './accessors-v2/PgWebhookAttemptAccessor';
89
+ import { PhoneNumberAccessor } from './accessors-v2/PhoneNumberAccessor';
88
90
  import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
89
91
  import { PriceBookAccessor } from './accessors-v2/PriceBookAccessor';
90
92
  import { ProductAccessor } from './accessors-v2/ProductAccessor';
@@ -148,6 +150,7 @@ export declare const EntityRegistry: {
148
150
  readonly CreditNote: typeof CreditNoteAccessor;
149
151
  readonly CrmDataset: typeof CrmDatasetAccessor;
150
152
  readonly CustomerDeviceAta: typeof CustomerDeviceAtaAccessor;
153
+ readonly CustomerDeviceConfiguration: typeof CustomerDeviceConfigurationAccessor;
151
154
  readonly CustomerDeviceOnt: typeof CustomerDeviceOntAccessor;
152
155
  readonly CustomerDeviceRouter: typeof CustomerDeviceRouterAccessor;
153
156
  readonly CustomerPhonePorting: typeof CustomerPhonePortingAccessor;
@@ -196,6 +199,7 @@ export declare const EntityRegistry: {
196
199
  readonly PgVocalink: typeof PgVocalinkAccessor;
197
200
  readonly PgWebhook: typeof PgWebhookAccessor;
198
201
  readonly PgWebhookAttempt: typeof PgWebhookAttemptAccessor;
202
+ readonly PhoneNumber: typeof PhoneNumberAccessor;
199
203
  readonly PICRequest: typeof PICRequestAccessor;
200
204
  readonly PriceBook: typeof PriceBookAccessor;
201
205
  readonly Product: typeof ProductAccessor;
@@ -40,6 +40,7 @@ const ConversationFeedbackAccessor_1 = require("./accessors-v2/ConversationFeedb
40
40
  const CreditNoteAccessor_1 = require("./accessors-v2/CreditNoteAccessor");
41
41
  const CrmDatasetAccessor_1 = require("./accessors-v2/CrmDatasetAccessor");
42
42
  const CustomerDeviceAtaAccessor_1 = require("./accessors-v2/CustomerDeviceAtaAccessor");
43
+ const CustomerDeviceConfigurationAccessor_1 = require("./accessors-v2/CustomerDeviceConfigurationAccessor");
43
44
  const CustomerDeviceOntAccessor_1 = require("./accessors-v2/CustomerDeviceOntAccessor");
44
45
  const CustomerDeviceRouterAccessor_1 = require("./accessors-v2/CustomerDeviceRouterAccessor");
45
46
  const CustomerPhonePortingAccessor_1 = require("./accessors-v2/CustomerPhonePortingAccessor");
@@ -88,6 +89,7 @@ const PgTransactionAccessor_1 = require("./accessors-v2/PgTransactionAccessor");
88
89
  const PgVocalinkAccessor_1 = require("./accessors-v2/PgVocalinkAccessor");
89
90
  const PgWebhookAccessor_1 = require("./accessors-v2/PgWebhookAccessor");
90
91
  const PgWebhookAttemptAccessor_1 = require("./accessors-v2/PgWebhookAttemptAccessor");
92
+ const PhoneNumberAccessor_1 = require("./accessors-v2/PhoneNumberAccessor");
91
93
  const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
92
94
  const PriceBookAccessor_1 = require("./accessors-v2/PriceBookAccessor");
93
95
  const ProductAccessor_1 = require("./accessors-v2/ProductAccessor");
@@ -151,6 +153,7 @@ exports.EntityRegistry = {
151
153
  'CreditNote': CreditNoteAccessor_1.CreditNoteAccessor,
152
154
  'CrmDataset': CrmDatasetAccessor_1.CrmDatasetAccessor,
153
155
  'CustomerDeviceAta': CustomerDeviceAtaAccessor_1.CustomerDeviceAtaAccessor,
156
+ 'CustomerDeviceConfiguration': CustomerDeviceConfigurationAccessor_1.CustomerDeviceConfigurationAccessor,
154
157
  'CustomerDeviceOnt': CustomerDeviceOntAccessor_1.CustomerDeviceOntAccessor,
155
158
  'CustomerDeviceRouter': CustomerDeviceRouterAccessor_1.CustomerDeviceRouterAccessor,
156
159
  'CustomerPhonePorting': CustomerPhonePortingAccessor_1.CustomerPhonePortingAccessor,
@@ -199,6 +202,7 @@ exports.EntityRegistry = {
199
202
  'PgVocalink': PgVocalinkAccessor_1.PgVocalinkAccessor,
200
203
  'PgWebhook': PgWebhookAccessor_1.PgWebhookAccessor,
201
204
  'PgWebhookAttempt': PgWebhookAttemptAccessor_1.PgWebhookAttemptAccessor,
205
+ 'PhoneNumber': PhoneNumberAccessor_1.PhoneNumberAccessor,
202
206
  'PICRequest': PICRequestAccessor_1.PICRequestAccessor,
203
207
  'PriceBook': PriceBookAccessor_1.PriceBookAccessor,
204
208
  'Product': ProductAccessor_1.ProductAccessor,
@@ -47,6 +47,7 @@ import { ConversationFeedbackAccessor } from './accessors-v2/ConversationFeedbac
47
47
  import { CreditNoteAccessor } from './accessors-v2/CreditNoteAccessor';
48
48
  import { CrmDatasetAccessor } from './accessors-v2/CrmDatasetAccessor';
49
49
  import { CustomerDeviceAtaAccessor } from './accessors-v2/CustomerDeviceAtaAccessor';
50
+ import { CustomerDeviceConfigurationAccessor } from './accessors-v2/CustomerDeviceConfigurationAccessor';
50
51
  import { CustomerDeviceOntAccessor } from './accessors-v2/CustomerDeviceOntAccessor';
51
52
  import { CustomerDeviceRouterAccessor } from './accessors-v2/CustomerDeviceRouterAccessor';
52
53
  import { CustomerPhonePortingAccessor } from './accessors-v2/CustomerPhonePortingAccessor';
@@ -95,6 +96,7 @@ import { PgTransactionAccessor } from './accessors-v2/PgTransactionAccessor';
95
96
  import { PgVocalinkAccessor } from './accessors-v2/PgVocalinkAccessor';
96
97
  import { PgWebhookAccessor } from './accessors-v2/PgWebhookAccessor';
97
98
  import { PgWebhookAttemptAccessor } from './accessors-v2/PgWebhookAttemptAccessor';
99
+ import { PhoneNumberAccessor } from './accessors-v2/PhoneNumberAccessor';
98
100
  import { PICRequestAccessor } from './accessors-v2/PICRequestAccessor';
99
101
  import { PriceBookAccessor } from './accessors-v2/PriceBookAccessor';
100
102
  import { ProductAccessor } from './accessors-v2/ProductAccessor';
@@ -167,6 +169,7 @@ export declare class OdinApiClient {
167
169
  private _creditNotes?;
168
170
  private _crmDatasets?;
169
171
  private _customerDeviceAtas?;
172
+ private _customerDeviceConfigurations?;
170
173
  private _customerDeviceOnts?;
171
174
  private _customerDeviceRouters?;
172
175
  private _customerPhonePortings?;
@@ -215,6 +218,7 @@ export declare class OdinApiClient {
215
218
  private _pgVocalinks?;
216
219
  private _pgWebhooks?;
217
220
  private _pgWebhookAttempts?;
221
+ private _phoneNumbers?;
218
222
  private _picRequests?;
219
223
  private _priceBooks?;
220
224
  private _products?;
@@ -314,6 +318,8 @@ export declare class OdinApiClient {
314
318
  get crmDatasets(): CrmDatasetAccessor;
315
319
  /** Access CustomerDeviceAta records */
316
320
  get customerDeviceAtas(): CustomerDeviceAtaAccessor;
321
+ /** Access CustomerDeviceConfiguration records */
322
+ get customerDeviceConfigurations(): CustomerDeviceConfigurationAccessor;
317
323
  /** Access CustomerDeviceOnt records */
318
324
  get customerDeviceOnts(): CustomerDeviceOntAccessor;
319
325
  /** Access CustomerDeviceRouter records */
@@ -410,6 +416,8 @@ export declare class OdinApiClient {
410
416
  get pgWebhooks(): PgWebhookAccessor;
411
417
  /** Access PgWebhookAttempt records */
412
418
  get pgWebhookAttempts(): PgWebhookAttemptAccessor;
419
+ /** Access PhoneNumber records */
420
+ get phoneNumbers(): PhoneNumberAccessor;
413
421
  /** Access PICRequest records */
414
422
  get picRequests(): PICRequestAccessor;
415
423
  /** Access PriceBook records */
@@ -58,6 +58,7 @@ const ConversationFeedbackAccessor_1 = require("./accessors-v2/ConversationFeedb
58
58
  const CreditNoteAccessor_1 = require("./accessors-v2/CreditNoteAccessor");
59
59
  const CrmDatasetAccessor_1 = require("./accessors-v2/CrmDatasetAccessor");
60
60
  const CustomerDeviceAtaAccessor_1 = require("./accessors-v2/CustomerDeviceAtaAccessor");
61
+ const CustomerDeviceConfigurationAccessor_1 = require("./accessors-v2/CustomerDeviceConfigurationAccessor");
61
62
  const CustomerDeviceOntAccessor_1 = require("./accessors-v2/CustomerDeviceOntAccessor");
62
63
  const CustomerDeviceRouterAccessor_1 = require("./accessors-v2/CustomerDeviceRouterAccessor");
63
64
  const CustomerPhonePortingAccessor_1 = require("./accessors-v2/CustomerPhonePortingAccessor");
@@ -106,6 +107,7 @@ const PgTransactionAccessor_1 = require("./accessors-v2/PgTransactionAccessor");
106
107
  const PgVocalinkAccessor_1 = require("./accessors-v2/PgVocalinkAccessor");
107
108
  const PgWebhookAccessor_1 = require("./accessors-v2/PgWebhookAccessor");
108
109
  const PgWebhookAttemptAccessor_1 = require("./accessors-v2/PgWebhookAttemptAccessor");
110
+ const PhoneNumberAccessor_1 = require("./accessors-v2/PhoneNumberAccessor");
109
111
  const PICRequestAccessor_1 = require("./accessors-v2/PICRequestAccessor");
110
112
  const PriceBookAccessor_1 = require("./accessors-v2/PriceBookAccessor");
111
113
  const ProductAccessor_1 = require("./accessors-v2/ProductAccessor");
@@ -352,6 +354,13 @@ class OdinApiClient {
352
354
  }
353
355
  return this._customerDeviceAtas;
354
356
  }
357
+ /** Access CustomerDeviceConfiguration records */
358
+ get customerDeviceConfigurations() {
359
+ if (!this._customerDeviceConfigurations) {
360
+ this._customerDeviceConfigurations = new CustomerDeviceConfigurationAccessor_1.CustomerDeviceConfigurationAccessor(this._provider);
361
+ }
362
+ return this._customerDeviceConfigurations;
363
+ }
355
364
  /** Access CustomerDeviceOnt records */
356
365
  get customerDeviceOnts() {
357
366
  if (!this._customerDeviceOnts) {
@@ -688,6 +697,13 @@ class OdinApiClient {
688
697
  }
689
698
  return this._pgWebhookAttempts;
690
699
  }
700
+ /** Access PhoneNumber records */
701
+ get phoneNumbers() {
702
+ if (!this._phoneNumbers) {
703
+ this._phoneNumbers = new PhoneNumberAccessor_1.PhoneNumberAccessor(this._provider);
704
+ }
705
+ return this._phoneNumbers;
706
+ }
691
707
  /** Access PICRequest records */
692
708
  get picRequests() {
693
709
  if (!this._picRequests) {
@@ -48,6 +48,7 @@ import { ConversationFeedbackDbAccessor } from './db-accessors-v2/ConversationFe
48
48
  import { CreditNoteDbAccessor } from './db-accessors-v2/CreditNoteDbAccessor';
49
49
  import { CrmDatasetDbAccessor } from './db-accessors-v2/CrmDatasetDbAccessor';
50
50
  import { CustomerDeviceAtaDbAccessor } from './db-accessors-v2/CustomerDeviceAtaDbAccessor';
51
+ import { CustomerDeviceConfigurationDbAccessor } from './db-accessors-v2/CustomerDeviceConfigurationDbAccessor';
51
52
  import { CustomerDeviceOntDbAccessor } from './db-accessors-v2/CustomerDeviceOntDbAccessor';
52
53
  import { CustomerDeviceRouterDbAccessor } from './db-accessors-v2/CustomerDeviceRouterDbAccessor';
53
54
  import { CustomerPhonePortingDbAccessor } from './db-accessors-v2/CustomerPhonePortingDbAccessor';
@@ -96,6 +97,7 @@ import { PgTransactionDbAccessor } from './db-accessors-v2/PgTransactionDbAccess
96
97
  import { PgVocalinkDbAccessor } from './db-accessors-v2/PgVocalinkDbAccessor';
97
98
  import { PgWebhookAttemptDbAccessor } from './db-accessors-v2/PgWebhookAttemptDbAccessor';
98
99
  import { PgWebhookDbAccessor } from './db-accessors-v2/PgWebhookDbAccessor';
100
+ import { PhoneNumberDbAccessor } from './db-accessors-v2/PhoneNumberDbAccessor';
99
101
  import { PICRequestDbAccessor } from './db-accessors-v2/PICRequestDbAccessor';
100
102
  import { PriceBookDbAccessor } from './db-accessors-v2/PriceBookDbAccessor';
101
103
  import { ProductDbAccessor } from './db-accessors-v2/ProductDbAccessor';
@@ -162,6 +164,7 @@ export declare class OdinDbClient {
162
164
  private _creditNotes?;
163
165
  private _crmDatasets?;
164
166
  private _customerDeviceAtas?;
167
+ private _customerDeviceConfigurations?;
165
168
  private _customerDeviceOnts?;
166
169
  private _customerDeviceRouters?;
167
170
  private _customerPhonePortings?;
@@ -210,6 +213,7 @@ export declare class OdinDbClient {
210
213
  private _pgVocalinks?;
211
214
  private _pgWebhookAttempts?;
212
215
  private _pgWebhooks?;
216
+ private _phoneNumbers?;
213
217
  private _picRequests?;
214
218
  private _priceBooks?;
215
219
  private _products?;
@@ -318,6 +322,8 @@ export declare class OdinDbClient {
318
322
  get crmDatasets(): CrmDatasetDbAccessor;
319
323
  /** Access CustomerDeviceAta records */
320
324
  get customerDeviceAtas(): CustomerDeviceAtaDbAccessor;
325
+ /** Access CustomerDeviceConfiguration records */
326
+ get customerDeviceConfigurations(): CustomerDeviceConfigurationDbAccessor;
321
327
  /** Access CustomerDeviceOnt records */
322
328
  get customerDeviceOnts(): CustomerDeviceOntDbAccessor;
323
329
  /** Access CustomerDeviceRouter records */
@@ -414,6 +420,8 @@ export declare class OdinDbClient {
414
420
  get pgWebhookAttempts(): PgWebhookAttemptDbAccessor;
415
421
  /** Access PgWebhook records */
416
422
  get pgWebhooks(): PgWebhookDbAccessor;
423
+ /** Access PhoneNumber records */
424
+ get phoneNumbers(): PhoneNumberDbAccessor;
417
425
  /** Access PICRequest records */
418
426
  get picRequests(): PICRequestDbAccessor;
419
427
  /** Access PriceBook records */
@@ -50,6 +50,7 @@ const ConversationFeedbackDbAccessor_1 = require("./db-accessors-v2/Conversation
50
50
  const CreditNoteDbAccessor_1 = require("./db-accessors-v2/CreditNoteDbAccessor");
51
51
  const CrmDatasetDbAccessor_1 = require("./db-accessors-v2/CrmDatasetDbAccessor");
52
52
  const CustomerDeviceAtaDbAccessor_1 = require("./db-accessors-v2/CustomerDeviceAtaDbAccessor");
53
+ const CustomerDeviceConfigurationDbAccessor_1 = require("./db-accessors-v2/CustomerDeviceConfigurationDbAccessor");
53
54
  const CustomerDeviceOntDbAccessor_1 = require("./db-accessors-v2/CustomerDeviceOntDbAccessor");
54
55
  const CustomerDeviceRouterDbAccessor_1 = require("./db-accessors-v2/CustomerDeviceRouterDbAccessor");
55
56
  const CustomerPhonePortingDbAccessor_1 = require("./db-accessors-v2/CustomerPhonePortingDbAccessor");
@@ -98,6 +99,7 @@ const PgTransactionDbAccessor_1 = require("./db-accessors-v2/PgTransactionDbAcce
98
99
  const PgVocalinkDbAccessor_1 = require("./db-accessors-v2/PgVocalinkDbAccessor");
99
100
  const PgWebhookAttemptDbAccessor_1 = require("./db-accessors-v2/PgWebhookAttemptDbAccessor");
100
101
  const PgWebhookDbAccessor_1 = require("./db-accessors-v2/PgWebhookDbAccessor");
102
+ const PhoneNumberDbAccessor_1 = require("./db-accessors-v2/PhoneNumberDbAccessor");
101
103
  const PICRequestDbAccessor_1 = require("./db-accessors-v2/PICRequestDbAccessor");
102
104
  const PriceBookDbAccessor_1 = require("./db-accessors-v2/PriceBookDbAccessor");
103
105
  const ProductDbAccessor_1 = require("./db-accessors-v2/ProductDbAccessor");
@@ -347,6 +349,13 @@ class OdinDbClient {
347
349
  }
348
350
  return this._customerDeviceAtas;
349
351
  }
352
+ /** Access CustomerDeviceConfiguration records */
353
+ get customerDeviceConfigurations() {
354
+ if (!this._customerDeviceConfigurations) {
355
+ this._customerDeviceConfigurations = new CustomerDeviceConfigurationDbAccessor_1.CustomerDeviceConfigurationDbAccessor(this._principal, this._dbService, this._defaultOptions);
356
+ }
357
+ return this._customerDeviceConfigurations;
358
+ }
350
359
  /** Access CustomerDeviceOnt records */
351
360
  get customerDeviceOnts() {
352
361
  if (!this._customerDeviceOnts) {
@@ -683,6 +692,13 @@ class OdinDbClient {
683
692
  }
684
693
  return this._pgWebhooks;
685
694
  }
695
+ /** Access PhoneNumber records */
696
+ get phoneNumbers() {
697
+ if (!this._phoneNumbers) {
698
+ this._phoneNumbers = new PhoneNumberDbAccessor_1.PhoneNumberDbAccessor(this._principal, this._dbService, this._defaultOptions);
699
+ }
700
+ return this._phoneNumbers;
701
+ }
686
702
  /** Access PICRequest records */
687
703
  get picRequests() {
688
704
  if (!this._picRequests) {
@@ -0,0 +1,111 @@
1
+ /**
2
+ * CustomerDeviceConfiguration Accessor
3
+ *
4
+ * Provides typed access to CustomerDeviceConfiguration 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.updateCustomerDeviceConfiguration({ ... });
12
+ *
13
+ * // Create new record
14
+ * const newRecord = accessor.new();
15
+ * await newRecord.createCustomerDeviceConfiguration({ ... });
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 { CustomerDeviceConfigurationProperties } from '../entities-v2/CustomerDeviceConfiguration';
25
+ import { CustomerDeviceConfigurationRecord } from '../records-v2/CustomerDeviceConfigurationRecord';
26
+ /** List response with wrapped records */
27
+ export interface CustomerDeviceConfigurationListResponse {
28
+ data: CustomerDeviceConfigurationRecord[];
29
+ hasMore: boolean;
30
+ totalRecords: number;
31
+ }
32
+ /** Search response with wrapped records */
33
+ export interface CustomerDeviceConfigurationSearchResponse {
34
+ records: CustomerDeviceConfigurationRecord[];
35
+ totalRecords: number;
36
+ hasMore: boolean;
37
+ }
38
+ export declare class CustomerDeviceConfigurationAccessor {
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 CustomerDeviceConfiguration 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): CustomerDeviceConfigurationRecord;
72
+ /**
73
+ * Get a single CustomerDeviceConfiguration record by ID
74
+ */
75
+ get(id: string): Promise<CustomerDeviceConfigurationRecord>;
76
+ /**
77
+ * Get multiple CustomerDeviceConfiguration records by IDs
78
+ */
79
+ getMany(ids: string[]): Promise<CustomerDeviceConfigurationRecord[]>;
80
+ /**
81
+ * Search CustomerDeviceConfiguration records
82
+ */
83
+ search(params: Partial<OdinSearchV2>): Promise<CustomerDeviceConfigurationSearchResponse>;
84
+ /**
85
+ * Search all CustomerDeviceConfiguration records with automatic pagination
86
+ */
87
+ searchAll(params: Partial<OdinSearchV2>): Promise<CustomerDeviceConfigurationRecord[]>;
88
+ /**
89
+ * Async generator for paginating through all matching records.
90
+ * Yields batches of wrapped records.
91
+ */
92
+ paginate(params: Partial<OdinSearchV2>): AsyncGenerator<CustomerDeviceConfigurationRecord[]>;
93
+ /**
94
+ * Create a fluent query builder for CustomerDeviceConfiguration 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<CustomerDeviceConfigurationProperties, CustomerDeviceConfigurationRecord>;
109
+ /** Access the underlying ApiProvider */
110
+ get provider(): ApiProvider;
111
+ }
@@ -0,0 +1,190 @@
1
+ "use strict";
2
+ /**
3
+ * CustomerDeviceConfiguration Accessor
4
+ *
5
+ * Provides typed access to CustomerDeviceConfiguration 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.updateCustomerDeviceConfiguration({ ... });
13
+ *
14
+ * // Create new record
15
+ * const newRecord = accessor.new();
16
+ * await newRecord.createCustomerDeviceConfiguration({ ... });
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.CustomerDeviceConfigurationAccessor = 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 CustomerDeviceConfigurationRecord_1 = require("../records-v2/CustomerDeviceConfigurationRecord");
47
+ class CustomerDeviceConfigurationAccessor {
48
+ constructor(providerOrAuth, host) {
49
+ this._moduleName = 'NotificationModule';
50
+ this._entityName = 'CustomerDeviceConfiguration';
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 CustomerDeviceConfiguration 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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(null, this._provider, id);
94
+ }
95
+ // ============================================
96
+ // RECORD RETRIEVAL
97
+ // ============================================
98
+ /**
99
+ * Get a single CustomerDeviceConfiguration 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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(record, this._provider);
105
+ });
106
+ }
107
+ /**
108
+ * Get multiple CustomerDeviceConfiguration 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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(r, this._provider));
116
+ });
117
+ }
118
+ // ============================================
119
+ // SEARCH OPERATIONS
120
+ // ============================================
121
+ /**
122
+ * Search CustomerDeviceConfiguration 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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(r, this._provider)),
129
+ totalRecords: result.totalRecords,
130
+ hasMore: result.hasMore,
131
+ };
132
+ });
133
+ }
134
+ /**
135
+ * Search all CustomerDeviceConfiguration 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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(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 CustomerDeviceConfigurationRecord_1.CustomerDeviceConfigurationRecord(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 CustomerDeviceConfiguration 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.CustomerDeviceConfigurationAccessor = CustomerDeviceConfigurationAccessor;