@artisan-commerce/types 0.14.0-canary.37 → 0.14.0-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +338 -0
- package/build/index.d.ts +26 -0
- package/build/index.js +40 -0
- package/build/index.js.map +1 -0
- package/build/types/account.types.d.ts +17 -0
- package/build/types/account.types.js +4 -0
- package/build/types/account.types.js.map +1 -0
- package/build/types/app.types.d.ts +153 -0
- package/build/types/app.types.js +4 -0
- package/build/types/app.types.js.map +1 -0
- package/build/types/artisnDB.types.d.ts +29 -0
- package/build/types/artisnDB.types.js +4 -0
- package/build/types/artisnDB.types.js.map +1 -0
- package/build/types/banner.types.d.ts +97 -0
- package/build/types/banner.types.js +4 -0
- package/build/types/banner.types.js.map +1 -0
- package/build/types/billingData.types.d.ts +39 -0
- package/build/types/billingData.types.js +4 -0
- package/build/types/billingData.types.js.map +1 -0
- package/build/types/catalogue.types.d.ts +16 -0
- package/build/types/catalogue.types.js +4 -0
- package/build/types/catalogue.types.js.map +1 -0
- package/build/types/category.types.d.ts +33 -0
- package/build/types/category.types.js +4 -0
- package/build/types/category.types.js.map +1 -0
- package/build/types/common.types.d.ts +36 -0
- package/build/types/common.types.js +4 -0
- package/build/types/common.types.js.map +1 -0
- package/build/types/country.types.d.ts +59 -0
- package/build/types/country.types.js +4 -0
- package/build/types/country.types.js.map +1 -0
- package/build/types/coupon.types.d.ts +112 -0
- package/build/types/coupon.types.js +4 -0
- package/build/types/coupon.types.js.map +1 -0
- package/build/types/currency.types.d.ts +7 -0
- package/build/types/currency.types.js +4 -0
- package/build/types/currency.types.js.map +1 -0
- package/build/types/fulfillment.types.d.ts +218 -0
- package/build/types/fulfillment.types.js +4 -0
- package/build/types/fulfillment.types.js.map +1 -0
- package/build/types/http.types.d.ts +64 -0
- package/build/types/http.types.js +4 -0
- package/build/types/http.types.js.map +1 -0
- package/build/types/image.types.d.ts +82 -0
- package/build/types/image.types.js +4 -0
- package/build/types/image.types.js.map +1 -0
- package/build/types/livingPlace.types.d.ts +92 -0
- package/build/types/livingPlace.types.js +4 -0
- package/build/types/livingPlace.types.js.map +1 -0
- package/build/types/notification.types.d.ts +21 -0
- package/build/types/notification.types.js +4 -0
- package/build/types/notification.types.js.map +1 -0
- package/build/types/order.types.d.ts +157 -0
- package/build/types/order.types.js +3 -0
- package/build/types/order.types.js.map +1 -0
- package/build/types/payment.types.d.ts +97 -0
- package/build/types/payment.types.js +4 -0
- package/build/types/payment.types.js.map +1 -0
- package/build/types/product.types.d.ts +299 -0
- package/build/types/product.types.js +4 -0
- package/build/types/product.types.js.map +1 -0
- package/build/types/settings.types.d.ts +23 -0
- package/build/types/settings.types.js +4 -0
- package/build/types/settings.types.js.map +1 -0
- package/build/types/shippingAddress.types.d.ts +73 -0
- package/build/types/shippingAddress.types.js +4 -0
- package/build/types/shippingAddress.types.js.map +1 -0
- package/build/types/shippingCost.types.d.ts +54 -0
- package/build/types/shippingCost.types.js +4 -0
- package/build/types/shippingCost.types.js.map +1 -0
- package/build/types/shoppingCart.types.d.ts +124 -0
- package/build/types/shoppingCart.types.js +4 -0
- package/build/types/shoppingCart.types.js.map +1 -0
- package/build/types/store.types.d.ts +198 -0
- package/build/types/store.types.js +4 -0
- package/build/types/store.types.js.map +1 -0
- package/build/types/user.types.d.ts +115 -0
- package/build/types/user.types.js +4 -0
- package/build/types/user.types.js.map +1 -0
- package/build/types/vendor.types.d.ts +23 -0
- package/build/types/vendor.types.js +3 -0
- package/build/types/vendor.types.js.map +1 -0
- package/build/vendors.d.ts +1 -0
- package/build/vendors.js +4 -0
- package/build/vendors.js.map +1 -0
- package/package.json +26 -27
- package/dist/bundle.d.ts +0 -3477
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [0.14.0-canary.4](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.3...@artisan-commerce/types@0.14.0-canary.4) (2021-08-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **global:** add CountryCode type and update user builder ([f94eb5d](https://bitbucket.org/tradesystem/artisn_sdk/commit/f94eb5d38e0725bd157398e3c51b3bb8b2592abc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [0.14.0-canary.3](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.2...@artisan-commerce/types@0.14.0-canary.3) (2021-08-12)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **image-builders:** make bucket not use undefined ([5f7e95d](https://bitbucket.org/tradesystem/artisn_sdk/commit/5f7e95d6b0b4d4d1e47e38400b126a0ee9aa3478))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [0.14.0-canary.2](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.1...@artisan-commerce/types@0.14.0-canary.2) (2021-08-11)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **global:** rebrand artisan-commerce to artisn ([b2688b1](https://bitbucket.org/tradesystem/artisn_sdk/commit/b2688b107757ed82791c0be49439e9fb28f78b6d))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## [0.14.0-canary.1](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.14.0-canary.0...@artisan-commerce/types@0.14.0-canary.1) (2021-08-06)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **builders:** add missing builders and delete unused type ([361abac](https://bitbucket.org/tradesystem/artisan_sdk/commit/361abac9996fef1b0c308b1bd940f19379f8842a))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## [0.14.0-canary.0](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0...@artisan-commerce/types@0.14.0-canary.0) (2021-08-04)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **global:** add and export missing builders and types ([67ad6ac](https://bitbucket.org/tradesystem/artisan_sdk/commit/67ad6ac8e563aa53c2c62dac86b65f3435a0b16a))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## [0.13.0](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.10...@artisan-commerce/types@0.13.0) (2021-07-30)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
* **global:** fix percentage type on country ([b4920f2](https://bitbucket.org/tradesystem/artisan_sdk/commit/b4920f2021d4b3e5e1ea9cfd2423d98c122ae5ea))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [0.13.0-canary.10](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.9...@artisan-commerce/types@0.13.0-canary.10) (2021-07-26)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* **global:** anonymous shopping cart ([99762c1](https://bitbucket.org/tradesystem/artisan_sdk/commit/99762c1ee8e2bce47eb936b3f76a280048579916))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## [0.13.0-canary.9](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/types@0.13.0-canary.8...@artisan-commerce/types@0.13.0-canary.9) (2021-06-18)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
* **global:** fix remove benefit method ([a6cb684](https://bitbucket.org/tradesystem/artisan_sdk/commit/a6cb68453250ca855d8609b9f3c8de8c0d5d9b90))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## [0.13.0-canary.8](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.7...@artisan-commerce/types@0.13.0-canary.8) (2021-06-10)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Features
|
|
82
|
+
|
|
83
|
+
* **global:** coupons functionality ([6a538c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a538c40d7e0eb380c6bbb274bd640b591787bc8))
|
|
84
|
+
* **global:** coupons functionality ([33117c2](https://bitbucket.org/tradesystem/artisan_monorepo/commit/33117c27c0e9f2d5e28705934abd1597fc92092e))
|
|
85
|
+
* **global:** coupons functionality ([2202f0d](https://bitbucket.org/tradesystem/artisan_monorepo/commit/2202f0dd41a393eca7697d056df6f75f80748bb1))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## [0.13.0-canary.7](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.6...@artisan-commerce/types@0.13.0-canary.7) (2021-04-22)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* **types:** add country types and interfaces ([f73fabd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f73fabd5615ae1bb39c9ca59a8b79a5437eca9d1))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## [0.13.0-canary.6](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.5...@artisan-commerce/types@0.13.0-canary.6) (2021-04-21)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Features
|
|
102
|
+
|
|
103
|
+
* **global:** update account types and add account builders ([4a6fecd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/4a6fecdc45b363f068a6089eccbf36483f517288))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
## [0.13.0-canary.5](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.4...@artisan-commerce/types@0.13.0-canary.5) (2021-04-16)
|
|
108
|
+
|
|
109
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
## [0.13.0-canary.4](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.3...@artisan-commerce/types@0.13.0-canary.4) (2021-04-06)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### Performance Improvements
|
|
119
|
+
|
|
120
|
+
* **global:** move typescript to be a global dependency ([32370e1](https://bitbucket.org/tradesystem/artisan_monorepo/commit/32370e134f1bcc4f79c55e2bae0ee22fee193e77))
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
## [0.13.0-canary.3](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.2...@artisan-commerce/types@0.13.0-canary.3) (2021-04-01)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## [0.13.0-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.1...@artisan-commerce/types@0.13.0-canary.2) (2021-03-19)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## [0.13.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.13.0-canary.0...@artisan-commerce/types@0.13.0-canary.1) (2021-03-19)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Features
|
|
144
|
+
|
|
145
|
+
* **types:** add init-rn types ([e4f44c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e4f44c484e8d223a1716daf4cf0ec098dfde620a))
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
## [0.13.0-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.2...@artisan-commerce/types@0.13.0-canary.0) (2021-03-18)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Features
|
|
153
|
+
|
|
154
|
+
* **artisa-commerce:** added code documentation for users lib and types refactor ([1d0acf7](https://bitbucket.org/tradesystem/artisan_monorepo/commit/1d0acf703c6a9b6e4c7cb157ef045c49e6579d3a))
|
|
155
|
+
* **artisan-commerce:** merge branch 'canary' into feature/document-users-code ([e18fe40](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e18fe401542d38afd0599bc98b0924d6b44bd74a))
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### [0.12.2-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.1...@artisan-commerce/types@0.12.2-canary.2) (2021-03-18)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Bug Fixes
|
|
163
|
+
|
|
164
|
+
* **types:** update image type ([c461609](https://bitbucket.org/tradesystem/artisan_monorepo/commit/c461609e3aab757a4722d7a820a765a96588d94c))
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### [0.12.2-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.2-canary.0...@artisan-commerce/types@0.12.2-canary.1) (2021-03-18)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
### [0.12.2-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1...@artisan-commerce/types@0.12.2-canary.0) (2021-03-12)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### [0.12.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1-canary.1...@artisan-commerce/types@0.12.1) (2021-03-02)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### [0.12.1-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.1-canary.0...@artisan-commerce/types@0.12.1-canary.1) (2021-02-25)
|
|
193
|
+
|
|
194
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### [0.12.1-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.0...@artisan-commerce/types@0.12.1-canary.0) (2021-02-25)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
## [0.12.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.12.0-canary.1...@artisan-commerce/types@0.12.0) (2021-02-25)
|
|
209
|
+
|
|
210
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
## [0.12.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.12...@artisan-commerce/types@0.12.0-canary.1) (2021-02-25)
|
|
217
|
+
|
|
218
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
## [0.11.0-canary.12](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.11...@artisan-commerce/types@0.11.0-canary.12) (2021-02-23)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
### Features
|
|
228
|
+
|
|
229
|
+
* added billing data and shipping address builders ([6a9eaa9](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a9eaa921bab2367171473565de0ce6d662bd7c0))
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
### Bug Fixes
|
|
233
|
+
|
|
234
|
+
* fixed yarn.lock and package.json ([f485433](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f485433b750e8012ec543cc00f6cb2e016d77361))
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## [0.11.0-canary.11](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.10...@artisan-commerce/types@0.11.0-canary.11) (2021-02-12)
|
|
239
|
+
|
|
240
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
## [0.11.0-canary.10](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.9...@artisan-commerce/types@0.11.0-canary.10) (2021-02-08)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
### Features
|
|
250
|
+
|
|
251
|
+
* **products:** support custome types on modifier groups and normal modifers ([dda6c03](https://bitbucket.org/tradesystem/artisan_monorepo/commit/dda6c03ee8241a5719dcf1745c6a7def83650bda))
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
## [0.11.0-canary.9](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.8...@artisan-commerce/types@0.11.0-canary.9) (2021-02-05)
|
|
256
|
+
|
|
257
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
## [0.11.0-canary.8](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.7...@artisan-commerce/types@0.11.0-canary.8) (2021-02-05)
|
|
264
|
+
|
|
265
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
## [0.11.0-canary.7](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.6...@artisan-commerce/types@0.11.0-canary.7) (2021-02-05)
|
|
272
|
+
|
|
273
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
## [0.11.0-canary.6](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.5...@artisan-commerce/types@0.11.0-canary.6) (2021-02-05)
|
|
280
|
+
|
|
281
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
## [0.11.0-canary.5](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.4...@artisan-commerce/types@0.11.0-canary.5) (2021-02-04)
|
|
288
|
+
|
|
289
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
## [0.11.0-canary.4](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.3...@artisan-commerce/types@0.11.0-canary.4) (2021-02-04)
|
|
296
|
+
|
|
297
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
## [0.11.0-canary.3](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.2...@artisan-commerce/types@0.11.0-canary.3) (2021-02-04)
|
|
304
|
+
|
|
305
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
## [0.11.0-canary.2](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.1...@artisan-commerce/types@0.11.0-canary.2) (2021-02-04)
|
|
312
|
+
|
|
313
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
## [0.11.0-canary.1](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.11.0-canary.0...@artisan-commerce/types@0.11.0-canary.1) (2021-02-04)
|
|
320
|
+
|
|
321
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## [0.11.0-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.10.6-canary.0...@artisan-commerce/types@0.11.0-canary.0) (2021-02-03)
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### Features
|
|
331
|
+
|
|
332
|
+
* **types:** add user interface skeleton ([6d26c1e](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6d26c1e7d09ee34f67c580b494235d791f286ee6))
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## [0.10.6-canary.0](https://bitbucket.org/tradesystem/artisan_monorepo/compare/@artisan-commerce/types@0.10.5...@artisan-commerce/types@0.10.6-canary.0) (2021-02-03)
|
|
337
|
+
|
|
338
|
+
**Note:** Version bump only for package @artisan-commerce/types
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "./types/account.types";
|
|
2
|
+
export * from "./types/app.types";
|
|
3
|
+
export * from "./types/artisnDB.types";
|
|
4
|
+
export * from "./types/banner.types";
|
|
5
|
+
export * from "./types/billingData.types";
|
|
6
|
+
export * from "./types/catalogue.types";
|
|
7
|
+
export * from "./types/category.types";
|
|
8
|
+
export * from "./types/common.types";
|
|
9
|
+
export * from "./types/country.types";
|
|
10
|
+
export * from "./types/coupon.types";
|
|
11
|
+
export * from "./types/currency.types";
|
|
12
|
+
export * from "./types/fulfillment.types";
|
|
13
|
+
export * from "./types/http.types";
|
|
14
|
+
export * from "./types/image.types";
|
|
15
|
+
export * from "./types/livingPlace.types";
|
|
16
|
+
export * from "./types/notification.types";
|
|
17
|
+
export * from "./types/order.types";
|
|
18
|
+
export * from "./types/payment.types";
|
|
19
|
+
export * from "./types/product.types";
|
|
20
|
+
export * from "./types/settings.types";
|
|
21
|
+
export * from "./types/shippingAddress.types";
|
|
22
|
+
export * from "./types/shippingCost.types";
|
|
23
|
+
export * from "./types/shoppingCart.types";
|
|
24
|
+
export * from "./types/store.types";
|
|
25
|
+
export * from "./types/vendor.types";
|
|
26
|
+
export * from "./types/user.types";
|
package/build/index.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
// Main
|
|
14
|
+
__exportStar(require("./types/account.types"), exports);
|
|
15
|
+
__exportStar(require("./types/app.types"), exports);
|
|
16
|
+
__exportStar(require("./types/artisnDB.types"), exports);
|
|
17
|
+
__exportStar(require("./types/banner.types"), exports);
|
|
18
|
+
__exportStar(require("./types/billingData.types"), exports);
|
|
19
|
+
__exportStar(require("./types/catalogue.types"), exports);
|
|
20
|
+
__exportStar(require("./types/category.types"), exports);
|
|
21
|
+
__exportStar(require("./types/common.types"), exports);
|
|
22
|
+
__exportStar(require("./types/country.types"), exports);
|
|
23
|
+
__exportStar(require("./types/coupon.types"), exports);
|
|
24
|
+
__exportStar(require("./types/currency.types"), exports);
|
|
25
|
+
__exportStar(require("./types/fulfillment.types"), exports);
|
|
26
|
+
__exportStar(require("./types/http.types"), exports);
|
|
27
|
+
__exportStar(require("./types/image.types"), exports);
|
|
28
|
+
__exportStar(require("./types/livingPlace.types"), exports);
|
|
29
|
+
__exportStar(require("./types/notification.types"), exports);
|
|
30
|
+
__exportStar(require("./types/order.types"), exports);
|
|
31
|
+
__exportStar(require("./types/payment.types"), exports);
|
|
32
|
+
__exportStar(require("./types/product.types"), exports);
|
|
33
|
+
__exportStar(require("./types/settings.types"), exports);
|
|
34
|
+
__exportStar(require("./types/shippingAddress.types"), exports);
|
|
35
|
+
__exportStar(require("./types/shippingCost.types"), exports);
|
|
36
|
+
__exportStar(require("./types/shoppingCart.types"), exports);
|
|
37
|
+
__exportStar(require("./types/store.types"), exports);
|
|
38
|
+
__exportStar(require("./types/vendor.types"), exports);
|
|
39
|
+
__exportStar(require("./types/user.types"), exports);
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO;AACP,wDAAsC;AACtC,oDAAkC;AAClC,yDAAuC;AACvC,uDAAqC;AACrC,4DAA0C;AAC1C,0DAAwC;AACxC,yDAAuC;AACvC,uDAAqC;AACrC,wDAAsC;AACtC,uDAAqC;AACrC,yDAAuC;AACvC,4DAA0C;AAC1C,qDAAmC;AACnC,sDAAoC;AACpC,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,wDAAsC;AACtC,wDAAsC;AACtC,yDAAuC;AACvC,gEAA8C;AAC9C,6DAA2C;AAC3C,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,qDAAmC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CDNImage } from "./image.types";
|
|
2
|
+
/**
|
|
3
|
+
* Representation of a Commerce Account.
|
|
4
|
+
*
|
|
5
|
+
* @interface Account
|
|
6
|
+
* @since 0.5.14
|
|
7
|
+
*/
|
|
8
|
+
export interface Account {
|
|
9
|
+
/** Artisn's account unique identifier */
|
|
10
|
+
accountId: number;
|
|
11
|
+
/** Account's name */
|
|
12
|
+
name: string;
|
|
13
|
+
/** Account's description */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Account's images, see {@link CDNImage} for further information */
|
|
16
|
+
images: CDNImage[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.types.js","sourceRoot":"","sources":["../../src/types/account.types.ts"],"names":[],"mappings":";AAAA,+BAA+B"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import firebase from "firebase";
|
|
2
|
+
/**
|
|
3
|
+
* The ArtisnApp controls the app connection with the DBs and its settings.
|
|
4
|
+
*
|
|
5
|
+
* @typedef ArtisnApp
|
|
6
|
+
* @since 0.5.14
|
|
7
|
+
*/
|
|
8
|
+
export declare type ArtisnApp = ArtisnAppWeb | ArtisnAppRN;
|
|
9
|
+
/**
|
|
10
|
+
* The ArtisnAppWeb orchestrate the connections of the app with the DB, server and its settings.
|
|
11
|
+
*
|
|
12
|
+
* @interface ArtisnAppWeb
|
|
13
|
+
* @since 0.5.14
|
|
14
|
+
*/
|
|
15
|
+
export interface ArtisnAppWeb {
|
|
16
|
+
/** App's name */
|
|
17
|
+
name: firebase.app.App["name"];
|
|
18
|
+
/** Artisn's account API URL */
|
|
19
|
+
apiURL: string;
|
|
20
|
+
/** Artisn app settings configuration, see {@link ArtisnSettings} */
|
|
21
|
+
settings: ArtisnSettings;
|
|
22
|
+
/** Internal configuration of App and databases */
|
|
23
|
+
__internals__: firebase.app.App;
|
|
24
|
+
/** ArtisnApp object internal instance */
|
|
25
|
+
__instance__: typeof firebase;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The ArtisnAppRN orchestrate the connections of the app with the DB, server and its settings.
|
|
29
|
+
*
|
|
30
|
+
* @interface ArtisnAppRN
|
|
31
|
+
* @since 0.5.14
|
|
32
|
+
*/
|
|
33
|
+
export interface ArtisnAppRN {
|
|
34
|
+
/** Artisn's account API URL */
|
|
35
|
+
apiURL: string;
|
|
36
|
+
/** Internal configuration of App and databases */
|
|
37
|
+
__internals__: RNFirebaseInstance;
|
|
38
|
+
/** ArtisnApp object internal instance */
|
|
39
|
+
__instance__: RNFirebaseInstance;
|
|
40
|
+
/** Artisn app settings configuration, see {@link ArtisnSettings} */
|
|
41
|
+
settings: ArtisnSettings;
|
|
42
|
+
/** App's name */
|
|
43
|
+
name: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Settings to configure the Firebase Instance.
|
|
47
|
+
*
|
|
48
|
+
* @interface RNFirebaseInstance
|
|
49
|
+
* @since 0.5.14
|
|
50
|
+
*/
|
|
51
|
+
export interface RNFirebaseInstance {
|
|
52
|
+
/** Auth package from react-native-auth */
|
|
53
|
+
auth: any;
|
|
54
|
+
/** Firestore package from react-native-auth */
|
|
55
|
+
firestore: any;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Settings to configure the Artisn app.
|
|
59
|
+
*
|
|
60
|
+
* @interface ArtisnSettings
|
|
61
|
+
* @since 0.5.14
|
|
62
|
+
*/
|
|
63
|
+
export interface ArtisnSettings {
|
|
64
|
+
/** Artisn's account unique identifier */
|
|
65
|
+
accountId?: number;
|
|
66
|
+
/** Platform where the app is running, see {@link ArtisnPlatform} */
|
|
67
|
+
platform?: ArtisnPlatform;
|
|
68
|
+
/** App's project id */
|
|
69
|
+
projectId: string;
|
|
70
|
+
/** App's API key */
|
|
71
|
+
apiKey: string;
|
|
72
|
+
/** App's external app id */
|
|
73
|
+
appId?: string;
|
|
74
|
+
/** App's auth domain url */
|
|
75
|
+
authDomain: string;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Settings to configure the Artisn app react-native.
|
|
79
|
+
*
|
|
80
|
+
* @interface ArtisnSettingsRN
|
|
81
|
+
* @since 0.5.14
|
|
82
|
+
*/
|
|
83
|
+
export interface ArtisnSettingsRN {
|
|
84
|
+
/** Platform where the app is running, see {@link ArtisnPlatform} */
|
|
85
|
+
platform: ArtisnPlatform;
|
|
86
|
+
/** Artisn's account unique identifier */
|
|
87
|
+
accountId?: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Artisn app's allowed platforms to run on.
|
|
91
|
+
*
|
|
92
|
+
* @typedef ArtisnPlatform
|
|
93
|
+
* @since 0.5.14
|
|
94
|
+
*/
|
|
95
|
+
export declare type ArtisnPlatform = "web" | "ios" | "android" | "windows" | "macos" | "call center";
|
|
96
|
+
/**
|
|
97
|
+
* Artisn's auth instance is the instance of the internal auth object.
|
|
98
|
+
*
|
|
99
|
+
* @typedef ArtisnInstanceAuth
|
|
100
|
+
* @since 0.5.14
|
|
101
|
+
*/
|
|
102
|
+
export declare type ArtisnInstanceAuth = typeof firebase.auth;
|
|
103
|
+
/**
|
|
104
|
+
* Artisn's auth object to handle providers authentication.
|
|
105
|
+
*
|
|
106
|
+
* @typedef ArtisnAuth
|
|
107
|
+
* @since 0.5.14
|
|
108
|
+
*/
|
|
109
|
+
export interface ArtisnAuth extends firebase.auth.Auth {
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Main artisn commerce filters.
|
|
113
|
+
*
|
|
114
|
+
* @interface ArtisnHints
|
|
115
|
+
* @since 0.5.14
|
|
116
|
+
*/
|
|
117
|
+
export interface ArtisnHints {
|
|
118
|
+
/** Artisn's account unique identifier */
|
|
119
|
+
accountId: string | number;
|
|
120
|
+
/** Artisn's vendor unique identifier */
|
|
121
|
+
vendorId?: string | number;
|
|
122
|
+
/** Artisn's catalogue unique identifier */
|
|
123
|
+
catalogueId?: string | number;
|
|
124
|
+
/** Artisn's store unique identifier */
|
|
125
|
+
storeId?: number;
|
|
126
|
+
/** Artisn's category unique identifier */
|
|
127
|
+
categoryId?: string | number;
|
|
128
|
+
/** Artisn's productId unique identifier */
|
|
129
|
+
productId?: string | number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Unrestricted allowed Artisn SDK rest api headers.
|
|
133
|
+
*
|
|
134
|
+
* @interface ArtisnHeaders
|
|
135
|
+
* @since 0.5.14
|
|
136
|
+
*/
|
|
137
|
+
export interface ArtisnHeaders {
|
|
138
|
+
/** Platform where the app is running, see {@link ArtisnPlatform} */
|
|
139
|
+
Platform: ArtisnPlatform;
|
|
140
|
+
/** Artisn's account unique identifier */
|
|
141
|
+
account: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Restricted allowed Artisn SDK rest api headers.
|
|
145
|
+
*
|
|
146
|
+
* @interface ArtisnRestrictedHeaders
|
|
147
|
+
* @since 0.5.14
|
|
148
|
+
* @extends {{@link ArtisnHeaders}
|
|
149
|
+
*/
|
|
150
|
+
export interface ArtisnRestrictedHeaders extends ArtisnHeaders {
|
|
151
|
+
/** Authorization app's authentication token */
|
|
152
|
+
Authorization: string;
|
|
153
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.types.js","sourceRoot":"","sources":["../../src/types/app.types.ts"],"names":[],"mappings":";AAAA,kCAAkC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import firebase from "firebase";
|
|
2
|
+
/**
|
|
3
|
+
* Artisn database object.
|
|
4
|
+
*
|
|
5
|
+
* @typedef ArtisnDB
|
|
6
|
+
* @since 0.5.14
|
|
7
|
+
*/
|
|
8
|
+
export declare type ArtisnDB = firebase.firestore.Firestore;
|
|
9
|
+
/**
|
|
10
|
+
* Artisn database document data object.
|
|
11
|
+
*
|
|
12
|
+
* @typedef ArtisnDBDocumentData
|
|
13
|
+
* @since 0.5.14
|
|
14
|
+
*/
|
|
15
|
+
export declare type ArtisnDBDocumentData = firebase.firestore.DocumentData;
|
|
16
|
+
/**
|
|
17
|
+
* The current state of a node from the Artisn DB.
|
|
18
|
+
*
|
|
19
|
+
* @typedef ArtisnDBQueryDocumentSnapshot
|
|
20
|
+
* @since 0.5.14
|
|
21
|
+
*/
|
|
22
|
+
export declare type ArtisnDBQueryDocumentSnapshot<T = ArtisnDBDocumentData> = firebase.firestore.QueryDocumentSnapshot<T>;
|
|
23
|
+
/**
|
|
24
|
+
* An Artisn DB collection of nodes.
|
|
25
|
+
*
|
|
26
|
+
* @typedef ArtisnDBCollectionReference
|
|
27
|
+
* @since 0.5.14
|
|
28
|
+
*/
|
|
29
|
+
export declare type ArtisnDBCollectionReference<T = ArtisnDBDocumentData> = firebase.firestore.CollectionReference<T>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artisnDB.types.js","sourceRoot":"","sources":["../../src/types/artisnDB.types.ts"],"names":[],"mappings":";AAAA,iCAAiC"}
|