@cimplify/sdk 0.46.1 → 0.46.3

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 (65) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +22 -22
  4. package/dist/advanced.mjs +3 -3
  5. package/dist/{chunk-5LZNTG4V.mjs → chunk-632JEJUS.mjs} +1 -1
  6. package/dist/{chunk-AUS4B7PA.mjs → chunk-6HYKWYUF.mjs} +2 -2
  7. package/dist/{chunk-Z3CHDA24.js → chunk-6RP6OPYO.js} +3 -3
  8. package/dist/{chunk-6V67MAWO.js → chunk-7ZACMER7.js} +22 -22
  9. package/dist/{chunk-UJ5BBLKL.mjs → chunk-CKRMA5F7.mjs} +2 -2
  10. package/dist/{chunk-4KNCSWE4.js → chunk-GEWFWQYK.js} +234 -234
  11. package/dist/{chunk-DETRNWHF.js → chunk-TKOTACKZ.js} +22 -0
  12. package/dist/{chunk-NKZ5YN5D.js → chunk-TW4OFRWV.js} +4 -4
  13. package/dist/{chunk-7H2DYO4T.mjs → chunk-WUIERJ6J.mjs} +2 -2
  14. package/dist/{chunk-7RRVM2X2.mjs → chunk-XY2DFX5K.mjs} +1 -1
  15. package/dist/{chunk-3HXYEK5K.mjs → chunk-Z2AYLZDF.mjs} +21 -1
  16. package/dist/{chunk-HNPVZGTO.js → chunk-Z2MLAIID.js} +60 -60
  17. package/dist/{client-D7nI2XmP.d.ts → client-B76ZNW5r.d.ts} +2 -2
  18. package/dist/{client-BScRT1Rz.d.mts → client-CT9NwIDX.d.mts} +2 -2
  19. package/dist/{client-DyrpQRza.d.mts → client-G2WCoxv2.d.mts} +2 -2
  20. package/dist/{client-B9r5rH3O.d.ts → client-QVINYu1X.d.ts} +2 -2
  21. package/dist/{index-DC_ZcSgO.d.ts → index-BAohYhdg.d.ts} +3 -3
  22. package/dist/{index-3C9J8Wb-.d.mts → index-Bo0NjgR6.d.mts} +3 -3
  23. package/dist/index.d.mts +6 -6
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.js +115 -107
  26. package/dist/index.mjs +4 -4
  27. package/dist/mock/cli.mjs +2 -0
  28. package/dist/mock/library.js +2 -0
  29. package/dist/mock/library.mjs +2 -0
  30. package/dist/mock/msw.js +2 -0
  31. package/dist/mock/msw.mjs +2 -0
  32. package/dist/{payment-Bse2XJ-c.d.mts → payment-9L_-GWqQ.d.mts} +1 -1
  33. package/dist/{payment-JcNqOf_T.d.ts → payment-_e99nSRj.d.ts} +1 -1
  34. package/dist/{price-YBGk5seG.d.mts → price-BjehlIhG.d.mts} +1 -1
  35. package/dist/{price-mHkRncgW.d.ts → price-CWQ5TQmk.d.ts} +1 -1
  36. package/dist/{product-DiX-HGkT.d.ts → product-C-xLzh7Q.d.mts} +16 -1
  37. package/dist/{product-DiX-HGkT.d.mts → product-C-xLzh7Q.d.ts} +16 -1
  38. package/dist/react.d.mts +4 -4
  39. package/dist/react.d.ts +4 -4
  40. package/dist/react.js +93 -85
  41. package/dist/react.mjs +12 -4
  42. package/dist/{server-Bg3VtA1D.d.ts → server-72rzvJ4Y.d.ts} +1 -1
  43. package/dist/{server-kakjHRgj.d.mts → server-BgccqOLT.d.mts} +1 -1
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +6 -6
  47. package/dist/server.mjs +4 -4
  48. package/dist/styles.css +1 -1
  49. package/dist/testing/msw.d.mts +2 -2
  50. package/dist/testing/msw.d.ts +2 -2
  51. package/dist/testing/msw.js +3 -3
  52. package/dist/testing/msw.mjs +2 -2
  53. package/dist/testing/suite.d.mts +6 -6
  54. package/dist/testing/suite.d.ts +6 -6
  55. package/dist/testing/suite.js +25 -25
  56. package/dist/testing/suite.mjs +6 -6
  57. package/dist/testing.d.mts +5 -5
  58. package/dist/testing.d.ts +5 -5
  59. package/dist/testing.js +81 -81
  60. package/dist/testing.mjs +7 -7
  61. package/dist/utils.d.mts +4 -4
  62. package/dist/utils.d.ts +4 -4
  63. package/dist/utils.js +29 -29
  64. package/dist/utils.mjs +2 -2
  65. package/package.json +1 -1
package/dist/testing.js CHANGED
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkNKZ5YN5D_js = require('./chunk-NKZ5YN5D.js');
4
- require('./chunk-HNPVZGTO.js');
5
- require('./chunk-6V67MAWO.js');
6
- require('./chunk-Z3CHDA24.js');
7
- require('./chunk-4KNCSWE4.js');
8
- require('./chunk-DETRNWHF.js');
3
+ var chunkTW4OFRWV_js = require('./chunk-TW4OFRWV.js');
4
+ require('./chunk-Z2MLAIID.js');
5
+ require('./chunk-7ZACMER7.js');
6
+ require('./chunk-6RP6OPYO.js');
7
+ require('./chunk-GEWFWQYK.js');
8
+ require('./chunk-TKOTACKZ.js');
9
9
  var zod = require('zod');
10
10
 
11
11
  var PUBLIC_SCHEMAS = {
12
- Brand: chunkNKZ5YN5D_js.BrandSchema,
13
- AddItemPayload: chunkNKZ5YN5D_js.AddItemPayloadSchema,
14
- Cart: chunkNKZ5YN5D_js.CartSchema,
15
- CartItem: chunkNKZ5YN5D_js.CartItemSchema,
16
- CartPricing: chunkNKZ5YN5D_js.CartPricingSchema,
17
- CheckoutBody: chunkNKZ5YN5D_js.CheckoutBodySchema,
18
- CheckoutResponse: chunkNKZ5YN5D_js.CheckoutResponseSchema,
19
- VariantInfo: chunkNKZ5YN5D_js.VariantInfoSchema
12
+ Brand: chunkTW4OFRWV_js.BrandSchema,
13
+ AddItemPayload: chunkTW4OFRWV_js.AddItemPayloadSchema,
14
+ Cart: chunkTW4OFRWV_js.CartSchema,
15
+ CartItem: chunkTW4OFRWV_js.CartItemSchema,
16
+ CartPricing: chunkTW4OFRWV_js.CartPricingSchema,
17
+ CheckoutBody: chunkTW4OFRWV_js.CheckoutBodySchema,
18
+ CheckoutResponse: chunkTW4OFRWV_js.CheckoutResponseSchema,
19
+ VariantInfo: chunkTW4OFRWV_js.VariantInfoSchema
20
20
  };
21
21
  function exportJsonSchemas() {
22
22
  const out = {};
23
23
  for (const [name, schema] of Object.entries(PUBLIC_SCHEMAS)) {
24
- const meta = chunkNKZ5YN5D_js.cimplifyRegistry.get(schema);
25
- const json = zod.z.toJSONSchema(schema, { metadata: chunkNKZ5YN5D_js.cimplifyRegistry });
24
+ const meta = chunkTW4OFRWV_js.cimplifyRegistry.get(schema);
25
+ const json = zod.z.toJSONSchema(schema, { metadata: chunkTW4OFRWV_js.cimplifyRegistry });
26
26
  if (meta) {
27
27
  json.$id = meta.id;
28
28
  json["x-cimplify-version"] = meta.version;
@@ -34,16 +34,16 @@ function exportJsonSchemas() {
34
34
  function listRegisteredSchemas() {
35
35
  const entries = [];
36
36
  for (const schema of [
37
- chunkNKZ5YN5D_js.BrandSchema,
38
- chunkNKZ5YN5D_js.AddItemPayloadSchema,
39
- chunkNKZ5YN5D_js.CartSchema,
40
- chunkNKZ5YN5D_js.CartItemSchema,
41
- chunkNKZ5YN5D_js.CartPricingSchema,
42
- chunkNKZ5YN5D_js.CheckoutBodySchema,
43
- chunkNKZ5YN5D_js.CheckoutResponseSchema,
44
- chunkNKZ5YN5D_js.VariantInfoSchema
37
+ chunkTW4OFRWV_js.BrandSchema,
38
+ chunkTW4OFRWV_js.AddItemPayloadSchema,
39
+ chunkTW4OFRWV_js.CartSchema,
40
+ chunkTW4OFRWV_js.CartItemSchema,
41
+ chunkTW4OFRWV_js.CartPricingSchema,
42
+ chunkTW4OFRWV_js.CheckoutBodySchema,
43
+ chunkTW4OFRWV_js.CheckoutResponseSchema,
44
+ chunkTW4OFRWV_js.VariantInfoSchema
45
45
  ]) {
46
- const meta = chunkNKZ5YN5D_js.cimplifyRegistry.get(schema);
46
+ const meta = chunkTW4OFRWV_js.cimplifyRegistry.get(schema);
47
47
  if (meta) entries.push({ schema, meta });
48
48
  }
49
49
  return entries;
@@ -51,227 +51,227 @@ function listRegisteredSchemas() {
51
51
 
52
52
  Object.defineProperty(exports, "AddItemPayloadSchema", {
53
53
  enumerable: true,
54
- get: function () { return chunkNKZ5YN5D_js.AddItemPayloadSchema; }
54
+ get: function () { return chunkTW4OFRWV_js.AddItemPayloadSchema; }
55
55
  });
56
56
  Object.defineProperty(exports, "AddOnDetailsSchema", {
57
57
  enumerable: true,
58
- get: function () { return chunkNKZ5YN5D_js.AddOnDetailsSchema; }
58
+ get: function () { return chunkTW4OFRWV_js.AddOnDetailsSchema; }
59
59
  });
60
60
  Object.defineProperty(exports, "AddOnGroupDetailsSchema", {
61
61
  enumerable: true,
62
- get: function () { return chunkNKZ5YN5D_js.AddOnGroupDetailsSchema; }
62
+ get: function () { return chunkTW4OFRWV_js.AddOnGroupDetailsSchema; }
63
63
  });
64
64
  Object.defineProperty(exports, "AddOnInDetailsSchema", {
65
65
  enumerable: true,
66
- get: function () { return chunkNKZ5YN5D_js.AddOnInDetailsSchema; }
66
+ get: function () { return chunkTW4OFRWV_js.AddOnInDetailsSchema; }
67
67
  });
68
68
  Object.defineProperty(exports, "AddOnOptionDetailsSchema", {
69
69
  enumerable: true,
70
- get: function () { return chunkNKZ5YN5D_js.AddOnOptionDetailsSchema; }
70
+ get: function () { return chunkTW4OFRWV_js.AddOnOptionDetailsSchema; }
71
71
  });
72
72
  Object.defineProperty(exports, "AuthorizationTypeSchema", {
73
73
  enumerable: true,
74
- get: function () { return chunkNKZ5YN5D_js.AuthorizationTypeSchema; }
74
+ get: function () { return chunkTW4OFRWV_js.AuthorizationTypeSchema; }
75
75
  });
76
76
  Object.defineProperty(exports, "BrandContactSchema", {
77
77
  enumerable: true,
78
- get: function () { return chunkNKZ5YN5D_js.BrandContactSchema; }
78
+ get: function () { return chunkTW4OFRWV_js.BrandContactSchema; }
79
79
  });
80
80
  Object.defineProperty(exports, "BrandFaqSchema", {
81
81
  enumerable: true,
82
- get: function () { return chunkNKZ5YN5D_js.BrandFaqSchema; }
82
+ get: function () { return chunkTW4OFRWV_js.BrandFaqSchema; }
83
83
  });
84
84
  Object.defineProperty(exports, "BrandHeroSchema", {
85
85
  enumerable: true,
86
- get: function () { return chunkNKZ5YN5D_js.BrandHeroSchema; }
86
+ get: function () { return chunkTW4OFRWV_js.BrandHeroSchema; }
87
87
  });
88
88
  Object.defineProperty(exports, "BrandNavLinkSchema", {
89
89
  enumerable: true,
90
- get: function () { return chunkNKZ5YN5D_js.BrandNavLinkSchema; }
90
+ get: function () { return chunkTW4OFRWV_js.BrandNavLinkSchema; }
91
91
  });
92
92
  Object.defineProperty(exports, "BrandPolicyPageSchema", {
93
93
  enumerable: true,
94
- get: function () { return chunkNKZ5YN5D_js.BrandPolicyPageSchema; }
94
+ get: function () { return chunkTW4OFRWV_js.BrandPolicyPageSchema; }
95
95
  });
96
96
  Object.defineProperty(exports, "BrandPolicySectionSchema", {
97
97
  enumerable: true,
98
- get: function () { return chunkNKZ5YN5D_js.BrandPolicySectionSchema; }
98
+ get: function () { return chunkTW4OFRWV_js.BrandPolicySectionSchema; }
99
99
  });
100
100
  Object.defineProperty(exports, "BrandSchema", {
101
101
  enumerable: true,
102
- get: function () { return chunkNKZ5YN5D_js.BrandSchema; }
102
+ get: function () { return chunkTW4OFRWV_js.BrandSchema; }
103
103
  });
104
104
  Object.defineProperty(exports, "BrandSocialSchema", {
105
105
  enumerable: true,
106
- get: function () { return chunkNKZ5YN5D_js.BrandSocialSchema; }
106
+ get: function () { return chunkTW4OFRWV_js.BrandSocialSchema; }
107
107
  });
108
108
  Object.defineProperty(exports, "BundleResolvedSchema", {
109
109
  enumerable: true,
110
- get: function () { return chunkNKZ5YN5D_js.BundleResolvedSchema; }
110
+ get: function () { return chunkTW4OFRWV_js.BundleResolvedSchema; }
111
111
  });
112
112
  Object.defineProperty(exports, "BundleSelectionInputSchema", {
113
113
  enumerable: true,
114
- get: function () { return chunkNKZ5YN5D_js.BundleSelectionInputSchema; }
114
+ get: function () { return chunkTW4OFRWV_js.BundleSelectionInputSchema; }
115
115
  });
116
116
  Object.defineProperty(exports, "CartItemSchema", {
117
117
  enumerable: true,
118
- get: function () { return chunkNKZ5YN5D_js.CartItemSchema; }
118
+ get: function () { return chunkTW4OFRWV_js.CartItemSchema; }
119
119
  });
120
120
  Object.defineProperty(exports, "CartPricingSchema", {
121
121
  enumerable: true,
122
- get: function () { return chunkNKZ5YN5D_js.CartPricingSchema; }
122
+ get: function () { return chunkTW4OFRWV_js.CartPricingSchema; }
123
123
  });
124
124
  Object.defineProperty(exports, "CartSchema", {
125
125
  enumerable: true,
126
- get: function () { return chunkNKZ5YN5D_js.CartSchema; }
126
+ get: function () { return chunkTW4OFRWV_js.CartSchema; }
127
127
  });
128
128
  Object.defineProperty(exports, "CheckoutBodySchema", {
129
129
  enumerable: true,
130
- get: function () { return chunkNKZ5YN5D_js.CheckoutBodySchema; }
130
+ get: function () { return chunkTW4OFRWV_js.CheckoutBodySchema; }
131
131
  });
132
132
  Object.defineProperty(exports, "CheckoutCustomerSchema", {
133
133
  enumerable: true,
134
- get: function () { return chunkNKZ5YN5D_js.CheckoutCustomerSchema; }
134
+ get: function () { return chunkTW4OFRWV_js.CheckoutCustomerSchema; }
135
135
  });
136
136
  Object.defineProperty(exports, "CheckoutResponseSchema", {
137
137
  enumerable: true,
138
- get: function () { return chunkNKZ5YN5D_js.CheckoutResponseSchema; }
138
+ get: function () { return chunkTW4OFRWV_js.CheckoutResponseSchema; }
139
139
  });
140
140
  Object.defineProperty(exports, "ChosenPriceSchema", {
141
141
  enumerable: true,
142
- get: function () { return chunkNKZ5YN5D_js.ChosenPriceSchema; }
142
+ get: function () { return chunkTW4OFRWV_js.ChosenPriceSchema; }
143
143
  });
144
144
  Object.defineProperty(exports, "CompositeResolvedSchema", {
145
145
  enumerable: true,
146
- get: function () { return chunkNKZ5YN5D_js.CompositeResolvedSchema; }
146
+ get: function () { return chunkTW4OFRWV_js.CompositeResolvedSchema; }
147
147
  });
148
148
  Object.defineProperty(exports, "CompositeSelectionInputSchema", {
149
149
  enumerable: true,
150
- get: function () { return chunkNKZ5YN5D_js.CompositeSelectionInputSchema; }
150
+ get: function () { return chunkTW4OFRWV_js.CompositeSelectionInputSchema; }
151
151
  });
152
152
  Object.defineProperty(exports, "CountryCodeSchema", {
153
153
  enumerable: true,
154
- get: function () { return chunkNKZ5YN5D_js.CountryCodeSchema; }
154
+ get: function () { return chunkTW4OFRWV_js.CountryCodeSchema; }
155
155
  });
156
156
  Object.defineProperty(exports, "CurrencyCodeSchema", {
157
157
  enumerable: true,
158
- get: function () { return chunkNKZ5YN5D_js.CurrencyCodeSchema; }
158
+ get: function () { return chunkTW4OFRWV_js.CurrencyCodeSchema; }
159
159
  });
160
160
  Object.defineProperty(exports, "CustomerInputValueSchema", {
161
161
  enumerable: true,
162
- get: function () { return chunkNKZ5YN5D_js.CustomerInputValueSchema; }
162
+ get: function () { return chunkTW4OFRWV_js.CustomerInputValueSchema; }
163
163
  });
164
164
  Object.defineProperty(exports, "DiscountDetailsSchema", {
165
165
  enumerable: true,
166
- get: function () { return chunkNKZ5YN5D_js.DiscountDetailsSchema; }
166
+ get: function () { return chunkTW4OFRWV_js.DiscountDetailsSchema; }
167
167
  });
168
168
  Object.defineProperty(exports, "IsoDateTimeSchema", {
169
169
  enumerable: true,
170
- get: function () { return chunkNKZ5YN5D_js.IsoDateTimeSchema; }
170
+ get: function () { return chunkTW4OFRWV_js.IsoDateTimeSchema; }
171
171
  });
172
172
  Object.defineProperty(exports, "LineTypeSchema", {
173
173
  enumerable: true,
174
- get: function () { return chunkNKZ5YN5D_js.LineTypeSchema; }
174
+ get: function () { return chunkTW4OFRWV_js.LineTypeSchema; }
175
175
  });
176
176
  Object.defineProperty(exports, "LocaleSchema", {
177
177
  enumerable: true,
178
- get: function () { return chunkNKZ5YN5D_js.LocaleSchema; }
178
+ get: function () { return chunkTW4OFRWV_js.LocaleSchema; }
179
179
  });
180
180
  Object.defineProperty(exports, "MoneyLooseSchema", {
181
181
  enumerable: true,
182
- get: function () { return chunkNKZ5YN5D_js.MoneyLooseSchema; }
182
+ get: function () { return chunkTW4OFRWV_js.MoneyLooseSchema; }
183
183
  });
184
184
  Object.defineProperty(exports, "MoneySchema", {
185
185
  enumerable: true,
186
- get: function () { return chunkNKZ5YN5D_js.MoneySchema; }
186
+ get: function () { return chunkTW4OFRWV_js.MoneySchema; }
187
187
  });
188
188
  Object.defineProperty(exports, "NextActionSchema", {
189
189
  enumerable: true,
190
- get: function () { return chunkNKZ5YN5D_js.NextActionSchema; }
190
+ get: function () { return chunkTW4OFRWV_js.NextActionSchema; }
191
191
  });
192
192
  Object.defineProperty(exports, "PhoneE164Schema", {
193
193
  enumerable: true,
194
- get: function () { return chunkNKZ5YN5D_js.PhoneE164Schema; }
194
+ get: function () { return chunkTW4OFRWV_js.PhoneE164Schema; }
195
195
  });
196
196
  Object.defineProperty(exports, "ProductTypeSchema", {
197
197
  enumerable: true,
198
- get: function () { return chunkNKZ5YN5D_js.ProductTypeSchema; }
198
+ get: function () { return chunkTW4OFRWV_js.ProductTypeSchema; }
199
199
  });
200
200
  Object.defineProperty(exports, "SchemaViolationError", {
201
201
  enumerable: true,
202
- get: function () { return chunkNKZ5YN5D_js.SchemaViolationError; }
202
+ get: function () { return chunkTW4OFRWV_js.SchemaViolationError; }
203
203
  });
204
204
  Object.defineProperty(exports, "SeedNameSchema", {
205
205
  enumerable: true,
206
- get: function () { return chunkNKZ5YN5D_js.SeedNameSchema; }
206
+ get: function () { return chunkTW4OFRWV_js.SeedNameSchema; }
207
207
  });
208
208
  Object.defineProperty(exports, "SelectedAddOnOptionSchema", {
209
209
  enumerable: true,
210
- get: function () { return chunkNKZ5YN5D_js.SelectedAddOnOptionSchema; }
210
+ get: function () { return chunkTW4OFRWV_js.SelectedAddOnOptionSchema; }
211
211
  });
212
212
  Object.defineProperty(exports, "ServiceStatusSchema", {
213
213
  enumerable: true,
214
- get: function () { return chunkNKZ5YN5D_js.ServiceStatusSchema; }
214
+ get: function () { return chunkTW4OFRWV_js.ServiceStatusSchema; }
215
215
  });
216
216
  Object.defineProperty(exports, "TimestampSchema", {
217
217
  enumerable: true,
218
- get: function () { return chunkNKZ5YN5D_js.TimestampSchema; }
218
+ get: function () { return chunkTW4OFRWV_js.TimestampSchema; }
219
219
  });
220
220
  Object.defineProperty(exports, "VariantDetailsSchema", {
221
221
  enumerable: true,
222
- get: function () { return chunkNKZ5YN5D_js.VariantDetailsSchema; }
222
+ get: function () { return chunkTW4OFRWV_js.VariantDetailsSchema; }
223
223
  });
224
224
  Object.defineProperty(exports, "VariantDisplayAttributeSchema", {
225
225
  enumerable: true,
226
- get: function () { return chunkNKZ5YN5D_js.VariantDisplayAttributeSchema; }
226
+ get: function () { return chunkTW4OFRWV_js.VariantDisplayAttributeSchema; }
227
227
  });
228
228
  Object.defineProperty(exports, "VariantInfoSchema", {
229
229
  enumerable: true,
230
- get: function () { return chunkNKZ5YN5D_js.VariantInfoSchema; }
230
+ get: function () { return chunkTW4OFRWV_js.VariantInfoSchema; }
231
231
  });
232
232
  Object.defineProperty(exports, "assertAddItemPayload", {
233
233
  enumerable: true,
234
- get: function () { return chunkNKZ5YN5D_js.assertAddItemPayload; }
234
+ get: function () { return chunkTW4OFRWV_js.assertAddItemPayload; }
235
235
  });
236
236
  Object.defineProperty(exports, "assertBrand", {
237
237
  enumerable: true,
238
- get: function () { return chunkNKZ5YN5D_js.assertBrand; }
238
+ get: function () { return chunkTW4OFRWV_js.assertBrand; }
239
239
  });
240
240
  Object.defineProperty(exports, "assertCart", {
241
241
  enumerable: true,
242
- get: function () { return chunkNKZ5YN5D_js.assertCart; }
242
+ get: function () { return chunkTW4OFRWV_js.assertCart; }
243
243
  });
244
244
  Object.defineProperty(exports, "assertCartItem", {
245
245
  enumerable: true,
246
- get: function () { return chunkNKZ5YN5D_js.assertCartItem; }
246
+ get: function () { return chunkTW4OFRWV_js.assertCartItem; }
247
247
  });
248
248
  Object.defineProperty(exports, "assertCheckoutBody", {
249
249
  enumerable: true,
250
- get: function () { return chunkNKZ5YN5D_js.assertCheckoutBody; }
250
+ get: function () { return chunkTW4OFRWV_js.assertCheckoutBody; }
251
251
  });
252
252
  Object.defineProperty(exports, "assertCheckoutResponse", {
253
253
  enumerable: true,
254
- get: function () { return chunkNKZ5YN5D_js.assertCheckoutResponse; }
254
+ get: function () { return chunkTW4OFRWV_js.assertCheckoutResponse; }
255
255
  });
256
256
  Object.defineProperty(exports, "cimplifyRegistry", {
257
257
  enumerable: true,
258
- get: function () { return chunkNKZ5YN5D_js.cimplifyRegistry; }
258
+ get: function () { return chunkTW4OFRWV_js.cimplifyRegistry; }
259
259
  });
260
260
  Object.defineProperty(exports, "createTestClient", {
261
261
  enumerable: true,
262
- get: function () { return chunkNKZ5YN5D_js.createTestClient; }
262
+ get: function () { return chunkTW4OFRWV_js.createTestClient; }
263
263
  });
264
264
  Object.defineProperty(exports, "fixtures", {
265
265
  enumerable: true,
266
- get: function () { return chunkNKZ5YN5D_js.fixtures; }
266
+ get: function () { return chunkTW4OFRWV_js.fixtures; }
267
267
  });
268
268
  Object.defineProperty(exports, "makeAssertion", {
269
269
  enumerable: true,
270
- get: function () { return chunkNKZ5YN5D_js.makeAssertion; }
270
+ get: function () { return chunkTW4OFRWV_js.makeAssertion; }
271
271
  });
272
272
  Object.defineProperty(exports, "registerSchema", {
273
273
  enumerable: true,
274
- get: function () { return chunkNKZ5YN5D_js.registerSchema; }
274
+ get: function () { return chunkTW4OFRWV_js.registerSchema; }
275
275
  });
276
276
  exports.exportJsonSchemas = exportJsonSchemas;
277
277
  exports.listRegisteredSchemas = listRegisteredSchemas;
package/dist/testing.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-AUS4B7PA.mjs';
2
- export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-AUS4B7PA.mjs';
3
- import './chunk-7H2DYO4T.mjs';
4
- import './chunk-UJ5BBLKL.mjs';
5
- import './chunk-7RRVM2X2.mjs';
6
- import './chunk-5LZNTG4V.mjs';
7
- import './chunk-3HXYEK5K.mjs';
1
+ import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-6HYKWYUF.mjs';
2
+ export { AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, CartItemSchema, CartPricingSchema, CartSchema, CheckoutBodySchema, CheckoutCustomerSchema, CheckoutResponseSchema, ChosenPriceSchema, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-6HYKWYUF.mjs';
3
+ import './chunk-WUIERJ6J.mjs';
4
+ import './chunk-CKRMA5F7.mjs';
5
+ import './chunk-XY2DFX5K.mjs';
6
+ import './chunk-632JEJUS.mjs';
7
+ import './chunk-Z2AYLZDF.mjs';
8
8
  import { z } from 'zod';
9
9
 
10
10
  var PUBLIC_SCHEMAS = {
package/dist/utils.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-3C9J8Wb-.mjs';
2
- import './product-DiX-HGkT.mjs';
3
- import './price-YBGk5seG.mjs';
4
- import './payment-Bse2XJ-c.mjs';
1
+ export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-Bo0NjgR6.mjs';
2
+ import './product-C-xLzh7Q.mjs';
3
+ import './price-BjehlIhG.mjs';
4
+ import './payment-9L_-GWqQ.mjs';
5
5
  import 'libphonenumber-js';
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-DC_ZcSgO.js';
2
- import './product-DiX-HGkT.js';
3
- import './price-mHkRncgW.js';
4
- import './payment-JcNqOf_T.js';
1
+ export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, r as getProductCurrency, g as getTaxAmount, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-BAohYhdg.js';
2
+ import './product-C-xLzh7Q.js';
3
+ import './price-CWQ5TQmk.js';
4
+ import './payment-_e99nSRj.js';
5
5
  import 'libphonenumber-js';
package/dist/utils.js CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
4
- var chunkZ3CHDA24_js = require('./chunk-Z3CHDA24.js');
5
- require('./chunk-DETRNWHF.js');
4
+ var chunk6RP6OPYO_js = require('./chunk-6RP6OPYO.js');
5
+ require('./chunk-TKOTACKZ.js');
6
6
 
7
7
 
8
8
 
@@ -20,109 +20,109 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
20
20
  });
21
21
  Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
22
22
  enumerable: true,
23
- get: function () { return chunkZ3CHDA24_js.CURRENCY_SYMBOLS; }
23
+ get: function () { return chunk6RP6OPYO_js.CURRENCY_SYMBOLS; }
24
24
  });
25
25
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDERS", {
26
26
  enumerable: true,
27
- get: function () { return chunkZ3CHDA24_js.MOBILE_MONEY_PROVIDERS; }
27
+ get: function () { return chunk6RP6OPYO_js.MOBILE_MONEY_PROVIDERS; }
28
28
  });
29
29
  Object.defineProperty(exports, "categorizePaymentError", {
30
30
  enumerable: true,
31
- get: function () { return chunkZ3CHDA24_js.categorizePaymentError; }
31
+ get: function () { return chunk6RP6OPYO_js.categorizePaymentError; }
32
32
  });
33
33
  Object.defineProperty(exports, "detectMobileMoneyProvider", {
34
34
  enumerable: true,
35
- get: function () { return chunkZ3CHDA24_js.detectMobileMoneyProvider; }
35
+ get: function () { return chunk6RP6OPYO_js.detectMobileMoneyProvider; }
36
36
  });
37
37
  Object.defineProperty(exports, "formatMoney", {
38
38
  enumerable: true,
39
- get: function () { return chunkZ3CHDA24_js.formatMoney; }
39
+ get: function () { return chunk6RP6OPYO_js.formatMoney; }
40
40
  });
41
41
  Object.defineProperty(exports, "formatNumberCompact", {
42
42
  enumerable: true,
43
- get: function () { return chunkZ3CHDA24_js.formatNumberCompact; }
43
+ get: function () { return chunk6RP6OPYO_js.formatNumberCompact; }
44
44
  });
45
45
  Object.defineProperty(exports, "formatPrice", {
46
46
  enumerable: true,
47
- get: function () { return chunkZ3CHDA24_js.formatPrice; }
47
+ get: function () { return chunk6RP6OPYO_js.formatPrice; }
48
48
  });
49
49
  Object.defineProperty(exports, "formatPriceAdjustment", {
50
50
  enumerable: true,
51
- get: function () { return chunkZ3CHDA24_js.formatPriceAdjustment; }
51
+ get: function () { return chunk6RP6OPYO_js.formatPriceAdjustment; }
52
52
  });
53
53
  Object.defineProperty(exports, "formatPriceCompact", {
54
54
  enumerable: true,
55
- get: function () { return chunkZ3CHDA24_js.formatPriceCompact; }
55
+ get: function () { return chunk6RP6OPYO_js.formatPriceCompact; }
56
56
  });
57
57
  Object.defineProperty(exports, "formatPriceWithTax", {
58
58
  enumerable: true,
59
- get: function () { return chunkZ3CHDA24_js.formatPriceWithTax; }
59
+ get: function () { return chunk6RP6OPYO_js.formatPriceWithTax; }
60
60
  });
61
61
  Object.defineProperty(exports, "formatProductPrice", {
62
62
  enumerable: true,
63
- get: function () { return chunkZ3CHDA24_js.formatProductPrice; }
63
+ get: function () { return chunk6RP6OPYO_js.formatProductPrice; }
64
64
  });
65
65
  Object.defineProperty(exports, "getBasePrice", {
66
66
  enumerable: true,
67
- get: function () { return chunkZ3CHDA24_js.getBasePrice; }
67
+ get: function () { return chunk6RP6OPYO_js.getBasePrice; }
68
68
  });
69
69
  Object.defineProperty(exports, "getCurrencySymbol", {
70
70
  enumerable: true,
71
- get: function () { return chunkZ3CHDA24_js.getCurrencySymbol; }
71
+ get: function () { return chunk6RP6OPYO_js.getCurrencySymbol; }
72
72
  });
73
73
  Object.defineProperty(exports, "getDiscountPercentage", {
74
74
  enumerable: true,
75
- get: function () { return chunkZ3CHDA24_js.getDiscountPercentage; }
75
+ get: function () { return chunk6RP6OPYO_js.getDiscountPercentage; }
76
76
  });
77
77
  Object.defineProperty(exports, "getDisplayPrice", {
78
78
  enumerable: true,
79
- get: function () { return chunkZ3CHDA24_js.getDisplayPrice; }
79
+ get: function () { return chunk6RP6OPYO_js.getDisplayPrice; }
80
80
  });
81
81
  Object.defineProperty(exports, "getMarkupPercentage", {
82
82
  enumerable: true,
83
- get: function () { return chunkZ3CHDA24_js.getMarkupPercentage; }
83
+ get: function () { return chunk6RP6OPYO_js.getMarkupPercentage; }
84
84
  });
85
85
  Object.defineProperty(exports, "getProductCurrency", {
86
86
  enumerable: true,
87
- get: function () { return chunkZ3CHDA24_js.getProductCurrency; }
87
+ get: function () { return chunk6RP6OPYO_js.getProductCurrency; }
88
88
  });
89
89
  Object.defineProperty(exports, "getTaxAmount", {
90
90
  enumerable: true,
91
- get: function () { return chunkZ3CHDA24_js.getTaxAmount; }
91
+ get: function () { return chunk6RP6OPYO_js.getTaxAmount; }
92
92
  });
93
93
  Object.defineProperty(exports, "hasTaxInfo", {
94
94
  enumerable: true,
95
- get: function () { return chunkZ3CHDA24_js.hasTaxInfo; }
95
+ get: function () { return chunk6RP6OPYO_js.hasTaxInfo; }
96
96
  });
97
97
  Object.defineProperty(exports, "isOnSale", {
98
98
  enumerable: true,
99
- get: function () { return chunkZ3CHDA24_js.isOnSale; }
99
+ get: function () { return chunk6RP6OPYO_js.isOnSale; }
100
100
  });
101
101
  Object.defineProperty(exports, "isPaymentStatusFailure", {
102
102
  enumerable: true,
103
- get: function () { return chunkZ3CHDA24_js.isPaymentStatusFailure; }
103
+ get: function () { return chunk6RP6OPYO_js.isPaymentStatusFailure; }
104
104
  });
105
105
  Object.defineProperty(exports, "isPaymentStatusRequiresAction", {
106
106
  enumerable: true,
107
- get: function () { return chunkZ3CHDA24_js.isPaymentStatusRequiresAction; }
107
+ get: function () { return chunk6RP6OPYO_js.isPaymentStatusRequiresAction; }
108
108
  });
109
109
  Object.defineProperty(exports, "isPaymentStatusSuccess", {
110
110
  enumerable: true,
111
- get: function () { return chunkZ3CHDA24_js.isPaymentStatusSuccess; }
111
+ get: function () { return chunk6RP6OPYO_js.isPaymentStatusSuccess; }
112
112
  });
113
113
  Object.defineProperty(exports, "isTaxInclusive", {
114
114
  enumerable: true,
115
- get: function () { return chunkZ3CHDA24_js.isTaxInclusive; }
115
+ get: function () { return chunk6RP6OPYO_js.isTaxInclusive; }
116
116
  });
117
117
  Object.defineProperty(exports, "normalizePaymentResponse", {
118
118
  enumerable: true,
119
- get: function () { return chunkZ3CHDA24_js.normalizePaymentResponse; }
119
+ get: function () { return chunk6RP6OPYO_js.normalizePaymentResponse; }
120
120
  });
121
121
  Object.defineProperty(exports, "normalizeStatusResponse", {
122
122
  enumerable: true,
123
- get: function () { return chunkZ3CHDA24_js.normalizeStatusResponse; }
123
+ get: function () { return chunk6RP6OPYO_js.normalizeStatusResponse; }
124
124
  });
125
125
  Object.defineProperty(exports, "parsePrice", {
126
126
  enumerable: true,
127
- get: function () { return chunkZ3CHDA24_js.parsePrice; }
127
+ get: function () { return chunk6RP6OPYO_js.parsePrice; }
128
128
  });
package/dist/utils.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
2
- export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-7RRVM2X2.mjs';
3
- import './chunk-3HXYEK5K.mjs';
2
+ export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-XY2DFX5K.mjs';
3
+ import './chunk-Z2AYLZDF.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimplify/sdk",
3
- "version": "0.46.1",
3
+ "version": "0.46.3",
4
4
  "description": "Cimplify Commerce SDK for storefronts",
5
5
  "keywords": [
6
6
  "cimplify",