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

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 (103) hide show
  1. package/auth/src/models/HttpLink.d.ts +1 -1
  2. package/auth/src/models/RestError.d.ts +4 -6
  3. package/auth/src/models/RestError.js +0 -2
  4. package/banking-operation/src/models/HttpLink.d.ts +1 -1
  5. package/configuration/src/models/RestError.d.ts +4 -6
  6. package/configuration/src/models/RestError.js +0 -2
  7. package/content/src/models/RestError.d.ts +4 -6
  8. package/content/src/models/RestError.js +0 -2
  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 +4 -6
  12. package/favorite/src/models/RestError.js +0 -2
  13. package/inventory/src/models/HttpLink.d.ts +1 -1
  14. package/inventory/src/models/RestError.d.ts +4 -6
  15. package/inventory/src/models/RestError.js +0 -2
  16. package/invoice/src/models/HttpLink.d.ts +1 -1
  17. package/invoice/src/models/RestError.d.ts +4 -6
  18. package/invoice/src/models/RestError.js +0 -2
  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 +4 -6
  22. package/laboratory-store/src/models/RestError.js +0 -2
  23. package/laboratory-store-log/src/models/HttpLink.d.ts +1 -1
  24. package/lexicon/src/models/RestError.d.ts +4 -6
  25. package/lexicon/src/models/RestError.js +0 -2
  26. package/litigation/src/models/RestError.d.ts +4 -6
  27. package/litigation/src/models/RestError.js +0 -2
  28. package/magic-cart/src/models/HttpLink.d.ts +1 -1
  29. package/mangopay-hook/src/models/RestError.d.ts +4 -6
  30. package/mangopay-hook/src/models/RestError.js +0 -2
  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 +4 -6
  34. package/notification/src/models/RestError.js +0 -2
  35. package/order/src/models/HttpLink.d.ts +1 -1
  36. package/order/src/models/MetaOrder.d.ts +6 -6
  37. package/order/src/models/MetaOrder.js +8 -7
  38. package/order/src/models/MetaOrderPrices.d.ts +9 -9
  39. package/order/src/models/MetaOrderPrices.js +10 -9
  40. package/order/src/models/MetaOrderWarning.d.ts +5 -5
  41. package/order/src/models/MetaOrderWarning.js +4 -4
  42. package/order/src/models/Order.d.ts +28 -28
  43. package/order/src/models/Order.js +31 -31
  44. package/order/src/models/OrderItemPrices.d.ts +1 -1
  45. package/order/src/models/OrderItemPrices.js +2 -2
  46. package/order/src/models/RestError.d.ts +4 -6
  47. package/order/src/models/RestError.js +0 -2
  48. package/order-log/src/models/HttpLink.d.ts +1 -1
  49. package/package.json +1 -1
  50. package/product/src/models/HttpLink.d.ts +1 -1
  51. package/product/src/models/ImageVersions.d.ts +6 -6
  52. package/product/src/models/RestError.d.ts +4 -6
  53. package/product/src/models/RestError.js +0 -2
  54. package/pub/src/models/HttpLink.d.ts +1 -1
  55. package/pub/src/models/ImageVersions.d.ts +6 -6
  56. package/pub/src/models/RestError.d.ts +4 -6
  57. package/pub/src/models/RestError.js +0 -2
  58. package/recommendation/src/models/HttpLink.d.ts +1 -1
  59. package/rfx/src/models/HttpLink.d.ts +1 -1
  60. package/rfx/src/models/RestError.d.ts +4 -6
  61. package/rfx/src/models/RestError.js +0 -2
  62. package/sale-offer/src/models/HttpLink.d.ts +1 -1
  63. package/sale-offer/src/models/ImageVersions.d.ts +6 -6
  64. package/sale-offer/src/models/RestError.d.ts +4 -6
  65. package/sale-offer/src/models/RestError.js +0 -2
  66. package/sale-offer-log/src/models/HttpLink.d.ts +1 -1
  67. package/servant/src/models/RestError.d.ts +4 -6
  68. package/servant/src/models/RestError.js +0 -2
  69. package/shipment/src/models/HttpLink.d.ts +1 -1
  70. package/shipment/src/models/RestError.d.ts +4 -6
  71. package/shipment/src/models/RestError.js +0 -2
  72. package/shipment/src/models/Shipment.d.ts +3 -3
  73. package/shipment/src/models/Shipment.js +3 -3
  74. package/shipment/src/models/index.d.ts +0 -1
  75. package/shipment/src/models/index.js +0 -1
  76. package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +2 -15
  77. package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -18
  78. package/shopping-cart/src/models/CartSubCart.d.ts +7 -13
  79. package/shopping-cart/src/models/CartSubCart.js +8 -9
  80. package/shopping-cart/src/models/CartSubCartLine.d.ts +5 -5
  81. package/shopping-cart/src/models/CartSubCartLine.js +5 -5
  82. package/shopping-cart/src/models/CartSubCartTransport.d.ts +4 -10
  83. package/shopping-cart/src/models/CartSubCartTransport.js +4 -5
  84. package/shopping-cart/src/models/HttpLink.d.ts +1 -1
  85. package/shopping-cart/src/models/RestError.d.ts +4 -6
  86. package/shopping-cart/src/models/RestError.js +0 -2
  87. package/statistic/src/models/HttpLink.d.ts +1 -1
  88. package/statistic/src/models/RestError.d.ts +4 -6
  89. package/statistic/src/models/RestError.js +0 -2
  90. package/subscription/src/models/HttpLink.d.ts +1 -1
  91. package/subscription/src/models/RestError.d.ts +4 -6
  92. package/subscription/src/models/RestError.js +0 -2
  93. package/thread/src/models/HttpLink.d.ts +1 -1
  94. package/ubo/src/models/RestError.d.ts +4 -6
  95. package/ubo/src/models/RestError.js +0 -2
  96. package/user/src/models/HttpLink.d.ts +1 -1
  97. package/user/src/models/RestError.d.ts +4 -6
  98. package/user/src/models/RestError.js +0 -2
  99. package/wish/src/models/HttpLink.d.ts +1 -1
  100. package/wish/src/models/RestError.d.ts +4 -6
  101. package/wish/src/models/RestError.js +0 -2
  102. package/shipment/src/models/ShipmentLabels.d.ts +0 -33
  103. package/shipment/src/models/ShipmentLabels.js +0 -44
@@ -32,34 +32,34 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'reference': json['reference'],
36
- 'type': (0, OrderType_1.OrderTypeFromJSON)(json['type']),
37
- 'status': (0, OrderStatus_1.OrderStatusFromJSON)(json['status']),
38
- 'accepted': json['accepted'],
39
- 'paused': json['paused'],
40
- 'inLitigation': json['inLitigation'],
41
- 'estimatedDeliveryDate': (json['estimatedDeliveryDate'] === null ? null : new Date(json['estimatedDeliveryDate'])),
42
- 'deliveryConfirmed': json['deliveryConfirmed'],
43
- 'deliveryVoucher': (0, HttpLink_1.HttpLinkFromJSON)(json['deliveryVoucher']),
44
- 'createdAt': (new Date(json['createdAt'])),
45
- 'seller': (0, UserLink_1.UserLinkFromJSON)(json['seller']),
46
- 'buyer': (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
47
- 'shippingAddress': (0, Address_1.AddressFromJSON)(json['shippingAddress']),
48
- 'billingAddress': (0, Address_1.AddressFromJSON)(json['billingAddress']),
49
- 'shipments': (0, HttpLink_1.HttpLinkFromJSON)(json['shipments']),
50
- 'maxShipment': json['maxShipment'],
51
- 'maxShippingDate': (new Date(json['maxShippingDate'])),
52
- 'maxParcelPerShipment': json['maxParcelPerShipment'],
53
- 'prices': (0, OrderPrices_1.OrderPricesFromJSON)(json['prices']),
54
- 'items': (0, HttpLink_1.HttpLinkFromJSON)(json['items']),
55
- 'addedItems': (0, HttpLink_1.HttpLinkFromJSON)(json['addedItems']),
56
- 'removedItems': (0, HttpLink_1.HttpLinkFromJSON)(json['removedItems']),
57
- 'refundedItems': (0, HttpLink_1.HttpLinkFromJSON)(json['refundedItems']),
58
- 'threads': (0, OrderThreads_1.OrderThreadsFromJSON)(json['threads']),
59
- 'anomalies': (0, Anomalies_1.AnomaliesFromJSON)(json['anomalies']),
60
- 'reservations': (0, HttpLink_1.HttpLinkFromJSON)(json['reservations']),
61
- 'availableItemsOperations': (0, HttpLink_1.HttpLinkFromJSON)(json['availableItemsOperations']),
62
- 'tags': json['tags'],
35
+ 'reference': !(0, runtime_1.exists)(json, 'reference') ? undefined : json['reference'],
36
+ 'type': !(0, runtime_1.exists)(json, 'type') ? undefined : (0, OrderType_1.OrderTypeFromJSON)(json['type']),
37
+ 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : (0, OrderStatus_1.OrderStatusFromJSON)(json['status']),
38
+ 'accepted': !(0, runtime_1.exists)(json, 'accepted') ? undefined : json['accepted'],
39
+ 'paused': !(0, runtime_1.exists)(json, 'paused') ? undefined : json['paused'],
40
+ 'inLitigation': !(0, runtime_1.exists)(json, 'inLitigation') ? undefined : json['inLitigation'],
41
+ 'estimatedDeliveryDate': !(0, runtime_1.exists)(json, 'estimatedDeliveryDate') ? json['estimatedDeliveryDate'] : (new Date(json['estimatedDeliveryDate'])),
42
+ 'deliveryConfirmed': !(0, runtime_1.exists)(json, 'deliveryConfirmed') ? undefined : json['deliveryConfirmed'],
43
+ 'deliveryVoucher': !(0, runtime_1.exists)(json, 'deliveryVoucher') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['deliveryVoucher']),
44
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
45
+ 'seller': !(0, runtime_1.exists)(json, 'seller') ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
46
+ 'buyer': !(0, runtime_1.exists)(json, 'buyer') ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
47
+ 'shippingAddress': !(0, runtime_1.exists)(json, 'shippingAddress') ? undefined : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
48
+ 'billingAddress': !(0, runtime_1.exists)(json, 'billingAddress') ? undefined : (0, Address_1.AddressFromJSON)(json['billingAddress']),
49
+ 'shipments': !(0, runtime_1.exists)(json, 'shipments') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['shipments']),
50
+ 'maxShipment': !(0, runtime_1.exists)(json, 'maxShipment') ? undefined : json['maxShipment'],
51
+ 'maxShippingDate': !(0, runtime_1.exists)(json, 'maxShippingDate') ? undefined : (new Date(json['maxShippingDate'])),
52
+ 'maxParcelPerShipment': !(0, runtime_1.exists)(json, 'maxParcelPerShipment') ? undefined : json['maxParcelPerShipment'],
53
+ 'prices': !(0, runtime_1.exists)(json, 'prices') ? undefined : (0, OrderPrices_1.OrderPricesFromJSON)(json['prices']),
54
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['items']),
55
+ 'addedItems': !(0, runtime_1.exists)(json, 'addedItems') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['addedItems']),
56
+ 'removedItems': !(0, runtime_1.exists)(json, 'removedItems') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['removedItems']),
57
+ 'refundedItems': !(0, runtime_1.exists)(json, 'refundedItems') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['refundedItems']),
58
+ 'threads': !(0, runtime_1.exists)(json, 'threads') ? undefined : (0, OrderThreads_1.OrderThreadsFromJSON)(json['threads']),
59
+ 'anomalies': !(0, runtime_1.exists)(json, 'anomalies') ? undefined : (0, Anomalies_1.AnomaliesFromJSON)(json['anomalies']),
60
+ 'reservations': !(0, runtime_1.exists)(json, 'reservations') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['reservations']),
61
+ 'availableItemsOperations': !(0, runtime_1.exists)(json, 'availableItemsOperations') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['availableItemsOperations']),
62
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
63
63
  };
64
64
  }
65
65
  exports.OrderFromJSONTyped = OrderFromJSONTyped;
@@ -77,17 +77,17 @@ function OrderToJSON(value) {
77
77
  'accepted': value.accepted,
78
78
  'paused': value.paused,
79
79
  'inLitigation': value.inLitigation,
80
- 'estimatedDeliveryDate': (value.estimatedDeliveryDate === null ? null : (0, runtime_1.toDateISOString)(value.estimatedDeliveryDate)),
80
+ 'estimatedDeliveryDate': value.estimatedDeliveryDate === undefined ? undefined : (value.estimatedDeliveryDate === null ? null : (0, runtime_1.toDateISOString)(value.estimatedDeliveryDate)),
81
81
  'deliveryConfirmed': value.deliveryConfirmed,
82
82
  'deliveryVoucher': (0, HttpLink_1.HttpLinkToJSON)(value.deliveryVoucher),
83
- 'createdAt': (value.createdAt.toISOString()),
83
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
84
84
  'seller': (0, UserLink_1.UserLinkToJSON)(value.seller),
85
85
  'buyer': (0, UserLink_1.UserLinkToJSON)(value.buyer),
86
86
  'shippingAddress': (0, Address_1.AddressToJSON)(value.shippingAddress),
87
87
  'billingAddress': (0, Address_1.AddressToJSON)(value.billingAddress),
88
88
  'shipments': (0, HttpLink_1.HttpLinkToJSON)(value.shipments),
89
89
  'maxShipment': value.maxShipment,
90
- 'maxShippingDate': ((0, runtime_1.toDateISOString)(value.maxShippingDate)),
90
+ 'maxShippingDate': value.maxShippingDate === undefined ? undefined : ((0, runtime_1.toDateISOString)(value.maxShippingDate)),
91
91
  'maxParcelPerShipment': value.maxParcelPerShipment,
92
92
  'prices': (0, OrderPrices_1.OrderPricesToJSON)(value.prices),
93
93
  'items': (0, HttpLink_1.HttpLinkToJSON)(value.items),
@@ -20,7 +20,7 @@ export interface OrderItemPrices {
20
20
  * @type {number}
21
21
  * @memberof OrderItemPrices
22
22
  */
23
- discountedUnitPriceExcludingTaxes?: number;
23
+ dicountedUnitPriceExcludingTaxes?: number;
24
24
  /**
25
25
  * Total price excluding taxes for this meta-order
26
26
  * @type {number}
@@ -24,7 +24,7 @@ function OrderItemPricesFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'discountedUnitPriceExcludingTaxes': !(0, runtime_1.exists)(json, 'discountedUnitPriceExcludingTaxes') ? undefined : json['discountedUnitPriceExcludingTaxes'],
27
+ 'dicountedUnitPriceExcludingTaxes': !(0, runtime_1.exists)(json, 'dicountedUnitPriceExcludingTaxes') ? undefined : json['dicountedUnitPriceExcludingTaxes'],
28
28
  'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
29
29
  'totalTaxes': !(0, runtime_1.exists)(json, 'totalTaxes') ? undefined : json['totalTaxes'],
30
30
  'totalIncludingTaxes': !(0, runtime_1.exists)(json, 'totalIncludingTaxes') ? undefined : json['totalIncludingTaxes'],
@@ -40,7 +40,7 @@ function OrderItemPricesToJSON(value) {
40
40
  return null;
41
41
  }
42
42
  return {
43
- 'discountedUnitPriceExcludingTaxes': value.discountedUnitPriceExcludingTaxes,
43
+ 'dicountedUnitPriceExcludingTaxes': value.dicountedUnitPriceExcludingTaxes,
44
44
  'totalExcludingTaxes': value.totalExcludingTaxes,
45
45
  'totalTaxes': value.totalTaxes,
46
46
  'totalIncludingTaxes': value.totalIncludingTaxes,
@@ -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 * `CODE019` - Unable to generate session from disposableToken for admin users
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
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 * `MESSAGE019` - Unable to generate session from disposableToken for admin users
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,8 +54,7 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018",
58
- CODE019 = "CODE019"
57
+ CODE018 = "CODE018"
59
58
  }
60
59
  /**
61
60
  * @export
@@ -80,6 +79,5 @@ export declare enum RestErrorMessageEnum {
80
79
  MESSAGE015 = "Can not release quantity greater than claimed",
81
80
  MESSAGE016 = "Can not release a negative quantity of items",
82
81
  MESSAGE017 = "Batch is forbidden for sale",
83
- MESSAGE018 = "Trial already used",
84
- MESSAGE019 = "Unable to generate session from disposableToken for admin users"
82
+ MESSAGE018 = "Trial already used"
85
83
  }
@@ -66,7 +66,6 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
- RestErrorCodeEnum["CODE019"] = "CODE019";
70
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
71
70
  /**
72
71
  * @export
@@ -93,5 +92,4 @@ var RestErrorMessageEnum;
93
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
94
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
95
94
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
- RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
97
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI 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.4429389349",
3
+ "version": "2.1.2",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI 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
- * URL to S3 file (width 128px, 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
- * URL to S3 file (width 256px, 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
- * URL to S3 file (width 512px, 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
- * URL to S3 file (width 1024px, 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
- * URL to S3 file (width 2048px, 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
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI 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 * `CODE019` - Unable to generate session from disposableToken for admin users
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
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 * `MESSAGE019` - Unable to generate session from disposableToken for admin users
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,8 +54,7 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018",
58
- CODE019 = "CODE019"
57
+ CODE018 = "CODE018"
59
58
  }
60
59
  /**
61
60
  * @export
@@ -80,6 +79,5 @@ export declare enum RestErrorMessageEnum {
80
79
  MESSAGE015 = "Can not release quantity greater than claimed",
81
80
  MESSAGE016 = "Can not release a negative quantity of items",
82
81
  MESSAGE017 = "Batch is forbidden for sale",
83
- MESSAGE018 = "Trial already used",
84
- MESSAGE019 = "Unable to generate session from disposableToken for admin users"
82
+ MESSAGE018 = "Trial already used"
85
83
  }
@@ -66,7 +66,6 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
- RestErrorCodeEnum["CODE019"] = "CODE019";
70
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
71
70
  /**
72
71
  * @export
@@ -93,5 +92,4 @@ var RestErrorMessageEnum;
93
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
94
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
95
94
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
- RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
97
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI 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
- * URL to S3 file (width 128px, 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
- * URL to S3 file (width 256px, 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
- * URL to S3 file (width 512px, 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
- * URL to S3 file (width 1024px, 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
- * URL to S3 file (width 2048px, 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
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI 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 * `CODE019` - Unable to generate session from disposableToken for admin users
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
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 * `MESSAGE019` - Unable to generate session from disposableToken for admin users
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,8 +54,7 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018",
58
- CODE019 = "CODE019"
57
+ CODE018 = "CODE018"
59
58
  }
60
59
  /**
61
60
  * @export
@@ -80,6 +79,5 @@ export declare enum RestErrorMessageEnum {
80
79
  MESSAGE015 = "Can not release quantity greater than claimed",
81
80
  MESSAGE016 = "Can not release a negative quantity of items",
82
81
  MESSAGE017 = "Batch is forbidden for sale",
83
- MESSAGE018 = "Trial already used",
84
- MESSAGE019 = "Unable to generate session from disposableToken for admin users"
82
+ MESSAGE018 = "Trial already used"
85
83
  }
@@ -66,7 +66,6 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
- RestErrorCodeEnum["CODE019"] = "CODE019";
70
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
71
70
  /**
72
71
  * @export
@@ -93,5 +92,4 @@ var RestErrorMessageEnum;
93
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
94
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
95
94
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
- RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
97
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI 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 URL that is using http or https protocol
19
+ * Any URI 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 * `CODE019` - Unable to generate session from disposableToken for admin users
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
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 * `MESSAGE019` - Unable to generate session from disposableToken for admin users
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,8 +54,7 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018",
58
- CODE019 = "CODE019"
57
+ CODE018 = "CODE018"
59
58
  }
60
59
  /**
61
60
  * @export
@@ -80,6 +79,5 @@ export declare enum RestErrorMessageEnum {
80
79
  MESSAGE015 = "Can not release quantity greater than claimed",
81
80
  MESSAGE016 = "Can not release a negative quantity of items",
82
81
  MESSAGE017 = "Batch is forbidden for sale",
83
- MESSAGE018 = "Trial already used",
84
- MESSAGE019 = "Unable to generate session from disposableToken for admin users"
82
+ MESSAGE018 = "Trial already used"
85
83
  }
@@ -66,7 +66,6 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
- RestErrorCodeEnum["CODE019"] = "CODE019";
70
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
71
70
  /**
72
71
  * @export
@@ -93,5 +92,4 @@ var RestErrorMessageEnum;
93
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
94
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
95
94
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
- RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
97
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI 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
- * URL to S3 file (width 128px, 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
- * URL to S3 file (width 256px, 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
- * URL to S3 file (width 512px, 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
- * URL to S3 file (width 1024px, 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
- * URL to S3 file (width 2048px, 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
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI 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 * `CODE019` - Unable to generate session from disposableToken for admin users
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
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 * `MESSAGE019` - Unable to generate session from disposableToken for admin users
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -54,8 +54,7 @@ export declare enum RestErrorCodeEnum {
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
56
  CODE017 = "CODE017",
57
- CODE018 = "CODE018",
58
- CODE019 = "CODE019"
57
+ CODE018 = "CODE018"
59
58
  }
60
59
  /**
61
60
  * @export
@@ -80,6 +79,5 @@ export declare enum RestErrorMessageEnum {
80
79
  MESSAGE015 = "Can not release quantity greater than claimed",
81
80
  MESSAGE016 = "Can not release a negative quantity of items",
82
81
  MESSAGE017 = "Batch is forbidden for sale",
83
- MESSAGE018 = "Trial already used",
84
- MESSAGE019 = "Unable to generate session from disposableToken for admin users"
82
+ MESSAGE018 = "Trial already used"
85
83
  }
@@ -66,7 +66,6 @@ var RestErrorCodeEnum;
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
- RestErrorCodeEnum["CODE019"] = "CODE019";
70
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
71
70
  /**
72
71
  * @export
@@ -93,5 +92,4 @@ var RestErrorMessageEnum;
93
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
94
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
95
94
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
96
- RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
97
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */