@qonto/embed-sdk 0.59.0 → 0.61.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 (175) hide show
  1. package/dist/beneficiaries/beneficiaries.d.ts +1 -1
  2. package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
  3. package/dist/beneficiaries/client/beneficiaries.client.d.ts +138 -0
  4. package/dist/beneficiaries/client/beneficiaries.client.d.ts.map +1 -0
  5. package/dist/beneficiaries/client/beneficiaries.client.test.d.ts +2 -0
  6. package/dist/beneficiaries/client/beneficiaries.client.test.d.ts.map +1 -0
  7. package/dist/beneficiaries/index.d.ts +28 -12
  8. package/dist/beneficiaries/index.d.ts.map +1 -1
  9. package/dist/beneficiaries/index.server.d.ts +36 -0
  10. package/dist/beneficiaries/index.server.d.ts.map +1 -0
  11. package/dist/beneficiaries/server/beneficiaries.server.d.ts +104 -0
  12. package/dist/beneficiaries/server/beneficiaries.server.d.ts.map +1 -0
  13. package/dist/beneficiaries/server/beneficiaries.server.test.d.ts +2 -0
  14. package/dist/beneficiaries/server/beneficiaries.server.test.d.ts.map +1 -0
  15. package/dist/beneficiaries/shared/beneficiaries.api.d.ts.map +1 -0
  16. package/dist/beneficiaries/shared/beneficiaries.serializer.d.ts.map +1 -0
  17. package/dist/beneficiaries/shared/beneficiaries.shared.test.d.ts +2 -0
  18. package/dist/beneficiaries/shared/beneficiaries.shared.test.d.ts.map +1 -0
  19. package/dist/beneficiaries/shared/beneficiaries.types.d.ts.map +1 -0
  20. package/dist/beneficiaries/{beneficiaries.validate.d.ts → shared/beneficiaries.validate.d.ts} +1 -1
  21. package/dist/beneficiaries/shared/beneficiaries.validate.d.ts.map +1 -0
  22. package/dist/index.umd.js +2 -2
  23. package/dist/mocks/handlers.d.ts +2 -2
  24. package/dist/mocks/handlers.d.ts.map +1 -1
  25. package/dist/organizations/client/organizations.client.d.ts +67 -0
  26. package/dist/organizations/client/organizations.client.d.ts.map +1 -0
  27. package/dist/organizations/client/organizations.client.test.d.ts +2 -0
  28. package/dist/organizations/client/organizations.client.test.d.ts.map +1 -0
  29. package/dist/organizations/index.d.ts +24 -4
  30. package/dist/organizations/index.d.ts.map +1 -1
  31. package/dist/organizations/index.server.d.ts +32 -0
  32. package/dist/organizations/index.server.d.ts.map +1 -0
  33. package/dist/organizations/server/organizations.server.d.ts +49 -0
  34. package/dist/organizations/server/organizations.server.d.ts.map +1 -0
  35. package/dist/organizations/server/organizations.server.test.d.ts +2 -0
  36. package/dist/organizations/server/organizations.server.test.d.ts.map +1 -0
  37. package/dist/organizations/shared/organizations.api.d.ts.map +1 -0
  38. package/dist/organizations/shared/organizations.serializer.d.ts.map +1 -0
  39. package/dist/organizations/shared/organizations.shared.test.d.ts +2 -0
  40. package/dist/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  41. package/dist/organizations/shared/organizations.types.d.ts.map +1 -0
  42. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts +1 -1
  43. package/dist/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
  44. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
  45. package/dist/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
  46. package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts +1 -1
  47. package/dist/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
  48. package/dist/server/beneficiaries/beneficiaries.d.ts +1 -1
  49. package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
  50. package/dist/server/beneficiaries/client/beneficiaries.client.d.ts +138 -0
  51. package/dist/server/beneficiaries/client/beneficiaries.client.d.ts.map +1 -0
  52. package/dist/server/beneficiaries/client/beneficiaries.client.test.d.ts +2 -0
  53. package/dist/server/beneficiaries/client/beneficiaries.client.test.d.ts.map +1 -0
  54. package/dist/server/beneficiaries/index.d.ts +28 -12
  55. package/dist/server/beneficiaries/index.d.ts.map +1 -1
  56. package/dist/server/beneficiaries/index.server.d.ts +36 -0
  57. package/dist/server/beneficiaries/index.server.d.ts.map +1 -0
  58. package/dist/server/beneficiaries/server/beneficiaries.server.d.ts +104 -0
  59. package/dist/server/beneficiaries/server/beneficiaries.server.d.ts.map +1 -0
  60. package/dist/server/beneficiaries/server/beneficiaries.server.test.d.ts +2 -0
  61. package/dist/server/beneficiaries/server/beneficiaries.server.test.d.ts.map +1 -0
  62. package/dist/server/beneficiaries/shared/beneficiaries.api.d.ts.map +1 -0
  63. package/dist/server/beneficiaries/shared/beneficiaries.serializer.d.ts.map +1 -0
  64. package/dist/server/beneficiaries/shared/beneficiaries.shared.test.d.ts +2 -0
  65. package/dist/server/beneficiaries/shared/beneficiaries.shared.test.d.ts.map +1 -0
  66. package/dist/server/beneficiaries/shared/beneficiaries.types.d.ts.map +1 -0
  67. package/dist/server/beneficiaries/{beneficiaries.validate.d.ts → shared/beneficiaries.validate.d.ts} +1 -1
  68. package/dist/server/beneficiaries/shared/beneficiaries.validate.d.ts.map +1 -0
  69. package/dist/server/mocks/handlers.d.ts +2 -2
  70. package/dist/server/mocks/handlers.d.ts.map +1 -1
  71. package/dist/server/organizations/client/organizations.client.d.ts +67 -0
  72. package/dist/server/organizations/client/organizations.client.d.ts.map +1 -0
  73. package/dist/server/organizations/client/organizations.client.test.d.ts +2 -0
  74. package/dist/server/organizations/client/organizations.client.test.d.ts.map +1 -0
  75. package/dist/server/organizations/index.d.ts +24 -4
  76. package/dist/server/organizations/index.d.ts.map +1 -1
  77. package/dist/server/organizations/index.server.d.ts +32 -0
  78. package/dist/server/organizations/index.server.d.ts.map +1 -0
  79. package/dist/server/organizations/server/organizations.server.d.ts +49 -0
  80. package/dist/server/organizations/server/organizations.server.d.ts.map +1 -0
  81. package/dist/server/organizations/server/organizations.server.test.d.ts +2 -0
  82. package/dist/server/organizations/server/organizations.server.test.d.ts.map +1 -0
  83. package/dist/server/organizations/shared/organizations.api.d.ts.map +1 -0
  84. package/dist/server/organizations/shared/organizations.serializer.d.ts.map +1 -0
  85. package/dist/server/organizations/shared/organizations.shared.test.d.ts +2 -0
  86. package/dist/server/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  87. package/dist/server/organizations/shared/organizations.types.d.ts.map +1 -0
  88. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts +1 -1
  89. package/dist/server/sepa-transfers/bulk-transfers/bulk-transfers.utils.d.ts.map +1 -1
  90. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts +1 -1
  91. package/dist/server/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.d.ts.map +1 -1
  92. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts +1 -1
  93. package/dist/server/sepa-transfers/shared/sepa-transfers.types.d.ts.map +1 -1
  94. package/dist/server/src/beneficiaries/beneficiaries.js +1 -1
  95. package/dist/server/src/beneficiaries/shared/beneficiaries.api.js +1 -0
  96. package/dist/server/src/beneficiaries/shared/beneficiaries.validate.js +1 -0
  97. package/dist/server/types/types.public-api.d.ts +2 -2
  98. package/dist/server/types/types.public-api.d.ts.map +1 -1
  99. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  100. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  101. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +2 -2
  102. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  103. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +2 -2
  104. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  105. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +2 -2
  106. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  107. package/dist/src/beneficiaries/beneficiaries.js +1 -1
  108. package/dist/src/beneficiaries/client/beneficiaries.client.js +1 -0
  109. package/dist/src/beneficiaries/index.js +1 -1
  110. package/dist/src/beneficiaries/shared/beneficiaries.api.js +1 -0
  111. package/dist/src/beneficiaries/shared/beneficiaries.validate.js +1 -0
  112. package/dist/src/organizations/client/organizations.client.js +1 -0
  113. package/dist/src/organizations/index.js +1 -1
  114. package/dist/src/organizations/shared/organizations.api.js +1 -0
  115. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.js +9 -9
  116. package/dist/types/types.public-api.d.ts +2 -2
  117. package/dist/types/types.public-api.d.ts.map +1 -1
  118. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  119. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  120. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +2 -2
  121. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  122. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +2 -2
  123. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  124. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +2 -2
  125. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  126. package/package.json +9 -1
  127. package/dist/beneficiaries/beneficiaries.api.d.ts.map +0 -1
  128. package/dist/beneficiaries/beneficiaries.serializer.d.ts.map +0 -1
  129. package/dist/beneficiaries/beneficiaries.types.d.ts.map +0 -1
  130. package/dist/beneficiaries/beneficiaries.validate.d.ts.map +0 -1
  131. package/dist/organizations/organizations.api.d.ts.map +0 -1
  132. package/dist/organizations/organizations.d.ts +0 -29
  133. package/dist/organizations/organizations.d.ts.map +0 -1
  134. package/dist/organizations/organizations.public-api.d.ts +0 -5
  135. package/dist/organizations/organizations.public-api.d.ts.map +0 -1
  136. package/dist/organizations/organizations.serializer.d.ts.map +0 -1
  137. package/dist/organizations/organizations.test.d.ts +0 -2
  138. package/dist/organizations/organizations.test.d.ts.map +0 -1
  139. package/dist/organizations/organizations.types.d.ts.map +0 -1
  140. package/dist/server/beneficiaries/beneficiaries.api.d.ts.map +0 -1
  141. package/dist/server/beneficiaries/beneficiaries.serializer.d.ts.map +0 -1
  142. package/dist/server/beneficiaries/beneficiaries.types.d.ts.map +0 -1
  143. package/dist/server/beneficiaries/beneficiaries.validate.d.ts.map +0 -1
  144. package/dist/server/organizations/organizations.api.d.ts.map +0 -1
  145. package/dist/server/organizations/organizations.d.ts +0 -29
  146. package/dist/server/organizations/organizations.d.ts.map +0 -1
  147. package/dist/server/organizations/organizations.public-api.d.ts +0 -5
  148. package/dist/server/organizations/organizations.public-api.d.ts.map +0 -1
  149. package/dist/server/organizations/organizations.serializer.d.ts.map +0 -1
  150. package/dist/server/organizations/organizations.test.d.ts +0 -2
  151. package/dist/server/organizations/organizations.test.d.ts.map +0 -1
  152. package/dist/server/organizations/organizations.types.d.ts.map +0 -1
  153. package/dist/server/src/beneficiaries/beneficiaries.api.js +0 -1
  154. package/dist/server/src/beneficiaries/beneficiaries.validate.js +0 -1
  155. package/dist/src/beneficiaries/beneficiaries.api.js +0 -1
  156. package/dist/src/beneficiaries/beneficiaries.public-api.js +0 -1
  157. package/dist/src/beneficiaries/beneficiaries.validate.js +0 -1
  158. package/dist/src/organizations/organizations.api.js +0 -1
  159. package/dist/src/organizations/organizations.js +0 -1
  160. package/dist/src/organizations/organizations.public-api.js +0 -1
  161. /package/dist/beneficiaries/{beneficiaries.api.d.ts → shared/beneficiaries.api.d.ts} +0 -0
  162. /package/dist/beneficiaries/{beneficiaries.serializer.d.ts → shared/beneficiaries.serializer.d.ts} +0 -0
  163. /package/dist/beneficiaries/{beneficiaries.types.d.ts → shared/beneficiaries.types.d.ts} +0 -0
  164. /package/dist/organizations/{organizations.api.d.ts → shared/organizations.api.d.ts} +0 -0
  165. /package/dist/organizations/{organizations.serializer.d.ts → shared/organizations.serializer.d.ts} +0 -0
  166. /package/dist/organizations/{organizations.types.d.ts → shared/organizations.types.d.ts} +0 -0
  167. /package/dist/server/beneficiaries/{beneficiaries.api.d.ts → shared/beneficiaries.api.d.ts} +0 -0
  168. /package/dist/server/beneficiaries/{beneficiaries.serializer.d.ts → shared/beneficiaries.serializer.d.ts} +0 -0
  169. /package/dist/server/beneficiaries/{beneficiaries.types.d.ts → shared/beneficiaries.types.d.ts} +0 -0
  170. /package/dist/server/organizations/{organizations.api.d.ts → shared/organizations.api.d.ts} +0 -0
  171. /package/dist/server/organizations/{organizations.serializer.d.ts → shared/organizations.serializer.d.ts} +0 -0
  172. /package/dist/server/organizations/{organizations.types.d.ts → shared/organizations.types.d.ts} +0 -0
  173. /package/dist/server/src/beneficiaries/{beneficiaries.serializer.js → shared/beneficiaries.serializer.js} +0 -0
  174. /package/dist/src/beneficiaries/{beneficiaries.serializer.js → shared/beneficiaries.serializer.js} +0 -0
  175. /package/dist/src/organizations/{organizations.serializer.js → shared/organizations.serializer.js} +0 -0
