@cimplify/sdk 0.17.0 → 0.19.0

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/dist/index.js CHANGED
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkOITG2SEN_js = require('./chunk-OITG2SEN.js');
3
+ var chunkB2RTVYJR_js = require('./chunk-B2RTVYJR.js');
4
4
  var chunkS6TU55KP_js = require('./chunk-S6TU55KP.js');
5
5
  var chunkFLPI2VVJ_js = require('./chunk-FLPI2VVJ.js');
6
- var chunkREPTMTQ4_js = require('./chunk-REPTMTQ4.js');
7
- var chunkJ65U5SED_js = require('./chunk-J65U5SED.js');
6
+ var chunk6SRY4DPY_js = require('./chunk-6SRY4DPY.js');
7
+ var chunkRYQ5IPWX_js = require('./chunk-RYQ5IPWX.js');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "ActivityService", {
12
12
  enumerable: true,
13
- get: function () { return chunkOITG2SEN_js.ActivityService; }
13
+ get: function () { return chunkB2RTVYJR_js.ActivityService; }
14
14
  });
15
15
  Object.defineProperty(exports, "CimplifyClient", {
16
16
  enumerable: true,
17
- get: function () { return chunkOITG2SEN_js.CimplifyClient; }
17
+ get: function () { return chunkB2RTVYJR_js.CimplifyClient; }
18
18
  });
19
19
  Object.defineProperty(exports, "createCimplifyClient", {
20
20
  enumerable: true,
21
- get: function () { return chunkOITG2SEN_js.createCimplifyClient; }
21
+ get: function () { return chunkB2RTVYJR_js.createCimplifyClient; }
22
22
  });
23
23
  Object.defineProperty(exports, "getVariantDisplayName", {
24
24
  enumerable: true,
25
- get: function () { return chunkOITG2SEN_js.getVariantDisplayName; }
25
+ get: function () { return chunkB2RTVYJR_js.getVariantDisplayName; }
26
26
  });
27
27
  Object.defineProperty(exports, "isValidPhoneForContext", {
28
28
  enumerable: true,
@@ -46,361 +46,361 @@ Object.defineProperty(exports, "query", {
46
46
  });
47
47
  Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
48
48
  enumerable: true,
49
- get: function () { return chunkREPTMTQ4_js.AUTHORIZATION_TYPE; }
49
+ get: function () { return chunk6SRY4DPY_js.AUTHORIZATION_TYPE; }
50
50
  });
51
51
  Object.defineProperty(exports, "AUTH_MUTATION", {
52
52
  enumerable: true,
53
- get: function () { return chunkREPTMTQ4_js.AUTH_MUTATION; }
53
+ get: function () { return chunk6SRY4DPY_js.AUTH_MUTATION; }
54
54
  });
55
55
  Object.defineProperty(exports, "AuthService", {
56
56
  enumerable: true,
57
- get: function () { return chunkREPTMTQ4_js.AuthService; }
57
+ get: function () { return chunk6SRY4DPY_js.AuthService; }
58
58
  });
59
59
  Object.defineProperty(exports, "BusinessService", {
60
60
  enumerable: true,
61
- get: function () { return chunkREPTMTQ4_js.BusinessService; }
61
+ get: function () { return chunk6SRY4DPY_js.BusinessService; }
62
62
  });
63
63
  Object.defineProperty(exports, "CHECKOUT_MODE", {
64
64
  enumerable: true,
65
- get: function () { return chunkREPTMTQ4_js.CHECKOUT_MODE; }
65
+ get: function () { return chunk6SRY4DPY_js.CHECKOUT_MODE; }
66
66
  });
67
67
  Object.defineProperty(exports, "CHECKOUT_MUTATION", {
68
68
  enumerable: true,
69
- get: function () { return chunkREPTMTQ4_js.CHECKOUT_MUTATION; }
69
+ get: function () { return chunk6SRY4DPY_js.CHECKOUT_MUTATION; }
70
70
  });
71
71
  Object.defineProperty(exports, "CHECKOUT_STEP", {
72
72
  enumerable: true,
73
- get: function () { return chunkREPTMTQ4_js.CHECKOUT_STEP; }
73
+ get: function () { return chunk6SRY4DPY_js.CHECKOUT_STEP; }
74
74
  });
75
75
  Object.defineProperty(exports, "CONTACT_TYPE", {
76
76
  enumerable: true,
77
- get: function () { return chunkREPTMTQ4_js.CONTACT_TYPE; }
77
+ get: function () { return chunk6SRY4DPY_js.CONTACT_TYPE; }
78
78
  });
79
79
  Object.defineProperty(exports, "CartOperations", {
80
80
  enumerable: true,
81
- get: function () { return chunkREPTMTQ4_js.CartOperations; }
81
+ get: function () { return chunk6SRY4DPY_js.CartOperations; }
82
82
  });
83
83
  Object.defineProperty(exports, "CatalogueQueries", {
84
84
  enumerable: true,
85
- get: function () { return chunkREPTMTQ4_js.CatalogueQueries; }
85
+ get: function () { return chunk6SRY4DPY_js.CatalogueQueries; }
86
86
  });
