@blindpay/node 3.11.0 → 4.0.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 (112) hide show
  1. package/dist/{api-client-5N_7-zad.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-DYqrodZr.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-IM2L5L4B.mjs → chunk-ECYZLQUR.mjs} +16 -24
  4. package/dist/{chunk-N4F3FBNB.mjs → chunk-L23IOSI3.mjs} +40 -40
  5. package/dist/{chunk-LEPGLH7Q.mjs → chunk-SWTOSLUI.mjs} +10 -10
  6. package/dist/{chunk-KMU6V4LW.mjs → chunk-TVOMVVOO.mjs} +11 -11
  7. package/dist/{chunk-FG25JHDX.mjs → chunk-VAVDEV6P.mjs} +14 -14
  8. package/dist/{chunk-QGNLMN6Z.mjs → chunk-YHI3J2CL.mjs} +7 -7
  9. package/dist/{index.d-CGeWvXXq.d.mts → index.d-DK8eD9f3.d.mts} +1 -1
  10. package/dist/{index.d-CGeWvXXq.d.ts → index.d-DK8eD9f3.d.ts} +1 -1
  11. package/dist/index.d.mts +4 -16
  12. package/dist/index.d.ts +4 -16
  13. package/dist/index.js +83 -153
  14. package/dist/index.mjs +14 -20
  15. package/dist/resources/api-keys/api-keys.test.js +83 -151
  16. package/dist/resources/api-keys/api-keys.test.mjs +9 -10
  17. package/dist/resources/api-keys/index.d.mts +2 -2
  18. package/dist/resources/api-keys/index.d.ts +2 -2
  19. package/dist/resources/available/available.test.js +83 -151
  20. package/dist/resources/available/available.test.mjs +9 -10
  21. package/dist/resources/available/index.d.mts +2 -2
  22. package/dist/resources/available/index.d.ts +2 -2
  23. package/dist/resources/bank-accounts/bank-accounts.test.js +110 -178
  24. package/dist/resources/bank-accounts/bank-accounts.test.mjs +36 -37
  25. package/dist/resources/bank-accounts/index.d.mts +31 -31
  26. package/dist/resources/bank-accounts/index.d.ts +31 -31
  27. package/dist/resources/bank-accounts/index.js +40 -40
  28. package/dist/resources/bank-accounts/index.mjs +1 -1
  29. package/dist/resources/customers/customers.test.js +83 -151
  30. package/dist/resources/customers/customers.test.mjs +9 -10
  31. package/dist/resources/customers/index.d.mts +70 -69
  32. package/dist/resources/customers/index.d.ts +70 -69
  33. package/dist/resources/fees/fees.test.js +83 -151
  34. package/dist/resources/fees/fees.test.mjs +9 -10
  35. package/dist/resources/fees/index.d.mts +2 -2
  36. package/dist/resources/fees/index.d.ts +2 -2
  37. package/dist/resources/instances/index.d.mts +2 -2
  38. package/dist/resources/instances/index.d.ts +2 -2
  39. package/dist/resources/instances/instances.test.js +83 -151
  40. package/dist/resources/instances/instances.test.mjs +9 -10
  41. package/dist/resources/partner-fees/index.d.mts +2 -2
  42. package/dist/resources/partner-fees/index.d.ts +2 -2
  43. package/dist/resources/partner-fees/partner-fees.test.js +83 -151
  44. package/dist/resources/partner-fees/partner-fees.test.mjs +9 -10
  45. package/dist/resources/payins/index.d.mts +2 -2
  46. package/dist/resources/payins/index.d.ts +2 -2
  47. package/dist/resources/payins/payins-quotes.test.js +83 -151
  48. package/dist/resources/payins/payins-quotes.test.mjs +9 -10
  49. package/dist/resources/payins/payins.test.js +83 -151
  50. package/dist/resources/payins/payins.test.mjs +9 -10
  51. package/dist/resources/payins/quotes.d.mts +2 -2
  52. package/dist/resources/payins/quotes.d.ts +2 -2
  53. package/dist/resources/payouts/index.d.mts +2 -2
  54. package/dist/resources/payouts/index.d.ts +2 -2
  55. package/dist/resources/payouts/payouts.test.js +83 -151
  56. package/dist/resources/payouts/payouts.test.mjs +9 -10
  57. package/dist/resources/quotes/index.d.mts +2 -2
  58. package/dist/resources/quotes/index.d.ts +2 -2
  59. package/dist/resources/quotes/quotes.test.js +83 -151
  60. package/dist/resources/quotes/quotes.test.mjs +9 -10
  61. package/dist/resources/terms-of-service/index.d.mts +2 -2
  62. package/dist/resources/terms-of-service/index.d.ts +2 -2
  63. package/dist/resources/terms-of-service/terms-of-service.test.js +83 -151
  64. package/dist/resources/terms-of-service/terms-of-service.test.mjs +9 -10
  65. package/dist/resources/transfers/index.d.mts +2 -2
  66. package/dist/resources/transfers/index.d.ts +2 -2
  67. package/dist/resources/transfers/transfers.test.js +83 -151
  68. package/dist/resources/transfers/transfers.test.mjs +9 -10
  69. package/dist/resources/upload/index.d.mts +1 -1
  70. package/dist/resources/upload/index.d.ts +1 -1
  71. package/dist/resources/upload/upload.test.js +83 -151
  72. package/dist/resources/upload/upload.test.mjs +9 -10
  73. package/dist/resources/virtual-accounts/index.d.mts +9 -9
  74. package/dist/resources/virtual-accounts/index.d.ts +9 -9
  75. package/dist/resources/virtual-accounts/index.js +10 -10
  76. package/dist/resources/virtual-accounts/index.mjs +1 -1
  77. package/dist/resources/virtual-accounts/virtual-accounts.test.js +87 -155
  78. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +13 -14
  79. package/dist/resources/wallets/blockchain.d.mts +15 -15
  80. package/dist/resources/wallets/blockchain.d.ts +15 -15
  81. package/dist/resources/wallets/blockchain.js +14 -14
  82. package/dist/resources/wallets/blockchain.mjs +1 -1
  83. package/dist/resources/wallets/blockchain.test.js +91 -159
  84. package/dist/resources/wallets/blockchain.test.mjs +17 -18
  85. package/dist/resources/wallets/custodial.d.mts +11 -11
  86. package/dist/resources/wallets/custodial.d.ts +11 -11
  87. package/dist/resources/wallets/custodial.js +11 -11
  88. package/dist/resources/wallets/custodial.mjs +1 -1
  89. package/dist/resources/wallets/custodial.test.js +87 -155
  90. package/dist/resources/wallets/custodial.test.mjs +13 -14
  91. package/dist/resources/wallets/offramp.d.mts +9 -9
  92. package/dist/resources/wallets/offramp.d.ts +9 -9
  93. package/dist/resources/wallets/offramp.js +7 -7
  94. package/dist/resources/wallets/offramp.mjs +1 -1
  95. package/dist/resources/wallets/offramp.test.js +89 -157
  96. package/dist/resources/wallets/offramp.test.mjs +15 -16
  97. package/dist/resources/webhooks/index.d.mts +2 -2
  98. package/dist/resources/webhooks/index.d.ts +2 -2
  99. package/dist/resources/webhooks/webhooks.test.js +83 -151
  100. package/dist/resources/webhooks/webhooks.test.mjs +9 -10
  101. package/package.json +1 -1
  102. package/dist/chunk-NAGY6BLL.mjs +0 -79
  103. package/dist/resources/receivers/index.d.mts +0 -513
  104. package/dist/resources/receivers/index.d.ts +0 -513
  105. package/dist/resources/receivers/index.js +0 -118
  106. package/dist/resources/receivers/index.mjs +0 -9
  107. package/dist/resources/receivers/receivers.test.d.mts +0 -2
  108. package/dist/resources/receivers/receivers.test.d.ts +0 -2
  109. package/dist/resources/receivers/receivers.test.js +0 -20510
  110. package/dist/resources/receivers/receivers.test.mjs +0 -652
  111. package/dist/strict-omit-ByJhzKNC.d.mts +0 -3
  112. package/dist/strict-omit-ByJhzKNC.d.ts +0 -3
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.11.0";
18705
+ var version = "4.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18754,135 +18754,135 @@ function createBankAccountsResource(instanceId, client) {
18754
18754
  return {
18755
18755
  list(_a3) {
18756
18756
  var _b = _a3, {
18757
- receiver_id
18757
+ customer_id
18758
18758
  } = _b, params = __objRest(_b, [
18759
- "receiver_id"
18759
+ "customer_id"
18760
18760
  ]);
18761
18761
  const queryParams = Object.keys(params).length ? `?${new URLSearchParams(params)}` : "";
18762
18762
  return client.get(
18763
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts${queryParams}`
18763
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts${queryParams}`
18764
18764
  );
18765
18765
  },
18766
18766
  get({
18767
- receiver_id,
18767
+ customer_id,
18768
18768
  id
18769
18769
  }) {
18770
18770
  return client.get(
18771
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts/${id}`
18771
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts/${id}`
18772
18772
  );
18773
18773
  },
18774
- delete({ receiver_id, id }) {
18774
+ delete({ customer_id, id }) {
18775
18775
  return client.delete(
18776
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts/${id}`
18776
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts/${id}`
18777
18777
  );
18778
18778
  },
18779
18779
  createPix(_c) {
18780
18780
  var _d = _c, {
18781
- receiver_id
18781
+ customer_id
18782
18782
  } = _d, data = __objRest(_d, [
18783
- "receiver_id"
18783
+ "customer_id"
18784
18784
  ]);
18785
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18785
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18786
18786
  type: "pix"
18787
18787
  }, data));
18788
18788
  },
18789
18789
  createPixSafe(_e) {
18790
18790
  var _f = _e, {
18791
- receiver_id
18791
+ customer_id
18792
18792
  } = _f, data = __objRest(_f, [
18793
- "receiver_id"
18793
+ "customer_id"
18794
18794
  ]);
18795
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18795
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18796
18796
  type: "pix_safe"
18797
18797
  }, data));
18798
18798
  },
18799
18799
  createArgentinaTransfers(_g) {
18800
18800
  var _h = _g, {
18801
- receiver_id
18801
+ customer_id
18802
18802
  } = _h, data = __objRest(_h, [
18803
- "receiver_id"
18803
+ "customer_id"
18804
18804
  ]);
18805
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18805
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18806
18806
  type: "transfers_bitso"
18807
18807
  }, data));
18808
18808
  },
18809
18809
  createSpei(_i) {
18810
18810
  var _j = _i, {
18811
- receiver_id
18811
+ customer_id
18812
18812
  } = _j, data = __objRest(_j, [
18813
- "receiver_id"
18813
+ "customer_id"
18814
18814
  ]);
18815
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18815
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18816
18816
  type: "spei_bitso"
18817
18817
  }, data));
18818
18818
  },
18819
18819
  createColombiaAch(_k) {
18820
18820
  var _l = _k, {
18821
- receiver_id
18821
+ customer_id
18822
18822
  } = _l, data = __objRest(_l, [
18823
- "receiver_id"
18823
+ "customer_id"
18824
18824
  ]);
18825
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18825
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18826
18826
  type: "ach_cop_bitso"
18827
18827
  }, data));
