@lcdp/api-react-rest-client 2.1.2-develop.4312108229 → 2.1.2-develop.4364529993

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 (85) hide show
  1. package/auth/src/models/HttpLink.d.ts +1 -1
  2. package/auth/src/models/RestError.d.ts +6 -4
  3. package/auth/src/models/RestError.js +2 -0
  4. package/banking-operation/src/models/HttpLink.d.ts +1 -1
  5. package/configuration/src/models/RestError.d.ts +6 -4
  6. package/configuration/src/models/RestError.js +2 -0
  7. package/content/src/models/RestError.d.ts +6 -4
  8. package/content/src/models/RestError.js +2 -0
  9. package/factory/src/models/HttpLink.d.ts +1 -1
  10. package/favorite/src/models/HttpLink.d.ts +1 -1
  11. package/favorite/src/models/RestError.d.ts +6 -4
  12. package/favorite/src/models/RestError.js +2 -0
  13. package/inventory/src/models/HttpLink.d.ts +1 -1
  14. package/inventory/src/models/RestError.d.ts +6 -4
  15. package/inventory/src/models/RestError.js +2 -0
  16. package/invoice/src/models/HttpLink.d.ts +1 -1
  17. package/invoice/src/models/RestError.d.ts +6 -4
  18. package/invoice/src/models/RestError.js +2 -0
  19. package/laboratory-store/src/models/HttpLink.d.ts +1 -1
  20. package/laboratory-store/src/models/ImageVersions.d.ts +6 -6
  21. package/laboratory-store/src/models/RestError.d.ts +6 -4
  22. package/laboratory-store/src/models/RestError.js +2 -0
  23. package/laboratory-store-log/src/models/HttpLink.d.ts +1 -1
  24. package/lexicon/src/models/RestError.d.ts +6 -4
  25. package/lexicon/src/models/RestError.js +2 -0
  26. package/litigation/src/models/RestError.d.ts +6 -4
  27. package/litigation/src/models/RestError.js +2 -0
  28. package/magic-cart/src/models/HttpLink.d.ts +1 -1
  29. package/mangopay-hook/src/models/RestError.d.ts +6 -4
  30. package/mangopay-hook/src/models/RestError.js +2 -0
  31. package/message/src/models/HttpLink.d.ts +1 -1
  32. package/notification/src/models/HttpLink.d.ts +1 -1
  33. package/notification/src/models/RestError.d.ts +6 -4
  34. package/notification/src/models/RestError.js +2 -0
  35. package/order/src/models/HttpLink.d.ts +1 -1
  36. package/order/src/models/RestError.d.ts +6 -4
  37. package/order/src/models/RestError.js +2 -0
  38. package/order-log/src/models/HttpLink.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/product/src/models/HttpLink.d.ts +1 -1
  41. package/product/src/models/ImageVersions.d.ts +6 -6
  42. package/product/src/models/RestError.d.ts +6 -4
  43. package/product/src/models/RestError.js +2 -0
  44. package/pub/src/models/HttpLink.d.ts +1 -1
  45. package/pub/src/models/ImageVersions.d.ts +6 -6
  46. package/pub/src/models/RestError.d.ts +6 -4
  47. package/pub/src/models/RestError.js +2 -0
  48. package/recommendation/src/models/HttpLink.d.ts +1 -1
  49. package/rfx/src/models/HttpLink.d.ts +1 -1
  50. package/rfx/src/models/RestError.d.ts +6 -4
  51. package/rfx/src/models/RestError.js +2 -0
  52. package/sale-offer/src/models/HttpLink.d.ts +1 -1
  53. package/sale-offer/src/models/ImageVersions.d.ts +6 -6
  54. package/sale-offer/src/models/RestError.d.ts +6 -4
  55. package/sale-offer/src/models/RestError.js +2 -0
  56. package/sale-offer-log/src/models/HttpLink.d.ts +1 -1
  57. package/servant/src/models/RestError.d.ts +6 -4
  58. package/servant/src/models/RestError.js +2 -0
  59. package/shipment/src/models/HttpLink.d.ts +1 -1
  60. package/shipment/src/models/RestError.d.ts +6 -4
  61. package/shipment/src/models/RestError.js +2 -0
  62. package/shipment/src/models/Shipment.d.ts +3 -3
  63. package/shipment/src/models/Shipment.js +3 -3
  64. package/shipment/src/models/ShipmentLabels.d.ts +33 -0
  65. package/shipment/src/models/ShipmentLabels.js +44 -0
  66. package/shipment/src/models/index.d.ts +1 -0
  67. package/shipment/src/models/index.js +1 -0
  68. package/shopping-cart/src/models/HttpLink.d.ts +1 -1
  69. package/shopping-cart/src/models/RestError.d.ts +6 -4
  70. package/shopping-cart/src/models/RestError.js +2 -0
  71. package/statistic/src/models/HttpLink.d.ts +1 -1
  72. package/statistic/src/models/RestError.d.ts +6 -4
  73. package/statistic/src/models/RestError.js +2 -0
  74. package/subscription/src/models/HttpLink.d.ts +1 -1
  75. package/subscription/src/models/RestError.d.ts +6 -4
  76. package/subscription/src/models/RestError.js +2 -0
  77. package/thread/src/models/HttpLink.d.ts +1 -1
  78. package/ubo/src/models/RestError.d.ts +6 -4
  79. package/ubo/src/models/RestError.js +2 -0
  80. package/user/src/models/HttpLink.d.ts +1 -1
  81. package/user/src/models/RestError.d.ts +6 -4
  82. package/user/src/models/RestError.js +2 -0
  83. package/wish/src/models/HttpLink.d.ts +1 -1
  84. package/wish/src/models/RestError.d.ts +6 -4
  85. package/wish/src/models/RestError.js +2 -0
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.1.2-develop.4312108229",
3
+ "version": "2.1.2-develop.4364529993",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URL 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 256px, height computed with original image aspect ratio)
25
+ * URL 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 512px, height computed with original image aspect ratio)
31
+ * URL 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 1024px, height computed with original image aspect ratio)
37
+ * URL 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 2048px, height computed with original image aspect ratio)
43
+ * URL to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URI to S3 file (Original size)
49
+ * URL to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URL 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 256px, height computed with original image aspect ratio)
25
+ * URL 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 512px, height computed with original image aspect ratio)
31
+ * URL 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 1024px, height computed with original image aspect ratio)
37
+ * URL 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 2048px, height computed with original image aspect ratio)
43
+ * URL to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URI to S3 file (Original size)
49
+ * URL to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URL 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 256px, height computed with original image aspect ratio)
25
+ * URL 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 512px, height computed with original image aspect ratio)
31
+ * URL 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 1024px, height computed with original image aspect ratio)
37
+ * URL 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 2048px, height computed with original image aspect ratio)
43
+ * URL to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URI to S3 file (Original size)
49
+ * URL to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,7 +54,8 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018"
57
+ CODE018 = "CODE018",
58
+ CODE019 = "CODE019"
58
59
  }
59
60
  /**
60
61
  * @export
@@ -79,5 +80,6 @@ export declare enum RestErrorMessageEnum {
79
80
  MESSAGE015 = "Can not release quantity greater than claimed",
80
81
  MESSAGE016 = "Can not release a negative quantity of items",
81
82
  MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
83
+ MESSAGE018 = "Trial already used",
84
+ MESSAGE019 = "Unable to generate session from disposableToken for admin users"
83
85
  }
@@ -66,6 +66,7 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
+ RestErrorCodeEnum["CODE019"] = "CODE019";
69
70
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
71
  /**
71
72
  * @export
@@ -92,4 +93,5 @@ var RestErrorMessageEnum;
92
93
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
94
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
95
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
+ RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
95
97
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URI that is using http or https protocol
19
+ * Any URL that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */