@qonto/embed-sdk 0.60.0 → 0.62.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 (177) hide show
  1. package/dist/common/operation-settings/operation-settings.d.ts.map +1 -1
  2. package/dist/index.umd.js +4 -4
  3. package/dist/mocks/handlers.d.ts +2 -2
  4. package/dist/mocks/handlers.d.ts.map +1 -1
  5. package/dist/organizations/client/organizations.client.d.ts +67 -0
  6. package/dist/organizations/client/organizations.client.d.ts.map +1 -0
  7. package/dist/organizations/client/organizations.client.test.d.ts +2 -0
  8. package/dist/organizations/client/organizations.client.test.d.ts.map +1 -0
  9. package/dist/organizations/index.d.ts +24 -4
  10. package/dist/organizations/index.d.ts.map +1 -1
  11. package/dist/organizations/index.server.d.ts +32 -0
  12. package/dist/organizations/index.server.d.ts.map +1 -0
  13. package/dist/organizations/server/organizations.server.d.ts +49 -0
  14. package/dist/organizations/server/organizations.server.d.ts.map +1 -0
  15. package/dist/organizations/server/organizations.server.test.d.ts +2 -0
  16. package/dist/organizations/server/organizations.server.test.d.ts.map +1 -0
  17. package/dist/organizations/shared/organizations.api.d.ts.map +1 -0
  18. package/dist/organizations/shared/organizations.serializer.d.ts.map +1 -0
  19. package/dist/organizations/shared/organizations.shared.test.d.ts +2 -0
  20. package/dist/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  21. package/dist/organizations/shared/organizations.types.d.ts.map +1 -0
  22. package/dist/server/common/operation-settings/operation-settings.d.ts.map +1 -1
  23. package/dist/server/index.server.umd.js +1 -1
  24. package/dist/server/mocks/handlers.d.ts +2 -2
  25. package/dist/server/mocks/handlers.d.ts.map +1 -1
  26. package/dist/server/organizations/client/organizations.client.d.ts +67 -0
  27. package/dist/server/organizations/client/organizations.client.d.ts.map +1 -0
  28. package/dist/server/organizations/client/organizations.client.test.d.ts +2 -0
  29. package/dist/server/organizations/client/organizations.client.test.d.ts.map +1 -0
  30. package/dist/server/organizations/index.d.ts +24 -4
  31. package/dist/server/organizations/index.d.ts.map +1 -1
  32. package/dist/server/organizations/index.server.d.ts +32 -0
  33. package/dist/server/organizations/index.server.d.ts.map +1 -0
  34. package/dist/server/organizations/server/organizations.server.d.ts +49 -0
  35. package/dist/server/organizations/server/organizations.server.d.ts.map +1 -0
  36. package/dist/server/organizations/server/organizations.server.test.d.ts +2 -0
  37. package/dist/server/organizations/server/organizations.server.test.d.ts.map +1 -0
  38. package/dist/server/organizations/shared/organizations.api.d.ts.map +1 -0
  39. package/dist/server/organizations/shared/organizations.serializer.d.ts.map +1 -0
  40. package/dist/server/organizations/shared/organizations.shared.test.d.ts +2 -0
  41. package/dist/server/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  42. package/dist/server/organizations/shared/organizations.types.d.ts.map +1 -0
  43. package/dist/server/src/common/operation-settings/operation-settings.js +1 -1
  44. package/dist/server/transactions/{transactions.d.ts → client/transactions.client.d.ts} +33 -17
  45. package/dist/server/transactions/client/transactions.client.d.ts.map +1 -0
  46. package/dist/server/transactions/client/transactions.client.test.d.ts +2 -0
  47. package/dist/server/transactions/client/transactions.client.test.d.ts.map +1 -0
  48. package/dist/server/transactions/index.d.ts +14 -16
  49. package/dist/server/transactions/index.d.ts.map +1 -1
  50. package/dist/server/transactions/index.server.d.ts +45 -0
  51. package/dist/server/transactions/index.server.d.ts.map +1 -0
  52. package/dist/server/transactions/server/transactions.server.d.ts +70 -0
  53. package/dist/server/transactions/server/transactions.server.d.ts.map +1 -0
  54. package/dist/server/transactions/server/transactions.server.test.d.ts +2 -0
  55. package/dist/server/transactions/server/transactions.server.test.d.ts.map +1 -0
  56. package/dist/server/transactions/shared/transactions.api.d.ts.map +1 -0
  57. package/dist/server/transactions/shared/transactions.serializer.d.ts.map +1 -0
  58. package/dist/server/transactions/shared/transactions.shared.test.d.ts +2 -0
  59. package/dist/server/transactions/shared/transactions.shared.test.d.ts.map +1 -0
  60. package/dist/server/transactions/shared/transactions.types.d.ts.map +1 -0
  61. package/dist/server/transactions/shared/transactions.validation.d.ts +3 -0
  62. package/dist/server/transactions/shared/transactions.validation.d.ts.map +1 -0
  63. package/dist/server/types/types.public-api.d.ts +2 -2
  64. package/dist/server/types/types.public-api.d.ts.map +1 -1
  65. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  66. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  67. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
  68. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  69. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +1 -1
  70. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  71. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  72. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  73. package/dist/server/ui/ui-elements/transaction-list/create-transaction-list-element.d.ts +1 -1
  74. package/dist/server/ui/ui-elements/transaction-list/create-transaction-list-element.d.ts.map +1 -1
  75. package/dist/server/ui/ui-elements/transaction-list/transaction-list.d.ts.map +1 -1
  76. package/dist/src/common/operation-settings/operation-settings.js +1 -1
  77. package/dist/src/organizations/client/organizations.client.js +1 -0
  78. package/dist/src/organizations/index.js +1 -1
  79. package/dist/src/organizations/shared/organizations.api.js +1 -0
  80. package/dist/src/transactions/client/transactions.client.js +1 -0
  81. package/dist/src/transactions/index.js +1 -1
  82. package/dist/src/transactions/shared/transactions.api.js +1 -0
  83. package/dist/src/transactions/shared/transactions.validation.js +1 -0
  84. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.js +9 -9
  85. package/dist/src/ui/ui-elements/transaction-list/transaction-list.js +2 -2
  86. package/dist/transactions/{transactions.d.ts → client/transactions.client.d.ts} +33 -17
  87. package/dist/transactions/client/transactions.client.d.ts.map +1 -0
  88. package/dist/transactions/client/transactions.client.test.d.ts +2 -0
  89. package/dist/transactions/client/transactions.client.test.d.ts.map +1 -0
  90. package/dist/transactions/index.d.ts +14 -16
  91. package/dist/transactions/index.d.ts.map +1 -1
  92. package/dist/transactions/index.server.d.ts +45 -0
  93. package/dist/transactions/index.server.d.ts.map +1 -0
  94. package/dist/transactions/server/transactions.server.d.ts +70 -0
  95. package/dist/transactions/server/transactions.server.d.ts.map +1 -0
  96. package/dist/transactions/server/transactions.server.test.d.ts +2 -0
  97. package/dist/transactions/server/transactions.server.test.d.ts.map +1 -0
  98. package/dist/transactions/shared/transactions.api.d.ts.map +1 -0
  99. package/dist/transactions/shared/transactions.serializer.d.ts.map +1 -0
  100. package/dist/transactions/shared/transactions.shared.test.d.ts +2 -0
  101. package/dist/transactions/shared/transactions.shared.test.d.ts.map +1 -0
  102. package/dist/transactions/shared/transactions.types.d.ts.map +1 -0
  103. package/dist/transactions/shared/transactions.validation.d.ts +3 -0
  104. package/dist/transactions/shared/transactions.validation.d.ts.map +1 -0
  105. package/dist/types/types.public-api.d.ts +2 -2
  106. package/dist/types/types.public-api.d.ts.map +1 -1
  107. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  108. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  109. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
  110. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  111. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +1 -1
  112. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  113. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  114. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  115. package/dist/ui/ui-elements/transaction-list/create-transaction-list-element.d.ts +1 -1
  116. package/dist/ui/ui-elements/transaction-list/create-transaction-list-element.d.ts.map +1 -1
  117. package/dist/ui/ui-elements/transaction-list/transaction-list.d.ts.map +1 -1
  118. package/package.json +9 -1
  119. package/dist/organizations/organizations.api.d.ts.map +0 -1
  120. package/dist/organizations/organizations.d.ts +0 -29
  121. package/dist/organizations/organizations.d.ts.map +0 -1
  122. package/dist/organizations/organizations.public-api.d.ts +0 -5
  123. package/dist/organizations/organizations.public-api.d.ts.map +0 -1
  124. package/dist/organizations/organizations.serializer.d.ts.map +0 -1
  125. package/dist/organizations/organizations.test.d.ts +0 -2
  126. package/dist/organizations/organizations.test.d.ts.map +0 -1
  127. package/dist/organizations/organizations.types.d.ts.map +0 -1
  128. package/dist/server/organizations/organizations.api.d.ts.map +0 -1
  129. package/dist/server/organizations/organizations.d.ts +0 -29
  130. package/dist/server/organizations/organizations.d.ts.map +0 -1
  131. package/dist/server/organizations/organizations.public-api.d.ts +0 -5
  132. package/dist/server/organizations/organizations.public-api.d.ts.map +0 -1
  133. package/dist/server/organizations/organizations.serializer.d.ts.map +0 -1
  134. package/dist/server/organizations/organizations.test.d.ts +0 -2
  135. package/dist/server/organizations/organizations.test.d.ts.map +0 -1
  136. package/dist/server/organizations/organizations.types.d.ts.map +0 -1
  137. package/dist/server/transactions/transactions.api.d.ts.map +0 -1
  138. package/dist/server/transactions/transactions.d.ts.map +0 -1
  139. package/dist/server/transactions/transactions.public-api.d.ts +0 -8
  140. package/dist/server/transactions/transactions.public-api.d.ts.map +0 -1
  141. package/dist/server/transactions/transactions.serializer.d.ts.map +0 -1
  142. package/dist/server/transactions/transactions.test.d.ts +0 -2
  143. package/dist/server/transactions/transactions.test.d.ts.map +0 -1
  144. package/dist/server/transactions/transactions.types.d.ts.map +0 -1
  145. package/dist/server/transactions/transactions.validation.d.ts +0 -3
  146. package/dist/server/transactions/transactions.validation.d.ts.map +0 -1
  147. package/dist/src/organizations/organizations.api.js +0 -1
  148. package/dist/src/organizations/organizations.js +0 -1
  149. package/dist/src/organizations/organizations.public-api.js +0 -1
  150. package/dist/src/transactions/transactions.api.js +0 -1
  151. package/dist/src/transactions/transactions.js +0 -1
  152. package/dist/src/transactions/transactions.public-api.js +0 -1
  153. package/dist/src/transactions/transactions.validation.js +0 -1
  154. package/dist/transactions/transactions.api.d.ts.map +0 -1
  155. package/dist/transactions/transactions.d.ts.map +0 -1
  156. package/dist/transactions/transactions.public-api.d.ts +0 -8
  157. package/dist/transactions/transactions.public-api.d.ts.map +0 -1
  158. package/dist/transactions/transactions.serializer.d.ts.map +0 -1
  159. package/dist/transactions/transactions.test.d.ts +0 -2
  160. package/dist/transactions/transactions.test.d.ts.map +0 -1
  161. package/dist/transactions/transactions.types.d.ts.map +0 -1
  162. package/dist/transactions/transactions.validation.d.ts +0 -3
  163. package/dist/transactions/transactions.validation.d.ts.map +0 -1
  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/organizations/{organizations.api.d.ts → shared/organizations.api.d.ts} +0 -0
  168. /package/dist/server/organizations/{organizations.serializer.d.ts → shared/organizations.serializer.d.ts} +0 -0
  169. /package/dist/server/organizations/{organizations.types.d.ts → shared/organizations.types.d.ts} +0 -0
  170. /package/dist/server/transactions/{transactions.api.d.ts → shared/transactions.api.d.ts} +0 -0
  171. /package/dist/server/transactions/{transactions.serializer.d.ts → shared/transactions.serializer.d.ts} +0 -0
  172. /package/dist/server/transactions/{transactions.types.d.ts → shared/transactions.types.d.ts} +0 -0
  173. /package/dist/src/organizations/{organizations.serializer.js → shared/organizations.serializer.js} +0 -0
  174. /package/dist/src/transactions/{transactions.serializer.js → shared/transactions.serializer.js} +0 -0
  175. /package/dist/transactions/{transactions.api.d.ts → shared/transactions.api.d.ts} +0 -0
  176. /package/dist/transactions/{transactions.serializer.d.ts → shared/transactions.serializer.d.ts} +0 -0
  177. /package/dist/transactions/{transactions.types.d.ts → shared/transactions.types.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import{__decorate as e}from"../../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import{msg as t}from"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as o}from"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as n}from"../../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as i}from"../../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as a}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as s}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as r}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{VOP_CHECK_RESULTS as c}from"../../../../common/constants.js";import{getBankAccounts as l}from"../../../../organizations/organizations.js";import{iconCheckmarkRoundedFilled as d}from"../../../customizable-components/icons/icon-checkmark-rounded-filled.js";import{iconWarning as m}from"../../../customizable-components/icons/icon-warning.js";import{setLocale as p}from"../../localize/configure-localization.js";import{SEPA_TRANSFER_PAGES as u}from"../sepa-transfer-creation.js";import{getAmountErrorMessage as h,getReferenceErrorMessage as f}from"./transfer-details-page-utils.js";import{transferDetailsPageStyles as b}from"./transfer-details-page.styles.js";import{TransferDetailsSubmittedEvent as v}from"../sepa-transfer-creation.events.js";import"../../../customizable-components/styles/styles.css.js";import"../../../customizable-components/text/qonto-text-heading.js";import"../../../customizable-components/button/qonto-button.js";import"../../../customizable-components/skeleton-loader/qonto-skeleton-loader-line.js";import"../../../customizable-components/beneficiary-card/qonto-beneficiary-card.js";import"../../../customizable-components/text-field/qonto-text-field.js";import"../../../customizable-components/select-field/qonto-select-field.js";import"../../../customizable-components/select-field/qonto-option.js";import"../../../customizable-components/amount-field/qonto-amount-field.js";let y=class extends i{constructor(){super(...arguments),this.locale="en",this.transferAmount=0,this.transferReference="",this.isLoadingVop=!1,this.bankAccounts=[],this.isLoading=!1,this.amountTouched=!1,this.referenceTouched=!1}connectedCallback(){super.connectedCallback(),p(this.locale),this.fetchBankAccounts()}updated(e){e.has("locale")&&p(this.locale)}async fetchBankAccounts(){if(this.operationSettings){this.isLoading=!0,this.error=void 0;try{const e=await l(this.operationSettings);if(this.bankAccounts=e,e.length>0&&!this.accountToDebit){const t=e.find((e=>e.main));this.accountToDebit=t||e[0]}}catch(e){console.error("Failed to load bank accounts:",e),this.error=t("Failed to load bank accounts. Please try again.")}finally{this.isLoading=!1}}else console.error("operationSettings is required to fetch bank accounts")}handleAmountChange(e){this.transferAmount=Number(e.detail.value),this.amountTouched=!0}handleAmountBlur(){this.amountTouched=!0}handleReferenceChange(e){this.transferReference=e.target.value,this.referenceTouched=!0}handleReferenceBlur(){this.referenceTouched=!0}handlePrevious(){this.dispatchEvent(new CustomEvent("go-to-step",{bubbles:!0,composed:!0,detail:{step:u.BENEFICIARY_SELECTION}}))}handleSubmit(){this.transferAmount>0&&this.accountToDebit&&this.dispatchEvent(new v({accountToDebit:this.accountToDebit,amount:this.transferAmount.toString(),reference:this.transferReference}))}render(){const e=this.transferAmount<=0||!this.accountToDebit||this.transferAmount>(this.accountToDebit?.balance??0)||!this.transferReference;return n`
1
+ import{__decorate as e}from"../../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import{msg as t}from"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as o}from"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{organizations as n}from"../../../../organizations/index.js";import"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as i}from"../../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as a}from"../../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as r}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as c}from"../../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{VOP_CHECK_RESULTS as l}from"../../../../common/constants.js";import{iconCheckmarkRoundedFilled as d}from"../../../customizable-components/icons/icon-checkmark-rounded-filled.js";import{iconWarning as m}from"../../../customizable-components/icons/icon-warning.js";import{setLocale as p}from"../../localize/configure-localization.js";import{SEPA_TRANSFER_PAGES as u}from"../sepa-transfer-creation.js";import{getAmountErrorMessage as h,getReferenceErrorMessage as f}from"./transfer-details-page-utils.js";import{transferDetailsPageStyles as b}from"./transfer-details-page.styles.js";import{TransferDetailsSubmittedEvent as v}from"../sepa-transfer-creation.events.js";import"../../../customizable-components/styles/styles.css.js";import"../../../customizable-components/text/qonto-text-heading.js";import"../../../customizable-components/button/qonto-button.js";import"../../../customizable-components/skeleton-loader/qonto-skeleton-loader-line.js";import"../../../customizable-components/beneficiary-card/qonto-beneficiary-card.js";import"../../../customizable-components/text-field/qonto-text-field.js";import"../../../customizable-components/select-field/qonto-select-field.js";import"../../../customizable-components/select-field/qonto-option.js";import"../../../customizable-components/amount-field/qonto-amount-field.js";let y=class extends a{constructor(){super(...arguments),this.locale="en",this.transferAmount=0,this.transferReference="",this.isLoadingVop=!1,this.bankAccounts=[],this.isLoading=!1,this.amountTouched=!1,this.referenceTouched=!1}connectedCallback(){super.connectedCallback(),p(this.locale),this.fetchBankAccounts()}updated(e){e.has("locale")&&p(this.locale)}async fetchBankAccounts(){if(this.operationSettings){this.isLoading=!0,this.error=void 0;try{const e=await n.getBankAccounts({operationSettings:this.operationSettings});if(this.bankAccounts=e,e.length>0&&!this.accountToDebit){const t=e.find((e=>e.main));this.accountToDebit=t||e[0]}}catch(e){console.error("Failed to load bank accounts:",e),this.error=t("Failed to load bank accounts. Please try again.")}finally{this.isLoading=!1}}else console.error("operationSettings is required to fetch bank accounts")}handleAmountChange(e){this.transferAmount=Number(e.detail.value),this.amountTouched=!0}handleAmountBlur(){this.amountTouched=!0}handleReferenceChange(e){this.transferReference=e.target.value,this.referenceTouched=!0}handleReferenceBlur(){this.referenceTouched=!0}handlePrevious(){this.dispatchEvent(new CustomEvent("go-to-step",{bubbles:!0,composed:!0,detail:{step:u.BENEFICIARY_SELECTION}}))}handleSubmit(){this.transferAmount>0&&this.accountToDebit&&this.dispatchEvent(new v({accountToDebit:this.accountToDebit,amount:this.transferAmount.toString(),reference:this.transferReference}))}render(){const e=this.transferAmount<=0||!this.accountToDebit||this.transferAmount>(this.accountToDebit?.balance??0)||!this.transferReference;return i`
2
2
  <div data-step-container>
3
3
  <div data-step-header>
4
4
  <qonto-text-heading level="2"
@@ -11,29 +11,29 @@ import{__decorate as e}from"../../../../../node_modules/.pnpm/@rollup_plugin-typ
11
11
  .iban=${this.beneficiary?.iban||""}
12
12
  >
13
13
  <div slot="footer" data-vop-check-placeholder>
14
- ${this.isLoadingVop?n`
14
+ ${this.isLoadingVop?i`
15
15
  <qonto-skeleton-loader-line
16
16
  width="250px"
17
17
  ></qonto-skeleton-loader-line>
18
- `:this.vopResult?n`
19
- ${this.vopResult.matchResult===c.MATCH_RESULT_MATCH?n`
18
+ `:this.vopResult?i`
19
+ ${this.vopResult.matchResult===l.MATCH_RESULT_MATCH?i`
20
20
  <span data-vop-icon data-vop-success>
21
21
  ${d}
22
22
  </span>
23
23
  ${t("Name and IBAN match the beneficiary's account details.")}
24
- `:this.vopResult.matchResult===c.MATCH_RESULT_CLOSE_MATCH?n`
24
+ `:this.vopResult.matchResult===l.MATCH_RESULT_CLOSE_MATCH?i`
25
25
  <span data-vop-icon data-vop-warning>
26
26
  ${m}
27
27
  </span>
28
28
  ${t("Close match:")}
29
29
  ${this.vopResult.matchedName||this.beneficiary?.name}
30
- `:n`
30
+ `:i`
31
31
  <span data-vop-icon data-vop-warning>
32
32
  ${m}
33
33
  </span>
34
34
  ${t("No match found. Please verify the details.")}
35
35
  `}
36
- `:n`
36
+ `:i`
37
37
  <qonto-skeleton-loader-line
38
38
  width="250px"
39
39
  ></qonto-skeleton-loader-line>
@@ -50,7 +50,7 @@ import{__decorate as e}from"../../../../../node_modules/.pnpm/@rollup_plugin-typ
50
50
  ?disabled=${this.isLoading}
51
51
  @change=${e=>{const t=e.detail.value;this.accountToDebit=this.bankAccounts.find((e=>e.id===t))}}
52
52
  >
53
- ${this.bankAccounts.map((e=>n`
53
+ ${this.bankAccounts.map((e=>i`
54
54
  <qonto-option value="${e.id}">
55
55
  <div data-account-option>
56
56
  <span data-account-name>${e.name}</span>
@@ -103,4 +103,4 @@ import{__decorate as e}from"../../../../../node_modules/.pnpm/@rollup_plugin-typ
103
103
  </div>
104
104
  </form>
105
105
  </div>
106
- `}};y.styles=b,e([s({type:Object})],y.prototype,"operationSettings",void 0),e([s({type:String})],y.prototype,"locale",void 0),e([s({type:String})],y.prototype,"beneficiary",void 0),e([s({type:String})],y.prototype,"accountToDebit",void 0),e([s({type:Number})],y.prototype,"transferAmount",void 0),e([s({type:String})],y.prototype,"transferReference",void 0),e([s({type:Object})],y.prototype,"vopResult",void 0),e([s({type:Boolean})],y.prototype,"isLoadingVop",void 0),e([r()],y.prototype,"bankAccounts",void 0),e([r()],y.prototype,"isLoading",void 0),e([r()],y.prototype,"error",void 0),e([r()],y.prototype,"amountTouched",void 0),e([r()],y.prototype,"referenceTouched",void 0),y=e([o(),a("qonto-transfer-details-page")],y);export{y as TransferDetailsPage};
106
+ `}};y.styles=b,e([r({type:Object})],y.prototype,"operationSettings",void 0),e([r({type:String})],y.prototype,"locale",void 0),e([r({type:String})],y.prototype,"beneficiary",void 0),e([r({type:String})],y.prototype,"accountToDebit",void 0),e([r({type:Number})],y.prototype,"transferAmount",void 0),e([r({type:String})],y.prototype,"transferReference",void 0),e([r({type:Object})],y.prototype,"vopResult",void 0),e([r({type:Boolean})],y.prototype,"isLoadingVop",void 0),e([c()],y.prototype,"bankAccounts",void 0),e([c()],y.prototype,"isLoading",void 0),e([c()],y.prototype,"error",void 0),e([c()],y.prototype,"amountTouched",void 0),e([c()],y.prototype,"referenceTouched",void 0),y=e([o(),s("qonto-transfer-details-page")],y);export{y as TransferDetailsPage};
@@ -1,4 +1,4 @@
1
- import{__decorate as t}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import{str as e}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js";import{msg as o}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as i}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as n}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{getTransactions as d}from"../../../transactions/transactions.js";import{formatDate as p}from"../../customizable-components/utils/format-date.js";import{TransactionSelectedEvent as m}from"./transaction-list.events.js";import{tableStyles as c}from"../../customizable-components/styles/component-styles/table-styles.js";import{renderLoadingTableRowsMarkup as h}from"../list-utils/list.utils.js";import{setLocale as u,getLocale as g}from"../localize/configure-localization.js";import"../../customizable-components/styles/styles.css.js";import"../../customizable-components/button/qonto-button.js";import"../../customizable-components/text/qonto-text-body.js";let y=class extends n{constructor(){super(...arguments),this.isLoading=!1}connectedCallback(){super.connectedCallback(),u(this.operationSettings?.locale||"en"),this.fetchTransactions()}updated(t){t.has("locale")&&u(this.operationSettings?.locale||"en")}async fetchTransactions(t){if(this.operationSettings){this.isLoading=!0,this.error=void 0;try{const{paginationSettings:e={}}=this.operationSettings,o=await d({transactionSettings:this.transactionSettings,operationSettings:{...this.operationSettings,paginationSettings:{page:t??e.page??1,itemsPerPage:e.itemsPerPage??20}}});this.transactions=o.transactions,this.paginationState=o.meta}catch(t){console.error("Failed to load transactions:",t),this.error=o("Failed to load transactions. Please try again.")}finally{this.isLoading=!1}}else console.error("operationSettings is required to fetch transfers")}handleRowClick(t){this.dispatchEvent(new m({transaction:t}))}handlePreviousPage(){this.paginationState?.previousPage&&(this.transactions=void 0,this.fetchTransactions(this.paginationState.previousPage))}handleNextPage(){this.paginationState?.nextPage&&(this.transactions=void 0,this.fetchTransactions(this.paginationState.nextPage))}render(){return this.error?a`<qonto-text-body
1
+ import{__decorate as t}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import{str as e}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js";import{msg as o}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import{localized as i}from"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js";import"../../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{transactions as n}from"../../../transactions/index.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as s}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as r}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{state as d}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js";import{formatDate as p}from"../../customizable-components/utils/format-date.js";import{TransactionSelectedEvent as m}from"./transaction-list.events.js";import{tableStyles as c}from"../../customizable-components/styles/component-styles/table-styles.js";import{renderLoadingTableRowsMarkup as h}from"../list-utils/list.utils.js";import{setLocale as u,getLocale as g}from"../localize/configure-localization.js";import"../../customizable-components/styles/styles.css.js";import"../../customizable-components/button/qonto-button.js";import"../../customizable-components/text/qonto-text-body.js";let y=class extends s{constructor(){super(...arguments),this.isLoading=!1}connectedCallback(){super.connectedCallback(),u(this.operationSettings?.locale||"en"),this.fetchTransactions()}updated(t){t.has("locale")&&u(this.operationSettings?.locale||"en")}async fetchTransactions(t){if(this.operationSettings){this.isLoading=!0,this.error=void 0;try{const{paginationSettings:e={}}=this.operationSettings,o=await n.getTransactions({transactionSettings:this.transactionSettings,operationSettings:{proxyRequestFunction:this.operationSettings.proxyRequestFunction,proxyEndpointDescriptor:this.operationSettings.proxyEndpointDescriptor,locale:this.operationSettings.locale,paginationSettings:{page:t??e.page??1,itemsPerPage:e.itemsPerPage??20}}});this.transactions=o.transactions,this.paginationState=o.meta}catch(t){console.error("Failed to load transactions:",t),this.error=o("Failed to load transactions. Please try again.")}finally{this.isLoading=!1}}else console.error("operationSettings is required to fetch transfers")}handleRowClick(t){this.dispatchEvent(new m({transaction:t}))}handlePreviousPage(){this.paginationState?.previousPage&&(this.transactions=void 0,this.fetchTransactions(this.paginationState.previousPage))}handleNextPage(){this.paginationState?.nextPage&&(this.transactions=void 0,this.fetchTransactions(this.paginationState.nextPage))}render(){return this.error?a`<qonto-text-body
2
2
  data-variant="error"
3
3
  data-display-level="body"
4
4
  >${this.error}</qonto-text-body
@@ -47,4 +47,4 @@ import{__decorate as t}from"../../../../node_modules/.pnpm/@rollup_plugin-typesc
47
47
  >${o("Next")}</qonto-button
48
48
  </div>
49
49
  </div>`:""}
50
- `}};y.styles=c,t([l({type:Object})],y.prototype,"operationSettings",void 0),t([l({type:Object})],y.prototype,"transactionSettings",void 0),t([r()],y.prototype,"transactions",void 0),t([r()],y.prototype,"paginationState",void 0),t([r()],y.prototype,"isLoading",void 0),t([r()],y.prototype,"error",void 0),y=t([i(),s("qonto-transaction-list")],y);export{y as TransactionList};
50
+ `}};y.styles=c,t([r({type:Object})],y.prototype,"operationSettings",void 0),t([r({type:Object})],y.prototype,"transactionSettings",void 0),t([d()],y.prototype,"transactions",void 0),t([d()],y.prototype,"paginationState",void 0),t([d()],y.prototype,"isLoading",void 0),t([d()],y.prototype,"error",void 0),y=t([i(),l("qonto-transaction-list")],y);export{y as TransactionList};
@@ -1,5 +1,5 @@
1
- import type { OperationSettings } from '@validation/operation-settings-validation';
2
- import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction } from './transactions.types';
1
+ import { type ClientOperationSettings } from '@validation/operation-settings-validation';
2
+ import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction } from '../shared/transactions.types';
3
3
  /**
4
4
  * This is the common parameter format all the transaction functions expect
5
5
  * as their only parameter. It consists of a `transactionSettings` object and an
@@ -7,6 +7,11 @@ import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSe
7
7
  * properties will be different depending on the function being called. Read the
8
8
  * docs of each transaction related function to see the expected properties of
9
9
  * the `transactionSettings` object.
10
+ *
11
+ * @remarks
12
+ * This is the client-side implementation that uses the proxy endpoint mechanism.
13
+ * For security, never expose access tokens in the browser.
14
+ * Use "\@qonto/embed-sdk/transactions/server" only in server-side/backend environments.
10
15
  */
11
16
  export interface TransactionParams<T> {
12
17
  /**
@@ -15,42 +20,53 @@ export interface TransactionParams<T> {
15
20
  * this object.
16
21
  */
17
22
  transactionSettings?: T;
18
- operationSettings?: OperationSettings;
23
+ /**
24
+ * Client-side operation settings. Must include `proxyEndpointDescriptor`.
25
+ */
26
+ operationSettings?: ClientOperationSettings;
19
27
  }
20
28
  /**
21
29
  * Fetches the list of transactions for the current user with optional filtering.
30
+ *
31
+ * @remarks
32
+ * This is the client-side implementation that requires `proxyEndpointDescriptor`.
33
+ * For security, never expose access tokens in the browser.
34
+ * Use "\@qonto/embed-sdk/transactions/server" only in server-side/backend environments.
35
+ *
22
36
  * @param getTransactionsParams - An object containing:
23
37
  * - `transactionSettings`: An object with optional filtering parameters such as
24
38
  * `bankAccountId`, `iban`, `status`, `side`, `operationType`, date ranges, and
25
39
  * attachment filters.
26
- * - `operationSettings`: An object with operation-level settings such as
27
- * `proxyRequestFunction` (preferred over using the access token flow),
28
- * `accessToken`, `stagingToken`, `mfaPreference`, and other optional
29
- * parameters. This function also allows managing pagination by passing the
30
- * `paginationSettings` property under `operationSettings`, which accepts an
31
- * object with the page and itemsPerPage properties. See {@link TransactionParams}.
40
+ * - `operationSettings`: An object with operation-level settings including
41
+ * `proxyEndpointDescriptor` (required), and optional
42
+ * `paginationSettings` for managing pagination (accepts an object with `page`
43
+ * and `itemsPerPage` properties). See {@link TransactionParams}.
32
44
  * @returns A promise that resolves to an array of transactions and a `meta`
33
45
  * object containing pagination state.
34
46
  * @throws `InvalidParametersError` If any of the values provided under
35
47
  * operationSettings or transactionSettings is invalid.
36
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and
37
- * `accessToken` are invalid or missing within `operationSettings`.
48
+ * @throws `AuthenticationError` If
49
+ * `proxyEndpointDescriptor` is missing within `operationSettings`.
38
50
  * @throws `EmbedApiError` If the API request fails or returns an error.
39
51
  */
