@lcdp/api-react-rest-client 1.3.18-LDS-2686-publish-lcdp-api-as-one-react-s.2775 → 1.4.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.
@@ -26,6 +26,7 @@ export declare enum InvoiceType {
26
26
  ORDERCREDITNOTEBUYER = "ORDER_CREDIT_NOTE_BUYER",
27
27
  ORDERCREDITNOTESELLER = "ORDER_CREDIT_NOTE_SELLER",
28
28
  AGGREGATEDCOMMISSION = "AGGREGATED_COMMISSION",
29
+ AGGREGATEDCOMMISSIONCREDITNOTE = "AGGREGATED_COMMISSION_CREDIT_NOTE",
29
30
  EXTERNAL = "EXTERNAL"
30
31
  }
31
32
  export declare function InvoiceTypeFromJSON(json: any): InvoiceType;
@@ -32,6 +32,7 @@ var InvoiceType;
32
32
  InvoiceType["ORDERCREDITNOTEBUYER"] = "ORDER_CREDIT_NOTE_BUYER";
33
33
  InvoiceType["ORDERCREDITNOTESELLER"] = "ORDER_CREDIT_NOTE_SELLER";
34
34
  InvoiceType["AGGREGATEDCOMMISSION"] = "AGGREGATED_COMMISSION";
35
+ InvoiceType["AGGREGATEDCOMMISSIONCREDITNOTE"] = "AGGREGATED_COMMISSION_CREDIT_NOTE";
35
36
  InvoiceType["EXTERNAL"] = "EXTERNAL";
36
37
  })(InvoiceType = exports.InvoiceType || (exports.InvoiceType = {}));
37
38
  function InvoiceTypeFromJSON(json) {
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URI to S3 file (width 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URI to S3 file (width 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URI to S3 file (width 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URI to S3 file (width 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -50,7 +50,7 @@ export interface ImageVersions {
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
53
- original?: string;
53
+ original: string;
54
54
  }
55
55
  export declare function ImageVersionsFromJSON(json: any): ImageVersions;
56
56
  export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
@@ -29,7 +29,7 @@ function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
30
30
  'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
31
31
  'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
32
- 'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
32
+ 'original': json['original'],
33
33
  };
34
34
  }
35
35
  exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
@@ -35,6 +35,7 @@ export declare enum NotificationTypeId {
35
35
  DAILYMAIL = "DAILY_MAIL",
36
36
  DOCUMENTEXPIRE = "DOCUMENT_EXPIRE",
37
37
  GLOBALCOMMISSIONINVOICE = "GLOBAL_COMMISSION_INVOICE",
38
+ GLOBALCOMMISSIONCREDITNOTEINVOICE = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE",
38
39
  MONTHLYEMAILFORACCOUNTANT = "MONTHLY_EMAIL_FOR_ACCOUNTANT",
39
40
  ORDERACCEPTATIONDELAY = "ORDER_ACCEPTATION_DELAY",
40
41
  ORDERACCEPTED = "ORDER_ACCEPTED",
@@ -41,6 +41,7 @@ var NotificationTypeId;
41
41
  NotificationTypeId["DAILYMAIL"] = "DAILY_MAIL";
42
42
  NotificationTypeId["DOCUMENTEXPIRE"] = "DOCUMENT_EXPIRE";
43
43
  NotificationTypeId["GLOBALCOMMISSIONINVOICE"] = "GLOBAL_COMMISSION_INVOICE";
44
+ NotificationTypeId["GLOBALCOMMISSIONCREDITNOTEINVOICE"] = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
44
45
  NotificationTypeId["MONTHLYEMAILFORACCOUNTANT"] = "MONTHLY_EMAIL_FOR_ACCOUNTANT";
45
46
  NotificationTypeId["ORDERACCEPTATIONDELAY"] = "ORDER_ACCEPTATION_DELAY";
46
47
  NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "1.3.18-LDS-2686-publish-lcdp-api-as-one-react-s.2775",
3
+ "version": "1.4.0",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URI to S3 file (width 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URI to S3 file (width 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URI to S3 file (width 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URI to S3 file (width 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -50,7 +50,7 @@ export interface ImageVersions {
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
53
- original?: string;
53
+ original: string;
54
54
  }
55
55
  export declare function ImageVersionsFromJSON(json: any): ImageVersions;
56
56
  export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
@@ -29,7 +29,7 @@ function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
30
30
  'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
31
31
  'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
32
- 'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
32
+ 'original': json['original'],
33
33
  };
34
34
  }
35
35
  exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
@@ -21,19 +21,19 @@ export interface Image {
21
21
  * @type {number}
22
22
  * @memberof Image
23
23
  */
24
- id?: number;
24
+ id: number;
25
25
  /**
26
26
  * Image is active
27
27
  * @type {boolean}
28
28
  * @memberof Image
29
29
  */
30
- active?: boolean;
30
+ active: boolean;
31
31
  /**
32
32
  *
33
33
  * @type {ImageVersions}
34
34
  * @memberof Image
35
35
  */
36
- versions?: ImageVersions;
36
+ versions: ImageVersions;
37
37
  }
38
38
  export declare function ImageFromJSON(json: any): Image;
39
39
  export declare function ImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Image;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ImageToJSON = exports.ImageFromJSONTyped = exports.ImageFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
17
  var ImageVersions_1 = require("./ImageVersions");
19
18
  function ImageFromJSON(json) {
20
19
  return ImageFromJSONTyped(json, false);
@@ -25,9 +24,9 @@ function ImageFromJSONTyped(json, ignoreDiscriminator) {
25
24
  return json;
26
25
  }
27
26
  return {
28
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
29
- 'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
30
- 'versions': !(0, runtime_1.exists)(json, 'versions') ? undefined : (0, ImageVersions_1.ImageVersionsFromJSON)(json['versions']),
27
+ 'id': json['id'],
28
+ 'active': json['active'],
29
+ 'versions': (0, ImageVersions_1.ImageVersionsFromJSON)(json['versions']),
31
30
  };
32
31
  }
33
32
  exports.ImageFromJSONTyped = ImageFromJSONTyped;
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URI to S3 file (width 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URI to S3 file (width 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URI to S3 file (width 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URI to S3 file (width 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -50,7 +50,7 @@ export interface ImageVersions {
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
53
- original?: string;
53
+ original: string;
54
54
  }
55
55
  export declare function ImageVersionsFromJSON(json: any): ImageVersions;
56
56
  export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
@@ -29,7 +29,7 @@ function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
30
30
  'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
31
31
  'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
32
- 'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
32
+ 'original': json['original'],
33
33
  };
34
34
  }
35
35
  exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
@@ -24,13 +24,13 @@ export interface Pub {
24
24
  * @type {number}
25
25
  * @memberof Pub
26
26
  */
27
- id?: number;
27
+ id: number;
28
28
  /**
29
29
  * Pub name
30
30
  * @type {string}
31
31
  * @memberof Pub
32
32
  */
33
- name?: string | null;
33
+ name: string | null;
34
34
  /**
35
35
  * Analytic tag to collect number of clic on the pub
36
36
  * @type {string}
@@ -48,13 +48,13 @@ export interface Pub {
48
48
  * @type {HttpLink}
49
49
  * @memberof Pub
50
50
  */
51
- location?: HttpLink;
51
+ location: HttpLink;
52
52
  /**
53
53
  * Value is \'True\' if pub is activated, \'False\' if not
54
54
  * @type {boolean}
55
55
  * @memberof Pub
56
56
  */
57
- active?: boolean;
57
+ active: boolean;
58
58
  /**
59
59
  *
60
60
  * @type {PubSchedule}
@@ -78,7 +78,7 @@ export interface Pub {
78
78
  * @type {HttpLink}
79
79
  * @memberof Pub
80
80
  */
81
- target?: HttpLink;
81
+ target: HttpLink;
82
82
  /**
83
83
  * Total click count
84
84
  * @type {number}
@@ -96,13 +96,13 @@ export interface Pub {
96
96
  * @type {Date}
97
97
  * @memberof Pub
98
98
  */
99
- createdAt?: Date;
99
+ createdAt: Date;
100
100
  /**
101
101
  * Last update date of this pub
102
102
  * @type {Date}
103
103
  * @memberof Pub
104
104
  */
105
- updatedAt?: Date;
105
+ updatedAt: Date;
106
106
  }
107
107
  export declare function PubFromJSON(json: any): Pub;
108
108
  export declare function PubFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pub;
@@ -28,20 +28,20 @@ function PubFromJSONTyped(json, ignoreDiscriminator) {
28
28
  return json;
29
29
  }
30
30
  return {
31
- 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
32
- 'name': !(0, runtime_1.exists)(json, 'name') ? json['name'] : json['name'],
31
+ 'id': json['id'],
32
+ 'name': json['name'],
33
33
  'analyticTag': !(0, runtime_1.exists)(json, 'analyticTag') ? undefined : json['analyticTag'],
34
34
  'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
35
- 'location': !(0, runtime_1.exists)(json, 'location') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
36
- 'active': !(0, runtime_1.exists)(json, 'active') ? undefined : json['active'],
35
+ 'location': (0, HttpLink_1.HttpLinkFromJSON)(json['location']),
36
+ 'active': json['active'],
37
37
  'schedule': !(0, runtime_1.exists)(json, 'schedule') ? undefined : (0, PubSchedule_1.PubScheduleFromJSON)(json['schedule']),
38
38
  'timecard': !(0, runtime_1.exists)(json, 'timecard') ? undefined : (0, PubTimecard_1.PubTimecardFromJSON)(json['timecard']),
39
39
  'image': !(0, runtime_1.exists)(json, 'image') ? undefined : (0, Image_1.ImageFromJSON)(json['image']),
40
- 'target': !(0, runtime_1.exists)(json, 'target') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
40
+ 'target': (0, HttpLink_1.HttpLinkFromJSON)(json['target']),
41
41
  'clickCount': !(0, runtime_1.exists)(json, 'clickCount') ? undefined : json['clickCount'],
42
42
  'statistics': !(0, runtime_1.exists)(json, 'statistics') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['statistics']),
43
- 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
44
- 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
43
+ 'createdAt': (new Date(json['createdAt'])),
44
+ 'updatedAt': (new Date(json['updatedAt'])),
45
45
  };
46
46
  }
47
47
  exports.PubFromJSONTyped = PubFromJSONTyped;
@@ -65,8 +65,8 @@ function PubToJSON(value) {
65
65
  'target': (0, HttpLink_1.HttpLinkToJSON)(value.target),
66
66
  'clickCount': value.clickCount,
67
67
  'statistics': (0, HttpLink_1.HttpLinkToJSON)(value.statistics),
68
- 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
69
- 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
68
+ 'createdAt': (value.createdAt.toISOString()),
69
+ 'updatedAt': (value.updatedAt.toISOString()),
70
70
  };
71
71
  }
72
72
  exports.PubToJSON = PubToJSON;
@@ -15,7 +15,9 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum PubLocationEnum {
18
- DASHBOARD = "DASHBOARD"
18
+ DASHBOARD = "DASHBOARD",
19
+ MAINMENU = "MAINMENU",
20
+ SEARCH = "SEARCH"
19
21
  }
20
22
  export declare function PubLocationEnumFromJSON(json: any): PubLocationEnum;
21
23
  export declare function PubLocationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PubLocationEnum;
@@ -22,6 +22,8 @@ exports.PubLocationEnumToJSON = exports.PubLocationEnumFromJSONTyped = exports.P
22
22
  var PubLocationEnum;
23
23
  (function (PubLocationEnum) {
24
24
  PubLocationEnum["DASHBOARD"] = "DASHBOARD";
25
+ PubLocationEnum["MAINMENU"] = "MAINMENU";
26
+ PubLocationEnum["SEARCH"] = "SEARCH";
25
27
  })(PubLocationEnum = exports.PubLocationEnum || (exports.PubLocationEnum = {}));
26
28
  function PubLocationEnumFromJSON(json) {
27
29
  return PubLocationEnumFromJSONTyped(json, false);
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URI to S3 file (width 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URI to S3 file (width 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URI to S3 file (width 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URI to S3 file (width 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -50,7 +50,7 @@ export interface ImageVersions {
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
53
- original?: string;
53
+ original: string;
54
54
  }
55
55
  export declare function ImageVersionsFromJSON(json: any): ImageVersions;
56
56
  export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
@@ -29,7 +29,7 @@ function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
30
30
  'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
31
31
  'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
32
- 'original': !(0, runtime_1.exists)(json, 'original') ? undefined : json['original'],
32
+ 'original': json['original'],
33
33
  };
34
34
  }
35
35
  exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
@@ -35,6 +35,7 @@ export declare enum NotificationTypeId {
35
35
  DAILYMAIL = "DAILY_MAIL",
36
36
  DOCUMENTEXPIRE = "DOCUMENT_EXPIRE",
37
37
  GLOBALCOMMISSIONINVOICE = "GLOBAL_COMMISSION_INVOICE",
38
+ GLOBALCOMMISSIONCREDITNOTEINVOICE = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE",
38
39
  MONTHLYEMAILFORACCOUNTANT = "MONTHLY_EMAIL_FOR_ACCOUNTANT",
39
40
  ORDERACCEPTATIONDELAY = "ORDER_ACCEPTATION_DELAY",
40
41
  ORDERACCEPTED = "ORDER_ACCEPTED",
@@ -41,6 +41,7 @@ var NotificationTypeId;
41
41
  NotificationTypeId["DAILYMAIL"] = "DAILY_MAIL";
42
42
  NotificationTypeId["DOCUMENTEXPIRE"] = "DOCUMENT_EXPIRE";
43
43
  NotificationTypeId["GLOBALCOMMISSIONINVOICE"] = "GLOBAL_COMMISSION_INVOICE";
44
+ NotificationTypeId["GLOBALCOMMISSIONCREDITNOTEINVOICE"] = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
44
45
  NotificationTypeId["MONTHLYEMAILFORACCOUNTANT"] = "MONTHLY_EMAIL_FOR_ACCOUNTANT";
45
46
  NotificationTypeId["ORDERACCEPTATIONDELAY"] = "ORDER_ACCEPTATION_DELAY";
46
47
  NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";