@ember-home/unbound-ts-client 0.0.36 → 0.0.37

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/dist/index.d.mts CHANGED
@@ -163,18 +163,6 @@ interface APIAccount {
163
163
  * @interface APIAddress
164
164
  */
165
165
  interface APIAddress {
166
- /**
167
- *
168
- * @type {string}
169
- * @memberof APIAddress
170
- */
171
- 'addressId': string;
172
- /**
173
- *
174
- * @type {string}
175
- * @memberof APIAddress
176
- */
177
- 'deletedAt'?: string | null;
178
166
  /**
179
167
  *
180
168
  * @type {string}
@@ -211,12 +199,6 @@ interface APIAddress {
211
199
  * @memberof APIAddress
212
200
  */
213
201
  'region': string | null;
214
- /**
215
- *
216
- * @type {boolean}
217
- * @memberof APIAddress
218
- */
219
- 'isPrimary': boolean;
220
202
  }
221
203
  /**
222
204
  *
@@ -229,7 +211,7 @@ interface APIAddressCreate {
229
211
  * @type {string}
230
212
  * @memberof APIAddressCreate
231
213
  */
232
- 'street1'?: string | null;
214
+ 'street1': string | null;
233
215
  /**
234
216
  *
235
217
  * @type {string}
@@ -241,31 +223,25 @@ interface APIAddressCreate {
241
223
  * @type {string}
242
224
  * @memberof APIAddressCreate
243
225
  */
244
- 'country'?: string | null;
226
+ 'country': string | null;
245
227
  /**
246
228
  *
247
229
  * @type {string}
248
230
  * @memberof APIAddressCreate
249
231
  */
250
- 'locality'?: string | null;
232
+ 'locality': string | null;
251
233
  /**
252
234
  *
253
235
  * @type {string}
254
236
  * @memberof APIAddressCreate
255
237
  */
256
- 'postalCode'?: string | null;
238
+ 'postalCode': string | null;
257
239
  /**
258
240
  *
259
241
  * @type {string}
260
242
  * @memberof APIAddressCreate
261
243
  */
262
- 'region'?: string | null;
263
- /**
264
- *
265
- * @type {boolean}
266
- * @memberof APIAddressCreate
267
- */
268
- 'isPrimary'?: boolean | null;
244
+ 'region': string | null;
269
245
  }
270
246
  /**
271
247
  *
@@ -278,7 +254,7 @@ interface APIAddressUpdate {
278
254
  * @type {string}
279
255
  * @memberof APIAddressUpdate
280
256
  */
281
- 'street1'?: string | null;
257
+ 'street1': string | null;
282
258
  /**
283
259
  *
284
260
  * @type {string}
@@ -290,31 +266,31 @@ interface APIAddressUpdate {
290
266
  * @type {string}
291
267
  * @memberof APIAddressUpdate
292
268
  */
293
- 'country'?: string | null;
269
+ 'country': string | null;
294
270
  /**
295
271
  *
296
272
  * @type {string}
297
273
  * @memberof APIAddressUpdate
298
274
  */
299
- 'locality'?: string | null;
275
+ 'locality': string | null;
300
276
  /**
301
277
  *
302
278
  * @type {string}
303
279
  * @memberof APIAddressUpdate
304
280
  */
305
- 'postalCode'?: string | null;
281
+ 'postalCode': string | null;
306
282
  /**
307
283
  *
308
284
  * @type {string}
309
285
  * @memberof APIAddressUpdate
310
286
  */
311
- 'region'?: string | null;
287
+ 'region': string | null;
312
288
  /**
313
289
  *
314
- * @type {boolean}
290
+ * @type {string}
315
291
  * @memberof APIAddressUpdate
316
292
  */
317
- 'isPrimary'?: boolean | null;
293
+ 'addressId': string;
318
294
  }
319
295
  /**
320
296
  *
@@ -472,6 +448,28 @@ interface APIContact {
472
448
  * @memberof APIContact
473
449
  */
474
450
  'addresses'?: Array<AddressApi>;
451
+ /**
452
+ *
453
+ * @type {{ [key: string]: SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1; }}
454
+ * @memberof APIContact
455
+ */
456
+ 'providerEmails'?: {
457
+ [key: string]: SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1;
458
+ };
459
+ /**
460
+ *
461
+ * @type {{ [key: string]: SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2; }}
462
+ * @memberof APIContact
463
+ */
464
+ 'providerPhones'?: {
465
+ [key: string]: SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2;
466
+ };
467
+ /**
468
+ *
469
+ * @type {Array<ProviderAddressApi>}
470
+ * @memberof APIContact
471
+ */
472
+ 'providerAddresses'?: Array<ProviderAddressApi>;
475
473
  /**
476
474
  *
477
475
  * @type {ContactTypeDataApi}
@@ -490,6 +488,12 @@ interface APIContact {
490
488
  * @memberof APIContact
491
489
  */
492
490
  'updatedByName': string;
491
+ /**
492
+ *
493
+ * @type {AttributionApi}
494
+ * @memberof APIContact
495
+ */
496
+ 'attribution'?: AttributionApi;
493
497
  }
494
498
  /**
495
499
  *
@@ -505,16 +509,28 @@ interface APIContactCreate1 {
505
509
  'locale'?: string | null;
506
510
  /**
507
511
  *
508
- * @type {Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi1>}
512
+ * @type {Array<string>}
509
513
  * @memberof APIContactCreate1
510
514
  */
511
- 'emails'?: Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi1> | null;
515
+ 'emails'?: Array<string> | null;
512
516
  /**
513
517
  *
514
- * @type {Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi2>}
518
+ * @type {Array<string>}
515
519
  * @memberof APIContactCreate1
516
520
  */
517
- 'phones'?: Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi2> | null;
521
+ 'phones'?: Array<string> | null;
522
+ /**
523
+ *
524
+ * @type {string}
525
+ * @memberof APIContactCreate1
526
+ */
527
+ 'primaryEmail'?: string | null;
528
+ /**
529
+ *
530
+ * @type {string}
531
+ * @memberof APIContactCreate1
532
+ */
533
+ 'primaryPhone'?: string | null;
518
534
  /**
519
535
  *
520
536
  * @type {string}
@@ -548,16 +564,28 @@ interface APIContactCreate2 {
548
564
  'locale'?: string | null;
549
565
  /**
550
566
  *
551
- * @type {Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi1>}
567
+ * @type {Array<string>}
568
+ * @memberof APIContactCreate2
569
+ */
570
+ 'emails'?: Array<string> | null;
571
+ /**
572
+ *
573
+ * @type {Array<string>}
574
+ * @memberof APIContactCreate2
575
+ */
576
+ 'phones'?: Array<string> | null;
577
+ /**
578
+ *
579
+ * @type {string}
552
580
  * @memberof APIContactCreate2
553
581
  */
554
- 'emails'?: Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi1> | null;
582
+ 'primaryEmail'?: string | null;
555
583
  /**
556
584
  *
557
- * @type {Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi2>}
585
+ * @type {string}
558
586
  * @memberof APIContactCreate2
559
587
  */
560
- 'phones'?: Array<SrcResourceModelsHelperModelsCustomBaseModelCreateApi2> | null;
588
+ 'primaryPhone'?: string | null;
561
589
  /**
562
590
  *
563
591
  * @type {string}
@@ -607,6 +635,18 @@ interface APIContactUpdate {
607
635
  * @memberof APIContactUpdate
608
636
  */
609
637
  'title'?: string | null;
638
+ /**
639
+ *
640
+ * @type {string}
641
+ * @memberof APIContactUpdate
642
+ */
643
+ 'primaryEmail'?: string | null;
644
+ /**
645
+ *
646
+ * @type {string}
647
+ * @memberof APIContactUpdate
648
+ */
649
+ 'primaryPhone'?: string | null;
610
650
  /**
611
651
  *
612
652
  * @type {string}
@@ -802,19 +842,7 @@ interface APIEmail {
802
842
  * @type {boolean}
803
843
  * @memberof APIEmail
804
844
  */
805
- 'isPrimary': boolean;
806
- /**
807
- *
808
- * @type {string}
809
- * @memberof APIEmail
810
- */
811
- 'providerId': string;
812
- /**
813
- *
814
- * @type {string}
815
- * @memberof APIEmail
816
- */
817
- 'deletedAt'?: string | null;
845
+ 'isPrimary'?: boolean;
818
846
  }
819
847
  /**
820
848
  *
@@ -828,12 +856,6 @@ interface APIEmailCreate {
828
856
  * @memberof APIEmailCreate
829
857
  */
830
858
  'email': string;
831
- /**
832
- *
833
- * @type {boolean}
834
- * @memberof APIEmailCreate
835
- */
836
- 'isPrimary'?: boolean | null;
837
859
  }
838
860
  /**
839
861
  *
@@ -846,7 +868,7 @@ interface APIEmailUpdate {
846
868
  * @type {string}
847
869
  * @memberof APIEmailUpdate
848
870
  */
849
- 'email'?: string | null;
871
+ 'email': string;
850
872
  /**
851
873
  *
852
874
  * @type {boolean}
@@ -1231,24 +1253,6 @@ interface APIPhoneNumber {
1231
1253
  * @memberof APIPhoneNumber
1232
1254
  */
1233
1255
  'phone': string;
1234
- /**
1235
- *
1236
- * @type {string}
1237
- * @memberof APIPhoneNumber
1238
- */
1239
- 'providerId': string;
1240
- /**
1241
- *
1242
- * @type {string}
1243
- * @memberof APIPhoneNumber
1244
- */
1245
- 'deletedAt'?: string | null;
1246
- /**
1247
- *
1248
- * @type {boolean}
1249
- * @memberof APIPhoneNumber
1250
- */
1251
- 'isPrimary': boolean;
1252
1256
  }
1253
1257
  /**
1254
1258
  *
@@ -1262,12 +1266,6 @@ interface APIPhoneNumberCreate {
1262
1266
  * @memberof APIPhoneNumberCreate
1263
1267
  */
1264
1268
  'phone': string;
1265
- /**
1266
- *
1267
- * @type {boolean}
1268
- * @memberof APIPhoneNumberCreate
1269
- */
1270
- 'isPrimary'?: boolean | null;
1271
1269
  }
1272
1270
  /**
1273
1271
  *
@@ -1280,13 +1278,7 @@ interface APIPhoneNumberUpdate {
1280
1278
  * @type {string}
1281
1279
  * @memberof APIPhoneNumberUpdate
1282
1280
  */
1283
- 'phone'?: string | null;
1284
- /**
1285
- *
1286
- * @type {boolean}
1287
- * @memberof APIPhoneNumberUpdate
1288
- */
1289
- 'isPrimary'?: boolean | null;
1281
+ 'phone': string;
1290
1282
  }
1291
1283
  /**
1292
1284
  *
@@ -1536,55 +1528,184 @@ interface AddressApi {
1536
1528
  * @type {string}
1537
1529
  * @memberof AddressApi
1538
1530
  */
1539
- 'addressId': string;
1531
+ 'street1': string | null;
1540
1532
  /**
1541
1533
  *
1542
1534
  * @type {string}
1543
1535
  * @memberof AddressApi
1544
1536
  */
1545
- 'deletedAt'?: string | null;
1537
+ 'street2'?: string | null;
1546
1538
  /**
1547
1539
  *
1548
1540
  * @type {string}
1549
1541
  * @memberof AddressApi
1550
1542
  */
1551
- 'street1': string | null;
1543
+ 'country': string | null;
1552
1544
  /**
1553
1545
  *
1554
1546
  * @type {string}
1555
1547
  * @memberof AddressApi
1556
1548
  */
1557
- 'street2'?: string | null;
1549
+ 'locality': string | null;
1558
1550
  /**
1559
1551
  *
1560
1552
  * @type {string}
1561
1553
  * @memberof AddressApi
1562
1554
  */
1563
- 'country': string | null;
1555
+ 'postalCode': string | null;
1564
1556
  /**
1565
1557
  *
1566
1558
  * @type {string}
1567
1559
  * @memberof AddressApi
1568
1560
  */
1569
- 'locality': string | null;
1561
+ 'region': string | null;
1570
1562
  /**
1571
1563
  *
1572
1564
  * @type {string}
1573
1565
  * @memberof AddressApi
1574
1566
  */
