@cloudcommerce/types 0.0.108 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts CHANGED
@@ -10,6 +10,17 @@ import type {
10
10
  Stores,
11
11
  Applications,
12
12
  Authentications,
13
+ ProductSet,
14
+ CategorySet,
15
+ BrandSet,
16
+ CollectionSet,
17
+ GridSet,
18
+ CartSet,
19
+ OrderSet,
20
+ CustomerSet,
21
+ StoreSet,
22
+ ApplicationSet,
23
+ AuthenticationSet,
13
24
  Resource,
14
25
  ResourceId,
15
26
  ResourceListResult,
@@ -79,6 +90,17 @@ export type {
79
90
  Stores,
80
91
  Applications,
81
92
  Authentications,
93
+ ProductSet,
94
+ CategorySet,
95
+ BrandSet,
96
+ CollectionSet,
97
+ GridSet,
98
+ CartSet,
99
+ OrderSet,
100
+ CustomerSet,
101
+ StoreSet,
102
+ ApplicationSet,
103
+ AuthenticationSet,
82
104
  Resource,
83
105
  ResourceId,
84
106
  ResourceListResult,
@@ -198,6 +198,14 @@ export interface CheckoutBody {
198
198
  */
199
199
  discount_coupon?: string;
200
200
  };
201
+ /**
202
+ * Designator of currency according to ISO 4217 (3 uppercase letters)
203
+ */
204
+ currency_id?: string;
205
+ /**
206
+ * Graphic symbol used as a shorthand for currency's name
207
+ */
208
+ currency_symbol?: string;
201
209
  /**
202
210
  * Language two letters code, sometimes with region, eg.: pt_br, fr, en_us
203
211
  */
@@ -254,7 +262,7 @@ export interface CheckoutBody {
254
262
  /**
255
263
  * Customer object
256
264
  */
257
- customer?: {
265
+ customer: {
258
266
  /**
259
267
  * Customer ID
260
268
  */
@@ -312,6 +312,10 @@ export interface ListPaymentsParams {
312
312
  */
313
313
  name?: string;
314
314
  };
315
+ /**
316
+ * Number of installments chosen (if payment selected)
317
+ */
318
+ installments_number?: number;
315
319
  /**
316
320
  * Whether list payments can be refetched on client when payment selected
317
321
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/types",
3
3
  "type": "module",
4
- "version": "0.0.108",
4
+ "version": "0.0.110",
5
5
  "description": "E-Com Plus Cloud Commerce reusable type definitions",
6
6
  "main": "index.ts",
7
7
  "repository": {
@@ -16,6 +16,6 @@
16
16
  },
17
17
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/types#readme",
18
18
  "dependencies": {
19
- "@cloudcommerce/api": "0.0.108"
19
+ "@cloudcommerce/api": "0.0.110"
20
20
  }
21
21
  }