87
87
  Object.defineProperty(exports, "CheckoutOperations", {
88
88
  enumerable: true,
89
- get: function () { return chunkREPTMTQ4_js.CheckoutService; }
89
+ get: function () { return chunk6SRY4DPY_js.CheckoutService; }
90
90
  });
91
91
  Object.defineProperty(exports, "CheckoutService", {
92
92
  enumerable: true,
93
- get: function () { return chunkREPTMTQ4_js.CheckoutService; }
93
+ get: function () { return chunk6SRY4DPY_js.CheckoutService; }
94
94
  });
95
95
  Object.defineProperty(exports, "CimplifyElement", {
96
96
  enumerable: true,
97
- get: function () { return chunkREPTMTQ4_js.CimplifyElement; }
97
+ get: function () { return chunk6SRY4DPY_js.CimplifyElement; }
98
98
  });
99
99
  Object.defineProperty(exports, "CimplifyElements", {
100
100
  enumerable: true,
101
- get: function () { return chunkREPTMTQ4_js.CimplifyElements; }
101
+ get: function () { return chunk6SRY4DPY_js.CimplifyElements; }
102
102
  });
103
103
  Object.defineProperty(exports, "DEFAULT_COUNTRY", {
104
104
  enumerable: true,
105
- get: function () { return chunkREPTMTQ4_js.DEFAULT_COUNTRY; }
105
+ get: function () { return chunk6SRY4DPY_js.DEFAULT_COUNTRY; }
106
106
  });
107
107
  Object.defineProperty(exports, "DEFAULT_CURRENCY", {
108
108
  enumerable: true,
109
- get: function () { return chunkREPTMTQ4_js.DEFAULT_CURRENCY; }
109
+ get: function () { return chunk6SRY4DPY_js.DEFAULT_CURRENCY; }
110
110
  });
111
111
  Object.defineProperty(exports, "DEVICE_TYPE", {
112
112
  enumerable: true,
113
- get: function () { return chunkREPTMTQ4_js.DEVICE_TYPE; }
113
+ get: function () { return chunk6SRY4DPY_js.DEVICE_TYPE; }
114
114
  });
115
115
  Object.defineProperty(exports, "ELEMENT_TYPES", {
116
116
  enumerable: true,
117
- get: function () { return chunkREPTMTQ4_js.ELEMENT_TYPES; }
117
+ get: function () { return chunk6SRY4DPY_js.ELEMENT_TYPES; }
118
118
  });
119
119
  Object.defineProperty(exports, "EVENT_TYPES", {
120
120
  enumerable: true,
121
- get: function () { return chunkREPTMTQ4_js.EVENT_TYPES; }
121
+ get: function () { return chunk6SRY4DPY_js.EVENT_TYPES; }
122
122
  });
123
123
  Object.defineProperty(exports, "FxService", {
124
124
  enumerable: true,
125
- get: function () { return chunkREPTMTQ4_js.FxService; }
125
+ get: function () { return chunk6SRY4DPY_js.FxService; }
126
126
  });
127
127
  Object.defineProperty(exports, "InventoryService", {
128
128
  enumerable: true,
129
- get: function () { return chunkREPTMTQ4_js.InventoryService; }
129
+ get: function () { return chunk6SRY4DPY_js.InventoryService; }
130
130
  });
131
131
  Object.defineProperty(exports, "LINK_MUTATION", {
132
132
  enumerable: true,
133
- get: function () { return chunkREPTMTQ4_js.LINK_MUTATION; }
133
+ get: function () { return chunk6SRY4DPY_js.LINK_MUTATION; }
134
134
  });
135
135
  Object.defineProperty(exports, "LINK_QUERY", {
136
136
  enumerable: true,
137
- get: function () { return chunkREPTMTQ4_js.LINK_QUERY; }
137
+ get: function () { return chunk6SRY4DPY_js.LINK_QUERY; }
138
138
  });
139
139
  Object.defineProperty(exports, "LinkService", {
140
140
  enumerable: true,
141
- get: function () { return chunkREPTMTQ4_js.LinkService; }
141
+ get: function () { return chunk6SRY4DPY_js.LinkService; }
142
142
  });
143
143
  Object.defineProperty(exports, "LiteService", {
144
144
  enumerable: true,
145
- get: function () { return chunkREPTMTQ4_js.LiteService; }
145
+ get: function () { return chunk6SRY4DPY_js.LiteService; }
146
146
  });
147
147
  Object.defineProperty(exports, "MESSAGE_TYPES", {
148
148
  enumerable: true,
149
- get: function () { return chunkREPTMTQ4_js.MESSAGE_TYPES; }
149
+ get: function () { return chunk6SRY4DPY_js.MESSAGE_TYPES; }
150
150
  });
151
151
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDER", {
152
152
  enumerable: true,
153
- get: function () { return chunkREPTMTQ4_js.MOBILE_MONEY_PROVIDER; }
153
+ get: function () { return chunk6SRY4DPY_js.MOBILE_MONEY_PROVIDER; }
154
154
  });
155
155
  Object.defineProperty(exports, "ORDER_MUTATION", {
156
156
  enumerable: true,
157
- get: function () { return chunkREPTMTQ4_js.ORDER_MUTATION; }
157
+ get: function () { return chunk6SRY4DPY_js.ORDER_MUTATION; }
158
158
  });
159
159
  Object.defineProperty(exports, "ORDER_TYPE", {
160
160
  enumerable: true,
161
- get: function () { return chunkREPTMTQ4_js.ORDER_TYPE; }
161
+ get: function () { return chunk6SRY4DPY_js.ORDER_TYPE; }
162
162
  });
163
163
  Object.defineProperty(exports, "OrderQueries", {
164
164
  enumerable: true,
165
- get: function () { return chunkREPTMTQ4_js.OrderQueries; }
165
+ get: function () { return chunk6SRY4DPY_js.OrderQueries; }
166
166
  });
167
167
  Object.defineProperty(exports, "PAYMENT_METHOD", {
168
168
  enumerable: true,
169
- get: function () { return chunkREPTMTQ4_js.PAYMENT_METHOD; }
169
+ get: function () { return chunk6SRY4DPY_js.PAYMENT_METHOD; }
170
170
  });
171
171
  Object.defineProperty(exports, "PAYMENT_MUTATION", {
172
172
  enumerable: true,
173
- get: function () { return chunkREPTMTQ4_js.PAYMENT_MUTATION; }
173
+ get: function () { return chunk6SRY4DPY_js.PAYMENT_MUTATION; }
174
174
  });
175
175
  Object.defineProperty(exports, "PAYMENT_STATE", {
176
176
  enumerable: true,
177
- get: function () { return chunkREPTMTQ4_js.PAYMENT_STATE; }
177
+ get: function () { return chunk6SRY4DPY_js.PAYMENT_STATE; }
178
178
  });
179
179
  Object.defineProperty(exports, "PICKUP_TIME_TYPE", {
180
180
  enumerable: true,
181
- get: function () { return chunkREPTMTQ4_js.PICKUP_TIME_TYPE; }
181
+ get: function () { return chunk6SRY4DPY_js.PICKUP_TIME_TYPE; }
182
182
  });
183
183
  Object.defineProperty(exports, "SchedulingService", {
184
184
  enumerable: true,
185
- get: function () { return chunkREPTMTQ4_js.SchedulingService; }
185
+ get: function () { return chunk6SRY4DPY_js.SchedulingService; }
186
186
  });
187
187
  Object.defineProperty(exports, "combine", {
188
188
  enumerable: true,
189
- get: function () { return chunkREPTMTQ4_js.combine; }
189
+ get: function () { return chunk6SRY4DPY_js.combine; }
190
190
  });
191
191
  Object.defineProperty(exports, "combineObject", {
192
192
  enumerable: true,
193
- get: function () { return chunkREPTMTQ4_js.combineObject; }
193
+ get: function () { return chunk6SRY4DPY_js.combineObject; }
194
194
  });
195
195
  Object.defineProperty(exports, "createElements", {
196
196
  enumerable: true,
197
- get: function () { return chunkREPTMTQ4_js.createElements; }
197
+ get: function () { return chunk6SRY4DPY_js.createElements; }
198
198
  });
199
199
  Object.defineProperty(exports, "err", {
200
200
  enumerable: true,
201
- get: function () { return chunkREPTMTQ4_js.err; }
201
+ get: function () { return chunk6SRY4DPY_js.err; }
202
202
  });
203
203
  Object.defineProperty(exports, "flatMap", {
204
204
  enumerable: true,
205
- get: function () { return chunkREPTMTQ4_js.flatMap; }
205
+ get: function () { return chunk6SRY4DPY_js.flatMap; }
206
206
  });
207
207
  Object.defineProperty(exports, "fromPromise", {
208
208
  enumerable: true,
209
- get: function () { return chunkREPTMTQ4_js.fromPromise; }
209
+ get: function () { return chunk6SRY4DPY_js.fromPromise; }
210
210
  });
211
211
  Object.defineProperty(exports, "generateIdempotencyKey", {
212
212
  enumerable: true,
213
- get: function () { return chunkREPTMTQ4_js.generateIdempotencyKey; }
213
+ get: function () { return chunk6SRY4DPY_js.generateIdempotencyKey; }
214
214
  });
215
215
  Object.defineProperty(exports, "getOrElse", {
216
216
  enumerable: true,
217
- get: function () { return chunkREPTMTQ4_js.getOrElse; }
217
+ get: function () { return chunk6SRY4DPY_js.getOrElse; }
218
218
  });
219
219
  Object.defineProperty(exports, "isErr", {
220
220
  enumerable: true,
221
- get: function () { return chunkREPTMTQ4_js.isErr; }
221
+ get: function () { return chunk6SRY4DPY_js.isErr; }
222
222
  });
223
223
  Object.defineProperty(exports, "isOk", {
224
224
  enumerable: true,
225
- get: function () { return chunkREPTMTQ4_js.isOk; }
225
+ get: function () { return chunk6SRY4DPY_js.isOk; }
226
226
  });
227
227
  Object.defineProperty(exports, "mapError", {
228
228
  enumerable: true,
229
- get: function () { return chunkREPTMTQ4_js.mapError; }
229
+ get: function () { return chunk6SRY4DPY_js.mapError; }
230
230
  });
231
231
  Object.defineProperty(exports, "mapResult", {
232
232
  enumerable: true,
233
- get: function () { return chunkREPTMTQ4_js.mapResult; }
233
+ get: function () { return chunk6SRY4DPY_js.mapResult; }
234
234
  });
235
235
  Object.defineProperty(exports, "ok", {
236
236
  enumerable: true,
237
- get: function () { return chunkREPTMTQ4_js.ok; }
237
+ get: function () { return chunk6SRY4DPY_js.ok; }
238
238
  });
239
239
  Object.defineProperty(exports, "toNullable", {
240
240
  enumerable: true,
241
- get: function () { return chunkREPTMTQ4_js.toNullable; }
241
+ get: function () { return chunk6SRY4DPY_js.toNullable; }
242
242
  });
243
243
  Object.defineProperty(exports, "tryCatch", {
244
244
  enumerable: true,
245
- get: function () { return chunkREPTMTQ4_js.tryCatch; }
245
+ get: function () { return chunk6SRY4DPY_js.tryCatch; }
246
246
  });
247
247
  Object.defineProperty(exports, "unwrap", {
248
248
  enumerable: true,
249
- get: function () { return chunkREPTMTQ4_js.unwrap; }
249
+ get: function () { return chunk6SRY4DPY_js.unwrap; }
250
250
  });
251
251
  Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
252
252
  enumerable: true,
253
- get: function () { return chunkJ65U5SED_js.CURRENCY_SYMBOLS; }
253
+ get: function () { return chunkRYQ5IPWX_js.CURRENCY_SYMBOLS; }
254
254
  });
255
255
  Object.defineProperty(exports, "CimplifyError", {
256
256
  enumerable: true,
257
- get: function () { return chunkJ65U5SED_js.CimplifyError; }
257
+ get: function () { return chunkRYQ5IPWX_js.CimplifyError; }
258
258
  });
259
259
  Object.defineProperty(exports, "ERROR_HINTS", {
260
260
  enumerable: true,
261
- get: function () { return chunkJ65U5SED_js.ERROR_HINTS; }
261
+ get: function () { return chunkRYQ5IPWX_js.ERROR_HINTS; }
262
262
  });
263
263
  Object.defineProperty(exports, "ErrorCode", {
264
264
  enumerable: true,
265
- get: function () { return chunkJ65U5SED_js.ErrorCode; }
265
+ get: function () { return chunkRYQ5IPWX_js.ErrorCode; }
266
266
  });
267
267
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDERS", {
268
268
  enumerable: true,
269
- get: function () { return chunkJ65U5SED_js.MOBILE_MONEY_PROVIDERS; }
269
+ get: function () { return chunkRYQ5IPWX_js.MOBILE_MONEY_PROVIDERS; }
270
270
  });
271
271
  Object.defineProperty(exports, "ZERO", {
272
272
  enumerable: true,
273
- get: function () { return chunkJ65U5SED_js.ZERO; }
273
+ get: function () { return chunkRYQ5IPWX_js.ZERO; }
274
274
  });
275
275
  Object.defineProperty(exports, "categorizePaymentError", {
276
276
  enumerable: true,
277
- get: function () { return chunkJ65U5SED_js.categorizePaymentError; }
277
+ get: function () { return chunkRYQ5IPWX_js.categorizePaymentError; }
278
278
  });
279
279
  Object.defineProperty(exports, "currencyCode", {
280
280
  enumerable: true,
281
- get: function () { return chunkJ65U5SED_js.currencyCode; }
281
+ get: function () { return chunkRYQ5IPWX_js.currencyCode; }
282
282
  });
283
283
  Object.defineProperty(exports, "detectMobileMoneyProvider", {
284
284
  enumerable: true,
285
- get: function () { return chunkJ65U5SED_js.detectMobileMoneyProvider; }
285
+ get: function () { return chunkRYQ5IPWX_js.detectMobileMoneyProvider; }
286
286
  });
287
287
  Object.defineProperty(exports, "enrichError", {
288
288
  enumerable: true,
289
- get: function () { return chunkJ65U5SED_js.enrichError; }
289
+ get: function () { return chunkRYQ5IPWX_js.enrichError; }
290
290
  });
291
291
  Object.defineProperty(exports, "formatMoney", {
292
292
  enumerable: true,
293
- get: function () { return chunkJ65U5SED_js.formatMoney; }
293
+ get: function () { return chunkRYQ5IPWX_js.formatMoney; }
294
294
  });
295
295
  Object.defineProperty(exports, "formatNumberCompact", {
296
296
  enumerable: true,
297
- get: function () { return chunkJ65U5SED_js.formatNumberCompact; }
297
+ get: function () { return chunkRYQ5IPWX_js.formatNumberCompact; }
298
298
  });
299
299
  Object.defineProperty(exports, "formatPrice", {
300
300
  enumerable: true,
301
- get: function () { return chunkJ65U5SED_js.formatPrice; }
301
+ get: function () { return chunkRYQ5IPWX_js.formatPrice; }
302
302
  });
303
303
  Object.defineProperty(exports, "formatPriceAdjustment", {
304
304
  enumerable: true,
305
- get: function () { return chunkJ65U5SED_js.formatPriceAdjustment; }
305
+ get: function () { return chunkRYQ5IPWX_js.formatPriceAdjustment; }
306
306
  });
307
307
  Object.defineProperty(exports, "formatPriceCompact", {
308
308
  enumerable: true,
309
- get: function () { return chunkJ65U5SED_js.formatPriceCompact; }
309
+ get: function () { return chunkRYQ5IPWX_js.formatPriceCompact; }
310
310
  });
311
311
  Object.defineProperty(exports, "formatPriceWithTax", {
312
312
  enumerable: true,
313
- get: function () { return chunkJ65U5SED_js.formatPriceWithTax; }
313
+ get: function () { return chunkRYQ5IPWX_js.formatPriceWithTax; }
314
314
  });
315
315
  Object.defineProperty(exports, "formatProductPrice", {
316
316
  enumerable: true,
317
- get: function () { return chunkJ65U5SED_js.formatProductPrice; }
317
+ get: function () { return chunkRYQ5IPWX_js.formatProductPrice; }
318
318
  });
319
319
  Object.defineProperty(exports, "getBasePrice", {
320
320
  enumerable: true,
321
- get: function () { return chunkJ65U5SED_js.getBasePrice; }
321
+ get: function () { return chunkRYQ5IPWX_js.getBasePrice; }
322
322
  });
323
323
  Object.defineProperty(exports, "getCurrencySymbol", {
324
324
  enumerable: true,
325
- get: function () { return chunkJ65U5SED_js.getCurrencySymbol; }
325
+ get: function () { return chunkRYQ5IPWX_js.getCurrencySymbol; }
326
326
  });
327
327
  Object.defineProperty(exports, "getDiscountPercentage", {
328
328
  enumerable: true,
329
- get: function () { return chunkJ65U5SED_js.getDiscountPercentage; }
329
+ get: function () { return chunkRYQ5IPWX_js.getDiscountPercentage; }
330
330
  });
331
331
  Object.defineProperty(exports, "getDisplayPrice", {
332
332
  enumerable: true,
333
- get: function () { return chunkJ65U5SED_js.getDisplayPrice; }
333
+ get: function () { return chunkRYQ5IPWX_js.getDisplayPrice; }
334
334
  });
335
335
  Object.defineProperty(exports, "getErrorHint", {
336
336
  enumerable: true,
337
- get: function () { return chunkJ65U5SED_js.getErrorHint; }
337
+ get: function () { return chunkRYQ5IPWX_js.getErrorHint; }
338
338
  });
339
339
  Object.defineProperty(exports, "getMarkupPercentage", {
340
340
  enumerable: true,
341
- get: function () { return chunkJ65U5SED_js.getMarkupPercentage; }
341
+ get: function () { return chunkRYQ5IPWX_js.getMarkupPercentage; }
342
342
  });
343
343
  Object.defineProperty(exports, "getProductCurrency", {
344
344
  enumerable: true,
345
- get: function () { return chunkJ65U5SED_js.getProductCurrency; }
345
+ get: function () { return chunkRYQ5IPWX_js.getProductCurrency; }
346
346
  });
347
347
  Object.defineProperty(exports, "getTaxAmount", {
348
348
  enumerable: true,
349
- get: function () { return chunkJ65U5SED_js.getTaxAmount; }
349
+ get: function () { return chunkRYQ5IPWX_js.getTaxAmount; }
350
350
  });
351
351
  Object.defineProperty(exports, "hasTaxInfo", {
352
352
  enumerable: true,
353
- get: function () { return chunkJ65U5SED_js.hasTaxInfo; }
353
+ get: function () { return chunkRYQ5IPWX_js.hasTaxInfo; }
354
354
  });
355
355
  Object.defineProperty(exports, "isCimplifyError", {
356
356
  enumerable: true,
357
- get: function () { return chunkJ65U5SED_js.isCimplifyError; }
357
+ get: function () { return chunkRYQ5IPWX_js.isCimplifyError; }
358
358
  });
359
359
  Object.defineProperty(exports, "isOnSale", {
360
360
  enumerable: true,
361
- get: function () { return chunkJ65U5SED_js.isOnSale; }
361
+ get: function () { return chunkRYQ5IPWX_js.isOnSale; }
362
362
  });
363
363
  Object.defineProperty(exports, "isPaymentStatusFailure", {
364
364
  enumerable: true,
365
- get: function () { return chunkJ65U5SED_js.isPaymentStatusFailure; }
365
+ get: function () { return chunkRYQ5IPWX_js.isPaymentStatusFailure; }
366
366
  });
367
367
  Object.defineProperty(exports, "isPaymentStatusRequiresAction", {
368
368
  enumerable: true,
369
- get: function () { return chunkJ65U5SED_js.isPaymentStatusRequiresAction; }
369
+ get: function () { return chunkRYQ5IPWX_js.isPaymentStatusRequiresAction; }
370
370
  });
371
371
  Object.defineProperty(exports, "isPaymentStatusSuccess", {
372
372
  enumerable: true,
373
- get: function () { return chunkJ65U5SED_js.isPaymentStatusSuccess; }
373
+ get: function () { return chunkRYQ5IPWX_js.isPaymentStatusSuccess; }
374
374
  });
375
375
  Object.defineProperty(exports, "isRetryableError", {
376
376
  enumerable: true,
377
- get: function () { return chunkJ65U5SED_js.isRetryableError; }
377
+ get: function () { return chunkRYQ5IPWX_js.isRetryableError; }
378
378
  });