1575
- 'postalCode': string | null;
1567
+ 'addressId': string;
1568
+ }
1569
+ /**
1570
+ *
1571
+ * @export
1572
+ * @interface AttributeSourceApi
1573
+ */
1574
+ interface AttributeSourceApi {
1576
1575
  /**
1577
1576
  *
1578
1577
  * @type {string}
1579
- * @memberof AddressApi
1578
+ * @memberof AttributeSourceApi
1580
1579
  */
1581
- 'region': string | null;
1580
+ 'providerId': string;
1582
1581
  /**
1583
1582
  *
1584
- * @type {boolean}
1585
- * @memberof AddressApi
1583
+ * @type {string}
1584
+ * @memberof AttributeSourceApi
1585
+ */
1586
+ 'value': string;
1587
+ }
1588
+ /**
1589
+ *
1590
+ * @export
1591
+ * @interface AttributionApi
1592
+ */
1593
+ interface AttributionApi {
1594
+ /**
1595
+ *
1596
+ * @type {AttributeSourceApi}
1597
+ * @memberof AttributionApi
1598
+ */
1599
+ 'firstName'?: AttributeSourceApi | null;
1600
+ /**
1601
+ *
1602
+ * @type {AttributeSourceApi}
1603
+ * @memberof AttributionApi
1604
+ */
1605
+ 'lastName'?: AttributeSourceApi | null;
1606
+ /**
1607
+ *
1608
+ * @type {AttributeSourceApi}
1609
+ * @memberof AttributionApi
1610
+ */
1611
+ 'locale'?: AttributeSourceApi | null;
1612
+ /**
1613
+ *
1614
+ * @type {AttributeSourceApi}
1615
+ * @memberof AttributionApi
1616
+ */
1617
+ 'fullName'?: AttributeSourceApi | null;
1618
+ /**
1619
+ *
1620
+ * @type {AttributeSourceApi}
1621
+ * @memberof AttributionApi
1622
+ */
1623
+ 'title'?: AttributeSourceApi | null;
1624
+ /**
1625
+ *
1626
+ * @type {AttributeSourceApi}
1627
+ * @memberof AttributionApi
1628
+ */
1629
+ 'company'?: AttributeSourceApi | null;
1630
+ /**
1631
+ *
1632
+ * @type {AttributeSourceApi}
1633
+ * @memberof AttributionApi
1634
+ */
1635
+ 'profilePicUrlRegular'?: AttributeSourceApi | null;
1636
+ /**
1637
+ *
1638
+ * @type {AttributeSourceApi}
1639
+ * @memberof AttributionApi
1640
+ */
1641
+ 'profilePicUrlLarge'?: AttributeSourceApi | null;
1642
+ /**
1643
+ *
1644
+ * @type {AttributeSourceApi}
1645
+ * @memberof AttributionApi
1646
+ */
1647
+ 'profilePicUrlThumbnail'?: AttributeSourceApi | null;
1648
+ /**
1649
+ *
1650
+ * @type {AttributeSourceApi}
1651
+ * @memberof AttributionApi
1652
+ */
1653
+ 'primaryEmail'?: AttributeSourceApi | null;
1654
+ /**
1655
+ *
1656
+ * @type {AttributeSourceApi}
1657
+ * @memberof AttributionApi
1658
+ */
1659
+ 'primaryPhone'?: AttributeSourceApi | null;
1660
+ /**
1661
+ *
1662
+ * @type {AttributeSourceApi}
1663
+ * @memberof AttributionApi
1586
1664
  */
1587
- 'isPrimary': boolean;
1665
+ 'primaryAddress'?: AttributeSourceApi | null;
1666
+ }
1667
+ /**
1668
+ *
1669
+ * @export
1670
+ * @interface BaseAddressApi
1671
+ */
1672
+ interface BaseAddressApi {
1673
+ /**
1674
+ *
1675
+ * @type {string}
1676
+ * @memberof BaseAddressApi
1677
+ */
1678
+ 'street1': string | null;
1679
+ /**
1680
+ *
1681
+ * @type {string}
1682
+ * @memberof BaseAddressApi
1683
+ */
1684
+ 'street2'?: string | null;
1685
+ /**
1686
+ *
1687
+ * @type {string}
1688
+ * @memberof BaseAddressApi
1689
+ */
1690
+ 'country': string | null;
1691
+ /**
1692
+ *
1693
+ * @type {string}
1694
+ * @memberof BaseAddressApi
1695
+ */
1696
+ 'locality': string | null;
1697
+ /**
1698
+ *
1699
+ * @type {string}
1700
+ * @memberof BaseAddressApi
1701
+ */
1702
+ 'postalCode': string | null;
1703
+ /**
1704
+ *
1705
+ * @type {string}
1706
+ * @memberof BaseAddressApi
1707
+ */
1708
+ 'region': string | null;
1588
1709
  }
