@b3dotfun/sdk 0.0.5-alpha.6 → 0.0.5

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 (93) hide show
  1. package/dist/cjs/anyspend/constants/index.js +2 -2
  2. package/dist/cjs/anyspend/react/components/AnySpend.js +2 -2
  3. package/dist/cjs/anyspend/react/components/index.d.ts +5 -7
  4. package/dist/cjs/anyspend/react/components/index.js +11 -15
  5. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  6. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +3 -4
  7. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
  8. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
  9. package/dist/cjs/anyspend/services/anyspend.d.ts +1 -7
  10. package/dist/cjs/anyspend/services/anyspend.js +2 -3
  11. package/dist/cjs/anyspend/types/order.d.ts +0 -18
  12. package/dist/cjs/anyspend/types/order.js +0 -1
  13. package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +0 -50
  14. package/dist/cjs/anyspend/types/req-res/createOrder.js +0 -1
  15. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
  16. package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
  17. package/dist/cjs/global-account/react/hooks/index.d.ts +1 -2
  18. package/dist/cjs/global-account/react/hooks/index.js +1 -3
  19. package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
  20. package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +13 -74
  21. package/dist/cjs/shared/constants/chains/supported.d.ts +3 -13
  22. package/dist/cjs/shared/constants/chains/supported.js +9 -15
  23. package/dist/esm/anyspend/constants/index.js +2 -2
  24. package/dist/esm/anyspend/react/components/AnySpend.js +2 -2
  25. package/dist/esm/anyspend/react/components/index.d.ts +5 -7
  26. package/dist/esm/anyspend/react/components/index.js +5 -7
  27. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  28. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +4 -5
  29. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
  30. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
  31. package/dist/esm/anyspend/services/anyspend.d.ts +1 -7
  32. package/dist/esm/anyspend/services/anyspend.js +2 -3
  33. package/dist/esm/anyspend/types/order.d.ts +0 -18
  34. package/dist/esm/anyspend/types/order.js +0 -1
  35. package/dist/esm/anyspend/types/req-res/createOrder.d.ts +0 -50
  36. package/dist/esm/anyspend/types/req-res/createOrder.js +0 -1
  37. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
  38. package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
  39. package/dist/esm/global-account/react/hooks/index.d.ts +1 -2
  40. package/dist/esm/global-account/react/hooks/index.js +0 -1
  41. package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
  42. package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +13 -73
  43. package/dist/esm/shared/constants/chains/supported.d.ts +3 -13
  44. package/dist/esm/shared/constants/chains/supported.js +8 -13
  45. package/dist/styles/index.css +1 -1
  46. package/dist/types/anyspend/react/components/index.d.ts +5 -7
  47. package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
  48. package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
  49. package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
  50. package/dist/types/anyspend/services/anyspend.d.ts +1 -7
  51. package/dist/types/anyspend/types/order.d.ts +0 -18
  52. package/dist/types/anyspend/types/req-res/createOrder.d.ts +0 -50
  53. package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
  54. package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
  55. package/dist/types/global-account/react/hooks/index.d.ts +1 -2
  56. package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
  57. package/dist/types/shared/constants/chains/supported.d.ts +3 -13
  58. package/package.json +3 -3
  59. package/src/anyspend/constants/index.ts +4 -2
  60. package/src/anyspend/react/components/AnySpend.tsx +2 -2
  61. package/src/anyspend/react/components/index.ts +5 -7
  62. package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +4 -7
  63. package/src/anyspend/services/anyspend.ts +2 -5
  64. package/src/anyspend/types/order.ts +0 -1
  65. package/src/anyspend/types/req-res/createOrder.ts +0 -1
  66. package/src/global-account/react/hooks/index.ts +1 -2
  67. package/src/global-account/react/hooks/useTokenFromUrl.tsx +13 -95
  68. package/src/shared/constants/chains/supported.ts +8 -23
  69. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
  70. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampOrderStatus.js +0 -37
  71. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
  72. package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -173
  73. package/dist/cjs/global-account/react/hooks/useB3EnsName.d.ts +0 -9
  74. package/dist/cjs/global-account/react/hooks/useB3EnsName.js +0 -39
  75. package/dist/cjs/shared/generated/coingecko-chains.json +0 -1072
  76. package/dist/esm/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
  77. package/dist/esm/anyspend/react/components/webview/WebviewOnrampOrderStatus.js +0 -31
  78. package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
  79. package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -167
  80. package/dist/esm/global-account/react/hooks/useB3EnsName.d.ts +0 -9
  81. package/dist/esm/global-account/react/hooks/useB3EnsName.js +0 -32
  82. package/dist/esm/shared/generated/coingecko-chains.json +0 -1072
  83. package/dist/types/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
  84. package/dist/types/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
  85. package/dist/types/global-account/react/hooks/useB3EnsName.d.ts +0 -9
  86. package/src/anyspend/README.md +0 -626
  87. package/src/anyspend/react/components/webview/WebviewOnrampOrderStatus.tsx +0 -120
  88. package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +0 -369
  89. package/src/global-account/react/hooks/useB3EnsName.ts +0 -49
  90. package/src/shared/generated/coingecko-chains.json +0 -1072
  91. /package/dist/cjs/{shared/generated → generated}/chain-networks.json +0 -0
  92. /package/dist/esm/{shared/generated → generated}/chain-networks.json +0 -0
  93. /package/src/{shared/generated → generated}/chain-networks.json +0 -0
