@openrails/billing-ui 0.258.1 → 0.259.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/admin/index.d.ts +2 -2
- package/dist/admin/summary.d.ts +6 -0
- package/dist/admin.js +378 -355
- package/dist/admin.js.map +1 -1
- package/dist/client/generated/error-codes.d.ts +1 -1
- package/dist/client/generated/routes.d.ts +17 -0
- package/dist/client/generated/wire.d.ts +84 -0
- package/package.json +2 -2
package/dist/admin/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BillingAdmin } from './billing-admin';
|
|
2
2
|
export type { BillingAdminProps, BillingAdminAuth, BillingAdminMerchant, BillingAdminNavigation, BillingAdminResource, BillingAdminSettingsTab, } from './types';
|
|
3
|
-
export { BillingCustomerSummary, billingConfirmWarnings, billingPermissionHelp, useBillingAdminAccess, } from './summary';
|
|
4
|
-
export type { BillingCustomerSummaryProps } from './summary';
|
|
3
|
+
export { BillingCustomerSummary, billingConfirmWarnings, loadBillingConfirmWarnings, billingPermissionHelp, useBillingAdminAccess, } from './summary';
|
|
4
|
+
export type { BillingCustomerSummaryProps, BillingConfirmWarningsOptions, } from './summary';
|
|
5
5
|
export { billingAdminMessages } from './messages';
|
package/dist/admin/summary.d.ts
CHANGED
|
@@ -22,6 +22,12 @@ export declare function billingConfirmWarnings(customer: {
|
|
|
22
22
|
status: string;
|
|
23
23
|
}[];
|
|
24
24
|
}): string[];
|
|
25
|
+
export interface BillingConfirmWarningsOptions extends Connection {
|
|
26
|
+
customer: string;
|
|
27
|
+
signal?: AbortSignal;
|
|
28
|
+
}
|
|
29
|
+
/** Advisory-only billing check before a host bans or deletes an account. */
|
|
30
|
+
export declare function loadBillingConfirmWarnings(options: BillingConfirmWarningsOptions): Promise<string[]>;
|
|
25
31
|
/** Descriptions for a host's role editor; permissions are enforced by the API. */
|
|
26
32
|
export declare const billingPermissionHelp: Readonly<Record<string, string>>;
|
|
27
33
|
export {};
|