@openrails/billing-ui 0.273.0 → 0.275.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/components/customer-search.d.ts +5 -0
- package/dist/admin/components/missing-record.d.ts +6 -0
- package/dist/admin/components/status-badge.d.ts +1 -0
- package/dist/admin/context.d.ts +34 -2
- package/dist/admin/lib/api/endpoints.d.ts +4 -1
- package/dist/admin/lib/api/index.d.ts +3 -0
- package/dist/admin/lib/api/order-endpoints.d.ts +1 -0
- package/dist/admin/lib/api/types.d.ts +4 -12
- package/dist/admin/lib/capabilities.d.ts +4 -0
- package/dist/admin/lib/dialog-width.d.ts +4 -3
- package/dist/admin/lib/error-text.d.ts +4 -0
- package/dist/admin/lib/format.d.ts +5 -1
- package/dist/admin/lib/mutations.d.ts +6 -1
- package/dist/admin/lib/order-queries.d.ts +3 -0
- package/dist/admin/lib/queries.d.ts +6 -0
- package/dist/admin/lib/tile-grids.d.ts +6 -0
- package/dist/admin/messages.d.ts +102 -8
- package/dist/admin/pages/dashboard/lib.d.ts +1 -0
- package/dist/admin/pages/imports/shared.d.ts +1 -0
- package/dist/admin/pages/payments/index.d.ts +1 -2
- package/dist/admin/pages/subscriptions/change-subscription-dialog.d.ts +4 -7
- package/dist/admin/pages/subscriptions/index.d.ts +1 -2
- package/dist/admin/pages/subscriptions/subscription-change-options.d.ts +6 -15
- package/dist/admin-attempts-CP5CWyNR.js +419 -0
- package/dist/admin-attempts-CP5CWyNR.js.map +1 -0
- package/dist/{admin-auth-1aZIgXiS.js → admin-auth-DlIOmwPo.js} +2 -2
- package/dist/{admin-auth-1aZIgXiS.js.map → admin-auth-DlIOmwPo.js.map} +1 -1
- package/dist/{admin-badge-pgG6D9-a.js → admin-badge-DR_8AhdC.js} +2 -2
- package/dist/{admin-badge-pgG6D9-a.js.map → admin-badge-DR_8AhdC.js.map} +1 -1
- package/dist/{admin-button-CrcYk5r0.js → admin-button-DBzTD6By.js} +2 -2
- package/dist/{admin-button-CrcYk5r0.js.map → admin-button-DBzTD6By.js.map} +1 -1
- package/dist/{admin-capabilities-BDcZeHL_.js → admin-capabilities-CZdT1Pxe.js} +35 -14
- package/dist/admin-capabilities-CZdT1Pxe.js.map +1 -0
- package/dist/{admin-card-DvTMc5Se.js → admin-card-mZl4-s5d.js} +2 -2
- package/dist/{admin-card-DvTMc5Se.js.map → admin-card-mZl4-s5d.js.map} +1 -1
- package/dist/{admin-catalog-BlF5mnu4.js → admin-catalog-DpTjS0Yo.js} +298 -298
- package/dist/{admin-catalog-BlF5mnu4.js.map → admin-catalog-DpTjS0Yo.js.map} +1 -1
- package/dist/{admin-cursor-pager-CIb3Jw2F.js → admin-cursor-pager-C-KjCIy9.js} +6 -6
- package/dist/{admin-cursor-pager-CIb3Jw2F.js.map → admin-cursor-pager-C-KjCIy9.js.map} +1 -1
- package/dist/{admin-customers-EpfoWDh-.js → admin-customers-BE3N839X.js} +22 -21
- package/dist/{admin-customers-EpfoWDh-.js.map → admin-customers-BE3N839X.js.map} +1 -1
- package/dist/admin-dashboard-BxjkV15J.js +464 -0
- package/dist/admin-dashboard-BxjkV15J.js.map +1 -0
- package/dist/admin-data-table-D89AwWz_.js +107 -0
- package/dist/admin-data-table-D89AwWz_.js.map +1 -0
- package/dist/admin-detail-BKe9xqPd.js +338 -0
- package/dist/admin-detail-BKe9xqPd.js.map +1 -0
- package/dist/admin-detail-C8lD7U2t.js +699 -0
- package/dist/admin-detail-C8lD7U2t.js.map +1 -0
- package/dist/admin-detail-D6zD085K.js +354 -0
- package/dist/admin-detail-D6zD085K.js.map +1 -0
- package/dist/{admin-detail-3wFIDPNB.js → admin-detail-Ln56otK0.js} +83 -83
- package/dist/{admin-detail-3wFIDPNB.js.map → admin-detail-Ln56otK0.js.map} +1 -1
- package/dist/admin-detail-P-UnNvXJ.js +1357 -0
- package/dist/admin-detail-P-UnNvXJ.js.map +1 -0
- package/dist/{admin-dialog-BSRf9Zre.js → admin-dialog-Dn2FRJu4.js} +3 -3
- package/dist/{admin-dialog-BSRf9Zre.js.map → admin-dialog-Dn2FRJu4.js.map} +1 -1
- package/dist/admin-dialog-width-CC7QHT1p.js +6 -0
- package/dist/admin-dialog-width-CC7QHT1p.js.map +1 -0
- package/dist/{admin-dropdown-menu-D0E5rwmn.js → admin-dropdown-menu-DLUn6Uj3.js} +2 -2
- package/dist/{admin-dropdown-menu-D0E5rwmn.js.map → admin-dropdown-menu-DLUn6Uj3.js.map} +1 -1
- package/dist/{admin-dunning-B2zgtrOo.js → admin-dunning-COaHzrmN.js} +2 -2
- package/dist/{admin-dunning-B2zgtrOo.js.map → admin-dunning-COaHzrmN.js.map} +1 -1
- package/dist/{admin-fact-card-BPSVhS15.js → admin-fact-card-DKvBnUXB.js} +2 -2
- package/dist/{admin-fact-card-BPSVhS15.js.map → admin-fact-card-DKvBnUXB.js.map} +1 -1
- package/dist/admin-format-BbiTCqUG.js +171 -0
- package/dist/admin-format-BbiTCqUG.js.map +1 -0
- package/dist/{admin-health-D0L5Kig7.js → admin-health-DmnI4e8K.js} +249 -248
- package/dist/admin-health-DmnI4e8K.js.map +1 -0
- package/dist/{admin-imports-CgZB5JAV.js → admin-imports-C0aMP6sj.js} +65 -65
- package/dist/{admin-imports-CgZB5JAV.js.map → admin-imports-C0aMP6sj.js.map} +1 -1
- package/dist/{admin-input-DJAK9nmk.js → admin-input-JKrQIGfD.js} +2 -2
- package/dist/{admin-input-DJAK9nmk.js.map → admin-input-JKrQIGfD.js.map} +1 -1
- package/dist/{admin-label-aviN9Gng.js → admin-label-CHWsVIZC.js} +2 -2
- package/dist/{admin-label-aviN9Gng.js.map → admin-label-CHWsVIZC.js.map} +1 -1
- package/dist/{admin-linked-table-row-BGr7JXeM.js → admin-linked-table-row-BMZYYsuk.js} +4 -4
- package/dist/{admin-linked-table-row-BGr7JXeM.js.map → admin-linked-table-row-BMZYYsuk.js.map} +1 -1
- package/dist/{admin-map-dialog-DS2Wz6G3.js → admin-map-dialog-BHUGdCcv.js} +24 -24
- package/dist/{admin-map-dialog-DS2Wz6G3.js.map → admin-map-dialog-BHUGdCcv.js.map} +1 -1
- package/dist/{admin-metering-D-e-37Jn.js → admin-metering-CDqueHUh.js} +307 -307
- package/dist/{admin-metering-D-e-37Jn.js.map → admin-metering-CDqueHUh.js.map} +1 -1
- package/dist/admin-missing-record-BPFs3MmO.js +42 -0
- package/dist/admin-missing-record-BPFs3MmO.js.map +1 -0
- package/dist/admin-ops-CL2kjDwi.js +359 -0
- package/dist/admin-ops-CL2kjDwi.js.map +1 -0
- package/dist/admin-orders-C1Sf2qhc.js +192 -0
- package/dist/admin-orders-C1Sf2qhc.js.map +1 -0
- package/dist/admin-parked-a0tB5bhG.js +193 -0
- package/dist/admin-parked-a0tB5bhG.js.map +1 -0
- package/dist/admin-payments-DJcjwRA4.js +221 -0
- package/dist/admin-payments-DJcjwRA4.js.map +1 -0
- package/dist/{admin-price-detail-CSI5oKdb.js → admin-price-detail-BOmeWw15.js} +103 -103
- package/dist/{admin-price-detail-CSI5oKdb.js.map → admin-price-detail-BOmeWw15.js.map} +1 -1
- package/dist/{admin-price-format-BVUpDoSC.js → admin-price-format-CqOmHrIn.js} +2 -2
- package/dist/{admin-price-format-BVUpDoSC.js.map → admin-price-format-CqOmHrIn.js.map} +1 -1
- package/dist/{admin-price-wizard-CBEcNGvP.js → admin-price-wizard-B6s5OJeO.js} +63 -63
- package/dist/{admin-price-wizard-CBEcNGvP.js.map → admin-price-wizard-B6s5OJeO.js.map} +1 -1
- package/dist/{admin-proposals-Cuj7tvaM.js → admin-proposals-DVrl-ym4.js} +70 -70
- package/dist/{admin-proposals-Cuj7tvaM.js.map → admin-proposals-DVrl-ym4.js.map} +1 -1
- package/dist/admin-provider-prices-BVVogH7Q.js +241 -0
- package/dist/admin-provider-prices-BVVogH7Q.js.map +1 -0
- package/dist/{admin-range-picker-De36L-AP.js → admin-range-picker-C6BtSm2B.js} +9 -9
- package/dist/{admin-range-picker-De36L-AP.js.map → admin-range-picker-C6BtSm2B.js.map} +1 -1
- package/dist/{admin-records-H0MlhEVY.js → admin-records-DKtcgN11.js} +50 -50
- package/dist/{admin-records-H0MlhEVY.js.map → admin-records-DKtcgN11.js.map} +1 -1
- package/dist/{admin-reports-BFGS_PWf.js → admin-reports-CtPoiceH.js} +50 -50
- package/dist/{admin-reports-BFGS_PWf.js.map → admin-reports-CtPoiceH.js.map} +1 -1
- package/dist/{admin-select-BUcEU5Rg.js → admin-select-6Yuh5M1Q.js} +2 -2
- package/dist/{admin-select-BUcEU5Rg.js.map → admin-select-6Yuh5M1Q.js.map} +1 -1
- package/dist/admin-settings-DscHu4ww.js +1823 -0
- package/dist/admin-settings-DscHu4ww.js.map +1 -0
- package/dist/{admin-shared-lfIUEbPY.js → admin-shared-BywM-MMp.js} +28 -24
- package/dist/{admin-shared-lfIUEbPY.js.map → admin-shared-BywM-MMp.js.map} +1 -1
- package/dist/{admin-skeleton-B0yzYY_X.js → admin-skeleton-lndmw89u.js} +2 -2
- package/dist/{admin-skeleton-B0yzYY_X.js.map → admin-skeleton-lndmw89u.js.map} +1 -1
- package/dist/admin-status-badge-IL8ofZ_6.js +51 -0
- package/dist/admin-status-badge-IL8ofZ_6.js.map +1 -0
- package/dist/admin-subscriptions-Cd5CGrue.js +271 -0
- package/dist/admin-subscriptions-Cd5CGrue.js.map +1 -0
- package/dist/{admin-switch-DDorugaw.js → admin-switch-DpwQSzEm.js} +2 -2
- package/dist/{admin-switch-DDorugaw.js.map → admin-switch-DpwQSzEm.js.map} +1 -1
- package/dist/{admin-table-BU6Tie69.js → admin-table-D-GdGM1m.js} +2 -2
- package/dist/{admin-table-BU6Tie69.js.map → admin-table-D-GdGM1m.js.map} +1 -1
- package/dist/admin-tabs-B--1flzO.js +158 -0
- package/dist/admin-tabs-B--1flzO.js.map +1 -0
- package/dist/{admin-textarea-Dc6lnEub.js → admin-textarea-xsp5V9xM.js} +2 -2
- package/dist/{admin-textarea-Dc6lnEub.js.map → admin-textarea-xsp5V9xM.js.map} +1 -1
- package/dist/admin-tile-grids-CzGpidd9.js +6 -0
- package/dist/admin-tile-grids-CzGpidd9.js.map +1 -0
- package/dist/{admin-typed-confirm-dialog-Bk6XxmPb.js → admin-typed-confirm-dialog-NiEDwX_0.js} +11 -11
- package/dist/{admin-typed-confirm-dialog-Bk6XxmPb.js.map → admin-typed-confirm-dialog-NiEDwX_0.js.map} +1 -1
- package/dist/{admin-utils-B9eEBNsR.js → admin-utils-wuPUD0uh.js} +341 -283
- package/dist/admin-utils-wuPUD0uh.js.map +1 -0
- package/dist/admin-widget-viz-kHHVmDEx.js +646 -0
- package/dist/admin-widget-viz-kHHVmDEx.js.map +1 -0
- package/dist/admin.css +1 -1
- package/dist/admin.js +544 -413
- package/dist/admin.js.map +1 -1
- package/dist/client/generated/routes.d.ts +17 -0
- package/dist/client/generated/wire.d.ts +4 -0
- package/dist/client/types.d.ts +6 -0
- package/dist/{client-BYgnI6_h.js → client-ctrbivyN.js} +3 -2
- package/dist/client-ctrbivyN.js.map +1 -0
- package/dist/client.js +1 -1
- package/dist/{hooks-t2tSrCpa.js → hooks-KpTetx6F.js} +2 -2
- package/dist/{hooks-t2tSrCpa.js.map → hooks-KpTetx6F.js.map} +1 -1
- package/dist/index.js +750 -711
- package/dist/index.js.map +1 -1
- package/dist/lib/card-brands.d.ts +1 -0
- package/dist/locales/de.js +3 -0
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/en.d.ts +3 -0
- package/dist/locales/en.js +3 -0
- package/dist/locales/en.js.map +1 -1
- package/dist/locales/es.js +3 -0
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/ja.js +3 -0
- package/dist/locales/ja.js.map +1 -1
- package/dist/locales/ko.js +3 -0
- package/dist/locales/ko.js.map +1 -1
- package/dist/locales/zh.js +3 -0
- package/dist/locales/zh.js.map +1 -1
- package/dist/react.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/admin-attempts-DyDDt-qw.js +0 -418
- package/dist/admin-attempts-DyDDt-qw.js.map +0 -1
- package/dist/admin-capabilities-BDcZeHL_.js.map +0 -1
- package/dist/admin-dashboard-CJE63yz4.js +0 -420
- package/dist/admin-dashboard-CJE63yz4.js.map +0 -1
- package/dist/admin-data-table-hvFcJepL.js +0 -96
- package/dist/admin-data-table-hvFcJepL.js.map +0 -1
- package/dist/admin-detail-BRP6pL7t.js +0 -328
- package/dist/admin-detail-BRP6pL7t.js.map +0 -1
- package/dist/admin-detail-CRzFb_pa.js +0 -1331
- package/dist/admin-detail-CRzFb_pa.js.map +0 -1
- package/dist/admin-detail-QLxU8r-5.js +0 -344
- package/dist/admin-detail-QLxU8r-5.js.map +0 -1
- package/dist/admin-detail-pPC8Q9l-.js +0 -710
- package/dist/admin-detail-pPC8Q9l-.js.map +0 -1
- package/dist/admin-dialog-width-BPrgdYlj.js +0 -6
- package/dist/admin-dialog-width-BPrgdYlj.js.map +0 -1
- package/dist/admin-format-DoohJ7Fg.js +0 -136
- package/dist/admin-format-DoohJ7Fg.js.map +0 -1
- package/dist/admin-health-D0L5Kig7.js.map +0 -1
- package/dist/admin-ops-CQP4TzWM.js +0 -235
- package/dist/admin-ops-CQP4TzWM.js.map +0 -1
- package/dist/admin-orders-BJ7W5S8P.js +0 -192
- package/dist/admin-orders-BJ7W5S8P.js.map +0 -1
- package/dist/admin-parked-B8xHkV2e.js +0 -193
- package/dist/admin-parked-B8xHkV2e.js.map +0 -1
- package/dist/admin-payments-CzkzqYA1.js +0 -246
- package/dist/admin-payments-CzkzqYA1.js.map +0 -1
- package/dist/admin-provider-prices-B6vwnVPi.js +0 -246
- package/dist/admin-provider-prices-B6vwnVPi.js.map +0 -1
- package/dist/admin-settings-DYC-c7mJ.js +0 -1813
- package/dist/admin-settings-DYC-c7mJ.js.map +0 -1
- package/dist/admin-status-badge-0-K37EfN.js +0 -43
- package/dist/admin-status-badge-0-K37EfN.js.map +0 -1
- package/dist/admin-subscriptions-CvW-YFs0.js +0 -301
- package/dist/admin-subscriptions-CvW-YFs0.js.map +0 -1
- package/dist/admin-tabs-D5lqdVcC.js +0 -46
- package/dist/admin-tabs-D5lqdVcC.js.map +0 -1
- package/dist/admin-utils-B9eEBNsR.js.map +0 -1
- package/dist/admin-widget-viz-8aukE3v_.js +0 -581
- package/dist/admin-widget-viz-8aukE3v_.js.map +0 -1
- package/dist/client-BYgnI6_h.js.map +0 -1
package/dist/admin/context.d.ts
CHANGED
|
@@ -69,6 +69,9 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
69
69
|
list: (filters: import('./lib/api/order-endpoints').OrderFilters, limit: number, cursor?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[]>, "queryFn"> & {
|
|
70
70
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[], never> | undefined;
|
|
71
71
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error>;
|
|
72
|
+
byIds: (ids: string[]) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | string[])[]>, "queryFn"> & {
|
|
73
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | string[])[], never> | undefined;
|
|
74
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | string[])[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error>;
|
|
72
75
|
detail: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../client/generated/wire').Order, Error, import('../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string]>, "queryFn"> & {
|
|
73
76
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string], never> | undefined;
|
|
74
77
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "merchant", string, "orders", string], import('../client/generated/wire').Order, Error>;
|
|
@@ -99,7 +102,7 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
99
102
|
};
|
|
100
103
|
adminMutations: {
|
|
101
104
|
saveDashboard: (queryClient: import('@tanstack/react-query').QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./lib/api/metrics').Dashboard, Error, import('./lib/api/metrics').Widget[], unknown>, "mutationKey">;
|
|
102
|
-
|
|
105
|
+
findCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Customer[], Error, string, unknown>, "mutationKey">;
|
|
103
106
|
exportCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Customer[], Error, string, unknown>, "mutationKey">;
|
|
104
107
|
exportSubscriptions: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./lib/api/types').RawSubscription[], Error, import('./lib/api/endpoints').SubscriptionFilters, unknown>, "mutationKey">;
|
|
105
108
|
exportPayments: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Payment[], Error, import('./lib/api/endpoints').PaymentFilters, unknown>, "mutationKey">;
|
|
@@ -108,6 +111,10 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
108
111
|
outcome: "approve" | "ignore";
|
|
109
112
|
notes: string;
|
|
110
113
|
}, unknown>, "mutationKey">;
|
|
114
|
+
clearDestructiveHold: (queryClient: import('@tanstack/react-query').QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').DestructiveHold, Error, {
|
|
115
|
+
id: string;
|
|
116
|
+
reason: string;
|
|
117
|
+
}, unknown>, "mutationKey">;
|
|
111
118
|
refundPayment: (queryClient: import('@tanstack/react-query').QueryClient, paymentId: string, customerId?: string, subscriptionId?: string) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Payment, Error, {
|
|
112
119
|
amount: string;
|
|
113
120
|
reason: string;
|
|
@@ -326,6 +333,9 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
326
333
|
subscription: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/types').RawSubscription, Error, import('./lib/api/types').RawSubscription, readonly [...string[], "subscriptions", string]>, "queryFn"> & {
|
|
327
334
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/types').RawSubscription, readonly [...string[], "subscriptions", string], never> | undefined;
|
|
328
335
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "subscriptions", string], import('./lib/api/types').RawSubscription, Error>;
|
|
336
|
+
subscriptionChangeOptions: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, string[]>, "queryFn"> & {
|
|
337
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, string[], never> | undefined;
|
|
338
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, Error>;
|
|
329
339
|
customerPaymentMethods: (customerId?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../client/generated/wire').PaymentMethod[], Error, import('../client/generated/wire').PaymentMethod[], string[]>, "queryFn"> & {
|
|
330
340
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../client/generated/wire').PaymentMethod[], string[], never> | undefined;
|
|
331
341
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('../client/generated/wire').PaymentMethod[], Error>;
|
|
@@ -499,6 +509,9 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
499
509
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | {
|
|
500
510
|
limit: number;
|
|
501
511
|
})[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Finding>, Error>;
|
|
512
|
+
destructiveHolds: (enabled?: boolean) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, string[]>, "queryFn"> & {
|
|
513
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, string[], never> | undefined;
|
|
514
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, Error>;
|
|
502
515
|
findingSummary: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/types').FindingsGauges, Error, import('./lib/api/types').FindingsGauges, string[]>, "queryFn"> & {
|
|
503
516
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/types').FindingsGauges, string[], never> | undefined;
|
|
504
517
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/types').FindingsGauges, Error>;
|
|
@@ -575,6 +588,7 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
575
588
|
cancelSubscription: (id: string, reason: string, revokeAccess: boolean) => Promise<import('./lib/api/types').RawSubscription>;
|
|
576
589
|
resumeSubscription: (id: string) => Promise<import('./lib/api/types').RawSubscription>;
|
|
577
590
|
changeSubscriptionPaymentMethod: (id: string, paymentMethodId: string | null) => Promise<import('./lib/api/types').RawSubscription>;
|
|
591
|
+
listSubscriptionChangeOptions: (id: string, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>>;
|
|
578
592
|
previewSubscriptionChange: (id: string, change: import('./lib/api/types').ChangeSubscriptionParams) => Promise<import('./lib/api/types').SubscriptionChangePreview>;
|
|
579
593
|
changeSubscription: (id: string, change: import('./lib/api/types').ChangeSubscriptionParams, idempotencyKey: string) => Promise<import('./lib/api/types').SubscriptionChange>;
|
|
580
594
|
listPayments: (filters: import('./lib/api/endpoints').PaymentFilters, page: import('./lib/api/client').PageRequest, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Payment>>;
|
|
@@ -610,6 +624,8 @@ export declare function createAdminServices(options: AdminClientOptions): {
|
|
|
610
624
|
}, limit: number, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Finding>>;
|
|
611
625
|
getFinding: (id: string) => Promise<import('../client/generated/wire').Finding>;
|
|
612
626
|
resolveFinding: (id: string, outcome: "approve" | "ignore", notes: string) => Promise<import('../client/generated/wire').FindingResolution>;
|
|
627
|
+
listDestructiveHolds: (cursor?: string, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>>;
|
|
628
|
+
clearDestructiveHold: (id: string, reason: string) => Promise<import('../client/generated/wire').DestructiveHold>;
|
|
613
629
|
getMerchantConfiguration: (signal?: AbortSignal) => Promise<import('./lib/api/types').MerchantConfigurationState>;
|
|
614
630
|
updateMerchantConfiguration: (body: import('../client/generated/wire').UpdateMerchantConfigurationParams) => Promise<import('./lib/api/types').MerchantConfigurationState>;
|
|
615
631
|
listPSPs: (signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('./lib/api/types').PSP>>;
|
|
@@ -725,6 +741,9 @@ export declare const useAdminServices: () => {
|
|
|
725
741
|
list: (filters: import('./lib/api/order-endpoints').OrderFilters, limit: number, cursor?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[]>, "queryFn"> & {
|
|
726
742
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[], never> | undefined;
|
|
727
743
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | number | import('./lib/api/order-endpoints').OrderFilters | undefined)[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error>;
|
|
744
|
+
byIds: (ids: string[]) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | string[])[]>, "queryFn"> & {
|
|
745
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, (string | string[])[], never> | undefined;
|
|
746
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | string[])[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Order>, Error>;
|
|
728
747
|
detail: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../client/generated/wire').Order, Error, import('../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string]>, "queryFn"> & {
|
|
729
748
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string], never> | undefined;
|
|
730
749
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "merchant", string, "orders", string], import('../client/generated/wire').Order, Error>;
|
|
@@ -755,7 +774,7 @@ export declare const useAdminServices: () => {
|
|
|
755
774
|
};
|
|
756
775
|
adminMutations: {
|
|
757
776
|
saveDashboard: (queryClient: import('@tanstack/react-query').QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./lib/api/metrics').Dashboard, Error, import('./lib/api/metrics').Widget[], unknown>, "mutationKey">;
|
|
758
|
-
|
|
777
|
+
findCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Customer[], Error, string, unknown>, "mutationKey">;
|
|
759
778
|
exportCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Customer[], Error, string, unknown>, "mutationKey">;
|
|
760
779
|
exportSubscriptions: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./lib/api/types').RawSubscription[], Error, import('./lib/api/endpoints').SubscriptionFilters, unknown>, "mutationKey">;
|
|
761
780
|
exportPayments: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Payment[], Error, import('./lib/api/endpoints').PaymentFilters, unknown>, "mutationKey">;
|
|
@@ -764,6 +783,10 @@ export declare const useAdminServices: () => {
|
|
|
764
783
|
outcome: "approve" | "ignore";
|
|
765
784
|
notes: string;
|
|
766
785
|
}, unknown>, "mutationKey">;
|
|
786
|
+
clearDestructiveHold: (queryClient: import('@tanstack/react-query').QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').DestructiveHold, Error, {
|
|
787
|
+
id: string;
|
|
788
|
+
reason: string;
|
|
789
|
+
}, unknown>, "mutationKey">;
|
|
767
790
|
refundPayment: (queryClient: import('@tanstack/react-query').QueryClient, paymentId: string, customerId?: string, subscriptionId?: string) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../client/generated/wire').Payment, Error, {
|
|
768
791
|
amount: string;
|
|
769
792
|
reason: string;
|
|
@@ -982,6 +1005,9 @@ export declare const useAdminServices: () => {
|
|
|
982
1005
|
subscription: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/types').RawSubscription, Error, import('./lib/api/types').RawSubscription, readonly [...string[], "subscriptions", string]>, "queryFn"> & {
|
|
983
1006
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/types').RawSubscription, readonly [...string[], "subscriptions", string], never> | undefined;
|
|
984
1007
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "subscriptions", string], import('./lib/api/types').RawSubscription, Error>;
|
|
1008
|
+
subscriptionChangeOptions: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, string[]>, "queryFn"> & {
|
|
1009
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, string[], never> | undefined;
|
|
1010
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>, Error>;
|
|
985
1011
|
customerPaymentMethods: (customerId?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../client/generated/wire').PaymentMethod[], Error, import('../client/generated/wire').PaymentMethod[], string[]>, "queryFn"> & {
|
|
986
1012
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../client/generated/wire').PaymentMethod[], string[], never> | undefined;
|
|
987
1013
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('../client/generated/wire').PaymentMethod[], Error>;
|
|
@@ -1155,6 +1181,9 @@ export declare const useAdminServices: () => {
|
|
|
1155
1181
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | {
|
|
1156
1182
|
limit: number;
|
|
1157
1183
|
})[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Finding>, Error>;
|
|
1184
|
+
destructiveHolds: (enabled?: boolean) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, Error, import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, string[]>, "queryFn"> & {
|
|
1185
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, string[], never> | undefined;
|
|
1186
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>, Error>;
|
|
1158
1187
|
findingSummary: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./lib/api/types').FindingsGauges, Error, import('./lib/api/types').FindingsGauges, string[]>, "queryFn"> & {
|
|
1159
1188
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./lib/api/types').FindingsGauges, string[], never> | undefined;
|
|
1160
1189
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('./lib/api/types').FindingsGauges, Error>;
|
|
@@ -1231,6 +1260,7 @@ export declare const useAdminServices: () => {
|
|
|
1231
1260
|
cancelSubscription: (id: string, reason: string, revokeAccess: boolean) => Promise<import('./lib/api/types').RawSubscription>;
|
|
1232
1261
|
resumeSubscription: (id: string) => Promise<import('./lib/api/types').RawSubscription>;
|
|
1233
1262
|
changeSubscriptionPaymentMethod: (id: string, paymentMethodId: string | null) => Promise<import('./lib/api/types').RawSubscription>;
|
|
1263
|
+
listSubscriptionChangeOptions: (id: string, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').SubscriptionChangeOption>>;
|
|
1234
1264
|
previewSubscriptionChange: (id: string, change: import('./lib/api/types').ChangeSubscriptionParams) => Promise<import('./lib/api/types').SubscriptionChangePreview>;
|
|
1235
1265
|
changeSubscription: (id: string, change: import('./lib/api/types').ChangeSubscriptionParams, idempotencyKey: string) => Promise<import('./lib/api/types').SubscriptionChange>;
|
|
1236
1266
|
listPayments: (filters: import('./lib/api/endpoints').PaymentFilters, page: import('./lib/api/client').PageRequest, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Payment>>;
|
|
@@ -1266,6 +1296,8 @@ export declare const useAdminServices: () => {
|
|
|
1266
1296
|
}, limit: number, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').Finding>>;
|
|
1267
1297
|
getFinding: (id: string) => Promise<import('../client/generated/wire').Finding>;
|
|
1268
1298
|
resolveFinding: (id: string, outcome: "approve" | "ignore", notes: string) => Promise<import('../client/generated/wire').FindingResolution>;
|
|
1299
|
+
listDestructiveHolds: (cursor?: string, signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('../client/generated/wire').DestructiveHold>>;
|
|
1300
|
+
clearDestructiveHold: (id: string, reason: string) => Promise<import('../client/generated/wire').DestructiveHold>;
|
|
1269
1301
|
getMerchantConfiguration: (signal?: AbortSignal) => Promise<import('./lib/api/types').MerchantConfigurationState>;
|
|
1270
1302
|
updateMerchantConfiguration: (body: import('../client/generated/wire').UpdateMerchantConfigurationParams) => Promise<import('./lib/api/types').MerchantConfigurationState>;
|
|
1271
1303
|
listPSPs: (signal?: AbortSignal) => Promise<import('./lib/api/credit-types').ListPage<import('./lib/api/types').PSP>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AdminClient, CursorEnvelope, PageRequest } from './client';
|
|
2
|
-
import { AdminAccess, AlertWebhook, Allowance, CatalogApplicationReceipt, CreateAlertWebhookParams, CreatePSPParams, Custodian, PutCustodianParams, CreatePriceParams, Customer, CustomerSettingsResult, Finding, FindingResolution, ListPage, MerchantConfigurationState, Meter, PSP, Payment, PaymentAttempt, PaymentMethod, Price, PriceKeyMovement, Product, PublicConfig, RatePrice, Renewal, UpdateAlertWebhookParams, UpdateCustomerParams, UpdateMerchantConfigurationParams, UpdatePSPParams, UpdatePriceParams, UpdateProductParams } from '../../../client/generated/wire';
|
|
2
|
+
import { AdminAccess, AlertWebhook, Allowance, CatalogApplicationReceipt, CreateAlertWebhookParams, CreatePSPParams, Custodian, PutCustodianParams, CreatePriceParams, Customer, CustomerSettingsResult, DestructiveHold, Finding, FindingResolution, ListPage, MerchantConfigurationState, Meter, PSP, Payment, PaymentAttempt, PaymentMethod, Price, PriceKeyMovement, Product, PublicConfig, RatePrice, Renewal, SubscriptionChangeOption, UpdateAlertWebhookParams, UpdateCustomerParams, UpdateMerchantConfigurationParams, UpdatePSPParams, UpdatePriceParams, UpdateProductParams } from '../../../client/generated/wire';
|
|
3
3
|
import { CustomerEntitlement, PSPRoutingPreview, RawProductAccessGrant, PriceMigration, PriceMigrationCancel, PriceMigrationPreview, ChangeSubscriptionParams, SubscriptionChange, SubscriptionChangePreview } from './types';
|
|
4
4
|
export interface ProductGrant {
|
|
5
5
|
productId: string;
|
|
@@ -73,6 +73,7 @@ export declare function createEndpoints(client: AdminClient): {
|
|
|
73
73
|
cancelSubscription: (id: string, reason: string, revokeAccess: boolean) => Promise<import('./types').RawSubscription>;
|
|
74
74
|
resumeSubscription: (id: string) => Promise<import('./types').RawSubscription>;
|
|
75
75
|
changeSubscriptionPaymentMethod: (id: string, paymentMethodId: string | null) => Promise<import('./types').RawSubscription>;
|
|
76
|
+
listSubscriptionChangeOptions: (id: string, signal?: AbortSignal) => Promise<ListPage<SubscriptionChangeOption>>;
|
|
76
77
|
previewSubscriptionChange: (id: string, change: ChangeSubscriptionParams) => Promise<SubscriptionChangePreview>;
|
|
77
78
|
changeSubscription: (id: string, change: ChangeSubscriptionParams, idempotencyKey: string) => Promise<SubscriptionChange>;
|
|
78
79
|
listPayments: (filters: PaymentFilters, page: PageRequest, signal?: AbortSignal) => Promise<ListPage<Payment>>;
|
|
@@ -108,6 +109,8 @@ export declare function createEndpoints(client: AdminClient): {
|
|
|
108
109
|
}, limit: number, signal?: AbortSignal) => Promise<ListPage<Finding>>;
|
|
109
110
|
getFinding: (id: string) => Promise<Finding>;
|
|
110
111
|
resolveFinding: (id: string, outcome: "approve" | "ignore", notes: string) => Promise<FindingResolution>;
|
|
112
|
+
listDestructiveHolds: (cursor?: string, signal?: AbortSignal) => Promise<ListPage<DestructiveHold>>;
|
|
113
|
+
clearDestructiveHold: (id: string, reason: string) => Promise<DestructiveHold>;
|
|
111
114
|
getMerchantConfiguration: (signal?: AbortSignal) => Promise<MerchantConfigurationState>;
|
|
112
115
|
updateMerchantConfiguration: (body: UpdateMerchantConfigurationParams) => Promise<MerchantConfigurationState>;
|
|
113
116
|
listPSPs: (signal?: AbortSignal) => Promise<ListPage<PSP>>;
|
|
@@ -42,6 +42,7 @@ export declare function createAdminAPI(client: AdminClient): {
|
|
|
42
42
|
cancelSubscription: (id: string, reason: string, revokeAccess: boolean) => Promise<import('./types').RawSubscription>;
|
|
43
43
|
resumeSubscription: (id: string) => Promise<import('./types').RawSubscription>;
|
|
44
44
|
changeSubscriptionPaymentMethod: (id: string, paymentMethodId: string | null) => Promise<import('./types').RawSubscription>;
|
|
45
|
+
listSubscriptionChangeOptions: (id: string, signal?: AbortSignal) => Promise<import('./credit-types').ListPage<import('../../../client/generated/wire').SubscriptionChangeOption>>;
|
|
45
46
|
previewSubscriptionChange: (id: string, change: import('./types').ChangeSubscriptionParams) => Promise<import('./types').SubscriptionChangePreview>;
|
|
46
47
|
changeSubscription: (id: string, change: import('./types').ChangeSubscriptionParams, idempotencyKey: string) => Promise<import('./types').SubscriptionChange>;
|
|
47
48
|
listPayments: (filters: import('./endpoints').PaymentFilters, page: import('./client').PageRequest, signal?: AbortSignal) => Promise<import('./credit-types').ListPage<import('../../../client/generated/wire').Payment>>;
|
|
@@ -77,6 +78,8 @@ export declare function createAdminAPI(client: AdminClient): {
|
|
|
77
78
|
}, limit: number, signal?: AbortSignal) => Promise<import('./credit-types').ListPage<import('../../../client/generated/wire').Finding>>;
|
|
78
79
|
getFinding: (id: string) => Promise<import('../../../client/generated/wire').Finding>;
|
|
79
80
|
resolveFinding: (id: string, outcome: "approve" | "ignore", notes: string) => Promise<import('../../../client/generated/wire').FindingResolution>;
|
|
81
|
+
listDestructiveHolds: (cursor?: string, signal?: AbortSignal) => Promise<import('./credit-types').ListPage<import('../../../client/generated/wire').DestructiveHold>>;
|
|
82
|
+
clearDestructiveHold: (id: string, reason: string) => Promise<import('../../../client/generated/wire').DestructiveHold>;
|
|
80
83
|
getMerchantConfiguration: (signal?: AbortSignal) => Promise<import('./types').MerchantConfigurationState>;
|
|
81
84
|
updateMerchantConfiguration: (body: import('../../../client/generated/wire').UpdateMerchantConfigurationParams) => Promise<import('./types').MerchantConfigurationState>;
|
|
82
85
|
listPSPs: (signal?: AbortSignal) => Promise<import('./credit-types').ListPage<import('./types').PSP>>;
|
|
@@ -4,6 +4,7 @@ export type Rail = "nmi" | "ccbill" | "solana" | "stripe" | string;
|
|
|
4
4
|
export interface RawSubscription {
|
|
5
5
|
id: string;
|
|
6
6
|
customer_id: string;
|
|
7
|
+
customer_contact?: import('../../../client/generated/wire').CustomerContact;
|
|
7
8
|
psp_id?: string;
|
|
8
9
|
product_id: string;
|
|
9
10
|
price_id: string;
|
|
@@ -22,21 +23,12 @@ export interface RawSubscription {
|
|
|
22
23
|
cancel_type: string | null;
|
|
23
24
|
cancel_feedback: string | null;
|
|
24
25
|
canceled_at: string | null;
|
|
25
|
-
|
|
26
|
+
resumable?: boolean;
|
|
27
|
+
price?: import('../../../client/generated/wire').Price;
|
|
28
|
+
product?: import('../../../client/generated/wire').ProductSummary;
|
|
26
29
|
created_at: string;
|
|
27
30
|
updated_at: string;
|
|
28
31
|
}
|
|
29
|
-
export interface RawPrice {
|
|
30
|
-
id: string;
|
|
31
|
-
product_id?: string;
|
|
32
|
-
unit_amount?: string;
|
|
33
|
-
currency?: string;
|
|
34
|
-
archived?: boolean;
|
|
35
|
-
key?: string;
|
|
36
|
-
access_duration_hours?: number;
|
|
37
|
-
billing_interval_hours?: number;
|
|
38
|
-
[k: string]: unknown;
|
|
39
|
-
}
|
|
40
32
|
export interface CustomerEntitlement {
|
|
41
33
|
customer_id: string;
|
|
42
34
|
entitlement: string;
|
|
@@ -4,6 +4,10 @@ export declare function hasAnyArea(access: AdminAccess): boolean;
|
|
|
4
4
|
export declare function useAdminArea(): boolean;
|
|
5
5
|
export declare function useAdminUpdates(): boolean;
|
|
6
6
|
export declare function useCatalogArea(): boolean;
|
|
7
|
+
export declare function useCatalogSells(): {
|
|
8
|
+
credit: boolean;
|
|
9
|
+
usage: boolean;
|
|
10
|
+
} | undefined;
|
|
7
11
|
export declare function useMerchantConfigEdits(): boolean;
|
|
8
12
|
export declare function useCatalogWrites(): boolean;
|
|
9
13
|
export declare function useMerchantConfig(): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export declare const DIALOG_FIT = "max-h-[calc(100dvh-2rem)] overflow-y-auto";
|
|
1
2
|
/** Destructive confirmations: a sentence, sometimes a typed slug. */
|
|
2
|
-
export declare const DIALOG_CONFIRM = "sm:max-w-md";
|
|
3
|
+
export declare const DIALOG_CONFIRM = "sm:max-w-md max-h-[calc(100dvh-2rem)] overflow-y-auto";
|
|
3
4
|
/** The default. Anything a merchant fills in: money, dates, references. */
|
|
4
|
-
export declare const DIALOG_FORM = "sm:max-w-xl";
|
|
5
|
+
export declare const DIALOG_FORM = "sm:max-w-xl max-h-[calc(100dvh-2rem)] overflow-y-auto";
|
|
5
6
|
/** Forms carrying a live preview or a document alongside the fields. */
|
|
6
|
-
export declare const DIALOG_WIDE = "sm:max-w-2xl";
|
|
7
|
+
export declare const DIALOG_WIDE = "sm:max-w-2xl max-h-[calc(100dvh-2rem)] overflow-y-auto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardDetails } from '../../client/generated/wire';
|
|
1
|
+
import { CardDetails, CustomerContact } from '../../client/generated/wire';
|
|
2
2
|
export type MoneyAmount = number | string;
|
|
3
3
|
export declare const intlFormatsDecimalStringsExactly: boolean;
|
|
4
4
|
export declare function currencyScale(currency: string): number | undefined;
|
|
@@ -20,4 +20,8 @@ export declare function customerName(c: {
|
|
|
20
20
|
name: string | null;
|
|
21
21
|
} | null;
|
|
22
22
|
}): string;
|
|
23
|
+
export declare function rowCustomer(row: {
|
|
24
|
+
customer_id: string;
|
|
25
|
+
customer_contact?: CustomerContact;
|
|
26
|
+
}): string;
|
|
23
27
|
export declare function timeAgo(iso?: string | null): string;
|
|
@@ -5,10 +5,11 @@ import { CreateAlertWebhookParams, CreatePSPParams, CreatePriceParams, Meter, Up
|
|
|
5
5
|
import { QueryClient } from '@tanstack/react-query';
|
|
6
6
|
import { DefaultUsageRateCardRequest, PaymentFilters, ProductGrant, ProductRequest, UsageMeterRequest, SubscriptionFilters } from './api/endpoints';
|
|
7
7
|
import { Widget } from './api/metrics';
|
|
8
|
+
export declare const CUSTOMER_MATCHES = 8;
|
|
8
9
|
export declare function createMutations(client: AdminClient, api: AdminAPI, queries: ReturnType<typeof createQueries>): {
|
|
9
10
|
adminMutations: {
|
|
10
11
|
saveDashboard: (queryClient: QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./api/metrics').Dashboard, Error, Widget[], unknown>, "mutationKey">;
|
|
11
|
-
|
|
12
|
+
findCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<Customer[], Error, string, unknown>, "mutationKey">;
|
|
12
13
|
exportCustomers: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<Customer[], Error, string, unknown>, "mutationKey">;
|
|
13
14
|
exportSubscriptions: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('./api/types').RawSubscription[], Error, SubscriptionFilters, unknown>, "mutationKey">;
|
|
14
15
|
exportPayments: () => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../../client/generated/wire').Payment[], Error, PaymentFilters, unknown>, "mutationKey">;
|
|
@@ -17,6 +18,10 @@ export declare function createMutations(client: AdminClient, api: AdminAPI, quer
|
|
|
17
18
|
outcome: "approve" | "ignore";
|
|
18
19
|
notes: string;
|
|
19
20
|
}, unknown>, "mutationKey">;
|
|
21
|
+
clearDestructiveHold: (queryClient: QueryClient) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../../client/generated/wire').DestructiveHold, Error, {
|
|
22
|
+
id: string;
|
|
23
|
+
reason: string;
|
|
24
|
+
}, unknown>, "mutationKey">;
|
|
20
25
|
refundPayment: (queryClient: QueryClient, paymentId: string, customerId?: string, subscriptionId?: string) => import('@tanstack/react-query').WithRequired<import('@tanstack/react-query').UseMutationOptions<import('../../client/generated/wire').Payment, Error, {
|
|
21
26
|
amount: string;
|
|
22
27
|
reason: string;
|
|
@@ -14,6 +14,9 @@ export declare function createOrderQueries(client: AdminClient, api: AdminAPI, q
|
|
|
14
14
|
list: (filters: OrderFilters, limit: number, cursor?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, Error, import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, (string | number | OrderFilters | undefined)[]>, "queryFn"> & {
|
|
15
15
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, (string | number | OrderFilters | undefined)[], never> | undefined;
|
|
16
16
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | number | OrderFilters | undefined)[], import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, Error>;
|
|
17
|
+
byIds: (ids: string[]) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, Error, import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, (string | string[])[]>, "queryFn"> & {
|
|
18
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, (string | string[])[], never> | undefined;
|
|
19
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | string[])[], import('../../client/generated/wire').ListPage<import('../../client/generated/wire').Order>, Error>;
|
|
17
20
|
detail: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../client/generated/wire').Order, Error, import('../../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string]>, "queryFn"> & {
|
|
18
21
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../../client/generated/wire').Order, readonly [...string[], "merchant", string, "orders", string], never> | undefined;
|
|
19
22
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "merchant", string, "orders", string], import('../../client/generated/wire').Order, Error>;
|
|
@@ -144,6 +144,9 @@ export declare function createQueries(client: AdminClient, api: AdminAPI): {
|
|
|
144
144
|
subscription: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('./api/types').RawSubscription, Error, import('./api/types').RawSubscription, readonly [...string[], "subscriptions", string]>, "queryFn"> & {
|
|
145
145
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('./api/types').RawSubscription, readonly [...string[], "subscriptions", string], never> | undefined;
|
|
146
146
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<readonly [...string[], "subscriptions", string], import('./api/types').RawSubscription, Error>;
|
|
147
|
+
subscriptionChangeOptions: (id: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<ListPage<import('../../client/generated/wire').SubscriptionChangeOption>, Error, ListPage<import('../../client/generated/wire').SubscriptionChangeOption>, string[]>, "queryFn"> & {
|
|
148
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<ListPage<import('../../client/generated/wire').SubscriptionChangeOption>, string[], never> | undefined;
|
|
149
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], ListPage<import('../../client/generated/wire').SubscriptionChangeOption>, Error>;
|
|
147
150
|
customerPaymentMethods: (customerId?: string) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('../../client/generated/wire').PaymentMethod[], Error, import('../../client/generated/wire').PaymentMethod[], string[]>, "queryFn"> & {
|
|
148
151
|
queryFn?: import('@tanstack/react-query').QueryFunction<import('../../client/generated/wire').PaymentMethod[], string[], never> | undefined;
|
|
149
152
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], import('../../client/generated/wire').PaymentMethod[], Error>;
|
|
@@ -317,6 +320,9 @@ export declare function createQueries(client: AdminClient, api: AdminAPI): {
|
|
|
317
320
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<(string | {
|
|
318
321
|
limit: number;
|
|
319
322
|
})[], ListPage<import('../../client/generated/wire').Finding>, Error>;
|
|
323
|
+
destructiveHolds: (enabled?: boolean) => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<ListPage<import('../../client/generated/wire').DestructiveHold>, Error, ListPage<import('../../client/generated/wire').DestructiveHold>, string[]>, "queryFn"> & {
|
|
324
|
+
queryFn?: import('@tanstack/react-query').QueryFunction<ListPage<import('../../client/generated/wire').DestructiveHold>, string[], never> | undefined;
|
|
325
|
+
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], ListPage<import('../../client/generated/wire').DestructiveHold>, Error>;
|
|
320
326
|
findingSummary: () => import('@tanstack/react-query').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<FindingsGauges, Error, FindingsGauges, string[]>, "queryFn"> & {
|
|
321
327
|
queryFn?: import('@tanstack/react-query').QueryFunction<FindingsGauges, string[], never> | undefined;
|
|
322
328
|
} & import('@tanstack/react-query').QueryKeyWithDataTag<string[], FindingsGauges, Error>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Stat tiles in fours: 1, 2 (from 20.75rem), 4 (from 42.25rem). */
|
|
2
|
+
export declare const STAT_TILES_4 = "grid gap-3 grid-cols-[minmax(0,1fr)] @min-[20.75rem]/page:grid-cols-2 @min-[42.25rem]/page:grid-cols-4";
|
|
3
|
+
/** Stat tiles in sixes: 1, 2, 3 (from 31.5rem), 6 (from 64.25rem). */
|
|
4
|
+
export declare const STAT_TILES_6 = "grid gap-3 grid-cols-[minmax(0,1fr)] @min-[20.75rem]/page:grid-cols-2 @min-[31.5rem]/page:grid-cols-3 @min-[64.25rem]/page:grid-cols-6";
|
|
5
|
+
/** Fact tiles: 1, 2 (from 24.75rem), 4 (from 50.25rem). */
|
|
6
|
+
export declare const FACT_TILES = "grid gap-3 grid-cols-[minmax(0,1fr)] @min-[24.75rem]/page:grid-cols-2 @min-[50.25rem]/page:grid-cols-4";
|
package/dist/admin/messages.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export declare const billingAdminMessages: {
|
|
|
58
58
|
readonly ", an edit set": ", an edit set";
|
|
59
59
|
readonly ", before another action.": ", before another action.";
|
|
60
60
|
readonly ", deleted: ": ", deleted: ";
|
|
61
|
+
readonly ".": ".";
|
|
61
62
|
readonly ". Active holds may prevent revocation. Payment refunds are managed separately.": ". Active holds may prevent revocation. Payment refunds are managed separately.";
|
|
62
63
|
readonly ". Currency and interval stay locked to the current price.": ". Currency and interval stay locked to the current price.";
|
|
63
64
|
readonly "/app/usage-events": "/app/usage-events";
|
|
@@ -254,6 +255,7 @@ export declare const billingAdminMessages: {
|
|
|
254
255
|
readonly "Choose a method": "Choose a method";
|
|
255
256
|
readonly Churn: "Churn";
|
|
256
257
|
readonly "Clear all": "Clear all";
|
|
258
|
+
readonly "Clear customer": "Clear customer";
|
|
257
259
|
readonly "Clear customer filter": "Clear customer filter";
|
|
258
260
|
readonly "Clear filters": "Clear filters";
|
|
259
261
|
readonly Close: "Close";
|
|
@@ -287,7 +289,6 @@ export declare const billingAdminMessages: {
|
|
|
287
289
|
readonly "Custom range": "Custom range";
|
|
288
290
|
readonly Customer: "Customer";
|
|
289
291
|
readonly "Customer ID": "Customer ID";
|
|
290
|
-
readonly "Customer UUID": "Customer UUID";
|
|
291
292
|
readonly "Customer controls": "Customer controls";
|
|
292
293
|
readonly "Customer lookup": "Customer lookup";
|
|
293
294
|
readonly "Customer not found.": "Customer not found.";
|
|
@@ -355,7 +356,7 @@ export declare const billingAdminMessages: {
|
|
|
355
356
|
readonly Filter: "Filter";
|
|
356
357
|
readonly "Filter meters on this page": "Filter meters on this page";
|
|
357
358
|
readonly "Filter this page\u2026": "Filter this page…";
|
|
358
|
-
readonly "Find a customer by
|
|
359
|
+
readonly "Find a customer by name or email, then pick a currency.": "Find a customer by name or email, then pick a currency.";
|
|
359
360
|
readonly "First outcome": "First outcome";
|
|
360
361
|
readonly "First page": "First page";
|
|
361
362
|
readonly "Fixed included units": "Fixed included units";
|
|
@@ -411,6 +412,7 @@ export declare const billingAdminMessages: {
|
|
|
411
412
|
readonly "Loading order\u2026": "Loading order…";
|
|
412
413
|
readonly "Loading products\u2026": "Loading products…";
|
|
413
414
|
readonly "Loading transactions\u2026": "Loading transactions…";
|
|
415
|
+
readonly "Loading plans\u2026": "Loading plans…";
|
|
414
416
|
readonly "Loading\u2026": "Loading…";
|
|
415
417
|
readonly "Logo URL": "Logo URL";
|
|
416
418
|
readonly "Manual remittance": "Manual remittance";
|
|
@@ -436,7 +438,7 @@ export declare const billingAdminMessages: {
|
|
|
436
438
|
readonly "Move everyone to the new price at their first renewal on or after a date you choose.": "Move everyone to the new price at their first renewal on or after a date you choose.";
|
|
437
439
|
readonly "Must be at least ": "Must be at least ";
|
|
438
440
|
readonly "NMI history (before OpenRails recorded attempts)": "NMI history (before OpenRails recorded attempts)";
|
|
439
|
-
readonly "NMI
|
|
441
|
+
readonly "NMI's own transaction history, read daily and kept 25 months. It counts every sender, OpenRails too once it started. One-off sales mix initial sales, upgrades and retries of declined rebills: the history cannot tell them apart. Scheduled rebills are NMI's own charges, each the first try of its period. Rates count authorizations, not buyers.": "NMI's own transaction history, read daily and kept 25 months. It counts every sender, OpenRails too once it started. One-off sales mix initial sales, upgrades and retries of declined rebills: the history cannot tell them apart. Scheduled rebills are NMI's own charges, each the first try of its period. Rates count authorizations, not buyers.";
|
|
440
442
|
readonly "NMI-owned": "NMI-owned";
|
|
441
443
|
readonly "NMI-scheduled rebills": "NMI-scheduled rebills";
|
|
442
444
|
readonly Name: "Name";
|
|
@@ -465,7 +467,7 @@ export declare const billingAdminMessages: {
|
|
|
465
467
|
readonly "Next page": "Next page";
|
|
466
468
|
readonly "No NMI history yet: it is read daily.": "No NMI history yet: it is read daily.";
|
|
467
469
|
readonly "No PSPs configured.": "No PSPs configured.";
|
|
468
|
-
readonly "No actions are available for your permissions and this order
|
|
470
|
+
readonly "No actions are available for your permissions and this order's state.": "No actions are available for your permissions and this order's state.";
|
|
469
471
|
readonly "No active products are available.": "No active products are available.";
|
|
470
472
|
readonly "No active subscriptions.": "No active subscriptions.";
|
|
471
473
|
readonly "No allowance": "No allowance";
|
|
@@ -494,6 +496,7 @@ export declare const billingAdminMessages: {
|
|
|
494
496
|
readonly "No saved payment methods. Add one on the customer page before retrying collection.": "No saved payment methods. Add one on the customer page before retrying collection.";
|
|
495
497
|
readonly "No subscriptions.": "No subscriptions.";
|
|
496
498
|
readonly "No transactions in this currency.": "No transactions in this currency.";
|
|
499
|
+
readonly "No currency yet": "No currency yet";
|
|
497
500
|
readonly "No usage meters yet": "No usage meters yet";
|
|
498
501
|
readonly "No webhooks configured.": "No webhooks configured.";
|
|
499
502
|
readonly "No widgets yet": "No widgets yet";
|
|
@@ -555,6 +558,7 @@ export declare const billingAdminMessages: {
|
|
|
555
558
|
readonly "Period maximum": "Period maximum";
|
|
556
559
|
readonly "Period: ": "Period: ";
|
|
557
560
|
readonly "Pick a later date.": "Pick a later date.";
|
|
561
|
+
readonly "Pick a customer first": "Pick a customer first";
|
|
558
562
|
readonly "Pick a product": "Pick a product";
|
|
559
563
|
readonly "Pick a product\u2026": "Pick a product…";
|
|
560
564
|
readonly "Pick a rail\u2026": "Pick a rail…";
|
|
@@ -588,7 +592,7 @@ export declare const billingAdminMessages: {
|
|
|
588
592
|
readonly "Client subaccount": "Client subaccount";
|
|
589
593
|
readonly "Pick a stored payment method": "Pick a stored payment method";
|
|
590
594
|
readonly "Pinned to an archived (prior) version": "Pinned to an archived (prior) version";
|
|
591
|
-
readonly "Points future renewals of this subscription at another of the customer
|
|
595
|
+
readonly "Points future renewals of this subscription at another of the customer's stored cards (same rail), or back at their default card for its currency.": "Points future renewals of this subscription at another of the customer's stored cards (same rail), or back at their default card for its currency.";
|
|
592
596
|
readonly Preview: "Preview";
|
|
593
597
|
readonly "Previous page": "Previous page";
|
|
594
598
|
readonly "Previous period": "Previous period";
|
|
@@ -715,13 +719,14 @@ export declare const billingAdminMessages: {
|
|
|
715
719
|
readonly "Terms and billing facts for future usage orders. Billed orders keep their original snapshots. Tax details are recorded; no tax is calculated.": "Terms and billing facts for future usage orders. Billed orders keep their original snapshots. Tax details are recorded; no tax is calculated.";
|
|
716
720
|
readonly "The accounts this merchant takes payments through, one or more per rail.": "The accounts this merchant takes payments through, one or more per rail.";
|
|
717
721
|
readonly "The customer loses its entitlements now. The grant stays on record with your reason.": "The customer loses its entitlements now. The grant stays on record with your reason.";
|
|
718
|
-
readonly "The customer
|
|
722
|
+
readonly "The customer's default card": "The customer's default card";
|
|
719
723
|
readonly "The daily report covers at most ": "The daily report covers at most ";
|
|
720
724
|
readonly "The keys of the products this customer holds now.": "The keys of the products this customer holds now.";
|
|
721
725
|
readonly "The payment provider calculates the final prorated amount.": "The payment provider calculates the final prorated amount.";
|
|
726
|
+
readonly "The payment provider hasn't confirmed this order's payment yet. It settles once the provider shows the result, or when it is resolved with ": "The payment provider hasn't confirmed this order's payment yet. It settles once the provider shows the result, or when it is resolved with ";
|
|
722
727
|
readonly "Their reference": "Their reference";
|
|
723
728
|
readonly "There were no providers to consider.": "There were no providers to consider.";
|
|
724
|
-
readonly "These are the customer
|
|
729
|
+
readonly "These are the customer's invoice profile when the order was billed. Editing the profile affects later orders.": "These are the customer's invoice profile when the order was billed. Editing the profile affects later orders.";
|
|
725
730
|
readonly "These terms cannot be changed later. To charge a different amount, create another price and deactivate this one.": "These terms cannot be changed later. To charge a different amount, create another price and deactivate this one.";
|
|
726
731
|
readonly "This billing page does not exist.": "This billing page does not exist.";
|
|
727
732
|
readonly "This is a price": "This is a price";
|
|
@@ -778,7 +783,7 @@ export declare const billingAdminMessages: {
|
|
|
778
783
|
readonly "Why it was granted": "Why it was granted";
|
|
779
784
|
readonly "Widget menu": "Widget menu";
|
|
780
785
|
readonly "Widget title": "Widget title";
|
|
781
|
-
readonly "You
|
|
786
|
+
readonly "You're all caught up.": "You're all caught up.";
|
|
782
787
|
readonly "Your directory holds no contact for this customer.": "Your directory holds no contact for this customer.";
|
|
783
788
|
readonly "Your role does not have permission to read the merchant catalog.": "Your role does not have permission to read the merchant catalog.";
|
|
784
789
|
readonly "access revocations": "access revocations";
|
|
@@ -855,4 +860,93 @@ export declare const billingAdminMessages: {
|
|
|
855
860
|
readonly "why is this being canceled?": "why is this being canceled?";
|
|
856
861
|
readonly "\u00B7 owed ": "· owed ";
|
|
857
862
|
readonly "\u2190 Orders": "← Orders";
|
|
863
|
+
readonly Succeeded: "Succeeded";
|
|
864
|
+
readonly Completed: "Completed";
|
|
865
|
+
readonly Complete: "Complete";
|
|
866
|
+
readonly Linked: "Linked";
|
|
867
|
+
readonly Approved: "Approved";
|
|
868
|
+
readonly Landed: "Landed";
|
|
869
|
+
readonly Current: "Current";
|
|
870
|
+
readonly Held: "Held";
|
|
871
|
+
readonly "Past due": "Past due";
|
|
872
|
+
readonly Grace: "Grace";
|
|
873
|
+
readonly Unknown: "Unknown";
|
|
874
|
+
readonly "Requires review": "Requires review";
|
|
875
|
+
readonly Delinquent: "Delinquent";
|
|
876
|
+
readonly Lost: "Lost";
|
|
877
|
+
readonly "Partially refunded": "Partially refunded";
|
|
878
|
+
readonly Dismissed: "Dismissed";
|
|
879
|
+
readonly Superseded: "Superseded";
|
|
880
|
+
readonly "Already resolved": "Already resolved";
|
|
881
|
+
readonly "Awaiting method": "Awaiting method";
|
|
882
|
+
readonly "Cancel this membership?": "Cancel this membership?";
|
|
883
|
+
readonly "Renewal stops now and can't be restarted from here.": "Renewal stops now and can't be restarted from here.";
|
|
884
|
+
readonly "The customer": "The customer";
|
|
885
|
+
readonly keeps: "keeps";
|
|
886
|
+
readonly loses: "loses";
|
|
887
|
+
readonly "now. No refund is made.": "now. No refund is made.";
|
|
888
|
+
readonly "their access": "their access";
|
|
889
|
+
readonly until: "until";
|
|
890
|
+
readonly "until the current period ends.": "until the current period ends.";
|
|
891
|
+
readonly "Cancel membership": "Cancel membership";
|
|
892
|
+
readonly "End access now instead (no refund is made)": "End access now instead (no refund is made)";
|
|
893
|
+
readonly "By the customer": "By the customer";
|
|
894
|
+
readonly "By staff": "By staff";
|
|
895
|
+
readonly "Renewal payment failed": "Renewal payment failed";
|
|
896
|
+
readonly "After a chargeback": "After a chargeback";
|
|
897
|
+
readonly "Replaced by an upgrade": "Replaced by an upgrade";
|
|
898
|
+
readonly "This page couldn't be loaded": "This page couldn't be loaded";
|
|
899
|
+
readonly "It may have been removed, or the link may be wrong.": "It may have been removed, or the link may be wrong.";
|
|
900
|
+
readonly "Code:": "Code:";
|
|
901
|
+
readonly "Subscription not found": "Subscription not found";
|
|
902
|
+
readonly "Payment not found": "Payment not found";
|
|
903
|
+
readonly "Order not found": "Order not found";
|
|
904
|
+
readonly "Customer not found": "Customer not found";
|
|
905
|
+
readonly "Refunds, revokes and cancels are paused for you after several in a short time. Someone else can clear the hold on the Ops page.": "Refunds, revokes and cancels are paused for you after several in a short time. Someone else can clear the hold on the Ops page.";
|
|
906
|
+
readonly "Billing couldn't check your permissions just now. Try again in a moment.": "Billing couldn't check your permissions just now. Try again in a moment.";
|
|
907
|
+
readonly "Your role doesn't allow this.": "Your role doesn't allow this.";
|
|
908
|
+
readonly "Search customers": "Search customers";
|
|
909
|
+
readonly "Customer email, ref, or id": "Customer email, ref, or id";
|
|
910
|
+
readonly "Clear search": "Clear search";
|
|
911
|
+
readonly "Searching\u2026": "Searching…";
|
|
912
|
+
readonly Search: "Search";
|
|
913
|
+
readonly "No customer matches": "No customer matches";
|
|
914
|
+
readonly "More customers match. Choose one, or search for more of the name or email.": "More customers match. Choose one, or search for more of the name or email.";
|
|
915
|
+
readonly "customers match. Choose one.": "customers match. Choose one.";
|
|
916
|
+
readonly "Holds on refunds and cancels": "Holds on refunds and cancels";
|
|
917
|
+
readonly "A staff member reached the limit of": "A staff member reached the limit of";
|
|
918
|
+
readonly "Staff reached the limit of": "Staff reached the limit of";
|
|
919
|
+
readonly "refunds, revokes or cancels in an hour. These are paused until someone clears the hold.": "refunds, revokes or cancels in an hour. These are paused until someone clears the hold.";
|
|
920
|
+
readonly "refunds, revokes or cancels in a day. These are paused until someone clears the hold.": "refunds, revokes or cancels in a day. These are paused until someone clears the hold.";
|
|
921
|
+
readonly "Held since": "Held since";
|
|
922
|
+
readonly "Clear hold": "Clear hold";
|
|
923
|
+
readonly "Clear this hold?": "Clear this hold?";
|
|
924
|
+
readonly "Refunds, revokes and cancels start working again for the people it held. Someone other than the person it stopped must clear it.": "Refunds, revokes and cancels start working again for the people it held. Someone other than the person it stopped must clear it.";
|
|
925
|
+
readonly "Reason (required)": "Reason (required)";
|
|
926
|
+
readonly "Hold cleared": "Hold cleared";
|
|
927
|
+
readonly "Clearing\u2026": "Clearing…";
|
|
928
|
+
readonly "A different person must clear this hold.": "A different person must clear this hold.";
|
|
929
|
+
readonly "You don't have permission to clear holds.": "You don't have permission to clear holds.";
|
|
930
|
+
readonly "Billing couldn't check your permission to clear holds. Try again in a moment.": "Billing couldn't check your permission to clear holds. Try again in a moment.";
|
|
931
|
+
readonly "This hold was already cleared or no longer exists.": "This hold was already cleared or no longer exists.";
|
|
932
|
+
readonly None: "None";
|
|
933
|
+
readonly "Payment methods are up to date": "Payment methods are up to date";
|
|
934
|
+
readonly "Refreshing\u2026": "Refreshing…";
|
|
935
|
+
readonly "Last updated": "Last updated";
|
|
936
|
+
readonly "Current, read from your directory": "Current, read from your directory";
|
|
937
|
+
readonly "Refunding\u2026": "Refunding…";
|
|
938
|
+
readonly "The money goes back through ": "The money goes back through ";
|
|
939
|
+
readonly ". Up to ": ". Up to ";
|
|
940
|
+
readonly " can still be refunded.": " can still be refunded.";
|
|
941
|
+
readonly Pulling: "Pulling";
|
|
942
|
+
readonly Released: "Released";
|
|
943
|
+
readonly Resolved: "Resolved";
|
|
944
|
+
readonly Processing: "Processing";
|
|
945
|
+
readonly "Requires action": "Requires action";
|
|
946
|
+
readonly Void: "Void";
|
|
947
|
+
readonly Uncollectible: "Uncollectible";
|
|
948
|
+
readonly Converged: "Converged";
|
|
949
|
+
readonly Gone: "Gone";
|
|
950
|
+
readonly Ignored: "Ignored";
|
|
951
|
+
readonly Imported: "Imported";
|
|
858
952
|
};
|