18828
18828
  },
18829
18829
  createAch(_m) {
18830
18830
  var _n = _m, {
18831
- receiver_id
18831
+ customer_id
18832
18832
  } = _n, data = __objRest(_n, [
18833
- "receiver_id"
18833
+ "customer_id"
18834
18834
  ]);
18835
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18835
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18836
18836
  type: "ach"
18837
18837
  }, data));
18838
18838
  },
18839
18839
  createWire(_o) {
18840
18840
  var _p = _o, {
18841
- receiver_id
18841
+ customer_id
18842
18842
  } = _p, data = __objRest(_p, [
18843
- "receiver_id"
18843
+ "customer_id"
18844
18844
  ]);
18845
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18845
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18846
18846
  type: "wire"
18847
18847
  }, data));
18848
18848
  },
18849
18849
  createInternationalSwift(_q) {
18850
18850
  var _r = _q, {
18851
- receiver_id
18851
+ customer_id
18852
18852
  } = _r, data = __objRest(_r, [
18853
- "receiver_id"
18853
+ "customer_id"
18854
18854
  ]);
18855
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18855
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18856
18856
  type: "international_swift"
18857
18857
  }, data));
18858
18858
  },
18859
18859
  createRtp(_s) {
18860
18860
  var _t = _s, {
18861
- receiver_id
18861
+ customer_id
18862
18862
  } = _t, data = __objRest(_t, [
18863
- "receiver_id"
18863
+ "customer_id"
18864
18864
  ]);
18865
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18865
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
18868
  },
18869
18869
  createTed(_u) {
18870
18870
  var _v = _u, {
18871
- receiver_id
18871
+ customer_id
18872
18872
  } = _v, data = __objRest(_v, [
18873
- "receiver_id"
18873
+ "customer_id"
18874
18874
  ]);
18875
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18875
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
18878
  },
18879
18879
  createSepa(_w) {
18880
18880
  var _x = _w, {
18881
- receiver_id
18881
+ customer_id
18882
18882
  } = _x, data = __objRest(_x, [
18883
- "receiver_id"
18883
+ "customer_id"
18884
18884
  ]);
18885
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18885
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/bank-accounts`, __spreadValues({
18886
18886
  type: "sepa"
18887
18887
  }, data));
18888
18888
  }
@@ -19097,71 +19097,6 @@ function createQuotesResource(instanceId, client) {
19097
19097
  };
19098
19098
  }
19099
19099
 
19100
- // src/resources/receivers/index.ts
19101
- function createReceiversResource(instanceId, client) {
19102
- return {
19103
- /** @deprecated Use `customers.list` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19104
- list(params) {
19105
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
19106
- return client.get(`/instances/${instanceId}/receivers${queryParams}`);
19107
- },
19108
- /** @deprecated Use `customers.createIndividualWithStandardKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19109
- createIndividualWithStandardKYC(data) {
19110
- return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
19111
- kyc_type: "standard",
19112
- type: "individual"
19113
- }, data));
19114
- },
19115
- /** @deprecated Use `customers.createIndividualWithEnhancedKYC` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19116
- createIndividualWithEnhancedKYC(data) {
19117
- return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
19118
- kyc_type: "enhanced",
19119
- type: "individual"
19120
- }, data));
19121
- },
19122
- /** @deprecated Use `customers.createBusinessWithStandardKYB` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19123
- createBusinessWithStandardKYB(data) {
19124
- return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
19125
- kyc_type: "standard",
19126
- type: "business"
19127
- }, data));
19128
- },
19129
- /** @deprecated Use `customers.get` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19130
- get(receiver_id) {
19131
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}`);
19132
- },
19133
- /** @deprecated Use `customers.update` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19134
- update(_a3) {
19135
- var _b = _a3, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
19136
- return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
19137
- },
19138
- /** @deprecated Use `customers.delete` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19139
- delete(receiver_id) {
19140
- return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
19141
- },
19142
- /** @deprecated Use `customers.getLimits` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19143
- getLimits(receiver_id) {
19144
- return client.get(`/instances/${instanceId}/limits/receivers/${receiver_id}`);
19145
- },
19146
- /** @deprecated Use `customers.getLimitIncreaseRequests` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19147
- getLimitIncreaseRequests(receiver_id) {
19148
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`);
19149
- },
19150
- /** @deprecated Use `customers.requestLimitIncrease` instead. https://www.blindpay.com/changelog/2026-06-04-customers-rename */
19151
- requestLimitIncrease(_c) {
19152
- var _d = _c, {
19153
- receiver_id
19154
- } = _d, data = __objRest(_d, [
19155
- "receiver_id"
19156
- ]);
19157
- return client.post(
19158
- `/instances/${instanceId}/receivers/${receiver_id}/limit-increase`,
19159
- data
19160
- );
19161
- }
19162
- };
19163
- }
19164
-
19165
19100
  // src/resources/terms-of-service/index.ts
