@primocaredentgroup/compensi-medici-core 0.1.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/convex/_generated/api.ts +110 -0
- package/convex/_generated/component.ts +1356 -0
- package/convex/_generated/dataModel.ts +60 -0
- package/convex/_generated/server.ts +156 -0
- package/convex/audit/logs.ts +69 -0
- package/convex/calculation/commissions.ts +497 -0
- package/convex/calculation/deductions.ts +119 -0
- package/convex/calculation/engine.ts +598 -0
- package/convex/calculation/fixedCommissions.ts +217 -0
- package/convex/calculation/orchestrator.ts +314 -0
- package/convex/calculation/production.ts +495 -0
- package/convex/calculation/productionData.ts +155 -0
- package/convex/calculation/ruleApplications.ts +121 -0
- package/convex/config/categories.ts +114 -0
- package/convex/config/commissionPlans.ts +166 -0
- package/convex/config/commissionRules.ts +154 -0
- package/convex/config/companyMappings.ts +77 -0
- package/convex/config/deductionRules.ts +113 -0
- package/convex/config/fixedCommissionTypes.ts +79 -0
- package/convex/config/globalSettings.ts +79 -0
- package/convex/config/invisalignConfig.ts +87 -0
- package/convex/config/planTemplates.ts +90 -0
- package/convex/config/taxProfiles.ts +122 -0
- package/convex/config/userTaxProfiles.ts +87 -0
- package/convex/convex.config.ts +3 -0
- package/convex/documents/draftInvoices.ts +164 -0
- package/convex/documents/invoiceEngine.ts +468 -0
- package/convex/documents/invoiceGeneration.ts +611 -0
- package/convex/documents/statements.ts +185 -0
- package/convex/ledger/entries.ts +314 -0
- package/convex/lib/types.ts +126 -0
- package/convex/schema.ts +611 -0
- package/convex/seedHelpers.ts +41 -0
- package/convex/workflow/pendingCompletions.ts +148 -0
- package/convex/workflow/pythonWorker.ts +190 -0
- package/convex/workflow/runIssues.ts +364 -0
- package/convex/workflow/runs.ts +718 -0
- package/package.json +43 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* Generated `api` utility.
|
|
4
|
+
*
|
|
5
|
+
* THIS CODE IS AUTOMATICALLY GENERATED.
|
|
6
|
+
*
|
|
7
|
+
* To regenerate, run `npx convex dev`.
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type * as audit_logs from "../audit/logs.js";
|
|
12
|
+
import type * as calculation_commissions from "../calculation/commissions.js";
|
|
13
|
+
import type * as calculation_deductions from "../calculation/deductions.js";
|
|
14
|
+
import type * as calculation_engine from "../calculation/engine.js";
|
|
15
|
+
import type * as calculation_fixedCommissions from "../calculation/fixedCommissions.js";
|
|
16
|
+
import type * as calculation_orchestrator from "../calculation/orchestrator.js";
|
|
17
|
+
import type * as calculation_production from "../calculation/production.js";
|
|
18
|
+
import type * as calculation_productionData from "../calculation/productionData.js";
|
|
19
|
+
import type * as calculation_ruleApplications from "../calculation/ruleApplications.js";
|
|
20
|
+
import type * as config_categories from "../config/categories.js";
|
|
21
|
+
import type * as config_commissionPlans from "../config/commissionPlans.js";
|
|
22
|
+
import type * as config_commissionRules from "../config/commissionRules.js";
|
|
23
|
+
import type * as config_companyMappings from "../config/companyMappings.js";
|
|
24
|
+
import type * as config_deductionRules from "../config/deductionRules.js";
|
|
25
|
+
import type * as config_fixedCommissionTypes from "../config/fixedCommissionTypes.js";
|
|
26
|
+
import type * as config_globalSettings from "../config/globalSettings.js";
|
|
27
|
+
import type * as config_invisalignConfig from "../config/invisalignConfig.js";
|
|
28
|
+
import type * as config_planTemplates from "../config/planTemplates.js";
|
|
29
|
+
import type * as config_taxProfiles from "../config/taxProfiles.js";
|
|
30
|
+
import type * as config_userTaxProfiles from "../config/userTaxProfiles.js";
|
|
31
|
+
import type * as documents_draftInvoices from "../documents/draftInvoices.js";
|
|
32
|
+
import type * as documents_invoiceEngine from "../documents/invoiceEngine.js";
|
|
33
|
+
import type * as documents_invoiceGeneration from "../documents/invoiceGeneration.js";
|
|
34
|
+
import type * as documents_statements from "../documents/statements.js";
|
|
35
|
+
import type * as ledger_entries from "../ledger/entries.js";
|
|
36
|
+
import type * as lib_types from "../lib/types.js";
|
|
37
|
+
import type * as seedHelpers from "../seedHelpers.js";
|
|
38
|
+
import type * as workflow_pendingCompletions from "../workflow/pendingCompletions.js";
|
|
39
|
+
import type * as workflow_pythonWorker from "../workflow/pythonWorker.js";
|
|
40
|
+
import type * as workflow_runIssues from "../workflow/runIssues.js";
|
|
41
|
+
import type * as workflow_runs from "../workflow/runs.js";
|
|
42
|
+
|
|
43
|
+
import type {
|
|
44
|
+
ApiFromModules,
|
|
45
|
+
FilterApi,
|
|
46
|
+
FunctionReference,
|
|
47
|
+
} from "convex/server";
|
|
48
|
+
import { anyApi, componentsGeneric } from "convex/server";
|
|
49
|
+
|
|
50
|
+
const fullApi: ApiFromModules<{
|
|
51
|
+
"audit/logs": typeof audit_logs;
|
|
52
|
+
"calculation/commissions": typeof calculation_commissions;
|
|
53
|
+
"calculation/deductions": typeof calculation_deductions;
|
|
54
|
+
"calculation/engine": typeof calculation_engine;
|
|
55
|
+
"calculation/fixedCommissions": typeof calculation_fixedCommissions;
|
|
56
|
+
"calculation/orchestrator": typeof calculation_orchestrator;
|
|
57
|
+
"calculation/production": typeof calculation_production;
|
|
58
|
+
"calculation/productionData": typeof calculation_productionData;
|
|
59
|
+
"calculation/ruleApplications": typeof calculation_ruleApplications;
|
|
60
|
+
"config/categories": typeof config_categories;
|
|
61
|
+
"config/commissionPlans": typeof config_commissionPlans;
|
|
62
|
+
"config/commissionRules": typeof config_commissionRules;
|
|
63
|
+
"config/companyMappings": typeof config_companyMappings;
|
|
64
|
+
"config/deductionRules": typeof config_deductionRules;
|
|
65
|
+
"config/fixedCommissionTypes": typeof config_fixedCommissionTypes;
|
|
66
|
+
"config/globalSettings": typeof config_globalSettings;
|
|
67
|
+
"config/invisalignConfig": typeof config_invisalignConfig;
|
|
68
|
+
"config/planTemplates": typeof config_planTemplates;
|
|
69
|
+
"config/taxProfiles": typeof config_taxProfiles;
|
|
70
|
+
"config/userTaxProfiles": typeof config_userTaxProfiles;
|
|
71
|
+
"documents/draftInvoices": typeof documents_draftInvoices;
|
|
72
|
+
"documents/invoiceEngine": typeof documents_invoiceEngine;
|
|
73
|
+
"documents/invoiceGeneration": typeof documents_invoiceGeneration;
|
|
74
|
+
"documents/statements": typeof documents_statements;
|
|
75
|
+
"ledger/entries": typeof ledger_entries;
|
|
76
|
+
"lib/types": typeof lib_types;
|
|
77
|
+
seedHelpers: typeof seedHelpers;
|
|
78
|
+
"workflow/pendingCompletions": typeof workflow_pendingCompletions;
|
|
79
|
+
"workflow/pythonWorker": typeof workflow_pythonWorker;
|
|
80
|
+
"workflow/runIssues": typeof workflow_runIssues;
|
|
81
|
+
"workflow/runs": typeof workflow_runs;
|
|
82
|
+
}> = anyApi as any;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* A utility for referencing Convex functions in your app's public API.
|
|
86
|
+
*
|
|
87
|
+
* Usage:
|
|
88
|
+
* ```js
|
|
89
|
+
* const myFunctionReference = api.myModule.myFunction;
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
export const api: FilterApi<
|
|
93
|
+
typeof fullApi,
|
|
94
|
+
FunctionReference<any, "public">
|
|
95
|
+
> = anyApi as any;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A utility for referencing Convex functions in your app's internal API.
|
|
99
|
+
*
|
|
100
|
+
* Usage:
|
|
101
|
+
* ```js
|
|
102
|
+
* const myFunctionReference = internal.myModule.myFunction;
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export const internal: FilterApi<
|
|
106
|
+
typeof fullApi,
|
|
107
|
+
FunctionReference<any, "internal">
|
|
108
|
+
> = anyApi as any;
|
|
109
|
+
|
|
110
|
+
export const components = componentsGeneric() as unknown as {};
|