@@ -1,6 +1,6 @@
1
- import type { Beneficiary, BeneficiaryDataObject } from '@beneficiaries/beneficiaries.types';
1
+ import type { Beneficiary, BeneficiaryDataObject } from '@beneficiaries/shared/beneficiaries.types';
2
2
  import type { CardDataObject } from '@cards/cards.types';
3
- import type { BankAccountDataObject, OrganizationDataObject } from '@organizations/organizations.types';
3
+ import type { BankAccountDataObject, OrganizationDataObject } from '@organizations/shared/organizations.types';
4
4
  import type { BulkTransferDataObject, BulkTransferSettings, NewBulkTransfer, NewBulkTransferWithBeneficiary } from '@sepa-transfers/bulk-transfers/shared/bulk-transfers.types';
5
5
  import type { SepaTransferDataObject } from '@sepa-transfers/shared/sepa-transfers.types';
6
6
  import type { TransactionDataObject } from '@transactions/transactions.types';
@@ -1 +1 @@
1
- {"version":3,"file":"handlers.d.ts","sourceRoot":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;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOlC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAe1D,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,sBAkBpC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,sBAAsB,EAqBrE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,sBAqBxC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,sBAAsB,EAoBrE,CAAC;AAEF,eAAO,MAAM,wBAAwB,iEAC2B,CAAC;AAEjE,eAAO,MAAM,YAAY,EAAE,cAuD1B,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,qBA2CzC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EA8EzD,CAAC;AAGF,eAAO,MAAM,kCAAkC,WAAW,CAAC;AAE3D,eAAO,MAAM,wBAAwB,EAAE,WAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,eAKtC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,8BAKnC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,oBAAoB,CAAC,eAAe,CAI7E,CAAC;AAEJ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;CAiB1C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;CAiB7C,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;CAuBzC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,2BAA2B,eAAe,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,eAAO,MAAM,WAAW,6BAk4BvB,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { type ClientOperationSettings } from '@validation/operation-settings-validation';
2
+ import type { BankAccount, Organization } from '../shared/organizations.types';
3
+ /**
4
+ * Retrieves the organization information.
5
+ *
6
+ * **Client-side only** - Uses proxy-based authentication.
7
+ * For server-side operations, import from `'@qonto/embed-sdk/server/organizations'`.
8
+ *
9
+ * @param operationSettings - An object with operation-level settings such as
10
+ * `proxyEndpointDescriptor` (preferred) or `proxyRequestFunction` (at least one required).
11
+ * @returns A promise that resolves to the organization the current user belongs to.
12
+ * @throws `InvalidParametersError` If neither `proxyEndpointDescriptor` nor
13
+ * `proxyRequestFunction` is provided.
14
+ * @throws `EmbedApiError` If the API request fails or returns an error.
15
+ *
16
+ * @example
17
+ * ```
18
+ * // Preferred: Using proxyEndpointDescriptor
19
+ * const organization = await getOrganization({
20
+ * operationSettings: { proxyEndpointDescriptor }
21
+ * });
22
+ *```
23
+ *
24
+ * @example
25
+ * ```
26
+ * // Alternative: Using proxyRequestFunction
27
+ * const organization = await getOrganization({
28
+ * operationSettings: { proxyRequestFunction }
29
+ * });
30
+ * ```
31
+ */
32
+ export declare const getOrganization: ({ operationSettings, }: {
33
+ operationSettings: ClientOperationSettings;
34
+ }) => Promise<Organization>;
35
+ /**
36
+ * Retrieves the bank accounts for the organization.
37
+ *
38
+ * **Client-side only** - Uses proxy-based authentication.
39
+ * For server-side operations, import from `'@qonto/embed-sdk/server/organizations'`.
40
+ *
41
+ * @param operationSettings - An object with operation-level settings such as
42
+ * `proxyEndpointDescriptor` (preferred) or `proxyRequestFunction` (at least one required).
43
+ * @returns A promise that resolves to the bank accounts for the organization.
44
+ * @throws `InvalidParametersError` If neither `proxyEndpointDescriptor` nor
45
+ * `proxyRequestFunction` is provided.
46
+ * @throws `EmbedApiError` If the API request fails or returns an error.
47
+ *
48
+ * @example
49
+ * ```
50
+ * // Preferred: Using proxyEndpointDescriptor
51
+ * const bankAccounts = await getBankAccounts({
52
+ * operationSettings: { proxyEndpointDescriptor }
53
+ * });
54
+ * ```
55
+ *
56
+ * @example
57
+ * ```
58
+ * // Alternative: Using proxyRequestFunction
59
+ * const bankAccounts = await getBankAccounts({
60
+ * operationSettings: { proxyRequestFunction }
61
+ * });
62
+ * ```
63
+ */
64
+ export declare const getBankAccounts: ({ operationSettings, }: {
65
+ operationSettings: ClientOperationSettings;
66
+ }) => Promise<BankAccount[]>;
67
+ //# sourceMappingURL=organizations.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.client.d.ts","sourceRoot":"","sources":["../../../src/organizations/client/organizations.client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,2CAA2C,CAAC;AAUnD,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EAEb,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,eAAe,GAAU,wBAEnC;IACD,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C,KAAG,OAAO,CAAC,YAAY,CAkBvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,eAAe,GAAU,wBAEnC;IACD,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C,KAAG,OAAO,CAAC,WAAW,EAAE,CAgBxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=organizations.client.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.client.test.d.ts","sourceRoot":"","sources":["../../../src/organizations/client/organizations.client.test.ts"],"names":[],"mappings":""}
@@ -1,13 +1,33 @@
1
1
  /**
2
2
  * The organizations namespace contains all the functions related to organizations'
3
- * operations such as retrieving bank accounts. It can be accessed like this:
3
+ * operations such as retrieving bank accounts.
4
+ *
5
+ * **Client-side only** - Uses proxy-based authentication (proxyEndpointDescriptor or proxyRequestFunction).
6
+ * For server-side operations with accessToken, import from `'@qonto/embed-sdk/server/organizations'`.
7
+ *
8
+ * @example
4
9
  * ```ts
5
10
  * import { organizations } from '@qonto/embed-sdk/organizations';
6
- * await organizations.getBankAccounts({accessToken, stagingToken});
11
+ *
12
+ * // Preferred: Using proxyEndpointDescriptor
13
+ * const bankAccounts = await organizations.getBankAccounts({
14
+ * operationSettings: { proxyEndpointDescriptor }
15
+ * });
16
+ *
17
+ * // Alternative: Using proxyRequestFunction
18
+ * const bankAccounts = await organizations.getBankAccounts({
19
+ * operationSettings: { proxyRequestFunction }
20
+ * });
7
21
  * ```
8
22
  */
9
23
  export declare const organizations: {
10
- getOrganization: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").Organization>;
11
- getBankAccounts: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").BankAccount[]>;
24
+ getOrganization: ({ operationSettings, }: {
25
+ operationSettings: import("@validation/operation-settings-validation").ClientOperationSettings;
26
+ }) => Promise<import(".").Organization>;
27
+ getBankAccounts: ({ operationSettings, }: {
28
+ operationSettings: import("@validation/operation-settings-validation").ClientOperationSettings;
29
+ }) => Promise<import(".").BankAccount[]>;
12
30
  };
31
+ export type * from './shared/organizations.types';
32
+ export type { ClientOperationSettings, ClientOperationSettingsWithUI, } from '@validation/operation-settings-validation';
13
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/organizations/index.ts"],"names":[],"mappings":"AAQA;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;CAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/organizations/index.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,aAAa;;;;;;;CAGzB,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * The organizations namespace contains all the functions related to organizations'
3
+ * operations such as retrieving bank accounts.
4
+ *
5
+ * **Server-side only** - Uses accessToken-based authentication.
6
+ * For client-side operations with proxyEndpointDescriptor/proxyRequestFunction,
7
+ * import from `'@qonto/embed-sdk/organizations'`.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import { organizations } from '@qonto/embed-sdk/server/organizations';
12
+ *
13
+ * // Using explicit accessToken
14
+ * const bankAccounts = await organizations.getBankAccounts({
15
+ * operationSettings: { accessToken: 'your-token' }
16
+ * });
17
+ *
18
+ * // Using globally configured token
19
+ * const bankAccounts = await organizations.getBankAccounts();
20
+ * ```
21
+ */
22
+ export declare const organizations: {
23
+ getOrganization: ({ operationSettings, }?: {
24
+ operationSettings?: import("@validation/operation-settings-validation").ServerOperationSettings;
25
+ }) => Promise<import(".").Organization>;
26
+ getBankAccounts: ({ operationSettings, }?: {
27
+ operationSettings?: import("@validation/operation-settings-validation").ServerOperationSettings;
28
+ }) => Promise<import(".").BankAccount[]>;
29
+ };
30
+ export type * from './shared/organizations.types';
31
+ export type { ServerOperationSettings } from '@validation/operation-settings-validation';
32
+ //# sourceMappingURL=index.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/organizations/index.server.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa;;yBAQ8O,CAAC;;;yBAAoqC,CAAC;;CAL76C,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { ServerOperationSettings } from '@validation/operation-settings-validation';
2
+ import type { BankAccount, Organization } from '../shared/organizations.types';
3
+ /**
4
+ * Retrieves the organization information.
5
+ *
6
+ * **Server-side only** - Uses accessToken-based authentication.
7
+ * For client-side operations, import from `'@qonto/embed-sdk/organizations'`.
8
+ *
9
+ * @param params - An object containing:
10
+ * - `operationSettings`: (Optional) An object with operation-level settings such as
11
+ * `accessToken` and `stagingToken`.
12
+ * @returns A promise that resolves to the organization the current user belongs to.
13
+ * @throws `AuthenticationError` If the `accessToken` is invalid or missing.
14
+ * @throws `EmbedApiError` If the API request fails or returns an error.
15
+ *
16
+ * @example
17
+ * ```
18
+ * const organization = await getOrganization({
19
+ * operationSettings: { accessToken: 'your-token' }
20
+ * });
21
+ * ```
22
+ */
23
+ export declare const getOrganization: ({ operationSettings, }?: {
24
+ operationSettings?: ServerOperationSettings;
25
+ }) => Promise<Organization>;
26
+ /**
27
+ * Retrieves the bank accounts for the organization.
28
+ *
29
+ * **Server-side only** - Uses accessToken-based authentication.
30
+ * For client-side operations, import from `'@qonto/embed-sdk/organizations'`.
31
+ *
32
+ * @param params - An object containing:
33
+ * - `operationSettings`: (Optional) An object with operation-level settings such as
34
+ * `accessToken` and `stagingToken`.
35
+ * @returns A promise that resolves to the bank accounts for the organization.
36
+ * @throws `AuthenticationError` If the `accessToken` is invalid or missing.
37
+ * @throws `EmbedApiError` If the API request fails or returns an error.
38
+ *
39
+ * @example
40
+ * ```
41
+ * const bankAccounts = await getBankAccounts({
42
+ * operationSettings: { accessToken: 'your-token' }
43
+ * });
44
+ * ```
45
+ */
46
+ export declare const getBankAccounts: ({ operationSettings, }?: {
47
+ operationSettings?: ServerOperationSettings;
48
+ }) => Promise<BankAccount[]>;
49
+ //# sourceMappingURL=organizations.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.server.d.ts","sourceRoot":"","sources":["../../../src/organizations/server/organizations.server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAUzF,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE/E;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,GAAU,yBAEnC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,YAAY,CAS5B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,GAAU,yBAEnC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,WAAW,EAAE,CAS7B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=organizations.server.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.server.test.d.ts","sourceRoot":"","sources":["../../../src/organizations/server/organizations.server.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAK/B,eAAO,MAAM,sBAAsB,GAAI,gCAGpC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,qBAYH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,gCAGnC;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC;IAAE,YAAY,EAAE,sBAAsB,CAAA;CAAE,CASnD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,gCAGpC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,qBAYH,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,gCAGnC;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC;IAAE,aAAa,EAAE,qBAAqB,EAAE,CAAA;CAAE,CASrD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.serializer.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,YAAY,EACZ,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAM,qBAAqB,GAChC,cAAc,sBAAsB,KACnC,YAgBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,qBAAqB,KACjC,WAgBF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=organizations.shared.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.shared.test.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.shared.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizations.types.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;IAC7D,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAE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E,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,WAAW,EAAE,CAAC;CAC7B"}
@@ -1,4 +1,4 @@
1
- import type { Beneficiary } from '../../beneficiaries/beneficiaries.types';
1
+ import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
2
2
  interface FindBeneficiaryParams {
3
3
  operationSettings: {
4
4
  accessToken?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-transfers.utils.d.ts","sourceRoot":"","sources":["../../../src/sepa-transfers/bulk-transfers/bulk-transfers.utils.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAE3E,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,oBAAoB,EAAE;QACpB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;CACH;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,CAa9C"}
1
+ {"version":3,"file":"bulk-transfers.utils.d.ts","sourceRoot":"","sources":["../../../src/sepa-transfers/bulk-transfers/bulk-transfers.utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAI7E,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,oBAAoB,EAAE;QACpB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;CACH;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,EACpC,oBAAoB,EACpB,iBAAiB,GAClB,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,CAa9C"}
@@ -1,4 +1,4 @@
1
- import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
1
+ import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
2
2
  import type { PaginationState } from '@common/api-pagination/api-pagination.types';
3
3
  import type { TRANSFER_STATUSES } from '@common/constants';
4
4
  import type { VerifySepaPayeeApiResponse } from '@sepa-transfers/shared/sepa-transfers.api';
@@ -1 +1 @@
1
- {"version":3,"file":"bulk-transfers.types.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EA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E,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,eAAe,EACf,eAAe,CAChB,GAAG;IACF,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,aAAa,EAAE,CAAC,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,oBAAoB,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED,MAAM,WAAW,yCAAyC;IACxD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,IAAI,CAAC,0BAA0B,EAAE,cAAc,GAAG,cAAc,CAAC,CAAC;CAC7E;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,yCAAyC,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,+BAA+B;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,qBAAqB,CAAC;CACjC"}
1
+ {"version":3,"file":"bulk-transfers.types.d.ts","sourceRoot":"","sources":["../../../../src/sepa-transfers/bulk-transfers/shared/bulk-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,KAAK,EAAE,qBAAqB,EAAE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AM,CAAC;IACX,QAAQ,EAAE,qBAAqB,CAAC;CACjC"}
@@ -1,5 +1,5 @@
1
1
  import type { AuthLinkRequestSettings } from '@auth-links/shared/auth-links.types';
2
- import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
2
+ import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
3
3
  import type { PaginationSettings, PaginationState } from '@common/api-pagination/api-pagination.types';
4
4
  import { TRANSFER_DECLINE_REASONS, TRANSFER_STATUSES, VOP_CHECK_RESULTS, VOP_DECISIONS } from '@common/constants';
5
5
  import type { OperationSettings } from '@validation/operation-settings-validation';
@@ -1 +1 @@
1
- {"version":3,"file":"sepa-transfers.types.d.ts","sourceRoot":"","sources":["../../../src/sepa-transfers/shared/sepa-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EAChB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF;;GAEG;AACH,KAAK,0BAA0B,GAC7B,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;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AC;IACnC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACzB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE3D,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE7E;;;;;GAKG;AACH,MAAM,MAAM,+BAA+B,GAAG,IAAI,CAChD,uBAAuB,EACvB,QAAQ,CACT,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,oBAAoB,CAAC,EAAE,eAAe,CAAC;CACxC"}
1
+ {"version":3,"file":"sepa-transfers.types.d.ts","sourceRoot":"","sources":["../../../src/sepa-transfers/shared/sepa-transfers.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAEnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EAChB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,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zB,oBAAoB,CAAC,EAAE,eAAe,CAAC;CACxC"}
@@ -1,5 +1,5 @@
1
1
  import { type OperationSettings } from '@validation/operation-settings-validation';
2
- import type { Beneficiary, EditableBeneficiaryProperties, GetBeneficiariesResponse, NewBeneficiary } from './beneficiaries.types';
2
+ import type { Beneficiary, EditableBeneficiaryProperties, GetBeneficiariesResponse, NewBeneficiary } from './shared/beneficiaries.types';
3
3
  /**
4
4
  * This is the common parameter format most of the beneficiaries functions expect
5
5
  * as their only parameter. It consists of a `beneficiarySettings` object and an
@@ -1 +1 @@
1
- {"version":3,"file":"beneficiaries.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/beneficiaries.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,2CAA2C,CAAC;AAenD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAG/B;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAChD,OAAO,CAAC,wBAAwB,CAAC,CAyDnC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAgCrE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAoC1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,6BAA6B,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAyCzE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAwB1B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAgC1E"}
1
+ {"version":3,"file":"beneficiaries.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/beneficiaries.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,2CAA2C,CAAC;AAenD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAStC;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAChD,OAAO,CAAC,wBAAwB,CAAC,CAyDnC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAgCrE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAoC1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,6BAA6B,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAyCzE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAwB1B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAgC1E"}
@@ -0,0 +1,138 @@
1
+ import { type ClientOperationSettings, type ClientOperationSettingsWithUI } from '@validation/operation-settings-validation';
2
+ import type { Beneficiary, EditableBeneficiaryProperties, GetBeneficiariesResponse, NewBeneficiary } from '../shared/beneficiaries.types';
3
+ /**
4
+ * Generic parameter format for client-side beneficiary operations.
5
+ * This version uses proxy-based authentication (proxyRequestFunction or proxyEndpointDescriptor)
6
+ * and is designed for browser environments.
7
+ */
8
+ export interface BeneficiaryClientParams<T> {
9
+ beneficiarySettings?: T;
10
+ operationSettings?: ClientOperationSettings;
11
+ }
12
+ /**
13
+ * Parameter format for client-side beneficiary operations that require UI elements.
14
+ */
15
+ export interface BeneficiaryClientParamsWithUI<T> {
16
+ beneficiarySettings?: T;
17
+ operationSettings?: ClientOperationSettingsWithUI;
18
+ }
19
+ /**
20
+ * Fetches the list of beneficiaries for the current user.
21
+ *
22
+ * **Client-side only** - Uses proxy-based authentication.
23
+ * For server-side operations, import from `'@qonto/embed-sdk/server/beneficiaries'`.
24
+ *
25
+ * @param getBeneficiariesParams - An object containing:
26
+ * - `operationSettings`: An object with operation-level settings such as
27
+ * `proxyRequestFunction` or `proxyEndpointDescriptor` (required),
28
+ * `paginationSettings`, and other optional parameters.
29
+ * @returns A promise that resolves to an array of beneficiaries and a `meta`
30
+ * object containing pagination state.
31
+ * @throws `InvalidParametersError` If neither proxyRequestFunction nor
32
+ * proxyEndpointDescriptor is provided.
33
+ * @throws `EmbedApiError` If the API request fails or returns an error.
34
+ */
35
+ export declare function getBeneficiaries(getBeneficiariesParams?: BeneficiaryClientParams<never>): Promise<GetBeneficiariesResponse>;
36
+ /**
37
+ * Fetches a single beneficiary of the current user by ID.
38
+ *
39
+ * **Client-side only** - Uses proxy-based authentication.
40
+ * For server-side operations, import from `'@qonto/embed-sdk/server/beneficiaries'`.
41
+ *
42
+ * @param getBeneficiaryParams - An object containing:
43
+ * - `beneficiarySettings`: An object with the `beneficiaryId` property (string).
44
+ * - `operationSettings`: An object with operation-level settings such as
45
+ * `proxyRequestFunction` or `proxyEndpointDescriptor` (required).
46
+ * @returns A promise that resolves to a beneficiary.
47
+ * @throws `InvalidParametersError` If the `beneficiaryId` parameter is not a string or is missing,
48
+ * or if neither proxyRequestFunction nor proxyEndpointDescriptor is provided.
49
+ * @throws `EmbedApiError` If the API request fails or returns an error.
50
+ */
51
+ export declare function getBeneficiary({ beneficiarySettings, operationSettings, }: BeneficiaryClientParams<{
52
+ beneficiaryId: string;
53
+ }>): Promise<Beneficiary>;
54
+ /**
55
+ * Adds a new beneficiary in the current user's account.
56
+ *
57
+ * **Client-side only** - Uses proxy-based authentication.
58
+ * For server-side operations, import from `'@qonto/embed-sdk/server/beneficiaries'`.
59
+ *
60
+ * @param addBeneficiaryParams - An object containing:
61
+ * - `beneficiarySettings`: An object with the new beneficiary details. Requires at
62
+ * least the `name` and `iban` properties to be present.
63
+ * - `operationSettings`: An object with operation-level settings such as
64
+ * `proxyRequestFunction` or `proxyEndpointDescriptor` (required),
65
+ * `idempotencyKey`, and other optional parameters.
66
+ * @returns A promise that resolves to the created beneficiary.
67
+ * @throws `InvalidParametersError` If any required property is missing or invalid,
68
+ * or if neither proxyRequestFunction nor proxyEndpointDescriptor is provided.
69
+ * @throws `EmbedApiError` If the API request fails or returns an error.
70
+ */
71
+ export declare function addBeneficiary({ beneficiarySettings, operationSettings, }: BeneficiaryClientParams<NewBeneficiary>): Promise<Beneficiary>;
72
+ /**
73
+ * Update any of the editable properties of a beneficiary in the current user's
74
+ * account by ID.
75
+ *
76
+ * **Client-side only** - Uses proxy-based authentication.
77
+ * For server-side operations, import from `'@qonto/embed-sdk/server/beneficiaries'`.
78
+ *
79
+ * @param updateBeneficiaryParams - An object containing:
80
+ * - `beneficiarySettings`: An object that contains a mandatory beneficiary ID
81
+ * and any of the editable properties of a beneficiary, which are `name`,
82
+ * `email` and `activityTag`.
83
+ * - `operationSettings`: An object with operation-level settings such as
84
+ * `proxyRequestFunction` or `proxyEndpointDescriptor` (required),
85
+ * `mfaPreference`, `idempotencyKey`, and other optional parameters.
86
+ * @returns A promise that resolves to the updated beneficiary.
87
+ * @throws `InvalidParametersError` If the beneficiary ID is missing or if none of the
88
+ * editable properties (`name`, `email`, `activityTag`) are provided or are of incorrect type,
89
+ * or if neither proxyRequestFunction nor proxyEndpointDescriptor is provided.
90
+ * @throws `EmbedApiError` If the API request fails or returns an error.
91
+ */
92
+ export declare function updateBeneficiary({ beneficiarySettings, operationSettings, }: BeneficiaryClientParams<EditableBeneficiaryProperties>): Promise<Beneficiary>;
93
+ /**
94
+ * Trusts a list of beneficiaries in the current user's account.
95
+ *
96
+ * **Client-side only** - This function requires UI elements (iframe/SCA) and is only available
97
+ * in the client-side version. It is not available in the server-side API.
98
+ *
99
+ * @param trustBeneficiariesParams - An object containing:
100
+ * - `beneficiarySettings`: An object with the list of beneficiary IDs to
101
+ * trust (e.g., `{ beneficiaryIds: string[] }`).
102
+ * - `operationSettings`: An object with operation-level settings such as
103
+ * `accessToken`, `stagingToken`, `parentElementId`, and other optional
104
+ * parameters.
105
+ *
106
+ * @returns A promise that resolves to an array of trusted beneficiaries.
107
+ *
108
+ * @throws `AuthenticationError` If the access token is invalid or missing.
109
+ * Ensure initialize has been called before using this function if you are not
110
+ * passing the access token.
111
+ * @throws `InvalidParametersError` If the `beneficiaryIds` parameter is not an
112
+ * array of strings or is missing.
113
+ * @throws `EmbedApiError` If the API request fails or returns an error.
114
+ */
115
+ export declare function trustBeneficiaries({ beneficiarySettings, operationSettings, }: BeneficiaryClientParamsWithUI<{
116
+ beneficiaryIds: string[];
117
+ }>): Promise<Beneficiary[]>;
118
+ /**
119
+ * Untrusts a list of beneficiaries in the current user's account.
120
+ *
121
+ * **Client-side only** - Uses proxy-based authentication.
122
+ * For server-side operations, import from `'@qonto/embed-sdk/server/beneficiaries'`.
123
+ *
124
+ * @param untrustBeneficiariesParams - An object containing:
125
+ * - `beneficiarySettings`: An object with the list of beneficiary IDs to
126
+ * untrust (e.g., `{ beneficiaryIds: string[] }`).
127
+ * - `operationSettings`: An object with operation-level settings such as
128
+ * `proxyRequestFunction` or `proxyEndpointDescriptor` (required).
129
+ * @returns A promise that resolves to an array of untrusted beneficiaries.
130
+ * @throws `InvalidParametersError` If the `beneficiaryIds` parameter is not an
131
+ * array of strings or is missing, or if neither proxyRequestFunction nor
132
+ * proxyEndpointDescriptor is provided.
133
+ * @throws `EmbedApiError` If the API request fails or returns an error.
134
+ */
135
+ export declare function untrustBeneficiaries({ beneficiarySettings, operationSettings, }: BeneficiaryClientParams<{
136
+ beneficiaryIds: string[];
137
+ }>): Promise<Beneficiary[]>;
138
+ //# sourceMappingURL=beneficiaries.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"beneficiaries.client.d.ts","sourceRoot":"","sources":["../../../../src/beneficiaries/client/beneficiaries.client.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAGnC,MAAM,2CAA2C,CAAC;AAWnD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,+BAA+B,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B,CAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,6BAA6B,CAAC;CACnD;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,GACtD,OAAO,CAAC,wBAAwB,CAAC,CAiCnC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAsB3E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAwBhE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA8B/E;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,6BAA6B,CAAC;IAC/B,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAwB1B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAChE,WAAW,EAAE,CACd,CAsBA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=beneficiaries.client.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"beneficiaries.client.test.d.ts","sourceRoot":"","sources":["../../../../src/beneficiaries/client/beneficiaries.client.test.ts"],"names":[],"mappings":""}
@@ -1,22 +1,38 @@
1
+ import { addBeneficiary, getBeneficiaries, getBeneficiary, trustBeneficiaries, untrustBeneficiaries, updateBeneficiary } from './client/beneficiaries.client';
1
2
  /**
2
- * The beneficiaries namespace contains all the functions related to beneficiary
3
- * operations. It can be accessed like this:
3
+ * The beneficiaries namespace contains all the client-side functions related to beneficiary operations.
4
+ * This version uses proxy-based authentication (proxyEndpointDescriptor or proxyRequestFunction)
5
+ * and is designed for browser environments.
6
+ *
7
+ * For server-side operations using access tokens, import from `'@qonto/embed-sdk/server/beneficiaries'`.
8
+ *
9
+ * It can be accessed like this:
4
10
  * ```ts
5
- * import { beneficiaries } from '@qonto/embed-sdk/beneficiaries';
11
+ * import { beneficiaries } from `'@qonto/embed-sdk/beneficiaries'`;
6
12
  * ```
7
13
  *
8
- * Then, the beneficiaries object contains the functions to perform beneficiary
9
- * operations:
14
+ * Then, the beneficiaries object contains the functions to perform beneficiary operations:
10
15
  * ```ts
11
- * await beneficiaries.getBeneficiaries();
12
- * await beneficiaries.getBeneficiary(/* params here *\/);
16
+ * await beneficiaries.getBeneficiaries({
17
+ * operationSettings: { proxyEndpointDescriptor }
18
+ * });
19
+ * await beneficiaries.getBeneficiary({
20
+ * beneficiarySettings: { beneficiaryId: '...' },
21
+ * operationSettings: { proxyEndpointDescriptor }
22
+ * });
13
23
  * ```
24
+ *
25
+ * Note: The `trustBeneficiaries` function requires UI elements and is only
26
+ * available in the client-side version.
14
27
  */
15
28
  export declare const beneficiaries: {
16
- getBeneficiaries: typeof import("./beneficiaries").getBeneficiaries;
17
- getBeneficiary: typeof import("./beneficiaries").getBeneficiary;
18
- addBeneficiary: typeof import("./beneficiaries").addBeneficiary;
19
- updateBeneficiary: typeof import("./beneficiaries").updateBeneficiary;
20
- untrustBeneficiaries: typeof import("./beneficiaries").untrustBeneficiaries;
29
+ getBeneficiaries: typeof getBeneficiaries;
30
+ getBeneficiary: typeof getBeneficiary;
31
+ addBeneficiary: typeof addBeneficiary;
32
+ updateBeneficiary: typeof updateBeneficiary;
33
+ trustBeneficiaries: typeof trustBeneficiaries;
34
+ untrustBeneficiaries: typeof untrustBeneficiaries;
21
35
  };
36
+ export type * from './shared/beneficiaries.types';
37
+ export type { ClientOperationSettings, ClientOperationSettingsWithUI, } from '@validation/operation-settings-validation';
22
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/index.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa;;;;;;CAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,aAAa;;;;;;;CAOzB,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { addBeneficiary, getBeneficiaries, getBeneficiary, untrustBeneficiaries, updateBeneficiary } from './server/beneficiaries.server';
2
+ /**
3
+ * The beneficiaries namespace contains all the server-side functions related to beneficiary operations.
4
+ * This version uses access token-based authentication and is designed for server environments.
5
+ *
6
+ * For client-side operations using proxy endpoints, import from `'@qonto/embed-sdk/beneficiaries'`.
7
+ *
8
+ * It can be accessed like this:
9
+ * ```ts
10
+ * import { beneficiaries } from `'@qonto/embed-sdk/server/beneficiaries'`;
11
+ * ```
12
+ *
13
+ * Then, the beneficiaries object contains the functions to perform beneficiary operations:
14
+ * ```ts
15
+ * await beneficiaries.getBeneficiaries({
16
+ * operationSettings: { accessToken: 'your-token' }
17
+ * });
18
+ * await beneficiaries.getBeneficiary({
19
+ * beneficiarySettings: { beneficiaryId: '...' },
20
+ * operationSettings: { accessToken: 'your-token' }
21
+ * });
22
+ * ```
23
+ *
24
+ * Note: The `trustBeneficiaries` function is NOT available in the server-side API as it
25
+ * requires UI elements (iframe/SCA). Use the client-side version for this operation.
26
+ */
27
+ export declare const beneficiaries: {
28
+ getBeneficiaries: typeof getBeneficiaries;
29
+ getBeneficiary: typeof getBeneficiary;
30
+ addBeneficiary: typeof addBeneficiary;
31
+ updateBeneficiary: typeof updateBeneficiary;
32
+ untrustBeneficiaries: typeof untrustBeneficiaries;
33
+ };
34
+ export type * from './shared/beneficiaries.types';
35
+ export type { ServerOperationSettings } from '@validation/operation-settings-validation';
36
+ //# sourceMappingURL=index.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC"}