@blindpay/node 3.2.0 → 3.4.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 (119) hide show
  1. package/README.md +1 -1
  2. package/dist/api-client-Cu0yYexQ.d.ts +16 -0
  3. package/dist/api-client-DV5jG52T.d.mts +16 -0
  4. package/dist/{chunk-AFXWEXL6.mjs → chunk-3I7S2HKM.mjs} +47 -23
  5. package/dist/chunk-ALHMJWQN.mjs +21 -0
  6. package/dist/{chunk-VOB7TMKL.mjs → chunk-F5Z45GCA.mjs} +8 -0
  7. package/dist/chunk-ISHZTBAN.mjs +39 -0
  8. package/dist/chunk-KMU6V4LW.mjs +50 -0
  9. package/dist/chunk-UDRMLZWT.mjs +53 -0
  10. package/dist/{chunk-CPOSU35L.mjs → chunk-UOAM7SX3.mjs} +43 -25
  11. package/dist/{chunk-U7CKUUO7.mjs → chunk-WE73MTQL.mjs} +3 -0
  12. package/dist/{chunk-67XECGMJ.mjs → chunk-YIZJM2GU.mjs} +4 -3
  13. package/dist/{api-client-CIPV5zmo.d.mts → index.d-yOiKSwHO.d.mts} +6 -19
  14. package/dist/{api-client-CIPV5zmo.d.ts → index.d-yOiKSwHO.d.ts} +6 -19
  15. package/dist/index.d.mts +21 -8
  16. package/dist/index.d.ts +21 -8
  17. package/dist/index.js +183 -30
  18. package/dist/index.mjs +46 -22
  19. package/dist/resources/api-keys/api-keys.test.js +175 -30
  20. package/dist/resources/api-keys/api-keys.test.mjs +13 -9
  21. package/dist/resources/api-keys/index.d.mts +2 -1
  22. package/dist/resources/api-keys/index.d.ts +2 -1
  23. package/dist/resources/available/available.test.js +199 -30
  24. package/dist/resources/available/available.test.mjs +37 -9
  25. package/dist/resources/available/index.d.mts +8 -2
  26. package/dist/resources/available/index.d.ts +8 -2
  27. package/dist/resources/available/index.js +3 -0
  28. package/dist/resources/available/index.mjs +1 -1
  29. package/dist/resources/bank-accounts/bank-accounts.test.js +230 -32
  30. package/dist/resources/bank-accounts/bank-accounts.test.mjs +68 -11
  31. package/dist/resources/bank-accounts/index.d.mts +90 -9
  32. package/dist/resources/bank-accounts/index.d.ts +90 -9
  33. package/dist/resources/bank-accounts/index.js +43 -25
  34. package/dist/resources/bank-accounts/index.mjs +1 -1
  35. package/dist/resources/fees/fees.test.d.mts +2 -0
  36. package/dist/resources/fees/fees.test.d.ts +2 -0
  37. package/dist/resources/fees/fees.test.js +19845 -0
  38. package/dist/resources/fees/fees.test.mjs +85 -0
  39. package/dist/resources/fees/index.d.mts +36 -0
  40. package/dist/resources/fees/index.d.ts +36 -0
  41. package/dist/resources/fees/index.js +36 -0
  42. package/dist/resources/fees/index.mjs +9 -0
  43. package/dist/resources/instances/index.d.mts +2 -1
  44. package/dist/resources/instances/index.d.ts +2 -1
  45. package/dist/resources/instances/instances.test.js +175 -30
  46. package/dist/resources/instances/instances.test.mjs +13 -9
  47. package/dist/resources/partner-fees/index.d.mts +2 -1
  48. package/dist/resources/partner-fees/index.d.ts +2 -1
  49. package/dist/resources/partner-fees/partner-fees.test.js +175 -30
  50. package/dist/resources/partner-fees/partner-fees.test.mjs +13 -9
  51. package/dist/resources/payins/index.d.mts +2 -1
  52. package/dist/resources/payins/index.d.ts +2 -1
  53. package/dist/resources/payins/payins-quotes.test.js +175 -30
  54. package/dist/resources/payins/payins-quotes.test.mjs +13 -9
  55. package/dist/resources/payins/payins.test.js +175 -30
  56. package/dist/resources/payins/payins.test.mjs +13 -9
  57. package/dist/resources/payins/quotes.d.mts +2 -1
  58. package/dist/resources/payins/quotes.d.ts +2 -1
  59. package/dist/resources/payouts/index.d.mts +15 -3
  60. package/dist/resources/payouts/index.d.ts +15 -3
  61. package/dist/resources/payouts/index.js +8 -0
  62. package/dist/resources/payouts/index.mjs +1 -1
  63. package/dist/resources/payouts/payouts.test.js +194 -30
  64. package/dist/resources/payouts/payouts.test.mjs +32 -9
  65. package/dist/resources/quotes/index.d.mts +2 -1
  66. package/dist/resources/quotes/index.d.ts +2 -1
  67. package/dist/resources/quotes/quotes.test.js +175 -30
  68. package/dist/resources/quotes/quotes.test.mjs +13 -9
  69. package/dist/resources/receivers/index.d.mts +90 -5
  70. package/dist/resources/receivers/index.d.ts +90 -5
  71. package/dist/resources/receivers/index.js +4 -3
  72. package/dist/resources/receivers/index.mjs +1 -1
  73. package/dist/resources/receivers/receivers.test.js +423 -179
  74. package/dist/resources/receivers/receivers.test.mjs +261 -158
  75. package/dist/resources/terms-of-service/index.d.mts +2 -1
  76. package/dist/resources/terms-of-service/index.d.ts +2 -1
  77. package/dist/resources/terms-of-service/terms-of-service.test.js +175 -30
  78. package/dist/resources/terms-of-service/terms-of-service.test.mjs +13 -9
  79. package/dist/resources/transfers/index.d.mts +94 -0
  80. package/dist/resources/transfers/index.d.ts +94 -0
  81. package/dist/resources/transfers/index.js +67 -0
  82. package/dist/resources/transfers/index.mjs +9 -0
  83. package/dist/resources/transfers/transfers.test.d.mts +2 -0
  84. package/dist/resources/transfers/transfers.test.d.ts +2 -0
  85. package/dist/resources/transfers/transfers.test.js +19931 -0
  86. package/dist/resources/transfers/transfers.test.mjs +171 -0
  87. package/dist/resources/upload/index.d.mts +16 -0
  88. package/dist/resources/upload/index.d.ts +16 -0
  89. package/dist/resources/upload/index.js +100 -0
  90. package/dist/resources/upload/index.mjs +9 -0
  91. package/dist/resources/upload/upload.test.d.mts +2 -0
  92. package/dist/resources/upload/upload.test.d.ts +2 -0
  93. package/dist/resources/upload/upload.test.js +19840 -0
  94. package/dist/resources/upload/upload.test.mjs +80 -0
  95. package/dist/resources/virtual-accounts/index.d.mts +13 -3
  96. package/dist/resources/virtual-accounts/index.d.ts +13 -3
  97. package/dist/resources/virtual-accounts/virtual-accounts.test.js +235 -30
  98. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +73 -9
  99. package/dist/resources/wallets/blockchain.d.mts +2 -1
  100. package/dist/resources/wallets/blockchain.d.ts +2 -1
  101. package/dist/resources/wallets/blockchain.test.js +175 -30
  102. package/dist/resources/wallets/blockchain.test.mjs +13 -9
  103. package/dist/resources/wallets/custodial.d.mts +55 -0
  104. package/dist/resources/wallets/custodial.d.ts +55 -0
  105. package/dist/resources/wallets/custodial.js +78 -0
  106. package/dist/resources/wallets/custodial.mjs +9 -0
  107. package/dist/resources/wallets/custodial.test.d.mts +2 -0
  108. package/dist/resources/wallets/custodial.test.d.ts +2 -0
  109. package/dist/resources/wallets/custodial.test.js +19901 -0
  110. package/dist/resources/wallets/custodial.test.mjs +141 -0
  111. package/dist/resources/wallets/offramp.d.mts +11 -7
  112. package/dist/resources/wallets/offramp.d.ts +11 -7
  113. package/dist/resources/wallets/offramp.test.js +195 -30
  114. package/dist/resources/wallets/offramp.test.mjs +33 -9
  115. package/dist/resources/webhooks/index.d.mts +3 -2
  116. package/dist/resources/webhooks/index.d.ts +3 -2
  117. package/dist/resources/webhooks/webhooks.test.js +175 -30
  118. package/dist/resources/webhooks/webhooks.test.mjs +13 -9
  119. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse, A as AccountClass, C as Country } from '../../api-client-CIPV5zmo.js';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, k as PaginationMetadata } from '../../index.d-yOiKSwHO.js';
