{"version":3,"sources":["../../gen/index.ts","../../gen/types/abacusEventName.ts","../../gen/types/healthStatus.ts","../../gen/types/targetType.ts","../../gen/common.ts"],"sourcesContent":["export * from \"./types\";\nexport * from \"./common\";\n","/**\n * Generated by orval v7.10.0 🍺\n * Do not edit manually.\n * ows-abacus-event\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * Abacus event name, snake-cased\n */\nexport type AbacusEventName =\n (typeof AbacusEventName)[keyof typeof AbacusEventName];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AbacusEventName = {\n approve_sales_files: \"approve_sales_files\",\n accounting_period_close: \"accounting_period_close\",\n accounting_period_mechanicals: \"accounting_period_mechanicals\",\n accounting_run_calculate: \"accounting_run_calculate\",\n accounting_run_calculate_nr: \"accounting_run_calculate_nr\",\n accounting_run_commit: \"accounting_run_commit\",\n adjustment_file_upload: \"adjustment_file_upload\",\n adjustment_file_worksheet_import: \"adjustment_file_worksheet_import\",\n apply_pending_adjustments: \"apply_pending_adjustments\",\n apply_royalty_correction: \"apply_royalty_correction\",\n apply_royalty_reversal: \"apply_royalty_reversal\",\n backfill: \"backfill\",\n calculate_payments: \"calculate_payments\",\n close_balance: \"close_balance\",\n collaborators_auto_report_run: \"collaborators_auto_report_run\",\n commit_advance_payment: \"commit_advance_payment\",\n commit_batch_payment: \"commit_batch_payment\",\n commit_mechanicals: \"commit_mechanicals\",\n commit_reversal_to_subledger: \"commit_reversal_to_subledger\",\n commit_royalties: \"commit_royalties\",\n commit_to_subledger: \"commit_to_subledger\",\n commit_vat: \"commit_vat\",\n commit_vat_summary: \"commit_vat_summary\",\n commit_withholding_tax: \"commit_withholding_tax\",\n confirm_advance_approval: \"confirm_advance_approval\",\n confirm_advance_payment: \"confirm_advance_payment\",\n confirm_approval: \"confirm_approval\",\n confirm_funds: \"confirm_funds\",\n generate_export: \"generate_export\",\n ingest_vat_summary: \"ingest_vat_summary\",\n legacy_sync_contract: \"legacy_sync_contract\",\n payment_accepted: \"payment_accepted\",\n payment_approval: \"payment_approval\",\n payments_generate: \"payments_generate\",\n payment_returned: \"payment_returned\",\n release_reserves: \"release_reserves\",\n return_advance_payment: \"return_advance_payment\",\n return_batch_payment: \"return_batch_payment\",\n return_vat_summary: \"return_vat_summary\",\n return_withholding_tax: \"return_withholding_tax\",\n approve_sales: \"approve_sales\",\n get_eligible_sales: \"get_eligible_sales\",\n ingest_sales_distro: \"ingest_sales_distro\",\n ingest_sales_nr: \"ingest_sales_nr\",\n sap_sync_contract: \"sap_sync_contract\",\n schedule_reserves: \"schedule_reserves\",\n send_payments: \"send_payments\",\n stage_royalty_correction: \"stage_royalty_correction\",\n stage_royalty_reversal: \"stage_royalty_reversal\",\n statement_period_close: \"statement_period_close\",\n take_reserves: \"take_reserves\",\n tax_withholding: \"tax_withholding\",\n upload_approval: \"upload_approval\",\n} as const;\n","/**\n * Generated by orval v7.10.0 🍺\n * Do not edit manually.\n * ows-abacus-event\n * OpenAPI spec version: 1.0.0\n */\n\nexport type HealthStatus = (typeof HealthStatus)[keyof typeof HealthStatus];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const HealthStatus = {\n ok: \"ok\",\n} as const;\n","/**\n * Generated by orval v7.10.0 🍺\n * Do not edit manually.\n * ows-abacus-event\n * OpenAPI spec version: 1.0.0\n */\n\n/**\n * Name of the foreign table the target_id is associated with.\n */\nexport type TargetType = (typeof TargetType)[keyof typeof TargetType];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const TargetType = {\n accounting_period: \"accounting_period\",\n contract: \"contract\",\n statement_period_adjustment_file: \"statement_period_adjustment_file\",\n worksheet_payment_contract_advance: \"worksheet_payment_contract_advance\",\n} as const;\n","import { Environment } from \"@abacus/common\";\n\nexport interface ApiResponse {\n data: T;\n headers?: Record;\n status: number;\n}\n\nexport const baseUrls: Partial> = {\n [Environment.Prod]: \"https://prod-ows-abacus-event.theorchard.io\",\n [Environment.QA]: \"https://qa-ows-abacus-event.theorchard.io\",\n [Environ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CAAC,cAAY,GAAG,EAAG,4CACrB","names":["index_exports","__export","AbacusEventName","HealthStatus","TargetType","baseUrls","__toCommonJS","AbacusEventName","HealthStatus","TargetType","import_common","baseUrls"]}