@randock/nameshift-api-client 0.0.504 → 0.0.506

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 (69) hide show
  1. package/.openapi-generator/FILES +12 -2
  2. package/README.md +3 -3
  3. package/dist/apis/AdminApi.d.ts +113 -1
  4. package/dist/apis/AdminApi.js +500 -0
  5. package/dist/apis/UsersApi.d.ts +18 -18
  6. package/dist/apis/UsersApi.js +69 -70
  7. package/dist/apis/UsersPublicApi.d.ts +20 -7
  8. package/dist/apis/UsersPublicApi.js +54 -6
  9. package/dist/models/AdminUserNewsletterInput.d.ts +41 -0
  10. package/dist/models/AdminUserNewsletterInput.js +60 -0
  11. package/dist/models/AdminUserSecurityDto.d.ts +4 -4
  12. package/dist/models/AdminUserSecurityDto.js +3 -4
  13. package/dist/models/ChangeUserSignInStepsInput.d.ts +33 -0
  14. package/dist/models/ChangeUserSignInStepsInput.js +51 -0
  15. package/dist/models/CreateNewsletterInput.d.ts +171 -0
  16. package/dist/models/CreateNewsletterInput.js +98 -0
  17. package/dist/models/LoginPasswordInput.d.ts +38 -0
  18. package/dist/models/LoginPasswordInput.js +55 -0
  19. package/dist/models/NewsStoryDto.d.ts +80 -0
  20. package/dist/models/NewsStoryDto.js +83 -0
  21. package/dist/models/NewsletterDto.d.ts +251 -0
  22. package/dist/models/NewsletterDto.js +200 -0
  23. package/dist/models/NewsletterPreviewDto.d.ts +44 -0
  24. package/dist/models/NewsletterPreviewDto.js +59 -0
  25. package/dist/models/NewsletterSecondaryStoryDto.d.ts +44 -0
  26. package/dist/models/NewsletterSecondaryStoryDto.js +59 -0
  27. package/dist/models/NewsletterSecondaryStoryInput.d.ts +44 -0
  28. package/dist/models/NewsletterSecondaryStoryInput.js +59 -0
  29. package/dist/models/SecondFactorMethod.d.ts +1 -0
  30. package/dist/models/SecondFactorMethod.js +1 -0
  31. package/dist/models/SendNewsletterPreviewInput.d.ts +32 -0
  32. package/dist/models/SendNewsletterPreviewInput.js +51 -0
  33. package/dist/models/UpdateNewsletterInput.d.ts +171 -0
  34. package/dist/models/UpdateNewsletterInput.js +96 -0
  35. package/dist/models/UserLoginAttemptResult.d.ts +1 -0
  36. package/dist/models/UserLoginAttemptResult.js +1 -0
  37. package/dist/models/UserSecurityDto.d.ts +11 -11
  38. package/dist/models/UserSecurityDto.js +10 -10
  39. package/dist/models/UserSignInFactor.d.ts +26 -0
  40. package/dist/models/UserSignInFactor.js +52 -0
  41. package/dist/models/index.d.ts +12 -2
  42. package/dist/models/index.js +12 -2
  43. package/package.json +1 -1
  44. package/src/apis/AdminApi.ts +454 -0
  45. package/src/apis/UsersApi.ts +73 -74
  46. package/src/apis/UsersPublicApi.ts +51 -6
  47. package/src/models/AdminUserNewsletterInput.ts +78 -0
  48. package/src/models/AdminUserSecurityDto.ts +12 -14
  49. package/src/models/ChangeUserSignInStepsInput.ts +74 -0
  50. package/src/models/CreateNewsletterInput.ts +258 -0
  51. package/src/models/LoginPasswordInput.ts +75 -0
  52. package/src/models/NewsStoryDto.ts +138 -0
  53. package/src/models/NewsletterDto.ts +400 -0
  54. package/src/models/NewsletterPreviewDto.ts +84 -0
  55. package/src/models/NewsletterSecondaryStoryDto.ts +84 -0
  56. package/src/models/NewsletterSecondaryStoryInput.ts +84 -0
  57. package/src/models/SecondFactorMethod.ts +1 -0
  58. package/src/models/SendNewsletterPreviewInput.ts +66 -0
  59. package/src/models/UpdateNewsletterInput.ts +257 -0
  60. package/src/models/UserLoginAttemptResult.ts +1 -0
  61. package/src/models/UserSecurityDto.ts +25 -27
  62. package/src/models/UserSignInFactor.ts +54 -0
  63. package/src/models/index.ts +12 -2
  64. package/dist/models/ChangeUserAuthenticationMethodInput.d.ts +0 -33
  65. package/dist/models/ChangeUserAuthenticationMethodInput.js +0 -52
  66. package/dist/models/UserAuthenticationMethod.d.ts +0 -27
  67. package/dist/models/UserAuthenticationMethod.js +0 -53
  68. package/src/models/ChangeUserAuthenticationMethodInput.ts +0 -76
  69. package/src/models/UserAuthenticationMethod.ts +0 -55
@@ -114,6 +114,7 @@ src/models/AdminLeadListItemDomainDto.ts
114
114
  src/models/AdminLeadListItemDto.ts
115
115
  src/models/AdminListAccountDto.ts
116
116
  src/models/AdminMarketplaceDto.ts
117
+ src/models/AdminUserNewsletterInput.ts
117
118
  src/models/AdminUserSecurityDto.ts
118
119
  src/models/AdminVerificationDepositDto.ts
119
120
  src/models/AffiliatesStatsDto.ts
@@ -198,10 +199,10 @@ src/models/ChallengeRewardBalanceDto.ts
198
199
  src/models/ChangeInvoiceStatusInput.ts
199
200
  src/models/ChangeOrderStatusInput.ts
200
201
  src/models/ChangeSubscriptionStatusInput.ts
201
- src/models/ChangeUserAuthenticationMethodInput.ts
202
202
  src/models/ChangeUserEmailWithOtpInput.ts
203
203
  src/models/ChangeUserLoginLocationVerificationInput.ts
204
204
  src/models/ChangeUserPasswordInput.ts
205
+ src/models/ChangeUserSignInStepsInput.ts
205
206
  src/models/ChartDataPoint.ts
206
207
  src/models/CheckDomainsNsInput.ts
207
208
  src/models/CommissionAccountDto.ts
@@ -243,6 +244,7 @@ src/models/CreateLeadInput.ts
243
244
  src/models/CreateLeadMessageInput.ts
244
245
  src/models/CreateManualLeadInput.ts
245
246
  src/models/CreateManualTransactionInput.ts
247
+ src/models/CreateNewsletterInput.ts
246
248
  src/models/CreateOrderInput.ts
247
249
  src/models/CreateSubscriptionBillingPeriodicityInput.ts
248
250
  src/models/CreateSubscriptionInput.ts
@@ -448,6 +450,7 @@ src/models/LoginDto.ts
448
450
  src/models/LoginInput.ts
449
451
  src/models/LoginPasskeyInput.ts
450
452
  src/models/LoginPasskeyOptionsInput.ts
453
+ src/models/LoginPasswordInput.ts
451
454
  src/models/LoginRecoveryCodeInput.ts
452
455
  src/models/LoginStatus.ts
453
456
  src/models/MajesticMetrics.ts
@@ -462,6 +465,11 @@ src/models/MoneyDecimalDto.ts
462
465
  src/models/MoneyDto.ts
463
466
  src/models/MoneyInput.ts
464
467
  src/models/MozMetrics.ts
468
+ src/models/NewsStoryDto.ts
469
+ src/models/NewsletterDto.ts
470
+ src/models/NewsletterPreviewDto.ts
471
+ src/models/NewsletterSecondaryStoryDto.ts
472
+ src/models/NewsletterSecondaryStoryInput.ts
465
473
  src/models/NotificationsUnsubscribeResultDto.ts
466
474
  src/models/ObjectId.ts
467
475
  src/models/OrderCompanyInfoDto.ts
@@ -570,6 +578,7 @@ src/models/SellerTotalEarningsByCurrencyStatsItemDto.ts
570
578
  src/models/SellerTotalRentMonthlyIncomeByCurrencyStatsItemDto.ts
571
579
  src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInput.ts
572
580
  src/models/SendAdminLeadAiPriceNegotiatorAgentChatMessageInputAiModel.ts
581
+ src/models/SendNewsletterPreviewInput.ts
573
582
  src/models/SeoMetricsDto.ts
574
583
  src/models/SetAccountMarketplaceInput.ts
575
584
  src/models/SetDomainTransferConfirmationInput.ts
@@ -636,6 +645,7 @@ src/models/UpdateLeadMuteStatusForBuyerInput.ts
636
645
  src/models/UpdateLeadMuteStatusInput.ts
637
646
  src/models/UpdateLeaseToOwnConfigurationDto.ts
638
647
  src/models/UpdateMarketplaceInput.ts
648
+ src/models/UpdateNewsletterInput.ts
639
649
  src/models/UpdateOrderInput.ts
640
650
  src/models/UpdateRentConfigurationDto.ts
641
651
  src/models/UpdateSubscriptionBillingPeriodicityInput.ts
@@ -646,7 +656,6 @@ src/models/UpdateSubscriptionInput.ts
646
656
  src/models/UpdateTaskMuteStatusForBuyerInput.ts
647
657
  src/models/UpdateTaskMuteStatusInput.ts
648
658
  src/models/UpdateUserNotificationSettingsInput.ts
649
- src/models/UserAuthenticationMethod.ts
650
659
  src/models/UserLoginAttemptDto.ts
651
660
  src/models/UserLoginAttemptMethod.ts
652
661
  src/models/UserLoginAttemptResult.ts
@@ -658,6 +667,7 @@ src/models/UserNotificationSettingsDto.ts
658
667
  src/models/UserPasskeyDto.ts
659
668
  src/models/UserPasswordResetDto.ts
660
669
  src/models/UserSecurityDto.ts
670
+ src/models/UserSignInFactor.ts
661
671
  src/models/UserSignedTokenInput.ts
662
672
  src/models/ValidateTaxNumberDto.ts
663
673
  src/models/ValidateTaxNumberInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.504
1
+ ## @randock/nameshift-api-client@0.0.506
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.504 --save
39
+ npm install @randock/nameshift-api-client@0.0.506 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- 49c61ba46ba7fdf2fc00cb1f8cbdcdb4c90a1a8c41f98fb1c1faf6713cecfddeeb67d8216fcc8a6344c5e525168de762
47
+ 09ddfd85dfec90d7df4147983a74430e220e8dccce850f2734fab3120ead7e00a1433901ec8aa47bd51b289e8f84beae
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminMarketplaceDto, AdminUserSecurityDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, ObjectId, PaySellerInvoicesInput, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
13
+ import type { AccountNameshiftCommissionByTypeDto, AccountNoteListDto, AccountPaymentMethodProfileDto, AccountSettingsDto, AdminAccountLoginDto, AdminAccountSettingsInput, AdminBuyerLoginDto, AdminChallengeListDto, AdminCompanyStatsDto, AdminDashboardStatsDto, AdminGetAllDomainTransfers200Response, AdminLandingDesignStatsDto, AdminMarketplaceDto, AdminUserNewsletterInput, AdminUserSecurityDto, BulkCommissionActionsInput, ChangeInvoiceStatusInput, ChangeOrderStatusInput, ChangeSubscriptionStatusInput, CommissionListDto, CommissionSimulationResultDto, CreateAccountNoteInput, CreateChallengeInput, CreateNewsletterInput, DomainLockDto, DomainStatsDto, DomainTldsDto, DomainTransferDetailsDto, GetAccountChallengeRewardUsagesListDto, GetAdminDomainAppraisalRequests200Response, GetAllAuctions200Response, GetAllFeatureFlags200Response, GetAllInvoices200Response, GetAllOrders200Response, GetAllOwnedDomains200Response, GetAllSubscriptions200Response, IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto, LeadEnrichmentDto, LeadMessageDto, LedgerMutationsDto, LinkBankDepositToBankAccountInput, LinkBankDepositToInvoiceInput, ListAccounts200Response, ListAdminLandingDesignAccounts200Response, ListAdminRelatedLeads200Response, ListBankAccounts200Response, ListBankDeposits200Response, ListDomains200Response, ListLeadMessagesDto, ListLeads200Response, ListUserLoginAttempts200Response, NewsStoryDto, NewsletterDto, NewsletterPreviewDto, ObjectId, PaySellerInvoicesInput, SellerLeadDetails, SellerPayoutPreviewDto, SellerSalesByTldStatsItemDto, SellerSalesCountStatsItemDto, SendAdminLeadAiPriceNegotiatorAgentChatMessageInput, SendNewsletterPreviewInput, SimulateCommissionInput, StatsFilterInputDateRange, SubscriptionDetailsDto, UpdateAccountChallengeRewardBalanceInput, UpdateAccountNoteInput, UpdateAdminDomainTransferBuyerCompanyInfoInput, UpdateAdminDomainTransferBuyerInfoInput, UpdateChallengeInput, UpdateFeatureFlagInput, UpdateMarketplaceInput, UpdateNewsletterInput, UpdateSubscriptionBuyerInformationInput } from '../models/index';
14
14
  export interface AdminApiAdminDeleteAuctionRequest {
15
15
  auctionId: string;
16
16
  }
@@ -63,6 +63,9 @@ export interface AdminApiCreateChallengeRequest {
63
63
  export interface AdminApiCreateNegativeInvoiceRequest {
64
64
  invoiceId: string;
65
65
  }
66
+ export interface AdminApiCreateNewsletterRequest {
67
+ createNewsletterInput: CreateNewsletterInput;
68
+ }
66
69
  export interface AdminApiDeleteAccountNoteRequest {
67
70
  accountId: string;
68
71
  noteId: string;
@@ -198,6 +201,9 @@ export interface AdminApiGetDomainStatsRequest {
198
201
  export interface AdminApiGetLedgerMutationAttachmentRequest {
199
202
  attachmentId: string;
200
203
  }
204
+ export interface AdminApiGetNewsletterRequest {
205
+ newsletterId: string;
206
+ }
201
207
  export interface AdminApiGetSubscriptionDetailsRequest {
202
208
  subscriptionId: string;
203
209
  }
@@ -334,6 +340,12 @@ export interface AdminApiPostAdminExecuteDomainTransferStepActionRequest {
334
340
  export interface AdminApiPostAiPriceNegotiatorAgentChatMessageRequest {
335
341
  sendAdminLeadAiPriceNegotiatorAgentChatMessageInput: SendAdminLeadAiPriceNegotiatorAgentChatMessageInput;
336
342
  }
343
+ export interface AdminApiPrepareNewsletterRequest {
344
+ newsletterId: string;
345
+ }
346
+ export interface AdminApiPreviewNewsletterRequest {
347
+ newsletterId: string;
348
+ }
337
349
  export interface AdminApiPreviewSellerPayoutRequest {
338
350
  paySellerInvoicesInput: PaySellerInvoicesInput;
339
351
  }
@@ -356,6 +368,10 @@ export interface AdminApiReopenAdminLeadRequest {
356
368
  export interface AdminApiResetUserSecondFactorsRequest {
357
369
  userId: string;
358
370
  }
371
+ export interface AdminApiSendNewsletterTestRequest {
372
+ newsletterId: string;
373
+ sendNewsletterPreviewInput: SendNewsletterPreviewInput;
374
+ }
359
375
  export interface AdminApiShowcaseDomainRequest {
360
376
  domainId: string;
361
377
  }
@@ -399,10 +415,18 @@ export interface AdminApiUpdateMarketplaceRequest {
399
415
  code: UpdateMarketplaceCodeEnum;
400
416
  updateMarketplaceInput: UpdateMarketplaceInput;
401
417
  }
418
+ export interface AdminApiUpdateNewsletterRequest {
419
+ newsletterId: string;
420
+ updateNewsletterInput: UpdateNewsletterInput;
421
+ }
402
422
  export interface AdminApiUpdateSubscriptionBuyerInformationRequest {
403
423
  subscriptionId: string;
404
424
  updateSubscriptionBuyerInformationInput: UpdateSubscriptionBuyerInformationInput;
405
425
  }
426
+ export interface AdminApiUpdateUserNewsletterStatusRequest {
427
+ userId: object;
428
+ adminUserNewsletterInput: AdminUserNewsletterInput;
429
+ }
406
430
  export interface AdminApiVerifyAccountAliasRequest {
407
431
  accountId: string;
408
432
  }
@@ -543,6 +567,16 @@ export declare class AdminApi extends runtime.BaseAPI {
543
567
  * Create negative invoice
544
568
  */
545
569
  createNegativeInvoice(requestParameters: AdminApiCreateNegativeInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ObjectId>;
570
+ /**
571
+ * Creates a draft issue with the default closing band and footer; everything can be edited afterwards.
572
+ * Start a newsletter
573
+ */
574
+ createNewsletterRaw(requestParameters: AdminApiCreateNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NewsletterDto>>;
575
+ /**
576
+ * Creates a draft issue with the default closing band and footer; everything can be edited afterwards.
577
+ * Start a newsletter
578
+ */
579
+ createNewsletter(requestParameters: AdminApiCreateNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
546
580
  /**
547
581
  * Soft-deletes a note. Only its author, or a super admin, may do so.
548
582
  * Delete account note
@@ -813,6 +847,14 @@ export declare class AdminApi extends runtime.BaseAPI {
813
847
  * Download ledger mutation attachment
814
848
  */
815
849
  getLedgerMutationAttachment(requestParameters: AdminApiGetLedgerMutationAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
850
+ /**
851
+ * Get a newsletter
852
+ */
853
+ getNewsletterRaw(requestParameters: AdminApiGetNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NewsletterDto>>;
854
+ /**
855
+ * Get a newsletter
856
+ */
857
+ getNewsletter(requestParameters: AdminApiGetNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
816
858
  /**
817
859
  * Returns subscription information.
818
860
  * Get subscription details
@@ -1001,6 +1043,26 @@ export declare class AdminApi extends runtime.BaseAPI {
1001
1043
  * List ledger mutations
1002
1044
  */
1003
1045
  listLedgerMutations(requestParameters: AdminApiListLedgerMutationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LedgerMutationsDto>;
1046
+ /**
1047
+ * The published news articles, newest first.
1048
+ * List the blog posts a newsletter can pick
1049
+ */
1050
+ listNewsletterStoriesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<NewsStoryDto>>>;
1051
+ /**
1052
+ * The published news articles, newest first.
1053
+ * List the blog posts a newsletter can pick
1054
+ */
1055
+ listNewsletterStories(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NewsStoryDto>>;
1056
+ /**
1057
+ * Every newsletter issue, newest first.
1058
+ * List newsletters
1059
+ */
1060
+ listNewslettersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<NewsletterDto>>>;
1061
+ /**
1062
+ * Every newsletter issue, newest first.
1063
+ * List newsletters
1064
+ */
1065
+ listNewsletters(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<NewsletterDto>>;
1004
1066
  /**
1005
1067
  * List the sign-ins of a user
1006
1068
  */
@@ -1079,6 +1141,26 @@ export declare class AdminApi extends runtime.BaseAPI {
1079
1141
  * Test AI price negotiator agent
1080
1142
  */
1081
1143
  postAiPriceNegotiatorAgentChatMessage(requestParameters: AdminApiPostAiPriceNegotiatorAgentChatMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<LeadMessageDto>>;
1144
+ /**
1145
+ * Creates the Mailchimp draft campaign, or refreshes the existing one, with the current render. The campaign is never sent or scheduled from here.
1146
+ * Prepare the newsletter in Mailchimp
1147
+ */
1148
+ prepareNewsletterRaw(requestParameters: AdminApiPrepareNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NewsletterDto>>;
1149
+ /**
1150
+ * Creates the Mailchimp draft campaign, or refreshes the existing one, with the current render. The campaign is never sent or scheduled from here.
1151
+ * Prepare the newsletter in Mailchimp
1152
+ */
1153
+ prepareNewsletter(requestParameters: AdminApiPrepareNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
1154
+ /**
1155
+ * The email as it would go to Mailchimp, with the merge tags replaced by placeholders, for the live preview.
1156
+ * Render a newsletter
1157
+ */
1158
+ previewNewsletterRaw(requestParameters: AdminApiPreviewNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NewsletterPreviewDto>>;
1159
+ /**
1160
+ * The email as it would go to Mailchimp, with the merge tags replaced by placeholders, for the live preview.
1161
+ * Render a newsletter
1162
+ */
1163
+ previewNewsletter(requestParameters: AdminApiPreviewNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterPreviewDto>;
1082
1164
  /**
1083
1165
  * Tells what paying these invoices out together would do, without doing it: the bank account the transfer goes to, and the fee taken out of what the seller receives. Refuses what paying them would refuse.
1084
1166
  * Preview a payout of seller invoices
@@ -1149,6 +1231,16 @@ export declare class AdminApi extends runtime.BaseAPI {
1149
1231
  * Remove every second factor of a user
1150
1232
  */
1151
1233
  resetUserSecondFactors(requestParameters: AdminApiResetUserSecondFactorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1234
+ /**
1235
+ * Sends the current render to one address through the normal mailer, subject prefixed with [Preview]. Not a Mailchimp send.
1236
+ * Mail a preview of the newsletter
1237
+ */
1238
+ sendNewsletterTestRaw(requestParameters: AdminApiSendNewsletterTestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1239
+ /**
1240
+ * Sends the current render to one address through the normal mailer, subject prefixed with [Preview]. Not a Mailchimp send.
1241
+ * Mail a preview of the newsletter
1242
+ */
1243
+ sendNewsletterTest(requestParameters: AdminApiSendNewsletterTestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1152
1244
  /**
1153
1245
  * Picks the domain for the public showcase on the website. Idempotent: showcasing an already showcased domain keeps its original position in the showcase.
1154
1246
  * Showcase domain
@@ -1269,6 +1361,16 @@ export declare class AdminApi extends runtime.BaseAPI {
1269
1361
  * Update a marketplace
1270
1362
  */
1271
1363
  updateMarketplace(requestParameters: AdminApiUpdateMarketplaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1364
+ /**
1365
+ * Saves the given fields. Any edit puts a prepared issue back to draft until it is prepared again.
1366
+ * Update a newsletter
1367
+ */
1368
+ updateNewsletterRaw(requestParameters: AdminApiUpdateNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NewsletterDto>>;
1369
+ /**
1370
+ * Saves the given fields. Any edit puts a prepared issue back to draft until it is prepared again.
1371
+ * Update a newsletter
1372
+ */
1373
+ updateNewsletter(requestParameters: AdminApiUpdateNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
1272
1374
  /**
1273
1375
  * Updates the buyer information stored on the subscription. The change is applied from the next renewal onwards: the already issued invoices, including the active one, are left untouched. Note that the emails related to the current invoice are still sent to the email of that invoice.
1274
1376
  * Update subscription buyer information
@@ -1279,6 +1381,16 @@ export declare class AdminApi extends runtime.BaseAPI {
1279
1381
  * Update subscription buyer information
1280
1382
  */
1281
1383
  updateSubscriptionBuyerInformation(requestParameters: AdminApiUpdateSubscriptionBuyerInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1384
+ /**
1385
+ * Sets whether the user gets the seller newsletter, recorded as changed by the admin. The Mailchimp audience follows on the next sync.
1386
+ * Update the seller newsletter consent of a user
1387
+ */
1388
+ updateUserNewsletterStatusRaw(requestParameters: AdminApiUpdateUserNewsletterStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1389
+ /**
1390
+ * Sets whether the user gets the seller newsletter, recorded as changed by the admin. The Mailchimp audience follows on the next sync.
1391
+ * Update the seller newsletter consent of a user
1392
+ */
1393
+ updateUserNewsletterStatus(requestParameters: AdminApiUpdateUserNewsletterStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1282
1394
  /**
1283
1395
  * Marks the account alias as verified, so it is shown on the landing pages instead of the official name. Also lifts a previous rejection.
1284
1396
  * Verify account alias