40
52
  export declare function getTransactions(getTransactionsParams?: TransactionParams<GetTransactionsSettings>): Promise<GetTransactionsResponse>;
41
53
  /**
42
54
  * Fetches a single transaction of the current user by ID.
55
+ *
56
+ * @remarks
57
+ * This is the client-side implementation that requires `proxyEndpointDescriptor`.
58
+ * For security, never expose access tokens in the browser.
59
+ * Use "\@qonto/embed-sdk/transactions/server" only in server-side/backend environments.
60
+ *
43
61
  * @param getTransactionParams - An object containing:
44
62
  * - `transactionSettings`: An object with the `transactionId` property (string).
45
- * - `operationSettings`: An object with operation-level settings such as
46
- * `proxyRequestFunction` (preferred over using the access token flow),
47
- * `accessToken`, `stagingToken`, `mfaPreference`, and other optional parameters.
63
+ * - `operationSettings`: An object with operation-level settings including
64
+ * `proxyEndpointDescriptor` (required).
48
65
  * See {@link TransactionParams}.
49
66
  * @returns A promise that resolves to a transaction.
50
67
  * @throws `InvalidParametersError` If the `transactionId` parameter is not a string or is missing.
51
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and `accessToken` are invalid or missing within
52
- * `operationSettings`.
68
+ * @throws `AuthenticationError` If `proxyEndpointDescriptor` is missing within `operationSettings`.
53
69
  * @throws `EmbedApiError` If the API request fails or returns an error.
54
70
  */
55
71
  export declare function getTransaction({ transactionSettings, operationSettings, }: TransactionParams<GetTransactionSettings>): Promise<Transaction>;
56
- //# sourceMappingURL=transactions.d.ts.map
72
+ //# sourceMappingURL=transactions.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.client.d.ts","sourceRoot":"","sources":["../../../src/transactions/client/transactions.client.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,2CAA2C,CAAC;AAOnD,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EAEZ,MAAM,8BAA8B,CAAC;AAGtC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,eAAe,CACnC,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,GACjE,OAAO,CAAC,uBAAuB,CAAC,CA6BlC;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAwBlE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=transactions.client.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.client.test.d.ts","sourceRoot":"","sources":["../../../src/transactions/client/transactions.client.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,10 @@
1
+ import { getTransaction, getTransactions } from './client/transactions.client';
1
2
  /**
2
- * The transactions namespace contains all the functions related to transaction operations.
3
- * It provides functionality to fetch and filter transactions for the authenticated user.
3
+ * The transactions namespace contains all the client-side functions related to transaction operations.
4
+ * This version uses proxy-based authentication (proxyEndpointDescriptor)
5
+ * and is designed for browser environments.
6
+ *
7
+ * For server-side operations using access tokens, import from '\@qonto/embed-sdk/server/transactions'.
4
8
  *
5
9
  * It can be accessed like this:
6
10
  * ```ts
@@ -17,12 +21,9 @@
17
21
  * bankAccountId: 'account_123'
18
22
  * },
19
23
  * operationSettings: {
20
- * // For client side authentication, you can provide a proxy function (recommended for
21
- * // security reasons). Read more in <a href="https://docs.qonto.com/api-reference/sdk-libraries/doc-pages/proxy-endpoint-implementation">Proxy request implementation</a>
22
- * // article.
23
- * proxyRequestFunction: async (payload: string) => {}
24
- * // Or, for server side authentication, you can provide an access token directly
25
- * accessToken: 'your_token'
24
+ * // For client side authentication, you must provide a proxy endpoint descriptor (recommended for
25
+ * // security reasons). Read more in the Proxy endpoint descriptor implementation documentation.
26
+ * // proxyEndpointDescriptor: { path: '/v2/transactions', method: 'GET' }
26
27
  * }
27
28
  * });
28
29
  *
@@ -30,18 +31,15 @@
30
31
  * const transaction = await transactions.getTransaction({
31
32
  * transactionSettings: { transactionId: 'txn_123' },
32
33
  * operationSettings: {
33
- * // For client side authentication, you can provide a proxy function (recommended for
34
- * // security reasons). Read more in <a href="https://docs.qonto.com/api-reference/sdk-libraries/doc-pages/proxy-endpoint-implementation">Proxy request implementation</a>
35
- * // article.
36
- * proxyRequestFunction: async (payload: string) => {}
37
- * // Or, for server side authentication, you can provide an access token directly
38
- * accessToken: 'your_token'
34
+ * proxyEndpointDescriptor: { path: '/v2/transactions/:transactionId', method: 'GET' }
39
35
  * }
40
36
  * });
41
37
  * ```
42
38
  */
43
39
  export declare const transactions: {
44
- getTransactions: typeof import("./transactions").getTransactions;
45
- getTransaction: typeof import("./transactions").getTransaction;
40
+ getTransactions: typeof getTransactions;
41
+ getTransaction: typeof getTransaction;
46
42
  };
