@qonto/embed-sdk 0.60.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 (92) hide show
  1. package/dist/index.umd.js +2 -2
  2. package/dist/mocks/handlers.d.ts +1 -1
  3. package/dist/mocks/handlers.d.ts.map +1 -1
  4. package/dist/organizations/client/organizations.client.d.ts +67 -0
  5. package/dist/organizations/client/organizations.client.d.ts.map +1 -0
  6. package/dist/organizations/client/organizations.client.test.d.ts +2 -0
  7. package/dist/organizations/client/organizations.client.test.d.ts.map +1 -0
  8. package/dist/organizations/index.d.ts +24 -4
  9. package/dist/organizations/index.d.ts.map +1 -1
  10. package/dist/organizations/index.server.d.ts +32 -0
  11. package/dist/organizations/index.server.d.ts.map +1 -0
  12. package/dist/organizations/server/organizations.server.d.ts +49 -0
  13. package/dist/organizations/server/organizations.server.d.ts.map +1 -0
  14. package/dist/organizations/server/organizations.server.test.d.ts +2 -0
  15. package/dist/organizations/server/organizations.server.test.d.ts.map +1 -0
  16. package/dist/organizations/shared/organizations.api.d.ts.map +1 -0
  17. package/dist/organizations/shared/organizations.serializer.d.ts.map +1 -0
  18. package/dist/organizations/shared/organizations.shared.test.d.ts +2 -0
  19. package/dist/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  20. package/dist/organizations/shared/organizations.types.d.ts.map +1 -0
  21. package/dist/server/mocks/handlers.d.ts +1 -1
  22. package/dist/server/mocks/handlers.d.ts.map +1 -1
  23. package/dist/server/organizations/client/organizations.client.d.ts +67 -0
  24. package/dist/server/organizations/client/organizations.client.d.ts.map +1 -0
  25. package/dist/server/organizations/client/organizations.client.test.d.ts +2 -0
  26. package/dist/server/organizations/client/organizations.client.test.d.ts.map +1 -0
  27. package/dist/server/organizations/index.d.ts +24 -4
  28. package/dist/server/organizations/index.d.ts.map +1 -1
  29. package/dist/server/organizations/index.server.d.ts +32 -0
  30. package/dist/server/organizations/index.server.d.ts.map +1 -0
  31. package/dist/server/organizations/server/organizations.server.d.ts +49 -0
  32. package/dist/server/organizations/server/organizations.server.d.ts.map +1 -0
  33. package/dist/server/organizations/server/organizations.server.test.d.ts +2 -0
  34. package/dist/server/organizations/server/organizations.server.test.d.ts.map +1 -0
  35. package/dist/server/organizations/shared/organizations.api.d.ts.map +1 -0
  36. package/dist/server/organizations/shared/organizations.serializer.d.ts.map +1 -0
  37. package/dist/server/organizations/shared/organizations.shared.test.d.ts +2 -0
  38. package/dist/server/organizations/shared/organizations.shared.test.d.ts.map +1 -0
  39. package/dist/server/organizations/shared/organizations.types.d.ts.map +1 -0
  40. package/dist/server/types/types.public-api.d.ts +1 -1
  41. package/dist/server/types/types.public-api.d.ts.map +1 -1
  42. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  43. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  44. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
  45. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  46. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +1 -1
  47. package/dist/server/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  48. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  49. package/dist/server/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  50. package/dist/src/organizations/client/organizations.client.js +1 -0
  51. package/dist/src/organizations/index.js +1 -1
  52. package/dist/src/organizations/shared/organizations.api.js +1 -0
  53. package/dist/src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.js +9 -9
  54. package/dist/types/types.public-api.d.ts +1 -1
  55. package/dist/types/types.public-api.d.ts.map +1 -1
  56. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts +1 -1
  57. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page-utils.d.ts.map +1 -1
  58. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +1 -1
  59. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -1
  60. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +1 -1
  61. package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -1
  62. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +1 -1
  63. package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -1
  64. package/package.json +5 -1
  65. package/dist/organizations/organizations.api.d.ts.map +0 -1
  66. package/dist/organizations/organizations.d.ts +0 -29
  67. package/dist/organizations/organizations.d.ts.map +0 -1
  68. package/dist/organizations/organizations.public-api.d.ts +0 -5
  69. package/dist/organizations/organizations.public-api.d.ts.map +0 -1
  70. package/dist/organizations/organizations.serializer.d.ts.map +0 -1
  71. package/dist/organizations/organizations.test.d.ts +0 -2
  72. package/dist/organizations/organizations.test.d.ts.map +0 -1
  73. package/dist/organizations/organizations.types.d.ts.map +0 -1
  74. package/dist/server/organizations/organizations.api.d.ts.map +0 -1
  75. package/dist/server/organizations/organizations.d.ts +0 -29
  76. package/dist/server/organizations/organizations.d.ts.map +0 -1
  77. package/dist/server/organizations/organizations.public-api.d.ts +0 -5
  78. package/dist/server/organizations/organizations.public-api.d.ts.map +0 -1
  79. package/dist/server/organizations/organizations.serializer.d.ts.map +0 -1
  80. package/dist/server/organizations/organizations.test.d.ts +0 -2
  81. package/dist/server/organizations/organizations.test.d.ts.map +0 -1
  82. package/dist/server/organizations/organizations.types.d.ts.map +0 -1
  83. package/dist/src/organizations/organizations.api.js +0 -1
  84. package/dist/src/organizations/organizations.js +0 -1
  85. package/dist/src/organizations/organizations.public-api.js +0 -1
  86. /package/dist/organizations/{organizations.api.d.ts → shared/organizations.api.d.ts} +0 -0
  87. /package/dist/organizations/{organizations.serializer.d.ts → shared/organizations.serializer.d.ts} +0 -0
  88. /package/dist/organizations/{organizations.types.d.ts → shared/organizations.types.d.ts} +0 -0
  89. /package/dist/server/organizations/{organizations.api.d.ts → shared/organizations.api.d.ts} +0 -0
  90. /package/dist/server/organizations/{organizations.serializer.d.ts → shared/organizations.serializer.d.ts} +0 -0
  91. /package/dist/server/organizations/{organizations.types.d.ts → shared/organizations.types.d.ts} +0 -0
  92. /package/dist/src/organizations/{organizations.serializer.js → shared/organizations.serializer.js} +0 -0
