@openrails/billing-ui 0.268.3 → 0.270.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/context.d.ts +164 -62
- package/dist/admin/lib/api/endpoints.d.ts +3 -7
- package/dist/admin/lib/api/import-endpoints.d.ts +44 -0
- package/dist/admin/lib/api/index.d.ts +17 -7
- package/dist/admin/lib/api/types.d.ts +0 -29
- package/dist/admin/lib/import-queries.d.ts +66 -0
- package/dist/admin/lib/mutations.d.ts +1 -5
- package/dist/admin/lib/queries.d.ts +6 -20
- package/dist/admin/messages.d.ts +176 -7
- package/dist/admin/pages/catalog/index.d.ts +0 -1
- package/dist/admin/pages/imports/detail.d.ts +2 -0
- package/dist/admin/pages/imports/index.d.ts +2 -0
- package/dist/admin/pages/imports/mapping-csv.d.ts +10 -0
- package/dist/admin/pages/imports/progress.d.ts +21 -0
- package/dist/admin/pages/imports/records.d.ts +2 -0
- package/dist/admin/pages/imports/shared.d.ts +22 -0
- package/dist/admin/pages/parked/index.d.ts +2 -0
- package/dist/admin/pages/proposals/grouping.d.ts +13 -0
- package/dist/admin/pages/proposals/index.d.ts +2 -0
- package/dist/admin/pages/provider-prices/index.d.ts +2 -0
- package/dist/admin/pages/provider-prices/map-dialog.d.ts +11 -0
- package/dist/admin/routes.d.ts +1 -1
- package/dist/{admin-attempts-BLeeKABa.js → admin-attempts-DyDDt-qw.js} +81 -82
- package/dist/admin-attempts-DyDDt-qw.js.map +1 -0
- package/dist/{admin-auth-DWVWxDup.js → admin-auth-1aZIgXiS.js} +2 -2
- package/dist/{admin-auth-DWVWxDup.js.map → admin-auth-1aZIgXiS.js.map} +1 -1
- package/dist/{admin-badge-CrEqD9Ew.js → admin-badge-pgG6D9-a.js} +2 -2
- package/dist/{admin-badge-CrEqD9Ew.js.map → admin-badge-pgG6D9-a.js.map} +1 -1
- package/dist/{admin-button-a7bDFgp0.js → admin-button-CrcYk5r0.js} +2 -2
- package/dist/{admin-button-a7bDFgp0.js.map → admin-button-CrcYk5r0.js.map} +1 -1
- package/dist/{admin-capabilities-QYUuJXvG.js → admin-capabilities-BDcZeHL_.js} +2 -2
- package/dist/{admin-capabilities-QYUuJXvG.js.map → admin-capabilities-BDcZeHL_.js.map} +1 -1
- package/dist/{admin-card-D1tz8Lbh.js → admin-card-DvTMc5Se.js} +2 -2
- package/dist/{admin-card-D1tz8Lbh.js.map → admin-card-DvTMc5Se.js.map} +1 -1
- package/dist/{admin-catalog-ggiDgWsR.js → admin-catalog-BlF5mnu4.js} +285 -382
- package/dist/admin-catalog-BlF5mnu4.js.map +1 -0
- package/dist/{admin-dom-VkcwevWr.js → admin-cursor-pager-CIb3Jw2F.js} +20 -25
- package/dist/admin-cursor-pager-CIb3Jw2F.js.map +1 -0
- package/dist/{admin-customers-BVMg-gUv.js → admin-customers-EpfoWDh-.js} +13 -13
- package/dist/{admin-customers-BVMg-gUv.js.map → admin-customers-EpfoWDh-.js.map} +1 -1
- package/dist/{admin-dashboard-Cc13i8i9.js → admin-dashboard-CJE63yz4.js} +46 -46
- package/dist/{admin-dashboard-Cc13i8i9.js.map → admin-dashboard-CJE63yz4.js.map} +1 -1
- package/dist/{admin-data-table-BL84xKKF.js → admin-data-table-hvFcJepL.js} +16 -16
- package/dist/{admin-data-table-BL84xKKF.js.map → admin-data-table-hvFcJepL.js.map} +1 -1
- package/dist/{admin-detail-CaEwBdX9.js → admin-detail-BRP6pL7t.js} +51 -51
- package/dist/{admin-detail-CaEwBdX9.js.map → admin-detail-BRP6pL7t.js.map} +1 -1
- package/dist/{admin-detail-9YAep3ts.js → admin-detail-CRzFb_pa.js} +232 -232
- package/dist/{admin-detail-9YAep3ts.js.map → admin-detail-CRzFb_pa.js.map} +1 -1
- package/dist/admin-detail-Ceod8AXy.js +299 -0
- package/dist/admin-detail-Ceod8AXy.js.map +1 -0
- package/dist/{admin-detail-C8t5jBps.js → admin-detail-QLxU8r-5.js} +62 -62
- package/dist/{admin-detail-C8t5jBps.js.map → admin-detail-QLxU8r-5.js.map} +1 -1
- package/dist/admin-detail-pPC8Q9l-.js +710 -0
- package/dist/{admin-detail-D2zcz_Xm.js.map → admin-detail-pPC8Q9l-.js.map} +1 -1
- package/dist/{admin-dialog-CiAw5vx-.js → admin-dialog-BSRf9Zre.js} +24 -24
- package/dist/{admin-dialog-CiAw5vx-.js.map → admin-dialog-BSRf9Zre.js.map} +1 -1
- package/dist/admin-dom-C7Y7A6Wa.js +8 -0
- package/dist/admin-dom-C7Y7A6Wa.js.map +1 -0
- package/dist/{admin-dropdown-menu-CYJbmqK2.js → admin-dropdown-menu-D0E5rwmn.js} +2 -2
- package/dist/{admin-dropdown-menu-CYJbmqK2.js.map → admin-dropdown-menu-D0E5rwmn.js.map} +1 -1
- package/dist/{admin-fact-card-BHTpDlaX.js → admin-fact-card-BPSVhS15.js} +2 -2
- package/dist/{admin-fact-card-BHTpDlaX.js.map → admin-fact-card-BPSVhS15.js.map} +1 -1
- package/dist/{admin-health-BUnjbvYR.js → admin-health-D0L5Kig7.js} +84 -84
- package/dist/{admin-health-BUnjbvYR.js.map → admin-health-D0L5Kig7.js.map} +1 -1
- package/dist/admin-imports-TCOljTgw.js +269 -0
- package/dist/admin-imports-TCOljTgw.js.map +1 -0
- package/dist/{admin-input-C-S_RGGo.js → admin-input-DJAK9nmk.js} +2 -2
- package/dist/{admin-input-C-S_RGGo.js.map → admin-input-DJAK9nmk.js.map} +1 -1
- package/dist/{admin-label-DPVYDdSO.js → admin-label-aviN9Gng.js} +2 -2
- package/dist/{admin-label-DPVYDdSO.js.map → admin-label-aviN9Gng.js.map} +1 -1
- package/dist/{admin-linked-table-row-D-gbTT7a.js → admin-linked-table-row-BGr7JXeM.js} +6 -6
- package/dist/{admin-linked-table-row-D-gbTT7a.js.map → admin-linked-table-row-BGr7JXeM.js.map} +1 -1
- package/dist/admin-map-dialog-DpGaIq52.js +135 -0
- package/dist/admin-map-dialog-DpGaIq52.js.map +1 -0
- package/dist/admin-mapping-csv-FtkyTBmk.js +56 -0
- package/dist/admin-mapping-csv-FtkyTBmk.js.map +1 -0
- package/dist/{admin-metering-BjbL0jjT.js → admin-metering-D-e-37Jn.js} +285 -285
- package/dist/{admin-metering-BjbL0jjT.js.map → admin-metering-D-e-37Jn.js.map} +1 -1
- package/dist/admin-ops-CQP4TzWM.js +235 -0
- package/dist/admin-ops-CQP4TzWM.js.map +1 -0
- package/dist/{admin-orders-BVW9-Fs9.js → admin-orders-BJ7W5S8P.js} +32 -32
- package/dist/{admin-orders-BVW9-Fs9.js.map → admin-orders-BJ7W5S8P.js.map} +1 -1
- package/dist/admin-parked-7HL8mOjw.js +193 -0
- package/dist/admin-parked-7HL8mOjw.js.map +1 -0
- package/dist/{admin-payments-C5MsFFmm.js → admin-payments-CzkzqYA1.js} +17 -17
- package/dist/{admin-payments-C5MsFFmm.js.map → admin-payments-CzkzqYA1.js.map} +1 -1
- package/dist/{admin-price-detail-D517JYHB.js → admin-price-detail-CSI5oKdb.js} +74 -74
- package/dist/{admin-price-detail-D517JYHB.js.map → admin-price-detail-CSI5oKdb.js.map} +1 -1
- package/dist/{admin-price-wizard-bj36o3ux.js → admin-price-wizard-CBEcNGvP.js} +38 -38
- package/dist/{admin-price-wizard-bj36o3ux.js.map → admin-price-wizard-CBEcNGvP.js.map} +1 -1
- package/dist/admin-proposals-dtgijWKz.js +375 -0
- package/dist/admin-proposals-dtgijWKz.js.map +1 -0
- package/dist/admin-provider-prices-ChuponcZ.js +246 -0
- package/dist/admin-provider-prices-ChuponcZ.js.map +1 -0
- package/dist/{admin-range-picker-D2aFF8IV.js → admin-range-picker-De36L-AP.js} +12 -12
- package/dist/{admin-range-picker-D2aFF8IV.js.map → admin-range-picker-De36L-AP.js.map} +1 -1
- package/dist/admin-records-CUHUOXAU.js +391 -0
- package/dist/admin-records-CUHUOXAU.js.map +1 -0
- package/dist/{admin-reports-D-ob04d4.js → admin-reports-BFGS_PWf.js} +45 -45
- package/dist/{admin-reports-D-ob04d4.js.map → admin-reports-BFGS_PWf.js.map} +1 -1
- package/dist/{admin-select-C8O7nx72.js → admin-select-BUcEU5Rg.js} +2 -2
- package/dist/{admin-select-C8O7nx72.js.map → admin-select-BUcEU5Rg.js.map} +1 -1
- package/dist/{admin-settings-Bs6cLcqi.js → admin-settings-DYC-c7mJ.js} +296 -296
- package/dist/{admin-settings-Bs6cLcqi.js.map → admin-settings-DYC-c7mJ.js.map} +1 -1
- package/dist/admin-shared-CzG8Pan3.js +222 -0
- package/dist/admin-shared-CzG8Pan3.js.map +1 -0
- package/dist/{admin-skeleton-wfocg2PJ.js → admin-skeleton-B0yzYY_X.js} +2 -2
- package/dist/{admin-skeleton-wfocg2PJ.js.map → admin-skeleton-B0yzYY_X.js.map} +1 -1
- package/dist/{admin-status-badge-D_gDMrht.js → admin-status-badge-0-K37EfN.js} +7 -2
- package/dist/admin-status-badge-0-K37EfN.js.map +1 -0
- package/dist/{admin-subscriptions-DYR1RGMO.js → admin-subscriptions-CvW-YFs0.js} +74 -74
- package/dist/{admin-subscriptions-DYR1RGMO.js.map → admin-subscriptions-CvW-YFs0.js.map} +1 -1
- package/dist/{admin-switch-F5D0AYjT.js → admin-switch-DDorugaw.js} +2 -2
- package/dist/{admin-switch-F5D0AYjT.js.map → admin-switch-DDorugaw.js.map} +1 -1
- package/dist/{admin-table-nUij5fLc.js → admin-table-BU6Tie69.js} +2 -2
- package/dist/{admin-table-nUij5fLc.js.map → admin-table-BU6Tie69.js.map} +1 -1
- package/dist/{admin-tabs-C3myjKdr.js → admin-tabs-D5lqdVcC.js} +2 -2
- package/dist/{admin-tabs-C3myjKdr.js.map → admin-tabs-D5lqdVcC.js.map} +1 -1
- package/dist/{admin-textarea-v-L-PXIc.js → admin-textarea-Dc6lnEub.js} +2 -2
- package/dist/{admin-textarea-v-L-PXIc.js.map → admin-textarea-Dc6lnEub.js.map} +1 -1
- package/dist/{admin-typed-confirm-dialog-BLgpuikW.js → admin-typed-confirm-dialog-Bk6XxmPb.js} +6 -6
- package/dist/{admin-typed-confirm-dialog-BLgpuikW.js.map → admin-typed-confirm-dialog-Bk6XxmPb.js.map} +1 -1
- package/dist/{admin-utils-6yE4YIVI.js → admin-utils-B9eEBNsR.js} +398 -146
- package/dist/admin-utils-B9eEBNsR.js.map +1 -0
- package/dist/{admin-widget-viz-BiEfckd4.js → admin-widget-viz-8aukE3v_.js} +34 -34
- package/dist/{admin-widget-viz-BiEfckd4.js.map → admin-widget-viz-8aukE3v_.js.map} +1 -1
- package/dist/admin.css +1 -1
- package/dist/admin.js +489 -265
- package/dist/admin.js.map +1 -1
- package/dist/client/generated/error-codes.d.ts +1 -1
- package/dist/client/generated/routes.d.ts +94 -22
- package/dist/client/generated/wire.d.ts +90 -22
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/dist/admin-attempts-BLeeKABa.js.map +0 -1
- package/dist/admin-catalog-ggiDgWsR.js.map +0 -1
- package/dist/admin-detail-D2zcz_Xm.js +0 -710
- package/dist/admin-dom-VkcwevWr.js.map +0 -1
- package/dist/admin-ops-DT8epiXg.js +0 -217
- package/dist/admin-ops-DT8epiXg.js.map +0 -1
- package/dist/admin-status-badge-D_gDMrht.js.map +0 -1
- package/dist/admin-utils-6yE4YIVI.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type OpenRailsErrorCode = "admission_captured" | "admission_not_found" | "already_owned" | "application_required" | "as_of_required" | "authentication_required" | "authentication_unavailable" | "authorization_unavailable" | "billing_archive_integrity" | "billing_archive_invalid_artifact" | "billing_archive_merchant_mismatch" | "billing_archive_not_empty" | "billing_archive_platform_cards" | "billing_archive_unavailable" | "billing_archive_unsupported_state" | "billing_policy_not_found" | "cancel_unsupported_on_rail" | "captcha_invalid" | "captcha_required" | "card_attempts_blocked" | "card_declined" | "card_not_saved" | "card_requires_https" | "card_vault_unknown" | "catalog_benefit_overlap" | "catalog_revision_conflict" | "charge_psp_incompatible" | "charge_psp_unknown" | "credential_expired" | "credential_revoked" | "credit_grant_held" | "credit_grant_not_found" | "credit_grant_unavailable" | "csrf_origin_denied" | "currency_unsupported" | "custodian_capture_unavailable" | "customer_action_required" | "customer_email_required" | "customer_issuer_mismatch" | "customer_not_found" | "customer_payment_unsupported" | "customer_session_required" | "customer_tenant_mismatch" | "dashboard_invalid" | "database_busy" | "default_payment_method_invalid" | "default_payment_method_required" | "default_rate_card_not_found" | "destructive_actions_held" | "embed_origins_required" | "entitlement_required" | "event_cursor_expired" | "finding_action_failed" | "finding_not_actionable" | "finding_requires_merchant_config" | "hold_not_found" | "host_event_not_found" | "host_principal_invalid" | "idempotency_key_in_use" | "idempotency_key_required" | "idempotency_key_reused" | "insufficient_credits" | "insufficient_funds" | "internal_error" | "invalid_cursor" | "invalid_customer_id" | "invalid_param" | "invalid_payment_method" | "invalid_psp_reference" | "invalid_query" | "invalid_request_body" | "invalid_settlement_status_request" | "invoker_scoped_principal" | "merchant_config_read_only" | "merchant_mismatch" | "merchant_unresolved" | "meter_in_use" | "meter_rate_card_conflict" | "method_not_allowed" | "metrics_query_invalid" | "model_unavailable" | "order_action_not_allowed" | "order_attempt_closed" | "order_attempt_expired" | "order_has_recurring_line" | "order_line_unavailable" | "order_not_cancelable" | "order_not_payable" | "order_payment_in_progress" | "order_total_changed" | "pay_url_attempts_exhausted" | "pay_url_expired" | "pay_url_not_found" | "pay_url_unavailable" | "payment_duplicate_refused" | "payment_exceeds_due" | "payment_failed" | "payment_idempotency_conflict" | "payment_in_progress" | "payment_method_delete_failed" | "payment_method_delete_unsupported" | "payment_method_not_psp_vaulted" | "payment_method_not_usable" | "payment_method_psp_mismatch" | "payment_method_required" | "payment_method_same_vault" | "payment_method_stale" | "payment_method_update_failed" | "payment_method_update_unsupported" | "payment_not_found" | "payment_not_refundable" | "payment_not_retryable" | "payment_option_unavailable" | "payment_provider_rejected" | "permission_required" | "platform_vault_mixed_class" | "platform_vault_unavailable" | "platform_vault_unreachable" | "price_change_currency_mismatch" | "price_change_target_archived" | "price_increase_notice_too_short" | "price_key_cadence_conflict" | "price_key_not_found" | "price_migration_not_found" | "price_not_found" | "price_not_sellable" | "product_in_use" | "product_not_found" | "product_tier_group_conflict" | "product_tier_group_in_use" | "provider_cancel_held" | "provider_outcome_unknown" | "provider_price_unreadable" | "provider_writes_disabled" | "provider_writes_held" | "psp_claim_requires_proof" | "psp_credentials_rejected" | "psp_environment_refused" | "psp_exists" | "psp_key_taken" | "psp_last_active" | "psp_not_found" | "purchase_review_resolved" | "quantity_not_allowed" | "rate_card_product_not_found" | "rate_limit_exceeded" | "rebill_terms_committed" | "refund_failed" | "refund_rail_unavailable" | "refund_unsupported" | "request_body_too_large" | "resource_access_denied" | "resource_conflict" | "resource_not_found" | "revision_mismatch" | "route_not_found" | "running_charge_not_found" | "scheduled_change_exists" | "service_credential_customer_scope_denied" | "service_unavailable" | "solana_rpc_unavailable" | "solana_transaction_refused" | "step_up_required" | "step_up_unavailable" | "stored_credential_required" | "subscription_change_already_scheduled" | "subscription_change_cadence_unsupported" | "subscription_change_credit_exceeds_price" | "subscription_change_cycle_unknown" | "subscription_change_idempotency_conflict" | "subscription_change_idempotency_key_required" | "subscription_change_in_flight" | "subscription_change_period_unknown" | "subscription_change_provider_conflict" | "subscription_change_refused" | "subscription_change_renewal_due" | "subscription_change_requires_linked_plan" | "subscription_change_target_inactive" | "subscription_change_unsupported_on_rail" | "subscription_not_active" | "subscription_not_found" | "subscription_paid_through" | "subscription_resumable" | "trial_unsupported_on_rail" | "unknown_field" | "unsupported_media_type" | "usage_meter_invalid" | "usage_meter_not_found" | "usage_not_priced" | "usage_rate_card_invalid" | "webhook_account_mismatch" | "webhook_invalid";
|
|
1
|
+
export type OpenRailsErrorCode = "admission_captured" | "admission_not_found" | "already_owned" | "application_required" | "as_of_required" | "authentication_required" | "authentication_unavailable" | "authorization_unavailable" | "billing_archive_integrity" | "billing_archive_invalid_artifact" | "billing_archive_merchant_mismatch" | "billing_archive_not_empty" | "billing_archive_platform_cards" | "billing_archive_unavailable" | "billing_archive_unsupported_state" | "billing_policy_not_found" | "cancel_unsupported_on_rail" | "captcha_invalid" | "captcha_required" | "card_attempts_blocked" | "card_declined" | "card_not_saved" | "card_requires_https" | "card_vault_unknown" | "catalog_benefit_overlap" | "catalog_revision_conflict" | "charge_psp_incompatible" | "charge_psp_unknown" | "credential_expired" | "credential_revoked" | "credit_grant_held" | "credit_grant_not_found" | "credit_grant_unavailable" | "csrf_origin_denied" | "currency_unsupported" | "custodian_capture_unavailable" | "customer_action_required" | "customer_email_required" | "customer_issuer_mismatch" | "customer_not_found" | "customer_payment_unsupported" | "customer_session_required" | "customer_tenant_mismatch" | "dashboard_invalid" | "database_busy" | "default_payment_method_invalid" | "default_payment_method_required" | "default_rate_card_not_found" | "destructive_actions_held" | "embed_origins_required" | "entitlement_required" | "event_cursor_expired" | "finding_action_failed" | "finding_not_actionable" | "finding_requires_merchant_config" | "hold_not_found" | "host_event_not_found" | "host_principal_invalid" | "idempotency_key_in_use" | "idempotency_key_required" | "idempotency_key_reused" | "insufficient_credits" | "insufficient_funds" | "internal_error" | "invalid_cursor" | "invalid_customer_id" | "invalid_param" | "invalid_payment_method" | "invalid_psp_reference" | "invalid_query" | "invalid_request_body" | "invalid_settlement_status_request" | "invoker_scoped_principal" | "merchant_config_read_only" | "merchant_mismatch" | "merchant_unresolved" | "meter_in_use" | "meter_rate_card_conflict" | "method_not_allowed" | "metrics_query_invalid" | "model_unavailable" | "order_action_not_allowed" | "order_attempt_closed" | "order_attempt_expired" | "order_has_recurring_line" | "order_line_unavailable" | "order_not_cancelable" | "order_not_payable" | "order_payment_in_progress" | "order_total_changed" | "pay_url_attempts_exhausted" | "pay_url_expired" | "pay_url_not_found" | "pay_url_unavailable" | "payment_duplicate_refused" | "payment_exceeds_due" | "payment_failed" | "payment_idempotency_conflict" | "payment_in_progress" | "payment_method_delete_failed" | "payment_method_delete_unsupported" | "payment_method_not_psp_vaulted" | "payment_method_not_usable" | "payment_method_psp_mismatch" | "payment_method_required" | "payment_method_same_vault" | "payment_method_stale" | "payment_method_update_failed" | "payment_method_update_unsupported" | "payment_not_found" | "payment_not_refundable" | "payment_not_retryable" | "payment_option_unavailable" | "payment_provider_rejected" | "permission_required" | "person_required" | "platform_vault_mixed_class" | "platform_vault_unavailable" | "platform_vault_unreachable" | "price_change_currency_mismatch" | "price_change_target_archived" | "price_increase_notice_too_short" | "price_key_cadence_conflict" | "price_key_not_found" | "price_migration_not_found" | "price_not_found" | "price_not_sellable" | "product_in_use" | "product_not_found" | "product_tier_group_conflict" | "product_tier_group_in_use" | "provider_cancel_held" | "provider_outcome_unknown" | "provider_price_unreadable" | "provider_writes_disabled" | "provider_writes_held" | "psp_claim_requires_proof" | "psp_credentials_rejected" | "psp_environment_refused" | "psp_exists" | "psp_import_in_progress" | "psp_key_taken" | "psp_last_active" | "psp_not_found" | "purchase_review_resolved" | "quantity_not_allowed" | "rate_card_product_not_found" | "rate_limit_exceeded" | "rebill_terms_committed" | "refund_failed" | "refund_rail_unavailable" | "refund_unsupported" | "request_body_too_large" | "resource_access_denied" | "resource_conflict" | "resource_not_found" | "revision_mismatch" | "route_not_found" | "running_charge_not_found" | "scheduled_change_exists" | "service_credential_customer_scope_denied" | "service_unavailable" | "solana_rpc_unavailable" | "solana_transaction_refused" | "step_up_required" | "step_up_unavailable" | "stored_credential_required" | "subscription_change_already_scheduled" | "subscription_change_cadence_unsupported" | "subscription_change_credit_exceeds_price" | "subscription_change_cycle_unknown" | "subscription_change_idempotency_conflict" | "subscription_change_idempotency_key_required" | "subscription_change_in_flight" | "subscription_change_period_unknown" | "subscription_change_provider_conflict" | "subscription_change_refused" | "subscription_change_renewal_due" | "subscription_change_requires_linked_plan" | "subscription_change_target_inactive" | "subscription_change_unsupported_on_rail" | "subscription_not_active" | "subscription_not_found" | "subscription_paid_through" | "subscription_resumable" | "trial_unsupported_on_rail" | "unknown_field" | "unsupported_media_type" | "usage_meter_invalid" | "usage_meter_not_found" | "usage_not_priced" | "usage_rate_card_invalid" | "webhook_account_mismatch" | "webhook_invalid";
|
|
2
2
|
export type OpenRailsErrorType = "api_error" | "authentication_error" | "authorization_error" | "card_error" | "invalid_request_error" | "rate_limit_error";
|
|
3
3
|
export declare const OPENRAILS_ERROR_CODES: Readonly<Record<OpenRailsErrorCode, {
|
|
4
4
|
status: number;
|
|
@@ -10,6 +10,7 @@ export type OpenRailsRoute = {
|
|
|
10
10
|
sensitive: boolean;
|
|
11
11
|
mountedWhen: string | null;
|
|
12
12
|
consoleOnly?: true;
|
|
13
|
+
person?: true;
|
|
13
14
|
request: string | null;
|
|
14
15
|
responses: Readonly<Record<number, string | null>>;
|
|
15
16
|
errors: readonly string[];
|
|
@@ -2036,23 +2037,6 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2036
2037
|
};
|
|
2037
2038
|
readonly errors: readonly ["invalid_param"];
|
|
2038
2039
|
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2039
|
-
}, {
|
|
2040
|
-
readonly method: "POST";
|
|
2041
|
-
readonly path: "/v1/merchant/psps/refresh";
|
|
2042
|
-
readonly group: "merchant_config";
|
|
2043
|
-
readonly auth: "merchant";
|
|
2044
|
-
readonly permission: {
|
|
2045
|
-
readonly merchant: "merchant:config:manage";
|
|
2046
|
-
readonly root: "root:config:manage";
|
|
2047
|
-
};
|
|
2048
|
-
readonly sensitive: false;
|
|
2049
|
-
readonly mountedWhen: null;
|
|
2050
|
-
readonly request: null;
|
|
2051
|
-
readonly responses: {
|
|
2052
|
-
readonly 202: "PSPRefresh";
|
|
2053
|
-
};
|
|
2054
|
-
readonly errors: readonly ["service_unavailable"];
|
|
2055
|
-
readonly errorSets: readonly ["tier:merchant"];
|
|
2056
2040
|
}, {
|
|
2057
2041
|
readonly method: "POST";
|
|
2058
2042
|
readonly path: "/v1/webhooks/{rail}/{account_id}";
|
|
@@ -2235,7 +2219,7 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2235
2219
|
readonly responses: {
|
|
2236
2220
|
readonly 202: "PSPImport";
|
|
2237
2221
|
};
|
|
2238
|
-
readonly errors: readonly ["invalid_param", "psp_not_found", "service_unavailable"];
|
|
2222
|
+
readonly errors: readonly ["invalid_param", "psp_import_in_progress", "psp_not_found", "service_unavailable"];
|
|
2239
2223
|
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2240
2224
|
}, {
|
|
2241
2225
|
readonly method: "GET";
|
|
@@ -2252,7 +2236,7 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2252
2236
|
readonly responses: {
|
|
2253
2237
|
readonly 200: "ListPage<PSPImport>";
|
|
2254
2238
|
};
|
|
2255
|
-
readonly errors: readonly ["invalid_cursor", "invalid_query", "service_unavailable"];
|
|
2239
|
+
readonly errors: readonly ["invalid_cursor", "invalid_param", "invalid_query", "psp_not_found", "service_unavailable"];
|
|
2256
2240
|
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2257
2241
|
}, {
|
|
2258
2242
|
readonly method: "GET";
|
|
@@ -2335,9 +2319,9 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2335
2319
|
readonly mountedWhen: null;
|
|
2336
2320
|
readonly request: "LinkPSPImportParams";
|
|
2337
2321
|
readonly responses: {
|
|
2338
|
-
readonly
|
|
2322
|
+
readonly 202: "PSPImport";
|
|
2339
2323
|
};
|
|
2340
|
-
readonly errors: readonly ["invalid_param", "resource_conflict", "resource_not_found", "service_unavailable"];
|
|
2324
|
+
readonly errors: readonly ["invalid_param", "psp_import_in_progress", "resource_conflict", "resource_not_found", "service_unavailable"];
|
|
2341
2325
|
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2342
2326
|
}, {
|
|
2343
2327
|
readonly method: "POST";
|
|
@@ -2350,11 +2334,12 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2350
2334
|
};
|
|
2351
2335
|
readonly sensitive: false;
|
|
2352
2336
|
readonly mountedWhen: null;
|
|
2337
|
+
readonly person: true;
|
|
2353
2338
|
readonly request: null;
|
|
2354
2339
|
readonly responses: {
|
|
2355
2340
|
readonly 202: "PSPImport";
|
|
2356
2341
|
};
|
|
2357
|
-
readonly errors: readonly ["invalid_param", "
|
|
2342
|
+
readonly errors: readonly ["invalid_param", "person_required", "psp_import_in_progress", "resource_conflict", "resource_not_found", "service_unavailable"];
|
|
2358
2343
|
readonly errorSets: readonly ["tier:merchant"];
|
|
2359
2344
|
}, {
|
|
2360
2345
|
readonly method: "POST";
|
|
@@ -2373,6 +2358,40 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2373
2358
|
};
|
|
2374
2359
|
readonly errors: readonly ["invalid_param", "service_unavailable"];
|
|
2375
2360
|
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2361
|
+
}, {
|
|
2362
|
+
readonly method: "GET";
|
|
2363
|
+
readonly path: "/v1/merchant/provider-catalog";
|
|
2364
|
+
readonly group: "merchant_config";
|
|
2365
|
+
readonly auth: "merchant";
|
|
2366
|
+
readonly permission: {
|
|
2367
|
+
readonly merchant: "merchant:config:read";
|
|
2368
|
+
readonly root: "root:config:read";
|
|
2369
|
+
};
|
|
2370
|
+
readonly sensitive: false;
|
|
2371
|
+
readonly mountedWhen: null;
|
|
2372
|
+
readonly request: null;
|
|
2373
|
+
readonly responses: {
|
|
2374
|
+
readonly 200: "ListPage<ProviderCatalogObject>";
|
|
2375
|
+
};
|
|
2376
|
+
readonly errors: readonly ["invalid_cursor", "invalid_param", "invalid_query", "psp_not_found", "resource_not_found", "service_unavailable"];
|
|
2377
|
+
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly method: "GET";
|
|
2380
|
+
readonly path: "/v1/merchant/parked-subscriptions";
|
|
2381
|
+
readonly group: "merchant_config";
|
|
2382
|
+
readonly auth: "merchant";
|
|
2383
|
+
readonly permission: {
|
|
2384
|
+
readonly merchant: "merchant:config:read";
|
|
2385
|
+
readonly root: "root:config:read";
|
|
2386
|
+
};
|
|
2387
|
+
readonly sensitive: false;
|
|
2388
|
+
readonly mountedWhen: null;
|
|
2389
|
+
readonly request: null;
|
|
2390
|
+
readonly responses: {
|
|
2391
|
+
readonly 200: "ListPage<ParkedSubscription>";
|
|
2392
|
+
};
|
|
2393
|
+
readonly errors: readonly ["invalid_cursor", "invalid_param", "invalid_query", "psp_not_found", "service_unavailable"];
|
|
2394
|
+
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2376
2395
|
}, {
|
|
2377
2396
|
readonly method: "GET";
|
|
2378
2397
|
readonly path: "/v1/app/events";
|
|
@@ -2540,6 +2559,59 @@ export declare const OPENRAILS_ROUTES: readonly [{
|
|
|
2540
2559
|
};
|
|
2541
2560
|
readonly errors: readonly ["invalid_param", "resource_not_found", "service_unavailable"];
|
|
2542
2561
|
readonly errorSets: readonly ["tier:merchant"];
|
|
2562
|
+
}, {
|
|
2563
|
+
readonly method: "GET";
|
|
2564
|
+
readonly path: "/v1/merchant/proposals";
|
|
2565
|
+
readonly group: "merchant_config";
|
|
2566
|
+
readonly auth: "merchant";
|
|
2567
|
+
readonly permission: {
|
|
2568
|
+
readonly merchant: "merchant:config:read";
|
|
2569
|
+
readonly root: "root:config:read";
|
|
2570
|
+
};
|
|
2571
|
+
readonly sensitive: false;
|
|
2572
|
+
readonly mountedWhen: null;
|
|
2573
|
+
readonly request: null;
|
|
2574
|
+
readonly responses: {
|
|
2575
|
+
readonly 200: "ListPage<Finding>";
|
|
2576
|
+
};
|
|
2577
|
+
readonly errors: readonly ["invalid_cursor", "invalid_param", "invalid_query", "service_unavailable"];
|
|
2578
|
+
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2579
|
+
}, {
|
|
2580
|
+
readonly method: "POST";
|
|
2581
|
+
readonly path: "/v1/merchant/proposals/approve";
|
|
2582
|
+
readonly group: "merchant_config";
|
|
2583
|
+
readonly auth: "merchant";
|
|
2584
|
+
readonly permission: {
|
|
2585
|
+
readonly merchant: "merchant:config:manage";
|
|
2586
|
+
readonly root: "root:config:manage";
|
|
2587
|
+
};
|
|
2588
|
+
readonly sensitive: false;
|
|
2589
|
+
readonly mountedWhen: null;
|
|
2590
|
+
readonly person: true;
|
|
2591
|
+
readonly request: "ApproveProposalsParams";
|
|
2592
|
+
readonly responses: {
|
|
2593
|
+
readonly 200: "ProposalResults";
|
|
2594
|
+
};
|
|
2595
|
+
readonly errors: readonly ["idempotency_key_in_use", "idempotency_key_required", "idempotency_key_reused", "invalid_param", "person_required", "service_unavailable"];
|
|
2596
|
+
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2597
|
+
}, {
|
|
2598
|
+
readonly method: "POST";
|
|
2599
|
+
readonly path: "/v1/merchant/proposals/dismiss";
|
|
2600
|
+
readonly group: "merchant_config";
|
|
2601
|
+
readonly auth: "merchant";
|
|
2602
|
+
readonly permission: {
|
|
2603
|
+
readonly merchant: "merchant:config:manage";
|
|
2604
|
+
readonly root: "root:config:manage";
|
|
2605
|
+
};
|
|
2606
|
+
readonly sensitive: false;
|
|
2607
|
+
readonly mountedWhen: null;
|
|
2608
|
+
readonly person: true;
|
|
2609
|
+
readonly request: "DismissProposalsParams";
|
|
2610
|
+
readonly responses: {
|
|
2611
|
+
readonly 200: "ProposalResults";
|
|
2612
|
+
};
|
|
2613
|
+
readonly errors: readonly ["invalid_param", "person_required", "service_unavailable"];
|
|
2614
|
+
readonly errorSets: readonly ["tier:merchant", "request"];
|
|
2543
2615
|
}, {
|
|
2544
2616
|
readonly method: "POST";
|
|
2545
2617
|
readonly path: "/v1/merchant/findings/{id}/resolve";
|
|
@@ -163,6 +163,10 @@ export type ApplyProviderPrice = {
|
|
|
163
163
|
one_off?: boolean;
|
|
164
164
|
archived?: boolean | null;
|
|
165
165
|
};
|
|
166
|
+
export type ApproveProposalsParams = {
|
|
167
|
+
ids?: string[];
|
|
168
|
+
notes?: string;
|
|
169
|
+
};
|
|
166
170
|
export type AskCatalogParams = {
|
|
167
171
|
question?: string;
|
|
168
172
|
};
|
|
@@ -465,7 +469,6 @@ export type CreatePSPImportParams = {
|
|
|
465
469
|
psp?: PSPRef;
|
|
466
470
|
history_since?: string;
|
|
467
471
|
rules?: PSPImportRule[];
|
|
468
|
-
products?: PSPImportProduct[];
|
|
469
472
|
};
|
|
470
473
|
export type CreatePSPParams = {
|
|
471
474
|
key?: string;
|
|
@@ -717,6 +720,7 @@ export type DeclaredBilling = {
|
|
|
717
720
|
default_psp?: PSPRef;
|
|
718
721
|
customers?: DeclaredCustomer[];
|
|
719
722
|
payment_methods?: DeclaredPaymentMethod[];
|
|
723
|
+
psp_customers?: DeclaredPSPCustomer[];
|
|
720
724
|
subscriptions?: DeclaredSubscription[];
|
|
721
725
|
transactions?: DeclaredTransaction[];
|
|
722
726
|
admin_grants?: DeclaredAdminGrant[];
|
|
@@ -749,6 +753,13 @@ export type DeclaredOrderLine = {
|
|
|
749
753
|
description?: string;
|
|
750
754
|
access_ends_at?: string;
|
|
751
755
|
};
|
|
756
|
+
export type DeclaredPSPCustomer = {
|
|
757
|
+
source_id?: string;
|
|
758
|
+
customer?: string;
|
|
759
|
+
rail?: string;
|
|
760
|
+
psp?: PSPRef;
|
|
761
|
+
remote_customer_ref?: string;
|
|
762
|
+
};
|
|
752
763
|
export type DeclaredPaymentMethod = {
|
|
753
764
|
customer?: string;
|
|
754
765
|
rail?: string;
|
|
@@ -864,6 +875,10 @@ export type DestructiveHold = {
|
|
|
864
875
|
opened_at: string;
|
|
865
876
|
cleared_at: string | null;
|
|
866
877
|
};
|
|
878
|
+
export type DismissProposalsParams = {
|
|
879
|
+
ids?: string[];
|
|
880
|
+
notes?: string;
|
|
881
|
+
};
|
|
867
882
|
export type DriftField = {
|
|
868
883
|
field: string;
|
|
869
884
|
openrails_value: string;
|
|
@@ -949,12 +964,6 @@ export type Finding = {
|
|
|
949
964
|
finding_type: string;
|
|
950
965
|
provider: string | null;
|
|
951
966
|
psp_id: string | null;
|
|
952
|
-
resource_type: string | null;
|
|
953
|
-
resource_id: string | null;
|
|
954
|
-
external_resource_id: string | null;
|
|
955
|
-
field: string | null;
|
|
956
|
-
openrails_value: string | null;
|
|
957
|
-
external_value: string | null;
|
|
958
967
|
subject_key: string;
|
|
959
968
|
severity: string;
|
|
960
969
|
status: string;
|
|
@@ -967,13 +976,14 @@ export type Finding = {
|
|
|
967
976
|
resolved_by: string | null;
|
|
968
977
|
operator_notes: string | null;
|
|
969
978
|
source: "pull" | "verification" | null;
|
|
979
|
+
pull_id: string | null;
|
|
970
980
|
change: FindingChange | null;
|
|
971
981
|
approval_run_id: string | null;
|
|
972
982
|
created_at: string;
|
|
973
983
|
updated_at: string;
|
|
974
984
|
};
|
|
975
985
|
export type FindingChange = {
|
|
976
|
-
kind: "adopt_subscription" | "cancel_provider_schedule" | "cancel_subscription" | "collect_skipped_renewal" | "create_subscription" | "record_charge" | "record_refund" | "refund_charge_after_cancel" | "revoke_access" | "update_card";
|
|
986
|
+
kind: "adopt_subscription" | "cancel_provider_schedule" | "cancel_subscription" | "collect_skipped_renewal" | "correct_subscription" | "create_subscription" | "record_charge" | "record_refund" | "refund_charge_after_cancel" | "revoke_access" | "update_card";
|
|
977
987
|
subject: ChangeSubject;
|
|
978
988
|
customer_id: string | null;
|
|
979
989
|
from: Record<string, unknown> | null;
|
|
@@ -1016,6 +1026,7 @@ export type InvoiceProfile = {
|
|
|
1016
1026
|
};
|
|
1017
1027
|
export type LinkPSPImportParams = {
|
|
1018
1028
|
links?: PSPImportLink[];
|
|
1029
|
+
prices?: PSPImportPriceLink[];
|
|
1019
1030
|
};
|
|
1020
1031
|
export type LowBalanceLine = {
|
|
1021
1032
|
currency: string;
|
|
@@ -1374,21 +1385,23 @@ export type PSPImport = {
|
|
|
1374
1385
|
id: string;
|
|
1375
1386
|
psp: string;
|
|
1376
1387
|
rail: string;
|
|
1388
|
+
origin: "manual" | "onboarding";
|
|
1377
1389
|
status: "applied" | "applying" | "failed" | "pulled" | "pulling";
|
|
1378
1390
|
history_since: string | null;
|
|
1379
1391
|
history_through: string | null;
|
|
1380
1392
|
pulled_at: string | null;
|
|
1381
1393
|
applied_at: string | null;
|
|
1382
1394
|
error: string | null;
|
|
1395
|
+
error_code: "psp_credentials_rejected" | "psp_not_readable" | "pull_roster_implausible" | null;
|
|
1383
1396
|
rules: PSPImportRule[];
|
|
1384
|
-
products: PSPImportProduct[];
|
|
1385
1397
|
counts: PSPImportCount[];
|
|
1398
|
+
proposals: PSPImportProposals;
|
|
1386
1399
|
created_at: string;
|
|
1387
1400
|
updated_at: string;
|
|
1388
1401
|
};
|
|
1389
1402
|
export type PSPImportCount = {
|
|
1390
1403
|
kind: "customer" | "subscription" | "transaction";
|
|
1391
|
-
state: "blocked" | "conflict" | "imported" | "linked" | "unmatched";
|
|
1404
|
+
state: "blocked" | "conflict" | "held" | "imported" | "linked" | "unmatched";
|
|
1392
1405
|
records: number;
|
|
1393
1406
|
};
|
|
1394
1407
|
export type PSPImportFact = {
|
|
@@ -1408,10 +1421,16 @@ export type PSPImportMappingsResult = {
|
|
|
1408
1421
|
set: number;
|
|
1409
1422
|
deleted: number;
|
|
1410
1423
|
};
|
|
1411
|
-
export type
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1424
|
+
export type PSPImportPriceLink = {
|
|
1425
|
+
record?: string;
|
|
1426
|
+
price?: string | null;
|
|
1427
|
+
};
|
|
1428
|
+
export type PSPImportProposals = {
|
|
1429
|
+
open: number;
|
|
1430
|
+
corrections: number;
|
|
1431
|
+
approved: number;
|
|
1432
|
+
dismissed: number;
|
|
1433
|
+
superseded: number;
|
|
1415
1434
|
};
|
|
1416
1435
|
export type PSPImportRecord = {
|
|
1417
1436
|
id: string;
|
|
@@ -1422,9 +1441,10 @@ export type PSPImportRecord = {
|
|
|
1422
1441
|
subscription_ref: string | null;
|
|
1423
1442
|
occurred_at: string | null;
|
|
1424
1443
|
facts: PSPImportFact[];
|
|
1425
|
-
state: "blocked" | "conflict" | "imported" | "linked" | "unmatched";
|
|
1444
|
+
state: "blocked" | "conflict" | "held" | "imported" | "linked" | "unmatched";
|
|
1426
1445
|
customer: string | null;
|
|
1427
1446
|
linked_via: string | null;
|
|
1447
|
+
manual_price: string | null;
|
|
1428
1448
|
reason: string | null;
|
|
1429
1449
|
updated_at: string;
|
|
1430
1450
|
};
|
|
@@ -1450,10 +1470,6 @@ export type PSPRef = {
|
|
|
1450
1470
|
id?: string;
|
|
1451
1471
|
key?: string;
|
|
1452
1472
|
};
|
|
1453
|
-
export type PSPRefresh = {
|
|
1454
|
-
status: string;
|
|
1455
|
-
job_id: string;
|
|
1456
|
-
};
|
|
1457
1473
|
export type PSPRoutingCandidate = {
|
|
1458
1474
|
psp: string;
|
|
1459
1475
|
rail: "ccbill" | "nmi" | "solana" | "stripe";
|
|
@@ -1483,6 +1499,22 @@ export type PackagePrice = {
|
|
|
1483
1499
|
package_size?: number;
|
|
1484
1500
|
free_units?: number;
|
|
1485
1501
|
};
|
|
1502
|
+
export type ParkedSubscription = {
|
|
1503
|
+
id: string;
|
|
1504
|
+
psp: string;
|
|
1505
|
+
rail: string;
|
|
1506
|
+
subscription_ref: string;
|
|
1507
|
+
reason: "customer_unlinked" | "price_unmapped" | "product_held";
|
|
1508
|
+
price_ref: string | null;
|
|
1509
|
+
customer_ref: string | null;
|
|
1510
|
+
import_owned: boolean;
|
|
1511
|
+
evidence: unknown | null;
|
|
1512
|
+
parked_at: string;
|
|
1513
|
+
last_seen_at: string;
|
|
1514
|
+
released_at: string | null;
|
|
1515
|
+
released_by: "converged" | "gone" | "landed" | null;
|
|
1516
|
+
subscription_id: string | null;
|
|
1517
|
+
};
|
|
1486
1518
|
export type PayOrderParams = {
|
|
1487
1519
|
payment?: OrderPaymentParams;
|
|
1488
1520
|
expected_total?: string;
|
|
@@ -1541,7 +1573,6 @@ export type PaymentAttempt = {
|
|
|
1541
1573
|
subscription_id: string | null;
|
|
1542
1574
|
payment_method_id: string | null;
|
|
1543
1575
|
payment_id: string | null;
|
|
1544
|
-
enriched_at: string | null;
|
|
1545
1576
|
mandate_id: string | null;
|
|
1546
1577
|
sent_initial_transaction_id: string;
|
|
1547
1578
|
};
|
|
@@ -1684,7 +1715,7 @@ export type PriceMigrationCancel = {
|
|
|
1684
1715
|
export type PriceMigrationOutcome = {
|
|
1685
1716
|
subscription_id: string;
|
|
1686
1717
|
rail: string;
|
|
1687
|
-
disposition: "
|
|
1718
|
+
disposition: "blocked" | "scheduled" | "skipped";
|
|
1688
1719
|
reason: string | null;
|
|
1689
1720
|
};
|
|
1690
1721
|
export type PriceMigrationPreview = {
|
|
@@ -1708,6 +1739,7 @@ export type PriceProvider = {
|
|
|
1708
1739
|
psp_id: string;
|
|
1709
1740
|
rail: string;
|
|
1710
1741
|
ids: Record<string, string> | null;
|
|
1742
|
+
retired: boolean;
|
|
1711
1743
|
sync_status: "drifted" | "in_sync" | "missing" | "sync_disabled" | "unknown";
|
|
1712
1744
|
drift: DriftField[];
|
|
1713
1745
|
};
|
|
@@ -1758,6 +1790,43 @@ export type ProductSummary = {
|
|
|
1758
1790
|
tier_rank: number;
|
|
1759
1791
|
archived: boolean;
|
|
1760
1792
|
};
|
|
1793
|
+
export type ProposalError = {
|
|
1794
|
+
code: string;
|
|
1795
|
+
message: string;
|
|
1796
|
+
};
|
|
1797
|
+
export type ProposalResult = {
|
|
1798
|
+
id: string;
|
|
1799
|
+
outcome: "already_resolved" | "approved" | "dismissed" | "failed" | "foreign" | "held" | "superseded";
|
|
1800
|
+
finding: Finding | null;
|
|
1801
|
+
execution: Record<string, unknown> | null;
|
|
1802
|
+
error: ProposalError | null;
|
|
1803
|
+
};
|
|
1804
|
+
export type ProposalResults = {
|
|
1805
|
+
run_id: string | null;
|
|
1806
|
+
data: ProposalResult[];
|
|
1807
|
+
};
|
|
1808
|
+
export type ProviderCatalogObject = {
|
|
1809
|
+
kind: "price" | "product";
|
|
1810
|
+
ref: string;
|
|
1811
|
+
product_ref: string | null;
|
|
1812
|
+
name: string | null;
|
|
1813
|
+
active: boolean;
|
|
1814
|
+
deleted_at: string | null;
|
|
1815
|
+
retired: boolean;
|
|
1816
|
+
terms: ProviderCatalogTerms | null;
|
|
1817
|
+
observed_at: string;
|
|
1818
|
+
observed_via: string;
|
|
1819
|
+
price: string | null;
|
|
1820
|
+
subscriptions: number | null;
|
|
1821
|
+
parked: number | null;
|
|
1822
|
+
finding: string | null;
|
|
1823
|
+
};
|
|
1824
|
+
export type ProviderCatalogTerms = {
|
|
1825
|
+
stated_amount: string | null;
|
|
1826
|
+
currency: string | null;
|
|
1827
|
+
billing_interval_hours: number | null;
|
|
1828
|
+
billing_interval_months: number | null;
|
|
1829
|
+
};
|
|
1761
1830
|
export type ProvisioningToken = {
|
|
1762
1831
|
id: string;
|
|
1763
1832
|
name: string;
|
|
@@ -2201,7 +2270,6 @@ export type UpdateMerchantConfigurationParams = {
|
|
|
2201
2270
|
};
|
|
2202
2271
|
export type UpdatePSPImportParams = {
|
|
2203
2272
|
rules?: PSPImportRule[];
|
|
2204
|
-
products?: PSPImportProduct[];
|
|
2205
2273
|
};
|
|
2206
2274
|
export type UpdatePSPParams = {
|
|
2207
2275
|
expected_revision?: number | null;
|