43
+ export type * from './shared/transactions.types';
44
+ export type { ClientOperationSettings, ClientOperationSettingsWithUI, } from '@validation/operation-settings-validation';
47
45
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transactions/index.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,eAAO,MAAM,YAAY;;;CAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transactions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAGF,mBAAmB,6BAA6B,CAAC;AACjD,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { getTransaction, getTransactions } from './server/transactions.server';
2
+ /**
3
+ * The transactions namespace contains all the server-side functions related to transaction operations.
4
+ * This version uses access token-based authentication and is designed for server environments.
5
+ *
6
+ * For client-side operations using proxy functions, import from '\@qonto/embed-sdk/transactions'.
7
+ *
8
+ * It can be accessed like this:
9
+ * ```ts
10
+ * import { transactions } from '@qonto/embed-sdk/server/transactions';
11
+ * ```
12
+ *
13
+ * Then, the transactions object contains the functions to perform transaction operations:
14
+ * ```ts
15
+ * // Fetch all transactions with optional filtering
16
+ * const { transactions: txns, meta } = await transactions.getTransactions({
17
+ * transactionSettings: {
18
+ * status: 'completed',
19
+ * side: 'debit',
20
+ * bankAccountId: 'account_123'
21
+ * },
22
+ * operationSettings: {
23
+ * // For server side authentication, you can provide an access token directly
24
+ * accessToken: 'your_token',
25
+ * // Optional staging token for testing
26
+ * stagingToken: 'staging_token'
27
+ * }
28
+ * });
29
+ *
30
+ * // Fetch a specific transaction by ID
31
+ * const transaction = await transactions.getTransaction({
32
+ * transactionSettings: { transactionId: 'txn_123' },
33
+ * operationSettings: {
34
+ * accessToken: 'your_token'
35
+ * }
36
+ * });
37
+ * ```
38
+ */
39
+ export declare const transactions: {
40
+ getTransactions: typeof getTransactions;
41
+ getTransaction: typeof getTransaction;
42
+ };
43
+ export type * from './shared/transactions.types';
44
+ export type { ServerOperationSettings } from '@validation/operation-settings-validation';
45
+ //# sourceMappingURL=index.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/transactions/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,eAAO,MAAM,YAAY;;;CAGxB,CAAC;AAGF,mBAAmB,6BAA6B,CAAC;AACjD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC"}
@@ -0,0 +1,70 @@
1
+ import type { ServerOperationSettings } from '@validation/operation-settings-validation';
2
+ import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction } from '../shared/transactions.types';
3
+ /**
4
+ * This is the common parameter format all the transaction functions expect
5
+ * as their only parameter. It consists of a `transactionSettings` object and an
6
+ * optional `operationSettings` object. The `transactionSettings` object's
7
+ * properties will be different depending on the function being called. Read the
8
+ * docs of each transaction related function to see the expected properties of
9
+ * the `transactionSettings` object.
10
+ *
11
+ * @remarks
12
+ * This is the server-side implementation that uses the access token flow.
13
+ * For client-side usage with proxy functions, import from '\@qonto/embed-sdk/transactions'.
14
+ */
15
+ export interface TransactionParams<T> {
16
+ /**
17
+ * An object with the parameters relevant to different transaction operations.
18
+ * Read the documentation of each function to see the expected properties of
19
+ * this object.
20
+ */
21
+ transactionSettings?: T;
22
+ /**
23
+ * Server-side operation settings. Can include `accessToken` and `stagingToken`.
24
+ * If not provided, falls back to globally configured authentication.
25
+ */
26
+ operationSettings?: ServerOperationSettings;
27
+ }
28
+ /**
29
+ * Fetches the list of transactions for the current user with optional filtering.
30
+ *
31
+ * @remarks
32
+ * This is the server-side implementation that uses access tokens. For client-side
33
+ * usage with proxy functions, import from '\@qonto/embed-sdk/transactions'.
34
+ *
35
+ * @param getTransactionsParams - An object containing:
36
+ * - `transactionSettings`: An object with optional filtering parameters such as
37
+ * `bankAccountId`, `iban`, `status`, `side`, `operationType`, date ranges, and
38
+ * attachment filters.
39
+ * - `operationSettings`: An object with operation-level settings including optional
40
+ * `accessToken` and `stagingToken`. Also allows managing pagination by passing the
41
+ * `paginationSettings` property, which accepts an object with `page` and
42
+ * `itemsPerPage` properties. See {@link TransactionParams}.
43
+ * @returns A promise that resolves to an array of transactions and a `meta`
44
+ * object containing pagination state.
45
+ * @throws `InvalidParametersError` If any of the values provided under
46
+ * operationSettings or transactionSettings is invalid.
47
+ * @throws `AuthenticationError` If no valid access token is available (neither in
48
+ * `operationSettings` nor globally configured).
49
+ * @throws `EmbedApiError` If the API request fails or returns an error.
50
+ */
51
+ export declare function getTransactions(getTransactionsParams?: TransactionParams<GetTransactionsSettings>): Promise<GetTransactionsResponse>;
52
+ /**
53
+ * Fetches a single transaction of the current user by ID.
54
+ *
55
+ * @remarks
56
+ * This is the server-side implementation that uses access tokens. For client-side
57
+ * usage with proxy functions, import from '\@qonto/embed-sdk/transactions'.
58
+ *
59
+ * @param getTransactionParams - An object containing:
60
+ * - `transactionSettings`: An object with the `transactionId` property (string).
61
+ * - `operationSettings`: An object with operation-level settings including optional
62
+ * `accessToken` and `stagingToken`. See {@link TransactionParams}.
63
+ * @returns A promise that resolves to a transaction.
64
+ * @throws `InvalidParametersError` If the `transactionId` parameter is not a string or is missing.
65
+ * @throws `AuthenticationError` If no valid access token is available (neither in
66
+ * `operationSettings` nor globally configured).
67
+ * @throws `EmbedApiError` If the API request fails or returns an error.
68
+ */
69
+ export declare function getTransaction({ transactionSettings, operationSettings, }: TransactionParams<GetTransactionSettings>): Promise<Transaction>;
70
+ //# sourceMappingURL=transactions.server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.server.d.ts","sourceRoot":"","sources":["../../../src/transactions/server/transactions.server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAOzF,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAGtC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,eAAe,CACnC,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,GACjE,OAAO,CAAC,uBAAuB,CAAC,CAqBlC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAalE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=transactions.server.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.server.test.d.ts","sourceRoot":"","sources":["../../../src/transactions/server/transactions.server.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.api.d.ts","sourceRoot":"","sources":["../../../src/transactions/shared/transactions.api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAEnF,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAE9B,UAAU,qBAAsB,SAAQ,uBAAuB;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC;AAED,UAAU,oBAAqB,SAAQ,sBAAsB;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,0BAA0B;IAClC,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED,KAAK,yBAAyB,GAAG,qBAAqB,GAAG,iBAAiB,CAAC;AAI3E,wBAAgB,0BAA0B,CAAC,EACzC,aAAa,EACb,IAAI,EACJ,MAAM,EACN,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,IAAI,EACJ,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,YAAY,GACb,EAAE,yBAAyB,GAAG,qBAAqB,CAqCnD;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,0BAA0B,CAAC,CAYrC;AAED,wBAAgB,yBAAyB,CAAC,EACxC,aAAa,EACb,WAAW,EACX,YAAY,GACb,EAAE,oBAAoB,GAAG,qBAAqB,CAW9C;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC,qBAAqB,CAAC,CAQhC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.serializer.d.ts","sourceRoot":"","sources":["../../../src/transactions/shared/transactions.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC3B,MAAM,sBAAsB,CAAC;AAE9B;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,EAAE,qBAAqB,GACrC,WAAW,CAkDb"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=transactions.shared.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.shared.test.d.ts","sourceRoot":"","sources":["../../../src/transactions/shared/transactions.shared.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.types.d.ts","sourceRoot":"","sources":["../../../src/transactions/shared/transactions.types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ import type { GetTransactionSettings } from './transactions.types';
2
+ export declare function validateGetTransactionParams(params: GetTransactionSettings | undefined): GetTransactionSettings;
3
+ //# sourceMappingURL=transactions.validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transactions.validation.d.ts","sourceRoot":"","sources":["../../../src/transactions/shared/transactions.validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAGnE,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,sBAAsB,GAAG,SAAS,GACzC,sBAAsB,CAiBxB"}
@@ -3,9 +3,9 @@ import type { Beneficiary, GetBeneficiariesResponse } from '@beneficiaries/share
3
3
  import type { Card, CardOrderSettings, PhysicalCardOrderSettings, VirtualCardOrderSettings } from '@cards/cards.types';
4
4
  import type { PaginationState } from '@common/api-pagination/api-pagination.types';
5
5
  import type { Locale } from '@common/locale/locale.types';
6
- import type { ACCOUNT_STATUS, BankAccount } from '@organizations/organizations.types';
6
+ import type { ACCOUNT_STATUS, BankAccount } from '@organizations/shared/organizations.types';
7
7
  import type { CreatePaymentLinkSettings, Item, PaymentLinkParams } from '@payment-links/payment-links.types';
8
8
  import type { CreateSepaTransferResponse, GetSepaTransfersResponse, NewSepaTransfer, SepaTransfer, SepaTransferStatus, VopCheckResult, VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
9
- import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction, TransactionDataObject } from '@transactions/transactions.types';
9
+ import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction, TransactionDataObject } from '@transactions/shared/transactions.types';
10
10
  export type { Card, VirtualCardOrderSettings, PhysicalCardOrderSettings, CardOrderSettings, Beneficiary, GetBeneficiariesResponse, SepaTransfer, SepaTransferStatus, NewSepaTransfer, GetSepaTransfersResponse, CreateSepaTransferResponse, Transaction, TransactionDataObject, GetTransactionsResponse, GetTransactionsSettings, GetTransactionSettings, VopVerificationResult, VopCheckResult, PaginationState, Locale, BankAccount, ACCOUNT_STATUS, Item, CreatePaymentLinkSettings, PaymentLinkParams, AuthLinkRequestParams, AuthLinkRequestResult, AuthLinkRequestSettings, PostAuthAction, };
11
11
  //# sourceMappingURL=types.public-api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,qCAAqC,CAAC;AAE7C,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACZ,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EACV,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EACV,0BAA0B,EAC1B,wBAAwB,EACxB,eAAe,EACf,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EACX,qBAAqB,EACtB,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
1
+ {"version":3,"file":"types.public-api.d.ts","sourceRoot":"","sources":["../../src/types/types.public-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,EACf,MAAM,qCAAqC,CAAC;AAE7C,OAAO,KAAK,EACV,WAAW,EACX,wBAAwB,EACzB,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,IAAI,EACJ,iBAAiB,EACjB,yBAAyB,EACzB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,yBAAyB,EACzB,IAAI,EACJ,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EACV,0BAA0B,EAC1B,wBAAwB,EACxB,eAAe,EACf,YAAY,EACZ,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,WAAW,EACX,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,IAAI,EACJ,wBAAwB,EACxB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,EACX,wBAAwB,EACxB,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,WAAW,EACX,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,MAAM,EACN,WAAW,EACX,cAAc,EACd,IAAI,EACJ,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,cAAc,GACf,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { BankAccount } from '@organizations/organizations.types.ts';
1
+ import type { BankAccount } from '@organizations/shared/organizations.types';
2
2
  interface AmountErrorMessageParams {
3
3
  amountTouched: boolean;
4
4
  transferAmount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-details-page-utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,UAAU,wBAAwB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,cAAc,EACd,cAAc,GACf,EAAE,wBAAwB,GAAG,MAAM,CAcnC;AAED,UAAU,2BAA2B;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,2BAA2B,GAAG,MAAM,CAUtC"}
1
+ {"version":3,"file":"transfer-details-page-utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,UAAU,wBAAwB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,cAAc,EACd,cAAc,GACf,EAAE,wBAAwB,GAAG,MAAM,CAcnC;AAED,UAAU,2BAA2B;IACnC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,2BAA2B,GAAG,MAAM,CAUtC"}
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
3
- import type { BankAccount } from '@organizations/organizations.types.ts';
3
+ import type { BankAccount } from '@organizations/shared/organizations.types';
4
4
  import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
5
5
  import type { OperationSettings } from '@validation/operation-settings-validation.ts';
6
6
  import '../../../customizable-components/styles/styles.css';
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAK7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAQtF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAE7E,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IAyB/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CA6IP"}
1
+ {"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAI7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAQtF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAE7E,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IA2B/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CA6IP"}
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
3
- import type { BankAccount } from '@organizations/organizations.types.ts';
3
+ import type { BankAccount } from '@organizations/shared/organizations.types';
4
4
  import type { VopVerificationResult } from '@sepa-transfers/shared/sepa-transfers.types';
5
5
  import type { OperationSettings } from '@validation/operation-settings-validation.ts';
6
6
  import '../../../customizable-components/styles/styles.css';
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAItF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAuGP"}
1
+ {"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAOzF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAItF,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AACjE,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAuGP"}
@@ -1,5 +1,5 @@
1
1
  import type { Beneficiary } from '@beneficiaries/shared/beneficiaries.types';
2
- import type { BankAccount } from '@organizations/organizations.types.ts';
2
+ import type { BankAccount } from '@organizations/shared/organizations.types';
3
3
  /**
4
4
  * Event detail for recipient info submitted (Step 1)
5
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"sepa-transfer-creation.events.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,iCAAiC,CAAC;gBACjF,MAAM,EAAE,iCAAiC;CAOtD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,WAAW,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,mCAAmC,CAAC;gBACrF,MAAM,EAAE,mCAAmC;CAOxD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;gBAC7E,MAAM,EAAE,+BAA+B;CAOpD"}
1
+ {"version":3,"file":"sepa-transfer-creation.events.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAE7E;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,iCAAiC,CAAC;gBACjF,MAAM,EAAE,iCAAiC;CAOtD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,WAAW,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,mCAAmC,CAAC;gBACrF,MAAM,EAAE,mCAAmC;CAOxD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;gBAC7E,MAAM,EAAE,+BAA+B;CAOpD"}
@@ -1,5 +1,5 @@
1
1
  import './transaction-list';
2
- import type { GetTransactionsSettings } from '@transactions/transactions.types';
2
+ import type { GetTransactionsSettings } from '@transactions/shared/transactions.types';
3
3
  import type { UIElementCreatorParams } from '@ui/ui-elements.types';
4
4
  /**
5
5
  * Creates and renders a transaction list UI element.
@@ -1 +1 @@
1
- {"version":3,"file":"create-transaction-list-element.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/transaction-list/create-transaction-list-element.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAyBxD"}
1
+ {"version":3,"file":"create-transaction-list-element.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/transaction-list/create-transaction-list-element.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAEvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAyBxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-list.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/transaction-list/transaction-list.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,uBAAuB,EAGxB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAMnF,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,uDAAuD,CAAC;AAE/D,qBAEa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,0BAAe;IAG5B,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAGzD,OAAO,CAAC,YAAY,CAA4B;IAGhD,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAElC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IA+B/B,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,cAAc;IAOtB,MAAM;CAsEP"}
1
+ {"version":3,"file":"transaction-list.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/transaction-list/transaction-list.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,uBAAuB,EAGxB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAKvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAMnF,OAAO,iDAAiD,CAAC;AACzD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,uDAAuD,CAAC;AAE/D,qBAEa,eAAgB,SAAQ,UAAU;IAC7C,MAAM,CAAC,MAAM,0BAAe;IAG5B,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,mBAAmB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAGzD,OAAO,CAAC,YAAY,CAA4B;IAGhD,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAElC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,iBAAiB;IAkC/B,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,cAAc;IAOtB,MAAM;CAsEP"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qonto/embed-sdk",
3
- "version": "0.60.0",
3
+ "version": "0.62.0",
4
4
  "description": "Library to embed Qonto features in your application",
5
5
  "type": "module",
6
6
  "exports": {
@@ -38,6 +38,10 @@
38
38
  "types": "./dist/transactions/index.d.ts",
39
39
  "import": "./dist/src/transactions/index.js"
40
40
  },
41
+ "./server/transactions": {
42
+ "types": "./dist/server/transactions/index.server.d.ts",
43
+ "import": "./dist/server/src/transactions/index.server.js"
44
+ },
41
45
  "./auth-links": {
42
46
  "types": "./dist/auth-links/index.d.ts",
43
47
  "import": "./dist/src/auth-links/index.js"
@@ -54,6 +58,10 @@
54
58
  "types": "./dist/organizations/index.d.ts",
55
59
  "import": "./dist/src/organizations/index.js"
56
60
  },
61
+ "./server/organizations": {
62
+ "types": "./dist/server/organizations/index.server.d.ts",
63
+ "import": "./dist/server/src/organizations/index.server.js"
64
+ },
57
65
  "./payment-links": {
58
66
  "types": "./dist/payment-links/index.d.ts",
59
67
  "import": "./dist/src/payment-links/index.js"
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../src/organizations/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"}