379
379
  Object.defineProperty(exports, "isSupportedCurrency", {
380
380
  enumerable: true,
381
- get: function () { return chunkJ65U5SED_js.isSupportedCurrency; }
381
+ get: function () { return chunkRYQ5IPWX_js.isSupportedCurrency; }
382
382
  });
383
383
  Object.defineProperty(exports, "isTaxInclusive", {
384
384
  enumerable: true,
385
- get: function () { return chunkJ65U5SED_js.isTaxInclusive; }
385
+ get: function () { return chunkRYQ5IPWX_js.isTaxInclusive; }
386
386
  });
387
387
  Object.defineProperty(exports, "money", {
388
388
  enumerable: true,
389
- get: function () { return chunkJ65U5SED_js.money; }
389
+ get: function () { return chunkRYQ5IPWX_js.money; }
390
390
  });
391
391
  Object.defineProperty(exports, "moneyFromNumber", {
392
392
  enumerable: true,
393
- get: function () { return chunkJ65U5SED_js.moneyFromNumber; }
393
+ get: function () { return chunkRYQ5IPWX_js.moneyFromNumber; }
394
394
  });
395
395
  Object.defineProperty(exports, "normalizePaymentResponse", {
396
396
  enumerable: true,
397
- get: function () { return chunkJ65U5SED_js.normalizePaymentResponse; }
397
+ get: function () { return chunkRYQ5IPWX_js.normalizePaymentResponse; }
398
398
  });
399
399
  Object.defineProperty(exports, "normalizeStatusResponse", {
400
400
  enumerable: true,
401
- get: function () { return chunkJ65U5SED_js.normalizeStatusResponse; }
401
+ get: function () { return chunkRYQ5IPWX_js.normalizeStatusResponse; }
402
402
  });
403
403
  Object.defineProperty(exports, "parsePrice", {
404
404
  enumerable: true,
405
- get: function () { return chunkJ65U5SED_js.parsePrice; }
405
+ get: function () { return chunkRYQ5IPWX_js.parsePrice; }
406
406
  });
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- export { ActivityService, CimplifyClient, createCimplifyClient, getVariantDisplayName } from './chunk-G6KNFYJD.mjs';
1
+ export { ActivityService, CimplifyClient, createCimplifyClient, getVariantDisplayName } from './chunk-AFEE43MQ.mjs';
2
2
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-WDIMISRC.mjs';
3
3
  export { QueryBuilder, query } from './chunk-LM3CJ4L7.mjs';