1589
1710
  /**
1590
1711
  *
@@ -1639,7 +1760,7 @@ type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationSta
1639
1760
  * @type Conversationtypedata
1640
1761
  * @export
1641
1762
  */
1642
- type Conversationtypedata = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
1763
+ type Conversationtypedata = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi2;
1643
1764
  /**
1644
1765
  * @type Conversationtypedata1
1645
1766
  * @export
@@ -1706,19 +1827,20 @@ interface EmailApi {
1706
1827
  * @type {boolean}
1707
1828
  * @memberof EmailApi
1708
1829
  */
1709
- 'isPrimary': boolean;
1710
- /**
1711
- *
1712
- * @type {string}
1713
- * @memberof EmailApi
1714
- */
1715
- 'providerId': string;
1830
+ 'isPrimary'?: boolean;
1831
+ }
1832
+ /**
1833
+ *
1834
+ * @export
1835
+ * @interface EmailAttributionApi
1836
+ */
1837
+ interface EmailAttributionApi {
1716
1838
  /**
1717
1839
  *
1718
- * @type {string}
1719
- * @memberof EmailApi
1840
+ * @type {Array<string>}
1841
+ * @memberof EmailAttributionApi
1720
1842
  */
1721
- 'deletedAt'?: string | null;
1843
+ 'channels': Array<string>;
1722
1844
  }
1723
1845
  /**
1724
1846
  *
@@ -1900,7 +2022,7 @@ type Messagetypedata = ProviderMessageApi | TwilioMessageApi | object;
1900
2022
  * @type Messagetypedata1
1901
2023
  * @export
1902
2024
  */
1903
- type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi5 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi6;
2025
+ type Messagetypedata1 = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 | SrcResourceModelsHelperModelsCustomBaseModelCreateApi4;
1904
2026
  /**
1905
2027
  *
1906
2028
  * @export
@@ -2115,24 +2237,44 @@ interface PhoneApi {
2115
2237
  * @memberof PhoneApi
2116
2238
  */
2117
2239
  'phone': string;
2240
+ }
2241
+ /**
2242
+ *
2243
+ * @export
2244
+ * @interface PhoneAttributionApi
2245
+ */
2246
+ interface PhoneAttributionApi {
2247
+ /**
2248
+ *
2249
+ * @type {Array<string>}
2250
+ * @memberof PhoneAttributionApi
2251
+ */
2252
+ 'channels': Array<string>;
2253
+ }
2254
+ /**
2255
+ *
2256
+ * @export
2257
+ * @interface ProviderAddressApi
2258
+ */
2259
+ interface ProviderAddressApi {
2118
2260
  /**
2119
2261
  *
2120
2262
  * @type {string}
2121
- * @memberof PhoneApi
2263
+ * @memberof ProviderAddressApi
2122
2264
  */
2123
2265
  'providerId': string;
2124
2266
  /**
2125
2267
  *
2126
- * @type {string}
2127
- * @memberof PhoneApi
2268
+ * @type {BaseAddressApi}
2269
+ * @memberof ProviderAddressApi
2128
2270
  */
2129
- 'deletedAt'?: string | null;
2271
+ 'address': BaseAddressApi;
2130
2272
  /**
2131
2273
  *
2132
- * @type {boolean}
2133
- * @memberof PhoneApi
2274
+ * @type {string}
2275
+ * @memberof ProviderAddressApi
2134
2276
  */
2135
- 'isPrimary': boolean;
2277
+ 'channelId'?: string | null;
2136
2278
  }
2137
2279
  /**
2138
2280
  *
@@ -2235,14 +2377,24 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi1 {
2235
2377
  * @type {string}
2236
2378
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2237
2379
  */
2238
- 'email': string;
2380
+ 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum;
2239
2381
  /**
2240
2382
  *
2241
- * @type {boolean}
2383
+ * @type {string}
2242
2384
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2243
2385
  */
