@artisan-commerce/types 0.14.0-canary.38 → 0.14.0-canary.5

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 (87) hide show
  1. package/CHANGELOG.md +347 -0
  2. package/build/index.d.ts +26 -0
  3. package/build/index.js +40 -0
  4. package/build/index.js.map +1 -0
  5. package/build/types/account.types.d.ts +17 -0
  6. package/build/types/account.types.js +4 -0
  7. package/build/types/account.types.js.map +1 -0
  8. package/build/types/app.types.d.ts +153 -0
  9. package/build/types/app.types.js +4 -0
  10. package/build/types/app.types.js.map +1 -0
  11. package/build/types/artisnDB.types.d.ts +29 -0
  12. package/build/types/artisnDB.types.js +4 -0
  13. package/build/types/artisnDB.types.js.map +1 -0
  14. package/build/types/banner.types.d.ts +97 -0
  15. package/build/types/banner.types.js +4 -0
  16. package/build/types/banner.types.js.map +1 -0
  17. package/build/types/billingData.types.d.ts +39 -0
  18. package/build/types/billingData.types.js +4 -0
  19. package/build/types/billingData.types.js.map +1 -0
  20. package/build/types/catalogue.types.d.ts +16 -0
  21. package/build/types/catalogue.types.js +4 -0
  22. package/build/types/catalogue.types.js.map +1 -0
  23. package/build/types/category.types.d.ts +33 -0
  24. package/build/types/category.types.js +4 -0
  25. package/build/types/category.types.js.map +1 -0
  26. package/build/types/common.types.d.ts +42 -0
  27. package/build/types/common.types.js +4 -0
  28. package/build/types/common.types.js.map +1 -0
  29. package/build/types/country.types.d.ts +143 -0
  30. package/build/types/country.types.js +4 -0
  31. package/build/types/country.types.js.map +1 -0
  32. package/build/types/coupon.types.d.ts +112 -0
  33. package/build/types/coupon.types.js +4 -0
  34. package/build/types/coupon.types.js.map +1 -0
  35. package/build/types/currency.types.d.ts +7 -0
  36. package/build/types/currency.types.js +4 -0
  37. package/build/types/currency.types.js.map +1 -0
  38. package/build/types/fulfillment.types.d.ts +218 -0
  39. package/build/types/fulfillment.types.js +4 -0
  40. package/build/types/fulfillment.types.js.map +1 -0
  41. package/build/types/http.types.d.ts +64 -0
  42. package/build/types/http.types.js +4 -0
  43. package/build/types/http.types.js.map +1 -0
  44. package/build/types/image.types.d.ts +82 -0
  45. package/build/types/image.types.js +4 -0
  46. package/build/types/image.types.js.map +1 -0
  47. package/build/types/livingPlace.types.d.ts +92 -0
  48. package/build/types/livingPlace.types.js +4 -0
  49. package/build/types/livingPlace.types.js.map +1 -0
  50. package/build/types/notification.types.d.ts +21 -0
  51. package/build/types/notification.types.js +4 -0
  52. package/build/types/notification.types.js.map +1 -0
  53. package/build/types/order.types.d.ts +157 -0
  54. package/build/types/order.types.js +3 -0
  55. package/build/types/order.types.js.map +1 -0
  56. package/build/types/payment.types.d.ts +97 -0
  57. package/build/types/payment.types.js +4 -0
  58. package/build/types/payment.types.js.map +1 -0
  59. package/build/types/product.types.d.ts +299 -0
  60. package/build/types/product.types.js +4 -0
  61. package/build/types/product.types.js.map +1 -0
  62. package/build/types/settings.types.d.ts +23 -0
  63. package/build/types/settings.types.js +4 -0
  64. package/build/types/settings.types.js.map +1 -0
  65. package/build/types/shippingAddress.types.d.ts +79 -0
  66. package/build/types/shippingAddress.types.js +4 -0
  67. package/build/types/shippingAddress.types.js.map +1 -0
  68. package/build/types/shippingCost.types.d.ts +54 -0
  69. package/build/types/shippingCost.types.js +4 -0
  70. package/build/types/shippingCost.types.js.map +1 -0
  71. package/build/types/shoppingCart.types.d.ts +124 -0
  72. package/build/types/shoppingCart.types.js +4 -0
  73. package/build/types/shoppingCart.types.js.map +1 -0
  74. package/build/types/store.types.d.ts +198 -0
  75. package/build/types/store.types.js +4 -0
  76. package/build/types/store.types.js.map +1 -0
  77. package/build/types/user.types.d.ts +115 -0
  78. package/build/types/user.types.js +4 -0
  79. package/build/types/user.types.js.map +1 -0
  80. package/build/types/vendor.types.d.ts +23 -0
  81. package/build/types/vendor.types.js +3 -0
  82. package/build/types/vendor.types.js.map +1 -0
  83. package/build/vendors.d.ts +1 -0
  84. package/build/vendors.js +4 -0
  85. package/build/vendors.js.map +1 -0
  86. package/package.json +28 -23
  87. package/dist/bundle.d.ts +0 -3261
package/CHANGELOG.md ADDED
@@ -0,0 +1,347 @@
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.5](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/types@0.14.0-canary.4...@artisan-commerce/types@0.14.0-canary.5) (2021-08-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **global:** add missing properties to shipping address and complete document type ([c9156f6](https://bitbucket.org/tradesystem/artisn_sdk/commit/c9156f6db3e55f23479484577760f5196e112afc))
12
+
13
+
14
+
15
+ ## [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)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **global:** add CountryCode type and update user builder ([f94eb5d](https://bitbucket.org/tradesystem/artisn_sdk/commit/f94eb5d38e0725bd157398e3c51b3bb8b2592abc))
21
+
22
+
23
+
24
+ ## [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)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * **image-builders:** make bucket not use undefined ([5f7e95d](https://bitbucket.org/tradesystem/artisn_sdk/commit/5f7e95d6b0b4d4d1e47e38400b126a0ee9aa3478))
30
+
31
+
32
+
33
+ ## [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)
34
+
35
+
36
+ ### Features
37
+
38
+ * **global:** rebrand artisan-commerce to artisn ([b2688b1](https://bitbucket.org/tradesystem/artisn_sdk/commit/b2688b107757ed82791c0be49439e9fb28f78b6d))
39
+
40
+
41
+
42
+ ## [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)
43
+
44
+
45
+ ### Features
46
+
47
+ * **builders:** add missing builders and delete unused type ([361abac](https://bitbucket.org/tradesystem/artisan_sdk/commit/361abac9996fef1b0c308b1bd940f19379f8842a))
48
+
49
+
50
+
51
+ ## [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)
52
+
53
+
54
+ ### Features
55
+
56
+ * **global:** add and export missing builders and types ([67ad6ac](https://bitbucket.org/tradesystem/artisan_sdk/commit/67ad6ac8e563aa53c2c62dac86b65f3435a0b16a))
57
+
58
+
59
+
60
+ ## [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)
61
+
62
+
63
+ ### Features
64
+
65
+ * **global:** fix percentage type on country ([b4920f2](https://bitbucket.org/tradesystem/artisan_sdk/commit/b4920f2021d4b3e5e1ea9cfd2423d98c122ae5ea))
66
+
67
+
68
+
69
+ ## [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)
70
+
71
+
72
+ ### Features
73
+
74
+ * **global:** anonymous shopping cart ([99762c1](https://bitbucket.org/tradesystem/artisan_sdk/commit/99762c1ee8e2bce47eb936b3f76a280048579916))
75
+
76
+
77
+
78
+ ## [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)
79
+
80
+
81
+ ### Bug Fixes
82
+
83
+ * **global:** fix remove benefit method ([a6cb684](https://bitbucket.org/tradesystem/artisan_sdk/commit/a6cb68453250ca855d8609b9f3c8de8c0d5d9b90))
84
+
85
+
86
+
87
+ ## [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)
88
+
89
+
90
+ ### Features
91
+
92
+ * **global:** coupons functionality ([6a538c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a538c40d7e0eb380c6bbb274bd640b591787bc8))
93
+ * **global:** coupons functionality ([33117c2](https://bitbucket.org/tradesystem/artisan_monorepo/commit/33117c27c0e9f2d5e28705934abd1597fc92092e))
94
+ * **global:** coupons functionality ([2202f0d](https://bitbucket.org/tradesystem/artisan_monorepo/commit/2202f0dd41a393eca7697d056df6f75f80748bb1))
95
+
96
+
97
+
98
+ ## [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)
99
+
100
+
101
+ ### Features
102
+
103
+ * **types:** add country types and interfaces ([f73fabd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f73fabd5615ae1bb39c9ca59a8b79a5437eca9d1))
104
+
105
+
106
+
107
+ ## [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)
108
+
109
+
110
+ ### Features
111
+
112
+ * **global:** update account types and add account builders ([4a6fecd](https://bitbucket.org/tradesystem/artisan_monorepo/commit/4a6fecdc45b363f068a6089eccbf36483f517288))
113
+
114
+
115
+
116
+ ## [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)
117
+
118
+ **Note:** Version bump only for package @artisan-commerce/types
119
+
120
+
121
+
122
+
123
+
124
+ ## [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)
125
+
126
+
127
+ ### Performance Improvements
128
+
129
+ * **global:** move typescript to be a global dependency ([32370e1](https://bitbucket.org/tradesystem/artisan_monorepo/commit/32370e134f1bcc4f79c55e2bae0ee22fee193e77))
130
+
131
+
132
+
133
+ ## [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)
134
+
135
+ **Note:** Version bump only for package @artisan-commerce/types
136
+
137
+
138
+
139
+
140
+
141
+ ## [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)
142
+
143
+ **Note:** Version bump only for package @artisan-commerce/types
144
+
145
+
146
+
147
+
148
+
149
+ ## [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)
150
+
151
+
152
+ ### Features
153
+
154
+ * **types:** add init-rn types ([e4f44c4](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e4f44c484e8d223a1716daf4cf0ec098dfde620a))
155
+
156
+
157
+
158
+ ## [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)
159
+
160
+
161
+ ### Features
162
+
163
+ * **artisa-commerce:** added code documentation for users lib and types refactor ([1d0acf7](https://bitbucket.org/tradesystem/artisan_monorepo/commit/1d0acf703c6a9b6e4c7cb157ef045c49e6579d3a))
164
+ * **artisan-commerce:** merge branch 'canary' into feature/document-users-code ([e18fe40](https://bitbucket.org/tradesystem/artisan_monorepo/commit/e18fe401542d38afd0599bc98b0924d6b44bd74a))
165
+
166
+
167
+
168
+ ### [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)
169
+
170
+
171
+ ### Bug Fixes
172
+
173
+ * **types:** update image type ([c461609](https://bitbucket.org/tradesystem/artisan_monorepo/commit/c461609e3aab757a4722d7a820a765a96588d94c))
174
+
175
+
176
+
177
+ ### [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)
178
+
179
+ **Note:** Version bump only for package @artisan-commerce/types
180
+
181
+
182
+
183
+
184
+
185
+ ### [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)
186
+
187
+ **Note:** Version bump only for package @artisan-commerce/types
188
+
189
+
190
+
191
+
192
+
193
+ ### [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)
194
+
195
+ **Note:** Version bump only for package @artisan-commerce/types
196
+
197
+
198
+
199
+
200
+
201
+ ### [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)
202
+
203
+ **Note:** Version bump only for package @artisan-commerce/types
204
+
205
+
206
+
207
+
208
+
209
+ ### [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)
210
+
211
+ **Note:** Version bump only for package @artisan-commerce/types
212
+
213
+
214
+
215
+
216
+
217
+ ## [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)
218
+
219
+ **Note:** Version bump only for package @artisan-commerce/types
220
+
221
+
222
+
223
+
224
+
225
+ ## [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)
226
+
227
+ **Note:** Version bump only for package @artisan-commerce/types
228
+
229
+
230
+
231
+
232
+
233
+ ## [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)
234
+
235
+
236
+ ### Features
237
+
238
+ * added billing data and shipping address builders ([6a9eaa9](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6a9eaa921bab2367171473565de0ce6d662bd7c0))
239
+
240
+
241
+ ### Bug Fixes
242
+
243
+ * fixed yarn.lock and package.json ([f485433](https://bitbucket.org/tradesystem/artisan_monorepo/commit/f485433b750e8012ec543cc00f6cb2e016d77361))
244
+
245
+
246
+
247
+ ## [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)
248
+
249
+ **Note:** Version bump only for package @artisan-commerce/types
250
+
251
+
252
+
253
+
254
+
255
+ ## [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)
256
+
257
+
258
+ ### Features
259
+
260
+ * **products:** support custome types on modifier groups and normal modifers ([dda6c03](https://bitbucket.org/tradesystem/artisan_monorepo/commit/dda6c03ee8241a5719dcf1745c6a7def83650bda))
261
+
262
+
263
+
264
+ ## [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)
265
+
266
+ **Note:** Version bump only for package @artisan-commerce/types
267
+
268
+
269
+
270
+
271
+
272
+ ## [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)
273
+
274
+ **Note:** Version bump only for package @artisan-commerce/types
275
+
276
+
277
+
278
+
279
+
280
+ ## [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)
281
+
282
+ **Note:** Version bump only for package @artisan-commerce/types
283
+
284
+
285
+
286
+
287
+
288
+ ## [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)
289
+
290
+ **Note:** Version bump only for package @artisan-commerce/types
291
+
292
+
293
+
294
+
295
+
296
+ ## [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)
297
+
298
+ **Note:** Version bump only for package @artisan-commerce/types
299
+
300
+
301
+
302
+
303
+
304
+ ## [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)
305
+
306
+ **Note:** Version bump only for package @artisan-commerce/types
307
+
308
+
309
+
310
+
311
+
312
+ ## [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)
313
+
314
+ **Note:** Version bump only for package @artisan-commerce/types
315
+
316
+
317
+
318
+
319
+
320
+ ## [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)
321
+
322
+ **Note:** Version bump only for package @artisan-commerce/types
323
+
324
+
325
+
326
+
327
+
328
+ ## [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)
329
+
330
+ **Note:** Version bump only for package @artisan-commerce/types
331
+
332
+
333
+
334
+
335
+
336
+ ## [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)
337
+
338
+
339
+ ### Features
340
+
341
+ * **types:** add user interface skeleton ([6d26c1e](https://bitbucket.org/tradesystem/artisan_monorepo/commit/6d26c1e7d09ee34f67c580b494235d791f286ee6))
342
+
343
+
344
+
345
+ ## [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)
346
+
347
+ **Note:** Version bump only for package @artisan-commerce/types
@@ -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,4 @@
1
+ "use strict";
2
+ // Account types and interfaces
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=account.types.js.map
@@ -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,4 @@
1
+ "use strict";
2
+ // Artisn App types and interfaces
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=app.types.js.map
@@ -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,4 @@
1
+ "use strict";
2
+ // Artisn DB types and interfaces
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=artisnDB.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artisnDB.types.js","sourceRoot":"","sources":["../../src/types/artisnDB.types.ts"],"names":[],"mappings":";AAAA,iCAAiC"}