@cimplify/sdk 0.104.1 → 0.105.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-D1jkpGcr.d.ts} +1 -1
  6. package/dist/{catalogue-C8TqOj9K.d.ts → catalogue-DjutZ0FC.d.mts} +1 -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-UFOWPN3D.mjs → chunk-37ZZCE7P.mjs} +2 -2
  10. package/dist/{chunk-WXREIBFW.js → chunk-3IMPJEUI.js} +136 -136
  11. package/dist/{chunk-HYFA67A7.js → chunk-7PMMV5X4.js} +66 -60
  12. package/dist/{chunk-SFUJMS5E.js → chunk-AVXA4F6G.js} +33 -1
  13. package/dist/{chunk-RBNBSQI7.mjs → chunk-NJYR6GGM.mjs} +29 -2
  14. package/dist/{chunk-U54CWUUT.mjs → chunk-NYDVVNZI.mjs} +1 -1
  15. package/dist/{chunk-BWEIMKLF.js → chunk-PDTXSUHZ.js} +82 -64
  16. package/dist/{chunk-6G3ANKQA.mjs → chunk-Q5HX7LVE.mjs} +7 -1
  17. package/dist/{chunk-L5SNEU2O.mjs → chunk-TINYV5E2.mjs} +21 -3
  18. package/dist/{chunk-XAUSDMMZ.js → chunk-UYFTOIFW.js} +6 -6
  19. package/dist/{chunk-V4457OKB.mjs → chunk-X7RPMALQ.mjs} +2 -2
  20. package/dist/{chunk-DQEXY542.js → chunk-XHVQDEVO.js} +178 -178
  21. package/dist/{client-DhXeiUrf.d.ts → client-BBZj15JJ.d.ts} +2 -2
  22. package/dist/{client-mXiUrV4X.d.mts → client-CZ8MjJ_o.d.mts} +2 -2
  23. package/dist/{index-DPWI5XcU.d.ts → index-CZjNWbQf.d.ts} +2 -2
  24. package/dist/{index-DVfUh-ci.d.mts → index-DNxWfRHF.d.mts} +2 -2
  25. package/dist/{index-B0AdZvrM.d.mts → index-DRMBo26v.d.mts} +2 -2
  26. package/dist/{index-CK8Nk5uQ.d.ts → index-DweR60Cv.d.ts} +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 +8 -0
  32. package/dist/mock/library.js +8 -0
  33. package/dist/mock/library.mjs +8 -0
  34. package/dist/mock/msw.js +8 -0
  35. package/dist/mock/msw.mjs +8 -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-Byr4d0hL.d.mts} +1 -1
  43. package/dist/{server-DSTX76Ki.d.ts → server-C_RIDnHU.d.ts} +1 -1
  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 +25 -25
  55. package/dist/testing/suite.mjs +6 -6
  56. package/dist/testing.d.mts +308 -7
  57. package/dist/testing.d.ts +308 -7
  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-CZ8MjJ_o.mjs';
4
+ import './catalogue-DjutZ0FC.mjs';
5
+ import './checkout-XoV4HNg2.mjs';
6
+ import './server-Byr4d0hL.mjs';
7
7
  import 'hono';
8
8
 
