@cimplify/sdk 0.103.0 → 0.104.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.
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-C2JSNJUC.mjs → chunk-2WPVUIHX.mjs} +52 -11
  6. package/dist/{chunk-JG5CQNCB.js → chunk-4BKOKHE3.js} +4 -0
  7. package/dist/{chunk-R6OLQ33I.js → chunk-5BDYDZ4U.js} +239 -87
  8. package/dist/{chunk-H7ACMHM3.mjs → chunk-5RT4HYMP.mjs} +32 -4
  9. package/dist/{chunk-NNG6IFFX.js → chunk-7PDEX54K.js} +3 -3
  10. package/dist/{chunk-M4URVKHE.mjs → chunk-DYIAX3WI.mjs} +1 -1
  11. package/dist/{chunk-QOWPGS7Z.js → chunk-E4K2VQDD.js} +35 -5
  12. package/dist/{chunk-VNPEYLB2.mjs → chunk-H3RATH4B.mjs} +4 -0
  13. package/dist/{chunk-JSWJ4XDE.js → chunk-IQFFSKE2.js} +315 -108
  14. package/dist/{chunk-J6PNHDHL.mjs → chunk-OCCNG6MO.mjs} +284 -77
  15. package/dist/{chunk-GERXZQSX.mjs → chunk-OKADBZAI.mjs} +171 -20
  16. package/dist/{chunk-VIL6IQCG.js → chunk-YVAEY3VC.js} +54 -13
  17. package/dist/{client-Dqg2mc-7.d.ts → client-BVNWjk6W.d.ts} +2 -2
  18. package/dist/{client-BfpNjJ_a.d.mts → client-BuLcOWLv.d.ts} +115 -23
  19. package/dist/{client-DHBwvh7U.d.ts → client-D5AoobFc.d.mts} +115 -23
  20. package/dist/{client-DpqRobY9.d.mts → client-fM716k7G.d.mts} +2 -2
  21. package/dist/{index-C8uDqLwJ.d.ts → index-BtcoqrY1.d.ts} +3 -3
  22. package/dist/{index-e2y6AK70.d.mts → index-D7Tf3v7c.d.mts} +3 -3
  23. package/dist/index.d.mts +10 -8
  24. package/dist/index.d.ts +10 -8
  25. package/dist/index.js +107 -106
  26. package/dist/index.mjs +6 -5
  27. package/dist/{link-cuNVYc2s.d.mts → link-D9iSVxt5.d.mts} +12 -1
  28. package/dist/{link-cuNVYc2s.d.ts → link-D9iSVxt5.d.ts} +12 -1
  29. package/dist/mock/cli.mjs +53 -10
  30. package/dist/mock/library.js +53 -10
  31. package/dist/mock/library.mjs +53 -10
  32. package/dist/mock/msw.js +53 -10
  33. package/dist/mock/msw.mjs +53 -10
  34. package/dist/{payment-H5LoIvXU.d.mts → payment-g0HFkEDU.d.mts} +519 -54
  35. package/dist/{payment-H5LoIvXU.d.ts → payment-g0HFkEDU.d.ts} +519 -54
  36. package/dist/{price-C2RqscMY.d.ts → price-BLIeAb8K.d.ts} +1 -1
  37. package/dist/{price-BvePgDXe.d.mts → price-Czq_cTC_.d.mts} +1 -1
  38. package/dist/react.d.mts +4 -4
  39. package/dist/react.d.ts +4 -4
  40. package/dist/react.js +193 -169
  41. package/dist/react.mjs +54 -30
  42. package/dist/{server-C7FyLdrz.d.mts → server-BkVhOIwn.d.mts} +4 -2
  43. package/dist/{server-DoXIpSd7.d.ts → server-DKK_D-PP.d.ts} +4 -2
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +11 -10
  47. package/dist/server.mjs +5 -4
  48. package/dist/testing/msw.d.mts +2 -2
  49. package/dist/testing/msw.d.ts +2 -2
  50. package/dist/testing/msw.js +3 -3
  51. package/dist/testing/msw.mjs +2 -2
  52. package/dist/testing/suite.d.mts +6 -6
  53. package/dist/testing/suite.d.ts +6 -6
  54. package/dist/testing/suite.js +25 -25
  55. package/dist/testing/suite.mjs +6 -6
  56. package/dist/testing.d.mts +46 -6
  57. package/dist/testing.d.ts +46 -6
  58. package/dist/testing.js +94 -82
  59. package/dist/testing.mjs +13 -9
  60. package/dist/utils.d.mts +4 -4
  61. package/dist/utils.d.ts +4 -4
  62. package/dist/utils.js +31 -31
  63. package/dist/utils.mjs +2 -2
  64. package/package.json +1 -1
  65. package/registry/chat-widget.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { $ZodType } from 'zod/v4/core';
3
- export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-DpqRobY9.mjs';
4
- import './client-BfpNjJ_a.mjs';
5
- import './payment-H5LoIvXU.mjs';
6
- import './link-cuNVYc2s.mjs';
7
- import './server-C7FyLdrz.mjs';
3
+ export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-fM716k7G.mjs';
4
+ import './client-D5AoobFc.mjs';
5
+ import './payment-g0HFkEDU.mjs';
6
+ import './link-D9iSVxt5.mjs';
7
+ import './server-BkVhOIwn.mjs';
8
8
  import 'hono';
9
9
 
10
10
  /**
@@ -1512,6 +1512,7 @@ declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1512
1512
  provider: z.ZodString;
1513
1513
  client_secret: z.ZodString;
1514
1514
  public_key: z.ZodString;
1515
+ provider_account_id: z.ZodOptional<z.ZodString>;
1515
1516
  }, z.core.$strip>, z.ZodObject<{
1516
1517
  type: z.ZodLiteral<"redirect">;
1517
1518
  authorization_url: z.ZodString;
@@ -1561,6 +1562,7 @@ declare const CheckoutResponseSchema: z.ZodObject<{
1561
1562
  provider: z.ZodString;
1562
1563
  client_secret: z.ZodString;
1563
1564
  public_key: z.ZodString;
1565
+ provider_account_id: z.ZodOptional<z.ZodString>;
1564
1566
  }, z.core.$strip>, z.ZodObject<{
1565
1567
  type: z.ZodLiteral<"redirect">;
1566
1568
  authorization_url: z.ZodString;
@@ -1604,6 +1606,7 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1604
1606
  provider: string;
1605
1607
  client_secret: string;
1606
1608
  public_key: string;
1609
+ provider_account_id?: string | undefined;
1607
1610
  } | {
1608
1611
  type: "redirect";
1609
1612
  authorization_url: string;
@@ -1639,6 +1642,26 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1639
1642
  public_key?: string | null | undefined;
1640
1643
  };
1641
1644
 
1645
+ /** Link OTP verification wire input. `challenge_id` remains optional only for
1646
+ * clients talking to the bounded rolling-deployment compatibility bridge. */
1647
+ declare const VerifyOtpRequestSchema: z.ZodObject<{
1648
+ challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
+ contact: z.ZodString;
1650
+ contact_type: z.ZodEnum<{
1651
+ email: "email";
1652
+ phone: "phone";
1653
+ }>;
1654
+ otp_code: z.ZodString;
1655
+ }, z.core.$strict>;
1656
+ /** The authoritative response from Link OTP issuance. */
1657
+ declare const RequestOtpResponseSchema: z.ZodObject<{
1658
+ success: z.ZodBoolean;
1659
+ challenge_id: z.ZodString;
1660
+ message: z.ZodString;
1661
+ expires_in: z.ZodNumber;
1662
+ is_new_account: z.ZodBoolean;
1663
+ }, z.core.$strict>;
1664
+
1642
1665
  /**
1643
1666
  * JSON Schema export — feeds OpenAPI generators, agent prompts,
1644
1667
  * codegen tooling, and CI contract-snapshot diffs.
@@ -2275,6 +2298,7 @@ declare const PUBLIC_SCHEMAS: {
2275
2298
  provider: z.ZodString;
2276
2299
  client_secret: z.ZodString;
2277
2300
  public_key: z.ZodString;
2301
+ provider_account_id: z.ZodOptional<z.ZodString>;
2278
2302
  }, z.core.$strip>, z.ZodObject<{
2279
2303
  type: z.ZodLiteral<"redirect">;
2280
2304
  authorization_url: z.ZodString;
@@ -2319,6 +2343,22 @@ declare const PUBLIC_SCHEMAS: {
2319
2343
  }, z.core.$strip>>>;
2320
2344
  images: z.ZodOptional<z.ZodArray<z.ZodString>>;
2321
2345
  }, z.core.$strip>;
2346
+ readonly VerifyOtpRequest: z.ZodObject<{
2347
+ challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2348
+ contact: z.ZodString;
2349
+ contact_type: z.ZodEnum<{
2350
+ email: "email";
2351
+ phone: "phone";
2352
+ }>;
2353
+ otp_code: z.ZodString;
2354
+ }, z.core.$strict>;
2355
+ readonly RequestOtpResponse: z.ZodObject<{
2356
+ success: z.ZodBoolean;
2357
+ challenge_id: z.ZodString;
2358
+ message: z.ZodString;
2359
+ expires_in: z.ZodNumber;
2360
+ is_new_account: z.ZodBoolean;
2361
+ }, z.core.$strict>;
2322
2362
  };
2323
2363
  type PublicSchemaName = keyof typeof PUBLIC_SCHEMAS;
2324
2364
  /**
@@ -2337,4 +2377,4 @@ declare function listRegisteredSchemas(): Array<{
2337
2377
  meta: CimplifySchemaMeta;
2338
2378
  }>;
2339
2379
 
2340
- export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
2380
+ export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
package/dist/testing.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { $ZodType } from 'zod/v4/core';
3
- export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-Dqg2mc-7.js';
4
- import './client-DHBwvh7U.js';
5
- import './payment-H5LoIvXU.js';
6
- import './link-cuNVYc2s.js';
7
- import './server-DoXIpSd7.js';
3
+ export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-BVNWjk6W.js';
4
+ import './client-BuLcOWLv.js';
5
+ import './payment-g0HFkEDU.js';
6
+ import './link-D9iSVxt5.js';
7
+ import './server-DKK_D-PP.js';
8
8
  import 'hono';
9
9
 
10
10
  /**
@@ -1512,6 +1512,7 @@ declare const NextActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1512
1512
  provider: z.ZodString;
1513
1513
  client_secret: z.ZodString;
1514
1514
  public_key: z.ZodString;
1515
+ provider_account_id: z.ZodOptional<z.ZodString>;
1515
1516
  }, z.core.$strip>, z.ZodObject<{
1516
1517
  type: z.ZodLiteral<"redirect">;
1517
1518
  authorization_url: z.ZodString;
@@ -1561,6 +1562,7 @@ declare const CheckoutResponseSchema: z.ZodObject<{
1561
1562
  provider: z.ZodString;
1562
1563
  client_secret: z.ZodString;
1563
1564
  public_key: z.ZodString;
1565
+ provider_account_id: z.ZodOptional<z.ZodString>;
1564
1566
  }, z.core.$strip>, z.ZodObject<{
1565
1567
  type: z.ZodLiteral<"redirect">;
1566
1568
  authorization_url: z.ZodString;
@@ -1604,6 +1606,7 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1604
1606
  provider: string;
1605
1607
  client_secret: string;
1606
1608
  public_key: string;
1609
+ provider_account_id?: string | undefined;
1607
1610
  } | {
1608
1611
  type: "redirect";
1609
1612
  authorization_url: string;
@@ -1639,6 +1642,26 @@ declare const assertCheckoutResponse: (value: unknown) => asserts value is {
1639
1642
  public_key?: string | null | undefined;
1640
1643
  };
1641
1644
 
1645
+ /** Link OTP verification wire input. `challenge_id` remains optional only for
1646
+ * clients talking to the bounded rolling-deployment compatibility bridge. */
1647
+ declare const VerifyOtpRequestSchema: z.ZodObject<{
1648
+ challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
+ contact: z.ZodString;
1650
+ contact_type: z.ZodEnum<{
1651
+ email: "email";
1652
+ phone: "phone";
1653
+ }>;
1654
+ otp_code: z.ZodString;
1655
+ }, z.core.$strict>;
1656
+ /** The authoritative response from Link OTP issuance. */
1657
+ declare const RequestOtpResponseSchema: z.ZodObject<{
1658
+ success: z.ZodBoolean;
1659
+ challenge_id: z.ZodString;
1660
+ message: z.ZodString;
1661
+ expires_in: z.ZodNumber;
1662
+ is_new_account: z.ZodBoolean;
1663
+ }, z.core.$strict>;
1664
+
1642
1665
  /**
1643
1666
  * JSON Schema export — feeds OpenAPI generators, agent prompts,
1644
1667
  * codegen tooling, and CI contract-snapshot diffs.
@@ -2275,6 +2298,7 @@ declare const PUBLIC_SCHEMAS: {
2275
2298
  provider: z.ZodString;
2276
2299
  client_secret: z.ZodString;
2277
2300
  public_key: z.ZodString;
2301
+ provider_account_id: z.ZodOptional<z.ZodString>;
2278
2302
  }, z.core.$strip>, z.ZodObject<{
2279
2303
  type: z.ZodLiteral<"redirect">;
2280
2304
  authorization_url: z.ZodString;
@@ -2319,6 +2343,22 @@ declare const PUBLIC_SCHEMAS: {
2319
2343
  }, z.core.$strip>>>;
2320
2344
  images: z.ZodOptional<z.ZodArray<z.ZodString>>;
2321
2345
  }, z.core.$strip>;
2346
+ readonly VerifyOtpRequest: z.ZodObject<{
2347
+ challenge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2348
+ contact: z.ZodString;
2349
+ contact_type: z.ZodEnum<{
2350
+ email: "email";
2351
+ phone: "phone";
2352
+ }>;
2353
+ otp_code: z.ZodString;
2354
+ }, z.core.$strict>;
2355
+ readonly RequestOtpResponse: z.ZodObject<{
2356
+ success: z.ZodBoolean;
2357
+ challenge_id: z.ZodString;
2358
+ message: z.ZodString;
2359
+ expires_in: z.ZodNumber;
2360
+ is_new_account: z.ZodBoolean;
2361
+ }, z.core.$strict>;
2322
2362
  };
2323
2363
  type PublicSchemaName = keyof typeof PUBLIC_SCHEMAS;
2324
2364
  /**
@@ -2337,4 +2377,4 @@ declare function listRegisteredSchemas(): Array<{
2337
2377
  meta: CimplifySchemaMeta;
2338
2378
  }>;
2339
2379
 
2340
- export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
2380
+ export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
package/dist/testing.js CHANGED
@@ -1,31 +1,33 @@
1
1
  'use strict';
2
2
 
3
- var chunkQOWPGS7Z_js = require('./chunk-QOWPGS7Z.js');
4
- require('./chunk-VIL6IQCG.js');
3
+ var chunkE4K2VQDD_js = require('./chunk-E4K2VQDD.js');
4
+ require('./chunk-YVAEY3VC.js');
5
+ require('./chunk-5BDYDZ4U.js');
5
6
  require('./chunk-XREIZ56K.js');
6
- require('./chunk-R6OLQ33I.js');
7
- require('./chunk-JSWJ4XDE.js');
7
+ require('./chunk-IQFFSKE2.js');
8
8
  require('./chunk-CNN7Z2IP.js');
9
- require('./chunk-NNG6IFFX.js');
10
- require('./chunk-JG5CQNCB.js');
9
+ require('./chunk-7PDEX54K.js');
10
+ require('./chunk-4BKOKHE3.js');
11
11
  require('./chunk-OWW5GUSB.js');
12
12
  var zod = require('zod');
13
13
 
14
14
  var PUBLIC_SCHEMAS = {
15
- Brand: chunkQOWPGS7Z_js.BrandSchema,
16
- AddItemPayload: chunkQOWPGS7Z_js.AddItemPayloadSchema,
17
- Cart: chunkQOWPGS7Z_js.CartSchema,
18
- CartItem: chunkQOWPGS7Z_js.CartItemSchema,
19
- CartPricing: chunkQOWPGS7Z_js.CartPricingSchema,
20
- CheckoutBody: chunkQOWPGS7Z_js.CheckoutBodySchema,
21
- CheckoutResponse: chunkQOWPGS7Z_js.CheckoutResponseSchema,
22
- VariantInfo: chunkQOWPGS7Z_js.VariantInfoSchema
15
+ Brand: chunkE4K2VQDD_js.BrandSchema,
16
+ AddItemPayload: chunkE4K2VQDD_js.AddItemPayloadSchema,
17
+ Cart: chunkE4K2VQDD_js.CartSchema,
18
+ CartItem: chunkE4K2VQDD_js.CartItemSchema,
19
+ CartPricing: chunkE4K2VQDD_js.CartPricingSchema,
20
+ CheckoutBody: chunkE4K2VQDD_js.CheckoutBodySchema,
21
+ CheckoutResponse: chunkE4K2VQDD_js.CheckoutResponseSchema,
22
+ VariantInfo: chunkE4K2VQDD_js.VariantInfoSchema,
23
+ VerifyOtpRequest: chunkE4K2VQDD_js.VerifyOtpRequestSchema,
24
+ RequestOtpResponse: chunkE4K2VQDD_js.RequestOtpResponseSchema
23
25
  };
24
26
  function exportJsonSchemas() {
25
27
  const out = {};
26
28
  for (const [name, schema] of Object.entries(PUBLIC_SCHEMAS)) {
27
- const meta = chunkQOWPGS7Z_js.cimplifyRegistry.get(schema);
28
- const json = zod.z.toJSONSchema(schema, { metadata: chunkQOWPGS7Z_js.cimplifyRegistry });
29
+ const meta = chunkE4K2VQDD_js.cimplifyRegistry.get(schema);
30
+ const json = zod.z.toJSONSchema(schema, { metadata: chunkE4K2VQDD_js.cimplifyRegistry });
29
31
  if (meta) {
30
32
  json.$id = meta.id;
31
33
  json["x-cimplify-version"] = meta.version;
@@ -37,16 +39,18 @@ function exportJsonSchemas() {
37
39
  function listRegisteredSchemas() {
38
40
  const entries = [];
39
41
  for (const schema of [
40
- chunkQOWPGS7Z_js.BrandSchema,
41
- chunkQOWPGS7Z_js.AddItemPayloadSchema,
42
- chunkQOWPGS7Z_js.CartSchema,
43
- chunkQOWPGS7Z_js.CartItemSchema,
44
- chunkQOWPGS7Z_js.CartPricingSchema,
45
- chunkQOWPGS7Z_js.CheckoutBodySchema,
46
- chunkQOWPGS7Z_js.CheckoutResponseSchema,
47
- chunkQOWPGS7Z_js.VariantInfoSchema
42
+ chunkE4K2VQDD_js.BrandSchema,
43
+ chunkE4K2VQDD_js.AddItemPayloadSchema,
44
+ chunkE4K2VQDD_js.CartSchema,
45
+ chunkE4K2VQDD_js.CartItemSchema,
46
+ chunkE4K2VQDD_js.CartPricingSchema,
47
+ chunkE4K2VQDD_js.CheckoutBodySchema,
48
+ chunkE4K2VQDD_js.CheckoutResponseSchema,
49
+ chunkE4K2VQDD_js.VariantInfoSchema,
50
+ chunkE4K2VQDD_js.VerifyOtpRequestSchema,
51
+ chunkE4K2VQDD_js.RequestOtpResponseSchema
48
52
  ]) {
49
- const meta = chunkQOWPGS7Z_js.cimplifyRegistry.get(schema);
53
+ const meta = chunkE4K2VQDD_js.cimplifyRegistry.get(schema);
50
54
  if (meta) entries.push({ schema, meta });
51
55
  }
52
56
  return entries;
@@ -54,231 +58,239 @@ function listRegisteredSchemas() {
54
58
 
55
59
  Object.defineProperty(exports, "AddItemPayloadSchema", {
56
60
  enumerable: true,
57
- get: function () { return chunkQOWPGS7Z_js.AddItemPayloadSchema; }
61
+ get: function () { return chunkE4K2VQDD_js.AddItemPayloadSchema; }
58
62
  });
59
63
  Object.defineProperty(exports, "AddOnDetailsSchema", {
60
64
  enumerable: true,
61
- get: function () { return chunkQOWPGS7Z_js.AddOnDetailsSchema; }
65
+ get: function () { return chunkE4K2VQDD_js.AddOnDetailsSchema; }
62
66
  });
63
67
  Object.defineProperty(exports, "AddOnGroupDetailsSchema", {
64
68
  enumerable: true,
65
- get: function () { return chunkQOWPGS7Z_js.AddOnGroupDetailsSchema; }
69
+ get: function () { return chunkE4K2VQDD_js.AddOnGroupDetailsSchema; }
66
70
  });
67
71
  Object.defineProperty(exports, "AddOnInDetailsSchema", {
68
72
  enumerable: true,
69
- get: function () { return chunkQOWPGS7Z_js.AddOnInDetailsSchema; }
73
+ get: function () { return chunkE4K2VQDD_js.AddOnInDetailsSchema; }
70
74
  });
71
75
  Object.defineProperty(exports, "AddOnOptionDetailsSchema", {
72
76
  enumerable: true,
73
- get: function () { return chunkQOWPGS7Z_js.AddOnOptionDetailsSchema; }
77
+ get: function () { return chunkE4K2VQDD_js.AddOnOptionDetailsSchema; }
74
78
  });
75
79
  Object.defineProperty(exports, "AuthorizationTypeSchema", {
76
80
  enumerable: true,
77
- get: function () { return chunkQOWPGS7Z_js.AuthorizationTypeSchema; }
81
+ get: function () { return chunkE4K2VQDD_js.AuthorizationTypeSchema; }
78
82
  });
79
83
  Object.defineProperty(exports, "BrandContactSchema", {
80
84
  enumerable: true,
81
- get: function () { return chunkQOWPGS7Z_js.BrandContactSchema; }
85
+ get: function () { return chunkE4K2VQDD_js.BrandContactSchema; }
82
86
  });
83
87
  Object.defineProperty(exports, "BrandFaqSchema", {
84
88
  enumerable: true,
85
- get: function () { return chunkQOWPGS7Z_js.BrandFaqSchema; }
89
+ get: function () { return chunkE4K2VQDD_js.BrandFaqSchema; }
86
90
  });
87
91
  Object.defineProperty(exports, "BrandHeroSchema", {
88
92
  enumerable: true,
89
- get: function () { return chunkQOWPGS7Z_js.BrandHeroSchema; }
93
+ get: function () { return chunkE4K2VQDD_js.BrandHeroSchema; }
90
94
  });
91
95
  Object.defineProperty(exports, "BrandNavLinkSchema", {
92
96
  enumerable: true,
93
- get: function () { return chunkQOWPGS7Z_js.BrandNavLinkSchema; }
97
+ get: function () { return chunkE4K2VQDD_js.BrandNavLinkSchema; }
94
98
  });
95
99
  Object.defineProperty(exports, "BrandPolicyPageSchema", {
96
100
  enumerable: true,
97
- get: function () { return chunkQOWPGS7Z_js.BrandPolicyPageSchema; }
101
+ get: function () { return chunkE4K2VQDD_js.BrandPolicyPageSchema; }
98
102
  });
99
103
  Object.defineProperty(exports, "BrandPolicySectionSchema", {
100
104
  enumerable: true,
101
- get: function () { return chunkQOWPGS7Z_js.BrandPolicySectionSchema; }
105
+ get: function () { return chunkE4K2VQDD_js.BrandPolicySectionSchema; }
102
106
  });
103
107
  Object.defineProperty(exports, "BrandSchema", {
104
108
  enumerable: true,
105
- get: function () { return chunkQOWPGS7Z_js.BrandSchema; }
109
+ get: function () { return chunkE4K2VQDD_js.BrandSchema; }
106
110
  });
107
111
  Object.defineProperty(exports, "BrandSocialSchema", {
108
112
  enumerable: true,
109
- get: function () { return chunkQOWPGS7Z_js.BrandSocialSchema; }
113
+ get: function () { return chunkE4K2VQDD_js.BrandSocialSchema; }
110
114
  });
111
115
  Object.defineProperty(exports, "BundleResolvedSchema", {
112
116
  enumerable: true,
113
- get: function () { return chunkQOWPGS7Z_js.BundleResolvedSchema; }
117
+ get: function () { return chunkE4K2VQDD_js.BundleResolvedSchema; }
114
118
  });
115
119
  Object.defineProperty(exports, "BundleSelectionInputSchema", {
116
120
  enumerable: true,
117
- get: function () { return chunkQOWPGS7Z_js.BundleSelectionInputSchema; }
121
+ get: function () { return chunkE4K2VQDD_js.BundleSelectionInputSchema; }
118
122
  });
119
123
  Object.defineProperty(exports, "CartItemSchema", {
120
124
  enumerable: true,
121
- get: function () { return chunkQOWPGS7Z_js.CartItemSchema; }
125
+ get: function () { return chunkE4K2VQDD_js.CartItemSchema; }
122
126
  });
123
127
  Object.defineProperty(exports, "CartPricingSchema", {
124
128
  enumerable: true,
125
- get: function () { return chunkQOWPGS7Z_js.CartPricingSchema; }
129
+ get: function () { return chunkE4K2VQDD_js.CartPricingSchema; }
126
130
  });
127
131
  Object.defineProperty(exports, "CartSchema", {
128
132
  enumerable: true,
129
- get: function () { return chunkQOWPGS7Z_js.CartSchema; }
133
+ get: function () { return chunkE4K2VQDD_js.CartSchema; }
130
134
  });
131
135
  Object.defineProperty(exports, "CheckoutBodySchema", {
132
136
  enumerable: true,
133
- get: function () { return chunkQOWPGS7Z_js.CheckoutBodySchema; }
137
+ get: function () { return chunkE4K2VQDD_js.CheckoutBodySchema; }
134
138
  });
135
139
  Object.defineProperty(exports, "CheckoutCustomerSchema", {
136
140
  enumerable: true,
137
- get: function () { return chunkQOWPGS7Z_js.CheckoutCustomerSchema; }
141
+ get: function () { return chunkE4K2VQDD_js.CheckoutCustomerSchema; }
138
142
  });
139
143
  Object.defineProperty(exports, "CheckoutResponseSchema", {
140
144
  enumerable: true,
141
- get: function () { return chunkQOWPGS7Z_js.CheckoutResponseSchema; }
145
+ get: function () { return chunkE4K2VQDD_js.CheckoutResponseSchema; }
142
146
  });
143
147
  Object.defineProperty(exports, "ChosenPriceSchema", {
144
148
  enumerable: true,
145
- get: function () { return chunkQOWPGS7Z_js.ChosenPriceSchema; }
149
+ get: function () { return chunkE4K2VQDD_js.ChosenPriceSchema; }
146
150
  });
147
151
  Object.defineProperty(exports, "CompositeResolvedSchema", {
148
152
  enumerable: true,
149
- get: function () { return chunkQOWPGS7Z_js.CompositeResolvedSchema; }
153
+ get: function () { return chunkE4K2VQDD_js.CompositeResolvedSchema; }
150
154
  });
151
155
  Object.defineProperty(exports, "CompositeSelectionInputSchema", {
152
156
  enumerable: true,
153
- get: function () { return chunkQOWPGS7Z_js.CompositeSelectionInputSchema; }
157
+ get: function () { return chunkE4K2VQDD_js.CompositeSelectionInputSchema; }
154
158
  });
155
159
  Object.defineProperty(exports, "CountryCodeSchema", {
156
160
  enumerable: true,
157
- get: function () { return chunkQOWPGS7Z_js.CountryCodeSchema; }
161
+ get: function () { return chunkE4K2VQDD_js.CountryCodeSchema; }
158
162
  });
159
163
  Object.defineProperty(exports, "CurrencyCodeSchema", {
160
164
  enumerable: true,
161
- get: function () { return chunkQOWPGS7Z_js.CurrencyCodeSchema; }
165
+ get: function () { return chunkE4K2VQDD_js.CurrencyCodeSchema; }
162
166
  });
163
167
  Object.defineProperty(exports, "CustomerInputValueSchema", {
164
168
  enumerable: true,
165
- get: function () { return chunkQOWPGS7Z_js.CustomerInputValueSchema; }
169
+ get: function () { return chunkE4K2VQDD_js.CustomerInputValueSchema; }
166
170
  });
167
171
  Object.defineProperty(exports, "DiscountDetailsSchema", {
168
172
  enumerable: true,
169
- get: function () { return chunkQOWPGS7Z_js.DiscountDetailsSchema; }
173
+ get: function () { return chunkE4K2VQDD_js.DiscountDetailsSchema; }
170
174
  });
171
175
  Object.defineProperty(exports, "IsoDateTimeSchema", {
172
176
  enumerable: true,
173
- get: function () { return chunkQOWPGS7Z_js.IsoDateTimeSchema; }
177
+ get: function () { return chunkE4K2VQDD_js.IsoDateTimeSchema; }
174
178
  });
175
179
  Object.defineProperty(exports, "LineTypeSchema", {
176
180
  enumerable: true,
177
- get: function () { return chunkQOWPGS7Z_js.LineTypeSchema; }
181
+ get: function () { return chunkE4K2VQDD_js.LineTypeSchema; }
178
182
  });
179
183
  Object.defineProperty(exports, "LocaleSchema", {
180
184
  enumerable: true,
181
- get: function () { return chunkQOWPGS7Z_js.LocaleSchema; }
185
+ get: function () { return chunkE4K2VQDD_js.LocaleSchema; }
182
186
  });
183
187
  Object.defineProperty(exports, "MoneyLooseSchema", {
184
188
  enumerable: true,
185
- get: function () { return chunkQOWPGS7Z_js.MoneyLooseSchema; }
189
+ get: function () { return chunkE4K2VQDD_js.MoneyLooseSchema; }
186
190
  });
187
191
  Object.defineProperty(exports, "MoneySchema", {
188
192
  enumerable: true,
189
- get: function () { return chunkQOWPGS7Z_js.MoneySchema; }
193
+ get: function () { return chunkE4K2VQDD_js.MoneySchema; }
190
194
  });
191
195
  Object.defineProperty(exports, "NextActionSchema", {
192
196
  enumerable: true,
193
- get: function () { return chunkQOWPGS7Z_js.NextActionSchema; }
197
+ get: function () { return chunkE4K2VQDD_js.NextActionSchema; }
194
198
  });
195
199
  Object.defineProperty(exports, "PhoneE164Schema", {
196
200
  enumerable: true,
197
- get: function () { return chunkQOWPGS7Z_js.PhoneE164Schema; }
201
+ get: function () { return chunkE4K2VQDD_js.PhoneE164Schema; }
198
202
  });
199
203
  Object.defineProperty(exports, "ProductTypeSchema", {
200
204
  enumerable: true,
201
- get: function () { return chunkQOWPGS7Z_js.ProductTypeSchema; }
205
+ get: function () { return chunkE4K2VQDD_js.ProductTypeSchema; }
206
+ });
207
+ Object.defineProperty(exports, "RequestOtpResponseSchema", {
208
+ enumerable: true,
209
+ get: function () { return chunkE4K2VQDD_js.RequestOtpResponseSchema; }
202
210
  });
203
211
  Object.defineProperty(exports, "SchemaViolationError", {
204
212
  enumerable: true,
205
- get: function () { return chunkQOWPGS7Z_js.SchemaViolationError; }
213
+ get: function () { return chunkE4K2VQDD_js.SchemaViolationError; }
206
214
  });
207
215
  Object.defineProperty(exports, "SeedNameSchema", {
208
216
  enumerable: true,
209
- get: function () { return chunkQOWPGS7Z_js.SeedNameSchema; }
217
+ get: function () { return chunkE4K2VQDD_js.SeedNameSchema; }
210
218
  });
211
219
  Object.defineProperty(exports, "SelectedAddOnOptionSchema", {
212
220
  enumerable: true,
213
- get: function () { return chunkQOWPGS7Z_js.SelectedAddOnOptionSchema; }
221
+ get: function () { return chunkE4K2VQDD_js.SelectedAddOnOptionSchema; }
214
222
  });
215
223
  Object.defineProperty(exports, "ServiceStatusSchema", {
216
224
  enumerable: true,
217
- get: function () { return chunkQOWPGS7Z_js.ServiceStatusSchema; }
225
+ get: function () { return chunkE4K2VQDD_js.ServiceStatusSchema; }
218
226
  });
219
227
  Object.defineProperty(exports, "TaxPriceDisplayModeSchema", {
220
228
  enumerable: true,
221
- get: function () { return chunkQOWPGS7Z_js.TaxPriceDisplayModeSchema; }
229
+ get: function () { return chunkE4K2VQDD_js.TaxPriceDisplayModeSchema; }
222
230
  });
223
231
  Object.defineProperty(exports, "TimestampSchema", {
224
232
  enumerable: true,
225
- get: function () { return chunkQOWPGS7Z_js.TimestampSchema; }
233
+ get: function () { return chunkE4K2VQDD_js.TimestampSchema; }
226
234
  });
227
235
  Object.defineProperty(exports, "VariantDetailsSchema", {
228
236
  enumerable: true,
229
- get: function () { return chunkQOWPGS7Z_js.VariantDetailsSchema; }
237
+ get: function () { return chunkE4K2VQDD_js.VariantDetailsSchema; }
230
238
  });
231
239
  Object.defineProperty(exports, "VariantDisplayAttributeSchema", {
232
240
  enumerable: true,
233
- get: function () { return chunkQOWPGS7Z_js.VariantDisplayAttributeSchema; }
241
+ get: function () { return chunkE4K2VQDD_js.VariantDisplayAttributeSchema; }
234
242
  });
235
243
  Object.defineProperty(exports, "VariantInfoSchema", {
236
244
  enumerable: true,
237
- get: function () { return chunkQOWPGS7Z_js.VariantInfoSchema; }
245
+ get: function () { return chunkE4K2VQDD_js.VariantInfoSchema; }
246
+ });
247
+ Object.defineProperty(exports, "VerifyOtpRequestSchema", {
248
+ enumerable: true,
249
+ get: function () { return chunkE4K2VQDD_js.VerifyOtpRequestSchema; }
238
250
  });
239
251
  Object.defineProperty(exports, "assertAddItemPayload", {
240
252
  enumerable: true,
241
- get: function () { return chunkQOWPGS7Z_js.assertAddItemPayload; }
253
+ get: function () { return chunkE4K2VQDD_js.assertAddItemPayload; }
242
254
  });
243
255
  Object.defineProperty(exports, "assertBrand", {
244
256
  enumerable: true,
245
- get: function () { return chunkQOWPGS7Z_js.assertBrand; }
257
+ get: function () { return chunkE4K2VQDD_js.assertBrand; }
246
258
  });
247
259
  Object.defineProperty(exports, "assertCart", {
248
260
  enumerable: true,
249
- get: function () { return chunkQOWPGS7Z_js.assertCart; }
261
+ get: function () { return chunkE4K2VQDD_js.assertCart; }
250
262
  });
251
263
  Object.defineProperty(exports, "assertCartItem", {
252
264
  enumerable: true,
253
- get: function () { return chunkQOWPGS7Z_js.assertCartItem; }
265
+ get: function () { return chunkE4K2VQDD_js.assertCartItem; }
254
266
  });
255
267
  Object.defineProperty(exports, "assertCheckoutBody", {
256
268
  enumerable: true,
257
- get: function () { return chunkQOWPGS7Z_js.assertCheckoutBody; }
269
+ get: function () { return chunkE4K2VQDD_js.assertCheckoutBody; }
258
270
  });
259
271
  Object.defineProperty(exports, "assertCheckoutResponse", {
260
272
  enumerable: true,
261
- get: function () { return chunkQOWPGS7Z_js.assertCheckoutResponse; }
273
+ get: function () { return chunkE4K2VQDD_js.assertCheckoutResponse; }
262
274
  });
263
275
  Object.defineProperty(exports, "cimplifyRegistry", {
264
276
  enumerable: true,
265
- get: function () { return chunkQOWPGS7Z_js.cimplifyRegistry; }
277
+ get: function () { return chunkE4K2VQDD_js.cimplifyRegistry; }
266
278
  });
267
279
  Object.defineProperty(exports, "createTestClient", {
268
280
  enumerable: true,
269
- get: function () { return chunkQOWPGS7Z_js.createTestClient; }
281
+ get: function () { return chunkE4K2VQDD_js.createTestClient; }
270
282
  });
271
283
  Object.defineProperty(exports, "fixtures", {
272
284
  enumerable: true,
273
- get: function () { return chunkQOWPGS7Z_js.fixtures; }
285
+ get: function () { return chunkE4K2VQDD_js.fixtures; }
274
286
  });
275
287
  Object.defineProperty(exports, "makeAssertion", {
276
288
  enumerable: true,
277
- get: function () { return chunkQOWPGS7Z_js.makeAssertion; }
289
+ get: function () { return chunkE4K2VQDD_js.makeAssertion; }
278
290
  });
279
291
  Object.defineProperty(exports, "registerSchema", {
280
292
  enumerable: true,
281
- get: function () { return chunkQOWPGS7Z_js.registerSchema; }
293
+ get: function () { return chunkE4K2VQDD_js.registerSchema; }
282
294
  });
283
295
  exports.exportJsonSchemas = exportJsonSchemas;
284
296
  exports.listRegisteredSchemas = listRegisteredSchemas;
package/dist/testing.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-H7ACMHM3.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, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-H7ACMHM3.mjs';
3
- import './chunk-C2JSNJUC.mjs';
1
+ import { RequestOtpResponseSchema, VerifyOtpRequestSchema, VariantInfoSchema, CheckoutResponseSchema, CheckoutBodySchema, CartPricingSchema, CartItemSchema, CartSchema, AddItemPayloadSchema, BrandSchema, cimplifyRegistry } from './chunk-5RT4HYMP.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, RequestOtpResponseSchema, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TaxPriceDisplayModeSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, VerifyOtpRequestSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, createTestClient, fixtures, makeAssertion, registerSchema } from './chunk-5RT4HYMP.mjs';
3
+ import './chunk-2WPVUIHX.mjs';
4
+ import './chunk-OKADBZAI.mjs';
4
5
  import './chunk-U4MW6PYU.mjs';
5
- import './chunk-GERXZQSX.mjs';
6
- import './chunk-J6PNHDHL.mjs';
6
+ import './chunk-OCCNG6MO.mjs';
7
7
  import './chunk-GOHSXBKW.mjs';
8
- import './chunk-M4URVKHE.mjs';
9
- import './chunk-VNPEYLB2.mjs';
8
+ import './chunk-DYIAX3WI.mjs';
9
+ import './chunk-H3RATH4B.mjs';
10
10
  import './chunk-3G6RQLXK.mjs';
11
11
  import { z } from 'zod';
12
12
 
@@ -18,7 +18,9 @@ var PUBLIC_SCHEMAS = {
18
18
  CartPricing: CartPricingSchema,
19
19
  CheckoutBody: CheckoutBodySchema,
20
20
  CheckoutResponse: CheckoutResponseSchema,
21
- VariantInfo: VariantInfoSchema
21
+ VariantInfo: VariantInfoSchema,
22
+ VerifyOtpRequest: VerifyOtpRequestSchema,
23
+ RequestOtpResponse: RequestOtpResponseSchema
22
24
  };
23
25
  function exportJsonSchemas() {
24
26
  const out = {};
@@ -43,7 +45,9 @@ function listRegisteredSchemas() {
43
45
  CartPricingSchema,
44
46
  CheckoutBodySchema,
45
47
  CheckoutResponseSchema,
46
- VariantInfoSchema
48
+ VariantInfoSchema,
49
+ VerifyOtpRequestSchema,
50
+ RequestOtpResponseSchema
47
51
  ]) {
48
52
  const meta = cimplifyRegistry.get(schema);
49
53
  if (meta) entries.push({ schema, meta });
package/dist/utils.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-e2y6AK70.mjs';
2
- import './payment-H5LoIvXU.mjs';
3
- import './price-BvePgDXe.mjs';
4
- import './link-cuNVYc2s.mjs';
1
+ export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-D7Tf3v7c.mjs';
2
+ import './payment-g0HFkEDU.mjs';
3
+ import './price-Czq_cTC_.mjs';
4
+ import './link-D9iSVxt5.mjs';
5
5
  import 'libphonenumber-js';
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-C8uDqLwJ.js';
2
- import './payment-H5LoIvXU.js';
3
- import './price-C2RqscMY.js';
4
- import './link-cuNVYc2s.js';
1
+ export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, s as getProductCurrency, t as getTaxAmount, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as resolvePhoneCountryCode } from './index-BtcoqrY1.js';
2
+ import './payment-g0HFkEDU.js';
3
+ import './price-BLIeAb8K.js';
4
+ import './link-D9iSVxt5.js';
5
5
  import 'libphonenumber-js';