@@ -43,7 +43,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
43
43
  ipAddress?: string | undefined;
44
44
  } | null;
45
45
  creatorAddress: string | null;
46
- partnerId: string | null;
47
46
  oneClickBuyUrl: string | null;
48
47
  stripePaymentIntentId: string | null;
49
48
  permit: {
@@ -115,7 +114,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
115
114
  ipAddress?: string | undefined;
116
115
  } | null;
117
116
  creatorAddress: string | null;
118
- partnerId: string | null;
119
117
  oneClickBuyUrl: string | null;
120
118
  stripePaymentIntentId: string | null;
121
119
  permit: {
@@ -179,7 +177,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
179
177
  ipAddress?: string | undefined;
180
178
  } | null;
181
179
  creatorAddress: string | null;
182
- partnerId: string | null;
183
180
  oneClickBuyUrl: string | null;
184
181
  stripePaymentIntentId: string | null;
185
182
  permit: {
@@ -243,7 +240,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
243
240
  ipAddress?: string | undefined;
244
241
  } | null;
245
242
  creatorAddress: string | null;
246
- partnerId: string | null;
247
243
  oneClickBuyUrl: string | null;
248
244
  stripePaymentIntentId: string | null;
249
245
  permit: {
@@ -302,7 +298,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
302
298
  ipAddress?: string | undefined;
303
299
  } | null;
304
300
  creatorAddress: string | null;
305
- partnerId: string | null;
306
301
  oneClickBuyUrl: string | null;
307
302
  stripePaymentIntentId: string | null;
308
303
  permit: {
@@ -365,7 +360,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
365
360
  ipAddress?: string | undefined;
366
361
  } | null;
367
362
  creatorAddress: string | null;
368
- partnerId: string | null;
369
363
  oneClickBuyUrl: string | null;
370
364
  stripePaymentIntentId: string | null;
371
365
  permit: {
@@ -437,7 +431,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
437
431
  ipAddress?: string | undefined;
438
432
  } | null;
439
433
  creatorAddress: string | null;
440
- partnerId: string | null;
441
434
  oneClickBuyUrl: string | null;
442
435
  stripePaymentIntentId: string | null;
443
436
  permit: {
@@ -501,7 +494,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
501
494
  ipAddress?: string | undefined;
502
495
  } | null;
503
496
  creatorAddress: string | null;
504
- partnerId: string | null;
505
497
  oneClickBuyUrl: string | null;
506
498
  stripePaymentIntentId: string | null;
507
499
  permit: {
@@ -565,7 +557,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
565
557
  ipAddress?: string | undefined;
566
558
  } | null;
567
559
  creatorAddress: string | null;
568
- partnerId: string | null;
569
560
  oneClickBuyUrl: string | null;
570
561
  stripePaymentIntentId: string | null;
571
562
  permit: {
@@ -624,7 +615,6 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
624
615
  ipAddress?: string | undefined;
625
616
  } | null;
626
617
  creatorAddress: string | null;
627
- partnerId: string | null;
628
618
  oneClickBuyUrl: string | null;
629
619
  stripePaymentIntentId: string | null;
630
620
  permit: {
@@ -4,7 +4,7 @@ export declare const anyspendService: {
4
4
  getTokenList: (isMainnet: boolean, chainId: number, query: string) => Promise<Token[]>;
5
5
  getToken: (isMainnet: boolean, chainId: number, tokenAddress: string) => Promise<Token>;
6
6
  getQuote: (isMainnet: boolean, req: GetQuoteRequest) => Promise<GetQuoteResponse>;
7
- createOrder: ({ isMainnet, recipientAddress, type, srcChain, dstChain, srcTokenAddress, dstTokenAddress, srcAmount, payload, onramp, metadata, creatorAddress, partnerId }: {
7
+ createOrder: ({ isMainnet, recipientAddress, type, srcChain, dstChain, srcTokenAddress, dstTokenAddress, srcAmount, payload, onramp, metadata, creatorAddress }: {
8
8
  isMainnet: boolean;
9
9
  recipientAddress: string;
10
10
  type: string;
@@ -17,7 +17,6 @@ export declare const anyspendService: {
17
17
  onramp?: OnrampOptions;
18
18
  metadata: Record<string, any>;
19
19
  creatorAddress?: string;
20
- partnerId?: string;
21
20
  }) => Promise<any>;
22
21
  getOrderAndTransactions: (isMainnet: boolean, orderId: string | undefined) => Promise<GetOrderAndTxsResponse>;
23
22
  getOrderHistory: (isMainnet: boolean, creatorAddress: string | undefined, limit?: number, offset?: number) => Promise<{
@@ -66,7 +65,6 @@ export declare const anyspendService: {
66
65
  ipAddress?: string | undefined;
67
66
  } | null;
68
67
  creatorAddress: string | null;
69
- partnerId: string | null;
70
68
  oneClickBuyUrl: string | null;
71
69
  stripePaymentIntentId: string | null;
72
70
  permit: {
@@ -138,7 +136,6 @@ export declare const anyspendService: {
138
136
  ipAddress?: string | undefined;
139
137
  } | null;
140
138
  creatorAddress: string | null;
141
- partnerId: string | null;
142
139
  oneClickBuyUrl: string | null;
143
140
  stripePaymentIntentId: string | null;
144
141
  permit: {
@@ -202,7 +199,6 @@ export declare const anyspendService: {
202
199
  ipAddress?: string | undefined;
203
200
  } | null;
204
201
  creatorAddress: string | null;
205
- partnerId: string | null;
206
202
  oneClickBuyUrl: string | null;
207
203
  stripePaymentIntentId: string | null;
208
204
  permit: {
@@ -266,7 +262,6 @@ export declare const anyspendService: {
266
262
  ipAddress?: string | undefined;
267
263
  } | null;
268
264
  creatorAddress: string | null;
269
- partnerId: string | null;
270
265
  oneClickBuyUrl: string | null;
271
266
  stripePaymentIntentId: string | null;
272
267
  permit: {
@@ -325,7 +320,6 @@ export declare const anyspendService: {
325
320
  ipAddress?: string | undefined;
326
321
  } | null;
327
322
  creatorAddress: string | null;
328
- partnerId: string | null;
329
323
  oneClickBuyUrl: string | null;
330
324
  stripePaymentIntentId: string | null;
331
325
  permit: {
@@ -37,7 +37,7 @@ export const anyspendService = {
37
37
  return data;
38
38
  },
39
39
  // Order related
40
- createOrder: async ({ isMainnet, recipientAddress, type, srcChain, dstChain, srcTokenAddress, dstTokenAddress, srcAmount, payload, onramp, metadata, creatorAddress, partnerId }) => {
40
+ createOrder: async ({ isMainnet, recipientAddress, type, srcChain, dstChain, srcTokenAddress, dstTokenAddress, srcAmount, payload, onramp, metadata, creatorAddress }) => {
41
41
  const response = await fetch(`${isMainnet ? ANYSPEND_MAINNET_BASE_URL : ANYSPEND_TESTNET_BASE_URL}/orders`, {
42
42
  method: "POST",
43
43
  headers: {
@@ -54,8 +54,7 @@ export const anyspendService = {
54
54
  payload,
55
55
  onramp,
56
56
  metadata,
57
- creatorAddress,
58
- partnerId
57
+ creatorAddress
59
58
  })
60
59
  });
61
60
  const data = await response.json();
@@ -52,7 +52,6 @@ export declare const zBaseOrder: z.ZodObject<{
52
52
  ipAddress?: string | undefined;
53
53
  }>>;
54
54
  creatorAddress: z.ZodNullable<z.ZodString>;
55
- partnerId: z.ZodNullable<z.ZodString>;
56
55
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
57
56
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
58
57
  permit: z.ZodNullable<z.ZodObject<{
@@ -95,7 +94,6 @@ export declare const zBaseOrder: z.ZodObject<{
95
94
  ipAddress?: string | undefined;
96
95
  } | null;
97
96
  creatorAddress: string | null;
98
- partnerId: string | null;
99
97
  oneClickBuyUrl: string | null;
100
98
  stripePaymentIntentId: string | null;
101
99
  permit: {
@@ -126,7 +124,6 @@ export declare const zBaseOrder: z.ZodObject<{
126
124
  ipAddress?: string | undefined;
127
125
  } | null;
128
126
  creatorAddress: string | null;
129
- partnerId: string | null;
130
127
  oneClickBuyUrl: string | null;
131
128
  stripePaymentIntentId: string | null;
132
129
  permit: {
@@ -170,7 +167,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
170
167
  ipAddress?: string | undefined;
171
168
  }>>;
172
169
  creatorAddress: z.ZodNullable<z.ZodString>;
173
- partnerId: z.ZodNullable<z.ZodString>;
174
170
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
175
171
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
176
172
  permit: z.ZodNullable<z.ZodObject<{
@@ -356,7 +352,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
356
352
  ipAddress?: string | undefined;
357
353
  } | null;
358
354
  creatorAddress: string | null;
359
- partnerId: string | null;
360
355
  oneClickBuyUrl: string | null;
361
356
  stripePaymentIntentId: string | null;
362
357
  permit: {
@@ -414,7 +409,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
414
409
  ipAddress?: string | undefined;
415
410
  } | null;
416
411
  creatorAddress: string | null;
417
- partnerId: string | null;
418
412
  oneClickBuyUrl: string | null;
419
413
  stripePaymentIntentId: string | null;
420
414
  permit: {
@@ -461,7 +455,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
461
455
  ipAddress?: string | undefined;
462
456
  }>>;
463
457
  creatorAddress: z.ZodNullable<z.ZodString>;
464
- partnerId: z.ZodNullable<z.ZodString>;
465
458
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
466
459
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
467
460
  permit: z.ZodNullable<z.ZodObject<{
@@ -731,7 +724,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
731
724
  ipAddress?: string | undefined;
732
725
  } | null;
733
726
  creatorAddress: string | null;
734
- partnerId: string | null;
735
727
  oneClickBuyUrl: string | null;
736
728
  stripePaymentIntentId: string | null;
737
729
  permit: {
@@ -803,7 +795,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
803
795
  ipAddress?: string | undefined;
804
796
  } | null;
805
797
  creatorAddress: string | null;
806
- partnerId: string | null;
807
798
  oneClickBuyUrl: string | null;
808
799
  stripePaymentIntentId: string | null;
809
800
  permit: {
@@ -850,7 +841,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
850
841
  ipAddress?: string | undefined;
851
842
  }>>;
852
843
  creatorAddress: z.ZodNullable<z.ZodString>;
853
- partnerId: z.ZodNullable<z.ZodString>;
854
844
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
855
845
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
856
846
  permit: z.ZodNullable<z.ZodObject<{
@@ -1070,7 +1060,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1070
1060
  ipAddress?: string | undefined;
1071
1061
  } | null;
1072
1062
  creatorAddress: string | null;
1073
- partnerId: string | null;
1074
1063
  oneClickBuyUrl: string | null;
1075
1064
  stripePaymentIntentId: string | null;
1076
1065
  permit: {
@@ -1134,7 +1123,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1134
1123
  ipAddress?: string | undefined;
1135
1124
  } | null;
1136
1125
  creatorAddress: string | null;
1137
- partnerId: string | null;
1138
1126
  oneClickBuyUrl: string | null;
1139
1127
  stripePaymentIntentId: string | null;
1140
1128
  permit: {
@@ -1181,7 +1169,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1181
1169
  ipAddress?: string | undefined;
1182
1170
  }>>;
1183
1171
  creatorAddress: z.ZodNullable<z.ZodString>;
1184
- partnerId: z.ZodNullable<z.ZodString>;
1185
1172
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
1186
1173
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
1187
1174
  permit: z.ZodNullable<z.ZodObject<{
@@ -1401,7 +1388,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1401
1388
  ipAddress?: string | undefined;
1402
1389
  } | null;
1403
1390
  creatorAddress: string | null;
1404
- partnerId: string | null;
1405
1391
  oneClickBuyUrl: string | null;
1406
1392
  stripePaymentIntentId: string | null;
1407
1393
  permit: {
@@ -1465,7 +1451,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1465
1451
  ipAddress?: string | undefined;
1466
1452
  } | null;
1467
1453
  creatorAddress: string | null;
1468
- partnerId: string | null;
1469
1454
  oneClickBuyUrl: string | null;
1470
1455
  stripePaymentIntentId: string | null;
1471
1456
  permit: {
@@ -1512,7 +1497,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1512
1497
  ipAddress?: string | undefined;
1513
1498
  }>>;
1514
1499
  creatorAddress: z.ZodNullable<z.ZodString>;
1515
- partnerId: z.ZodNullable<z.ZodString>;
1516
1500
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
1517
1501
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
1518
1502
  permit: z.ZodNullable<z.ZodObject<{
@@ -1708,7 +1692,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1708
1692
  ipAddress?: string | undefined;
1709
1693
  } | null;
1710
1694
  creatorAddress: string | null;
1711
- partnerId: string | null;
1712
1695
  oneClickBuyUrl: string | null;
1713
1696
  stripePaymentIntentId: string | null;
1714
1697
  permit: {
@@ -1769,7 +1752,6 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1769
1752
  ipAddress?: string | undefined;
1770
1753
  } | null;
1771
1754
  creatorAddress: string | null;
1772
- partnerId: string | null;
1773
1755
  oneClickBuyUrl: string | null;
1774
1756
  stripePaymentIntentId: string | null;
1775
1757
  permit: {
@@ -49,7 +49,6 @@ export const zBaseOrder = z.object({
49
49
  expiredAt: z.number(),
50
50
  onrampMetadata: zOnrampMetadata.nullable(),
51
51
  creatorAddress: z.string().nullable(),
52
- partnerId: z.string().nullable(),
53
52
  oneClickBuyUrl: z.string().nullable(),
54
53
  stripePaymentIntentId: z.string().nullable(),
55
54
  permit: zPermit.nullable()
@@ -8,7 +8,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
8
8
  srcTokenAddress: z.ZodString;
9
9
  dstTokenAddress: z.ZodString;
10
10
  srcAmount: z.ZodString;
11
- partnerId: z.ZodOptional<z.ZodString>;
12
11
  onramp: z.ZodOptional<z.ZodObject<{
13
12
  country: z.ZodString;
14
13
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -184,7 +183,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
184
183
  actualDstAmount: string | null;
185
184
  };
186
185
  creatorAddress?: string | undefined;
187
- partnerId?: string | undefined;
188
186
  onramp?: {
189
187
  country: string;
190
188
  vendor: import("../onramp").OnrampVendor;
@@ -227,7 +225,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
227
225
  actualDstAmount: string | null;
228
226
  };
229
227
  creatorAddress?: string | undefined;
230
- partnerId?: string | undefined;
231
228
  onramp?: {
232
229
  country: string;
233
230
  vendor: import("../onramp").OnrampVendor;
@@ -242,7 +239,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
242
239
  srcTokenAddress: z.ZodString;
243
240
  dstTokenAddress: z.ZodString;
244
241
  srcAmount: z.ZodString;
245
- partnerId: z.ZodOptional<z.ZodString>;
246
242
  onramp: z.ZodOptional<z.ZodObject<{
247
243
  country: z.ZodString;
248
244
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -502,7 +498,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
502
498
  nftPrice: string;
503
499
  };
504
500
  creatorAddress?: string | undefined;
505
- partnerId?: string | undefined;
506
501
  onramp?: {
507
502
  country: string;
508
503
  vendor: import("../onramp").OnrampVendor;
@@ -559,7 +554,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
559
554
  nftPrice: string;
560
555
  };
561
556
  creatorAddress?: string | undefined;
562
- partnerId?: string | undefined;
563
557
  onramp?: {
564
558
  country: string;
565
559
  vendor: import("../onramp").OnrampVendor;
@@ -574,7 +568,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
574
568
  srcTokenAddress: z.ZodString;
575
569
  dstTokenAddress: z.ZodString;
576
570
  srcAmount: z.ZodString;
577
- partnerId: z.ZodOptional<z.ZodString>;
578
571
  onramp: z.ZodOptional<z.ZodObject<{
579
572
  country: z.ZodString;
580
573
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -784,7 +777,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
784
777
  entryPrice: string;
785
778
  };
786
779
  creatorAddress?: string | undefined;
787
- partnerId?: string | undefined;
788
780
  onramp?: {
789
781
  country: string;
790
782
  vendor: import("../onramp").OnrampVendor;
@@ -833,7 +825,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
833
825
  entryPrice: string;
834
826
  };
835
827
  creatorAddress?: string | undefined;
836
- partnerId?: string | undefined;
837
828
  onramp?: {
838
829
  country: string;
839
830
  vendor: import("../onramp").OnrampVendor;
@@ -848,7 +839,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
848
839
  srcTokenAddress: z.ZodString;
849
840
  dstTokenAddress: z.ZodString;
850
841
  srcAmount: z.ZodString;
851
- partnerId: z.ZodOptional<z.ZodString>;
852
842
  onramp: z.ZodOptional<z.ZodObject<{
853
843
  country: z.ZodString;
854
844
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1058,7 +1048,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1058
1048
  fundAmount: string;
1059
1049
  };
1060
1050
  creatorAddress?: string | undefined;
1061
- partnerId?: string | undefined;
1062
1051
  onramp?: {
1063
1052
  country: string;
1064
1053
  vendor: import("../onramp").OnrampVendor;
@@ -1107,7 +1096,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1107
1096
  fundAmount: string;
1108
1097
  };
1109
1098
  creatorAddress?: string | undefined;
1110
- partnerId?: string | undefined;
1111
1099
  onramp?: {
1112
1100
  country: string;
1113
1101
  vendor: import("../onramp").OnrampVendor;
@@ -1122,7 +1110,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1122
1110
  srcTokenAddress: z.ZodString;
1123
1111
  dstTokenAddress: z.ZodString;
1124
1112
  srcAmount: z.ZodString;
1125
- partnerId: z.ZodOptional<z.ZodString>;
1126
1113
  onramp: z.ZodOptional<z.ZodObject<{
1127
1114
  country: z.ZodString;
1128
1115
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1310,7 +1297,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1310
1297
  spenderAddress?: string | undefined;
1311
1298
  };
1312
1299
  creatorAddress?: string | undefined;
1313
- partnerId?: string | undefined;
1314
1300
  onramp?: {
1315
1301
  country: string;
1316
1302
  vendor: import("../onramp").OnrampVendor;
@@ -1356,7 +1342,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1356
1342
  spenderAddress?: string | undefined;
1357
1343
  };
1358
1344
  creatorAddress?: string | undefined;
1359
- partnerId?: string | undefined;
1360
1345
  onramp?: {
1361
1346
  country: string;
1362
1347
  vendor: import("../onramp").OnrampVendor;
@@ -1401,7 +1386,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1401
1386
  actualDstAmount: string | null;
1402
1387
  };
1403
1388
  creatorAddress?: string | undefined;
1404
- partnerId?: string | undefined;
1405
1389
  onramp?: {
1406
1390
  country: string;
1407
1391
  vendor: import("../onramp").OnrampVendor;
@@ -1458,7 +1442,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1458
1442
  nftPrice: string;
1459
1443
  };
1460
1444
  creatorAddress?: string | undefined;
1461
- partnerId?: string | undefined;
1462
1445
  onramp?: {
1463
1446
  country: string;
1464
1447
  vendor: import("../onramp").OnrampVendor;
@@ -1507,7 +1490,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1507
1490
  entryPrice: string;
1508
1491
  };
1509
1492
  creatorAddress?: string | undefined;
1510
- partnerId?: string | undefined;
1511
1493
  onramp?: {
1512
1494
  country: string;
1513
1495
  vendor: import("../onramp").OnrampVendor;
@@ -1556,7 +1538,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1556
1538
  fundAmount: string;
1557
1539
  };
1558
1540
  creatorAddress?: string | undefined;
1559
- partnerId?: string | undefined;
1560
1541
  onramp?: {
1561
1542
  country: string;
1562
1543
  vendor: import("../onramp").OnrampVendor;
@@ -1602,7 +1583,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1602
1583
  spenderAddress?: string | undefined;
1603
1584
  };
1604
1585
  creatorAddress?: string | undefined;
1605
- partnerId?: string | undefined;
1606
1586
  onramp?: {
1607
1587
  country: string;
1608
1588
  vendor: import("../onramp").OnrampVendor;
@@ -1647,7 +1627,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1647
1627
  actualDstAmount: string | null;
1648
1628
  };
1649
1629
  creatorAddress?: string | undefined;
1650
- partnerId?: string | undefined;
1651
1630
  onramp?: {
1652
1631
  country: string;
1653
1632
  vendor: import("../onramp").OnrampVendor;
@@ -1704,7 +1683,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1704
1683
  nftPrice: string;
1705
1684
  };
1706
1685
  creatorAddress?: string | undefined;
1707
- partnerId?: string | undefined;
1708
1686
  onramp?: {
1709
1687
  country: string;
1710
1688
  vendor: import("../onramp").OnrampVendor;
@@ -1753,7 +1731,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1753
1731
  entryPrice: string;
1754
1732
  };
1755
1733
  creatorAddress?: string | undefined;
1756
- partnerId?: string | undefined;
1757
1734
  onramp?: {
1758
1735
  country: string;
1759
1736
  vendor: import("../onramp").OnrampVendor;
@@ -1802,7 +1779,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1802
1779
  fundAmount: string;
1803
1780
  };
1804
1781
  creatorAddress?: string | undefined;
1805
- partnerId?: string | undefined;
1806
1782
  onramp?: {
1807
1783
  country: string;
1808
1784
  vendor: import("../onramp").OnrampVendor;
@@ -1848,7 +1824,6 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1848
1824
  spenderAddress?: string | undefined;
1849
1825
  };
1850
1826
  creatorAddress?: string | undefined;
1851
- partnerId?: string | undefined;
1852
1827
  onramp?: {
1853
1828
  country: string;
1854
1829
  vendor: import("../onramp").OnrampVendor;
@@ -1895,7 +1870,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
1895
1870
  ipAddress?: string | undefined;
1896
1871
  }>>;
1897
1872
  creatorAddress: z.ZodNullable<z.ZodString>;
1898
- partnerId: z.ZodNullable<z.ZodString>;
1899
1873
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
1900
1874
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
1901
1875
  permit: z.ZodNullable<z.ZodObject<{
@@ -2081,7 +2055,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2081
2055
  ipAddress?: string | undefined;
2082
2056
  } | null;
2083
2057
  creatorAddress: string | null;
2084
- partnerId: string | null;
2085
2058
  oneClickBuyUrl: string | null;
2086
2059
  stripePaymentIntentId: string | null;
2087
2060
  permit: {
@@ -2139,7 +2112,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2139
2112
  ipAddress?: string | undefined;
2140
2113
  } | null;
2141
2114
  creatorAddress: string | null;
2142
- partnerId: string | null;
2143
2115
  oneClickBuyUrl: string | null;
2144
2116
  stripePaymentIntentId: string | null;
2145
2117
  permit: {
@@ -2186,7 +2158,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2186
2158
  ipAddress?: string | undefined;
2187
2159
  }>>;
2188
2160
  creatorAddress: z.ZodNullable<z.ZodString>;
2189
- partnerId: z.ZodNullable<z.ZodString>;
2190
2161
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
2191
2162
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
2192
2163
  permit: z.ZodNullable<z.ZodObject<{
@@ -2456,7 +2427,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2456
2427
  ipAddress?: string | undefined;
2457
2428
  } | null;
2458
2429
  creatorAddress: string | null;
2459
- partnerId: string | null;
2460
2430
  oneClickBuyUrl: string | null;
2461
2431
  stripePaymentIntentId: string | null;
2462
2432
  permit: {
@@ -2528,7 +2498,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2528
2498
  ipAddress?: string | undefined;
2529
2499
  } | null;
2530
2500
  creatorAddress: string | null;
2531
- partnerId: string | null;
2532
2501
  oneClickBuyUrl: string | null;
2533
2502
  stripePaymentIntentId: string | null;
2534
2503
  permit: {
@@ -2575,7 +2544,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2575
2544
  ipAddress?: string | undefined;
2576
2545
  }>>;
2577
2546
  creatorAddress: z.ZodNullable<z.ZodString>;
2578
- partnerId: z.ZodNullable<z.ZodString>;
2579
2547
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
2580
2548
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
2581
2549
  permit: z.ZodNullable<z.ZodObject<{
@@ -2795,7 +2763,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2795
2763
  ipAddress?: string | undefined;
2796
2764
  } | null;
2797
2765
  creatorAddress: string | null;
2798
- partnerId: string | null;
2799
2766
  oneClickBuyUrl: string | null;
2800
2767
  stripePaymentIntentId: string | null;
2801
2768
  permit: {
@@ -2859,7 +2826,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2859
2826
  ipAddress?: string | undefined;
2860
2827
  } | null;
2861
2828
  creatorAddress: string | null;
2862
- partnerId: string | null;
2863
2829
  oneClickBuyUrl: string | null;
2864
2830
  stripePaymentIntentId: string | null;
2865
2831
  permit: {
@@ -2906,7 +2872,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
2906
2872
  ipAddress?: string | undefined;
2907
2873
  }>>;
2908
2874
  creatorAddress: z.ZodNullable<z.ZodString>;
2909
- partnerId: z.ZodNullable<z.ZodString>;
2910
2875
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
2911
2876
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
2912
2877
  permit: z.ZodNullable<z.ZodObject<{
@@ -3126,7 +3091,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3126
3091
  ipAddress?: string | undefined;
3127
3092
  } | null;
3128
3093
  creatorAddress: string | null;
3129
- partnerId: string | null;
3130
3094
  oneClickBuyUrl: string | null;
3131
3095
  stripePaymentIntentId: string | null;
3132
3096
  permit: {
@@ -3190,7 +3154,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3190
3154
  ipAddress?: string | undefined;
3191
3155
  } | null;
3192
3156
  creatorAddress: string | null;
3193
- partnerId: string | null;
3194
3157
  oneClickBuyUrl: string | null;
3195
3158
  stripePaymentIntentId: string | null;
3196
3159
  permit: {
@@ -3237,7 +3200,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3237
3200
  ipAddress?: string | undefined;
3238
3201
  }>>;
3239
3202
  creatorAddress: z.ZodNullable<z.ZodString>;
3240
- partnerId: z.ZodNullable<z.ZodString>;
3241
3203
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
3242
3204
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
3243
3205
  permit: z.ZodNullable<z.ZodObject<{
@@ -3433,7 +3395,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3433
3395
  ipAddress?: string | undefined;
3434
3396
  } | null;
3435
3397
  creatorAddress: string | null;
3436
- partnerId: string | null;
3437
3398
  oneClickBuyUrl: string | null;
3438
3399
  stripePaymentIntentId: string | null;
3439
3400
  permit: {
@@ -3494,7 +3455,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3494
3455
  ipAddress?: string | undefined;
3495
3456
  } | null;
3496
3457
  creatorAddress: string | null;
3497
- partnerId: string | null;
3498
3458
  oneClickBuyUrl: string | null;
3499
3459
  stripePaymentIntentId: string | null;
3500
3460
  permit: {
@@ -3558,7 +3518,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3558
3518
  ipAddress?: string | undefined;
3559
3519
  } | null;
3560
3520
  creatorAddress: string | null;
3561
- partnerId: string | null;
3562
3521
  oneClickBuyUrl: string | null;
3563
3522
  stripePaymentIntentId: string | null;
3564
3523
  permit: {
@@ -3630,7 +3589,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3630
3589
  ipAddress?: string | undefined;
3631
3590
  } | null;
3632
3591
  creatorAddress: string | null;
3633
- partnerId: string | null;
3634
3592
  oneClickBuyUrl: string | null;
3635
3593
  stripePaymentIntentId: string | null;
3636
3594
  permit: {
@@ -3694,7 +3652,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3694
3652
  ipAddress?: string | undefined;
3695
3653
  } | null;
3696
3654
  creatorAddress: string | null;
3697
- partnerId: string | null;
3698
3655
  oneClickBuyUrl: string | null;
3699
3656
  stripePaymentIntentId: string | null;
3700
3657
  permit: {
@@ -3758,7 +3715,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3758
3715
  ipAddress?: string | undefined;
3759
3716
  } | null;
3760
3717
  creatorAddress: string | null;
3761
- partnerId: string | null;
3762
3718
  oneClickBuyUrl: string | null;
3763
3719
  stripePaymentIntentId: string | null;
3764
3720
  permit: {
@@ -3817,7 +3773,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3817
3773
  ipAddress?: string | undefined;
3818
3774
  } | null;
3819
3775
  creatorAddress: string | null;
3820
- partnerId: string | null;
3821
3776
  oneClickBuyUrl: string | null;
3822
3777
  stripePaymentIntentId: string | null;
3823
3778
  permit: {
@@ -3882,7 +3837,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3882
3837
  ipAddress?: string | undefined;
3883
3838
  } | null;
3884
3839
  creatorAddress: string | null;
3885
- partnerId: string | null;
3886
3840
  oneClickBuyUrl: string | null;
3887
3841
  stripePaymentIntentId: string | null;
3888
3842
  permit: {
@@ -3954,7 +3908,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
3954
3908
  ipAddress?: string | undefined;
3955
3909
  } | null;
3956
3910
  creatorAddress: string | null;
3957
- partnerId: string | null;
3958
3911
  oneClickBuyUrl: string | null;
3959
3912
  stripePaymentIntentId: string | null;
3960
3913
  permit: {
@@ -4018,7 +3971,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
4018
3971
  ipAddress?: string | undefined;
4019
3972
  } | null;
4020
3973
  creatorAddress: string | null;
4021
- partnerId: string | null;
4022
3974
  oneClickBuyUrl: string | null;
4023
3975
  stripePaymentIntentId: string | null;
4024
3976
  permit: {
@@ -4082,7 +4034,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
4082
4034
  ipAddress?: string | undefined;
4083
4035
  } | null;
4084
4036
  creatorAddress: string | null;
4085
- partnerId: string | null;
4086
4037
  oneClickBuyUrl: string | null;
4087
4038
  stripePaymentIntentId: string | null;
4088
4039
  permit: {
@@ -4141,7 +4092,6 @@ export declare const zCreateOrderResponse: z.ZodObject<{
4141
4092
  ipAddress?: string | undefined;
4142
4093
  } | null;
4143
4094
  creatorAddress: string | null;
4144
- partnerId: string | null;
4145
4095
  oneClickBuyUrl: string | null;
4146
4096
  stripePaymentIntentId: string | null;
4147
4097
  permit: {
@@ -12,7 +12,6 @@ const zBaseCreateOrderBody = z.object({
12
12
  srcTokenAddress: z.string(),
13
13
  dstTokenAddress: z.string(),
14
14
  srcAmount: z.string(),
15
- partnerId: z.string().optional(),
16
15
  onramp: zOnrampMetadata.optional(),
17
16
  creatorAddress: z.string().optional()
18
17
  });