File tree Expand file tree Collapse file tree
examples/scenarios/enterprise-structure/src/types
packages/cli/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface Attachment extends ObjectDoc {
5+ /**
6+ * File Name
7+ */
8+ name : string ;
9+ /**
10+ * File URL
11+ */
12+ file_url : any ;
13+ /**
14+ * File Size (bytes)
15+ */
16+ file_size ?: number ;
17+ /**
18+ * MIME Type
19+ */
20+ file_type ?: string ;
21+ /**
22+ * Related Object Name
23+ */
24+ related_to ?: string ;
25+ /**
26+ * Related Record ID
27+ */
28+ related_id ?: string ;
29+ /**
30+ * Uploaded By
31+ */
32+ uploaded_by ?: string | number ;
33+ /**
34+ * Description
35+ */
36+ description ?: string ;
37+ /**
38+ * Tags (comma-separated)
39+ */
40+ tags ?: string ;
41+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface CrmAccount extends ObjectDoc {
5+ /**
6+ * Account Name
7+ */
8+ name : string ;
9+ /**
10+ * Account Number
11+ */
12+ account_number ?: string ;
13+ type ?: string ;
14+ /**
15+ * Industry
16+ */
17+ industry ?: string ;
18+ /**
19+ * Annual Revenue
20+ */
21+ annual_revenue ?: number ;
22+ /**
23+ * Number of Employees
24+ */
25+ employees ?: number ;
26+ /**
27+ * Website
28+ */
29+ website ?: string ;
30+ /**
31+ * Phone
32+ */
33+ phone ?: string ;
34+ /**
35+ * Billing Address
36+ */
37+ billing_address ?: string ;
38+ /**
39+ * Shipping Address
40+ */
41+ shipping_address ?: string ;
42+ /**
43+ * Account Owner
44+ */
45+ owner ?: string | number ;
46+ /**
47+ * Parent Account
48+ */
49+ parent_account ?: string | number ;
50+ /**
51+ * Description
52+ */
53+ description ?: string ;
54+ status ?: string ;
55+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface CrmContact extends ObjectDoc {
5+ /**
6+ * First Name
7+ */
8+ first_name : string ;
9+ /**
10+ * Last Name
11+ */
12+ last_name : string ;
13+ /**
14+ * Full Name
15+ */
16+ full_name ?: any ;
17+ /**
18+ * Email
19+ */
20+ email ?: string ;
21+ /**
22+ * Phone
23+ */
24+ phone ?: string ;
25+ /**
26+ * Mobile
27+ */
28+ mobile ?: string ;
29+ /**
30+ * Job Title
31+ */
32+ title ?: string ;
33+ /**
34+ * Department
35+ */
36+ department ?: string ;
37+ /**
38+ * Account
39+ */
40+ account : string | number ;
41+ /**
42+ * Contact Owner
43+ */
44+ owner ?: string | number ;
45+ /**
46+ * Lead Source
47+ */
48+ lead_source ?: string ;
49+ /**
50+ * LinkedIn Profile
51+ */
52+ linkedin_url ?: string ;
53+ /**
54+ * Notes
55+ */
56+ description ?: string ;
57+ status ?: string ;
58+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface CrmLead extends ObjectDoc {
5+ /**
6+ * First Name
7+ */
8+ first_name : string ;
9+ /**
10+ * Last Name
11+ */
12+ last_name : string ;
13+ /**
14+ * Company
15+ */
16+ company ?: string ;
17+ /**
18+ * Job Title
19+ */
20+ title ?: string ;
21+ /**
22+ * Email
23+ */
24+ email ?: string ;
25+ /**
26+ * Phone
27+ */
28+ phone ?: string ;
29+ status : string ;
30+ /**
31+ * Lead Source
32+ */
33+ lead_source ?: string ;
34+ /**
35+ * Lead Rating
36+ */
37+ rating ?: string ;
38+ /**
39+ * Lead Owner
40+ */
41+ owner ?: string | number ;
42+ /**
43+ * Industry
44+ */
45+ industry ?: string ;
46+ /**
47+ * Annual Revenue
48+ */
49+ annual_revenue ?: number ;
50+ /**
51+ * Number of Employees
52+ */
53+ employees ?: number ;
54+ /**
55+ * Description
56+ */
57+ description ?: string ;
58+ /**
59+ * Conversion Date
60+ */
61+ converted_date ?: Date | string ;
62+ /**
63+ * Converted Account
64+ */
65+ converted_account ?: string | number ;
66+ /**
67+ * Converted Contact
68+ */
69+ converted_contact ?: string | number ;
70+ /**
71+ * Converted Opportunity
72+ */
73+ converted_opportunity ?: string | number ;
74+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface CrmOpportunity extends ObjectDoc {
5+ /**
6+ * Opportunity Name
7+ */
8+ name : string ;
9+ /**
10+ * Account
11+ */
12+ account : string | number ;
13+ /**
14+ * Amount
15+ */
16+ amount : number ;
17+ /**
18+ * Expected Close Date
19+ */
20+ close_date : Date | string ;
21+ stage : string ;
22+ /**
23+ * Probability (%)
24+ */
25+ probability ?: number ;
26+ /**
27+ * Opportunity Type
28+ */
29+ type ?: string ;
30+ /**
31+ * Lead Source
32+ */
33+ lead_source ?: string ;
34+ /**
35+ * Opportunity Owner
36+ */
37+ owner : string | number ;
38+ /**
39+ * Next Step
40+ */
41+ next_step ?: string ;
42+ /**
43+ * Description
44+ */
45+ description ?: string ;
46+ /**
47+ * Known Competitors
48+ */
49+ competitors ?: string ;
50+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface FinanceBudget extends ObjectDoc {
5+ /**
6+ * Budget Name
7+ */
8+ name : string ;
9+ /**
10+ * Fiscal Year
11+ */
12+ fiscal_year : number ;
13+ period ?: string ;
14+ /**
15+ * Department
16+ */
17+ department ?: string | number ;
18+ /**
19+ * Project
20+ */
21+ project ?: string | number ;
22+ category ?: string ;
23+ /**
24+ * Allocated Amount
25+ */
26+ allocated_amount : number ;
27+ /**
28+ * Spent Amount
29+ */
30+ spent_amount ?: number ;
31+ /**
32+ * Remaining Amount
33+ */
34+ remaining_amount ?: number ;
35+ /**
36+ * Start Date
37+ */
38+ start_date : Date | string ;
39+ /**
40+ * End Date
41+ */
42+ end_date : Date | string ;
43+ status ?: string ;
44+ /**
45+ * Budget Owner
46+ */
47+ owner ?: string | number ;
48+ /**
49+ * Notes
50+ */
51+ notes ?: string ;
52+ }
Original file line number Diff line number Diff line change 1+ // Auto-generated by ObjectQL. DO NOT EDIT.
2+ import { ObjectDoc } from '@objectql/types' ;
3+
4+ export interface FinanceExpense extends ObjectDoc {
5+ /**
6+ * Expense Number
7+ */
8+ expense_number : string ;
9+ /**
10+ * Employee
11+ */
12+ employee : string | number ;
13+ /**
14+ * Expense Date
15+ */
16+ expense_date : Date | string ;
17+ category : string ;
18+ /**
19+ * Amount
20+ */
21+ amount : number ;
22+ currency ?: string ;
23+ /**
24+ * Merchant/Vendor
25+ */
26+ merchant ?: string ;
27+ /**
28+ * Description
29+ */
30+ description : string ;
31+ /**
32+ * Receipt Attachment
33+ */
34+ receipt_url ?: any ;
35+ status : string ;
36+ /**
37+ * Approved By
38+ */
39+ approved_by ?: string | number ;
40+ /**
41+ * Approval Time
42+ */
43+ approved_at ?: Date | string ;
44+ /**
45+ * Reimbursement Date
46+ */
47+ reimbursed_at ?: Date | string ;
48+ /**
49+ * Department
50+ */
51+ department ?: string | number ;
52+ /**
53+ * Related Project
54+ */
55+ project ?: string | number ;
56+ }
You can’t perform that action at this time.
0 commit comments