19166
19101
  function createTermsOfServiceResource(instanceId, client) {
19167
19102
  return {
@@ -19247,38 +19182,38 @@ function createUploadResource(baseUrl, headers) {
19247
19182
  // src/resources/virtual-accounts/index.ts
19248
19183
  function createVirtualAccountsResource(instanceId, client) {
19249
19184
  return {
19250
- list(receiver_id) {
19251
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19185
+ list(customer_id) {
19186
+ return client.get(`/instances/${instanceId}/customers/${customer_id}/virtual-accounts`);
19252
19187
  },
19253
19188
  get({
19254
- receiver_id,
19189
+ customer_id,
19255
19190
  id
19256
19191
  }) {
19257
19192
  return client.get(
19258
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19193
+ `/instances/${instanceId}/customers/${customer_id}/virtual-accounts/${id}`
19259
19194
  );
19260
19195
  },
19261
19196
  create(_a3) {
19262
19197
  var _b = _a3, {
19263
- receiver_id
19198
+ customer_id
19264
19199
  } = _b, data = __objRest(_b, [
19265
- "receiver_id"
19200
+ "customer_id"
19266
19201
  ]);
19267
19202
  return client.post(
19268
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19203
+ `/instances/${instanceId}/customers/${customer_id}/virtual-accounts`,
19269
19204
  data
19270
19205
  );
19271
19206
  },
19272
19207
  update(_c) {
19273
19208
  var _d = _c, {
19274
- receiver_id,
19209
+ customer_id,
19275
19210
  id
19276
19211
  } = _d, data = __objRest(_d, [
19277
- "receiver_id",
19212
+ "customer_id",
19278
19213
  "id"
19279
19214
  ]);
19280
19215
  return client.put(
19281
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19216
+ `/instances/${instanceId}/customers/${customer_id}/virtual-accounts/${id}`,
19282
19217
  data
19283
19218
  );
19284
19219
  }
@@ -19288,19 +19223,19 @@ function createVirtualAccountsResource(instanceId, client) {
19288
19223
  // src/resources/wallets/blockchain.ts
19289
19224
  function createBlockchainWalletsResource(instanceId, client) {
19290
19225
  return {
19291
- list(receiver_id) {
19226
+ list(customer_id) {
19292
19227
  return client.get(
19293
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets`
19228
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets`
19294
19229
  );
19295
19230
  },
19296
19231
  createWithAddress(_a3) {
19297
19232
  var _b = _a3, {
19298
- receiver_id
19233
+ customer_id
19299
19234
  } = _b, data = __objRest(_b, [
19300
- "receiver_id"
19235
+ "customer_id"
19301
19236
  ]);
19302
19237
  return client.post(
19303
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets`,
19238
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets`,
19304
19239
  __spreadProps(__spreadValues({}, data), {
19305
19240
  is_account_abstraction: true
19306
19241
  })
@@ -19308,36 +19243,36 @@ function createBlockchainWalletsResource(instanceId, client) {
19308
19243
  },
19309
19244
  createWithHash(_c) {
19310
19245
  var _d = _c, {
19311
- receiver_id
19246
+ customer_id
19312
19247
  } = _d, data = __objRest(_d, [
19313
- "receiver_id"
19248
+ "customer_id"
19314
19249
  ]);
19315
19250
  return client.post(
19316
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets`,
19251
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets`,
19317
19252
  __spreadProps(__spreadValues({}, data), {
19318
19253
  is_account_abstraction: false
19319
19254
  })
19320
19255
  );
19321
19256
  },
19322
- getWalletMessage(receiver_id) {
19257
+ getWalletMessage(customer_id) {
19323
19258
  return client.get(
19324
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets/sign-message`
19259
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets/sign-message`
19325
19260
  );
19326
19261
  },
19327
19262
  get({
19328
- receiver_id,
19263
+ customer_id,
19329
19264
  id
19330
19265
  }) {
19331
19266
  return client.get(
19332
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets/${id}`
19267
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets/${id}`
19333
19268
  );
19334
19269
  },
19335
19270
  delete({
19336
- receiver_id,
19271
+ customer_id,
19337
19272
  id
19338
19273
  }) {
19339
19274
  return client.delete(
19340
- `/instances/${instanceId}/receivers/${receiver_id}/blockchain-wallets/${id}`
19275
+ `/instances/${instanceId}/customers/${customer_id}/blockchain-wallets/${id}`
19341
19276
  );
19342
19277
  },
19343
19278
  createAssetTrustline(address) {
@@ -19363,36 +19298,36 @@ function createBlockchainWalletsResource(instanceId, client) {
19363
19298
  // src/resources/wallets/custodial.ts
19364
19299
  function createCustodialWalletsResource(instanceId, client) {
19365
19300
  return {
19366
- list(receiver_id) {
19367
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/wallets`);
19301
+ list(customer_id) {
19302
+ return client.get(`/instances/${instanceId}/customers/${customer_id}/wallets`);
19368
19303
  },
19369
19304
  get({
19370
- receiver_id,
19305
+ customer_id,
19371
19306
  id
19372
19307
  }) {
19373
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/wallets/${id}`);
19308
+ return client.get(`/instances/${instanceId}/customers/${customer_id}/wallets/${id}`);
19374
19309
  },
19375
19310
  create(_a3) {
19376
19311
  var _b = _a3, {
19377
- receiver_id
19312
+ customer_id
19378
19313
  } = _b, data = __objRest(_b, [
19379
- "receiver_id"
19314
+ "customer_id"
19380
19315
  ]);
19381
- return client.post(`/instances/${instanceId}/receivers/${receiver_id}/wallets`, data);
19316
+ return client.post(`/instances/${instanceId}/customers/${customer_id}/wallets`, data);
19382
19317
  },
19383
19318
  getBalance({
19384
- receiver_id,
19319
+ customer_id,
19385
19320
  id
19386
19321
  }) {
19387
19322
  return client.get(
19388
- `/instances/${instanceId}/receivers/${receiver_id}/wallets/${id}/balance`
19323
+ `/instances/${instanceId}/customers/${customer_id}/wallets/${id}/balance`
19389
19324
  );
19390
19325
  },
19391
19326
  delete({
19392
- receiver_id,
19327
+ customer_id,
19393
19328
  id
19394
19329
  }) {
19395
- return client.delete(`/instances/${instanceId}/receivers/${receiver_id}/wallets/${id}`);
19330
+ return client.delete(`/instances/${instanceId}/customers/${customer_id}/wallets/${id}`);
19396
19331
  }
19397
19332
  };
19398
19333
  }
@@ -19402,32 +19337,32 @@ function createOfframpWalletsResource(instanceId, client) {
19402
19337
  return {
19403
19338
  list({
19404
19339
  bank_account_id,
19405
- receiver_id
19340
+ customer_id
19406
19341
  }) {
19407
19342
  return client.get(
19408
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts/${bank_account_id}/offramp-wallets`
19343
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts/${bank_account_id}/offramp-wallets`
19409
19344
  );
19410
19345
  },
19411
19346
  create(_a3) {
19412
19347
  var _b = _a3, {
19413
- receiver_id,
19348
+ customer_id,
19414
19349
  bank_account_id
19415
19350
  } = _b, data = __objRest(_b, [
19416
- "receiver_id",
19351
+ "customer_id",
19417
19352
  "bank_account_id"
19418
19353
  ]);
19419
19354
  return client.post(
19420
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts/${bank_account_id}/offramp-wallets`,
19355
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts/${bank_account_id}/offramp-wallets`,
19421
19356
  data
19422
19357
  );
19423
19358
  },
19424
19359
  get({
19425
- receiver_id,
19360
+ customer_id,
19426
19361
  bank_account_id,
19427
19362
  id
19428
19363
  }) {
19429
19364
  return client.get(
19430
- `/instances/${instanceId}/receivers/${receiver_id}/bank-accounts/${bank_account_id}/offramp-wallets/${id}`
19365
+ `/instances/${instanceId}/customers/${customer_id}/bank-accounts/${bank_account_id}/offramp-wallets/${id}`
19431
19366
  );
19432
19367
  }
19433
19368
  };
@@ -19504,9 +19439,6 @@ var BlindPay = class {
19504
19439
  this.customers = __spreadProps(__spreadValues({}, createCustomersResource(this.instanceId, this.api)), {
19505
19440
  bankAccounts: createBankAccountsResource(this.instanceId, this.api)
19506
19441
  });
19507
- this.receivers = __spreadProps(__spreadValues({}, createReceiversResource(this.instanceId, this.api)), {
19508
- bankAccounts: createBankAccountsResource(this.instanceId, this.api)
19509
- });
19510
19442
  this.virtualAccounts = createVirtualAccountsResource(this.instanceId, this.api);
19511
19443
  this.wallets = {
19512
19444
  blockchain: createBlockchainWalletsResource(this.instanceId, this.api),
@@ -8,27 +8,26 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-IM2L5L4B.mjs";
12
- import "../../chunk-FG25JHDX.mjs";
13
- import "../../chunk-KMU6V4LW.mjs";
14
- import "../../chunk-QGNLMN6Z.mjs";
11
+ } from "../../chunk-ECYZLQUR.mjs";
12
+ import "../../chunk-VAVDEV6P.mjs";
13
+ import "../../chunk-TVOMVVOO.mjs";
14
+ import "../../chunk-YHI3J2CL.mjs";
15
15
  import "../../chunk-UC57SCKQ.mjs";
16
- import "../../chunk-Z6EYX4D3.mjs";
17
16
  import "../../chunk-ISHZTBAN.mjs";
18
17
  import "../../chunk-UDRMLZWT.mjs";
19
- import "../../chunk-LEPGLH7Q.mjs";
20
- import "../../chunk-VGU72ZNI.mjs";
18
+ import "../../chunk-SWTOSLUI.mjs";
21
19
  import "../../chunk-E7M4CJKR.mjs";
20
+ import "../../chunk-F5Z45GCA.mjs";
22
21
  import "../../chunk-TBTA7A2P.mjs";
23
- import "../../chunk-NAGY6BLL.mjs";
22
+ import "../../chunk-Z6EYX4D3.mjs";
24
23
  import "../../chunk-SLKVEQUY.mjs";
25
24
  import "../../chunk-ALHMJWQN.mjs";
26
25
  import "../../chunk-KYOUR4KX.mjs";
27
26
  import "../../chunk-RC5NN5UF.mjs";
28
- import "../../chunk-F5Z45GCA.mjs";
27
+ import "../../chunk-VGU72ZNI.mjs";
29
28
  import "../../chunk-LRHWT4JU.mjs";
30
29
  import "../../chunk-WE73MTQL.mjs";
31
- import "../../chunk-N4F3FBNB.mjs";
30
+ import "../../chunk-L23IOSI3.mjs";
32
31
  import {
33
32
  __async,
34
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { z as CurrencyType, N as Network, q as StablecoinToken, B as BlindpayApiResponse, r as Currency } from '../../index.d-CGeWvXXq.mjs';
2
- import { I as InternalApiClient } from '../../api-client-DYqrodZr.mjs';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type CreateQuoteInput = {
5
5
  bank_account_id: string;
@@ -1,5 +1,5 @@
1
- import { z as CurrencyType, N as Network, q as StablecoinToken, B as BlindpayApiResponse, r as Currency } from '../../index.d-CGeWvXXq.js';
2
- import { I as InternalApiClient } from '../../api-client-5N_7-zad.js';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type CreateQuoteInput = {
5
5
  bank_account_id: string;