@relayprotocol/relay-sdk 9.0.0 → 9.0.2

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.
@@ -1499,6 +1499,7 @@ export interface paths {
1499
1499
  };
1500
1500
  get?: never;
1501
1501
  put?: never;
1502
+ /** @deprecated */
1502
1503
  post: {
1503
1504
  parameters: {
1504
1505
  query: {
@@ -1555,6 +1556,14 @@ export interface paths {
1555
1556
  };
1556
1557
  }[];
1557
1558
  }[];
1559
+ deprecation?: {
1560
+ message: string;
1561
+ deprecatedAt: string;
1562
+ throttledFrom?: string;
1563
+ sunsetAt?: string;
1564
+ successor?: string;
1565
+ migrationGuide: string;
1566
+ };
1558
1567
  };
1559
1568
  };
1560
1569
  };
@@ -1719,7 +1728,7 @@ export interface paths {
1719
1728
  put?: never;
1720
1729
  /**
1721
1730
  * @deprecated
1722
- * @description This endpoint is deprecated. Use /quote/v2 instead.
1731
+ * @description This endpoint is deprecated. Use /quote/v3 instead.
1723
1732
  */
1724
1733
  post: {
1725
1734
  parameters: {
@@ -4052,6 +4061,14 @@ export interface paths {
4052
4061
  };
4053
4062
  };
4054
4063
  };
4064
+ deprecation?: {
4065
+ message: string;
4066
+ deprecatedAt: string;
4067
+ throttledFrom?: string;
4068
+ sunsetAt?: string;
4069
+ successor?: string;
4070
+ migrationGuide: string;
4071
+ };
4055
4072
  };
4056
4073
  };
4057
4074
  };
@@ -4096,6 +4113,8 @@ export interface paths {
4096
4113
  content: {
4097
4114
  "application/json": {
4098
4115
  message?: string;
4116
+ successor?: string;
4117
+ migrationGuide?: string;
4099
4118
  };
4100
4119
  };
4101
4120
  };
@@ -4129,6 +4148,7 @@ export interface paths {
4129
4148
  };
4130
4149
  get?: never;
4131
4150
  put?: never;
4151
+ /** @deprecated */
4132
4152
  post: {
4133
4153
  parameters: {
4134
4154
  query?: never;
@@ -6460,6 +6480,14 @@ export interface paths {
6460
6480
  };
6461
6481
  };
6462
6482
  };
6483
+ deprecation?: {
6484
+ message: string;
6485
+ deprecatedAt: string;
6486
+ throttledFrom?: string;
6487
+ sunsetAt?: string;
6488
+ successor?: string;
6489
+ migrationGuide: string;
6490
+ };
6463
6491
  };
6464
6492
  };
6465
6493
  };
@@ -6504,6 +6532,8 @@ export interface paths {
6504
6532
  content: {
6505
6533
  "application/json": {
6506
6534
  message?: string;
6535
+ successor?: string;
6536
+ migrationGuide?: string;
6507
6537
  };
6508
6538
  };
6509
6539
  };
@@ -6822,6 +6852,7 @@ export interface paths {
6822
6852
  };
6823
6853
  amount?: string;
6824
6854
  amountFormatted?: string;
6855
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
6825
6856
  amountUsd?: string | null;
6826
6857
  minimumAmount?: string;
6827
6858
  };
@@ -7189,6 +7220,7 @@ export interface paths {
7189
7220
  };
7190
7221
  amount?: string;
7191
7222
  amountFormatted?: string;
7223
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7192
7224
  amountUsd?: string | null;
7193
7225
  minimumAmount?: string;
7194
7226
  };
@@ -7207,6 +7239,7 @@ export interface paths {
7207
7239
  };
7208
7240
  amount?: string;
7209
7241
  amountFormatted?: string;
7242
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7210
7243
  amountUsd?: string | null;
7211
7244
  minimumAmount?: string;
7212
7245
  };
@@ -7225,6 +7258,7 @@ export interface paths {
7225
7258
  };
7226
7259
  amount?: string;
7227
7260
  amountFormatted?: string;
7261
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7228
7262
  amountUsd?: string | null;
7229
7263
  minimumAmount?: string;
7230
7264
  };
@@ -7243,19 +7277,20 @@ export interface paths {
7243
7277
  };
7244
7278
  amount?: string;
7245
7279
  amountFormatted?: string;
7280
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7246
7281
  amountUsd?: string | null;
7247
7282
  minimumAmount?: string;
7248
7283
  };
7249
- /** @description The difference between the input and output values, including fees */
7284
+ /** @description The difference between the input and output values, including fees. Null when either input or output USD valuation is unavailable. */
7250
7285
  totalImpact?: {
7251
7286
  usd?: string;
7252
7287
  percent?: string;
7253
- };
7254
- /** @description The impact of the swap, not factoring in fees */
7288
+ } | null;
7289
+ /** @description The impact of the swap, not factoring in fees. Null when either input or output USD valuation is unavailable. */
7255
7290
  swapImpact?: {
7256
7291
  usd?: string;
7257
7292
  percent?: string;
7258
- };
7293
+ } | null;
7259
7294
  /** @description The swap rate which is equal to 1 input unit in the output unit, e.g. 1 USDC -> x ETH. This value can fluctuate based on gas and fees. */
