@cranberry-money/shared-services 10.1.400 → 10.1.401

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 (43) hide show
  1. package/dist/assetSnapshots.d.ts +1 -1
  2. package/dist/assetSnapshots.d.ts.map +1 -1
  3. package/dist/assets.d.ts +4 -4
  4. package/dist/assets.d.ts.map +1 -1
  5. package/dist/auth.d.ts +7 -7
  6. package/dist/auth.d.ts.map +1 -1
  7. package/dist/countries.d.ts +4 -4
  8. package/dist/countries.d.ts.map +1 -1
  9. package/dist/documents/identityDocuments.d.ts +5 -5
  10. package/dist/documents/identityDocuments.d.ts.map +1 -1
  11. package/dist/documents/supportingDocuments.d.ts +5 -5
  12. package/dist/documents/supportingDocuments.d.ts.map +1 -1
  13. package/dist/fiat-transactions.d.ts +3 -3
  14. package/dist/fiat-transactions.d.ts.map +1 -1
  15. package/dist/financialProfile.d.ts +4 -4
  16. package/dist/financialProfile.d.ts.map +1 -1
  17. package/dist/identityVerification.d.ts +2 -2
  18. package/dist/identityVerification.d.ts.map +1 -1
  19. package/dist/portfolioAllocations.d.ts +4 -4
  20. package/dist/portfolioAllocations.d.ts.map +1 -1
  21. package/dist/portfolios.d.ts +8 -8
  22. package/dist/portfolios.d.ts.map +1 -1
  23. package/dist/taxResidencies.d.ts +4 -4
  24. package/dist/taxResidencies.d.ts.map +1 -1
  25. package/dist/transactions.d.ts +3 -3
  26. package/dist/transactions.d.ts.map +1 -1
  27. package/dist/user-accounts.d.ts +4 -4
  28. package/dist/user-accounts.d.ts.map +1 -1
  29. package/dist/userPreferences.d.ts +2 -2
  30. package/dist/userPreferences.d.ts.map +1 -1
  31. package/dist/users.d.ts +5 -5
  32. package/dist/users.d.ts.map +1 -1
  33. package/dist/waitlist.d.ts +1 -1
  34. package/dist/waitlist.d.ts.map +1 -1
  35. package/dist/wallet-balances.d.ts +1 -1
  36. package/dist/wallet-balances.d.ts.map +1 -1
  37. package/dist/wallet-transfers.d.ts +2 -2
  38. package/dist/wallet-transfers.d.ts.map +1 -1
  39. package/dist/wallet-verification.d.ts +3 -3
  40. package/dist/wallet-verification.d.ts.map +1 -1
  41. package/dist/wallets.d.ts +5 -5
  42. package/dist/wallets.d.ts.map +1 -1
  43. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { AssetSnapshot, AssetSnapshotQueryParams } from '@cranberry-money/shared-types';
3
- export declare const getAssetSnapshots: (apiClient: AxiosInstance, assetUuid: string, params?: AssetSnapshotQueryParams) => Promise<import("axios").AxiosResponse<AssetSnapshot[], any>>;
3
+ export declare const getAssetSnapshots: (apiClient: AxiosInstance, assetUuid: string, params?: AssetSnapshotQueryParams) => Promise<import("axios").AxiosResponse<AssetSnapshot[], any, {}>>;
4
4
  export declare const getBatchAssetSnapshots: (apiClient: AxiosInstance, requests: Array<{
5
5
  assetUuid: string;
6
6
  source_start_date?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"assetSnapshots.d.ts","sourceRoot":"","sources":["../src/assetSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAG7F,eAAO,MAAM,iBAAiB,GAC5B,WAAW,aAAa,EACxB,WAAW,MAAM,EACjB,SAAS,wBAAwB,iEAGlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,WAAW,aAAa,EACxB,UAAU,KAAK,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,KACD,OAAO,CACR,KAAK,CAAC;IACJ,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAoBH,CAAC"}
1
+ {"version":3,"file":"assetSnapshots.d.ts","sourceRoot":"","sources":["../src/assetSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAG7F,eAAO,MAAM,iBAAiB,GAC5B,WAAW,aAAa,EACxB,WAAW,MAAM,EACjB,SAAS,wBAAwB,qEAGlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,WAAW,aAAa,EACxB,UAAU,KAAK,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,KACD,OAAO,CACR,KAAK,CAAC;IACJ,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAoBH,CAAC"}
package/dist/assets.d.ts CHANGED
@@ -4,17 +4,17 @@ import type { Asset, AssetQueryParams, PaginatedResponse } from '@cranberry-mone
4
4
  * Get all assets (unified overview of crypto assets and stablecoins)
5
5
  * Read-only endpoint - asset creation is admin-only
6
6
  */
7
- export declare const getAssets: (apiClient: AxiosInstance, params?: AssetQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any>>;
7
+ export declare const getAssets: (apiClient: AxiosInstance, params?: AssetQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any, {}>>;
8
8
  /**
9
9
  * Get a specific asset by UUID
10
10
  */
11
- export declare const getAssetByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Asset, any>>;
11
+ export declare const getAssetByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Asset, any, {}>>;
12
12
  /**
13
13
  * Search assets by name or symbol
14
14
  */
15
- export declare const searchAssets: (apiClient: AxiosInstance, searchTerm: string, params?: Omit<AssetQueryParams, "search">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any>>;
15
+ export declare const searchAssets: (apiClient: AxiosInstance, searchTerm: string, params?: Omit<AssetQueryParams, "search">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any, {}>>;
16
16
  /**
17
17
  * Get assets by type (Phase 7: native_crypto, stablecoin, tokenized_security, tokenized_rwa, synthetic)
18
18
  */
19
- export declare const getAssetsByType: (apiClient: AxiosInstance, asset_type: AssetQueryParams["asset_type"], params?: Omit<AssetQueryParams, "asset_type">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any>>;
19
+ export declare const getAssetsByType: (apiClient: AxiosInstance, asset_type: AssetQueryParams["asset_type"], params?: Omit<AssetQueryParams, "asset_type">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Asset>, any, {}>>;
20
20
  //# sourceMappingURL=assets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../src/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGhG;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,WAAW,aAAa,EAAE,SAAS,gBAAgB,0EAE5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,uDAEpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GACvB,WAAW,aAAa,EACxB,YAAY,MAAM,EAClB,SAAS,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,0EAM1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,WAAW,aAAa,EACxB,YAAY,gBAAgB,CAAC,YAAY,CAAC,EAC1C,SAAS,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,0EAM9C,CAAC"}
1
+ {"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../src/assets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGhG;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,WAAW,aAAa,EAAE,SAAS,gBAAgB,8EAE5E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,2DAEpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,GACvB,WAAW,aAAa,EACxB,YAAY,MAAM,EAClB,SAAS,IAAI,CAAC,gBAAgB,EAAE,QAAQ,CAAC,8EAM1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAC1B,WAAW,aAAa,EACxB,YAAY,gBAAgB,CAAC,YAAY,CAAC,EAC1C,SAAS,IAAI,CAAC,gBAAgB,EAAE,YAAY,CAAC,8EAM9C,CAAC"}
package/dist/auth.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { SigninPayload, SignupPayload, EmailVerificationPayload, TokenRefreshData as TokenRefreshResponse, TokenRefreshPayload, AuthVerificationResponse } from '@cranberry-money/shared-types';
3
- export declare const signin: (apiClient: AxiosInstance, data: SigninPayload) => Promise<import("axios").AxiosResponse<any, any>>;
4
- export declare const signout: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare const signup: (apiClient: AxiosInstance, data: SignupPayload) => Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare const verifyEmail: (apiClient: AxiosInstance, data: EmailVerificationPayload) => Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare const resendVerificationCode: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any>>;
8
- export declare const refreshToken: (apiClient: AxiosInstance, data: TokenRefreshPayload) => Promise<import("axios").AxiosResponse<TokenRefreshResponse, any>>;
9
- export declare const verifyAuth: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<AuthVerificationResponse, any>>;
3
+ export declare const signin: (apiClient: AxiosInstance, data: SigninPayload) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const signout: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const signup: (apiClient: AxiosInstance, data: SignupPayload) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const verifyEmail: (apiClient: AxiosInstance, data: EmailVerificationPayload) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const resendVerificationCode: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const refreshToken: (apiClient: AxiosInstance, data: TokenRefreshPayload) => Promise<import("axios").AxiosResponse<TokenRefreshResponse, any, {}>>;
9
+ export declare const verifyAuth: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<AuthVerificationResponse, any, {}>>;
10
10
  //# sourceMappingURL=auth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,gBAAgB,IAAI,oBAAoB,EACxC,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,MAAM,GAAI,WAAW,aAAa,EAAE,MAAM,aAAa,qDAEnE,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,WAAW,aAAa,qDAE/C,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,WAAW,aAAa,EAAE,MAAM,aAAa,qDAEnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,WAAW,aAAa,EAAE,MAAM,wBAAwB,qDAEnF,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,qDAE9D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,mBAAmB,sEAE/E,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,0EAElD,CAAC"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,gBAAgB,IAAI,oBAAoB,EACxC,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,MAAM,GAAI,WAAW,aAAa,EAAE,MAAM,aAAa,yDAEnE,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,WAAW,aAAa,yDAE/C,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,WAAW,aAAa,EAAE,MAAM,aAAa,yDAEnE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,WAAW,aAAa,EAAE,MAAM,wBAAwB,yDAEnF,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,yDAE9D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,mBAAmB,0EAE/E,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,8EAElD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { Country, PaginatedResponse, FlexibleQueryParams } from '@cranberry-money/shared-types';
3
- export declare const getCountries: (apiClient: AxiosInstance, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any>>;
4
- export declare const getCountryByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Country, any>>;
5
- export declare const getAvailableCountries: (apiClient: AxiosInstance, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any>>;
6
- export declare const searchCountries: (apiClient: AxiosInstance, searchTerm: string, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any>>;
3
+ export declare const getCountries: (apiClient: AxiosInstance, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any, {}>>;
4
+ export declare const getCountryByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Country, any, {}>>;
5
+ export declare const getAvailableCountries: (apiClient: AxiosInstance, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any, {}>>;
6
+ export declare const searchCountries: (apiClient: AxiosInstance, searchTerm: string, params?: FlexibleQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Country>, any, {}>>;
7
7
  //# sourceMappingURL=countries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../src/countries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGrG,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,SAAS,mBAAmB,4EAElF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,yDAEtE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,SAAS,mBAAmB,4EAK3F,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,YAAY,MAAM,EAAE,SAAS,mBAAmB,4EAKzG,CAAC"}
1
+ {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../src/countries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGrG,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,SAAS,mBAAmB,gFAElF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,6DAEtE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,SAAS,mBAAmB,gFAK3F,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,YAAY,MAAM,EAAE,SAAS,mBAAmB,gFAKzG,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { UploadDocumentResponse } from '@cranberry-money/shared-types';
3
- export declare const uploadIdentityDocument: (apiClient: AxiosInstance, formData: FormData) => Promise<import("axios").AxiosResponse<UploadDocumentResponse, any>>;
4
- export declare const getIdentityDocuments: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare const getIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare const downloadIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare const deleteIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
3
+ export declare const uploadIdentityDocument: (apiClient: AxiosInstance, formData: FormData) => Promise<import("axios").AxiosResponse<UploadDocumentResponse, any, {}>>;
4
+ export declare const getIdentityDocuments: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const getIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const downloadIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const deleteIdentityDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
8
  //# sourceMappingURL=identityDocuments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identityDocuments.d.ts","sourceRoot":"","sources":["../../src/documents/identityDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAI5E,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,UAAU,QAAQ,wEAMlF,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,qDAE5D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAEjF,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAOtF,CAAC;AAGF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAEpF,CAAC"}
1
+ {"version":3,"file":"identityDocuments.d.ts","sourceRoot":"","sources":["../../src/documents/identityDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAI5E,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,UAAU,QAAQ,4EAMlF,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,yDAE5D,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAEjF,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAOtF,CAAC;AAGF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAEpF,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { UploadDocumentResponse } from '@cranberry-money/shared-types';
3
- export declare const uploadSupportingDocument: (apiClient: AxiosInstance, formData: FormData) => Promise<import("axios").AxiosResponse<UploadDocumentResponse, any>>;
4
- export declare const getSupportingDocuments: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any>>;
5
- export declare const getSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
6
- export declare const downloadSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
7
- export declare const deleteSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
3
+ export declare const uploadSupportingDocument: (apiClient: AxiosInstance, formData: FormData) => Promise<import("axios").AxiosResponse<UploadDocumentResponse, any, {}>>;
4
+ export declare const getSupportingDocuments: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const getSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const downloadSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const deleteSupportingDocument: (apiClient: AxiosInstance, documentUuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
8
  //# sourceMappingURL=supportingDocuments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"supportingDocuments.d.ts","sourceRoot":"","sources":["../../src/documents/supportingDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAI5E,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,UAAU,QAAQ,wEAMpF,CAAC;AAGF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,qDAE9D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAEnF,CAAC;AAGF,eAAO,MAAM,0BAA0B,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAOxF,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,qDAEtF,CAAC"}
1
+ {"version":3,"file":"supportingDocuments.d.ts","sourceRoot":"","sources":["../../src/documents/supportingDocuments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAI5E,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,UAAU,QAAQ,4EAMpF,CAAC;AAGF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,yDAE9D,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAEnF,CAAC;AAGF,eAAO,MAAM,0BAA0B,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAOxF,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,yDAEtF,CAAC"}
@@ -9,7 +9,7 @@ import type { FiatTransaction, FiatTransactionQueryParams, TransakWidgetConfig,
9
9
  * @param config - Transak widget configuration
10
10
  * @returns Promise with widget URL and wallet details
11
11
  */
12
- export declare const getTransakWidgetUrl: (apiClient: AxiosInstance, config: TransakWidgetConfig) => Promise<import("axios").AxiosResponse<TransakWidgetUrlResponse, any>>;
13
- export declare const getFiatTransactions: (apiClient: AxiosInstance, params?: FiatTransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<FiatTransaction>, any>>;
14
- export declare const getFiatTransactionByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<FiatTransaction, any>>;
12
+ export declare const getTransakWidgetUrl: (apiClient: AxiosInstance, config: TransakWidgetConfig) => Promise<import("axios").AxiosResponse<TransakWidgetUrlResponse, any, {}>>;
13
+ export declare const getFiatTransactions: (apiClient: AxiosInstance, params?: FiatTransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<FiatTransaction>, any, {}>>;
14
+ export declare const getFiatTransactionByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<FiatTransaction, any, {}>>;
15
15
  //# sourceMappingURL=fiat-transactions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fiat-transactions.d.ts","sourceRoot":"","sources":["../src/fiat-transactions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,QAAQ,mBAAmB,0EACI,CAAC;AAE9F,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,SAAS,0BAA0B,oFACV,CAAC;AAExF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,iEACf,CAAC"}
1
+ {"version":3,"file":"fiat-transactions.d.ts","sourceRoot":"","sources":["../src/fiat-transactions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,QAAQ,mBAAmB,8EACI,CAAC;AAE9F,eAAO,MAAM,mBAAmB,GAAI,WAAW,aAAa,EAAE,SAAS,0BAA0B,wFACV,CAAC;AAExF,eAAO,MAAM,wBAAwB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,qEACf,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { FinancialProfile, CreateFinancialProfile, UpdateFinancialProfile, PaginatedResponse } from '@cranberry-money/shared-types';
3
3
  type PaginatedFinancialProfiles = PaginatedResponse<FinancialProfile>;
4
- export declare const createFinancialProfile: (apiClient: AxiosInstance, data: CreateFinancialProfile) => Promise<import("axios").AxiosResponse<FinancialProfile, any>>;
5
- export declare const updateFinancialProfile: (apiClient: AxiosInstance, uuid: string, data: UpdateFinancialProfile) => Promise<import("axios").AxiosResponse<FinancialProfile, any>>;
6
- export declare const deleteFinancialProfile: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any>>;
7
- export declare const getFinancialProfiles: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedFinancialProfiles, any>>;
4
+ export declare const createFinancialProfile: (apiClient: AxiosInstance, data: CreateFinancialProfile) => Promise<import("axios").AxiosResponse<FinancialProfile, any, {}>>;
5
+ export declare const updateFinancialProfile: (apiClient: AxiosInstance, uuid: string, data: UpdateFinancialProfile) => Promise<import("axios").AxiosResponse<FinancialProfile, any, {}>>;
6
+ export declare const deleteFinancialProfile: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
7
+ export declare const getFinancialProfiles: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedFinancialProfiles, any, {}>>;
8
8
  export {};
9
9
  //# sourceMappingURL=financialProfile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"financialProfile.d.ts","sourceRoot":"","sources":["../src/financialProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,KAAK,0BAA0B,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,sBAAsB,kEAE5F,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,sBAAsB,kEAE1G,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,sDAE5E,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,4EAE5D,CAAC"}
1
+ {"version":3,"file":"financialProfile.d.ts","sourceRoot":"","sources":["../src/financialProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,KAAK,0BAA0B,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,sBAAsB,sEAE5F,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,sBAAsB,sEAE1G,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,0DAE5E,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,gFAE5D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { IdentityVerificationToken, IdentityVerificationStatus } from '@cranberry-money/shared-types';
3
- export declare const getIdentityVerificationToken: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<IdentityVerificationToken, any>>;
4
- export declare const getIdentityVerificationStatus: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<IdentityVerificationStatus, any>>;
3
+ export declare const getIdentityVerificationToken: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<IdentityVerificationToken, any, {}>>;
4
+ export declare const getIdentityVerificationStatus: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<IdentityVerificationStatus, any, {}>>;
5
5
  //# sourceMappingURL=identityVerification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identityVerification.d.ts","sourceRoot":"","sources":["../src/identityVerification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3G,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,2EAEpE,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,WAAW,aAAa,4EAErE,CAAC"}
1
+ {"version":3,"file":"identityVerification.d.ts","sourceRoot":"","sources":["../src/identityVerification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3G,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,+EAEpE,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAI,WAAW,aAAa,gFAErE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { AssetAllocation, CreateAssetAllocation, UpdateAssetAllocation } from '@cranberry-money/shared-types';
3
- export declare const getPortfolioAllocations: (apiClient: AxiosInstance, portfolioUuid: string) => Promise<import("axios").AxiosResponse<AssetAllocation[], any>>;
4
- export declare const createAssetAllocation: (apiClient: AxiosInstance, data: CreateAssetAllocation) => Promise<import("axios").AxiosResponse<AssetAllocation, any>>;
5
- export declare const updateAssetAllocation: (apiClient: AxiosInstance, uuid: string, data: UpdateAssetAllocation) => Promise<import("axios").AxiosResponse<AssetAllocation, any>>;
6
- export declare const deleteAssetAllocation: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any>>;
3
+ export declare const getPortfolioAllocations: (apiClient: AxiosInstance, portfolioUuid: string) => Promise<import("axios").AxiosResponse<AssetAllocation[], any, {}>>;
4
+ export declare const createAssetAllocation: (apiClient: AxiosInstance, data: CreateAssetAllocation) => Promise<import("axios").AxiosResponse<AssetAllocation, any, {}>>;
5
+ export declare const updateAssetAllocation: (apiClient: AxiosInstance, uuid: string, data: UpdateAssetAllocation) => Promise<import("axios").AxiosResponse<AssetAllocation, any, {}>>;
6
+ export declare const deleteAssetAllocation: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
7
7
  //# sourceMappingURL=portfolioAllocations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portfolioAllocations.d.ts","sourceRoot":"","sources":["../src/portfolioAllocations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEnH,eAAO,MAAM,uBAAuB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,mEAItF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,qBAAqB,iEAE1F,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,qBAAqB,iEAExG,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,sDAE3E,CAAC"}
1
+ {"version":3,"file":"portfolioAllocations.d.ts","sourceRoot":"","sources":["../src/portfolioAllocations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEnH,eAAO,MAAM,uBAAuB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,uEAItF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,qBAAqB,qEAE1F,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,qBAAqB,qEAExG,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,0DAE3E,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { Portfolio, CreatePortfolio, UpdatePortfolio, PaginatedResponse, PortfolioSnapshot, PortfolioSnapshotQueryParams } from '@cranberry-money/shared-types';
3
3
  type PaginatedPortfolios = PaginatedResponse<Portfolio>;
4
- export declare const getPortfolios: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedPortfolios, any>>;
5
- export declare const createPortfolio: (apiClient: AxiosInstance, data: CreatePortfolio) => Promise<import("axios").AxiosResponse<Portfolio, any>>;
6
- export declare const updatePortfolio: (apiClient: AxiosInstance, uuid: string, data: UpdatePortfolio) => Promise<import("axios").AxiosResponse<Portfolio, any>>;
7
- export declare const deletePortfolio: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<any, any>>;
8
- export declare const getPortfolioByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any>>;
9
- export declare const getPortfolioSnapshots: (apiClient: AxiosInstance, portfolioUuid: string, params?: PortfolioSnapshotQueryParams) => Promise<import("axios").AxiosResponse<PortfolioSnapshot[], any>>;
10
- export declare const addWalletToPortfolio: (apiClient: AxiosInstance, portfolioUuid: string, walletUuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any>>;
11
- export declare const removeWalletFromPortfolio: (apiClient: AxiosInstance, portfolioUuid: string, walletUuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any>>;
4
+ export declare const getPortfolios: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedPortfolios, any, {}>>;
5
+ export declare const createPortfolio: (apiClient: AxiosInstance, data: CreatePortfolio) => Promise<import("axios").AxiosResponse<Portfolio, any, {}>>;
6
+ export declare const updatePortfolio: (apiClient: AxiosInstance, uuid: string, data: UpdatePortfolio) => Promise<import("axios").AxiosResponse<Portfolio, any, {}>>;
7
+ export declare const deletePortfolio: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const getPortfolioByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any, {}>>;
9
+ export declare const getPortfolioSnapshots: (apiClient: AxiosInstance, portfolioUuid: string, params?: PortfolioSnapshotQueryParams) => Promise<import("axios").AxiosResponse<PortfolioSnapshot[], any, {}>>;
10
+ export declare const addWalletToPortfolio: (apiClient: AxiosInstance, portfolioUuid: string, walletUuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any, {}>>;
11
+ export declare const removeWalletFromPortfolio: (apiClient: AxiosInstance, portfolioUuid: string, walletUuid: string) => Promise<import("axios").AxiosResponse<Portfolio, any, {}>>;
12
12
  export {};
13
13
  //# sourceMappingURL=portfolios.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portfolios.d.ts","sourceRoot":"","sources":["../src/portfolios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;AAExD,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,qEAErD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,eAAe,2DAE9E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,eAAe,2DAE5F,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,qDAErE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,2DAExE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,WAAW,aAAa,EACxB,eAAe,MAAM,EACrB,SAAS,4BAA4B,qEACsE,CAAC;AAE9G,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,EAAE,YAAY,MAAM,2DAGpG,CAAC;AAEL,eAAO,MAAM,yBAAyB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,EAAE,YAAY,MAAM,2DAGzG,CAAC"}
1
+ {"version":3,"file":"portfolios.d.ts","sourceRoot":"","sources":["../src/portfolios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,4BAA4B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,KAAK,mBAAmB,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;AAExD,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,yEAErD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,eAAe,+DAE9E,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,eAAe,+DAE5F,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,yDAErE,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,+DAExE,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,WAAW,aAAa,EACxB,eAAe,MAAM,EACrB,SAAS,4BAA4B,yEACsE,CAAC;AAE9G,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,EAAE,YAAY,MAAM,+DAGpG,CAAC;AAEL,eAAO,MAAM,yBAAyB,GAAI,WAAW,aAAa,EAAE,eAAe,MAAM,EAAE,YAAY,MAAM,+DAGzG,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { TaxResidency, CreateTaxResidency, UpdateTaxResidency, PaginatedResponse } from '@cranberry-money/shared-types';
3
- export declare const createTaxResidency: (apiClient: AxiosInstance, data: CreateTaxResidency) => Promise<import("axios").AxiosResponse<TaxResidency, any>>;
4
- export declare const updateTaxResidency: (apiClient: AxiosInstance, uuid: string, data: UpdateTaxResidency) => Promise<import("axios").AxiosResponse<TaxResidency, any>>;
5
- export declare const deleteTaxResidency: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any>>;
6
- export declare const getTaxResidencies: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedResponse<TaxResidency>, any>>;
3
+ export declare const createTaxResidency: (apiClient: AxiosInstance, data: CreateTaxResidency) => Promise<import("axios").AxiosResponse<TaxResidency, any, {}>>;
4
+ export declare const updateTaxResidency: (apiClient: AxiosInstance, uuid: string, data: UpdateTaxResidency) => Promise<import("axios").AxiosResponse<TaxResidency, any, {}>>;
5
+ export declare const deleteTaxResidency: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
6
+ export declare const getTaxResidencies: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedResponse<TaxResidency>, any, {}>>;
7
7
  //# sourceMappingURL=taxResidencies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"taxResidencies.d.ts","sourceRoot":"","sources":["../src/taxResidencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,kBAAkB,8DAEpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,kBAAkB,8DAElG,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,sDAExE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,iFAMzD,CAAC"}
1
+ {"version":3,"file":"taxResidencies.d.ts","sourceRoot":"","sources":["../src/taxResidencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,kBAAkB,kEAEpF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,kBAAkB,kEAElG,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,0DAExE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,qFAMzD,CAAC"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { AxiosInstance } from 'axios';
5
5
  import type { Transaction, TransactionQueryParams, PaginatedResponse } from '@cranberry-money/shared-types';
6
- export declare const getTransactions: (apiClient: AxiosInstance, params?: TransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Transaction>, any>>;
7
- export declare const getTransactionByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Transaction, any>>;
8
- export declare const getWalletTransactions: (apiClient: AxiosInstance, uuid: string, params?: TransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Transaction>, any>>;
6
+ export declare const getTransactions: (apiClient: AxiosInstance, params?: TransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Transaction>, any, {}>>;
7
+ export declare const getTransactionByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Transaction, any, {}>>;
8
+ export declare const getWalletTransactions: (apiClient: AxiosInstance, uuid: string, params?: TransactionQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Transaction>, any, {}>>;
9
9
  //# sourceMappingURL=transactions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/transactions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAE5G,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,SAAS,sBAAsB,gFACR,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,6DACjB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,SAAS,sBAAsB,gFACZ,CAAC"}
1
+ {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../src/transactions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAE5G,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,SAAS,sBAAsB,oFACR,CAAC;AAElF,eAAO,MAAM,oBAAoB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,iEACjB,CAAC;AAE3D,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,SAAS,sBAAsB,oFACZ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { UserAccount, CreateUserAccount, UpdateUserAccount, PaginatedResponse } from '@cranberry-money/shared-types';
3
- export declare const getAccounts: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedResponse<UserAccount>, any>>;
4
- export declare const createAccount: (apiClient: AxiosInstance, data: CreateUserAccount) => Promise<import("axios").AxiosResponse<UserAccount, any>>;
5
- export declare const updateAccount: (apiClient: AxiosInstance, uuid: string, data: UpdateUserAccount) => Promise<import("axios").AxiosResponse<UserAccount, any>>;
6
- export declare const getAccountByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<UserAccount, any>>;
3
+ export declare const getAccounts: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedResponse<UserAccount>, any, {}>>;
4
+ export declare const createAccount: (apiClient: AxiosInstance, data: CreateUserAccount) => Promise<import("axios").AxiosResponse<UserAccount, any, {}>>;
5
+ export declare const updateAccount: (apiClient: AxiosInstance, uuid: string, data: UpdateUserAccount) => Promise<import("axios").AxiosResponse<UserAccount, any, {}>>;
6
+ export declare const getAccountByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<UserAccount, any, {}>>;
7
7
  //# sourceMappingURL=user-accounts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-accounts.d.ts","sourceRoot":"","sources":["../src/user-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,WAAW,GAAI,WAAW,aAAa,gFAEnD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,EAAE,MAAM,iBAAiB,6DAE9E,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,iBAAiB,6DAE5F,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,6DAEtE,CAAC"}
1
+ {"version":3,"file":"user-accounts.d.ts","sourceRoot":"","sources":["../src/user-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,WAAW,GAAI,WAAW,aAAa,oFAEnD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,EAAE,MAAM,iBAAiB,iEAE9E,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,iBAAiB,iEAE5F,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,iEAEtE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { UserPreferences, UserPreferencesRequest } from '@cranberry-money/shared-types';
3
- export declare const getCurrentUserPreferences: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<UserPreferences, any>>;
4
- export declare const upsertCurrentUserPreferences: (apiClient: AxiosInstance, data: UserPreferencesRequest) => Promise<import("axios").AxiosResponse<UserPreferences, any>>;
3
+ export declare const getCurrentUserPreferences: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<UserPreferences, any, {}>>;
4
+ export declare const upsertCurrentUserPreferences: (apiClient: AxiosInstance, data: UserPreferencesRequest) => Promise<import("axios").AxiosResponse<UserPreferences, any, {}>>;
5
5
  //# sourceMappingURL=userPreferences.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"userPreferences.d.ts","sourceRoot":"","sources":["../src/userPreferences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE7F,eAAO,MAAM,yBAAyB,GAAI,WAAW,aAAa,iEAEjE,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,EAAE,MAAM,sBAAsB,iEAElG,CAAC"}
1
+ {"version":3,"file":"userPreferences.d.ts","sourceRoot":"","sources":["../src/userPreferences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAE7F,eAAO,MAAM,yBAAyB,GAAI,WAAW,aAAa,qEAEjE,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,EAAE,MAAM,sBAAsB,qEAElG,CAAC"}
package/dist/users.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { UserProfile, CreateUserProfile, UpdateUserProfile, CompleteUserProfile, PaginatedResponse } from '@cranberry-money/shared-types';
3
3
  type PaginatedUserProfiles = PaginatedResponse<UserProfile>;
4
- export declare const createUserProfile: (apiClient: AxiosInstance, data: CreateUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any>>;
5
- export declare const updateUserProfile: (apiClient: AxiosInstance, uuid: string, data: UpdateUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any>>;
6
- export declare const updateUserProfileCompletion: (apiClient: AxiosInstance, uuid: string, data: CompleteUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any>>;
7
- export declare const getUserProfiles: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedUserProfiles, any>>;
8
- export declare const getCurrentUserProfile: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<UserProfile, any>>;
4
+ export declare const createUserProfile: (apiClient: AxiosInstance, data: CreateUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>;
5
+ export declare const updateUserProfile: (apiClient: AxiosInstance, uuid: string, data: UpdateUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>;
6
+ export declare const updateUserProfileCompletion: (apiClient: AxiosInstance, uuid: string, data: CompleteUserProfile) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>;
7
+ export declare const getUserProfiles: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<PaginatedUserProfiles, any, {}>>;
8
+ export declare const getCurrentUserProfile: (apiClient: AxiosInstance) => Promise<import("axios").AxiosResponse<UserProfile, any, {}>>;
9
9
  export {};
10
10
  //# sourceMappingURL=users.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,iBAAiB,6DAElF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,iBAAiB,6DAEhG,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,mBAAmB,6DAE5G,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,uEAEvD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,6DAE7D,CAAC"}
1
+ {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../src/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AAEvC,KAAK,qBAAqB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,iBAAiB,iEAElF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,iBAAiB,iEAEhG,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,mBAAmB,iEAE5G,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,2EAEvD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,aAAa,iEAE7D,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { AxiosInstance } from 'axios';
2
2
  import type { WaitlistSignupPayload, WaitlistSignupResponse } from '@cranberry-money/shared-types';
3
- export declare const submitToWaitlist: (apiClient: AxiosInstance, data: WaitlistSignupPayload) => Promise<import("axios").AxiosResponse<WaitlistSignupResponse, any>>;
3
+ export declare const submitToWaitlist: (apiClient: AxiosInstance, data: WaitlistSignupPayload) => Promise<import("axios").AxiosResponse<WaitlistSignupResponse, any, {}>>;
4
4
  //# sourceMappingURL=waitlist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"waitlist.d.ts","sourceRoot":"","sources":["../src/waitlist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEnG,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,qBAAqB,wEAErF,CAAC"}
1
+ {"version":3,"file":"waitlist.d.ts","sourceRoot":"","sources":["../src/waitlist.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEnG,eAAO,MAAM,gBAAgB,GAAI,WAAW,aAAa,EAAE,MAAM,qBAAqB,4EAErF,CAAC"}
@@ -3,6 +3,6 @@ import type { WalletHolding, PaginatedResponse, BatchBalanceResponse } from '@cr
3
3
  export interface WalletHoldingsQueryParams {
4
4
  include_asset?: boolean;
5
5
  }
6
- export declare const getWalletHoldings: (apiClient: AxiosInstance, uuid: string, params?: WalletHoldingsQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<WalletHolding>, any>>;
6
+ export declare const getWalletHoldings: (apiClient: AxiosInstance, uuid: string, params?: WalletHoldingsQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<WalletHolding>, any, {}>>;
7
7
  export declare const fetchBatchBalances: (apiClient: AxiosInstance, addresses: string[], chain?: "ETH" | "BTC") => Promise<BatchBalanceResponse>;
8
8
  //# sourceMappingURL=wallet-balances.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet-balances.d.ts","sourceRoot":"","sources":["../src/wallet-balances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE5G,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,SAAS,yBAAyB,kFACb,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAC7B,WAAW,aAAa,EACxB,WAAW,MAAM,EAAE,EACnB,QAAO,KAAK,GAAG,KAAa,KAC3B,OAAO,CAAC,oBAAoB,CAW9B,CAAC"}
1
+ {"version":3,"file":"wallet-balances.d.ts","sourceRoot":"","sources":["../src/wallet-balances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE5G,MAAM,WAAW,yBAAyB;IACxC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,iBAAiB,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,SAAS,yBAAyB,sFACb,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAC7B,WAAW,aAAa,EACxB,WAAW,MAAM,EAAE,EACnB,QAAO,KAAK,GAAG,KAAa,KAC3B,OAAO,CAAC,oBAAoB,CAW9B,CAAC"}
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import { AxiosInstance } from 'axios';
5
5
  import type { PrepareTransferRequest, PrepareTransferResponse, BroadcastTransferRequest, BroadcastTransferResponse } from '@cranberry-money/shared-types';
6
- export declare const prepareTransfer: (apiClient: AxiosInstance, uuid: string, data: PrepareTransferRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<PrepareTransferResponse, any>>;
7
- export declare const broadcastTransfer: (apiClient: AxiosInstance, uuid: string, data: BroadcastTransferRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<BroadcastTransferResponse, any>>;
6
+ export declare const prepareTransfer: (apiClient: AxiosInstance, uuid: string, data: PrepareTransferRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<PrepareTransferResponse, any, {}>>;
7
+ export declare const broadcastTransfer: (apiClient: AxiosInstance, uuid: string, data: BroadcastTransferRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<BroadcastTransferResponse, any, {}>>;
8
8
  //# sourceMappingURL=wallet-transfers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet-transfers.d.ts","sourceRoot":"","sources":["../src/wallet-transfers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,eAAe,GAC1B,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,sBAAsB,EAC5B,kBAAkB,MAAM,yEAQzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,wBAAwB,EAC9B,kBAAkB,MAAM,2EAQzB,CAAC"}
1
+ {"version":3,"file":"wallet-transfers.d.ts","sourceRoot":"","sources":["../src/wallet-transfers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,eAAe,GAC1B,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,sBAAsB,EAC5B,kBAAkB,MAAM,6EAQzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,wBAAwB,EAC9B,kBAAkB,MAAM,+EAQzB,CAAC"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { AxiosInstance } from 'axios';
5
5
  import type { RequestVerificationChallengeResponse, VerifyWalletRequest, VerifyWalletResponse, SyncWalletResponse } from '@cranberry-money/shared-types';
6
- export declare const requestVerificationChallenge: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<RequestVerificationChallengeResponse, any>>;
7
- export declare const verifyWalletSignature: (apiClient: AxiosInstance, uuid: string, data: VerifyWalletRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<VerifyWalletResponse, any>>;
8
- export declare const syncWallet: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<SyncWalletResponse, any>>;
6
+ export declare const requestVerificationChallenge: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<RequestVerificationChallengeResponse, any, {}>>;
7
+ export declare const verifyWalletSignature: (apiClient: AxiosInstance, uuid: string, data: VerifyWalletRequest, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<VerifyWalletResponse, any, {}>>;
8
+ export declare const syncWallet: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<SyncWalletResponse, any, {}>>;
9
9
  //# sourceMappingURL=wallet-verification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet-verification.d.ts","sourceRoot":"","sources":["../src/wallet-verification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,oCAAoC,EACpC,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,sFAK1G,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAChC,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,mBAAmB,EACzB,kBAAkB,MAAM,sEAMvB,CAAC;AAEJ,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,oEAKxF,CAAC"}
1
+ {"version":3,"file":"wallet-verification.d.ts","sourceRoot":"","sources":["../src/wallet-verification.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EACV,oCAAoC,EACpC,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,4BAA4B,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,0FAK1G,CAAC;AAEJ,eAAO,MAAM,qBAAqB,GAChC,WAAW,aAAa,EACxB,MAAM,MAAM,EACZ,MAAM,mBAAmB,EACzB,kBAAkB,MAAM,0EAMvB,CAAC;AAEJ,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,wEAKxF,CAAC"}
package/dist/wallets.d.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  */
4
4
  import { AxiosInstance } from 'axios';
5
5
  import type { Wallet, CreateWallet, WalletQueryParams, PaginatedResponse } from '@cranberry-money/shared-types';
6
- export declare const getWallets: (apiClient: AxiosInstance, params?: WalletQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Wallet>, any>>;
7
- export declare const getWalletByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Wallet, any>>;
8
- export declare const createWallet: (apiClient: AxiosInstance, data: CreateWallet) => Promise<import("axios").AxiosResponse<Wallet, any>>;
9
- export declare const updateWallet: (apiClient: AxiosInstance, uuid: string, data: Partial<Pick<Wallet, "name">>) => Promise<import("axios").AxiosResponse<Wallet, any>>;
10
- export declare const deleteWallet: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<any, any>>;
6
+ export declare const getWallets: (apiClient: AxiosInstance, params?: WalletQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Wallet>, any, {}>>;
7
+ export declare const getWalletByUuid: (apiClient: AxiosInstance, uuid: string) => Promise<import("axios").AxiosResponse<Wallet, any, {}>>;
8
+ export declare const createWallet: (apiClient: AxiosInstance, data: CreateWallet) => Promise<import("axios").AxiosResponse<Wallet, any, {}>>;
9
+ export declare const updateWallet: (apiClient: AxiosInstance, uuid: string, data: Partial<Pick<Wallet, "name">>) => Promise<import("axios").AxiosResponse<Wallet, any, {}>>;
10
+ export declare const deleteWallet: (apiClient: AxiosInstance, uuid: string, userAccountUuid?: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
11
11
  //# sourceMappingURL=wallets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../src/wallets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEhH,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,EAAE,SAAS,iBAAiB,2EACR,CAAC;AAExE,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,wDACtB,CAAC;AAEjD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,YAAY,wDAC1B,CAAC;AAEhD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,wDAChD,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,qDAI1F,CAAC"}
1
+ {"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../src/wallets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEhH,eAAO,MAAM,UAAU,GAAI,WAAW,aAAa,EAAE,SAAS,iBAAiB,+EACR,CAAC;AAExE,eAAO,MAAM,eAAe,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,4DACtB,CAAC;AAEjD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,YAAY,4DAC1B,CAAC;AAEhD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,4DAChD,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,WAAW,aAAa,EAAE,MAAM,MAAM,EAAE,kBAAkB,MAAM,yDAI1F,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cranberry-money/shared-services",
3
- "version": "10.1.400",
3
+ "version": "10.1.401",
4
4
  "description": "Platform-agnostic API services with pure functions and dependency injection. Includes auth, portfolios, assets, countries, sectors, and more.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "prepublishOnly": "npm run clean && npm run typecheck && npm run build"
30
30
  },
31
31
  "dependencies": {
32
- "@cranberry-money/shared-constants": "^8.15.425",
33
- "@cranberry-money/shared-types": "^8.22.400",
32
+ "@cranberry-money/shared-constants": "^8.15.426",
33
+ "@cranberry-money/shared-types": "^8.22.401",
34
34
  "axios": "^1.9.0"
35
35
  },
36
36
  "peerDependencies": {