@@ -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"}
@@ -0,0 +1 @@
1
+ import{callProxyFunction as o}from"../../common/common.utils.js";import{validateClientOperationSettings as n}from"../../validation/operation-settings-validation.js";import{prepareGetBankAccounts as t,prepareGetOrganization as r}from"../shared/organizations.api.js";import{serializeBankAccount as i,serializeOrganization as e}from"../shared/organizations.serializer.js";const s=async({operationSettings:t})=>{const{stagingToken:i,proxyRequestFunction:s,proxyEndpointDescriptor:a}=n(t,"Client-side organizations operations require either proxyEndpointDescriptor or proxyRequestFunction."),p=r({stagingToken:i}),c=await o({proxyFunction:s,proxyEndpointDescriptor:a,networkCallDescriptor:p});return e(c.body.organization)},a=async({operationSettings:r})=>{const{stagingToken:e,proxyRequestFunction:s,proxyEndpointDescriptor:a}=n(r,"Client-side organizations operations require either proxyEndpointDescriptor or proxyRequestFunction."),p=t({stagingToken:e});return(await o({proxyFunction:s,proxyEndpointDescriptor:a,networkCallDescriptor:p})).body.bank_accounts.map(i)};export{a as getBankAccounts,s as getOrganization};
@@ -1 +1 @@
1
- import{organizations as o}from"./organizations.public-api.js";const i=o;export{i as organizations};
1
+ import{getBankAccounts as t,getOrganization as n}from"./client/organizations.client.js";const o={getOrganization:n,getBankAccounts:t};export{o as organizations};
@@ -0,0 +1 @@
1
+ import"../../common/auth/auth.js";import"../../common/environment/environment-manager.js";import"../../common/locale/locale-manager.js";import"../../common/operation-settings/operation-settings.js";const o=({accessToken:o,stagingToken:n})=>({path:"/v2/organization/",options:{method:"GET",headers:{accessToken:o,stagingToken:n}}}),n=({accessToken:o,stagingToken:n})=>({path:"/v2/bank_accounts/",options:{method:"GET",headers:{accessToken:o,stagingToken:n}}});export{n as prepareGetBankAccounts,o as prepareGetOrganization};
@@ -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};
@@ -3,7 +3,7 @@ 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
9
  import type { GetTransactionSettings, GetTransactionsResponse, GetTransactionsSettings, Transaction, TransactionDataObject } from '@transactions/transactions.types';