2
+ import { I as InternalApiClient } from '../../api-client-Cu0yYexQ.js';
2
3
 
3
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
4
5
 
@@ -6,11 +7,27 @@ type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEME
6
7
  type PurposeOfTransactions = "business_transactions" | "charitable_donations" | "investment_purposes" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_good_and_services" | "receive_payment_for_freelancing" | "receive_salary" | "other";
7
8
  type AccountPurpose = "charitable_donations" | "ecommerce_retail_payments" | "investment_purposes" | "business_expenses" | "payments_to_friends_or_family_abroad" | "personal_or_living_expenses" | "protect_wealth" | "purchase_goods_and_services" | "receive_payments_for_goods_and_services" | "tax_optimization" | "third_party_money_transmission" | "other" | "payroll" | "treasury_management";
8
9
  type BusinessType = "corporation" | "llc" | "partnership" | "sole_proprietorship" | "trust" | "non_profit";
9
- type BusinessIndustry = "541511" | "541512" | "541519" | "518210" | "511210" | "541611" | "541618" | "541330" | "541990" | "522110" | "523110" | "523920" | "423430" | "423690" | "423110" | "423830" | "423840" | "423510" | "424210" | "424690" | "424990" | "454110" | "334111" | "334118" | "325412" | "339112" | "336111" | "336390" | "551112" | "561499" | "488510" | "484121" | "493110" | "424410" | "424480" | "315990" | "313110" | "213112" | "517110" | "541214";
10
+ type BusinessIndustry = "111998" | "112120" | "113310" | "115114" | "211120" | "212114" | "213112" | "221310" | "236115" | "236220" | "237310" | "238210" | "311421" | "312130" | "313110" | "315990" | "322220" | "325412" | "334111" | "334118" | "334210" | "336110" | "336111" | "336390" | "337121" | "339112" | "339910" | "339920" | "339930" | "423110" | "423430" | "423510" | "423690" | "423830" | "423840" | "423940" | "424210" | "424410" | "424480" | "424690" | "424990" | "444110" | "445110" | "445320" | "449210" | "454110" | "455110" | "455219" | "456110" | "457110" | "458110" | "458210" | "458310" | "459120" | "459210" | "481111" | "483111" | "484121" | "485210" | "488510" | "493110" | "511210" | "512250" | "513130" | "516120" | "517110" | "517111" | "517112" | "517410" | "518210" | "519130" | "522110" | "522210" | "522320" | "523110" | "523150" | "523920" | "523940" | "523999" | "524113" | "531110" | "531120" | "531130" | "531190" | "531210" | "531311" | "531312" | "531320" | "531390" | "532111" | "541110" | "541211" | "541214" | "541330" | "541430" | "541511" | "541512" | "541519" | "541611" | "541618" | "541715" | "541810" | "541922" | "541930" | "541940" | "541990" | "551112" | "561311" | "561422" | "561499" | "561510" | "561612" | "561730" | "561740" | "562111" | "562920" | "611110" | "611310" | "611410" | "611710" | "621111" | "621210" | "621399" | "621511" | "621910" | "622110" | "623110" | "623220" | "624410" | "711110" | "711211" | "711410" | "711510" | "712110" | "713110" | "713210" | "721110" | "722511" | "722513" | "811111" | "811210" | "812111" | "812112" | "812199" | "813110" | "813211" | "813219";
10
11
  type EstimatedAnnualRevenue = "0_99999" | "100000_999999" | "1000000_9999999" | "10000000_49999999" | "50000000_249999999" | "2500000000_plus";
11
12
  type SourceOfWealth = "business_dividends_or_profits" | "investments" | "asset_sales" | "client_investor_contributions" | "gambling" | "charitable_contributions" | "inheritance" | "affiliate_or_royalty_income";
12
13
  type SourceOfFundsDocType = "business_income" | "gambling_proceeds" | "gifts" | "government_benefits" | "inheritance" | "investment_loans" | "pension_retirement" | "salary" | "sale_of_assets_real_estate" | "savings" | "esops" | "investment_proceeds" | "someone_else_funds";
13
14
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
15
+ type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
16
+ type AmlStatus = "clear" | "hit" | "error";
17
+ type AmlHits = {
18
+ has_sanction_match: boolean;
19
+ has_pep_match: boolean;
20
+ has_watchlist_match: boolean;
21
+ has_crimelist_match: boolean;
22
+ has_adversemedia_match: boolean;
23
+ };
24
+ type FraudWarning = {
25
+ id: string | null;
26
+ name: string | null;
27
+ operation: string | null;
28
+ score: number | null;
29
+ };
30
+ type OwnerTaxType = "SSN" | "ITIN";
14
31
  type KycType = "light" | "standard" | "enhanced";
15
32
  type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
16
33
  type Owner = {
@@ -34,6 +51,9 @@ type Owner = {
34
51
  proof_of_address_doc_file: string | null;
35
52
  ownership_percentage: number | null;
36
53
  title: string | null;
54
+ tax_type?: OwnerTaxType | null;
55
+ instance_id?: string;
56
+ receiver_id?: string;
37
57
  };
38
58
  type IndividualWithStandardKYC = {
39
59
  id: string;
@@ -77,6 +97,22 @@ type IndividualWithStandardKYC = {
77
97
  daily: number;
78
98
  monthly: number;
79
99
  };
100
+ fraud_warnings?: FraudWarning[] | null;
101
+ aml_status?: AmlStatus | null;
102
+ aml_hits?: AmlHits | null;
103
+ account_purpose?: AccountPurpose | null;
104
+ account_purpose_other?: string | null;
105
+ occupation?: string | null;
106
+ external_id?: string | null;
107
+ is_fbo?: boolean | null;
108
+ selfie_file?: string | null;
109
+ source_of_funds_doc_type?: SourceOfFundsDocType | null;
110
+ source_of_funds_doc_file?: string | null;
111
+ business_description?: string | null;
112
+ business_industry?: BusinessIndustry | null;
113
+ estimated_annual_revenue?: EstimatedAnnualRevenue | null;
114
+ source_of_wealth?: SourceOfWealth | null;
115
+ publicly_traded?: boolean | null;
80
116
  };
81
117
  type IndividualWithEnhancedKYC = {
82
118
  id: string;
@@ -125,6 +161,20 @@ type IndividualWithEnhancedKYC = {
125
161
  daily: number;
126
162
  monthly: number;
127
163
  };
164
+ fraud_warnings?: FraudWarning[] | null;
165
+ aml_status?: AmlStatus | null;
166
+ aml_hits?: AmlHits | null;
167
+ account_purpose?: AccountPurpose | null;
168
+ account_purpose_other?: string | null;
169
+ occupation?: string | null;
170
+ external_id?: string | null;
171
+ is_fbo?: boolean | null;
172
+ selfie_file?: string | null;
173
+ business_description?: string | null;
174
+ business_industry?: BusinessIndustry | null;
175
+ estimated_annual_revenue?: EstimatedAnnualRevenue | null;
176
+ source_of_wealth?: SourceOfWealth | null;
177
+ publicly_traded?: boolean | null;
128
178
  };
129
179
  type BusinessWithStandardKYB = {
130
180
  id: string;
@@ -170,6 +220,19 @@ type BusinessWithStandardKYB = {
170
220
  daily: number;
171
221
  monthly: number;
172
222
  };
223
+ fraud_warnings?: FraudWarning[] | null;
224
+ aml_status?: AmlStatus | null;
225
+ aml_hits?: AmlHits | null;
226
+ account_purpose?: AccountPurpose | null;
227
+ account_purpose_other?: string | null;
228
+ occupation?: string | null;
229
+ selfie_file?: string | null;
230
+ source_of_funds_doc_type?: SourceOfFundsDocType | null;
231
+ source_of_funds_doc_file?: string | null;
232
+ business_description?: string | null;
233
+ business_industry?: BusinessIndustry | null;
234
+ estimated_annual_revenue?: EstimatedAnnualRevenue | null;
235
+ source_of_wealth?: SourceOfWealth | null;
173
236
  };
174
237
  type CreateIndividualWithStandardKYCInput = {
175
238
  country: Country;
@@ -199,6 +262,8 @@ type CreateIndividualWithStandardKYCInput = {
199
262
  state_province_region?: string | null;
200
263
  tax_id?: string | null;
201
264
  tos_id?: string | null;
265
+ account_purpose_other?: string | null;
266
+ occupation?: string | null;
202
267
  };
203
268
  type CreateIndividualWithStandardKYCResponse = {
204
269
  id: string;
@@ -233,6 +298,8 @@ type CreateIndividualWithEnhancedKYCInput = {
233
298
  state_province_region?: string | null;
234
299
  tax_id?: string | null;
235
300
  tos_id?: string | null;
301
+ account_purpose_other?: string | null;
302
+ occupation?: string | null;
236
303
  };
237
304
  type CreateIndividualWithEnhancedKYCResponse = {
238
305
  id: string;
@@ -269,11 +336,24 @@ type CreateBusinessWithStandardKYBInput = {
269
336
  tax_id?: string | null;
270
337
  tos_id?: string | null;
271
338
  website?: string | null;
339
+ account_purpose_other?: string | null;
340
+ occupation?: string | null;
272
341
  };
273
342
  type CreateBusinessWithStandardKYBResponse = {
274
343
  id: string;
275
344
  };
276
- type ListReceiversResponse = Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
345
+ type ListReceiversInput = PaginationParams & {
346
+ full_name?: string;
347
+ receiver_name?: string;
348
+ status?: string;
349
+ receiver_id?: string;
350
+ bank_account_id?: string;
351
+ country?: Country;
352
+ };
353
+ type ListReceiversResponse = {
354
+ data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
355
+ pagination: PaginationMetadata;
356
+ };
277
357
  type GetReceiverInput = string;
278
358
  type GetReceiverResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
279
359
  type UpdateReceiverInput = {
@@ -319,6 +399,8 @@ type UpdateReceiverInput = {
319
399
  tax_id?: string;
320
400
  tos_id?: string;
321
401
  website?: string;
402
+ account_purpose_other?: string | null;
403
+ occupation?: string | null;
322
404
  };
323
405
  type DeleteReceiverInput = string;
324
406
  type GetReceiverLimitsInput = string;
@@ -348,6 +430,9 @@ type GetLimitIncreaseRequestsResponse = Array<{
348
430
  supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
349
431
  created_at: string;
350
432
  updated_at: string;
433
+ approved_per_transaction?: number | null;
434
+ approved_daily?: number | null;
435
+ approved_monthly?: number | null;
351
436
  }>;
352
437
  type RequestLimitIncreaseInput = {
353
438
  receiver_id: string;
@@ -361,7 +446,7 @@ type RequestLimitIncreaseResponse = {
361
446
  id: string;
362
447
  };
363
448
  declare function createReceiversResource(instanceId: string, client: InternalApiClient): {
364
- list(): Promise<BlindpayApiResponse<ListReceiversResponse>>;
449
+ list(params?: ListReceiversInput): Promise<BlindpayApiResponse<ListReceiversResponse>>;
365
450
  createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
366
451
  createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
367
452
  createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
@@ -373,4 +458,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
373
458
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
374
459
  };
375
460
 
376
- export { type AccountPurpose, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversResponse, type Owner, type OwnerRole, type ProofOfAddressDocType, type PurposeOfTransactions, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
461
+ export { type AccountPurpose, type AmlHits, type AmlStatus, type BusinessIndustry, type BusinessType, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type EstimatedAnnualRevenue, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type PurposeOfTransactions, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type SourceOfFundsDocType, type SourceOfWealth, type UpdateReceiverInput, createReceiversResource };
@@ -51,8 +51,9 @@ __export(receivers_exports, {
51
51
  module.exports = __toCommonJS(receivers_exports);
52
52
  function createReceiversResource(instanceId, client) {
53
53
  return {
54
- list() {
55
- return client.get(`/instances/${instanceId}/receivers`);
54
+ list(params) {
55
+ const queryParams = params ? `?${new URLSearchParams(params)}` : "";
56
+ return client.get(`/instances/${instanceId}/receivers${queryParams}`);
56
57
  },
57
58
  createIndividualWithStandardKYC(data) {
58
59
  return client.post(`/instances/${instanceId}/receivers`, __spreadValues({
@@ -77,7 +78,7 @@ function createReceiversResource(instanceId, client) {
77
78
  },
78
79
  update(_a) {
79
80
  var _b = _a, { receiver_id } = _b, data = __objRest(_b, ["receiver_id"]);
80
- return client.patch(`/instances/${instanceId}/receivers/${receiver_id}`, data);
81
+ return client.put(`/instances/${instanceId}/receivers/${receiver_id}`, data);
81
82
  },
82
83
  delete(receiver_id) {
83
84
  return client.delete(`/instances/${instanceId}/receivers/${receiver_id}`);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createReceiversResource,
3
3
  init_receivers
4
- } from "../../chunk-67XECGMJ.mjs";
4
+ } from "../../chunk-YIZJM2GU.mjs";
5
5
  import "../../chunk-OBKEW4AQ.mjs";
6
6
  init_receivers();
7
7
  export {