2244
- 'isPrimary'?: boolean | null;
2386
+ 'fromManagedPhoneId': string;
2387
+ /**
2388
+ *
2389
+ * @type {Array<string>}
2390
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1
2391
+ */
2392
+ 'toContactPhoneIds'?: Array<string> | null;
2245
2393
  }
2394
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum: {
2395
+ readonly Twilio: "TWILIO";
2396
+ };
2397
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum];
2246
2398
  /**
2247
2399
  *
2248
2400
  * @export
@@ -2254,14 +2406,18 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi2 {
2254
2406
  * @type {string}
2255
2407
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2256
2408
  */
2257
- 'phone': string;
2409
+ 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum;
2258
2410
  /**
2259
2411
  *
2260
- * @type {boolean}
2412
+ * @type {Array<string>}
2261
2413
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2
2262
2414
  */
2263
- 'isPrimary'?: boolean | null;
2415
+ 'emailIds'?: Array<string> | null;
2264
2416
  }
2417
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum: {
2418
+ readonly Email: "EMAIL";
2419
+ };
2420
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum];
2265
2421
  /**
2266
2422
  *
2267
2423
  * @export
@@ -2279,13 +2435,7 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi3 {
2279
2435
  * @type {string}
2280
2436
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2281
2437
  */
2282
- 'fromManagedPhoneId': string;
2283
- /**
2284
- *
2285
- * @type {Array<string>}
2286
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi3
2287
- */
2288
- 'toContactPhoneIds'?: Array<string> | null;
2438
+ 'body': string;
2289
2439
  }
2290
2440
  declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum: {
2291
2441
  readonly Twilio: "TWILIO";
@@ -2305,79 +2455,63 @@ interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi4 {
2305
2455
  'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum;
2306
2456
  /**
2307
2457
  *
2308
- * @type {Array<string>}
2458
+ * @type {string}
2309
2459
  * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2310
2460
  */
2311
- 'emailIds'?: Array<string> | null;
2312
- }
2313
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum: {
2314
- readonly Email: "EMAIL";
2315
- };
2316
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum];
2317
- /**
2318
- *
2319
- * @export
2320
- * @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2321
- */
2322
- interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi5 {
2461
+ 'outboundFromManagedEmailId'?: string | null;
2323
2462
  /**
2324
2463
  *
2325
2464
  * @type {string}
2326
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2465
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2327
2466
  */
2328
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum;
2467
+ 'subject': string;
2329
2468
  /**
2330
2469
  *
2331
2470
  * @type {string}
2332
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5
2471
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2333
2472
  */
2334
- 'body': string;
2473
+ 'htmlBody': string | null;
2474
+ /**
2475
+ *
2476
+ * @type {string}
2477
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4
2478
+ */
2479
+ 'plainBody': string | null;
2335
2480
  }
2336
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum: {
2337
- readonly Twilio: "TWILIO";
2481
+ declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum: {
2482
+ readonly Email: "EMAIL";
2338
2483
  };
2339
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum];
2484
+ type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum];
2340
2485
  /**
2341
2486
  *
2342
2487
  * @export
2343
- * @interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2488
+ * @interface SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1
2344
2489
  */
