@epilot/sdk 2.20.62 → 2.20.63

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 (134) hide show
  1. package/definitions/email-settings-runtime.json +1 -1
  2. package/definitions/email-settings.json +98 -36
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/chat.cjs +6 -6
  24. package/dist/apis/chat.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +8 -8
  42. package/dist/apis/email-settings.d.cts +2 -2
  43. package/dist/apis/email-settings.d.ts +2 -2
  44. package/dist/apis/email-settings.js +2 -2
  45. package/dist/apis/email-template.cjs +6 -6
  46. package/dist/apis/email-template.js +1 -1
  47. package/dist/apis/entity-mapping.cjs +6 -6
  48. package/dist/apis/entity-mapping.js +1 -1
  49. package/dist/apis/entity.cjs +6 -6
  50. package/dist/apis/entity.js +1 -1
  51. package/dist/apis/environments.cjs +6 -6
  52. package/dist/apis/environments.js +1 -1
  53. package/dist/apis/event-catalog.cjs +6 -6
  54. package/dist/apis/event-catalog.js +1 -1
  55. package/dist/apis/external-values.cjs +6 -6
  56. package/dist/apis/external-values.js +1 -1
  57. package/dist/apis/file.cjs +6 -6
  58. package/dist/apis/file.js +1 -1
  59. package/dist/apis/iban.cjs +6 -6
  60. package/dist/apis/iban.js +1 -1
  61. package/dist/apis/identity.cjs +6 -6
  62. package/dist/apis/identity.js +1 -1
  63. package/dist/apis/integration-toolkit.cjs +6 -6
  64. package/dist/apis/integration-toolkit.js +1 -1
  65. package/dist/apis/journey.cjs +6 -6
  66. package/dist/apis/journey.js +1 -1
  67. package/dist/apis/kanban.cjs +6 -6
  68. package/dist/apis/kanban.js +1 -1
  69. package/dist/apis/message.cjs +6 -6
  70. package/dist/apis/message.js +1 -1
  71. package/dist/apis/metering.cjs +6 -6
  72. package/dist/apis/metering.js +1 -1
  73. package/dist/apis/notes.cjs +6 -6
  74. package/dist/apis/notes.js +1 -1
  75. package/dist/apis/notification.cjs +6 -6
  76. package/dist/apis/notification.js +1 -1
  77. package/dist/apis/organization.cjs +6 -6
  78. package/dist/apis/organization.js +1 -1
  79. package/dist/apis/partner-directory.cjs +6 -6
  80. package/dist/apis/partner-directory.js +1 -1
  81. package/dist/apis/permissions.cjs +6 -6
  82. package/dist/apis/permissions.js +1 -1
  83. package/dist/apis/phone-integration.cjs +6 -6
  84. package/dist/apis/phone-integration.js +1 -1
  85. package/dist/apis/pricing-tier.cjs +6 -6
  86. package/dist/apis/pricing-tier.js +1 -1
  87. package/dist/apis/pricing.cjs +6 -6
  88. package/dist/apis/pricing.js +1 -1
  89. package/dist/apis/purpose.cjs +6 -6
  90. package/dist/apis/purpose.js +1 -1
  91. package/dist/apis/query.cjs +6 -6
  92. package/dist/apis/query.js +1 -1
  93. package/dist/apis/sandbox.cjs +6 -6
  94. package/dist/apis/sandbox.js +1 -1
  95. package/dist/apis/sharing.cjs +6 -6
  96. package/dist/apis/sharing.js +1 -1
  97. package/dist/apis/snapshot.cjs +6 -6
  98. package/dist/apis/snapshot.js +1 -1
  99. package/dist/apis/submission.cjs +6 -6
  100. package/dist/apis/submission.js +1 -1
  101. package/dist/apis/target.cjs +6 -6
  102. package/dist/apis/target.js +1 -1
  103. package/dist/apis/targeting.cjs +6 -6
  104. package/dist/apis/targeting.js +1 -1
  105. package/dist/apis/template-variables.cjs +6 -6
  106. package/dist/apis/template-variables.js +1 -1
  107. package/dist/apis/user.cjs +6 -6
  108. package/dist/apis/user.js +1 -1
  109. package/dist/apis/validation-rules.cjs +6 -6
  110. package/dist/apis/validation-rules.js +1 -1
  111. package/dist/apis/webhooks.cjs +6 -6
  112. package/dist/apis/webhooks.js +1 -1
  113. package/dist/apis/workflow-definition.cjs +6 -6
  114. package/dist/apis/workflow-definition.js +1 -1
  115. package/dist/apis/workflow.cjs +6 -6
  116. package/dist/apis/workflow.js +1 -1
  117. package/dist/{chunk-7HQ3GMYQ.js → chunk-2R4YLMDG.js} +1 -1
  118. package/dist/{chunk-4EH2X5J6.cjs → chunk-FUF6LZXH.cjs} +2 -2
  119. package/dist/{chunk-ZM6WXMH3.js → chunk-SYTRHMOU.js} +2 -2
  120. package/dist/{chunk-AWJHA3GG.cjs → chunk-YDFQ3LWN.cjs} +1 -1
  121. package/dist/email-settings-42GUPANV.js +7 -0
  122. package/dist/email-settings-FCKYGFHW.cjs +7 -0
  123. package/dist/{email-settings-runtime-IW2AT2RB.cjs → email-settings-runtime-6ISOWOVN.cjs} +2 -2
  124. package/dist/{email-settings-runtime-YJYEC5AH.js → email-settings-runtime-7V5AFW3C.js} +1 -1
  125. package/dist/{email-settings.d-DX_nzlZk.d.cts → email-settings.d-dCUXyPAZ.d.cts} +131 -26
  126. package/dist/{email-settings.d-DX_nzlZk.d.ts → email-settings.d-dCUXyPAZ.d.ts} +131 -26
  127. package/dist/index.cjs +10 -10
  128. package/dist/index.d.cts +1 -1
  129. package/dist/index.d.ts +1 -1
  130. package/dist/index.js +2 -2
  131. package/docs/email-settings.md +49 -25
  132. package/package.json +1 -1
  133. package/dist/email-settings-DGZKA6CU.js +0 -7
  134. package/dist/email-settings-VGU7323R.cjs +0 -7
