@lilaquadrat/interfaces 1.18.1 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.19.0](https://github.com/lilaquadrat/interfaces/compare/v1.18.1...v1.19.0) (2025-02-07)
6
+
7
+
8
+ ### Features
9
+
10
+ * **customerimportresult:** added customerimportresult ([f3bf329](https://github.com/lilaquadrat/interfaces/commit/f3bf3296038f4ea30cbb8894f1c62a21af981470))
11
+
5
12
  ### [1.18.1](https://github.com/lilaquadrat/interfaces/compare/v1.18.0...v1.18.1) (2025-02-02)
6
13
 
7
14
 
@@ -0,0 +1,19 @@
1
+ import { ErrorObject } from "ajv";
2
+ import { ObjectIdString } from "./ObjectIdString";
3
+ export interface CustomerImportResult {
4
+ duplicateEmails: string[];
5
+ statistics: {
6
+ success: number;
7
+ skipped: number;
8
+ error: number;
9
+ };
10
+ responses: {
11
+ email: string;
12
+ _id?: ObjectIdString;
13
+ id?: string;
14
+ error?: {
15
+ message: string;
16
+ errors: ErrorObject[];
17
+ };
18
+ }[];
19
+ }
@@ -37,6 +37,7 @@ export * from './CreateResult';
37
37
  export * from './CustomerAccounts';
38
38
  export * from './CustomerBase';
39
39
  export * from './CustomerCompany';
40
+ export * from './CustomerImportResult';
40
41
  export * from './CustomerMinimal';
41
42
  export * from './CustomerPerson';
42
43
  export * from './CustomerPersonWithAddress';
@@ -0,0 +1,19 @@
1
+ import { ErrorObject } from "ajv";
2
+ import { ObjectIdString } from "./ObjectIdString";
3
+ export interface CustomerImportResult {
4
+ duplicateEmails: string[];
5
+ statistics: {
6
+ success: number;
7
+ skipped: number;
8
+ error: number;
9
+ };
10
+ responses: {
11
+ email: string;
12
+ _id?: ObjectIdString;
13
+ id?: string;
14
+ error?: {
15
+ message: string;
16
+ errors: ErrorObject[];
17
+ };
18
+ }[];
19
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CustomerImportResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerImportResult.js","sourceRoot":"","sources":["../../src/CustomerImportResult.ts"],"names":[],"mappings":""}
@@ -37,6 +37,7 @@ export * from './CreateResult';
37
37
  export * from './CustomerAccounts';
38
38
  export * from './CustomerBase';
39
39
  export * from './CustomerCompany';
40
+ export * from './CustomerImportResult';
40
41
  export * from './CustomerMinimal';
41
42
  export * from './CustomerPerson';
42
43
  export * from './CustomerPersonWithAddress';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lilaquadrat/interfaces",
3
- "version": "1.18.1",
3
+ "version": "1.19.0",
4
4
  "description": "interfaces in context of lilaquadrat STUDIO",
5
5
  "author": {
6
6
  "email": "m.schuebel@lila2.de",
@@ -0,0 +1,20 @@
1
+ import { ErrorObject } from "ajv"
2
+ import { ObjectIdString } from "./ObjectIdString"
3
+
4
+ export interface CustomerImportResult {
5
+ duplicateEmails: string[]
6
+ statistics: {
7
+ success: number
8
+ skipped: number
9
+ error: number
10
+ }
11
+ responses: {
12
+ email: string
13
+ _id?: ObjectIdString
14
+ id?: string
15
+ error?: {
16
+ message: string
17
+ errors: ErrorObject[]
18
+ }
19
+ }[]
20
+ }