@qonto/embed-sdk 0.68.0 → 0.70.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.
- package/dist/auth-links/client/auth-links.client.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.d.ts +1 -1
- package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/beneficiaries/client/beneficiaries.client.d.ts +1 -1
- package/dist/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
- package/dist/beneficiaries/index.server.d.ts +1 -1
- package/dist/cards/client/cards.client.d.ts +1 -1
- package/dist/cards/index.d.ts +2 -2
- package/dist/cards/server/cards.server.d.ts +1 -1
- package/dist/common/constants.d.ts +18 -0
- package/dist/common/constants.d.ts.map +1 -1
- package/dist/common/initialize/initialize.d.ts +22 -14
- package/dist/common/initialize/initialize.d.ts.map +1 -1
- package/dist/iframe/embed-iframe.d.ts +9 -0
- package/dist/iframe/embed-iframe.d.ts.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/mocks/handlers.d.ts +2 -1
- package/dist/mocks/handlers.d.ts.map +1 -1
- package/dist/organizations/client/organizations.client.d.ts +33 -1
- package/dist/organizations/client/organizations.client.d.ts.map +1 -1
- package/dist/organizations/index.d.ts +3 -0
- package/dist/organizations/index.d.ts.map +1 -1
- package/dist/organizations/index.server.d.ts +3 -0
- package/dist/organizations/index.server.d.ts.map +1 -1
- package/dist/organizations/server/organizations.server.d.ts +24 -1
- package/dist/organizations/server/organizations.server.d.ts.map +1 -1
- package/dist/organizations/shared/organizations.api.d.ts +11 -1
- package/dist/organizations/shared/organizations.api.d.ts.map +1 -1
- package/dist/organizations/shared/organizations.serializer.d.ts +2 -1
- package/dist/organizations/shared/organizations.serializer.d.ts.map +1 -1
- package/dist/organizations/shared/organizations.types.d.ts +54 -0
- package/dist/organizations/shared/organizations.types.d.ts.map +1 -1
- package/dist/payment-links/client/payment-links.client.d.ts +2 -2
- package/dist/server/_virtual/index.js +1 -1
- package/dist/server/_virtual/index2.js +1 -1
- package/dist/server/auth-links/client/auth-links.client.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.d.ts +1 -1
- package/dist/server/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/server/beneficiaries/client/beneficiaries.client.d.ts +1 -1
- package/dist/server/beneficiaries/client/beneficiaries.client.d.ts.map +1 -1
- package/dist/server/beneficiaries/index.server.d.ts +1 -1
- package/dist/server/cards/client/cards.client.d.ts +1 -1
- package/dist/server/cards/index.d.ts +2 -2
- package/dist/server/cards/server/cards.server.d.ts +1 -1
- package/dist/server/common/constants.d.ts +18 -0
- package/dist/server/common/constants.d.ts.map +1 -1
- package/dist/server/common/initialize/initialize.d.ts +22 -14
- package/dist/server/common/initialize/initialize.d.ts.map +1 -1
- package/dist/server/iframe/embed-iframe.d.ts +9 -0
- package/dist/server/iframe/embed-iframe.d.ts.map +1 -1
- package/dist/server/index.server.umd.js +1 -1
- package/dist/server/mocks/handlers.d.ts +2 -1
- package/dist/server/mocks/handlers.d.ts.map +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/observable.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_analytics-core@2.43.1/node_modules/@amplitude/analytics-core/lib/esm/utils/safe-stringify.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture/track-thrashed-cursor.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/autocapture-plugin.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/frustration-plugin.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-autocapture-browser@1.24.2/node_modules/@amplitude/plugin-autocapture-browser/lib/esm/observables.js +1 -1
- package/dist/server/node_modules/.pnpm/@amplitude_plugin-network-capture-browser@1.9.10/node_modules/@amplitude/plugin-network-capture-browser/lib/esm/network-capture-plugin.js +1 -1
- package/dist/server/organizations/client/organizations.client.d.ts +33 -1
- package/dist/server/organizations/client/organizations.client.d.ts.map +1 -1
- package/dist/server/organizations/index.d.ts +3 -0
- package/dist/server/organizations/index.d.ts.map +1 -1
- package/dist/server/organizations/index.server.d.ts +3 -0
- package/dist/server/organizations/index.server.d.ts.map +1 -1
- package/dist/server/organizations/server/organizations.server.d.ts +24 -1
- package/dist/server/organizations/server/organizations.server.d.ts.map +1 -1
- package/dist/server/organizations/shared/organizations.api.d.ts +11 -1
- package/dist/server/organizations/shared/organizations.api.d.ts.map +1 -1
- package/dist/server/organizations/shared/organizations.serializer.d.ts +2 -1
- package/dist/server/organizations/shared/organizations.serializer.d.ts.map +1 -1
- package/dist/server/organizations/shared/organizations.types.d.ts +54 -0
- package/dist/server/organizations/shared/organizations.types.d.ts.map +1 -1
- package/dist/server/payment-links/client/payment-links.client.d.ts +2 -2
- package/dist/server/src/organizations/index.server.js +1 -1
- package/dist/server/src/organizations/server/organizations.server.js +1 -1
- package/dist/server/src/organizations/shared/organizations.api.js +1 -1
- package/dist/server/src/organizations/shared/organizations.serializer.js +1 -1
- package/dist/src/common/constants.js +1 -1
- package/dist/src/iframe/embed-iframe.js +1 -1
- package/dist/src/organizations/client/organizations.client.js +1 -1
- package/dist/src/organizations/index.js +1 -1
- package/dist/src/organizations/shared/organizations.api.js +1 -1
- package/dist/src/organizations/shared/organizations.serializer.js +1 -1
- package/package.json +1 -1
package/dist/mocks/handlers.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { Beneficiary, BeneficiaryDataObject } from '@beneficiaries/shared/beneficiaries.types';
|
|
2
2
|
import type { CardDataObject } from '@cards/shared/cards.types';
|
|
3
|
-
import type { BankAccountDataObject, OrganizationDataObject } from '@organizations/shared/organizations.types';
|
|
3
|
+
import type { BankAccountDataObject, MembershipDataObject, OrganizationDataObject } from '@organizations/shared/organizations.types';
|
|
4
4
|
import type { BulkTransferDataObject, BulkTransferSettings, NewBulkTransfer, NewBulkTransferWithBeneficiary } from '@sepa-transfers/bulk-transfers/shared/bulk-transfers.types';
|
|
5
5
|
import type { SepaTransferDataObject } from '@sepa-transfers/shared/sepa-transfers.types';
|
|
6
6
|
import type { TransactionDataObject } from '@transactions/shared/transactions.types';
|
|
7
7
|
export declare const INVALID_ACCESS_TOKEN = "INVALID_ACCESS_TOKEN";
|
|
8
8
|
export declare const mockedBankAccountsList: BankAccountDataObject[];
|
|
9
9
|
export declare const mockedOrganization: OrganizationDataObject;
|
|
10
|
+
export declare const mockedMembership: MembershipDataObject;
|
|
10
11
|
export declare const singleBeneficiary: BeneficiaryDataObject;
|
|
11
12
|
export declare const newBeneficiaryDbFields: {
|
|
12
13
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../src/mocks/handlers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAMhE,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,2CAA2C,CAAC;AAInD,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EAEpB,eAAe,EAEf,8BAA8B,EAC/B,MAAM,4DAA4D,CAAC;AAEpE,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,6CAA6C,CAAC;AAErD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAIrF,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAK3D,eAAO,MAAM,sBAAsB,EAAE,qBAAqB,EA+BzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EA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AAE3D,eAAO,MAAM,wBAAwB,EAAE,WAYtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,eAKtC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,8BAKnC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,oBAAoB,CAAC,eAAe,CAI7E,CAAC;AAEJ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;CAiB1C,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;CAiB7C,CAAC;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;CAuBzC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,2BAA2B,eAAe,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,eAAO,MAAM,WAAW,6BAi9BvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ClientOperationSettings } from '@validation/operation-settings-validation';
|
|
2
|
-
import type { BankAccount, Organization } from '../shared/organizations.types';
|
|
2
|
+
import type { BankAccount, Membership, Organization } from '../shared/organizations.types';
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves the organization information.
|
|
5
5
|
*
|
|
@@ -44,4 +44,36 @@ export declare const getOrganization: ({ operationSettings, }: {
|
|
|
44
44
|
export declare const getBankAccounts: ({ operationSettings, }: {
|
|
45
45
|
operationSettings: ClientOperationSettings;
|
|
46
46
|
}) => Promise<BankAccount[]>;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves the membership information for the current user.
|
|
49
|
+
*
|
|
50
|
+
* **Client-side only** - Uses proxy-based authentication.
|
|
51
|
+
* For server-side operations, import from `'@qonto/embed-sdk/server/organizations'`.
|
|
52
|
+
*
|
|
53
|
+
* @param params - (Optional) An object containing:
|
|
54
|
+
* - `operationSettings`: (Optional) An object with operation-level settings such as
|
|
55
|
+
* `proxyEndpointDescriptor`. If not provided here, the settings previously passed
|
|
56
|
+
* to the `initialize` function will be used.
|
|
57
|
+
* @returns A promise that resolves to the membership information for the current user.
|
|
58
|
+
* @throws `InvalidParametersError` If `proxyEndpointDescriptor` is not provided here
|
|
59
|
+
* or via `initialize`.
|
|
60
|
+
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```
|
|
64
|
+
* // Using proxyEndpointDescriptor passed to initialize
|
|
65
|
+
* const membership = await getMembership();
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* ```
|
|
70
|
+
* // Passing proxyEndpointDescriptor per-call
|
|
71
|
+
* const membership = await getMembership({
|
|
72
|
+
* operationSettings: { proxyEndpointDescriptor }
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
export declare const getMembership: ({ operationSettings, }?: {
|
|
77
|
+
operationSettings?: ClientOperationSettings;
|
|
78
|
+
}) => Promise<Membership>;
|
|
47
79
|
//# sourceMappingURL=organizations.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.client.d.ts","sourceRoot":"","sources":["../../../src/organizations/client/organizations.client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"organizations.client.d.ts","sourceRoot":"","sources":["../../../src/organizations/client/organizations.client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,2CAA2C,CAAC;AAYnD,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EAEV,YAAY,EAEb,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,GAAU,wBAEnC;IACD,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C,KAAG,OAAO,CAAC,YAAY,CAkBvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,GAAU,wBAEnC;IACD,iBAAiB,EAAE,uBAAuB,CAAC;CAC5C,KAAG,OAAO,CAAC,WAAW,EAAE,CAgBxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,aAAa,GAAU,yBAEjC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,UAAU,CAiB1B,CAAC"}
|
|
@@ -21,6 +21,9 @@ export declare const organizations: {
|
|
|
21
21
|
getBankAccounts: ({ operationSettings, }: {
|
|
22
22
|
operationSettings: import("@validation/operation-settings-validation").ClientOperationSettings;
|
|
23
23
|
}) => Promise<import("./index.server").BankAccount[]>;
|
|
24
|
+
getMembership: ({ operationSettings, }?: {
|
|
25
|
+
operationSettings?: import("@validation/operation-settings-validation").ClientOperationSettings;
|
|
26
|
+
}) => Promise<import("./index.server").Membership>;
|
|
24
27
|
};
|
|
25
28
|
export type * from './shared/organizations.types';
|
|
26
29
|
export type { ClientOperationSettings, ClientOperationSettingsWithUI, } from '@validation/operation-settings-validation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/organizations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/organizations/index.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;;;;;;yBAYwhH,CAAC;;CARljH,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EACV,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,2CAA2C,CAAC"}
|
|
@@ -26,6 +26,9 @@ export declare const organizations: {
|
|
|
26
26
|
getBankAccounts: ({ operationSettings, }?: {
|
|
27
27
|
operationSettings?: import("@validation/operation-settings-validation").ServerOperationSettings;
|
|
28
28
|
}) => Promise<import("./index.server").BankAccount[]>;
|
|
29
|
+
getMembership: ({ operationSettings, }?: {
|
|
30
|
+
operationSettings?: import("@validation/operation-settings-validation").ServerOperationSettings;
|
|
31
|
+
}) => Promise<import("./index.server").Membership>;
|
|
29
32
|
};
|
|
30
33
|
export type * from './shared/organizations.types';
|
|
31
34
|
export type { ServerOperationSettings } from '@validation/operation-settings-validation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/organizations/index.server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/organizations/index.server.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,aAAa;;yBASgT,CAAC;;;yBAAoqC,CAAC;;;yBAAqrC,CAAC;;CALrqF,CAAC;AAGF,mBAAmB,8BAA8B,CAAC;AAClD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ServerOperationSettings } from '@validation/operation-settings-validation';
|
|
2
|
-
import type { BankAccount, Organization } from '../shared/organizations.types';
|
|
2
|
+
import type { BankAccount, Membership, Organization } from '../shared/organizations.types';
|
|
3
3
|
/**
|
|
4
4
|
* Retrieves the organization information.
|
|
5
5
|
*
|
|
@@ -46,4 +46,27 @@ export declare const getOrganization: ({ operationSettings, }?: {
|
|
|
46
46
|
export declare const getBankAccounts: ({ operationSettings, }?: {
|
|
47
47
|
operationSettings?: ServerOperationSettings;
|
|
48
48
|
}) => Promise<BankAccount[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Retrieves the membership information for the current user.
|
|
51
|
+
*
|
|
52
|
+
* **Server-side only** - Uses accessToken-based authentication.
|
|
53
|
+
* For client-side operations, import from `'@qonto/embed-sdk/organizations'`.
|
|
54
|
+
*
|
|
55
|
+
* @param params - An object containing:
|
|
56
|
+
* - `operationSettings`: (Optional) An object with operation-level settings such as
|
|
57
|
+
* `accessToken` and `stagingToken`.
|
|
58
|
+
* @returns A promise that resolves to the membership information for the current user.
|
|
59
|
+
* @throws `AuthenticationError` If the `accessToken` is invalid or missing.
|
|
60
|
+
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```
|
|
64
|
+
* const membership = await getMembership({
|
|
65
|
+
* operationSettings: { accessToken: 'your-token' }
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare const getMembership: ({ operationSettings, }?: {
|
|
70
|
+
operationSettings?: ServerOperationSettings;
|
|
71
|
+
}) => Promise<Membership>;
|
|
49
72
|
//# sourceMappingURL=organizations.server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.server.d.ts","sourceRoot":"","sources":["../../../src/organizations/server/organizations.server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"organizations.server.d.ts","sourceRoot":"","sources":["../../../src/organizations/server/organizations.server.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAYzF,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,YAAY,EACb,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,GAAU,yBAEnC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,YAAY,CAS5B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe,GAAU,yBAEnC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,WAAW,EAAE,CAS7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,aAAa,GAAU,yBAEjC;IACD,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CACxC,KAAG,OAAO,CAAC,UAAU,CAS1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type NetworkCallDescriptor } from '@common/network/network';
|
|
2
|
-
import type { BankAccountDataObject, OrganizationDataObject } from './organizations.types';
|
|
2
|
+
import type { BankAccountDataObject, MembershipDataObject, OrganizationDataObject } from './organizations.types';
|
|
3
3
|
export declare const prepareGetOrganization: ({ accessToken, stagingToken, }: {
|
|
4
4
|
accessToken?: string;
|
|
5
5
|
stagingToken?: string;
|
|
@@ -20,4 +20,14 @@ export declare const getBankAccounts: ({ accessToken, stagingToken, }: {
|
|
|
20
20
|
}) => Promise<{
|
|
21
21
|
bank_accounts: BankAccountDataObject[];
|
|
22
22
|
}>;
|
|
23
|
+
export declare const prepareGetMembership: ({ accessToken, stagingToken, }: {
|
|
24
|
+
accessToken?: string;
|
|
25
|
+
stagingToken?: string;
|
|
26
|
+
}) => NetworkCallDescriptor;
|
|
27
|
+
export declare const getMembership: ({ accessToken, stagingToken, }: {
|
|
28
|
+
accessToken: string;
|
|
29
|
+
stagingToken?: string;
|
|
30
|
+
}) => Promise<{
|
|
31
|
+
membership: MembershipDataObject;
|
|
32
|
+
}>;
|
|
23
33
|
//# sourceMappingURL=organizations.api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"organizations.api.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAM/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;AAEF,eAAO,MAAM,oBAAoB,GAAI,gCAGlC;IACD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,qBAYH,CAAC;AAEF,eAAO,MAAM,aAAa,GAAU,gCAGjC;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,KAAG,OAAO,CAAC;IAAE,UAAU,EAAE,oBAAoB,CAAA;CAAE,CAS/C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { BankAccount, BankAccountDataObject, Organization, OrganizationDataObject } from './organizations.types';
|
|
1
|
+
import type { BankAccount, BankAccountDataObject, Membership, MembershipDataObject, Organization, OrganizationDataObject } from './organizations.types';
|
|
2
2
|
export declare const serializeOrganization: (organization: OrganizationDataObject) => Organization;
|
|
3
3
|
export declare const serializeBankAccount: (bankAccount: BankAccountDataObject) => BankAccount;
|
|
4
|
+
export declare const serializeMembership: (membership: MembershipDataObject) => Membership;
|
|
4
5
|
//# sourceMappingURL=organizations.serializer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.serializer.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,YAAY,EACZ,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAM,qBAAqB,GAChC,cAAc,sBAAsB,KACnC,YAgBF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,aAAa,qBAAqB,KACjC,WAgBF,CAAC"}
|
|
1
|
+
{"version":3,"file":"organizations.serializer.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.serializer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,oBAAoB,EACpB,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;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,oBAAoB,KAC/B,UAaF,CAAC"}
|
|
@@ -103,4 +103,58 @@ export interface Organization {
|
|
|
103
103
|
contractSignedAt: string;
|
|
104
104
|
bankAccounts: BankAccount[];
|
|
105
105
|
}
|
|
106
|
+
export interface MembershipDataObject {
|
|
107
|
+
id: string;
|
|
108
|
+
user_id: string;
|
|
109
|
+
organization_id: string;
|
|
110
|
+
first_name: string;
|
|
111
|
+
last_name: string;
|
|
112
|
+
email: string;
|
|
113
|
+
role: string;
|
|
114
|
+
status: string;
|
|
115
|
+
created_at: string;
|
|
116
|
+
updated_at: string;
|
|
117
|
+
}
|
|
118
|
+
export interface Membership {
|
|
119
|
+
/**
|
|
120
|
+
* The ID of the membership.
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* The ID of the user associated with this membership.
|
|
125
|
+
*/
|
|
126
|
+
userId: string;
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the organization this membership belongs to.
|
|
129
|
+
*/
|
|
130
|
+
organizationId: string;
|
|
131
|
+
/**
|
|
132
|
+
* The first name of the user.
|
|
133
|
+
*/
|
|
134
|
+
firstName: string;
|
|
135
|
+
/**
|
|
136
|
+
* The last name of the user.
|
|
137
|
+
*/
|
|
138
|
+
lastName: string;
|
|
139
|
+
/**
|
|
140
|
+
* The email address of the user.
|
|
141
|
+
*/
|
|
142
|
+
email: string;
|
|
143
|
+
/**
|
|
144
|
+
* The role of the user in the organization (e.g., 'owner', 'admin', 'employee').
|
|
145
|
+
*/
|
|
146
|
+
role: string;
|
|
147
|
+
/**
|
|
148
|
+
* The status of the membership (e.g., 'active', 'inactive', 'pending').
|
|
149
|
+
*/
|
|
150
|
+
status: string;
|
|
151
|
+
/**
|
|
152
|
+
* The date and time when the membership was created.
|
|
153
|
+
*/
|
|
154
|
+
createdAt: string;
|
|
155
|
+
/**
|
|
156
|
+
* The date and time when the membership was last updated.
|
|
157
|
+
*/
|
|
158
|
+
updatedAt: string;
|
|
159
|
+
}
|
|
106
160
|
//# sourceMappingURL=organizations.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.types.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;I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,CAAC;IACrB,uBAAuB,EAAE,MAAM,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;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
|
+
{"version":3,"file":"organizations.types.d.ts","sourceRoot":"","sources":["../../../src/organizations/shared/organizations.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc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pointDescriptor` (required).
|
|
15
15
|
* @returns Promise resolving to the full URL as a string, which can be used to launch the payment link creation flow in an iframe or browser.
|
|
16
16
|
* @throws `InvalidParametersError` If `proxyEndpointDescriptor` is not provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
17
|
-
* @throws `AuthenticationError` If authentication fails (e.g.,
|
|
17
|
+
* @throws `AuthenticationError` If authentication fails (e.g., proxy authentication is rejected).
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ```
|
|
@@ -42,7 +42,7 @@ export declare const getPaymentLinkCreationFlowUrl: ({ paymentLinkSettings, oper
|
|
|
42
42
|
* `proxyEndpointDescriptor` (required).
|
|
43
43
|
* @returns This function redirects the browser to the payment link creation flow. Due to the redirect, the returned promise will not resolve.
|
|
44
44
|
* @throws `InvalidParametersError` If `proxyEndpointDescriptor` is not provided, or if the provided items array is invalid, or if callbackUrl is missing or invalid.
|
|
45
|
-
* @throws `AuthenticationError` If authentication fails (e.g.,
|
|
45
|
+
* @throws `AuthenticationError` If authentication fails (e.g., proxy authentication is rejected).
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDefaultExportFromCjs as
|
|
1
|
+
import{getDefaultExportFromCjs as e}from"./_commonjsHelpers.js";import{__require as o}from"../node_modules/.pnpm/zen-observable@0.10.0/node_modules/zen-observable/index.js";var r=e(o());export{r as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getDefaultExportFromCjs as
|
|
1
|
+
import{getDefaultExportFromCjs as s}from"./_commonjsHelpers.js";import{__require as e}from"../node_modules/.pnpm/safe-json-stringify@1.2.0/node_modules/safe-json-stringify/index.js";var o=s(e());export{o as default};
|
|
@@ -94,7 +94,7 @@ export declare function updateBeneficiary({ beneficiarySettings, operationSettin
|
|
|
94
94
|
* - `beneficiarySettings`: An object with the list of beneficiary IDs to
|
|
95
95
|
* trust (e.g., `{ beneficiaryIds: string[] }`).
|
|
96
96
|
* - `operationSettings`: An object with operation-level settings such as
|
|
97
|
-
* `accessToken`, `stagingToken`, `
|
|
97
|
+
* `accessToken`, `stagingToken`, `uiParentElementId`, and other optional
|
|
98
98
|
* parameters. See {@link BeneficiaryParams}.
|
|
99
99
|
*
|
|
100
100
|
* @returns A promise that resolves to an array of trusted beneficiaries.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beneficiaries.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/beneficiaries.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"beneficiaries.d.ts","sourceRoot":"","sources":["../../../src/beneficiaries/beneficiaries.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,2CAA2C,CAAC;AAenD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAStC;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAChD,OAAO,CAAC,wBAAwB,CAAC,CAuDnC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA2BrE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA8B1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC,6BAA6B,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAsCzE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAwB1B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,iBAAiB,CAAC;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CA2B1E"}
|
|
@@ -99,7 +99,7 @@ export declare function updateBeneficiary({ beneficiarySettings, operationSettin
|
|
|
99
99
|
* - `beneficiarySettings`: An object with the list of beneficiary IDs to
|
|
100
100
|
* trust (e.g., `{ beneficiaryIds: string[] }`).
|
|
101
101
|
* - `operationSettings`: An object with operation-level settings such as
|
|
102
|
-
* `accessToken`, `stagingToken`, `
|
|
102
|
+
* `accessToken`, `stagingToken`, `uiParentElementId`, and other optional
|
|
103
103
|
* parameters.
|
|
104
104
|
*
|
|
105
105
|
* @returns A promise that resolves to an array of trusted beneficiaries.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beneficiaries.client.d.ts","sourceRoot":"","sources":["../../../../src/beneficiaries/client/beneficiaries.client.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAGnC,MAAM,2CAA2C,CAAC;AAWnD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,+BAA+B,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B,CAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,6BAA6B,CAAC;CACnD;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,GACtD,OAAO,CAAC,wBAAwB,CAAC,CAkCnC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"beneficiaries.client.d.ts","sourceRoot":"","sources":["../../../../src/beneficiaries/client/beneficiaries.client.ts"],"names":[],"mappings":"AAYA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,6BAA6B,EAGnC,MAAM,2CAA2C,CAAC;AAWnD,OAAO,KAAK,EACV,WAAW,EAEX,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACf,MAAM,+BAA+B,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC;IACxC,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,uBAAuB,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B,CAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,CAAC,CAAC;IACxB,iBAAiB,CAAC,EAAE,6BAA6B,CAAC;CACnD;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,gBAAgB,CACpC,sBAAsB,CAAC,EAAE,uBAAuB,CAAC,KAAK,CAAC,GACtD,OAAO,CAAC,wBAAwB,CAAC,CAkCnC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAsB3E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,cAAc,CAAC,EACnC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC,cAAc,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CAyBhE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC,6BAA6B,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA0B/E;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,6BAA6B,CAAC;IAC/B,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAyB1B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,mBAAmB,EACnB,iBAAiB,GAClB,EAAE,uBAAuB,CAAC;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,GAAG,OAAO,CAChE,WAAW,EAAE,CACd,CAsBA"}
|
|
@@ -7,7 +7,7 @@ import { addBeneficiary, getBeneficiaries, getBeneficiary, untrustBeneficiaries,
|
|
|
7
7
|
*
|
|
8
8
|
* It can be accessed like this:
|
|
9
9
|
* ```ts
|
|
10
|
-
* import { beneficiaries } from
|
|
10
|
+
* import { beneficiaries } from '@qonto/embed-sdk/server/beneficiaries';
|
|
11
11
|
* ```
|
|
12
12
|
*
|
|
13
13
|
* Then, the beneficiaries object contains the functions to perform beneficiary operations:
|
|
@@ -43,7 +43,7 @@ export declare function getCards(getCardsParams?: CardClientParams<{
|
|
|
43
43
|
* - `operationSettings`: An object with `proxyEndpointDescriptor` (required), `stagingToken`,
|
|
44
44
|
* and other optional parameters.
|
|
45
45
|
* @returns A promise that resolves to a card.
|
|
46
|
-
* @throws `InvalidParametersError` If the cardId is not provided, not a string, or
|
|
46
|
+
* @throws `InvalidParametersError` If the `cardId` is not provided, not a string, or
|
|
47
47
|
* if proxyEndpointDescriptor is not provided.
|
|
48
48
|
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
49
49
|
*/
|
|
@@ -35,12 +35,12 @@ import { displayCard, getCard, getCards, orderCard, unlockCard } from './client/
|
|
|
35
35
|
*
|
|
36
36
|
* await cards.orderCard({
|
|
37
37
|
* cardSettings: { ... },
|
|
38
|
-
* operationSettings: {
|
|
38
|
+
* operationSettings: { accessToken, uiParentElementId: 'element-id' }
|
|
39
39
|
* });
|
|
40
40
|
*
|
|
41
41
|
* await cards.unlockCard({
|
|
42
42
|
* cardSettings: { cardId: '...' },
|
|
43
|
-
* operationSettings: {
|
|
43
|
+
* operationSettings: { accessToken, uiParentElementId: 'element-id' }
|
|
44
44
|
* });
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
@@ -36,7 +36,7 @@ export declare function getCards(getCardsParams?: CardServerParams<{
|
|
|
36
36
|
* - `operationSettings`: An object with `accessToken` (optional, falls back to global auth),
|
|
37
37
|
* `stagingToken`, and other optional parameters.
|
|
38
38
|
* @returns A promise that resolves to a card.
|
|
39
|
-
* @throws `InvalidParametersError` If the cardId is not provided or not a string.
|
|
39
|
+
* @throws `InvalidParametersError` If the `cardId` is not provided or not a string.
|
|
40
40
|
* @throws `AuthenticationError` If the `accessToken` is invalid or missing.
|
|
41
41
|
* @throws `EmbedApiError` If the API request fails or returns an error.
|
|
42
42
|
*/
|
|
@@ -6,6 +6,23 @@ export declare const IFRAME_EVENTS: {
|
|
|
6
6
|
* Emitted when the iframe is ready to be used.
|
|
7
7
|
*/
|
|
8
8
|
READY: string;
|
|
9
|
+
/**
|
|
10
|
+
* Emitted when the mandate invitation link has loaded and the form is shown.
|
|
11
|
+
*/
|
|
12
|
+
MANDATE_LOADED: string;
|
|
13
|
+
/**
|
|
14
|
+
* Emitted when the mandate has been signed.
|
|
15
|
+
*/
|
|
16
|
+
MANDATE_SIGNED: string;
|
|
17
|
+
/**
|
|
18
|
+
* Emitted when the mandate could not be loaded or signed.
|
|
19
|
+
*/
|
|
20
|
+
MANDATE_ERROR: string;
|
|
21
|
+
/**
|
|
22
|
+
* Emitted when the content height changes. The SDK also uses it to resize
|
|
23
|
+
* the iframe.
|
|
24
|
+
*/
|
|
25
|
+
RESIZE: string;
|
|
9
26
|
};
|
|
10
27
|
/**
|
|
11
28
|
* List of possible actions that can be performed in the iframe.
|
|
@@ -197,5 +214,6 @@ export declare const AUTH_LINK_ACTIONS: {
|
|
|
197
214
|
};
|
|
198
215
|
export declare const HTTP_CODES: {
|
|
199
216
|
PRECONDITION_REQUIRED: number;
|
|
217
|
+
UNAUTHORIZED: number;
|
|
200
218
|
};
|
|
201
219
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,aAAa;IACxB;;OAEG;;CAEJ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY;;;;CAIxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;CAIpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MA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,MAAM,wBAAwB;;;;;;;;CAQpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;CAQ7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;CAIhC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW;IACtB;;;;OAIG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;;;OAKG;;CAEJ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,4BAA4B,QAAS,CAAC;AAEnD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;CAM7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;CAGzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF,eAAO,MAAM,UAAU;;;CAGtB,CAAC"}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
import type { InitializeParams } from './initialize.types';
|
|
2
2
|
/**
|
|
3
|
-
* Initializes the SDK with the provided parameters.
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* to
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
3
|
+
* Initializes the SDK with the provided parameters. Calling this function is
|
|
4
|
+
* not mandatory, but in stateful environments like in a single page application
|
|
5
|
+
* running in a browser, it is recommended. The `initialize` function is useful
|
|
6
|
+
* to pass data to the SDK that otherwise would have to be passed in every
|
|
7
|
+
* function call.
|
|
8
|
+
* In order to call functions afterward without having to pass repetitive
|
|
9
|
+
* parameters to them, it is helpful to call this function before using any
|
|
10
|
+
* other SDK functions. In client side environments, it expects at least the
|
|
11
|
+
* `operationSettings.proxyEndpointDescriptor` param, while in server side
|
|
12
|
+
* environments it expects at least an `accessToken`.
|
|
13
|
+
* It's also useful to rely on the exposed SDK constants to pass some of the
|
|
14
|
+
* parameters.
|
|
13
15
|
* @param initializeParams - An object with the parameters to initialize the SDK.
|
|
14
|
-
* The only required parameter is the `
|
|
15
|
-
*
|
|
16
|
-
*
|
|
16
|
+
* The only required parameter is the `proxyEndpointDescriptor` in client
|
|
17
|
+
* environments or `accessToken` in server environments.
|
|
18
|
+
* - `accessToken`: The access token to authenticate the user. This has to be
|
|
19
|
+
* previously generated using the OAuth authentication flow. Only needed in
|
|
20
|
+
* server side usage, and not recommended in client side.
|
|
17
21
|
* - `environment`: Optional parameter to set the SDK's environment. If not provided,
|
|
18
22
|
* the SDK will default to `ENVIRONMENTS.PRODUCTION`. Use `ENVIRONMENTS.STAGING` to set
|
|
19
23
|
* the SDK to staging.
|
|
@@ -24,7 +28,11 @@ import type { InitializeParams } from './initialize.types';
|
|
|
24
28
|
* - `operationSettings`: Optional settings to configure the SDK's operations that will
|
|
25
29
|
* be performed after the initialization. This can be also provided when calling the
|
|
26
30
|
* operation functions themselves.
|
|
27
|
-
* - `uiParentElementId`: The id of the DOM element where the SDK will
|
|
31
|
+
* - `uiParentElementId`: The id of the DOM element where the SDK will render UI
|
|
32
|
+
* in those functions that involve rendering UI in the caller website. Normally,
|
|
33
|
+
* it will make more sense to add this param when calling functions that require
|
|
34
|
+
* rendering UI, because each function call will likely render the UI under a
|
|
35
|
+
* different parent.
|
|
28
36
|
* - `mfaPreference`: The MFA preference to use for the operations. This can be either
|
|
29
37
|
* `MFA_METHODS.PASSKEY`, `MFA_METHODS.PAIRED_DEVICE` or `MFA_METHODS.SMS_OTP`. If not
|
|
30
38
|
* provided, the SDK will default to `MFA_METHODS.PASSKEY`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D
|
|
1
|
+
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/common/initialize/initialize.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,wBAAgB,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,QAqC5D;AAED;;;;GAIG;AACH,wBAAgB,MAAM,SAMrB"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { UIParentElementId } from '@validation/operation-settings-validation.ts';
|
|
2
2
|
import type { IframeMessage } from './iframe.types';
|
|
3
|
+
export interface IframeFrameEvent {
|
|
4
|
+
eventId: string;
|
|
5
|
+
payload?: Record<string, unknown>;
|
|
6
|
+
}
|
|
7
|
+
type FrameEventHandler = (event: IframeFrameEvent) => void;
|
|
3
8
|
interface IframeOptions {
|
|
4
9
|
parentElementId: UIParentElementId;
|
|
5
10
|
iframeUrl: string;
|
|
@@ -10,11 +15,15 @@ export declare class EmbedIframe {
|
|
|
10
15
|
private iframe;
|
|
11
16
|
private parentElement;
|
|
12
17
|
private messageListeners;
|
|
18
|
+
private frameEventHandlers;
|
|
13
19
|
private readonly defaultTimeout;
|
|
14
20
|
private targetOrigin;
|
|
15
21
|
constructor(options: IframeOptions);
|
|
16
22
|
initialize(): Promise<EmbedIframe>;
|
|
17
23
|
postMessage(message: IframeMessage): Promise<unknown>;
|
|
24
|
+
onFrameEvent(handler: FrameEventHandler): () => void;
|
|
25
|
+
private frameEventListener;
|
|
26
|
+
private resize;
|
|
18
27
|
private addMessageListener;
|
|
19
28
|
private removeMessageListener;
|
|
20
29
|
destroy(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embed-iframe.d.ts","sourceRoot":"","sources":["../../../src/iframe/embed-iframe.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAGtF,OAAO,KAAK,EAAE,aAAa,EAAE,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