@fonderie/client 1.7.0 → 1.9.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/index.d.cts CHANGED
@@ -381,6 +381,7 @@ interface IWorkspaceSettingsResult {
381
381
  settings: IWorkspaceSettingsDTO;
382
382
  }
383
383
  interface ITemplateEntry {
384
+ system?: boolean;
384
385
  type: string;
385
386
  locale: string | null;
386
387
  subject: string | null;
@@ -1771,4 +1772,664 @@ declare function configValueLabel(value: unknown): string;
1771
1772
  */
1772
1773
  declare function inferConfigValue(raw: string): IInferredConfigValue;
1773
1774
 
1774
- export { AdminClient, type AdminRouteGuard, type AdminScope, type AdminSessionState, AuditAdminClient, AuditClient, AuthAdminClient, AuthClient, BillingAdminClient, BillingClient, CONFIG_KEY_PATTERN, CONFIG_VALUE_TYPES, type CastResult, ConfigAdminClient, ConfigClient, type ConfigValueType, CourierAdminClient, type CustomerLabelType, type CustomerSex, type CustomerType, CustomersClient, FonderieApiError, FonderieClient, type IAcceptInvitationResult, type IAddAddressInput, type IAddEmailInput, type IAddPhoneInput, type IAddRelationshipInput, type IAddressDTO, type IAdminAttention, type IAdminAttentionItem, type IAdminAuditQuery, type IAdminCatalog, type IAdminCheckResult, type IAdminClientOptions, type IAdminCreatedLink, type IAdminDoctorReport, type IAdminEnrollment, type IAdminEnvironmentReport, type IAdminGrantInput, type IAdminIssueTokenInput, type IAdminIssuedToken, type IAdminLedgerQuery, type IAdminLogEntry, type IAdminLogPage, type IAdminLogQuery, type IAdminLoginHistoryQuery, type IAdminManifest, type IAdminMigrationModule, type IAdminMigrationsReport, type IAdminModuleEntry, type IAdminOperator, type IAdminOperatorLink, type IAdminOperatorsReport, type IAdminPendingMigration, type IAdminPlanInput, type IAdminReadiness, type IAdminReadinessProblem, type IAdminRouteEntry, type IAdminRoutesReport, type IAdminSecondFactor, type IAdminSession, type IAdminSubscriptionDTO, type IAdminSubscriptionPage, type IAdminSubscriptionsQuery, type IAdminTokenRecord, type IAdminTokensReport, type IAdminUserDTO, type IAdminUserPageResult, type IAdminUsersQuery, type IAdminWalletDTO, type IAdminWalletLedgerPage, type IApiError, type IApiResponse, type IAppleNativeInput, type IAuditAdminClientOptions, type IAuditEventDTO, type IAuditPageResult, type IAuthAdminClientOptions, type IBillingAdminClientOptions, type IBlacklistCustomerInput, type ICache, type ICancelSubscriptionInput, type IChangePasswordInput, type ICheckoutInput, type ICheckoutUrlResult, type IClientAuthConfig, type IConfigAdminClientOptions, type IConfigEntry, type IConfigRevision, type ICourierAdminClientOptions, type ICreateCustomerInput, type ICreatePlanInput, type ICreateRoleInput, type ICreateWebhookEndpointInput, type ICreateWorkspaceInput, type ICustomerAddressDTO, type ICustomerAddressListResult, type ICustomerAddressResult, type ICustomerDTO, type ICustomerDetailD2DTO, type ICustomerDetailDTO, type ICustomerEmailDTO, type ICustomerEmailListResult, type ICustomerEmailResult, type ICustomerLabelDTO, type ICustomerLabelListResult, type ICustomerListResult, type ICustomerNoteDTO, type ICustomerNoteListResult, type ICustomerNoteResult, type ICustomerPhoneDTO, type ICustomerPhoneListResult, type ICustomerPhoneResult, type ICustomerRelationshipDTO, type ICustomerRelationshipExpandedD2DTO, type ICustomerRelationshipExpandedDTO, type ICustomerRelationshipListResult, type ICustomerRelationshipResult, type ICustomerResult, type ICustomerShallowDTO, type ICustomerTagListResult, type IFonderieClientOptions, type IGetCustomerInput, type IGetLoginHistoryInput, type IInferredConfigValue, type IInvitationDTO, type IInvitationListResult, type IInviteEntry, type IInviteResult, type IInvoiceDTO, type IInvoicesResult, type IListAuditEventsInput, type IListCustomersInput, type ILoginEventDTO, type ILoginHistoryPageResult, type ILoginInput, type ILoginResult, type IMeResult, type IMediaAssetDTO, type IMediaAssetResult, type IMemberDTO, type IMemberListResult, type IMemoryCacheOptions, type IMfaEnabledResult, type IMfaRequiredResult, type IMfaSetupResult, type IPaymentMethodDTO, type IPaymentMethodResult, type IPlanDTO, type IPlanFeature, type IPlanListResult, type IPlanResult, type IPortalUrlResult, type IPreviewTemplateInput, type IReadOptions, type IRecordUsageInput, type IRefreshResult, type IRegisterInput, type IRegisterResult, type IRemoteConfigState, type IRenderedTemplateResult, type IRequestConfig, type IRequestLocationDTO, type IResendVerificationResult, type IResetPasswordInput, type IRevealSecretResult, type IRoleDTO, type IRoleListResult, type IRolePermission, type IRolePermissionInput, type IRolePermissionsResult, type IRoleResult, type IRollbackInput, type IRollbackTemplateInput, type ISecretEntry, type ISecretRevision, type ISessionDTO, type ISessionsResult, type ISetConfigInput, type ISetSecretInput, type ISetTemplateInput, type ISubscriptionChangeResult, type ISubscriptionDTO, type ISubscriptionResult, type ITemplateEntry, type ITemplateRevision, type ITestWebhookResult, type ITokens, type IUpdateCustomerInput, type IUpdatePlanInput, type IUpdatePreferencesInput, type IUpdateProfileInput, type IUpdateRoleInput, type IUpdateSettingsInput, type IUpdateWebhookEndpointInput, type IUpdateWorkspaceInput, type IUploadMediaInput, type IUsageResult, type IUserDTO, type IUserPreferences, type IVerifyEmailResult, type IWalletCheckoutInput, type IWalletDTO, type IWalletPreferencesInput, type IWalletPurchaseInput, type IWalletPurchaseResult, type IWalletResult, type IWalletTransactionDTO, type IWalletTransactionsResult, type IWebhookDeliveryDTO, type IWebhookDeliveryListResult, type IWebhookEndpointCreatedDTO, type IWebhookEndpointDTO, type IWebhookEndpointListResult, type IWorkspaceAddressDTO, type IWorkspaceDTO, type IWorkspaceListResult, type IWorkspaceResult, type IWorkspaceSettingsDTO, type IWorkspaceSettingsResult, MediaClient, type MigrationImpact, type SubscriberType, WebhooksClient, WorkspacesClient, castConfigValue, configKeyProblem, configValueLabel, configValueType, createMemoryCache, describeLocation, formatConfigValue, inferConfigValue, isMfaRequired };
1775
+ declare const en: {
1776
+ common: {
1777
+ refresh: string;
1778
+ working: string;
1779
+ loading: string;
1780
+ loadMore: string;
1781
+ save: string;
1782
+ saving: string;
1783
+ cancel: string;
1784
+ delete: string;
1785
+ deleting: string;
1786
+ back: string;
1787
+ open: string;
1788
+ copy: string;
1789
+ copied: string;
1790
+ dismiss: string;
1791
+ confirm: string;
1792
+ continue: string;
1793
+ reload: string;
1794
+ search: string;
1795
+ lookUp: string;
1796
+ filter: string;
1797
+ yes: string;
1798
+ no: string;
1799
+ none: string;
1800
+ never: string;
1801
+ you: string;
1802
+ all: string;
1803
+ allEnvironments: string;
1804
+ language: string;
1805
+ theme: string;
1806
+ themeSystem: string;
1807
+ themeLight: string;
1808
+ themeDark: string;
1809
+ status: {
1810
+ active: string;
1811
+ inactive: string;
1812
+ ready: string;
1813
+ error: string;
1814
+ advice: string;
1815
+ ok: string;
1816
+ failed: string;
1817
+ skipped: string;
1818
+ suspended: string;
1819
+ deleted: string;
1820
+ disabled: string;
1821
+ locked: string;
1822
+ pending: string;
1823
+ set: string;
1824
+ missing: string;
1825
+ free: string;
1826
+ };
1827
+ };
1828
+ nav: {
1829
+ groups: {
1830
+ today: string;
1831
+ system: string;
1832
+ people: string;
1833
+ money: string;
1834
+ settings: string;
1835
+ messaging: string;
1836
+ activity: string;
1837
+ };
1838
+ items: {
1839
+ attention: string;
1840
+ modules: string;
1841
+ environment: string;
1842
+ doctor: string;
1843
+ routes: string;
1844
+ users: string;
1845
+ catalog: string;
1846
+ subscriptions: string;
1847
+ settings: string;
1848
+ templates: string;
1849
+ audit: string;
1850
+ log: string;
1851
+ operators: string;
1852
+ tokens: string;
1853
+ migrations: string;
1854
+ };
1855
+ };
1856
+ shell: {
1857
+ openMenu: string;
1858
+ closeMenu: string;
1859
+ navLabel: string;
1860
+ missingClient: string;
1861
+ };
1862
+ session: {
1863
+ signInTitle: string;
1864
+ adminToken: string;
1865
+ pasteToken: string;
1866
+ tokenFoot: string;
1867
+ tokenRefused: string;
1868
+ unreachable: string;
1869
+ forgetToken: string;
1870
+ signOut: string;
1871
+ genericError: string;
1872
+ stepOf: string;
1873
+ steps: {
1874
+ adminToken: string;
1875
+ account: string;
1876
+ authenticator: string;
1877
+ backupCodes: string;
1878
+ newPassword: string;
1879
+ };
1880
+ checking: string;
1881
+ welcomeTitle: string;
1882
+ welcomeSubtitle: string;
1883
+ createAccountTitle: string;
1884
+ createAccountSubtitle: string;
1885
+ email: string;
1886
+ nameOptional: string;
1887
+ yourNameOptional: string;
1888
+ password: string;
1889
+ newPassword: string;
1890
+ confirmPassword: string;
1891
+ passwordHint: string;
1892
+ passwordHintNext: string;
1893
+ passwordsMismatch: string;
1894
+ creating: string;
1895
+ createAccount: string;
1896
+ loginFoot: string;
1897
+ backupCode: string;
1898
+ authenticatorCode: string;
1899
+ useApp: string;
1900
+ useBackup: string;
1901
+ enrollTitle: string;
1902
+ enrollSubtitle: string;
1903
+ enrollScan: string;
1904
+ enrollEnter: string;
1905
+ qrAlt: string;
1906
+ cantScan: string;
1907
+ preparing: string;
1908
+ cancelSignOut: string;
1909
+ codeFromApp: string;
1910
+ verifyContinue: string;
1911
+ backupTitle: string;
1912
+ backupSubtitle: string;
1913
+ backupFileHeader: string;
1914
+ download: string;
1915
+ savedCheckbox: string;
1916
+ openConsole: string;
1917
+ linkInvalidTitle: string;
1918
+ checkingLink: string;
1919
+ joinTitle: string;
1920
+ recoverTitle: string;
1921
+ joinSubtitle: string;
1922
+ recoverSubtitle: string;
1923
+ stepUpTitle: string;
1924
+ stepUpSubtitle: string;
1925
+ twoStepTitle: string;
1926
+ twoStepSubtitle: string;
1927
+ verify: string;
1928
+ changeLanguage: string;
1929
+ themeChoice: string;
1930
+ errors: {
1931
+ INVALID_CREDENTIALS: string;
1932
+ INVALID_CODE: string;
1933
+ LOCKED: string;
1934
+ LOCKED_GENERIC: string;
1935
+ RATE_LIMITED: string;
1936
+ WEAK_PASSWORD: string;
1937
+ INVALID_LINK: string;
1938
+ ALREADY_OPERATOR: string;
1939
+ ALREADY_CLAIMED: string;
1940
+ CROSS_ORIGIN: string;
1941
+ };
1942
+ };
1943
+ attention: {
1944
+ title: string;
1945
+ lead: string;
1946
+ leadChecked: string;
1947
+ needsAction: string;
1948
+ needsActionHint: string;
1949
+ advice: string;
1950
+ adviceHint: string;
1951
+ modulesReady: string;
1952
+ modulesReadyHint: string;
1953
+ routes: string;
1954
+ running: string;
1955
+ emptyTitle: string;
1956
+ emptyBody: string;
1957
+ };
1958
+ modules: {
1959
+ title: string;
1960
+ lead: string;
1961
+ leadSummary: string;
1962
+ logOn: string;
1963
+ logOff: string;
1964
+ colModule: string;
1965
+ colVersion: string;
1966
+ colReadiness: string;
1967
+ colAdmin: string;
1968
+ notReported: string;
1969
+ describesAdmin: string;
1970
+ };
1971
+ environment: {
1972
+ title: string;
1973
+ lead: string;
1974
+ missingCount: string;
1975
+ allSet: string;
1976
+ variables: string;
1977
+ noVariables: string;
1978
+ moduleReadiness: string;
1979
+ problemOne: string;
1980
+ problemMany: string;
1981
+ };
1982
+ doctor: {
1983
+ title: string;
1984
+ lead: string;
1985
+ allPass: string;
1986
+ oneFailed: string;
1987
+ runAgain: string;
1988
+ running: string;
1989
+ colResult: string;
1990
+ colCheck: string;
1991
+ colTime: string;
1992
+ };
1993
+ routes: {
1994
+ title: string;
1995
+ lead: string;
1996
+ leadCount: string;
1997
+ filterPlaceholder: string;
1998
+ filterLabel: string;
1999
+ colMethod: string;
2000
+ colPath: string;
2001
+ colGuard: string;
2002
+ colModule: string;
2003
+ application: string;
2004
+ noMatch: string;
2005
+ };
2006
+ log: {
2007
+ title: string;
2008
+ lead: string;
2009
+ off: string;
2010
+ empty: string;
2011
+ colWhen: string;
2012
+ colActor: string;
2013
+ colRequest: string;
2014
+ colStatus: string;
2015
+ colModule: string;
2016
+ };
2017
+ migrations: {
2018
+ title: string;
2019
+ lead: string;
2020
+ needsWrite: string;
2021
+ firstInstall: string;
2022
+ upToDate: string;
2023
+ noPending: string;
2024
+ pendingCount: string;
2025
+ destructive: string;
2026
+ additive: string;
2027
+ blockedBy: string;
2028
+ destructiveBlocked: string;
2029
+ confirmApply: string;
2030
+ applyOne: string;
2031
+ applyMany: string;
2032
+ };
2033
+ tokens: {
2034
+ title: string;
2035
+ lead: string;
2036
+ needsRoot: string;
2037
+ rootToken: string;
2038
+ strong: string;
2039
+ weak: string;
2040
+ issuedTokens: string;
2041
+ issuingOff: string;
2042
+ copyNow: string;
2043
+ namePlaceholder: string;
2044
+ nameLabel: string;
2045
+ scope: {
2046
+ read: string;
2047
+ write: string;
2048
+ secrets: string;
2049
+ };
2050
+ daysPlaceholder: string;
2051
+ daysLabel: string;
2052
+ issue: string;
2053
+ col: {
2054
+ name: string;
2055
+ scopes: string;
2056
+ created: string;
2057
+ expires: string;
2058
+ lastUsed: string;
2059
+ };
2060
+ revoked: string;
2061
+ revoke: string;
2062
+ revokeConfirm: string;
2063
+ emptyTitle: string;
2064
+ emptyBody: string;
2065
+ legacyTitle: string;
2066
+ legacyNone: string;
2067
+ legacyRow: string;
2068
+ };
2069
+ operators: {
2070
+ title: string;
2071
+ lead: string;
2072
+ level: {
2073
+ read: string;
2074
+ editor: string;
2075
+ owner: string;
2076
+ };
2077
+ levelHint: {
2078
+ read: string;
2079
+ editor: string;
2080
+ owner: string;
2081
+ };
2082
+ needsOwner: string;
2083
+ mintedTitle: string;
2084
+ mintedBody: string;
2085
+ invite: string;
2086
+ invitePlaceholder: string;
2087
+ inviteLabel: string;
2088
+ accessLevelLabel: string;
2089
+ accessLevelFor: string;
2090
+ createInvite: string;
2091
+ emptyTitle: string;
2092
+ col: {
2093
+ operator: string;
2094
+ access: string;
2095
+ status: string;
2096
+ lastSignIn: string;
2097
+ };
2098
+ settingUp: string;
2099
+ backupCodesLeftOne: string;
2100
+ backupCodesLeftMany: string;
2101
+ recoveryLink: string;
2102
+ recoveryConfirm: string;
2103
+ disable: string;
2104
+ enable: string;
2105
+ disableConfirm: string;
2106
+ pendingLinks: string;
2107
+ linkKind: {
2108
+ invite: string;
2109
+ recovery: string;
2110
+ };
2111
+ expiresOn: string;
2112
+ revoke: string;
2113
+ };
2114
+ users: {
2115
+ title: string;
2116
+ lead: string;
2117
+ emailPlaceholder: string;
2118
+ emailLabel: string;
2119
+ allUsers: string;
2120
+ whichAccounts: string;
2121
+ activeAccounts: string;
2122
+ deletedAccounts: string;
2123
+ noUserWithEmail: string;
2124
+ missingIdPrefix: string;
2125
+ missingIdBody: string;
2126
+ planCredits: string;
2127
+ emptyTitle: string;
2128
+ emptyBody: string;
2129
+ col: {
2130
+ email: string;
2131
+ name: string;
2132
+ plan: string;
2133
+ created: string;
2134
+ status: string;
2135
+ };
2136
+ field: {
2137
+ id: string;
2138
+ email: string;
2139
+ verified: string;
2140
+ mfa: string;
2141
+ provider: string;
2142
+ lastLogin: string;
2143
+ created: string;
2144
+ };
2145
+ passwordProvider: string;
2146
+ noPasswordSet: string;
2147
+ deletedOn: string;
2148
+ deletedBody: string;
2149
+ suspend: string;
2150
+ unsuspend: string;
2151
+ signOutEverywhere: string;
2152
+ liveSessions: string;
2153
+ since: string;
2154
+ recentSignIns: string;
2155
+ noneRecorded: string;
2156
+ outcome: {
2157
+ success: string;
2158
+ failure: string;
2159
+ };
2160
+ proxyVpn: string;
2161
+ hosting: string;
2162
+ };
2163
+ billing: {
2164
+ statusLabel: {
2165
+ active: string;
2166
+ trialing: string;
2167
+ past_due: string;
2168
+ unpaid: string;
2169
+ canceled: string;
2170
+ incomplete: string;
2171
+ incomplete_expired: string;
2172
+ paused: string;
2173
+ };
2174
+ intervalLabel: {
2175
+ month: string;
2176
+ year: string;
2177
+ };
2178
+ renews: string;
2179
+ ends: string;
2180
+ ended: string;
2181
+ loading: string;
2182
+ plan: string;
2183
+ free: string;
2184
+ noSubscription: string;
2185
+ credits: string;
2186
+ currencyPlaceholder: string;
2187
+ currencyLabel: string;
2188
+ currencyTitle: string;
2189
+ breakdown: string;
2190
+ expires: string;
2191
+ noWallet: string;
2192
+ grantCredits: string;
2193
+ amountPlaceholder: string;
2194
+ amountLabel: string;
2195
+ reasonPlaceholder: string;
2196
+ reasonLabel: string;
2197
+ grant: string;
2198
+ granted: string;
2199
+ noMovements: string;
2200
+ col: {
2201
+ when: string;
2202
+ kind: string;
2203
+ amount: string;
2204
+ note: string;
2205
+ };
2206
+ ledgerKind: {
2207
+ purchase: string;
2208
+ grant: string;
2209
+ usage: string;
2210
+ refund: string;
2211
+ adjustment: string;
2212
+ expiry: string;
2213
+ };
2214
+ subscriptions: {
2215
+ title: string;
2216
+ lead: string;
2217
+ detailLead: string;
2218
+ back: string;
2219
+ filterLabel: string;
2220
+ filter: {
2221
+ all: string;
2222
+ active: string;
2223
+ trialing: string;
2224
+ pastDue: string;
2225
+ canceled: string;
2226
+ };
2227
+ empty: {
2228
+ all: string;
2229
+ active: string;
2230
+ trialing: string;
2231
+ pastDue: string;
2232
+ canceled: string;
2233
+ };
2234
+ emptyHint: string;
2235
+ typeLabel: string;
2236
+ typeWorkspace: string;
2237
+ typeUser: string;
2238
+ idPlaceholder: string;
2239
+ idLabel: string;
2240
+ col: {
2241
+ subscriber: string;
2242
+ plan: string;
2243
+ status: string;
2244
+ renewsEnds: string;
2245
+ };
2246
+ cancels: string;
2247
+ };
2248
+ };
2249
+ catalog: {
2250
+ title: string;
2251
+ lead: string;
2252
+ configured: string;
2253
+ stored: string;
2254
+ emptyTitle: string;
2255
+ emptyBody: string;
2256
+ col: {
2257
+ plan: string;
2258
+ tier: string;
2259
+ seats: string;
2260
+ monthly: string;
2261
+ yearly: string;
2262
+ trial: string;
2263
+ };
2264
+ trialDays: string;
2265
+ deleteConfirm: string;
2266
+ };
2267
+ audit: {
2268
+ title: string;
2269
+ lead: string;
2270
+ workspacePlaceholder: string;
2271
+ typePlaceholder: string;
2272
+ actorPlaceholder: string;
2273
+ fromLabel: string;
2274
+ fromTitle: string;
2275
+ toLabel: string;
2276
+ toTitle: string;
2277
+ empty: string;
2278
+ col: {
2279
+ when: string;
2280
+ type: string;
2281
+ workspace: string;
2282
+ actor: string;
2283
+ request: string;
2284
+ };
2285
+ };
2286
+ config: {
2287
+ environment: string;
2288
+ reveal: string;
2289
+ type: {
2290
+ text: string;
2291
+ number: string;
2292
+ onOff: string;
2293
+ json: string;
2294
+ };
2295
+ shape: {
2296
+ text: string;
2297
+ number: string;
2298
+ onOff: string;
2299
+ list: string;
2300
+ object: string;
2301
+ empty: string;
2302
+ };
2303
+ list: {
2304
+ title: string;
2305
+ newEntry: string;
2306
+ hint: string;
2307
+ empty: string;
2308
+ emptyCta: string;
2309
+ emptyInEnv: string;
2310
+ publicBadge: string;
2311
+ publicTitle: string;
2312
+ publicSummary: string;
2313
+ publicSummaryOne: string;
2314
+ publicHint: string;
2315
+ secretsTitle: string;
2316
+ newSecret: string;
2317
+ secretsHint: string;
2318
+ secretsEmpty: string;
2319
+ secretsEmptyInEnv: string;
2320
+ };
2321
+ editor: {
2322
+ newEntry: string;
2323
+ newSecret: string;
2324
+ environmentLabel: string;
2325
+ key: string;
2326
+ environmentHint: string;
2327
+ value: string;
2328
+ newValue: string;
2329
+ valuePlaceholder: string;
2330
+ detected: string;
2331
+ saveAsText: string;
2332
+ on: string;
2333
+ off: string;
2334
+ type: string;
2335
+ changeType: string;
2336
+ changeTypeWarning: string;
2337
+ description: string;
2338
+ conflict: string;
2339
+ confirmDelete: string;
2340
+ confirmDeleteIn: string;
2341
+ history: string;
2342
+ unknownActor: string;
2343
+ rollBack: string;
2344
+ };
2345
+ errors: {
2346
+ keyRequired: string;
2347
+ keyPattern: string;
2348
+ exists: string;
2349
+ number: string;
2350
+ boolean: string;
2351
+ json: string;
2352
+ };
2353
+ };
2354
+ templates: {
2355
+ defaultLocale: string;
2356
+ builtInBadge: string;
2357
+ subject: string;
2358
+ htmlBody: string;
2359
+ textBody: string;
2360
+ list: {
2361
+ title: string;
2362
+ newTemplate: string;
2363
+ hint: string;
2364
+ loading: string;
2365
+ };
2366
+ editor: {
2367
+ loading: string;
2368
+ addLocale: string;
2369
+ builtInNote: string;
2370
+ active: string;
2371
+ conflict: string;
2372
+ noChanges: string;
2373
+ sampleData: string;
2374
+ sampleNotObject: string;
2375
+ sampleInvalid: string;
2376
+ preview: string;
2377
+ previewTitle: string;
2378
+ rendering: string;
2379
+ live: string;
2380
+ nothingRendered: string;
2381
+ history: string;
2382
+ unknownActor: string;
2383
+ rollBack: string;
2384
+ confirmDelete: string;
2385
+ confirmDeleteLocale: string;
2386
+ };
2387
+ create: {
2388
+ titleNew: string;
2389
+ titleLocale: string;
2390
+ hintNew: string;
2391
+ hintLocale: string;
2392
+ type: string;
2393
+ locale: string;
2394
+ localeOptional: string;
2395
+ creating: string;
2396
+ submitNew: string;
2397
+ submitLocale: string;
2398
+ errorType: string;
2399
+ errorLocaleRequired: string;
2400
+ errorLocale: string;
2401
+ errorText: string;
2402
+ exists: string;
2403
+ existsLocale: string;
2404
+ };
2405
+ };
2406
+ };
2407
+
2408
+ declare const ADMIN_LOCALES: readonly ["en", "fr", "es"];
2409
+ type AdminLocale = (typeof ADMIN_LOCALES)[number];
2410
+ declare const DEFAULT_ADMIN_LOCALE: AdminLocale;
2411
+ /** Native-language names, for the language menu. */
2412
+ declare const adminLocaleNames: Record<AdminLocale, string>;
2413
+ /** BCP 47 tags for Intl (dates, numbers). */
2414
+ declare const adminLocaleTags: Record<AdminLocale, string>;
2415
+ declare const isAdminLocale: (value: unknown) => value is AdminLocale;
2416
+ /** The first supported language in a browser's preference list, else English. */
2417
+ declare function detectAdminLocale(languages?: readonly string[]): AdminLocale;
2418
+ type AdminMessages = typeof en;
2419
+ type MessagePath<T> = {
2420
+ [K in keyof T & string]: T[K] extends string ? K : T[K] extends object ? `${K}.${MessagePath<T[K]>}` : never;
2421
+ }[keyof T & string];
2422
+ /** Every dot-path to a string in the dictionary, e.g. 'users.title'. */
2423
+ type AdminMessageKey = MessagePath<AdminMessages>;
2424
+ type AdminMessageParams = Record<string, string | number>;
2425
+ /**
2426
+ * A translator for one locale: t('users.title'), t('users.count', { n: 3 }).
2427
+ * A missing key renders the key itself — visible, never a crash. `{name}`
2428
+ * placeholders are interpolated from params.
2429
+ */
2430
+ declare function createAdminT(locale?: AdminLocale | undefined): (key: AdminMessageKey, params?: AdminMessageParams) => string;
2431
+ type AdminT = ReturnType<typeof createAdminT>;
2432
+ /** Dates in the console's language: 'date', 'datetime' or 'time'. */
2433
+ declare function formatAdminDate(value: string | number | Date, locale?: AdminLocale | undefined, style?: 'date' | 'datetime' | 'time'): string;
2434
+
2435
+ export { ADMIN_LOCALES, AdminClient, type AdminLocale, type AdminMessageKey, type AdminMessageParams, type AdminMessages, type AdminRouteGuard, type AdminScope, type AdminSessionState, type AdminT, AuditAdminClient, AuditClient, AuthAdminClient, AuthClient, BillingAdminClient, BillingClient, CONFIG_KEY_PATTERN, CONFIG_VALUE_TYPES, type CastResult, ConfigAdminClient, ConfigClient, type ConfigValueType, CourierAdminClient, type CustomerLabelType, type CustomerSex, type CustomerType, CustomersClient, DEFAULT_ADMIN_LOCALE, FonderieApiError, FonderieClient, type IAcceptInvitationResult, type IAddAddressInput, type IAddEmailInput, type IAddPhoneInput, type IAddRelationshipInput, type IAddressDTO, type IAdminAttention, type IAdminAttentionItem, type IAdminAuditQuery, type IAdminCatalog, type IAdminCheckResult, type IAdminClientOptions, type IAdminCreatedLink, type IAdminDoctorReport, type IAdminEnrollment, type IAdminEnvironmentReport, type IAdminGrantInput, type IAdminIssueTokenInput, type IAdminIssuedToken, type IAdminLedgerQuery, type IAdminLogEntry, type IAdminLogPage, type IAdminLogQuery, type IAdminLoginHistoryQuery, type IAdminManifest, type IAdminMigrationModule, type IAdminMigrationsReport, type IAdminModuleEntry, type IAdminOperator, type IAdminOperatorLink, type IAdminOperatorsReport, type IAdminPendingMigration, type IAdminPlanInput, type IAdminReadiness, type IAdminReadinessProblem, type IAdminRouteEntry, type IAdminRoutesReport, type IAdminSecondFactor, type IAdminSession, type IAdminSubscriptionDTO, type IAdminSubscriptionPage, type IAdminSubscriptionsQuery, type IAdminTokenRecord, type IAdminTokensReport, type IAdminUserDTO, type IAdminUserPageResult, type IAdminUsersQuery, type IAdminWalletDTO, type IAdminWalletLedgerPage, type IApiError, type IApiResponse, type IAppleNativeInput, type IAuditAdminClientOptions, type IAuditEventDTO, type IAuditPageResult, type IAuthAdminClientOptions, type IBillingAdminClientOptions, type IBlacklistCustomerInput, type ICache, type ICancelSubscriptionInput, type IChangePasswordInput, type ICheckoutInput, type ICheckoutUrlResult, type IClientAuthConfig, type IConfigAdminClientOptions, type IConfigEntry, type IConfigRevision, type ICourierAdminClientOptions, type ICreateCustomerInput, type ICreatePlanInput, type ICreateRoleInput, type ICreateWebhookEndpointInput, type ICreateWorkspaceInput, type ICustomerAddressDTO, type ICustomerAddressListResult, type ICustomerAddressResult, type ICustomerDTO, type ICustomerDetailD2DTO, type ICustomerDetailDTO, type ICustomerEmailDTO, type ICustomerEmailListResult, type ICustomerEmailResult, type ICustomerLabelDTO, type ICustomerLabelListResult, type ICustomerListResult, type ICustomerNoteDTO, type ICustomerNoteListResult, type ICustomerNoteResult, type ICustomerPhoneDTO, type ICustomerPhoneListResult, type ICustomerPhoneResult, type ICustomerRelationshipDTO, type ICustomerRelationshipExpandedD2DTO, type ICustomerRelationshipExpandedDTO, type ICustomerRelationshipListResult, type ICustomerRelationshipResult, type ICustomerResult, type ICustomerShallowDTO, type ICustomerTagListResult, type IFonderieClientOptions, type IGetCustomerInput, type IGetLoginHistoryInput, type IInferredConfigValue, type IInvitationDTO, type IInvitationListResult, type IInviteEntry, type IInviteResult, type IInvoiceDTO, type IInvoicesResult, type IListAuditEventsInput, type IListCustomersInput, type ILoginEventDTO, type ILoginHistoryPageResult, type ILoginInput, type ILoginResult, type IMeResult, type IMediaAssetDTO, type IMediaAssetResult, type IMemberDTO, type IMemberListResult, type IMemoryCacheOptions, type IMfaEnabledResult, type IMfaRequiredResult, type IMfaSetupResult, type IPaymentMethodDTO, type IPaymentMethodResult, type IPlanDTO, type IPlanFeature, type IPlanListResult, type IPlanResult, type IPortalUrlResult, type IPreviewTemplateInput, type IReadOptions, type IRecordUsageInput, type IRefreshResult, type IRegisterInput, type IRegisterResult, type IRemoteConfigState, type IRenderedTemplateResult, type IRequestConfig, type IRequestLocationDTO, type IResendVerificationResult, type IResetPasswordInput, type IRevealSecretResult, type IRoleDTO, type IRoleListResult, type IRolePermission, type IRolePermissionInput, type IRolePermissionsResult, type IRoleResult, type IRollbackInput, type IRollbackTemplateInput, type ISecretEntry, type ISecretRevision, type ISessionDTO, type ISessionsResult, type ISetConfigInput, type ISetSecretInput, type ISetTemplateInput, type ISubscriptionChangeResult, type ISubscriptionDTO, type ISubscriptionResult, type ITemplateEntry, type ITemplateRevision, type ITestWebhookResult, type ITokens, type IUpdateCustomerInput, type IUpdatePlanInput, type IUpdatePreferencesInput, type IUpdateProfileInput, type IUpdateRoleInput, type IUpdateSettingsInput, type IUpdateWebhookEndpointInput, type IUpdateWorkspaceInput, type IUploadMediaInput, type IUsageResult, type IUserDTO, type IUserPreferences, type IVerifyEmailResult, type IWalletCheckoutInput, type IWalletDTO, type IWalletPreferencesInput, type IWalletPurchaseInput, type IWalletPurchaseResult, type IWalletResult, type IWalletTransactionDTO, type IWalletTransactionsResult, type IWebhookDeliveryDTO, type IWebhookDeliveryListResult, type IWebhookEndpointCreatedDTO, type IWebhookEndpointDTO, type IWebhookEndpointListResult, type IWorkspaceAddressDTO, type IWorkspaceDTO, type IWorkspaceListResult, type IWorkspaceResult, type IWorkspaceSettingsDTO, type IWorkspaceSettingsResult, MediaClient, type MigrationImpact, type SubscriberType, WebhooksClient, WorkspacesClient, adminLocaleNames, adminLocaleTags, castConfigValue, configKeyProblem, configValueLabel, configValueType, createAdminT, createMemoryCache, describeLocation, detectAdminLocale, formatAdminDate, formatConfigValue, inferConfigValue, isAdminLocale, isMfaRequired };