pingram 1.0.42 → 1.0.43-alpha.1742

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 (173) hide show
  1. package/dist/generated/src/apis/AccountApi.d.ts +65 -26
  2. package/dist/generated/src/apis/AccountApi.js +26 -0
  3. package/dist/generated/src/apis/AccountsApi.d.ts +35 -3
  4. package/dist/generated/src/apis/AccountsApi.js +63 -0
  5. package/dist/generated/src/apis/BroadcastsApi.d.ts +70 -28
  6. package/dist/generated/src/apis/BroadcastsApi.js +28 -0
  7. package/dist/generated/src/apis/DefaultApi.d.ts +5 -2
  8. package/dist/generated/src/apis/DefaultApi.js +2 -0
  9. package/dist/generated/src/apis/DomainsApi.d.ts +26 -14
  10. package/dist/generated/src/apis/DomainsApi.js +12 -4
  11. package/dist/generated/src/apis/EditorApi.d.ts +5 -2
  12. package/dist/generated/src/apis/EditorApi.js +2 -0
  13. package/dist/generated/src/apis/EmailApi.d.ts +10 -4
  14. package/dist/generated/src/apis/EmailApi.js +4 -0
  15. package/dist/generated/src/apis/EnvironmentsApi.d.ts +5 -2
  16. package/dist/generated/src/apis/EnvironmentsApi.js +2 -0
  17. package/dist/generated/src/apis/HealthApi.d.ts +5 -2
  18. package/dist/generated/src/apis/HealthApi.js +2 -0
  19. package/dist/generated/src/apis/LibraryApi.d.ts +10 -4
  20. package/dist/generated/src/apis/LibraryApi.js +4 -0
  21. package/dist/generated/src/apis/LogsApi.d.ts +30 -12
  22. package/dist/generated/src/apis/LogsApi.js +12 -0
  23. package/dist/generated/src/apis/MembersApi.d.ts +5 -2
  24. package/dist/generated/src/apis/MembersApi.js +2 -0
  25. package/dist/generated/src/apis/NumbersApi.d.ts +25 -10
  26. package/dist/generated/src/apis/NumbersApi.js +10 -0
  27. package/dist/generated/src/apis/RegistrationsApi.d.ts +25 -10
  28. package/dist/generated/src/apis/RegistrationsApi.js +10 -0
  29. package/dist/generated/src/apis/SenderApi.d.ts +5 -2
  30. package/dist/generated/src/apis/SenderApi.js +2 -0
  31. package/dist/generated/src/apis/SmsApi.d.ts +5 -2
  32. package/dist/generated/src/apis/SmsApi.js +2 -0
  33. package/dist/generated/src/apis/SubNotificationsApi.d.ts +10 -4
  34. package/dist/generated/src/apis/SubNotificationsApi.js +4 -0
  35. package/dist/generated/src/apis/UserApi.d.ts +15 -6
  36. package/dist/generated/src/apis/UserApi.js +6 -0
  37. package/dist/generated/src/apis/UsersApi.d.ts +5 -2
  38. package/dist/generated/src/apis/UsersApi.js +2 -0
  39. package/dist/generated/src/apis/VoiceApi.d.ts +47 -9
  40. package/dist/generated/src/apis/VoiceApi.js +67 -0
  41. package/dist/generated/src/apis/WebhooksApi.d.ts +20 -8
  42. package/dist/generated/src/apis/WebhooksApi.js +8 -0
  43. package/dist/generated/src/apis/index.d.ts +2 -2
  44. package/dist/generated/src/models/AccountPaymentMethods.js +3 -1
  45. package/dist/generated/src/models/AccountSummary.d.ts +79 -0
  46. package/dist/generated/src/models/AccountSummary.js +84 -0
  47. package/dist/generated/src/models/Agent.d.ts +7 -0
  48. package/dist/generated/src/models/Agent.js +3 -0
  49. package/dist/generated/src/models/Agent1.d.ts +7 -0
  50. package/dist/generated/src/models/Agent1.js +3 -0
  51. package/dist/generated/src/models/AgentAgentModel.d.ts +3 -1
  52. package/dist/generated/src/models/AgentAgentModel.js +14 -0
  53. package/dist/generated/src/models/ArmVoiceInboundClaimRequestInbound.d.ts +3 -1
  54. package/dist/generated/src/models/ArmVoiceInboundClaimRequestInbound.js +14 -0
  55. package/dist/generated/src/models/BrandWebhookResponse.d.ts +1 -1
  56. package/dist/generated/src/models/CampaignWebhookResponse.d.ts +1 -1
  57. package/dist/generated/src/models/CheckDomainDnsRequest.d.ts +32 -0
  58. package/dist/generated/src/models/CheckDomainDnsRequest.js +48 -0
  59. package/dist/generated/src/models/DomainDnsCheck.js +3 -1
  60. package/dist/generated/src/models/DomainDnsCheckRecordsInner.d.ts +1 -0
  61. package/dist/generated/src/models/DomainDnsCheckRecordsInner.js +2 -1
  62. package/dist/generated/src/models/Elevenlabs.d.ts +53 -0
  63. package/dist/generated/src/models/Elevenlabs.js +67 -0
  64. package/dist/generated/src/models/Elevenlabs1.d.ts +53 -0
  65. package/dist/generated/src/models/Elevenlabs1.js +67 -0
  66. package/dist/generated/src/models/ElevenlabsElevenRealtimeV1Max.d.ts +119 -0
  67. package/dist/generated/src/models/ElevenlabsElevenRealtimeV1Max.js +121 -0
  68. package/dist/generated/src/models/ElevenlabsElevenRealtimeV1Mini.d.ts +119 -0
  69. package/dist/generated/src/models/ElevenlabsElevenRealtimeV1Mini.js +121 -0
  70. package/dist/generated/src/models/EmailComponentResponse.js +3 -1
  71. package/dist/generated/src/models/Environment.js +3 -1
  72. package/dist/generated/src/models/GetEmailComponentsResponseInner.js +3 -1
  73. package/dist/generated/src/models/GetEnvironmentsResponseInner.js +3 -1
  74. package/dist/generated/src/models/GetInappNotificationsResponse.js +3 -1
  75. package/dist/generated/src/models/GetKeysResponse.js +3 -1
  76. package/dist/generated/src/models/GetLogsResponse.js +3 -1
  77. package/dist/generated/src/models/GetNotificationsResponseInner.js +3 -1
  78. package/dist/generated/src/models/GetSendersResponseInner.d.ts +46 -0
  79. package/dist/generated/src/models/GetSendersResponseInner.js +33 -3
  80. package/dist/generated/src/models/GetSendersResponseInnerVerificationRecords.d.ts +6 -0
  81. package/dist/generated/src/models/GetSendersResponseInnerVerificationRecords.js +6 -2
  82. package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.d.ts +1 -0
  83. package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.js +2 -1
  84. package/dist/generated/src/models/GetUsageHistoryResponse.js +3 -1
  85. package/dist/generated/src/models/GetUsersResponse.js +3 -1
  86. package/dist/generated/src/models/GetVoiceCallResponseCall.d.ts +19 -0
  87. package/dist/generated/src/models/GetVoiceCallResponseCall.js +12 -1
  88. package/dist/generated/src/models/GetVoiceCallResponseCallCost.js +3 -1
  89. package/dist/generated/src/models/GetVoiceCallResponseCallSetup.d.ts +80 -0
  90. package/dist/generated/src/models/GetVoiceCallResponseCallSetup.js +82 -0
  91. package/dist/generated/src/models/GetVoiceCallResponseCallSetupStream.d.ts +46 -0
  92. package/dist/generated/src/models/GetVoiceCallResponseCallSetupStream.js +58 -0
  93. package/dist/generated/src/models/GetVoiceCallResponseCallSetupTranscript.d.ts +26 -0
  94. package/dist/generated/src/models/GetVoiceCallResponseCallSetupTranscript.js +52 -0
  95. package/dist/generated/src/models/GoogleGemini31FlashLivePreview.d.ts +16 -0
  96. package/dist/generated/src/models/GoogleGemini31FlashLivePreview.js +12 -1
  97. package/dist/generated/src/models/InboundConfig.d.ts +3 -1
  98. package/dist/generated/src/models/InboundConfig.js +14 -0
  99. package/dist/generated/src/models/InboundResponseBody.js +3 -1
  100. package/dist/generated/src/models/IngishtsPostRequest.js +3 -1
  101. package/dist/generated/src/models/IntercomWebhook.d.ts +1 -1
  102. package/dist/generated/src/models/IntercomWebhookDataItemAnyOfContacts.js +3 -1
  103. package/dist/generated/src/models/InternalTransferBody.d.ts +69 -0
  104. package/dist/generated/src/models/InternalTransferBody.js +71 -0
  105. package/dist/generated/src/models/InternalTransferBodyAgentMetersInner.d.ts +90 -0
  106. package/dist/generated/src/models/InternalTransferBodyAgentMetersInner.js +84 -0
  107. package/dist/generated/src/models/Knowledge.js +3 -1
  108. package/dist/generated/src/models/ListAccountsResponse.js +3 -1
  109. package/dist/generated/src/models/ListBroadcastRecipientsResponse.js +3 -1
  110. package/dist/generated/src/models/ListBroadcastsResponse.js +3 -1
  111. package/dist/generated/src/models/ListInvoicesResponse.js +3 -1
  112. package/dist/generated/src/models/ListLibraryResponse.js +3 -1
  113. package/dist/generated/src/models/ListPersonalAccessTokensResponse.js +3 -1
  114. package/dist/generated/src/models/ListPhoneNumbersResponse.js +3 -1
  115. package/dist/generated/src/models/ListReleasedPhoneNumbersResponse.js +3 -1
  116. package/dist/generated/src/models/ListVoiceCallsResponse.js +3 -1
  117. package/dist/generated/src/models/ListVoiceCallsResponseCallsInner.d.ts +12 -0
  118. package/dist/generated/src/models/ListVoiceCallsResponseCallsInner.js +6 -2
  119. package/dist/generated/src/models/LogsDeliveryStatusResponse.js +3 -1
  120. package/dist/generated/src/models/LogsGetResponse.js +3 -1
  121. package/dist/generated/src/models/LogsTailResponse.js +3 -1
  122. package/dist/generated/src/models/MemberUpdateRequest.d.ts +1 -1
  123. package/dist/generated/src/models/Notification.js +3 -1
  124. package/dist/generated/src/models/OpenaiGptLive1.d.ts +18 -0
  125. package/dist/generated/src/models/OpenaiGptLive1.js +14 -1
  126. package/dist/generated/src/models/OpenaiGptRealtime21.d.ts +17 -0
  127. package/dist/generated/src/models/OpenaiGptRealtime21.js +13 -1
  128. package/dist/generated/src/models/OpenaiGptRealtime21Mini.d.ts +17 -0
  129. package/dist/generated/src/models/OpenaiGptRealtime21Mini.js +13 -1
  130. package/dist/generated/src/models/Script.d.ts +7 -0
  131. package/dist/generated/src/models/Script.js +6 -1
  132. package/dist/generated/src/models/Script1.d.ts +7 -0
  133. package/dist/generated/src/models/Script1.js +6 -1
  134. package/dist/generated/src/models/ScriptPrivacy.d.ts +12 -4
  135. package/dist/generated/src/models/ScriptPrivacy.js +10 -2
  136. package/dist/generated/src/models/ScriptStream.d.ts +46 -0
  137. package/dist/generated/src/models/ScriptStream.js +58 -0
  138. package/dist/generated/src/models/SearchAvailablePhoneNumbersResponse.js +3 -1
  139. package/dist/generated/src/models/SignInUsernameResponse.d.ts +1 -1
  140. package/dist/generated/src/models/SignOutRequest.d.ts +1 -1
  141. package/dist/generated/src/models/SmsComplianceCountriesResponse.js +3 -1
  142. package/dist/generated/src/models/SmsComplianceCountriesResponseCountriesInner.d.ts +1 -1
  143. package/dist/generated/src/models/SmsComplianceCountry.d.ts +1 -1
  144. package/dist/generated/src/models/SmsLocalNumberRegistrationAdmin.js +3 -1
  145. package/dist/generated/src/models/SmsLocalNumberSubmitResponse.js +6 -2
  146. package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumber.js +3 -1
  147. package/dist/generated/src/models/SmsRegistrationLocalNumber.js +3 -1
  148. package/dist/generated/src/models/Stream.d.ts +53 -0
  149. package/dist/generated/src/models/Stream.js +67 -0
  150. package/dist/generated/src/models/SupabaseProjectsResponse.js +3 -1
  151. package/dist/generated/src/models/TenDlcBrandAdminUpdateRequest.d.ts +1 -1
  152. package/dist/generated/src/models/Transfer.js +3 -1
  153. package/dist/generated/src/models/Transfer1.d.ts +25 -0
  154. package/dist/generated/src/models/Transfer1.js +9 -0
  155. package/dist/generated/src/models/TransferCallRequest.d.ts +50 -0
  156. package/dist/generated/src/models/TransferCallRequest.js +56 -0
  157. package/dist/generated/src/models/TransferDestinationsInner.d.ts +10 -12
  158. package/dist/generated/src/models/TransferDestinationsInner.js +8 -14
  159. package/dist/generated/src/models/UpdateAccountRequest.d.ts +32 -0
  160. package/dist/generated/src/models/UpdateAccountRequest.js +50 -0
  161. package/dist/generated/src/models/UserPreferencesGETResponse.js +9 -3
  162. package/dist/generated/src/models/UserPreferencesGETResponseNotificationsInner.js +3 -1
  163. package/dist/generated/src/models/VoiceBrowserCallRequestConfig.d.ts +27 -2
  164. package/dist/generated/src/models/VoiceBrowserCallRequestConfig.js +16 -5
  165. package/dist/generated/src/models/VoiceBrowserCallRequestConfigAnyOf.d.ts +3 -1
  166. package/dist/generated/src/models/VoiceBrowserCallRequestConfigAnyOf.js +14 -0
  167. package/dist/generated/src/models/VoiceCallResponse.d.ts +7 -1
  168. package/dist/generated/src/models/VoiceCallResponse.js +6 -2
  169. package/dist/generated/src/models/WebhookEndpointsResponse.js +3 -1
  170. package/dist/generated/src/models/index.d.ts +15 -0
  171. package/dist/generated/src/models/index.js +15 -0
  172. package/dist/src/client.js +1 -1
  173. package/package.json +1 -1
@@ -55,6 +55,7 @@ const index_1 = require("../models/index");
55
55
  class AccountsApi extends runtime.BaseAPI {
56
56
  /**
57
57
  * Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
58
+ * Create another Pingram account
58
59
  */
59
60
  async createAccountRaw(requestParameters, initOverrides) {
60
61
  if (requestParameters['createAccountRequest'] == null) {
@@ -103,6 +104,7 @@ class AccountsApi extends runtime.BaseAPI {
103
104
  }
104
105
  /**
105
106
  * Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
107
+ * Create another Pingram account
106
108
  */
107
109
  async createAccount(createAccountRequest, initOverrides) {
108
110
  const response = await this.createAccountRaw({ createAccountRequest: createAccountRequest }, initOverrides);
@@ -158,5 +160,66 @@ class AccountsApi extends runtime.BaseAPI {
158
160
  const response = await this.listAccountsRaw(initOverrides);
159
161
  return await response.value();
160
162
  }
163
+ /**
164
+ * Change the display name of an account the caller can access. The name is the label shown in the dashboard and in account lists.
165
+ * Change the display name of an account
166
+ */
167
+ async updateAccountRaw(requestParameters, initOverrides) {
168
+ if (requestParameters['accountId'] == null) {
169
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling updateAccount().');
170
+ }
171
+ if (requestParameters['updateAccountRequest'] == null) {
172
+ throw new runtime.RequiredError('updateAccountRequest', 'Required parameter "updateAccountRequest" was null or undefined when calling updateAccount().');
173
+ }
174
+ const queryParameters = {};
175
+ const headerParameters = {};
176
+ headerParameters['Content-Type'] = 'application/json';
177
+ if (this.configuration &&
178
+ (this.configuration.username !== undefined ||
179
+ this.configuration.password !== undefined)) {
180
+ headerParameters['Authorization'] =
181
+ 'Basic ' +
182
+ btoa(this.configuration.username + ':' + this.configuration.password);
183
+ }
184
+ if (this.configuration &&
185
+ (this.configuration.username !== undefined ||
186
+ this.configuration.password !== undefined)) {
187
+ headerParameters['Authorization'] =
188
+ 'Basic ' +
189
+ btoa(this.configuration.username + ':' + this.configuration.password);
190
+ }
191
+ if (this.configuration && this.configuration.accessToken) {
192
+ const token = this.configuration.accessToken;
193
+ const tokenString = await token('apiKey', []);
194
+ if (tokenString) {
195
+ headerParameters['Authorization'] = `Bearer ${tokenString}`;
196
+ }
197
+ }
198
+ if (this.configuration &&
199
+ (this.configuration.username !== undefined ||
200
+ this.configuration.password !== undefined)) {
201
+ headerParameters['Authorization'] =
202
+ 'Basic ' +
203
+ btoa(this.configuration.username + ':' + this.configuration.password);
204
+ }
205
+ let urlPath = `/accounts/{accountId}`;
206
+ urlPath = urlPath.replace(`{${'accountId'}}`, encodeURIComponent(String(requestParameters['accountId'])));
207
+ const response = await this.request({
208
+ path: urlPath,
209
+ method: 'PATCH',
210
+ headers: headerParameters,
211
+ query: queryParameters,
212
+ body: (0, index_1.UpdateAccountRequestToJSON)(requestParameters['updateAccountRequest'])
213
+ }, initOverrides);
214
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AccountSummaryFromJSON)(jsonValue));
215
+ }
216
+ /**
217
+ * Change the display name of an account the caller can access. The name is the label shown in the dashboard and in account lists.
218
+ * Change the display name of an account
219
+ */
220
+ async updateAccount(accountId, updateAccountRequest, initOverrides) {
221
+ const response = await this.updateAccountRaw({ accountId: accountId, updateAccountRequest: updateAccountRequest }, initOverrides);
222
+ return await response.value();
223
+ }
161
224
  }
162
225
  exports.AccountsApi = AccountsApi;
@@ -67,8 +67,8 @@ export interface UpdateRequest {
67
67
  */
68
68
  export interface BroadcastsApiInterface {
69
69
  /**
70
- *
71
- * @summary Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
70
+ * Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
71
+ * @summary Delete an email broadcast
72
72
  * @param {string} broadcastId Broadcast ID
73
73
  * @param {*} [options] Override http request option.
74
74
  * @throws {RequiredError}
@@ -77,11 +77,12 @@ export interface BroadcastsApiInterface {
77
77
  _deleteRaw(requestParameters: DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MessageResponse>>;
78
78
  /**
79
79
  * Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
80
+ * Delete an email broadcast
80
81
  */
81
82
  _delete(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
82
83
  /**
83
- *
84
- * @summary Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
84
+ * Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
85
+ * @summary Archive an email broadcast
85
86
  * @param {string} broadcastId Broadcast ID
86
87
  * @param {*} [options] Override http request option.
87
88
  * @throws {RequiredError}
@@ -90,11 +91,12 @@ export interface BroadcastsApiInterface {
90
91
  archiveRaw(requestParameters: ArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
91
92
  /**
92
93
  * Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
94
+ * Archive an email broadcast
93
95
  */
94
96
  archive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
95
97
  /**
96
- *
97
- * @summary Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
98
+ * Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
99
+ * @summary Cancel an email broadcast
98
100
  * @param {string} broadcastId Broadcast ID
99
101
  * @param {*} [options] Override http request option.
100
102
  * @throws {RequiredError}
@@ -103,11 +105,12 @@ export interface BroadcastsApiInterface {
103
105
  cancelRaw(requestParameters: CancelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
104
106
  /**
105
107
  * Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
108
+ * Cancel an email broadcast
106
109
  */
107
110
  cancel(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
108
111
  /**
109
- *
110
- * @summary Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
112
+ * Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
113
+ * @summary Create a draft email broadcast
111
114
  * @param {CreateBroadcastRequest} createBroadcastRequest
112
115
  * @param {*} [options] Override http request option.
113
116
  * @throws {RequiredError}
@@ -116,11 +119,12 @@ export interface BroadcastsApiInterface {
116
119
  createRaw(requestParameters: CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
117
120
  /**
118
121
  * Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
122
+ * Create a draft email broadcast
119
123
  */
120
124
  create(createBroadcastRequest: CreateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
121
125
  /**
122
- *
123
- * @summary Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
126
+ * Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
127
+ * @summary Get one email broadcast by ID
124
128
  * @param {string} broadcastId Broadcast ID
125
129
  * @param {*} [options] Override http request option.
126
130
  * @throws {RequiredError}
@@ -129,11 +133,12 @@ export interface BroadcastsApiInterface {
129
133
  getRaw(requestParameters: GetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
130
134
  /**
131
135
  * Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
136
+ * Get one email broadcast by ID
132
137
  */
133
138
  get(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
134
139
  /**
135
- *
136
- * @summary Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
140
+ * Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
141
+ * @summary Get live broadcast metrics
137
142
  * @param {string} broadcastId Broadcast ID
138
143
  * @param {*} [options] Override http request option.
139
144
  * @throws {RequiredError}
@@ -142,11 +147,12 @@ export interface BroadcastsApiInterface {
142
147
  getMetricsRaw(requestParameters: GetMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastMetricsResponse>>;
143
148
  /**
144
149
  * Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
150
+ * Get live broadcast metrics
145
151
  */
146
152
  getMetrics(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastMetricsResponse>;
147
153
  /**
148
- *
149
- * @summary List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
154
+ * List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
155
+ * @summary List email broadcasts for the account, newest first
150
156
  * @param {number} [limit] Max broadcasts to return (default 50)
151
157
  * @param {string} [nextToken] Pagination token
152
158
  * @param {*} [options] Override http request option.
@@ -156,11 +162,12 @@ export interface BroadcastsApiInterface {
156
162
  listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastsResponse>>;
157
163
  /**
158
164
  * List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
165
+ * List email broadcasts for the account, newest first
159
166
  */
160
167
  list(limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastsResponse>;
161
168
  /**
162
- *
163
- * @summary List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
169
+ * List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
170
+ * @summary List email broadcast recipients
164
171
  * @param {string} broadcastId Broadcast ID
165
172
  * @param {string} [status] Filter
166
173
  * @param {number} [limit] Max recipients to return (default 50)
@@ -172,11 +179,12 @@ export interface BroadcastsApiInterface {
172
179
  listRecipientsRaw(requestParameters: ListRecipientsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastRecipientsResponse>>;
173
180
  /**
174
181
  * List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
182
+ * List email broadcast recipients
175
183
  */
176
184
  listRecipients(broadcastId: string, status?: string, limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastRecipientsResponse>;
177
185
  /**
178
- *
179
- * @summary Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
186
+ * Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
187
+ * @summary Pause an actively sending email broadcast
180
188
  * @param {string} broadcastId Broadcast ID
181
189
  * @param {*} [options] Override http request option.
182
190
  * @throws {RequiredError}
@@ -185,11 +193,12 @@ export interface BroadcastsApiInterface {
185
193
  pauseRaw(requestParameters: PauseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
186
194
  /**
187
195
  * Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
196
+ * Pause an actively sending email broadcast
188
197
  */
189
198
  pause(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
190
199
  /**
191
- *
192
- * @summary Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
200
+ * Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
201
+ * @summary Resume a paused email broadcast
193
202
  * @param {string} broadcastId Broadcast ID
194
203
  * @param {*} [options] Override http request option.
195
204
  * @throws {RequiredError}
@@ -198,11 +207,12 @@ export interface BroadcastsApiInterface {
198
207
  resumeRaw(requestParameters: ResumeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
199
208
  /**
200
209
  * Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
210
+ * Resume a paused email broadcast
201
211
  */
202
212
  resume(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
203
213
  /**
204
- *
205
- * @summary Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
214
+ * Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
215
+ * @summary Schedule a draft email broadcast for a future ISO datetime
206
216
  * @param {string} broadcastId Broadcast ID
207
217
  * @param {ScheduleBroadcastRequest} scheduleBroadcastRequest
208
218
  * @param {*} [options] Override http request option.
@@ -212,11 +222,12 @@ export interface BroadcastsApiInterface {
212
222
  scheduleRaw(requestParameters: ScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
213
223
  /**
214
224
  * Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
225
+ * Schedule a draft email broadcast for a future ISO datetime
215
226
  */
216
227
  schedule(broadcastId: string, scheduleBroadcastRequest: ScheduleBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
217
228
  /**
218
- *
219
- * @summary Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
229
+ * Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
230
+ * @summary Send a draft email broadcast immediately
220
231
  * @param {string} broadcastId Broadcast ID
221
232
  * @param {*} [options] Override http request option.
222
233
  * @throws {RequiredError}
@@ -225,11 +236,12 @@ export interface BroadcastsApiInterface {
225
236
  sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
226
237
  /**
227
238
  * Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
239
+ * Send a draft email broadcast immediately
228
240
  */
229
241
  send(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
230
242
  /**
231
- *
232
- * @summary Restore an archived email broadcast to the default broadcast list.
243
+ * Restore an archived email broadcast to the default broadcast list.
244
+ * @summary Restore an archived email broadcast
233
245
  * @param {string} broadcastId Broadcast ID
234
246
  * @param {*} [options] Override http request option.
235
247
  * @throws {RequiredError}
@@ -238,11 +250,12 @@ export interface BroadcastsApiInterface {
238
250
  unarchiveRaw(requestParameters: UnarchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
239
251
  /**
240
252
  * Restore an archived email broadcast to the default broadcast list.
253
+ * Restore an archived email broadcast
241
254
  */
242
255
  unarchive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
243
256
  /**
244
- *
245
- * @summary Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
257
+ * Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
258
+ * @summary Update a draft email broadcast
246
259
  * @param {string} broadcastId Broadcast ID
247
260
  * @param {UpdateBroadcastRequest} updateBroadcastRequest
248
261
  * @param {*} [options] Override http request option.
@@ -252,6 +265,7 @@ export interface BroadcastsApiInterface {
252
265
  updateRaw(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
253
266
  /**
254
267
  * Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
268
+ * Update a draft email broadcast
255
269
  */
256
270
  update(broadcastId: string, updateBroadcastRequest: UpdateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
257
271
  }
@@ -261,114 +275,142 @@ export interface BroadcastsApiInterface {
261
275
  export declare class BroadcastsApi extends runtime.BaseAPI implements BroadcastsApiInterface {
262
276
  /**
263
277
  * Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
278
+ * Delete an email broadcast
264
279
  */
265
280
  _deleteRaw(requestParameters: DeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MessageResponse>>;
266
281
  /**
267
282
  * Delete an email broadcast. Allowed for drafts, scheduled, paused, completed, and canceled broadcasts. Not allowed while status is sending.
283
+ * Delete an email broadcast
268
284
  */
269
285
  _delete(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
270
286
  /**
271
287
  * Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
288
+ * Archive an email broadcast
272
289
  */
273
290
  archiveRaw(requestParameters: ArchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
274
291
  /**
275
292
  * Archive an email broadcast so it is hidden from the default broadcast list. Allowed for draft, paused, sent, and canceled broadcasts. Not allowed while sending or scheduled.
293
+ * Archive an email broadcast
276
294
  */
277
295
  archive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
278
296
  /**
279
297
  * Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
298
+ * Cancel an email broadcast
280
299
  */
281
300
  cancelRaw(requestParameters: CancelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
282
301
  /**
283
302
  * Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
303
+ * Cancel an email broadcast
284
304
  */
285
305
  cancel(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
286
306
  /**
287
307
  * Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
308
+ * Create a draft email broadcast
288
309
  */
289
310
  createRaw(requestParameters: CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
290
311
  /**
291
312
  * Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
313
+ * Create a draft email broadcast
292
314
  */
293
315
  create(createBroadcastRequest: CreateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
294
316
  /**
295
317
  * Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
318
+ * Get one email broadcast by ID
296
319
  */
297
320
  getRaw(requestParameters: GetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
298
321
  /**
299
322
  * Get one email broadcast by ID, including the send-ready html body, optional internalTemplate (visual-editor source), and audience definition.
323
+ * Get one email broadcast by ID
300
324
  */
301
325
  get(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
302
326
  /**
303
327
  * Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
328
+ * Get live broadcast metrics
304
329
  */
305
330
  getMetricsRaw(requestParameters: GetMetricsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastMetricsResponse>>;
306
331
  /**
307
332
  * Poll live email broadcast metrics: status, optional pausedReason or scheduleAt, and aggregate counters (total, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed).
333
+ * Get live broadcast metrics
308
334
  */
309
335
  getMetrics(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastMetricsResponse>;
310
336
  /**
311
337
  * List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
338
+ * List email broadcasts for the account, newest first
312
339
  */
313
340
  listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastsResponse>>;
314
341
  /**
315
342
  * List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
343
+ * List email broadcasts for the account, newest first
316
344
  */
317
345
  list(limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastsResponse>;
318
346
  /**
319
347
  * List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
348
+ * List email broadcast recipients
320
349
  */
321
350
  listRecipientsRaw(requestParameters: ListRecipientsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastRecipientsResponse>>;
322
351
  /**
323
352
  * List email broadcast recipients with per-recipient delivery fact timestamps (sentAt, deliveredAt, openedAt, etc.). Derive display status client-side from timestamps. Filter by status (pending, sent, delivered, opened, clicked, bounced, complained, unsubscribed, skipped, failed, problems). Paginate with limit (default 50, max 200) and nextToken.
353
+ * List email broadcast recipients
324
354
  */
325
355
  listRecipients(broadcastId: string, status?: string, limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastRecipientsResponse>;
326
356
  /**
327
357
  * Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
358
+ * Pause an actively sending email broadcast
328
359
  */
329
360
  pauseRaw(requestParameters: PauseRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
330
361
  /**
331
362
  * Pause an actively sending email broadcast. Status becomes paused with pausedReason PAUSED_BY_USER.
363
+ * Pause an actively sending email broadcast
332
364
  */
333
365
  pause(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
334
366
  /**
335
367
  * Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
368
+ * Resume a paused email broadcast
336
369
  */
337
370
  resumeRaw(requestParameters: ResumeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
338
371
  /**
339
372
  * Resume a paused email broadcast. Continues sending remaining recipients. Broadcasts paused for spam content cannot be resumed.
373
+ * Resume a paused email broadcast
340
374
  */
341
375
  resume(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
342
376
  /**
343
377
  * Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
378
+ * Schedule a draft email broadcast for a future ISO datetime
344
379
  */
345
380
  scheduleRaw(requestParameters: ScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
346
381
  /**
347
382
  * Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
383
+ * Schedule a draft email broadcast for a future ISO datetime
348
384
  */
349
385
  schedule(broadcastId: string, scheduleBroadcastRequest: ScheduleBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
350
386
  /**
351
387
  * Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
388
+ * Send a draft email broadcast immediately
352
389
  */
353
390
  sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
354
391
  /**
355
392
  * Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
393
+ * Send a draft email broadcast immediately
356
394
  */
357
395
  send(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
358
396
  /**
359
397
  * Restore an archived email broadcast to the default broadcast list.
398
+ * Restore an archived email broadcast
360
399
  */
361
400
  unarchiveRaw(requestParameters: UnarchiveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
362
401
  /**
363
402
  * Restore an archived email broadcast to the default broadcast list.
403
+ * Restore an archived email broadcast
364
404
  */
365
405
  unarchive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
366
406
  /**
367
407
  * Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
408
+ * Update a draft email broadcast
368
409
  */
369
410
  updateRaw(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
370
411
  /**
371
412
  * Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
413
+ * Update a draft email broadcast
372
414
  */
373
415
  update(broadcastId: string, updateBroadcastRequest: UpdateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
374
416
  }