@@ -28,12 +28,23 @@ declare namespace Components {
28
28
  }
29
29
  export type NotFound = /* Standard error response format for all API errors. */ Schemas.ErrorResponse;
30
30
  export type OutlookErrorResponse = Schemas.OutlookConnectionError;
31
+ export type PricingTierRequired = /* Standard error response format for all API errors. */ Schemas.ErrorResponse;
31
32
  export type ProvisionEpilotEmailAddressSuccessResponse = /* Email address configuration with all associated metadata. */ Schemas.EmailAddressResponse;
32
33
  export type SetEmailAddressPrimarySuccessResponse = /* Email address configuration with all associated metadata. */ Schemas.EmailAddressResponse;
33
34
  export type UpdateEmailAddressSuccessResponse = /* Email address configuration with all associated metadata. */ Schemas.EmailAddressResponse;
34
35
  export type UpdateSharedInboxSuccessResponse = /* Shared inbox configuration with all associated metadata. */ Schemas.SharedInboxResponse;
35
36
  }
36
37
  namespace Schemas {
38
+ /**
39
+ * - Extra recipient domain allowed for outbound email from a sandbox organization.
40
+ * - Sandbox orgs (organization_use) with the sandbox recipient allowlist enabled may only
41
+ * send unattended emails (workflow/automation/bulk/system) to epilot domains, the
42
+ * verified sending domains of the org and its parent production org, plus the domains
43
+ * listed in settings of this type.
44
+ * - One setting per domain, stored in `value` (e.g. "partner-company.de").
45
+ *
46
+ */
47
+ export type AllowedRecipientDomainsSetting = "allowed_recipient_domains";
37
48
  export interface CalendarAdminConsentStatus {
38
49
  /**
39
50
  * True when the tenant admin has consented to epilot's Microsoft 365
@@ -418,7 +429,13 @@ declare namespace Components {
418
429
  export interface MailboxSyncStatus {
419
430
  execution_id: string;
420
431
  status: MailboxSyncStatuses;
421
- timeframe: MailboxSyncTimeframePeriods;
432
+ timeframe: /**
433
+ * Mailbox sync period. The long timeframes `3m`, `6m` and `1y` are only available to organizations
434
+ * with the `outlook-mailbox-sync-long-timeframes` feature enabled; connecting a mailbox, starting a sync,
435
+ * or retrying one of these syncs returns 403 otherwise.
436
+ *
437
+ */
438
+ MailboxSyncTimeframePeriods;
422
439
  started_at: string; // date-time
423
440
  completed_at?: string; // date-time
424
441
  inbox?: {
@@ -435,6 +452,12 @@ declare namespace Components {
435
452
  };
436
453
  }
437
454
  export type MailboxSyncStatuses = "RUNNING" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "FAILED" | "CANCELLED";
455
+ /**
456
+ * Mailbox sync period. The long timeframes `3m`, `6m` and `1y` are only available to organizations
457
+ * with the `outlook-mailbox-sync-long-timeframes` feature enabled; connecting a mailbox, starting a sync,
458
+ * or retrying one of these syncs returns 403 otherwise.
459
+ *
460
+ */
438
461
  export type MailboxSyncTimeframePeriods = "5m" | "1w" | "2w" | "1m" | "3m" | "6m" | "1y";
439
462
  /**
440
463
  * Per-user calendar connection metadata, or null when the caller has
@@ -589,6 +612,7 @@ declare namespace Components {
589
612
  * - **email_domain**: Uses `value` (domain name)
590
613
  * - **whitelist_email_address**: Uses `value` (email address)
591
614
  * - **restrict_duplicates_within**: Uses `value` (time duration)
615
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
592
616
  *
593
617
  */
594
618
  export interface Setting {
@@ -707,7 +731,16 @@ declare namespace Components {
707
731
  * - Cannot have multiple values
708
732
  *
709
733
  */
710
- RestrictDuplicatesWithinSetting;
734
+ RestrictDuplicatesWithinSetting | /**
735
+ * - Extra recipient domain allowed for outbound email from a sandbox organization.
736
+ * - Sandbox orgs (organization_use) with the sandbox recipient allowlist enabled may only
737
+ * send unattended emails (workflow/automation/bulk/system) to epilot domains, the
738
+ * verified sending domains of the org and its parent production org, plus the domains
739
+ * listed in settings of this type.
740
+ * - One setting per domain, stored in `value` (e.g. "partner-company.de").
741
+ *
742
+ */
743
+ AllowedRecipientDomainsSetting;
711
744
  export type SettingsResponse = /**
712
745
  * Generic setting object used for various email configuration types.
713
746
  * The applicable fields depend on the setting type:
@@ -715,6 +748,7 @@ declare namespace Components {
715
748
  * - **email_domain**: Uses `value` (domain name)
716
749
  * - **whitelist_email_address**: Uses `value` (email address)
717
750
  * - **restrict_duplicates_within**: Uses `value` (time duration)
751
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
718
752
  *
719
753
  */
720
754
  Setting[] | /**
@@ -724,6 +758,7 @@ declare namespace Components {
724
758
  * - **email_domain**: Uses `value` (domain name)
725
759
  * - **whitelist_email_address**: Uses `value` (email address)
726
760
  * - **restrict_duplicates_within**: Uses `value` (time duration)
761
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
727
762
  *
728
763
  */
729
764
  Setting;
@@ -1017,6 +1052,7 @@ declare namespace Paths {
1017
1052
  * - **email_domain**: Uses `value` (domain name)
1018
1053
  * - **whitelist_email_address**: Uses `value` (email address)
1019
1054
  * - **restrict_duplicates_within**: Uses `value` (time duration)
1055
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
1020
1056
  *
1021
1057
  */
1022
1058
  Components.Schemas.Setting;
@@ -1036,16 +1072,34 @@ declare namespace Paths {
1036
1072
  export type $500 = Components.Responses.InternalServerError;
1037
1073
  }
1038
1074
  }
1075
+ namespace CancelMailboxSync {
1076
+ namespace Parameters {
1077
+ export type Email = string; // email
1078
+ }
1079
+ export interface PathParameters {
1080
+ email: Parameters.Email /* email */;
1081
+ }
1082
+ namespace Responses {
1083
+ export interface $200 {
1084
+ /**
1085
+ * Execution ID of the stopped sync
1086
+ */
1087
+ execution_id: string;
1088
+ status: Components.Schemas.MailboxSyncStatuses;
1089
+ }
1090
+ export interface $404 {
1091
+ }
1092
+ export interface $500 {
1093
+ }
1094
+ }
1095
+ }
1039
1096
  namespace ConnectMsTeams {
1040
1097
  namespace Responses {
1041
1098
  export interface $200 {
1042
1099
  connected?: boolean;
1043
1100
  connected_at?: string; // date-time
1044
1101
  }
1045
- export interface $400 {
1046
- error?: string;
1047
- message?: string;
1048
- }
1102
+ export type $403 = Components.Responses.PricingTierRequired;
1049
1103
  }
1050
1104
  }
1051
1105
  namespace ConnectOutlook {
@@ -1093,6 +1147,8 @@ declare namespace Paths {
1093
1147
  /**
1094
1148
  * Optional timeframe for initial mailbox sync. When provided, triggers an automatic
1095
1149
  * mailbox sync after connecting the mailbox, syncing emails from the specified period.
1150
+ * `3m`, `6m` and `1y` require the `outlook-mailbox-sync-long-timeframes` feature for the
1151
+ * organization; the request is rejected with 403 before anything is connected otherwise.
1096
1152
  *
1097
1153
  */
1098
1154
  mailboxSyncTimeframe?: "5m" | "1w" | "2w" | "1m" | "3m" | "6m" | "1y";
@@ -1199,16 +1255,8 @@ declare namespace Paths {
1199
1255
  id: string;
1200
1256
  }
1201
1257
  namespace Responses {
1202
- export type $200 = /**
1203
- * Generic setting object used for various email configuration types.
1204
- * The applicable fields depend on the setting type:
1205
- * - **signature**: Uses `name`, `value` (plain text), and `html` (rich text)
1206
- * - **email_domain**: Uses `value` (domain name)
1207
- * - **whitelist_email_address**: Uses `value` (email address)
1208
- * - **restrict_duplicates_within**: Uses `value` (time duration)
1209
- *
1210
- */
1211
- Components.Schemas.Setting;
1258
+ export interface $204 {
1259
+ }
1212
1260
  export type $403 = Components.Responses.Forbidden;
1213
1261
  export type $404 = Components.Responses.NotFound;
1214
1262
  }
@@ -1595,6 +1643,7 @@ declare namespace Paths {
1595
1643
  */
1596
1644
  messages_queued: number;
1597
1645
  }
1646
+ export type $403 = Components.Responses.PricingTierRequired;
1598
1647
  export interface $404 {
1599
1648
  }
1600
1649
  export interface $409 {
@@ -1641,10 +1690,17 @@ declare namespace Paths {
1641
1690
  */
1642
1691
  execution_id: string;
1643
1692
  status: Components.Schemas.MailboxSyncStatuses;
1644
- timeframe: Components.Schemas.MailboxSyncTimeframePeriods;
1693
+ timeframe: /**
1694
+ * Mailbox sync period. The long timeframes `3m`, `6m` and `1y` are only available to organizations
1695
+ * with the `outlook-mailbox-sync-long-timeframes` feature enabled; connecting a mailbox, starting a sync,
1696
+ * or retrying one of these syncs returns 403 otherwise.
1697
+ *
1698
+ */
1699
+ Components.Schemas.MailboxSyncTimeframePeriods;
1645
1700
  }
1646
1701
  export interface $400 {
1647
1702
  }
1703
+ export type $403 = Components.Responses.PricingTierRequired;
1648
1704
  export interface $404 {
1649
1705
  }
1650
1706
  export interface $409 {
@@ -1696,6 +1752,7 @@ declare namespace Paths {
1696
1752
  * - **email_domain**: Uses `value` (domain name)
1697
1753
  * - **whitelist_email_address**: Uses `value` (email address)
1698
1754
  * - **restrict_duplicates_within**: Uses `value` (time duration)
1755
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
1699
1756
  *
1700
1757
  */
1701
1758
  Components.Schemas.Setting;
@@ -1707,6 +1764,7 @@ declare namespace Paths {
1707
1764
  * - **email_domain**: Uses `value` (domain name)
1708
1765
  * - **whitelist_email_address**: Uses `value` (email address)
1709
1766
  * - **restrict_duplicates_within**: Uses `value` (time duration)
1767
+ * - **allowed_recipient_domains**: Uses `value` (recipient domain allowed for sandbox sends)
1710
1768
  *
1711
1769
  */
1712
1770
  Components.Schemas.Setting;
@@ -1960,8 +2018,8 @@ interface OperationMethods {
1960
2018
  *
1961
2019
  * Retrieves all shared inboxes configured for the organization.
1962
2020
  *
1963
- * **Note**: The default inbox (with ID `default`) is not included in this list but is
1964
- * always available for all organizations. You do not need to create it explicitly.
2021
+ * **Note**: The list always includes the default inbox (ID `default`, `bucket_id` `default`).
2022
+ * It is provisioned for the organization on first access, so you never need to create it.
1965
2023
  *
1966
2024
  */
1967
2025
  'listSharedInboxes'(
@@ -2011,6 +2069,10 @@ interface OperationMethods {
2011
2069
  * and `calendar` added) triggers Microsoft's incremental-consent flow —
2012
2070
  * the user only sees a consent prompt for the new scopes.
2013
2071
  *
2072
+ * Requires the Professional pricing tier or higher, except when reconnecting an
2073
+ * existing connection (the org's connection, or the user's own calendar) for
2074
+ * features it already has.
2075
+ *
2014
2076
  */
2015
2077
  'connectOutlook'(
2016
2078
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -2096,7 +2158,9 @@ interface OperationMethods {
2096
2158
  * connectMsTeams - connectMsTeams
2097
2159
  *
2098
2160
  * Connects Microsoft Teams channel (click-to-call deep links, meetings) for the organization.
2099
- * Requires an active Microsoft 365 / Outlook connection.
2161
+ * Independent of the Microsoft 365 / Outlook connection.
2162
+ *
2163
+ * Requires the Professional pricing tier or higher.
2100
2164
  *
2101
2165
  */
2102
2166
  'connectMsTeams'(
@@ -2190,6 +2254,18 @@ interface OperationMethods {
2190
2254
  data?: Paths.RetryMailboxSync.RequestBody,
2191
2255
  config?: AxiosRequestConfig
2192
2256
  ): OperationResponse<Paths.RetryMailboxSync.Responses.$202>
2257
+ /**
2258
+ * cancelMailboxSync - Stop Mailbox Sync
2259
+ *
2260
+ * Stops the running sync of an Outlook mailbox and marks it CANCELLED.
2261
+ * Emails imported before the stop are kept; a new sync can be started afterwards.
2262
+ *
2263
+ */
2264
+ 'cancelMailboxSync'(
2265
+ parameters?: Parameters<Paths.CancelMailboxSync.PathParameters> | null,
2266
+ data?: any,
2267
+ config?: AxiosRequestConfig
2268
+ ): OperationResponse<Paths.CancelMailboxSync.Responses.$200>
2193
2269
  /**
2194
2270
  * getConnectedOutlookEmails - getConnectedOutlookEmails
2195
2271
  *
@@ -2335,6 +2411,7 @@ interface OperationMethods {
2335
2411
  * | `email_address` | Sender email addresses |
2336
2412
  * | `whitelist_email_address` | Addresses exempt from duplicate detection |
2337
2413
  * | `restrict_duplicates_within` | Time window for duplicate email detection |
2414
+ * | `allowed_recipient_domains` | Extra recipient domains allowed for sandbox org sends |
2338
2415
  *
2339
2416
  */
2340
2417
  'getSettings'(
@@ -2352,6 +2429,7 @@ interface OperationMethods {
2352
2429
  * - **email_domain**: Requires `value` (domain name)
2353
2430
  * - **whitelist_email_address**: Requires `value` (email address)
2354
2431
  * - **restrict_duplicates_within**: Requires `value` (time duration like "5m", "1d")
2432
+ * - **allowed_recipient_domains**: Requires `value` (recipient domain, e.g. "partner-company.de")
2355
2433
  *
2356
2434
  */
2357
2435
  'addSetting'(
@@ -2373,7 +2451,7 @@ interface OperationMethods {
2373
2451
  parameters?: Parameters<UnknownParamsObject> | null,
2374
2452
  data?: Paths.DeleteSetting.RequestBody,
2375
2453
  config?: AxiosRequestConfig
2376
- ): OperationResponse<Paths.DeleteSetting.Responses.$200>
2454
+ ): OperationResponse<Paths.DeleteSetting.Responses.$204>
2377
2455
  /**
2378
2456
  * updateSetting - updateSetting
2379
2457
  *
@@ -2382,6 +2460,8 @@ interface OperationMethods {
2382
2460
  * Include the `type` field in the request body to specify which setting type
2383
2461
  * is being updated. Only the fields provided will be updated.
2384
2462
  *
2463
+ * Returns 404 if no setting of that type exists with the given ID.
2464
+ *
2385
2465
  */
2386
2466
  'updateSetting'(
2387
2467
  parameters?: Parameters<Paths.UpdateSetting.PathParameters> | null,
@@ -2654,8 +2734,8 @@ interface PathsDictionary {
2654
2734
  *
2655
2735
  * Retrieves all shared inboxes configured for the organization.
2656
2736
  *
2657
- * **Note**: The default inbox (with ID `default`) is not included in this list but is
2658
- * always available for all organizations. You do not need to create it explicitly.
2737
+ * **Note**: The list always includes the default inbox (ID `default`, `bucket_id` `default`).
2738
+ * It is provisioned for the organization on first access, so you never need to create it.
2659
2739
  *
2660
2740
  */
2661
2741
  'get'(
@@ -2709,6 +2789,10 @@ interface PathsDictionary {
2709
2789
  * and `calendar` added) triggers Microsoft's incremental-consent flow —
2710
2790
  * the user only sees a consent prompt for the new scopes.
2711
2791
  *
2792
+ * Requires the Professional pricing tier or higher, except when reconnecting an
2793
+ * existing connection (the org's connection, or the user's own calendar) for
2794
+ * features it already has.
2795
+ *
2712
2796
  */
2713
2797
  'post'(
2714
2798
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -2804,7 +2888,9 @@ interface PathsDictionary {
2804
2888
  * connectMsTeams - connectMsTeams
2805
2889
  *
2806
2890
  * Connects Microsoft Teams channel (click-to-call deep links, meetings) for the organization.
2807
- * Requires an active Microsoft 365 / Outlook connection.
2891
+ * Independent of the Microsoft 365 / Outlook connection.
2892
+ *
2893
+ * Requires the Professional pricing tier or higher.
2808
2894
  *
2809
2895
  */
2810
2896
  'post'(
@@ -2913,6 +2999,20 @@ interface PathsDictionary {
2913
2999
  config?: AxiosRequestConfig
2914
3000
  ): OperationResponse<Paths.RetryMailboxSync.Responses.$202>
2915
3001
  }
3002
+ ['/v2/outlook/mailbox/{email}/sync/cancel']: {
3003
+ /**
3004
+ * cancelMailboxSync - Stop Mailbox Sync
3005
+ *
3006
+ * Stops the running sync of an Outlook mailbox and marks it CANCELLED.
3007
+ * Emails imported before the stop are kept; a new sync can be started afterwards.
3008
+ *
3009
+ */
3010
+ 'post'(
3011
+ parameters?: Parameters<Paths.CancelMailboxSync.PathParameters> | null,
3012
+ data?: any,
3013
+ config?: AxiosRequestConfig
3014
+ ): OperationResponse<Paths.CancelMailboxSync.Responses.$200>
3015
+ }
2916
3016
  ['/v2/outlook/mailbox/mappings']: {
2917
3017
  /**
2918
3018
  * getConnectedOutlookEmails - getConnectedOutlookEmails
@@ -3073,6 +3173,7 @@ interface PathsDictionary {
3073
3173
  * | `email_address` | Sender email addresses |
3074
3174
  * | `whitelist_email_address` | Addresses exempt from duplicate detection |
3075
3175
  * | `restrict_duplicates_within` | Time window for duplicate email detection |
3176
+ * | `allowed_recipient_domains` | Extra recipient domains allowed for sandbox org sends |
3076
3177
  *
3077
3178
  */
3078
3179
  'get'(
@@ -3090,6 +3191,7 @@ interface PathsDictionary {
3090
3191
  * - **email_domain**: Requires `value` (domain name)
3091
3192
  * - **whitelist_email_address**: Requires `value` (email address)
3092
3193
  * - **restrict_duplicates_within**: Requires `value` (time duration like "5m", "1d")
3194
+ * - **allowed_recipient_domains**: Requires `value` (recipient domain, e.g. "partner-company.de")
3093
3195
  *
3094
3196
  */
3095
3197
  'post'(
@@ -3111,7 +3213,7 @@ interface PathsDictionary {
3111
3213
  parameters?: Parameters<UnknownParamsObject> | null,
3112
3214
  data?: Paths.DeleteSetting.RequestBody,
3113
3215
  config?: AxiosRequestConfig
3114
- ): OperationResponse<Paths.DeleteSetting.Responses.$200>
3216
+ ): OperationResponse<Paths.DeleteSetting.Responses.$204>
3115
3217
  }
3116
3218
  ['/v1/email-settings/{id}']: {
3117
3219
  /**
@@ -3122,6 +3224,8 @@ interface PathsDictionary {
3122
3224
  * Include the `type` field in the request body to specify which setting type
3123
3225
  * is being updated. Only the fields provided will be updated.
3124
3226
  *
3227
+ * Returns 404 if no setting of that type exists with the given ID.
3228
+ *
3125
3229
  */
3126
3230
  'post'(
3127
3231
  parameters?: Parameters<Paths.UpdateSetting.PathParameters> | null,
@@ -3239,6 +3343,7 @@ interface PathsDictionary {
3239
3343
  type Client = OpenAPIClient<OperationMethods, PathsDictionary>
3240
3344
 
3241
3345
 
3346
+ type AllowedRecipientDomainsSetting = Components.Schemas.AllowedRecipientDomainsSetting;
3242
3347
  type CalendarAdminConsentStatus = Components.Schemas.CalendarAdminConsentStatus;
3243
3348
  type CalendarConnectionInfo = Components.Schemas.CalendarConnectionInfo;
3244
3349
  type ConnectOutlookRequest = Components.Schemas.ConnectOutlookRequest;
@@ -3277,4 +3382,4 @@ type UpdateSharedInboxPayload = Components.Schemas.UpdateSharedInboxPayload;
3277
3382
  type UpdateSmtpConnectionRequest = Components.Schemas.UpdateSmtpConnectionRequest;
3278
3383
  type WhitelistEmailAddressSetting = Components.Schemas.WhitelistEmailAddressSetting;
3279
3384
 
3280
- export { type SmtpConnection as A, type SmtpSender as B, type Client as C, type Domain as D, type EmailAddressResponse as E, type SmtpTestResult as F, type UpdateSharedInboxPayload as G, type UpdateSmtpConnectionRequest as H, type InboxBucketResponse as I, type MailboxSyncFolderStatuses as M, type OperationMethods as O, Paths as P, type RestrictDuplicatesWithinSetting as R, type SetEmailAddressPrimaryPayload as S, type UpdateEmailAddressPayload as U, type WhitelistEmailAddressSetting as W, Components as a, type PathsDictionary as b, type CalendarAdminConsentStatus as c, type CalendarConnectionInfo as d, type ConnectOutlookRequest as e, type ConnectSmtpSenderRequest as f, type ConnectedOutlookEmail as g, type CreateEmailAddressPayload as h, type CreateSharedInboxPayload as i, type CreateSmtpConnectionRequest as j, type EmailAddressSetting as k, type EmailDomainSetting as l, type ErrorResponse as m, type MailboxSyncStatus as n, type MailboxSyncStatuses as o, type MailboxSyncTimeframePeriods as p, type MyCalendarConnectionResponse as q, type OutlookConnectionError as r, type OutlookConnectionStatus as s, type ProvisionEpilotEmailAddressPayload as t, type Setting as u, type SettingMeta as v, type SettingType as w, type SettingsResponse as x, type SharedInboxResponse as y, type SignatureSetting as z };
3385
+ export { type AllowedRecipientDomainsSetting as A, type SmtpConnection as B, type Client as C, type Domain as D, type EmailAddressResponse as E, type SmtpSender as F, type SmtpTestResult as G, type UpdateSharedInboxPayload as H, type InboxBucketResponse as I, type UpdateSmtpConnectionRequest as J, type MailboxSyncFolderStatuses as M, type OperationMethods as O, Paths as P, type RestrictDuplicatesWithinSetting as R, type SetEmailAddressPrimaryPayload as S, type UpdateEmailAddressPayload as U, type WhitelistEmailAddressSetting as W, Components as a, type PathsDictionary as b, type CalendarAdminConsentStatus as c, type CalendarConnectionInfo as d, type ConnectOutlookRequest as e, type ConnectSmtpSenderRequest as f, type ConnectedOutlookEmail as g, type CreateEmailAddressPayload as h, type CreateSharedInboxPayload as i, type CreateSmtpConnectionRequest as j, type EmailAddressSetting as k, type EmailDomainSetting as l, type ErrorResponse as m, type MailboxSyncStatus as n, type MailboxSyncStatuses as o, type MailboxSyncTimeframePeriods as p, type MyCalendarConnectionResponse as q, type OutlookConnectionError as r, type OutlookConnectionStatus as s, type ProvisionEpilotEmailAddressPayload as t, type Setting as u, type SettingMeta as v, type SettingType as w, type SettingsResponse as x, type SharedInboxResponse as y, type SignatureSetting as z };