4
- export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, toNullable, tryCatch, unwrap } from './chunk-GFKBH7R2.mjs';
5
- export { CURRENCY_SYMBOLS, CimplifyError, ERROR_HINTS, ErrorCode, MOBILE_MONEY_PROVIDERS, ZERO, categorizePaymentError, currencyCode, detectMobileMoneyProvider, enrichError, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getErrorHint, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isCimplifyError, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isRetryableError, isSupportedCurrency, isTaxInclusive, money, moneyFromNumber, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-OVM5YWM5.mjs';
4
+ export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, toNullable, tryCatch, unwrap } from './chunk-7ACYNCNM.mjs';
5
+ export { CURRENCY_SYMBOLS, CimplifyError, ERROR_HINTS, ErrorCode, MOBILE_MONEY_PROVIDERS, ZERO, categorizePaymentError, currencyCode, detectMobileMoneyProvider, enrichError, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getErrorHint, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isCimplifyError, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isRetryableError, isSupportedCurrency, isTaxInclusive, money, moneyFromNumber, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-FTL2SXCG.mjs';
@@ -92,6 +92,79 @@ type VariantStrategy = "fetch_all" | "use_axes";
92
92
  type DigitalProductType = "download" | "license" | "event_ticket" | "access_pass" | "gift_code";
93
93
  type DepositType = "none" | "fixed" | "percentage";
94
94
  type SalesChannel = "pos" | "online" | "marketplace" | "partners";
95
+ type AttributeType = "text" | "textarea" | "number" | "currency" | "boolean" | "single_select" | "multi_select" | "radio" | "date" | "url" | "color" | "image" | "file";
96
+ type AttributeAppliesTo = "product" | "variant" | "both";
97
+ interface CustomAttributeDefinition {
98
+ id: string;
99
+ business_id: string;
100
+ name: string;
101
+ slug: string;
102
+ description?: string;
103
+ attribute_type: AttributeType;
104
+ options?: string[];
105
+ unit?: string;
106
+ is_required: boolean;
107
+ is_filterable: boolean;
108
+ is_visible: boolean;
109
+ display_order: number;
110
+ group_name?: string;
111
+ applies_to: AttributeAppliesTo;
112
+ created_at: string;
113
+ updated_at: string;
114
+ }
115
+ interface CustomAttributeValue {
116
+ definition_id: string;
117
+ name: string;
118
+ slug: string;
119
+ attribute_type: AttributeType;
120
+ group_name?: string;
121
+ unit?: string;
122
+ value: string | number | boolean | string[] | null;
123
+ is_filterable: boolean;
124
+ }
125
+ type PropertySource = "attribute" | "variant";
126
+ interface ProductProperty {
127
+ name: string;
128
+ slug: string;
129
+ source: PropertySource;
130
+ value_type: string;
131
+ values: (string | number | boolean | null)[];
132
+ group_name?: string;
133
+ unit?: string;
134
+ is_filterable: boolean;
135
+ }
136
+ interface PropertyFacet {
137
+ name: string;
138
+ slug: string;
139
+ source: string;
140
+ values: FacetValue[];
141
+ }
142
+ interface FacetValue {
143
+ value: string;
144
+ count: number;
145
+ }
146
+ interface TaxonomyAttributeTemplate {
147
+ id: string;
148
+ taxonomy_id: string;
149
+ name: string;
150
+ slug: string;
151
+ attribute_type: "boolean" | "single_select";
152
+ options?: string[];
153
+ is_required: boolean;
154
+ display_order: number;
155
+ gpc_attribute_code?: number;
156
+ created_at: string;
157
+ }
158
+ interface KnowledgeArticle {
159
+ id: string;
160
+ title: string;
161
+ slug: string;
162
+ content: string;
163
+ category?: string;
164
+ tags: string[];
165
+ created_at: string;
166
+ updated_at: string;
167
+ }
95
168
  interface Product {
96
169
  id: string;
97
170
  business_id: string;
@@ -186,6 +259,8 @@ interface Product {
186
259
  components?: BundleComponentView[];
187
260
  composite_id?: string;
188
261
  groups?: CompositeGroupView[];
262
+ custom_attributes?: CustomAttributeValue[];
263
+ properties?: ProductProperty[];
189
264
  }
190
265
  interface ProductWithDetails extends Product {
191
266
  category?: Category;
@@ -1240,4 +1315,4 @@ interface SubmitAuthorizationInput {
1240
1315
  value: string;
1241
1316
  }
1242
1317
 
1243
- export { type BundleComponentInfo as $, type ApiError as A, type VariantAxisSelection as B, type CurrencyCode as C, type DisplayMode as D, ErrorCode as E, type AddOn as F, type AddOnWithOptions as G, type AddOnOption as H, type InventoryType as I, type AddOnOptionPrice as J, type ProductAddOn as K, type Category as L, type Money as M, type CategorySummary as N, type Collection as O, type PaginationParams as P, type CollectionSummary as Q, type CollectionProduct as R, type SalesChannel as S, type BundlePriceType as T, type Bundle as U, type VariantStrategy as V, type BundleSummary as W, type BundleProduct as X, type BundleWithDetails as Y, ZERO as Z, type BundleComponentData as _, moneyFromNumber as a, type UICartLocation as a$, type BundleComponentView as a0, type BundleComponentVariantView as a1, type VariantAxisView as a2, type VariantAxisValueView as a3, type CompositePricingMode as a4, type GroupPricingBehavior as a5, type ComponentSourceType as a6, type Composite as a7, type CompositeWithDetails as a8, type ComponentGroup as a9, type TaxPathComponent as aA, type PricePathTaxInfo as aB, type PriceDecisionPath as aC, type ChosenPrice as aD, type BenefitType as aE, type AppliedDiscount as aF, type DiscountBreakdown as aG, type DiscountDetails as aH, type SelectedAddOnOption as aI, type AddOnDetails as aJ, type CartAddOn as aK, type VariantDetails as aL, type BundleSelectionInput as aM, type BundleStoredSelection as aN, type BundleSelectionData as aO, type CompositeStoredSelection as aP, type CompositePriceBreakdown as aQ, type CompositeSelectionData as aR, type LineConfiguration as aS, type Cart as aT, type CartItem as aU, type CartTotals as aV, type DisplayCart as aW, type DisplayCartItem as aX, type DisplayAddOn as aY, type DisplayAddOnOption as aZ, type UICartBusiness as a_, type ComponentGroupWithComponents as aa, type CompositeGroupView as ab, type CompositeComponentView as ac, type CompositeComponent as ad, type ComponentSelectionInput as ae, type CompositePriceResult as af, type ComponentPriceBreakdown as ag, type PriceEntryType as ah, type Price as ai, type LocationProductPrice as aj, type ProductAvailability as ak, type ProductTimeProfile as al, type ProductTaxonomy as am, type TaxonomyWithChildren as an, type ProductAvailabilityNow as ao, type DealBenefitType as ap, type Deal as aq, type ProductDealInfo as ar, type DiscountValidation as as, type Tag as at, type TagsResponse as au, type CartStatus as av, type CartChannel as aw, type PriceSource as ax, type AdjustmentType as ay, type PriceAdjustment as az, type Pagination as b, type UICartCustomer as b0, type UICartPricing as b1, type AddOnOptionDetails as b2, type AddOnGroupDetails as b3, type VariantDetailsDTO as b4, type CartItemDetails as b5, type UICart as b6, type UICartResponse as b7, type AddToCartInput as b8, type UpdateCartItemInput as b9, type CartSummary as ba, type PaymentStatus as bb, type PaymentProvider as bc, type PaymentMethodType as bd, type AddressAuthorizationData as be, type AuthorizationType as bf, type PaymentProcessingState as bg, type PaymentMethod as bh, type Payment as bi, type InitializePaymentResult as bj, type PaymentResponse as bk, type PaymentStatusResponse as bl, type PaymentErrorDetails as bm, type SubmitAuthorizationInput as bn, currencyCode as c, type ErrorCodeType as d, type ErrorHint as e, ERROR_HINTS as f, CimplifyError as g, isCimplifyError as h, isSupportedCurrency as i, getErrorHint as j, enrichError as k, isRetryableError as l, money as m, type ProductType as n, type ProductRenderHint as o, type DigitalProductType as p, type DepositType as q, type Product as r, type ProductWithDetails as s, type ProductVariant as t, type VariantDisplayAttribute as u, type VariantAxis as v, type VariantAxisWithValues as w, type VariantAxisValue as x, type ProductVariantValue as y, type VariantLocationAvailability as z };
1318
+ export { type CategorySummary as $, type ApiError as A, type ProductVariant as B, type CurrencyCode as C, type DisplayMode as D, ErrorCode as E, type FacetValue as F, type VariantDisplayAttribute as G, type VariantAxis as H, type InventoryType as I, type VariantAxisWithValues as J, type KnowledgeArticle as K, type VariantAxisValue as L, type Money as M, type ProductVariantValue as N, type VariantLocationAvailability as O, type PaginationParams as P, type VariantAxisSelection as Q, type AddOn as R, type SalesChannel as S, type TaxonomyAttributeTemplate as T, type AddOnWithOptions as U, type VariantStrategy as V, type AddOnOption as W, type AddOnOptionPrice as X, type ProductAddOn as Y, ZERO as Z, type Category as _, moneyFromNumber as a, type CompositeSelectionData as a$, type Collection as a0, type CollectionSummary as a1, type CollectionProduct as a2, type BundlePriceType as a3, type Bundle as a4, type BundleSummary as a5, type BundleProduct as a6, type BundleWithDetails as a7, type BundleComponentData as a8, type BundleComponentInfo as a9, type Deal as aA, type ProductDealInfo as aB, type DiscountValidation as aC, type Tag as aD, type TagsResponse as aE, type CartStatus as aF, type CartChannel as aG, type PriceSource as aH, type AdjustmentType as aI, type PriceAdjustment as aJ, type TaxPathComponent as aK, type PricePathTaxInfo as aL, type PriceDecisionPath as aM, type ChosenPrice as aN, type BenefitType as aO, type AppliedDiscount as aP, type DiscountBreakdown as aQ, type DiscountDetails as aR, type SelectedAddOnOption as aS, type AddOnDetails as aT, type CartAddOn as aU, type VariantDetails as aV, type BundleSelectionInput as aW, type BundleStoredSelection as aX, type BundleSelectionData as aY, type CompositeStoredSelection as aZ, type CompositePriceBreakdown as a_, type BundleComponentView as aa, type BundleComponentVariantView as ab, type VariantAxisView as ac, type VariantAxisValueView as ad, type CompositePricingMode as ae, type GroupPricingBehavior as af, type ComponentSourceType as ag, type Composite as ah, type CompositeWithDetails as ai, type ComponentGroup as aj, type ComponentGroupWithComponents as ak, type CompositeGroupView as al, type CompositeComponentView as am, type CompositeComponent as an, type ComponentSelectionInput as ao, type CompositePriceResult as ap, type ComponentPriceBreakdown as aq, type PriceEntryType as ar, type Price as as, type LocationProductPrice as at, type ProductAvailability as au, type ProductTimeProfile as av, type ProductTaxonomy as aw, type TaxonomyWithChildren as ax, type ProductAvailabilityNow as ay, type DealBenefitType as az, type Pagination as b, type LineConfiguration as b0, type Cart as b1, type CartItem as b2, type CartTotals as b3, type DisplayCart as b4, type DisplayCartItem as b5, type DisplayAddOn as b6, type DisplayAddOnOption as b7, type UICartBusiness as b8, type UICartLocation as b9, type UICartCustomer as ba, type UICartPricing as bb, type AddOnOptionDetails as bc, type AddOnGroupDetails as bd, type VariantDetailsDTO as be, type CartItemDetails as bf, type UICart as bg, type UICartResponse as bh, type AddToCartInput as bi, type UpdateCartItemInput as bj, type CartSummary as bk, type PaymentStatus as bl, type PaymentProvider as bm, type PaymentMethodType as bn, type AddressAuthorizationData as bo, type AuthorizationType as bp, type PaymentProcessingState as bq, type PaymentMethod as br, type Payment as bs, type InitializePaymentResult as bt, type PaymentResponse as bu, type PaymentStatusResponse as bv, type PaymentErrorDetails as bw, type SubmitAuthorizationInput as bx, currencyCode as c, type ErrorCodeType as d, type ErrorHint as e, ERROR_HINTS as f, CimplifyError as g, isCimplifyError as h, isSupportedCurrency as i, getErrorHint as j, enrichError as k, isRetryableError as l, money as m, type ProductType as n, type ProductRenderHint as o, type DigitalProductType as p, type DepositType as q, type AttributeType as r, type AttributeAppliesTo as s, type CustomAttributeDefinition as t, type CustomAttributeValue as u, type PropertySource as v, type ProductProperty as w, type PropertyFacet as x, type Product as y, type ProductWithDetails as z };