@cimplify/sdk 0.104.1 → 0.106.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 (64) 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/{catalogue-BlQ85Uma.d.mts → catalogue-CB44dO-g.d.mts} +4 -1
  6. package/dist/{catalogue-C8TqOj9K.d.ts → catalogue-lUdp-1hu.d.ts} +4 -1
  7. package/dist/{checkout-BqK9XUz5.d.mts → checkout-XoV4HNg2.d.mts} +311 -31
  8. package/dist/{checkout-BqK9XUz5.d.ts → checkout-XoV4HNg2.d.ts} +311 -31
  9. package/dist/{chunk-L5SNEU2O.mjs → chunk-3BTMAWL7.mjs} +47 -15
  10. package/dist/{chunk-BWEIMKLF.js → chunk-7SEOB5UW.js} +108 -76
  11. package/dist/{chunk-SFUJMS5E.js → chunk-AVXA4F6G.js} +33 -1
  12. package/dist/{chunk-UFOWPN3D.mjs → chunk-DPVDLMLI.mjs} +8 -13
  13. package/dist/{chunk-DQEXY542.js → chunk-H2WXUTMT.js} +211 -189
  14. package/dist/{chunk-6G3ANKQA.mjs → chunk-L4XKIMUO.mjs} +8 -1
  15. package/dist/{chunk-HYFA67A7.js → chunk-NJK3THWT.js} +67 -60
  16. package/dist/{chunk-RBNBSQI7.mjs → chunk-NJYR6GGM.mjs} +29 -2
  17. package/dist/{chunk-U54CWUUT.mjs → chunk-NYDVVNZI.mjs} +1 -1
  18. package/dist/{chunk-V4457OKB.mjs → chunk-RQT5BZ2Y.mjs} +36 -14
  19. package/dist/{chunk-XAUSDMMZ.js → chunk-UYFTOIFW.js} +6 -6
  20. package/dist/{chunk-WXREIBFW.js → chunk-YARZTZTB.js} +141 -146
  21. package/dist/{client-DhXeiUrf.d.ts → client-BQ_8FtA4.d.ts} +12 -2
  22. package/dist/{client-mXiUrV4X.d.mts → client-BWe1KWMf.d.mts} +12 -2
  23. package/dist/{index-DPWI5XcU.d.ts → index-C0k9om1S.d.ts} +2 -2
  24. package/dist/{index-B0AdZvrM.d.mts → index-DRMBo26v.d.mts} +2 -2
  25. package/dist/{index-CK8Nk5uQ.d.ts → index-DweR60Cv.d.ts} +2 -2
  26. package/dist/{index-DVfUh-ci.d.mts → index-aIQzSiP_.d.mts} +2 -2
  27. package/dist/index.d.mts +7 -7
  28. package/dist/index.d.ts +7 -7
  29. package/dist/index.js +166 -146
  30. package/dist/index.mjs +5 -5
  31. package/dist/mock/cli.mjs +9 -0
  32. package/dist/mock/library.js +9 -0
  33. package/dist/mock/library.mjs +9 -0
  34. package/dist/mock/msw.js +9 -0
  35. package/dist/mock/msw.mjs +9 -0
  36. package/dist/{price-BUDv1rI7.d.mts → price-CUGIYRtD.d.mts} +1 -1
  37. package/dist/{price-6hQIIac9.d.ts → price-De-sxcuj.d.ts} +1 -1
  38. package/dist/react.d.mts +3 -3
  39. package/dist/react.d.ts +3 -3
  40. package/dist/react.js +151 -151
  41. package/dist/react.mjs +4 -4
  42. package/dist/{server-DJ0mSs9i.d.mts → server-7soMMUgP.d.ts} +3 -2
  43. package/dist/{server-DSTX76Ki.d.ts → server-DDEJ7e9s.d.mts} +3 -2
  44. package/dist/server.d.mts +3 -3
  45. package/dist/server.d.ts +3 -3
  46. package/dist/server.js +10 -10
  47. package/dist/server.mjs +4 -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 +5 -5
  53. package/dist/testing/suite.d.ts +5 -5
  54. package/dist/testing/suite.js +26 -25
  55. package/dist/testing/suite.mjs +7 -6
  56. package/dist/testing.d.mts +315 -8
  57. package/dist/testing.d.ts +315 -8
  58. package/dist/testing.js +118 -118
  59. package/dist/testing.mjs +7 -7
  60. package/dist/utils.d.mts +3 -3
  61. package/dist/utils.d.ts +3 -3
  62. package/dist/utils.js +32 -32
  63. package/dist/utils.mjs +2 -2
  64. package/package.json +1 -1
@@ -1,9 +1,9 @@
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-mXiUrV4X.mjs';
4
- import './catalogue-BlQ85Uma.mjs';
5
- import './checkout-BqK9XUz5.mjs';
6
- import './server-DJ0mSs9i.mjs';
3
+ export { A as AddFirstProductOptions, a as AddFirstProductResult, P as ProductSummary, T as TestClientHandle, c as createTestClient, f as fixtures } from './client-BWe1KWMf.mjs';
4
+ import './catalogue-CB44dO-g.mjs';
5
+ import './checkout-XoV4HNg2.mjs';
6
+ import './server-DDEJ7e9s.mjs';
7
7
  import 'hono';
8
8
 
9
9
  /**
@@ -61,6 +61,8 @@ declare const SeedNameSchema: z.ZodEnum<{
61
61
  services: "services";
62
62
  grocery: "grocery";
63
63
  fashion: "fashion";
64
+ pharmacy: "pharmacy";
65
+ auto: "auto";
64
66
  }>;
65
67
  declare const ProductTypeSchema: z.ZodEnum<{
66
68
  product: "product";
@@ -372,6 +374,8 @@ declare const BrandSchema: z.ZodObject<{
372
374
  services: "services";
373
375
  grocery: "grocery";
374
376
  fashion: "fashion";
377
+ pharmacy: "pharmacy";
378
+ auto: "auto";
375
379
  }>;
376
380
  businessId: z.ZodString;
377
381
  }, z.core.$strip>;
@@ -530,7 +534,7 @@ declare const assertBrand: (value: unknown) => asserts value is {
530
534
  summary: string;
531
535
  };
532
536
  mock: {
533
- seed: "default" | "empty" | "reesa-storefront" | "restaurant" | "retail" | "services" | "grocery" | "fashion";
537
+ seed: "default" | "empty" | "reesa-storefront" | "restaurant" | "retail" | "services" | "grocery" | "fashion" | "pharmacy" | "auto";
534
538
  businessId: string;
535
539
  };
536
540
  trustItems?: {
@@ -1866,6 +1870,22 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1866
1870
  cancellation_terms_digest: z.ZodString;
1867
1871
  }, z.core.$strip>;
1868
1872
  compliance: z.ZodObject<{
1873
+ disposition: z.ZodOptional<z.ZodEnum<{
1874
+ readonly EXECUTE: "execute";
1875
+ readonly STORE_PURCHASE: "store_purchase";
1876
+ readonly LINK_OUT: "link_out";
1877
+ readonly LOCKED: "locked";
1878
+ }>>;
1879
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1880
+ policy_version: z.ZodNumber;
1881
+ surface: z.ZodEnum<{
1882
+ readonly NATIVE_IOS: "native_ios";
1883
+ readonly NATIVE_ANDROID: "native_android";
1884
+ readonly WEB: "web";
1885
+ }>;
1886
+ market_region: z.ZodString;
1887
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1888
+ }, z.core.$strip>>>;
1869
1889
  policy_name: z.ZodString;
1870
1890
  policy_version: z.ZodNumber;
1871
1891
  lane: z.ZodEnum<{
@@ -1878,14 +1898,26 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1878
1898
  reason_code: z.ZodEnum<{
1879
1899
  readonly COMMERCE_CORE: "commerce_core";
1880
1900
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
1901
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
1881
1902
  readonly STORE_KIT_REQUIRED: "store_kit_required";
1882
1903
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
1883
1904
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
1884
1905
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
1885
1906
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
1907
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
1908
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
1909
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
1886
1910
  }>;
1887
1911
  evidence_digest: z.ZodString;
1888
1912
  }, z.core.$strip>;
1913
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1914
+ status: z.ZodEnum<{
1915
+ readonly PROTECTED: "protected";
1916
+ readonly UNAVAILABLE: "unavailable";
1917
+ }>;
1918
+ message: z.ZodString;
1919
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1920
+ }, z.core.$strip>>>;
1889
1921
  payment_options: z.ZodArray<z.ZodObject<{
1890
1922
  id: z.ZodString;
1891
1923
  rank: z.ZodNumber;
@@ -1923,6 +1955,14 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1923
1955
  fee_amount: z.ZodString;
1924
1956
  customer_debit_amount: z.ZodString;
1925
1957
  currency: z.ZodString;
1958
+ protection: z.ZodObject<{
1959
+ status: z.ZodEnum<{
1960
+ readonly PROTECTED: "protected";
1961
+ readonly UNAVAILABLE: "unavailable";
1962
+ }>;
1963
+ message: z.ZodString;
1964
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1965
+ }, z.core.$strip>;
1926
1966
  status: z.ZodEnum<{
1927
1967
  readonly ELIGIBLE: "eligible";
1928
1968
  readonly INELIGIBLE: "ineligible";
@@ -1939,6 +1979,12 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1939
1979
  created_at: z.ZodISODateTime;
1940
1980
  }, z.core.$strict>;
1941
1981
  declare const PurchaseIntentViewSchema: z.ZodObject<{
1982
+ disposition: z.ZodOptional<z.ZodEnum<{
1983
+ readonly EXECUTE: "execute";
1984
+ readonly STORE_PURCHASE: "store_purchase";
1985
+ readonly LINK_OUT: "link_out";
1986
+ readonly LOCKED: "locked";
1987
+ }>>;
1942
1988
  id: z.ZodString;
1943
1989
  seller_business_id: z.ZodString;
1944
1990
  principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1962,6 +2008,15 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
1962
2008
  readonly EXPIRED: "expired";
1963
2009
  }>;
1964
2010
  source: z.ZodObject<{
2011
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2012
+ native_platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2013
+ readonly IOS: "ios";
2014
+ readonly ANDROID: "android";
2015
+ }>>>;
2016
+ purchase_surface: z.ZodOptional<z.ZodEnum<{
2017
+ readonly NATIVE_APP: "native_app";
2018
+ readonly WEB: "web";
2019
+ }>>;
1965
2020
  kind: z.ZodEnum<{
1966
2021
  readonly PRODUCT: "product";
1967
2022
  readonly COLLECTION: "collection";
@@ -2066,6 +2121,22 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2066
2121
  cancellation_terms_digest: z.ZodString;
2067
2122
  }, z.core.$strip>;
2068
2123
  compliance: z.ZodObject<{
2124
+ disposition: z.ZodOptional<z.ZodEnum<{
2125
+ readonly EXECUTE: "execute";
2126
+ readonly STORE_PURCHASE: "store_purchase";
2127
+ readonly LINK_OUT: "link_out";
2128
+ readonly LOCKED: "locked";
2129
+ }>>;
2130
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2131
+ policy_version: z.ZodNumber;
2132
+ surface: z.ZodEnum<{
2133
+ readonly NATIVE_IOS: "native_ios";
2134
+ readonly NATIVE_ANDROID: "native_android";
2135
+ readonly WEB: "web";
2136
+ }>;
2137
+ market_region: z.ZodString;
2138
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2139
+ }, z.core.$strip>>>;
2069
2140
  policy_name: z.ZodString;
2070
2141
  policy_version: z.ZodNumber;
2071
2142
  lane: z.ZodEnum<{
@@ -2078,14 +2149,26 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2078
2149
  reason_code: z.ZodEnum<{
2079
2150
  readonly COMMERCE_CORE: "commerce_core";
2080
2151
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2152
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
2081
2153
  readonly STORE_KIT_REQUIRED: "store_kit_required";
2082
2154
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2083
2155
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2084
2156
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2085
2157
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2158
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
2159
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
2160
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
2086
2161
  }>;
2087
2162
  evidence_digest: z.ZodString;
2088
2163
  }, z.core.$strip>;
2164
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2165
+ status: z.ZodEnum<{
2166
+ readonly PROTECTED: "protected";
2167
+ readonly UNAVAILABLE: "unavailable";
2168
+ }>;
2169
+ message: z.ZodString;
2170
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2171
+ }, z.core.$strip>>>;
2089
2172
  payment_options: z.ZodArray<z.ZodObject<{
2090
2173
  id: z.ZodString;
2091
2174
  rank: z.ZodNumber;
@@ -2123,6 +2206,14 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2123
2206
  fee_amount: z.ZodString;
2124
2207
  customer_debit_amount: z.ZodString;
2125
2208
  currency: z.ZodString;
2209
+ protection: z.ZodObject<{
2210
+ status: z.ZodEnum<{
2211
+ readonly PROTECTED: "protected";
2212
+ readonly UNAVAILABLE: "unavailable";
2213
+ }>;
2214
+ message: z.ZodString;
2215
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
+ }, z.core.$strip>;
2126
2217
  status: z.ZodEnum<{
2127
2218
  readonly ELIGIBLE: "eligible";
2128
2219
  readonly INELIGIBLE: "ineligible";
@@ -2334,6 +2425,22 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2334
2425
  cancellation_terms_digest: z.ZodString;
2335
2426
  }, z.core.$strip>;
2336
2427
  compliance: z.ZodObject<{
2428
+ disposition: z.ZodOptional<z.ZodEnum<{
2429
+ readonly EXECUTE: "execute";
2430
+ readonly STORE_PURCHASE: "store_purchase";
2431
+ readonly LINK_OUT: "link_out";
2432
+ readonly LOCKED: "locked";
2433
+ }>>;
2434
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2435
+ policy_version: z.ZodNumber;
2436
+ surface: z.ZodEnum<{
2437
+ readonly NATIVE_IOS: "native_ios";
2438
+ readonly NATIVE_ANDROID: "native_android";
2439
+ readonly WEB: "web";
2440
+ }>;
2441
+ market_region: z.ZodString;
2442
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
+ }, z.core.$strip>>>;
2337
2444
  policy_name: z.ZodString;
2338
2445
  policy_version: z.ZodNumber;
2339
2446
  lane: z.ZodEnum<{
@@ -2346,14 +2453,26 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2346
2453
  reason_code: z.ZodEnum<{
2347
2454
  readonly COMMERCE_CORE: "commerce_core";
2348
2455
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2456
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
2349
2457
  readonly STORE_KIT_REQUIRED: "store_kit_required";
2350
2458
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2351
2459
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2352
2460
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2353
2461
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2462
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
2463
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
2464
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
2354
2465
  }>;
2355
2466
  evidence_digest: z.ZodString;
2356
2467
  }, z.core.$strip>;
2468
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2469
+ status: z.ZodEnum<{
2470
+ readonly PROTECTED: "protected";
2471
+ readonly UNAVAILABLE: "unavailable";
2472
+ }>;
2473
+ message: z.ZodString;
2474
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2475
+ }, z.core.$strip>>>;
2357
2476
  payment_options: z.ZodArray<z.ZodObject<{
2358
2477
  id: z.ZodString;
2359
2478
  rank: z.ZodNumber;
@@ -2391,6 +2510,14 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2391
2510
  fee_amount: z.ZodString;
2392
2511
  customer_debit_amount: z.ZodString;
2393
2512
  currency: z.ZodString;
2513
+ protection: z.ZodObject<{
2514
+ status: z.ZodEnum<{
2515
+ readonly PROTECTED: "protected";
2516
+ readonly UNAVAILABLE: "unavailable";
2517
+ }>;
2518
+ message: z.ZodString;
2519
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2520
+ }, z.core.$strip>;
2394
2521
  status: z.ZodEnum<{
2395
2522
  readonly ELIGIBLE: "eligible";
2396
2523
  readonly INELIGIBLE: "ineligible";
@@ -2602,6 +2729,9 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2602
2729
  business_id: string;
2603
2730
  };
2604
2731
  binding_digest: string;
2732
+ store_region?: string | null | undefined;
2733
+ native_platform?: "ios" | "android" | null | undefined;
2734
+ purchase_surface?: "native_app" | "web" | undefined;
2605
2735
  social_post_id?: string | null | undefined;
2606
2736
  };
2607
2737
  lines: {
@@ -2650,6 +2780,7 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2650
2780
  expires_at: string;
2651
2781
  created_at: string;
2652
2782
  updated_at: string;
2783
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2653
2784
  principal?: {
2654
2785
  kind: "account";
2655
2786
  account_id: string;
@@ -2691,8 +2822,15 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2691
2822
  policy_name: string;
2692
2823
  policy_version: number;
2693
2824
  lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2694
- reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
2825
+ reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified";
2695
2826
  evidence_digest: string;
2827
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2828
+ purchase_policy?: {
2829
+ policy_version: number;
2830
+ surface: "web" | "native_ios" | "native_android";
2831
+ market_region: string;
2832
+ store_region?: string | null | undefined;
2833
+ } | null | undefined;
2696
2834
  };
2697
2835
  payment_options: {
2698
2836
  id: string;
@@ -2703,6 +2841,11 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2703
2841
  fee_amount: string;
2704
2842
  customer_debit_amount: string;
2705
2843
  currency: string;
2844
+ protection: {
2845
+ status: "protected" | "unavailable";
2846
+ message: string;
2847
+ public_policy_version?: string | null | undefined;
2848
+ };
2706
2849
  status: "expired" | "eligible" | "ineligible";
2707
2850
  expected_next_action: "none" | "provider_approval" | "step_up";
2708
2851
  expires_at: string;
@@ -2723,6 +2866,11 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2723
2866
  }[];
2724
2867
  valid_until: string;
2725
2868
  created_at: string;
2869
+ protection?: {
2870
+ status: "protected" | "unavailable";
2871
+ message: string;
2872
+ public_policy_version?: string | null | undefined;
2873
+ } | null | undefined;
2726
2874
  } | null | undefined;
2727
2875
  converted_order_id?: string | null | undefined;
2728
2876
  };
@@ -2755,8 +2903,15 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2755
2903
  policy_name: string;
2756
2904
  policy_version: number;
2757
2905
  lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2758
- reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
2906
+ reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified";
2759
2907
  evidence_digest: string;
2908
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2909
+ purchase_policy?: {
2910
+ policy_version: number;
2911
+ surface: "web" | "native_ios" | "native_android";
2912
+ market_region: string;
2913
+ store_region?: string | null | undefined;
2914
+ } | null | undefined;
2760
2915
  };
2761
2916
  payment_options: {
2762
2917
  id: string;
@@ -2767,6 +2922,11 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2767
2922
  fee_amount: string;
2768
2923
  customer_debit_amount: string;
2769
2924
  currency: string;
2925
+ protection: {
2926
+ status: "protected" | "unavailable";
2927
+ message: string;
2928
+ public_policy_version?: string | null | undefined;
2929
+ };
2770
2930
  status: "expired" | "eligible" | "ineligible";
2771
2931
  expected_next_action: "none" | "provider_approval" | "step_up";
2772
2932
  expires_at: string;
@@ -2787,6 +2947,11 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2787
2947
  }[];
2788
2948
  valid_until: string;
2789
2949
  created_at: string;
2950
+ protection?: {
2951
+ status: "protected" | "unavailable";
2952
+ message: string;
2953
+ public_policy_version?: string | null | undefined;
2954
+ } | null | undefined;
2790
2955
  };
2791
2956
  declare const assertConfirmPurchaseIntentRequest: (value: unknown) => asserts value is {
2792
2957
  accepted_intent_revision: number;
@@ -2976,8 +3141,15 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
2976
3141
  policy_name: string;
2977
3142
  policy_version: number;
2978
3143
  lane: "commerce_core" | "native" | "store_kit" | "permitted_external" | "browse_only";
2979
- reason_code: "commerce_core" | "physical_goods_native" | "store_kit_required" | "permitted_external_purchase" | "distribution_authority_unverified" | "product_policy_unresolved" | "mixed_lane_unsupported";
3144
+ reason_code: "commerce_core" | "physical_goods_native" | "physical_world_commerce_native" | "store_kit_required" | "permitted_external_purchase" | "product_policy_unresolved" | "mixed_lane_unsupported" | "external_digital_native" | "mixed_facts_native" | "unresolved_facts_native" | "distribution_authority_unverified";
2980
3145
  evidence_digest: string;
3146
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
3147
+ purchase_policy?: {
3148
+ policy_version: number;
3149
+ surface: "web" | "native_ios" | "native_android";
3150
+ market_region: string;
3151
+ store_region?: string | null | undefined;
3152
+ } | null | undefined;
2981
3153
  };
2982
3154
  payment_options: {
2983
3155
  id: string;
@@ -2988,6 +3160,11 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
2988
3160
  fee_amount: string;
2989
3161
  customer_debit_amount: string;
2990
3162
  currency: string;
3163
+ protection: {
3164
+ status: "protected" | "unavailable";
3165
+ message: string;
3166
+ public_policy_version?: string | null | undefined;
3167
+ };
2991
3168
  status: "expired" | "eligible" | "ineligible";
2992
3169
  expected_next_action: "none" | "provider_approval" | "step_up";
2993
3170
  expires_at: string;
@@ -3008,6 +3185,11 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
3008
3185
  }[];
3009
3186
  valid_until: string;
3010
3187
  created_at: string;
3188
+ protection?: {
3189
+ status: "protected" | "unavailable";
3190
+ message: string;
3191
+ public_policy_version?: string | null | undefined;
3192
+ } | null | undefined;
3011
3193
  };
3012
3194
  deltas: ({
3013
3195
  kind: "money";
@@ -3260,6 +3442,8 @@ declare const PUBLIC_SCHEMAS: {
3260
3442
  services: "services";
3261
3443
  grocery: "grocery";
3262
3444
  fashion: "fashion";
3445
+ pharmacy: "pharmacy";
3446
+ auto: "auto";
3263
3447
  }>;
3264
3448
  businessId: z.ZodString;
3265
3449
  }, z.core.$strip>;
@@ -3902,6 +4086,12 @@ declare const PUBLIC_SCHEMAS: {
3902
4086
  }, z.core.$strip>>>;
3903
4087
  }, z.core.$strict>]>;
3904
4088
  readonly PurchaseIntentView: z.ZodObject<{
4089
+ disposition: z.ZodOptional<z.ZodEnum<{
4090
+ readonly EXECUTE: "execute";
4091
+ readonly STORE_PURCHASE: "store_purchase";
4092
+ readonly LINK_OUT: "link_out";
4093
+ readonly LOCKED: "locked";
4094
+ }>>;
3905
4095
  id: z.ZodString;
3906
4096
  seller_business_id: z.ZodString;
3907
4097
  principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3925,6 +4115,15 @@ declare const PUBLIC_SCHEMAS: {
3925
4115
  readonly EXPIRED: "expired";
3926
4116
  }>;
3927
4117
  source: z.ZodObject<{
4118
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4119
+ native_platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4120
+ readonly IOS: "ios";
4121
+ readonly ANDROID: "android";
4122
+ }>>>;
4123
+ purchase_surface: z.ZodOptional<z.ZodEnum<{
4124
+ readonly NATIVE_APP: "native_app";
4125
+ readonly WEB: "web";
4126
+ }>>;
3928
4127
  kind: z.ZodEnum<{
3929
4128
  readonly PRODUCT: "product";
3930
4129
  readonly COLLECTION: "collection";
@@ -4029,6 +4228,22 @@ declare const PUBLIC_SCHEMAS: {
4029
4228
  cancellation_terms_digest: z.ZodString;
4030
4229
  }, z.core.$strip>;
4031
4230
  compliance: z.ZodObject<{
4231
+ disposition: z.ZodOptional<z.ZodEnum<{
4232
+ readonly EXECUTE: "execute";
4233
+ readonly STORE_PURCHASE: "store_purchase";
4234
+ readonly LINK_OUT: "link_out";
4235
+ readonly LOCKED: "locked";
4236
+ }>>;
4237
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4238
+ policy_version: z.ZodNumber;
4239
+ surface: z.ZodEnum<{
4240
+ readonly NATIVE_IOS: "native_ios";
4241
+ readonly NATIVE_ANDROID: "native_android";
4242
+ readonly WEB: "web";
4243
+ }>;
4244
+ market_region: z.ZodString;
4245
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4246
+ }, z.core.$strip>>>;
4032
4247
  policy_name: z.ZodString;
4033
4248
  policy_version: z.ZodNumber;
4034
4249
  lane: z.ZodEnum<{
@@ -4041,14 +4256,26 @@ declare const PUBLIC_SCHEMAS: {
4041
4256
  reason_code: z.ZodEnum<{
4042
4257
  readonly COMMERCE_CORE: "commerce_core";
4043
4258
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4259
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4044
4260
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4045
4261
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4046
4262
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4047
4263
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4048
4264
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4265
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4266
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4267
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4049
4268
  }>;
4050
4269
  evidence_digest: z.ZodString;
4051
4270
  }, z.core.$strip>;
4271
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4272
+ status: z.ZodEnum<{
4273
+ readonly PROTECTED: "protected";
4274
+ readonly UNAVAILABLE: "unavailable";
4275
+ }>;
4276
+ message: z.ZodString;
4277
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4278
+ }, z.core.$strip>>>;
4052
4279
  payment_options: z.ZodArray<z.ZodObject<{
4053
4280
  id: z.ZodString;
4054
4281
  rank: z.ZodNumber;
@@ -4086,6 +4313,14 @@ declare const PUBLIC_SCHEMAS: {
4086
4313
  fee_amount: z.ZodString;
4087
4314
  customer_debit_amount: z.ZodString;
4088
4315
  currency: z.ZodString;
4316
+ protection: z.ZodObject<{
4317
+ status: z.ZodEnum<{
4318
+ readonly PROTECTED: "protected";
4319
+ readonly UNAVAILABLE: "unavailable";
4320
+ }>;
4321
+ message: z.ZodString;
4322
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4323
+ }, z.core.$strip>;
4089
4324
  status: z.ZodEnum<{
4090
4325
  readonly ELIGIBLE: "eligible";
4091
4326
  readonly INELIGIBLE: "ineligible";
@@ -4132,6 +4367,22 @@ declare const PUBLIC_SCHEMAS: {
4132
4367
  cancellation_terms_digest: z.ZodString;
4133
4368
  }, z.core.$strip>;
4134
4369
  compliance: z.ZodObject<{
4370
+ disposition: z.ZodOptional<z.ZodEnum<{
4371
+ readonly EXECUTE: "execute";
4372
+ readonly STORE_PURCHASE: "store_purchase";
4373
+ readonly LINK_OUT: "link_out";
4374
+ readonly LOCKED: "locked";
4375
+ }>>;
4376
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4377
+ policy_version: z.ZodNumber;
4378
+ surface: z.ZodEnum<{
4379
+ readonly NATIVE_IOS: "native_ios";
4380
+ readonly NATIVE_ANDROID: "native_android";
4381
+ readonly WEB: "web";
4382
+ }>;
4383
+ market_region: z.ZodString;
4384
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4385
+ }, z.core.$strip>>>;
4135
4386
  policy_name: z.ZodString;
4136
4387
  policy_version: z.ZodNumber;
4137
4388
  lane: z.ZodEnum<{
@@ -4144,14 +4395,26 @@ declare const PUBLIC_SCHEMAS: {
4144
4395
  reason_code: z.ZodEnum<{
4145
4396
  readonly COMMERCE_CORE: "commerce_core";
4146
4397
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4398
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4147
4399
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4148
4400
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4149
4401
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4150
4402
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4151
4403
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4404
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4405
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4406
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4152
4407
  }>;
4153
4408
  evidence_digest: z.ZodString;
4154
4409
  }, z.core.$strip>;
4410
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4411
+ status: z.ZodEnum<{
4412
+ readonly PROTECTED: "protected";
4413
+ readonly UNAVAILABLE: "unavailable";
4414
+ }>;
4415
+ message: z.ZodString;
4416
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4417
+ }, z.core.$strip>>>;
4155
4418
  payment_options: z.ZodArray<z.ZodObject<{
4156
4419
  id: z.ZodString;
4157
4420
  rank: z.ZodNumber;
@@ -4189,6 +4452,14 @@ declare const PUBLIC_SCHEMAS: {
4189
4452
  fee_amount: z.ZodString;
4190
4453
  customer_debit_amount: z.ZodString;
4191
4454
  currency: z.ZodString;
4455
+ protection: z.ZodObject<{
4456
+ status: z.ZodEnum<{
4457
+ readonly PROTECTED: "protected";
4458
+ readonly UNAVAILABLE: "unavailable";
4459
+ }>;
4460
+ message: z.ZodString;
4461
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4462
+ }, z.core.$strip>;
4192
4463
  status: z.ZodEnum<{
4193
4464
  readonly ELIGIBLE: "eligible";
4194
4465
  readonly INELIGIBLE: "ineligible";
@@ -4395,6 +4666,22 @@ declare const PUBLIC_SCHEMAS: {
4395
4666
  cancellation_terms_digest: z.ZodString;
4396
4667
  }, z.core.$strip>;
4397
4668
  compliance: z.ZodObject<{
4669
+ disposition: z.ZodOptional<z.ZodEnum<{
4670
+ readonly EXECUTE: "execute";
4671
+ readonly STORE_PURCHASE: "store_purchase";
4672
+ readonly LINK_OUT: "link_out";
4673
+ readonly LOCKED: "locked";
4674
+ }>>;
4675
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4676
+ policy_version: z.ZodNumber;
4677
+ surface: z.ZodEnum<{
4678
+ readonly NATIVE_IOS: "native_ios";
4679
+ readonly NATIVE_ANDROID: "native_android";
4680
+ readonly WEB: "web";
4681
+ }>;
4682
+ market_region: z.ZodString;
4683
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4684
+ }, z.core.$strip>>>;
4398
4685
  policy_name: z.ZodString;
4399
4686
  policy_version: z.ZodNumber;
4400
4687
  lane: z.ZodEnum<{
@@ -4407,14 +4694,26 @@ declare const PUBLIC_SCHEMAS: {
4407
4694
  reason_code: z.ZodEnum<{
4408
4695
  readonly COMMERCE_CORE: "commerce_core";
4409
4696
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4697
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4410
4698
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4411
4699
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4412
4700
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4413
4701
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4414
4702
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4703
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4704
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4705
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4415
4706
  }>;
4416
4707
  evidence_digest: z.ZodString;
4417
4708
  }, z.core.$strip>;
4709
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4710
+ status: z.ZodEnum<{
4711
+ readonly PROTECTED: "protected";
4712
+ readonly UNAVAILABLE: "unavailable";
4713
+ }>;
4714
+ message: z.ZodString;
4715
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4716
+ }, z.core.$strip>>>;
4418
4717
  payment_options: z.ZodArray<z.ZodObject<{
4419
4718
  id: z.ZodString;
4420
4719
  rank: z.ZodNumber;
@@ -4452,6 +4751,14 @@ declare const PUBLIC_SCHEMAS: {
4452
4751
  fee_amount: z.ZodString;
4453
4752
  customer_debit_amount: z.ZodString;
4454
4753
  currency: z.ZodString;
4754
+ protection: z.ZodObject<{
4755
+ status: z.ZodEnum<{
4756
+ readonly PROTECTED: "protected";
4757
+ readonly UNAVAILABLE: "unavailable";
4758
+ }>;
4759
+ message: z.ZodString;
4760
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4761
+ }, z.core.$strip>;
4455
4762
  status: z.ZodEnum<{
4456
4763
  readonly ELIGIBLE: "eligible";
4457
4764
  readonly INELIGIBLE: "ineligible";