7260
7295
  rate?: string;
7261
7296
  slippageTolerance?: {
@@ -7302,6 +7337,7 @@ export interface paths {
7302
7337
  };
7303
7338
  amount?: string;
7304
7339
  amountFormatted?: string;
7340
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7305
7341
  amountUsd?: string | null;
7306
7342
  minimumAmount?: string;
7307
7343
  };
@@ -7320,6 +7356,7 @@ export interface paths {
7320
7356
  };
7321
7357
  amount?: string;
7322
7358
  amountFormatted?: string;
7359
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7323
7360
  amountUsd?: string | null;
7324
7361
  minimumAmount?: string;
7325
7362
  };
@@ -7343,6 +7380,7 @@ export interface paths {
7343
7380
  };
7344
7381
  amount?: string;
7345
7382
  amountFormatted?: string;
7383
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7346
7384
  amountUsd?: string | null;
7347
7385
  minimumAmount?: string;
7348
7386
  };
@@ -7361,6 +7399,7 @@ export interface paths {
7361
7399
  };
7362
7400
  amount?: string;
7363
7401
  amountFormatted?: string;
7402
+ /** @description USD valuation, or null when unavailable. A zero valuation for a nonzero token amount is treated as unavailable; zero token amounts retain their zero USD valuation. */
7364
7403
  amountUsd?: string | null;
7365
7404
  minimumAmount?: string;
7366
7405
  };
@@ -7507,6 +7546,7 @@ export interface paths {
7507
7546
  };
7508
7547
  get?: never;
7509
7548
  put?: never;
7549
+ /** @deprecated */
7510
7550
  post: {
7511
7551
  parameters: {
7512
7552
  query?: never;
@@ -7931,6 +7971,14 @@ export interface paths {
7931
7971
  /** @description The user's balance in the given currency on the origin chain */
7932
7972
  userBalance?: string;
7933
7973
  };
7974
+ deprecation?: {
7975
+ message: string;
7976
+ deprecatedAt: string;
7977
+ throttledFrom?: string;
7978
+ sunsetAt?: string;
7979
+ successor?: string;
7980
+ migrationGuide: string;
7981
+ };
7934
7982
  };
7935
7983
  };
7936
7984
  };
@@ -8372,6 +8420,7 @@ export interface paths {
8372
8420
  path?: never;
8373
8421
  cookie?: never;
8374
8422
  };
8423
+ /** @deprecated */
8375
8424
  get: {
8376
8425
  parameters: {
8377
8426
  query?: {
@@ -8408,6 +8457,14 @@ export interface paths {
8408
8457
  time?: number;
8409
8458
  originChainId?: number;
8410
8459
  destinationChainId?: number;
8460
+ deprecation?: {
8461
+ message: string;
8462
+ deprecatedAt: string;
8463
+ throttledFrom?: string;
8464
+ sunsetAt?: string;
8465
+ successor?: string;
8466
+ migrationGuide: string;
8467
+ };
8411
8468
  };
8412
8469
  };
8413
8470
  };
@@ -8428,6 +8485,7 @@ export interface paths {
8428
8485
  path?: never;
8429
8486
  cookie?: never;
8430
8487
  };
8488
+ /** @deprecated */
8431
8489
  get: {
8432
8490
  parameters: {
8433
8491
  query?: {
@@ -8463,6 +8521,14 @@ export interface paths {
8463
8521
  destinationChainId?: number;
8464
8522
  /** @description The timestamp when the quote request was created */
8465
8523
  quoteCreatedAt?: number;
8524
+ deprecation?: {
8525
+ message: string;
8526
+ deprecatedAt: string;
8527
+ throttledFrom?: string;
8528
+ sunsetAt?: string;
8529
+ successor?: string;
8530
+ migrationGuide: string;
8531
+ };
8466
8532
  };
8467
8533
  };
8468
8534
  };
@@ -11647,8 +11713,15 @@ export interface paths {
11647
11713
  } | null;
11648
11714
  /** @description Referrer — only returned when the caller authenticates as the request's creator integrator. */
11649
11715
  referrer?: string | null;
11716
+ /** @description Fixed-spread deal ID, returned only for your own requests with includeAuthenticatedData=true. Null when no deal ID was recorded. */
11717
+ fixedSpreadDealId?: string | null;
11650
11718
  /** @description Durable App attribution, returned only for your own requests with includeAuthenticatedData=true. Null when historical attribution is unavailable. */
11651
11719
  appId?: string | null;
11720
+ /** @description The integrator that originated the request — only returned for authorized callers. Null when attribution is unavailable. */
11721
+ integrator?: {
11722
+ id: string;
11723
+ name: string | null;
11724
+ } | null;
11652
11725
  appName?: string | null;
11653
11726
  /** @description API key name — only returned when the caller authenticates as the request's creator integrator. */
11654
11727
  apiKeyName?: string | null;