9
9
  /**
@@ -1866,6 +1866,22 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1866
1866
  cancellation_terms_digest: z.ZodString;
1867
1867
  }, z.core.$strip>;
1868
1868
  compliance: z.ZodObject<{
1869
+ disposition: z.ZodOptional<z.ZodEnum<{
1870
+ readonly EXECUTE: "execute";
1871
+ readonly STORE_PURCHASE: "store_purchase";
1872
+ readonly LINK_OUT: "link_out";
1873
+ readonly LOCKED: "locked";
1874
+ }>>;
1875
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1876
+ policy_version: z.ZodNumber;
1877
+ surface: z.ZodEnum<{
1878
+ readonly NATIVE_IOS: "native_ios";
1879
+ readonly NATIVE_ANDROID: "native_android";
1880
+ readonly WEB: "web";
1881
+ }>;
1882
+ market_region: z.ZodString;
1883
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1884
+ }, z.core.$strip>>>;
1869
1885
  policy_name: z.ZodString;
1870
1886
  policy_version: z.ZodNumber;
1871
1887
  lane: z.ZodEnum<{
@@ -1878,14 +1894,26 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1878
1894
  reason_code: z.ZodEnum<{
1879
1895
  readonly COMMERCE_CORE: "commerce_core";
1880
1896
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
1897
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
1881
1898
  readonly STORE_KIT_REQUIRED: "store_kit_required";
1882
1899
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
1883
1900
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
1884
1901
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
1885
1902
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
1903
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
1904
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
1905
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
1886
1906
  }>;
1887
1907
  evidence_digest: z.ZodString;
1888
1908
  }, z.core.$strip>;
1909
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1910
+ status: z.ZodEnum<{
1911
+ readonly PROTECTED: "protected";
1912
+ readonly UNAVAILABLE: "unavailable";
1913
+ }>;
1914
+ message: z.ZodString;
1915
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1916
+ }, z.core.$strip>>>;
1889
1917
  payment_options: z.ZodArray<z.ZodObject<{
1890
1918
  id: z.ZodString;
1891
1919
  rank: z.ZodNumber;
@@ -1923,6 +1951,14 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1923
1951
  fee_amount: z.ZodString;
1924
1952
  customer_debit_amount: z.ZodString;
1925
1953
  currency: z.ZodString;
1954
+ protection: z.ZodObject<{
1955
+ status: z.ZodEnum<{
1956
+ readonly PROTECTED: "protected";
1957
+ readonly UNAVAILABLE: "unavailable";
1958
+ }>;
1959
+ message: z.ZodString;
1960
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1961
+ }, z.core.$strip>;
1926
1962
  status: z.ZodEnum<{
1927
1963
  readonly ELIGIBLE: "eligible";
1928
1964
  readonly INELIGIBLE: "ineligible";
@@ -1939,6 +1975,12 @@ declare const CheckoutTermsViewSchema: z.ZodObject<{
1939
1975
  created_at: z.ZodISODateTime;
1940
1976
  }, z.core.$strict>;
1941
1977
  declare const PurchaseIntentViewSchema: z.ZodObject<{
1978
+ disposition: z.ZodOptional<z.ZodEnum<{
1979
+ readonly EXECUTE: "execute";
1980
+ readonly STORE_PURCHASE: "store_purchase";
1981
+ readonly LINK_OUT: "link_out";
1982
+ readonly LOCKED: "locked";
1983
+ }>>;
1942
1984
  id: z.ZodString;
1943
1985
  seller_business_id: z.ZodString;
1944
1986
  principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1962,6 +2004,15 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
1962
2004
  readonly EXPIRED: "expired";
1963
2005
  }>;
1964
2006
  source: z.ZodObject<{
2007
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2008
+ native_platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2009
+ readonly IOS: "ios";
2010
+ readonly ANDROID: "android";
2011
+ }>>>;
2012
+ purchase_surface: z.ZodOptional<z.ZodEnum<{
2013
+ readonly NATIVE_APP: "native_app";
2014
+ readonly WEB: "web";
2015
+ }>>;
1965
2016
  kind: z.ZodEnum<{
1966
2017
  readonly PRODUCT: "product";
1967
2018
  readonly COLLECTION: "collection";
@@ -2066,6 +2117,22 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2066
2117
  cancellation_terms_digest: z.ZodString;
2067
2118
  }, z.core.$strip>;
2068
2119
  compliance: z.ZodObject<{
2120
+ disposition: z.ZodOptional<z.ZodEnum<{
2121
+ readonly EXECUTE: "execute";
2122
+ readonly STORE_PURCHASE: "store_purchase";
2123
+ readonly LINK_OUT: "link_out";
2124
+ readonly LOCKED: "locked";
2125
+ }>>;
2126
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2127
+ policy_version: z.ZodNumber;
2128
+ surface: z.ZodEnum<{
2129
+ readonly NATIVE_IOS: "native_ios";
2130
+ readonly NATIVE_ANDROID: "native_android";
2131
+ readonly WEB: "web";
2132
+ }>;
2133
+ market_region: z.ZodString;
2134
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2135
+ }, z.core.$strip>>>;
2069
2136
  policy_name: z.ZodString;
2070
2137
  policy_version: z.ZodNumber;
2071
2138
  lane: z.ZodEnum<{
@@ -2078,14 +2145,26 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2078
2145
  reason_code: z.ZodEnum<{
2079
2146
  readonly COMMERCE_CORE: "commerce_core";
2080
2147
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2148
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
2081
2149
  readonly STORE_KIT_REQUIRED: "store_kit_required";
2082
2150
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2083
2151
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2084
2152
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2085
2153
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2154
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
2155
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
2156
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
2086
2157
  }>;
2087
2158
  evidence_digest: z.ZodString;
2088
2159
  }, z.core.$strip>;
2160
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2161
+ status: z.ZodEnum<{
2162
+ readonly PROTECTED: "protected";
2163
+ readonly UNAVAILABLE: "unavailable";
2164
+ }>;
2165
+ message: z.ZodString;
2166
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2167
+ }, z.core.$strip>>>;
2089
2168
  payment_options: z.ZodArray<z.ZodObject<{
2090
2169
  id: z.ZodString;
2091
2170
  rank: z.ZodNumber;
@@ -2123,6 +2202,14 @@ declare const PurchaseIntentViewSchema: z.ZodObject<{
2123
2202
  fee_amount: z.ZodString;
2124
2203
  customer_debit_amount: z.ZodString;
2125
2204
  currency: z.ZodString;
2205
+ protection: z.ZodObject<{
2206
+ status: z.ZodEnum<{
2207
+ readonly PROTECTED: "protected";
2208
+ readonly UNAVAILABLE: "unavailable";
2209
+ }>;
2210
+ message: z.ZodString;
2211
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2212
+ }, z.core.$strip>;
2126
2213
  status: z.ZodEnum<{
2127
2214
  readonly ELIGIBLE: "eligible";
2128
2215
  readonly INELIGIBLE: "ineligible";
@@ -2334,6 +2421,22 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2334
2421
  cancellation_terms_digest: z.ZodString;
2335
2422
  }, z.core.$strip>;
2336
2423
  compliance: z.ZodObject<{
2424
+ disposition: z.ZodOptional<z.ZodEnum<{
2425
+ readonly EXECUTE: "execute";
2426
+ readonly STORE_PURCHASE: "store_purchase";
2427
+ readonly LINK_OUT: "link_out";
2428
+ readonly LOCKED: "locked";
2429
+ }>>;
2430
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2431
+ policy_version: z.ZodNumber;
2432
+ surface: z.ZodEnum<{
2433
+ readonly NATIVE_IOS: "native_ios";
2434
+ readonly NATIVE_ANDROID: "native_android";
2435
+ readonly WEB: "web";
2436
+ }>;
2437
+ market_region: z.ZodString;
2438
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2439
+ }, z.core.$strip>>>;
2337
2440
  policy_name: z.ZodString;
2338
2441
  policy_version: z.ZodNumber;
2339
2442
  lane: z.ZodEnum<{
@@ -2346,14 +2449,26 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2346
2449
  reason_code: z.ZodEnum<{
2347
2450
  readonly COMMERCE_CORE: "commerce_core";
2348
2451
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
2452
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
2349
2453
  readonly STORE_KIT_REQUIRED: "store_kit_required";
2350
2454
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
2351
2455
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
2352
2456
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
2353
2457
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
2458
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
2459
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
2460
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
2354
2461
  }>;
2355
2462
  evidence_digest: z.ZodString;
2356
2463
  }, z.core.$strip>;
2464
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2465
+ status: z.ZodEnum<{
2466
+ readonly PROTECTED: "protected";
2467
+ readonly UNAVAILABLE: "unavailable";
2468
+ }>;
2469
+ message: z.ZodString;
2470
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2471
+ }, z.core.$strip>>>;
2357
2472
  payment_options: z.ZodArray<z.ZodObject<{
2358
2473
  id: z.ZodString;
2359
2474
  rank: z.ZodNumber;
@@ -2391,6 +2506,14 @@ declare const ConfirmPurchaseIntentResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
2391
2506
  fee_amount: z.ZodString;
2392
2507
  customer_debit_amount: z.ZodString;
2393
2508
  currency: z.ZodString;
2509
+ protection: z.ZodObject<{
2510
+ status: z.ZodEnum<{
2511
+ readonly PROTECTED: "protected";
2512
+ readonly UNAVAILABLE: "unavailable";
2513
+ }>;
2514
+ message: z.ZodString;
2515
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2516
+ }, z.core.$strip>;
2394
2517
  status: z.ZodEnum<{
2395
2518
  readonly ELIGIBLE: "eligible";
2396
2519
  readonly INELIGIBLE: "ineligible";
@@ -2602,6 +2725,9 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2602
2725
  business_id: string;
2603
2726
  };
2604
2727
  binding_digest: string;
2728
+ store_region?: string | null | undefined;
2729
+ native_platform?: "ios" | "android" | null | undefined;
2730
+ purchase_surface?: "native_app" | "web" | undefined;
2605
2731
  social_post_id?: string | null | undefined;
2606
2732
  };
2607
2733
  lines: {
@@ -2650,6 +2776,7 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2650
2776
  expires_at: string;
2651
2777
  created_at: string;
2652
2778
  updated_at: string;
2779
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2653
2780
  principal?: {
2654
2781
  kind: "account";
2655
2782
  account_id: string;
@@ -2691,8 +2818,15 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2691
2818
  policy_name: string;
2692
2819
  policy_version: number;
2693
2820
  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";
2821
+ 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
2822
  evidence_digest: string;
2823
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2824
+ purchase_policy?: {
2825
+ policy_version: number;
2826
+ surface: "web" | "native_ios" | "native_android";
2827
+ market_region: string;
2828
+ store_region?: string | null | undefined;
2829
+ } | null | undefined;
2696
2830
  };
2697
2831
  payment_options: {
2698
2832
  id: string;
@@ -2703,6 +2837,11 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2703
2837
  fee_amount: string;
2704
2838
  customer_debit_amount: string;
2705
2839
  currency: string;
2840
+ protection: {
2841
+ status: "protected" | "unavailable";
2842
+ message: string;
2843
+ public_policy_version?: string | null | undefined;
2844
+ };
2706
2845
  status: "expired" | "eligible" | "ineligible";
2707
2846
  expected_next_action: "none" | "provider_approval" | "step_up";
2708
2847
  expires_at: string;
@@ -2723,6 +2862,11 @@ declare const assertPurchaseIntentView: (value: unknown) => asserts value is {
2723
2862
  }[];
2724
2863
  valid_until: string;
2725
2864
  created_at: string;
2865
+ protection?: {
2866
+ status: "protected" | "unavailable";
2867
+ message: string;
2868
+ public_policy_version?: string | null | undefined;
2869
+ } | null | undefined;
2726
2870
  } | null | undefined;
2727
2871
  converted_order_id?: string | null | undefined;
2728
2872
  };
@@ -2755,8 +2899,15 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2755
2899
  policy_name: string;
2756
2900
  policy_version: number;
2757
2901
  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";
2902
+ 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
2903
  evidence_digest: string;
2904
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
2905
+ purchase_policy?: {
2906
+ policy_version: number;
2907
+ surface: "web" | "native_ios" | "native_android";
2908
+ market_region: string;
2909
+ store_region?: string | null | undefined;
2910
+ } | null | undefined;
2760
2911
  };
2761
2912
  payment_options: {
2762
2913
  id: string;
@@ -2767,6 +2918,11 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2767
2918
  fee_amount: string;
2768
2919
  customer_debit_amount: string;
2769
2920
  currency: string;
2921
+ protection: {
2922
+ status: "protected" | "unavailable";
2923
+ message: string;
2924
+ public_policy_version?: string | null | undefined;
2925
+ };
2770
2926
  status: "expired" | "eligible" | "ineligible";
2771
2927
  expected_next_action: "none" | "provider_approval" | "step_up";
2772
2928
  expires_at: string;
@@ -2787,6 +2943,11 @@ declare const assertCheckoutTermsView: (value: unknown) => asserts value is {
2787
2943
  }[];
2788
2944
  valid_until: string;
2789
2945
  created_at: string;
2946
+ protection?: {
2947
+ status: "protected" | "unavailable";
2948
+ message: string;
2949
+ public_policy_version?: string | null | undefined;
2950
+ } | null | undefined;
2790
2951
  };
2791
2952
  declare const assertConfirmPurchaseIntentRequest: (value: unknown) => asserts value is {
2792
2953
  accepted_intent_revision: number;
@@ -2976,8 +3137,15 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
2976
3137
  policy_name: string;
2977
3138
  policy_version: number;
2978
3139
  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";
3140
+ 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
3141
  evidence_digest: string;
3142
+ disposition?: "execute" | "store_purchase" | "link_out" | "locked" | undefined;
3143
+ purchase_policy?: {
3144
+ policy_version: number;
3145
+ surface: "web" | "native_ios" | "native_android";
3146
+ market_region: string;
3147
+ store_region?: string | null | undefined;
3148
+ } | null | undefined;
2981
3149
  };
2982
3150
  payment_options: {
2983
3151
  id: string;
@@ -2988,6 +3156,11 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
2988
3156
  fee_amount: string;
2989
3157
  customer_debit_amount: string;
2990
3158
  currency: string;
3159
+ protection: {
3160
+ status: "protected" | "unavailable";
3161
+ message: string;
3162
+ public_policy_version?: string | null | undefined;
3163
+ };
2991
3164
  status: "expired" | "eligible" | "ineligible";
2992
3165
  expected_next_action: "none" | "provider_approval" | "step_up";
2993
3166
  expires_at: string;
@@ -3008,6 +3181,11 @@ declare const assertConfirmPurchaseIntentResponse: (value: unknown) => asserts v
3008
3181
  }[];
3009
3182
  valid_until: string;
3010
3183
  created_at: string;
3184
+ protection?: {
3185
+ status: "protected" | "unavailable";
3186
+ message: string;
3187
+ public_policy_version?: string | null | undefined;
3188
+ } | null | undefined;
3011
3189
  };
3012
3190
  deltas: ({
3013
3191
  kind: "money";
@@ -3902,6 +4080,12 @@ declare const PUBLIC_SCHEMAS: {
3902
4080
  }, z.core.$strip>>>;
3903
4081
  }, z.core.$strict>]>;
3904
4082
  readonly PurchaseIntentView: z.ZodObject<{
4083
+ disposition: z.ZodOptional<z.ZodEnum<{
4084
+ readonly EXECUTE: "execute";
4085
+ readonly STORE_PURCHASE: "store_purchase";
4086
+ readonly LINK_OUT: "link_out";
4087
+ readonly LOCKED: "locked";
4088
+ }>>;
3905
4089
  id: z.ZodString;
3906
4090
  seller_business_id: z.ZodString;
3907
4091
  principal: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3925,6 +4109,15 @@ declare const PUBLIC_SCHEMAS: {
3925
4109
  readonly EXPIRED: "expired";
3926
4110
  }>;
3927
4111
  source: z.ZodObject<{
4112
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4113
+ native_platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4114
+ readonly IOS: "ios";
4115
+ readonly ANDROID: "android";
4116
+ }>>>;
4117
+ purchase_surface: z.ZodOptional<z.ZodEnum<{
4118
+ readonly NATIVE_APP: "native_app";
4119
+ readonly WEB: "web";
4120
+ }>>;
3928
4121
  kind: z.ZodEnum<{
3929
4122
  readonly PRODUCT: "product";
3930
4123
  readonly COLLECTION: "collection";
@@ -4029,6 +4222,22 @@ declare const PUBLIC_SCHEMAS: {
4029
4222
  cancellation_terms_digest: z.ZodString;
4030
4223
  }, z.core.$strip>;
4031
4224
  compliance: z.ZodObject<{
4225
+ disposition: z.ZodOptional<z.ZodEnum<{
4226
+ readonly EXECUTE: "execute";
4227
+ readonly STORE_PURCHASE: "store_purchase";
4228
+ readonly LINK_OUT: "link_out";
4229
+ readonly LOCKED: "locked";
4230
+ }>>;
4231
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4232
+ policy_version: z.ZodNumber;
4233
+ surface: z.ZodEnum<{
4234
+ readonly NATIVE_IOS: "native_ios";
4235
+ readonly NATIVE_ANDROID: "native_android";
4236
+ readonly WEB: "web";
4237
+ }>;
4238
+ market_region: z.ZodString;
4239
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4240
+ }, z.core.$strip>>>;
4032
4241
  policy_name: z.ZodString;
4033
4242
  policy_version: z.ZodNumber;
4034
4243
  lane: z.ZodEnum<{
@@ -4041,14 +4250,26 @@ declare const PUBLIC_SCHEMAS: {
4041
4250
  reason_code: z.ZodEnum<{
4042
4251
  readonly COMMERCE_CORE: "commerce_core";
4043
4252
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4253
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4044
4254
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4045
4255
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4046
4256
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4047
4257
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4048
4258
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4259
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4260
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4261
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4049
4262
  }>;
4050
4263
  evidence_digest: z.ZodString;
4051
4264
  }, z.core.$strip>;
4265
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4266
+ status: z.ZodEnum<{
4267
+ readonly PROTECTED: "protected";
4268
+ readonly UNAVAILABLE: "unavailable";
4269
+ }>;
4270
+ message: z.ZodString;
4271
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4272
+ }, z.core.$strip>>>;
4052
4273
  payment_options: z.ZodArray<z.ZodObject<{
4053
4274
  id: z.ZodString;
4054
4275
  rank: z.ZodNumber;
@@ -4086,6 +4307,14 @@ declare const PUBLIC_SCHEMAS: {
4086
4307
  fee_amount: z.ZodString;
4087
4308
  customer_debit_amount: z.ZodString;
4088
4309
  currency: z.ZodString;
4310
+ protection: z.ZodObject<{
4311
+ status: z.ZodEnum<{
4312
+ readonly PROTECTED: "protected";
4313
+ readonly UNAVAILABLE: "unavailable";
4314
+ }>;
4315
+ message: z.ZodString;
4316
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4317
+ }, z.core.$strip>;
4089
4318
  status: z.ZodEnum<{
4090
4319
  readonly ELIGIBLE: "eligible";
4091
4320
  readonly INELIGIBLE: "ineligible";
@@ -4132,6 +4361,22 @@ declare const PUBLIC_SCHEMAS: {
4132
4361
  cancellation_terms_digest: z.ZodString;
4133
4362
  }, z.core.$strip>;
4134
4363
  compliance: z.ZodObject<{
4364
+ disposition: z.ZodOptional<z.ZodEnum<{
4365
+ readonly EXECUTE: "execute";
4366
+ readonly STORE_PURCHASE: "store_purchase";
4367
+ readonly LINK_OUT: "link_out";
4368
+ readonly LOCKED: "locked";
4369
+ }>>;
4370
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4371
+ policy_version: z.ZodNumber;
4372
+ surface: z.ZodEnum<{
4373
+ readonly NATIVE_IOS: "native_ios";
4374
+ readonly NATIVE_ANDROID: "native_android";
4375
+ readonly WEB: "web";
4376
+ }>;
4377
+ market_region: z.ZodString;
4378
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4379
+ }, z.core.$strip>>>;
4135
4380
  policy_name: z.ZodString;
4136
4381
  policy_version: z.ZodNumber;
4137
4382
  lane: z.ZodEnum<{
@@ -4144,14 +4389,26 @@ declare const PUBLIC_SCHEMAS: {
4144
4389
  reason_code: z.ZodEnum<{
4145
4390
  readonly COMMERCE_CORE: "commerce_core";
4146
4391
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4392
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4147
4393
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4148
4394
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4149
4395
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4150
4396
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4151
4397
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4398
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4399
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4400
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4152
4401
  }>;
4153
4402
  evidence_digest: z.ZodString;
4154
4403
  }, z.core.$strip>;
4404
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4405
+ status: z.ZodEnum<{
4406
+ readonly PROTECTED: "protected";
4407
+ readonly UNAVAILABLE: "unavailable";
4408
+ }>;
4409
+ message: z.ZodString;
4410
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4411
+ }, z.core.$strip>>>;
4155
4412
  payment_options: z.ZodArray<z.ZodObject<{
4156
4413
  id: z.ZodString;
4157
4414
  rank: z.ZodNumber;
@@ -4189,6 +4446,14 @@ declare const PUBLIC_SCHEMAS: {
4189
4446
  fee_amount: z.ZodString;
4190
4447
  customer_debit_amount: z.ZodString;
4191
4448
  currency: z.ZodString;
4449
+ protection: z.ZodObject<{
4450
+ status: z.ZodEnum<{
4451
+ readonly PROTECTED: "protected";
4452
+ readonly UNAVAILABLE: "unavailable";
4453
+ }>;
4454
+ message: z.ZodString;
4455
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4456
+ }, z.core.$strip>;
4192
4457
  status: z.ZodEnum<{
4193
4458
  readonly ELIGIBLE: "eligible";
4194
4459
  readonly INELIGIBLE: "ineligible";
@@ -4395,6 +4660,22 @@ declare const PUBLIC_SCHEMAS: {
4395
4660
  cancellation_terms_digest: z.ZodString;
4396
4661
  }, z.core.$strip>;
4397
4662
  compliance: z.ZodObject<{
4663
+ disposition: z.ZodOptional<z.ZodEnum<{
4664
+ readonly EXECUTE: "execute";
4665
+ readonly STORE_PURCHASE: "store_purchase";
4666
+ readonly LINK_OUT: "link_out";
4667
+ readonly LOCKED: "locked";
4668
+ }>>;
4669
+ purchase_policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4670
+ policy_version: z.ZodNumber;
4671
+ surface: z.ZodEnum<{
4672
+ readonly NATIVE_IOS: "native_ios";
4673
+ readonly NATIVE_ANDROID: "native_android";
4674
+ readonly WEB: "web";
4675
+ }>;
4676
+ market_region: z.ZodString;
4677
+ store_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4678
+ }, z.core.$strip>>>;
4398
4679
  policy_name: z.ZodString;
4399
4680
  policy_version: z.ZodNumber;
4400
4681
  lane: z.ZodEnum<{
@@ -4407,14 +4688,26 @@ declare const PUBLIC_SCHEMAS: {
4407
4688
  reason_code: z.ZodEnum<{
4408
4689
  readonly COMMERCE_CORE: "commerce_core";
4409
4690
  readonly PHYSICAL_GOODS_NATIVE: "physical_goods_native";
4691
+ readonly PHYSICAL_WORLD_COMMERCE_NATIVE: "physical_world_commerce_native";
4410
4692
  readonly STORE_KIT_REQUIRED: "store_kit_required";
4411
4693
  readonly PERMITTED_EXTERNAL_PURCHASE: "permitted_external_purchase";
4412
4694
  readonly DISTRIBUTION_AUTHORITY_UNVERIFIED: "distribution_authority_unverified";
4413
4695
  readonly PRODUCT_POLICY_UNRESOLVED: "product_policy_unresolved";
4414
4696
  readonly MIXED_LANE_UNSUPPORTED: "mixed_lane_unsupported";
4697
+ readonly EXTERNAL_DIGITAL_NATIVE: "external_digital_native";
4698
+ readonly MIXED_FACTS_NATIVE: "mixed_facts_native";
4699
+ readonly UNRESOLVED_FACTS_NATIVE: "unresolved_facts_native";
4415
4700
  }>;
4416
4701
  evidence_digest: z.ZodString;
4417
4702
  }, z.core.$strip>;
4703
+ protection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4704
+ status: z.ZodEnum<{
4705
+ readonly PROTECTED: "protected";
4706
+ readonly UNAVAILABLE: "unavailable";
4707
+ }>;
4708
+ message: z.ZodString;
4709
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4710
+ }, z.core.$strip>>>;
4418
4711
  payment_options: z.ZodArray<z.ZodObject<{
4419
4712
  id: z.ZodString;
4420
4713
  rank: z.ZodNumber;
@@ -4452,6 +4745,14 @@ declare const PUBLIC_SCHEMAS: {
4452
4745
  fee_amount: z.ZodString;
4453
4746
  customer_debit_amount: z.ZodString;
4454
4747
  currency: z.ZodString;
4748
+ protection: z.ZodObject<{
4749
+ status: z.ZodEnum<{
4750
+ readonly PROTECTED: "protected";
4751
+ readonly UNAVAILABLE: "unavailable";
4752
+ }>;
4753
+ message: z.ZodString;
4754
+ public_policy_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4755
+ }, z.core.$strip>;
4455
4756
  status: z.ZodEnum<{
4456
4757
  readonly ELIGIBLE: "eligible";
4457
4758
  readonly INELIGIBLE: "ineligible";