2345
- interface SrcResourceModelsHelperModelsCustomBaseModelCreateApi6 {
2346
- /**
2347
- *
2348
- * @type {string}
2349
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2350
- */
2351
- 'conversationType': SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum;
2490
+ interface SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1 {
2352
2491
  /**
2353
2492
  *
2354
- * @type {string}
2355
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2493
+ * @type {{ [key: string]: EmailAttributionApi; }}
2494
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1
2356
2495
  */
2357
- 'outboundFromManagedEmailId'?: string | null;
2358
- /**
2359
- *
2360
- * @type {string}
2361
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2362
- */
2363
- 'subject': string;
2364
- /**
2365
- *
2366
- * @type {string}
2367
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2368
- */
2369
- 'htmlBody': string | null;
2496
+ 'providers': {
2497
+ [key: string]: EmailAttributionApi;
2498
+ };
2499
+ }
2500
+ /**
2501
+ *
2502
+ * @export
2503
+ * @interface SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2
2504
+ */
2505
+ interface SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2 {
2370
2506
  /**
2371
2507
  *
2372
- * @type {string}
2373
- * @memberof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6
2508
+ * @type {{ [key: string]: PhoneAttributionApi; }}
2509
+ * @memberof SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2
2374
2510
  */
2375
- 'plainBody': string | null;
2511
+ 'providers': {
2512
+ [key: string]: PhoneAttributionApi;
2513
+ };
2376
2514
  }
2377
- declare const SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum: {
2378
- readonly Email: "EMAIL";
2379
- };
2380
- type SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum[keyof typeof SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum];
2381
2515
  /**
2382
2516
  *
2383
2517
  * @export
@@ -2736,6 +2870,14 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
2736
2870
  * @throws {RequiredError}
2737
2871
  */
2738
2872
  emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2873
+ /**
2874
+ * Emails Get
2875
+ * @summary Emails Get
2876
+ * @param {string} emailId
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ emailsGet: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2739
2881
  /**
2740
2882
  * Emails Update
2741
2883
  * @summary Emails Update
@@ -2896,6 +3038,14 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
2896
3038
  * @throws {RequiredError}
2897
3039
  */
2898
3040
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3041
+ /**
3042
+ * Emails Get
3043
+ * @summary Emails Get
3044
+ * @param {string} emailId
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIEmail>>;
2899
3049
  /**
2900
3050
  * Emails Update
2901
3051
  * @summary Emails Update
@@ -3056,6 +3206,14 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
3056
3206
  * @throws {RequiredError}
3057
3207
  */
3058
3208
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3209
+ /**
3210
+ * Emails Get
3211
+ * @summary Emails Get
3212
+ * @param {string} emailId
3213
+ * @param {*} [options] Override http request option.
3214
+ * @throws {RequiredError}
3215
+ */
3216
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIEmail>;
3059
3217
  /**
3060
3218
  * Emails Update
3061
3219
  * @summary Emails Update
@@ -3231,6 +3389,15 @@ declare class ContactsApi extends BaseAPI {
3231
3389
  * @memberof ContactsApi
3232
3390
  */
3233
3391
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
3392
+ /**
3393
+ * Emails Get
3394
+ * @summary Emails Get
3395
+ * @param {string} emailId
3396
+ * @param {*} [options] Override http request option.
3397
+ * @throws {RequiredError}
3398
+ * @memberof ContactsApi
3399
+ */
3400
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIEmail, any>>;
3234
3401
  /**
3235
3402
  * Emails Update
3236
3403
  * @summary Emails Update
@@ -4321,6 +4488,14 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
4321
4488
  * @throws {RequiredError}
4322
4489
  */
4323
4490
  emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4491
+ /**
4492
+ * Emails Get
4493
+ * @summary Emails Get
4494
+ * @param {string} emailId
4495
+ * @param {*} [options] Override http request option.
4496
+ * @throws {RequiredError}
4497
+ */
4498
+ emailsGet: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4324
4499
  /**
4325
4500
  * Emails Update
4326
4501
  * @summary Emails Update
@@ -4658,6 +4833,14 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
4658
4833
  * @throws {RequiredError}
4659
4834
  */
4660
4835
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4836
+ /**
4837
+ * Emails Get
4838
+ * @summary Emails Get
4839
+ * @param {string} emailId
4840
+ * @param {*} [options] Override http request option.
4841
+ * @throws {RequiredError}
4842
+ */
4843
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIEmail>>;
4661
4844
  /**
4662
4845
  * Emails Update
4663
4846
  * @summary Emails Update
@@ -4995,6 +5178,14 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
4995
5178
  * @throws {RequiredError}
4996
5179
  */
4997
5180
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5181
+ /**
5182
+ * Emails Get
5183
+ * @summary Emails Get
5184
+ * @param {string} emailId
5185
+ * @param {*} [options] Override http request option.
5186
+ * @throws {RequiredError}
5187
+ */
5188
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<APIEmail>;
4998
5189
  /**
4999
5190
  * Emails Update
5000
5191
  * @summary Emails Update
@@ -5352,6 +5543,15 @@ declare class UnboundApi extends BaseAPI {
5352
5543
  * @memberof UnboundApi
5353
5544
  */
5354
5545
  emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
5546
+ /**
5547
+ * Emails Get
5548
+ * @summary Emails Get
5549
+ * @param {string} emailId
5550
+ * @param {*} [options] Override http request option.
5551
+ * @throws {RequiredError}
5552
+ * @memberof UnboundApi
5553
+ */
5554
+ emailsGet(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<APIEmail, any>>;
5355
5555
  /**
5356
5556
  * Emails Update
5357
5557
  * @summary Emails Update
@@ -5538,4 +5738,4 @@ declare class UnboundApi extends BaseAPI {
5538
5738
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
5539
5739
  }
5540
5740
 
5541
- export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationCreate, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate, type APIPhoneNumber, type APIPhoneNumberCreate, type APIPhoneNumberUpdate, type APIProviderCreate, type APIProviderUpdate, type APIReservation, type APIValidationError, type APIValidationErrorLocInner, AccountsApi, AccountsApiAxiosParamCreator, AccountsApiFactory, AccountsApiFp, type AddressApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type Conversationtypedata1, type CreateContactListing, type DeleteContactListing, type EmailApi, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type PhoneApi, type ProviderMessageApi, ProviderMessageApiConversationTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsModelConversationSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4, SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi5, SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi6, SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioMessageApi, TwilioMessageApiConversationTypeEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };
5741
+ export { type APIAccount, type APIAddress, type APIAddressCreate, type APIAddressUpdate, type APIContact, type APIContactCreate1, type APIContactCreate2, type APIContactUpdate, type APIConversation, type APIConversationCreate, type APIConversationUpdate, type APIEmail, type APIEmailCreate, type APIEmailUpdate, type APIInquiry, type APIListing, type APIManagedPhoneNumber, type APIMessage, type APIMessageCreate, type APIPhoneNumber, type APIPhoneNumberCreate, type APIPhoneNumberUpdate, type APIProviderCreate, type APIProviderUpdate, type APIReservation, type APIValidationError, type APIValidationErrorLocInner, AccountsApi, AccountsApiAxiosParamCreator, AccountsApiFactory, AccountsApiFp, type AddressApi, type AttributeSourceApi, type AttributionApi, type BaseAddressApi, Configuration, type ConfigurationParameters, ContactListingType, type ContactTypeDataApi, type Contactcreate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, ConversationStatus, ConversationsApi, ConversationsApiAxiosParamCreator, ConversationsApiFactory, ConversationsApiFp, type Conversationtypedata, type Conversationtypedata1, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailAttributionApi, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type LeadDataApi, type ListResponseAPIAccount, type ListResponseAPIInquiry, type ListResponseAPIManagedPhoneNumber, type ListResponseAPIProvider, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, ManagedPhoneNumbersApi, ManagedPhoneNumbersApiAxiosParamCreator, ManagedPhoneNumbersApiFactory, ManagedPhoneNumbersApiFp, MessageDirection, MessageStatus, type Messagetypedata, type Messagetypedata1, type OwnerDataApi, type PaginatedResponseAPIContact, type PaginatedResponseAPIConversation, type PaginatedResponseAPIListing, type PaginatedResponseAPIMessage, type PaginatedResponseAPIReservation, PaginationDirection, type PhoneApi, type PhoneAttributionApi, type ProviderAddressApi, type ProviderMessageApi, ProviderMessageApiConversationTypeEnum, ProvidersApi, ProvidersApiAxiosParamCreator, ProvidersApiFactory, ProvidersApiFp, ReservationChannelTypes, ReservationStatus, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type Sendertypedata, SortOrder, SrcResourceModelsContactsModelContactsModelContactSortBy, SrcResourceModelsConversationsModelConversationsModelConversationSortBy, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi1, SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi2, SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi3, SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelCreateApi4, SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi1, type SrcResourceModelsHelperModelsCustomBaseModelProviderAttributionApi2, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum, type SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2, SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum, SrcResourceModelsListingsModelListingBaseSortBy, SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy, SrcResourceModelsReservationsModelReservationBaseModelSortBy, type TwilioInboundSenderTypeDataApi, TwilioInboundSenderTypeDataApiDirectionEnum, type TwilioMessageApi, TwilioMessageApiConversationTypeEnum, type TwilioOutboundSenderTypeDataApi, TwilioOutboundSenderTypeDataApiDirectionEnum, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };