@newsletterstudio/umbraco 15.0.0 → 15.0.4

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.
@@ -474,6 +474,24 @@ export type ImageEmailControlDataModel = {
474
474
  */
475
475
  aspectRatio: string;
476
476
  };
477
+ export type ImportFixedIssueRequestFrontendModel = {
478
+ recipient: ImportRecipientIssuesFrontendModel;
479
+ mailingListKey?: string | null;
480
+ workspaceKey?: string | null;
481
+ fieldMappings: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
482
+ /**
483
+ * Indicates if the import should overwrite data if the recipient already exists
484
+ */
485
+ updateExisting: boolean;
486
+ };
487
+ export type ImportRecipientIssuesFrontendModel = {
488
+ email: string;
489
+ firstname: string;
490
+ lastname: string;
491
+ fields: {
492
+ [key: string]: string;
493
+ };
494
+ };
477
495
  export type ImportRecipientIssuesValueFrontendModel = {
478
496
  email: string;
479
497
  firstname: string;
@@ -522,6 +540,10 @@ export type ImportRecipientsPerformFileImportRequestFrontendModel = {
522
540
  mailingListKey?: string | null;
523
541
  tempFile: string;
524
542
  fieldMappings: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
543
+ /**
544
+ * Indicates if the import should overwrite data if the recipient already exists
545
+ */
546
+ updateExisting: boolean;
525
547
  };
526
548
  export type ImportRecipientsResultsResponseFrontendModel = {
527
549
  total: number;
@@ -1565,7 +1587,7 @@ export type EmailEditorGetMacrosData = {
1565
1587
  };
1566
1588
  export type EmailEditorGetMacrosResponse = Array<ListItemIdAndLabelValueFrontendModel>;
1567
1589
  export type ImportRecipientsImportFixedIssueData = {
1568
- requestBody?: ImportRecipientIssuesValueFrontendModel;
1590
+ requestBody?: ImportFixedIssueRequestFrontendModel;
1569
1591
  };
1570
1592
  export type ImportRecipientsImportFixedIssueResponse = Array<number>;
1571
1593
  export type ImportRecipientsPerformFileImportData = {
@@ -23,11 +23,13 @@ export declare class NsCheckboxElement extends LitElement {
23
23
  */
24
24
  label: string;
25
25
  disabled: boolean;
26
+ description: string;
26
27
  _input: HTMLInputElement;
27
28
  connectedCallback(): Promise<void>;
28
29
  disconnectedCallback(): void;
29
30
  _handleChange(e: InputEvent): void;
30
31
  render(): import("lit-html").TemplateResult<1>;
32
+ renderLabel(): import("lit-html").TemplateResult<1>;
31
33
  static styles: import("lit").CSSResult[];
32
34
  }
33
35
  declare global {
@@ -16,6 +16,7 @@ export declare class NsMailingListImportModalElement extends NsMailingListImport
16
16
  errorMessagePerformImport?: string;
17
17
  step: 'upload' | 'mappings' | 'processing' | 'importing' | 'done';
18
18
  textValue: string;
19
+ updateExisting: boolean;
19
20
  /** Parsed mappings from server */
20
21
  mappings?: ImportRecipientsUploadFileAndParseForMappingResponse;
21
22
  importResult?: ImportRecipientsResultsResponseFrontendModel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newsletterstudio/umbraco",
3
3
  "private": false,
4
- "version": "15.0.0",
4
+ "version": "15.0.4",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": null,