@@ -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,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,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-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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,SAA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AAS,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qonto/embed-sdk",
3
- "version": "0.60.0",
3
+ "version": "0.61.0",
4
4
  "description": "Library to embed Qonto features in your application",
5
5
  "type": "module",
6
6
  "exports": {
@@ -54,6 +54,10 @@
54
54
  "types": "./dist/organizations/index.d.ts",
55
55
  "import": "./dist/src/organizations/index.js"
56
56
  },
57
+ "./server/organizations": {
58
+ "types": "./dist/server/organizations/index.server.d.ts",
59
+ "import": "./dist/server/src/organizations/index.server.js"
60
+ },
57
61
  "./payment-links": {
58
62
  "types": "./dist/payment-links/index.d.ts",
59
63
  "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"}
@@ -1,29 +0,0 @@
1
- import { type OperationSettings } from '@validation/operation-settings-validation';
2
- import type { BankAccount, Organization } from './organizations.types';
3
- /**
4
- * Retrieves the organization information.
5
- *
6
- * @param operationSettings - An object with operation-level settings such as
7
- * `proxyRequestFunction` (preferred over using the access token flow),
8
- * `accessToken`, `stagingToken`, and other optional
9
- * parameters. See {@link OperationSettings}.
10
- * @returns A promise that resolves to the organization the current user belongs to.
11
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and
12
- * `accessToken` are invalid or missing within `operationSettings`.
13
- * @throws `EmbedApiError` If the API request fails or returns an error.
14
- */
15
- export declare const getOrganization: (operationSettings: OperationSettings) => Promise<Organization>;
16
- /**
17
- * Retrieves the bank accounts for the organization.
18
- *
19
- * @param operationSettings - An object with operation-level settings such as
20
- * `proxyRequestFunction` (preferred over using the access token flow),
21
- * `accessToken`, `stagingToken`, and other optional
22
- * parameters. See {@link OperationSettings}.
23
- * @returns A promise that resolves to the bank accounts for the organization.
24
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and
25
- * `accessToken` are invalid or missing within `operationSettings`.
26
- * @throws `EmbedApiError` If the API request fails or returns an error.
27
- */
28
- export declare const getBankAccounts: (operationSettings: OperationSettings) => Promise<BankAccount[]>;
29
- //# sourceMappingURL=organizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../src/organizations/organizations.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,2CAA2C,CAAC;AAYnD,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EAEb,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,YAAY,CA0BxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,WAAW,EAAE,CAwBzB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const organizations: {
2
- getOrganization: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").Organization>;
3
- getBankAccounts: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").BankAccount[]>;
4
- };
5
- //# sourceMappingURL=organizations.public-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.public-api.d.ts","sourceRoot":"","sources":["../../src/organizations/organizations.public-api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;CAGzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.serializer.d.ts","sourceRoot":"","sources":["../../src/organizations/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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=organizations.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.test.d.ts","sourceRoot":"","sources":["../../src/organizations/organizations.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.types.d.ts","sourceRoot":"","sources":["../../src/organizations/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,W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,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,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 +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"}
@@ -1,29 +0,0 @@
1
- import { type OperationSettings } from '@validation/operation-settings-validation';
2
- import type { BankAccount, Organization } from './organizations.types';
3
- /**
4
- * Retrieves the organization information.
5
- *
6
- * @param operationSettings - An object with operation-level settings such as
7
- * `proxyRequestFunction` (preferred over using the access token flow),
8
- * `accessToken`, `stagingToken`, and other optional
9
- * parameters. See {@link OperationSettings}.
10
- * @returns A promise that resolves to the organization the current user belongs to.
11
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and
12
- * `accessToken` are invalid or missing within `operationSettings`.
13
- * @throws `EmbedApiError` If the API request fails or returns an error.
14
- */
15
- export declare const getOrganization: (operationSettings: OperationSettings) => Promise<Organization>;
16
- /**
17
- * Retrieves the bank accounts for the organization.
18
- *
19
- * @param operationSettings - An object with operation-level settings such as
20
- * `proxyRequestFunction` (preferred over using the access token flow),
21
- * `accessToken`, `stagingToken`, and other optional
22
- * parameters. See {@link OperationSettings}.
23
- * @returns A promise that resolves to the bank accounts for the organization.
24
- * @throws `AuthenticationError` If both the `proxyRequestFunction` and
25
- * `accessToken` are invalid or missing within `operationSettings`.
26
- * @throws `EmbedApiError` If the API request fails or returns an error.
27
- */
28
- export declare const getBankAccounts: (operationSettings: OperationSettings) => Promise<BankAccount[]>;
29
- //# sourceMappingURL=organizations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,2CAA2C,CAAC;AAYnD,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EAEb,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,YAAY,CA0BxB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,EAAE,CAC5B,iBAAiB,EAAE,iBAAiB,KACjC,OAAO,CAAC,WAAW,EAAE,CAwBzB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const organizations: {
2
- getOrganization: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").Organization>;
3
- getBankAccounts: (operationSettings: import("../validation/operation-settings-validation").OperationSettings) => Promise<import("./organizations.types").BankAccount[]>;
4
- };
5
- //# sourceMappingURL=organizations.public-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.public-api.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.public-api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;CAGzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.serializer.d.ts","sourceRoot":"","sources":["../../../src/organizations/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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=organizations.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.test.d.ts","sourceRoot":"","sources":["../../../src/organizations/organizations.test.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.types.d.ts","sourceRoot":"","sources":["../../../src/organizations/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,w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AAC;IACf,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,qBAAqB,EAAE,CAAC;CACxC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,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 +0,0 @@
1
- import{makeNetworkCall as n}from"../common/network/network.js";const e=({accessToken:n,stagingToken:e})=>({path:"/v2/organization/",options:{method:"GET",headers:{accessToken:n,stagingToken:e}}}),o=async({accessToken:o,stagingToken:s})=>{const a=e({accessToken:o,stagingToken:s});return await n(a)},s=({accessToken:n,stagingToken:e})=>({path:"/v2/bank_accounts/",options:{method:"GET",headers:{accessToken:n,stagingToken:e}}}),a=async({accessToken:e,stagingToken:o})=>{const a=s({accessToken:e,stagingToken:o});return await n(a)};export{a as getBankAccounts,o as getOrganization,s as prepareGetBankAccounts,e as prepareGetOrganization};
@@ -1 +0,0 @@
1
- import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{callProxyFunction as n}from"../common/common.utils.js";import{validateOperationSettingsParams as t}from"../validation/operation-settings-validation.js";import{prepareGetBankAccounts as a,getBankAccounts as i,prepareGetOrganization as r,getOrganization as s}from"./organizations.api.js";import{serializeBankAccount as e,serializeOrganization as c}from"./organizations.serializer.js";const p=async a=>{const{stagingToken:i,proxyRequestFunction:e,proxyEndpointDescriptor:p}=t(a);if(e||p){const o=r({stagingToken:i}),t=await n({proxyFunction:e,proxyEndpointDescriptor:p,networkCallDescriptor:o});return c(t.body.organization)}{const n=a.accessToken||o(),t=await s({accessToken:n,stagingToken:i});return c(t.organization)}},m=async r=>{const{stagingToken:s,proxyRequestFunction:c,proxyEndpointDescriptor:p}=t(r);if(c||p){const o=a({stagingToken:s});return(await n({proxyFunction:c,proxyEndpointDescriptor:p,networkCallDescriptor:o})).body.bank_accounts.map(e)}{const n=r.accessToken||o();return(await i({accessToken:n,stagingToken:s})).bank_accounts.map(e)}};export{m as getBankAccounts,p as getOrganization};
@@ -1 +0,0 @@
1
- import{getBankAccounts as o,getOrganization as t}from"./organizations.js";const n={getOrganization:t,getBankAccounts:o};export{n as organizations};