@merchi/sdk 1.42.15 → 1.42.17
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/constants/auto_assign_production_on_actions.d.ts +6 -0
- package/dist/constants/call_to_actions.d.ts +14 -0
- package/dist/constants/call_to_actions.test.d.ts +1 -0
- package/dist/constants/discount_types.d.ts +5 -0
- package/dist/constants/discount_types.test.d.ts +1 -0
- package/dist/constants/domain_types.d.ts +12 -0
- package/dist/constants/domain_types.test.d.ts +1 -0
- package/dist/constants/errors.d.ts +26 -0
- package/dist/constants/event_types.d.ts +5 -0
- package/dist/constants/event_types.test.d.ts +1 -0
- package/dist/constants/field_types.d.ts +18 -0
- package/dist/constants/field_types.js +1 -0
- package/dist/constants/field_types.test.d.ts +1 -0
- package/dist/constants/index.d.ts +25 -0
- package/dist/constants/input_types.d.ts +13 -0
- package/dist/constants/input_types.test.d.ts +1 -0
- package/dist/constants/inventory_status.test.d.ts +1 -0
- package/dist/constants/inventory_statuses.d.ts +6 -0
- package/dist/constants/invoice_types.d.ts +5 -0
- package/dist/constants/invoice_types.test.d.ts +1 -0
- package/dist/constants/item_types.d.ts +5 -0
- package/dist/constants/item_types.test.d.ts +1 -0
- package/dist/constants/job/drafting_status.d.ts +7 -0
- package/dist/constants/job/drafting_status.test.d.ts +1 -0
- package/dist/constants/job/payment_status.d.ts +7 -0
- package/dist/constants/job/payment_status.test.d.ts +1 -0
- package/dist/constants/job/production_status.d.ts +12 -0
- package/dist/constants/job/production_status.test.d.ts +1 -0
- package/dist/constants/job/shipment_status.d.ts +11 -0
- package/dist/constants/job/shipment_status.test.d.ts +1 -0
- package/dist/constants/job/supply_chain_request_status.d.ts +6 -0
- package/dist/constants/job/supply_chain_request_status.test.d.ts +1 -0
- package/dist/constants/job_priorities.d.ts +6 -0
- package/dist/constants/job_priorities.test.d.ts +1 -0
- package/dist/constants/job_status.d.ts +45 -0
- package/dist/constants/job_status.test.d.ts +1 -0
- package/dist/constants/job_types.d.ts +16 -0
- package/dist/constants/job_types.test.d.ts +1 -0
- package/dist/constants/notification_sections.d.ts +13 -0
- package/dist/constants/notification_sections.test.d.ts +1 -0
- package/dist/constants/notification_types.d.ts +101 -0
- package/dist/constants/notification_types.test.d.ts +1 -0
- package/dist/constants/notification_urgencies.d.ts +6 -0
- package/dist/constants/notification_urgencies.test.d.ts +1 -0
- package/dist/constants/payment_types.d.ts +10 -0
- package/dist/constants/payment_types.test.d.ts +1 -0
- package/dist/constants/platform.d.ts +5 -0
- package/dist/constants/platform.test.d.ts +1 -0
- package/dist/constants/product_types.d.ts +26 -0
- package/dist/constants/product_types.test.d.ts +1 -0
- package/dist/constants/rights.d.ts +5 -0
- package/dist/constants/rights.test.d.ts +1 -0
- package/dist/constants/robots_meta_directives.d.ts +1 -0
- package/dist/constants/robots_meta_directives.test.d.ts +1 -0
- package/dist/constants/roles.d.ts +21 -0
- package/dist/constants/roles.js +3 -0
- package/dist/constants/roles.test.d.ts +1 -0
- package/dist/constants/shipment_companies.d.ts +19 -0
- package/dist/constants/shipment_companies.test.d.ts +1 -0
- package/dist/constants/shipment_services.d.ts +3 -0
- package/dist/constants/shipment_services.test.d.ts +1 -0
- package/dist/constants/system_roles.d.ts +3 -0
- package/dist/constants/system_roles.test.d.ts +1 -0
- package/dist/constants/theme_status.d.ts +5 -0
- package/dist/constants/theme_status.test.d.ts +1 -0
- package/dist/constants/user_types.d.ts +17 -0
- package/dist/constants/user_types.test.d.ts +1 -0
- package/dist/constants/white_label_accessibilities.d.ts +5 -0
- package/dist/constants/white_label_accessibilities.test.d.ts +1 -0
- package/dist/cookie.d.ts +1 -0
- package/dist/cookie.test.d.ts +1 -0
- package/dist/entities/address.d.ts +30 -0
- package/dist/entities/address.test.d.ts +1 -0
- package/dist/entities/agent_conversation.d.ts +18 -0
- package/dist/entities/agent_conversation.test.d.ts +1 -0
- package/dist/entities/agent_skill.d.ts +33 -0
- package/dist/entities/agent_skill.test.d.ts +1 -0
- package/dist/entities/agent_skill_approval.d.ts +13 -0
- package/dist/entities/agent_skill_version.d.ts +18 -0
- package/dist/entities/agent_token_analytics.d.ts +50 -0
- package/dist/entities/agent_token_usage.d.ts +31 -0
- package/dist/entities/agent_token_usage.test.d.ts +1 -0
- package/dist/entities/assignment.d.ts +40 -0
- package/dist/entities/assignment.test.d.ts +1 -0
- package/dist/entities/automatic_payment_relationship.d.ts +14 -0
- package/dist/entities/automatic_payment_relationship.test.d.ts +1 -0
- package/dist/entities/bank.d.ts +20 -0
- package/dist/entities/bank.test.d.ts +1 -0
- package/dist/entities/cart.d.ts +50 -0
- package/dist/entities/cart.test.d.ts +1 -0
- package/dist/entities/cart_item.d.ts +33 -0
- package/dist/entities/cart_item.test.d.ts +1 -0
- package/dist/entities/cart_shipment_group.d.ts +12 -0
- package/dist/entities/cart_shipment_quote.d.ts +16 -0
- package/dist/entities/category.d.ts +26 -0
- package/dist/entities/category.test.d.ts +1 -0
- package/dist/entities/company.d.ts +137 -0
- package/dist/entities/company.test.d.ts +1 -0
- package/dist/entities/company_invitation.d.ts +16 -0
- package/dist/entities/company_invitation.test.d.ts +1 -0
- package/dist/entities/country_tax.d.ts +20 -0
- package/dist/entities/country_tax.test.d.ts +1 -0
- package/dist/entities/discount.d.ts +19 -0
- package/dist/entities/discount.test.d.ts +1 -0
- package/dist/entities/discount_group.d.ts +20 -0
- package/dist/entities/discount_group.test.d.ts +1 -0
- package/dist/entities/domain.d.ts +629 -0
- package/dist/entities/domain.test.d.ts +1 -0
- package/dist/entities/domain_chat_settings.d.ts +33 -0
- package/dist/entities/domain_chat_settings.test.d.ts +1 -0
- package/dist/entities/domain_invitation.d.ts +17 -0
- package/dist/entities/domain_invitation.test.d.ts +1 -0
- package/dist/entities/domain_tag.d.ts +21 -0
- package/dist/entities/domain_tag.test.d.ts +1 -0
- package/dist/entities/draft.d.ts +31 -0
- package/dist/entities/draft.test.d.ts +1 -0
- package/dist/entities/draft_comment.d.ts +28 -0
- package/dist/entities/draft_comment.test.d.ts +1 -0
- package/dist/entities/draft_preview.d.ts +18 -0
- package/dist/entities/draft_preview.test.d.ts +1 -0
- package/dist/entities/draft_preview_layer.d.ts +12 -0
- package/dist/entities/draft_preview_layer.test.d.ts +1 -0
- package/dist/entities/draft_template.d.ts +31 -0
- package/dist/entities/draft_template.js +8 -0
- package/dist/entities/draft_template.test.d.ts +1 -0
- package/dist/entities/email_address.d.ts +13 -0
- package/dist/entities/email_address.test.d.ts +1 -0
- package/dist/entities/email_counter.d.ts +11 -0
- package/dist/entities/email_counter.test.d.ts +1 -0
- package/dist/entities/enrolled_domain.d.ts +16 -0
- package/dist/entities/enrolled_domain.test.d.ts +1 -0
- package/dist/entities/exchange_rate.d.ts +11 -0
- package/dist/entities/exchange_rate.test.d.ts +1 -0
- package/dist/entities/file.d.ts +65 -0
- package/dist/entities/file.test.d.ts +1 -0
- package/dist/entities/internal_tag.d.ts +26 -0
- package/dist/entities/internal_tag.test.d.ts +1 -0
- package/dist/entities/inventory.d.ts +27 -0
- package/dist/entities/inventory.test.d.ts +1 -0
- package/dist/entities/inventory_group.d.ts +19 -0
- package/dist/entities/inventory_group.test.d.ts +1 -0
- package/dist/entities/inventory_unit_variation.d.ts +13 -0
- package/dist/entities/inventory_unit_variation.test.d.ts +1 -0
- package/dist/entities/invoice.d.ts +80 -0
- package/dist/entities/invoice.test.d.ts +1 -0
- package/dist/entities/item.d.ts +24 -0
- package/dist/entities/item.test.d.ts +1 -0
- package/dist/entities/job.d.ts +156 -0
- package/dist/entities/job.test.d.ts +1 -0
- package/dist/entities/job_comment.d.ts +24 -0
- package/dist/entities/job_comment.test.d.ts +1 -0
- package/dist/entities/job_note.d.ts +19 -0
- package/dist/entities/job_operation_log.d.ts +18 -0
- package/dist/entities/job_operation_log.test.d.ts +1 -0
- package/dist/entities/matching_inventory.d.ts +16 -0
- package/dist/entities/notification.d.ts +47 -0
- package/dist/entities/notification.test.d.ts +1 -0
- package/dist/entities/payment.d.ts +28 -0
- package/dist/entities/payment.test.d.ts +1 -0
- package/dist/entities/payment_device.d.ts +14 -0
- package/dist/entities/payment_device.test.d.ts +1 -0
- package/dist/entities/phone_number.d.ts +17 -0
- package/dist/entities/phone_number.test.d.ts +1 -0
- package/dist/entities/product.d.ts +148 -0
- package/dist/entities/product.test.d.ts +1 -0
- package/dist/entities/product_form.d.ts +22 -0
- package/dist/entities/product_form_version.d.ts +20 -0
- package/dist/entities/product_review.d.ts +74 -0
- package/dist/entities/production_comment.d.ts +24 -0
- package/dist/entities/production_comment.test.d.ts +1 -0
- package/dist/entities/quote.d.ts +29 -0
- package/dist/entities/quote.test.d.ts +1 -0
- package/dist/entities/quote_item.d.ts +24 -0
- package/dist/entities/quote_item.test.d.ts +1 -0
- package/dist/entities/reminder.d.ts +35 -0
- package/dist/entities/reminder.test.d.ts +1 -0
- package/dist/entities/session.d.ts +15 -0
- package/dist/entities/session.test.d.ts +1 -0
- package/dist/entities/shipment.d.ts +76 -0
- package/dist/entities/shipment.test.d.ts +1 -0
- package/dist/entities/shipment_item.d.ts +10 -0
- package/dist/entities/shipment_item.test.d.ts +1 -0
- package/dist/entities/shipment_item_fulfillment.d.ts +10 -0
- package/dist/entities/shipment_item_fulfillment.test.d.ts +1 -0
- package/dist/entities/shipment_log.d.ts +15 -0
- package/dist/entities/shipment_method.d.ts +28 -0
- package/dist/entities/shipment_method.test.d.ts +1 -0
- package/dist/entities/shipment_method_variation.d.ts +18 -0
- package/dist/entities/shipment_method_variation.test.d.ts +1 -0
- package/dist/entities/short_url.d.ts +17 -0
- package/dist/entities/short_url.test.d.ts +1 -0
- package/dist/entities/subscription_plan.d.ts +30 -0
- package/dist/entities/subscription_plan.test.d.ts +1 -0
- package/dist/entities/supply_domain.d.ts +14 -0
- package/dist/entities/supply_domain.test.d.ts +1 -0
- package/dist/entities/support_conversation.d.ts +30 -0
- package/dist/entities/support_conversation.test.d.ts +1 -0
- package/dist/entities/support_message.d.ts +15 -0
- package/dist/entities/support_message.test.d.ts +1 -0
- package/dist/entities/system_role.d.ts +10 -0
- package/dist/entities/system_role.test.d.ts +1 -0
- package/dist/entities/theme.d.ts +26 -0
- package/dist/entities/theme.test.d.ts +1 -0
- package/dist/entities/theme_css_setting.d.ts +12 -0
- package/dist/entities/theme_css_setting.test.d.ts +1 -0
- package/dist/entities/user.d.ts +142 -0
- package/dist/entities/user.test.d.ts +1 -0
- package/dist/entities/user_company.d.ts +14 -0
- package/dist/entities/user_company.test.d.ts +1 -0
- package/dist/entities/variation.d.ts +29 -0
- package/dist/entities/variation.test.d.ts +1 -0
- package/dist/entities/variation_field.d.ts +87 -0
- package/dist/entities/variation_field.js +33 -0
- package/dist/entities/variation_field.test.d.ts +1 -0
- package/dist/entities/variation_fields_option.d.ts +36 -0
- package/dist/entities/variation_fields_option.test.d.ts +1 -0
- package/dist/entities/variation_option.d.ts +23 -0
- package/dist/entities/variation_option.test.d.ts +1 -0
- package/dist/entities/variations_group.d.ts +20 -0
- package/dist/entities/variations_group.test.d.ts +1 -0
- package/dist/entity.d.ts +208 -0
- package/dist/index.d.ts +88 -0
- package/dist/merchi.d.ts +179 -0
- package/dist/merchi.test.d.ts +1 -0
- package/dist/pricing/discount.d.ts +2 -0
- package/dist/pricing/discount.test.d.ts +1 -0
- package/dist/pricing/estimate.d.ts +2 -0
- package/dist/pricing/estimate.js +56 -0
- package/dist/pricing/estimate.test.d.ts +1 -0
- package/dist/pricing/estimate.test.js +81 -0
- package/dist/pricing/golden.test.d.ts +1 -0
- package/dist/pricing/index.d.ts +7 -0
- package/dist/pricing/index.test.d.ts +1 -0
- package/dist/pricing/inventory.d.ts +2 -0
- package/dist/pricing/inventory.test.d.ts +1 -0
- package/dist/pricing/matrix.d.ts +10 -0
- package/dist/pricing/matrix.test.d.ts +1 -0
- package/dist/pricing/round.d.ts +13 -0
- package/dist/pricing/round.test.d.ts +1 -0
- package/dist/pricing/types.d.ts +137 -0
- package/dist/pricing/visibility.d.ts +3 -0
- package/dist/pricing/visibility.test.d.ts +1 -0
- package/dist/request.d.ts +56 -0
- package/dist/request.test.d.ts +1 -0
- package/dist/test_util.d.ts +3 -0
- package/dist/toasts.d.ts +14 -0
- package/dist/toasts.test.d.ts +1 -0
- package/dist/util/float.d.ts +1 -0
- package/dist/util/index.d.ts +3 -0
- package/dist/util/query_string.d.ts +1 -0
- package/dist/util/query_string.test.d.ts +1 -0
- package/dist/util/validation.d.ts +1 -0
- package/dist/util/validation.test.d.ts +1 -0
- package/dist/uuid.d.ts +1 -0
- package/dist/uuid.test.d.ts +1 -0
- package/package.json +2 -1
- package/src/constants/field_types.ts +1 -0
- package/src/constants/roles.ts +3 -0
- package/src/entities/draft_template.ts +6 -0
- package/src/entities/variation_field.ts +25 -0
- package/src/entity.ts +1 -1
- package/src/pricing/estimate.test.ts +95 -0
- package/src/pricing/estimate.ts +73 -0
- package/src/pricing/types.ts +10 -0
- package/tsconfig.json +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Assignment } from './assignment.js';
|
|
2
|
+
import { QuoteItem } from './quote_item.js';
|
|
3
|
+
import { Shipment } from './shipment.js';
|
|
4
|
+
import { Invoice } from './invoice.js';
|
|
5
|
+
import { Entity } from '../entity.js';
|
|
6
|
+
interface CalculateOptions {
|
|
7
|
+
strictEmbed?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare class Quote extends Entity {
|
|
10
|
+
protected static resourceName: string;
|
|
11
|
+
protected static singularName: string;
|
|
12
|
+
protected static pluralName: string;
|
|
13
|
+
archived?: Date | null;
|
|
14
|
+
currency?: string;
|
|
15
|
+
id?: number;
|
|
16
|
+
agreedDeadline?: Date | null;
|
|
17
|
+
shipments?: Shipment[];
|
|
18
|
+
quoteItems?: QuoteItem[];
|
|
19
|
+
assignments?: Assignment[];
|
|
20
|
+
invoice?: Invoice | null;
|
|
21
|
+
quoteTotal: (options?: CalculateOptions) => string;
|
|
22
|
+
calculateTotal: (options?: CalculateOptions) => string;
|
|
23
|
+
calculateSubTotal: (options?: CalculateOptions) => string;
|
|
24
|
+
calculateTaxAmount: (options?: CalculateOptions) => string;
|
|
25
|
+
findQuoteItemIndex: (quoteItemId: number) => number;
|
|
26
|
+
removeQuoteItem: (quoteItem: QuoteItem) => void;
|
|
27
|
+
deadlineTimeDifference: () => number | null;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CountryTax } from './country_tax.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { Quote } from './quote.js';
|
|
4
|
+
interface CalculateOptions {
|
|
5
|
+
strictEmbed?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class QuoteItem extends Entity {
|
|
8
|
+
protected static resourceName: string;
|
|
9
|
+
protected static singularName: string;
|
|
10
|
+
protected static pluralName: string;
|
|
11
|
+
archived?: Date | null;
|
|
12
|
+
id?: number;
|
|
13
|
+
type?: number;
|
|
14
|
+
quantity?: number;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
unitPrice?: number | null;
|
|
17
|
+
taxAmount?: number | null;
|
|
18
|
+
taxType?: CountryTax;
|
|
19
|
+
quote?: Quote;
|
|
20
|
+
calculateSubTotal: (options?: CalculateOptions) => string;
|
|
21
|
+
calculateTaxAmount: (options?: CalculateOptions) => string;
|
|
22
|
+
calculateTotal: (options?: CalculateOptions) => string;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Assignment } from './assignment.js';
|
|
2
|
+
import { Company } from './company.js';
|
|
3
|
+
import { Domain } from './domain.js';
|
|
4
|
+
import { DomainTag } from './domain_tag.js';
|
|
5
|
+
import { Entity } from '../entity.js';
|
|
6
|
+
import { Invoice } from './invoice.js';
|
|
7
|
+
import { Job } from './job.js';
|
|
8
|
+
import { Notification } from './notification.js';
|
|
9
|
+
import { Product } from './product.js';
|
|
10
|
+
import { Shipment } from './shipment.js';
|
|
11
|
+
import { User } from './user.js';
|
|
12
|
+
export declare class Reminder extends Entity {
|
|
13
|
+
protected static resourceName: string;
|
|
14
|
+
protected static singularName: string;
|
|
15
|
+
protected static pluralName: string;
|
|
16
|
+
id?: number;
|
|
17
|
+
user?: User;
|
|
18
|
+
userProfile?: User;
|
|
19
|
+
sendEmail?: boolean;
|
|
20
|
+
sendSms?: boolean;
|
|
21
|
+
created?: Date;
|
|
22
|
+
updated?: Date;
|
|
23
|
+
remindDate?: Date;
|
|
24
|
+
message?: string;
|
|
25
|
+
domainTags?: DomainTag[];
|
|
26
|
+
remindUsers?: User[];
|
|
27
|
+
job?: Job;
|
|
28
|
+
product?: Product;
|
|
29
|
+
invoice?: Invoice;
|
|
30
|
+
domain?: Domain;
|
|
31
|
+
company?: Company;
|
|
32
|
+
shipment?: Shipment;
|
|
33
|
+
assignment?: Assignment;
|
|
34
|
+
notifications?: Notification[];
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Domain } from './domain.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class Session extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
protected static primaryKey: string;
|
|
9
|
+
archived?: Date | null;
|
|
10
|
+
ip?: string | null;
|
|
11
|
+
token?: string;
|
|
12
|
+
remember?: boolean | null;
|
|
13
|
+
user?: User;
|
|
14
|
+
domain?: Domain | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Address } from './address.js';
|
|
2
|
+
import { Assignment } from './assignment.js';
|
|
3
|
+
import { Company } from './company.js';
|
|
4
|
+
import { CountryTax } from './country_tax.js';
|
|
5
|
+
import { DomainTag } from './domain_tag.js';
|
|
6
|
+
import { Entity } from '../entity.js';
|
|
7
|
+
import { InternalTag } from './internal_tag.js';
|
|
8
|
+
import { Invoice } from './invoice.js';
|
|
9
|
+
import { Quote } from './quote.js';
|
|
10
|
+
import { Reminder } from './reminder.js';
|
|
11
|
+
import { Job } from './job.js';
|
|
12
|
+
import { MerchiFile } from './file.js';
|
|
13
|
+
import { User } from './user.js';
|
|
14
|
+
import { ShipmentItem } from './shipment_item.js';
|
|
15
|
+
import { ShipmentLog } from './shipment_log.js';
|
|
16
|
+
import { ShipmentMethod } from './shipment_method.js';
|
|
17
|
+
interface CalculateOptions {
|
|
18
|
+
strictEmbed?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare class Shipment extends Entity {
|
|
21
|
+
protected static resourceName: string;
|
|
22
|
+
protected static singularName: string;
|
|
23
|
+
protected static pluralName: string;
|
|
24
|
+
archived?: Date | null;
|
|
25
|
+
id?: number;
|
|
26
|
+
name?: string;
|
|
27
|
+
shipmentServiceBookingInfo?: string;
|
|
28
|
+
shipmentServiceQuote?: string;
|
|
29
|
+
pickUp?: boolean;
|
|
30
|
+
internalTags?: InternalTag[];
|
|
31
|
+
shipmentLabel?: MerchiFile | null;
|
|
32
|
+
creationDate?: Date | null;
|
|
33
|
+
dispatchedDate?: Date | null;
|
|
34
|
+
dispatchDate?: Date | null;
|
|
35
|
+
expectedReceiveDate?: Date | null;
|
|
36
|
+
receivedDate?: Date | null;
|
|
37
|
+
senderResponsible?: boolean;
|
|
38
|
+
senderNotes?: string | null;
|
|
39
|
+
receiverNotes?: string | null;
|
|
40
|
+
transportCompany?: number | null;
|
|
41
|
+
transportCompanyName?: string | null;
|
|
42
|
+
trackingNumber?: string | null;
|
|
43
|
+
buyCost?: number | null;
|
|
44
|
+
buyCurrency?: string | null;
|
|
45
|
+
cost?: number | null;
|
|
46
|
+
taxAmount?: number | null;
|
|
47
|
+
maxWeight?: number | null;
|
|
48
|
+
maxVolume?: number | null;
|
|
49
|
+
sendSms?: boolean;
|
|
50
|
+
sendEmail?: boolean;
|
|
51
|
+
sendWhatsapp?: boolean;
|
|
52
|
+
taxType?: CountryTax | null;
|
|
53
|
+
isOnBehalfOf?: boolean;
|
|
54
|
+
onBehalfOf?: User | null;
|
|
55
|
+
onBehalfOfCompany?: Company | null;
|
|
56
|
+
sender?: User | null;
|
|
57
|
+
senderCompany?: Company | null;
|
|
58
|
+
senderAddress?: Address | null;
|
|
59
|
+
blindShipTo?: string | null;
|
|
60
|
+
receiver?: User | null;
|
|
61
|
+
receiverCompany?: Company | null;
|
|
62
|
+
receiverAddress?: Address | null;
|
|
63
|
+
invoices?: Invoice[];
|
|
64
|
+
quote?: Quote | null;
|
|
65
|
+
shipmentMethod?: ShipmentMethod | null;
|
|
66
|
+
tags?: DomainTag[];
|
|
67
|
+
assignments?: Assignment[];
|
|
68
|
+
items?: ShipmentItem[];
|
|
69
|
+
jobs?: Job[];
|
|
70
|
+
reminders?: Reminder[];
|
|
71
|
+
logs?: ShipmentLog[];
|
|
72
|
+
calculateSubTotal: (options?: CalculateOptions) => string;
|
|
73
|
+
calculateTaxAmount: (options?: CalculateOptions) => string;
|
|
74
|
+
calculateTotal: (options?: CalculateOptions) => string;
|
|
75
|
+
}
|
|
76
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { Job } from './job.js';
|
|
3
|
+
import { ShipmentItemFulfillment } from './shipment_item_fulfillment.js';
|
|
4
|
+
export declare class ShipmentItem extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
job?: Job;
|
|
9
|
+
fulfillments?: ShipmentItemFulfillment[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { Assignment } from './assignment.js';
|
|
3
|
+
import { Job } from './job.js';
|
|
4
|
+
export declare class ShipmentItemFulfillment extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
assignment?: Assignment;
|
|
9
|
+
job?: Job;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import type { Shipment } from './shipment.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class ShipmentLog extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
id?: number;
|
|
9
|
+
shipment?: Shipment | null;
|
|
10
|
+
user?: User | null;
|
|
11
|
+
sourceType?: string;
|
|
12
|
+
message?: string;
|
|
13
|
+
detailJson?: Record<string, unknown> | null;
|
|
14
|
+
createdAt?: Date | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ShipmentService } from '../constants/shipment_services.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { Address } from './address.js';
|
|
4
|
+
import { Company } from './company.js';
|
|
5
|
+
import { CountryTax } from './country_tax.js';
|
|
6
|
+
import { Product } from './product.js';
|
|
7
|
+
import { ShipmentMethodVariation } from './shipment_method_variation.js';
|
|
8
|
+
export declare class ShipmentMethod extends Entity {
|
|
9
|
+
protected static resourceName: string;
|
|
10
|
+
protected static singularName: string;
|
|
11
|
+
protected static pluralName: string;
|
|
12
|
+
id?: number;
|
|
13
|
+
name?: string;
|
|
14
|
+
shipmentService?: ShipmentService | null;
|
|
15
|
+
originAddress?: Address | null;
|
|
16
|
+
pickUp?: boolean;
|
|
17
|
+
company?: Company | null;
|
|
18
|
+
companyDefault?: boolean;
|
|
19
|
+
defaultCost?: number;
|
|
20
|
+
currency?: string;
|
|
21
|
+
buyCost?: number;
|
|
22
|
+
buyCurrency?: string;
|
|
23
|
+
transportCompany?: number | null;
|
|
24
|
+
transportCompanyName?: string;
|
|
25
|
+
taxType?: CountryTax | null;
|
|
26
|
+
variations?: ShipmentMethodVariation[];
|
|
27
|
+
products?: Product[];
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { CountryTax } from './country_tax.js';
|
|
3
|
+
import { ShipmentMethod } from './shipment_method.js';
|
|
4
|
+
export declare class ShipmentMethodVariation extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
id?: number;
|
|
9
|
+
destinationCountry?: string | null;
|
|
10
|
+
destinationState?: string | null;
|
|
11
|
+
cost?: number | null;
|
|
12
|
+
currency?: string;
|
|
13
|
+
buyCost?: number | null;
|
|
14
|
+
buyCurrency?: string;
|
|
15
|
+
maxWeight?: number | null;
|
|
16
|
+
taxType?: CountryTax | null;
|
|
17
|
+
shipmentMethod?: ShipmentMethod;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { Notification } from './notification.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class ShortUrl extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
archived?: Date | null;
|
|
9
|
+
id?: number;
|
|
10
|
+
prefixToken?: string;
|
|
11
|
+
suffixToken?: string;
|
|
12
|
+
originalLink?: string;
|
|
13
|
+
triedTimes?: number;
|
|
14
|
+
lastLookup?: Date | null;
|
|
15
|
+
user?: User | null;
|
|
16
|
+
notification?: Notification[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { CountryTax } from './country_tax.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
import { Company } from './company.js';
|
|
5
|
+
export declare class SubscriptionPlan extends Entity {
|
|
6
|
+
protected static resourceName: string;
|
|
7
|
+
protected static singularName: string;
|
|
8
|
+
protected static pluralName: string;
|
|
9
|
+
id?: number;
|
|
10
|
+
created?: Date | null;
|
|
11
|
+
updated?: Date | null;
|
|
12
|
+
createdBy?: User | null;
|
|
13
|
+
updatedBy?: User | null;
|
|
14
|
+
name?: string;
|
|
15
|
+
currency?: string;
|
|
16
|
+
tax?: CountryTax | null;
|
|
17
|
+
baseCost?: number;
|
|
18
|
+
whiteLabelDomainCost?: number;
|
|
19
|
+
perSmsCost?: number;
|
|
20
|
+
perUserCost?: number;
|
|
21
|
+
perDomainCost?: number;
|
|
22
|
+
transactionCost?: number;
|
|
23
|
+
commissionRate?: number;
|
|
24
|
+
baseUserCount?: number;
|
|
25
|
+
baseDomainCount?: number;
|
|
26
|
+
billingCycleDays?: number;
|
|
27
|
+
isPrivate?: boolean;
|
|
28
|
+
showPublic?: boolean;
|
|
29
|
+
companies?: Company[];
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Domain } from './domain.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { Product } from './product.js';
|
|
4
|
+
export declare class SupplyDomain extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
archived?: Date | null;
|
|
9
|
+
id?: number;
|
|
10
|
+
needsDrafting?: boolean;
|
|
11
|
+
product?: Product;
|
|
12
|
+
supplyProduct?: Product | null;
|
|
13
|
+
domain?: Domain;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Domain } from './domain.js';
|
|
2
|
+
import { DomainTag } from './domain_tag.js';
|
|
3
|
+
import { Entity } from '../entity.js';
|
|
4
|
+
import { User } from './user.js';
|
|
5
|
+
import { SupportMessage } from './support_message.js';
|
|
6
|
+
export declare class SupportConversation extends Entity {
|
|
7
|
+
protected static resourceName: string;
|
|
8
|
+
protected static singularName: string;
|
|
9
|
+
protected static pluralName: string;
|
|
10
|
+
id?: number;
|
|
11
|
+
creationDate?: Date | null;
|
|
12
|
+
lastMessageAt?: Date | null;
|
|
13
|
+
archivedAt?: Date | null;
|
|
14
|
+
domain?: Domain;
|
|
15
|
+
tags?: DomainTag[];
|
|
16
|
+
guestId?: string | null;
|
|
17
|
+
guestContactEmail?: string | null;
|
|
18
|
+
guestContactName?: string | null;
|
|
19
|
+
/** Opaque client fingerprint for repeat-visitor / spam correlation (max 512 chars). */
|
|
20
|
+
clientFingerprint?: string | null;
|
|
21
|
+
/** Manager-assigned display name for this conversation. */
|
|
22
|
+
name?: string | null;
|
|
23
|
+
/** Freeform internal notes written by managers (not visible to guests). */
|
|
24
|
+
notes?: string | null;
|
|
25
|
+
user?: User | null;
|
|
26
|
+
assignedUser?: User | null;
|
|
27
|
+
aiAutoReply?: boolean;
|
|
28
|
+
messages?: SupportMessage[];
|
|
29
|
+
messagesCount?: number;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { SupportConversation } from './support_conversation.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class SupportMessage extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
id?: number;
|
|
9
|
+
conversation?: SupportConversation;
|
|
10
|
+
senderType?: string;
|
|
11
|
+
user?: User | null;
|
|
12
|
+
content?: string;
|
|
13
|
+
creationDate?: Date | null;
|
|
14
|
+
isAiReply?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { User } from './user.js';
|
|
3
|
+
export declare class SystemRole extends Entity {
|
|
4
|
+
protected static resourceName: string;
|
|
5
|
+
protected static singularName: string;
|
|
6
|
+
protected static pluralName: string;
|
|
7
|
+
id?: number;
|
|
8
|
+
role?: number;
|
|
9
|
+
user?: User;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Domain } from './domain.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class Theme extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
archived?: Date | null;
|
|
9
|
+
id?: number;
|
|
10
|
+
mainCssStatus?: number;
|
|
11
|
+
mainCssErrorMessage?: string | null;
|
|
12
|
+
emailCssStatus?: number;
|
|
13
|
+
emailCssErrorMessage?: string | null;
|
|
14
|
+
lastUpdated?: Date;
|
|
15
|
+
mainCss?: string | null;
|
|
16
|
+
mainCssTemplateUsing?: string | null;
|
|
17
|
+
mainCssTemplateEditing?: string | null;
|
|
18
|
+
emailCss?: string | null;
|
|
19
|
+
emailCssTemplateUsing?: string | null;
|
|
20
|
+
emailCssTemplateEditing?: string | null;
|
|
21
|
+
domain?: Domain | null;
|
|
22
|
+
author?: User | null;
|
|
23
|
+
domains?: Domain[];
|
|
24
|
+
canBeActivated: () => boolean;
|
|
25
|
+
isActiveOnDomain: (domainId: number) => boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Entity } from '../entity.js';
|
|
2
|
+
import { User } from './user.js';
|
|
3
|
+
export declare class ThemeCssSetting extends Entity {
|
|
4
|
+
protected static resourceName: string;
|
|
5
|
+
protected static singularName: string;
|
|
6
|
+
protected static pluralName: string;
|
|
7
|
+
id?: number;
|
|
8
|
+
created?: Date | null;
|
|
9
|
+
createdBy?: User | null;
|
|
10
|
+
allowedAttributes?: string;
|
|
11
|
+
notAllowedAttributes?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { Address } from './address.js';
|
|
2
|
+
import { Assignment } from './assignment.js';
|
|
3
|
+
import { Cart } from './cart.js';
|
|
4
|
+
import { Category } from './category.js';
|
|
5
|
+
import { CompanyInvitation } from './company_invitation.js';
|
|
6
|
+
import { DomainInvitation } from './domain_invitation.js';
|
|
7
|
+
import { Draft } from './draft.js';
|
|
8
|
+
import { DraftComment } from './draft_comment.js';
|
|
9
|
+
import { EmailAddress } from './email_address.js';
|
|
10
|
+
import { EnrolledDomain } from './enrolled_domain.js';
|
|
11
|
+
import { Domain } from './domain.js';
|
|
12
|
+
import { Entity } from '../entity.js';
|
|
13
|
+
import { MerchiFile } from './file.js';
|
|
14
|
+
import { Invoice } from './invoice.js';
|
|
15
|
+
import { Job } from './job.js';
|
|
16
|
+
import { JobComment } from './job_comment.js';
|
|
17
|
+
import { JobOperationLog } from './job_operation_log.js';
|
|
18
|
+
import { Notification } from './notification.js';
|
|
19
|
+
import { Payment } from './payment.js';
|
|
20
|
+
import { PhoneNumber } from './phone_number.js';
|
|
21
|
+
import { Product } from './product.js';
|
|
22
|
+
import { Reminder } from './reminder.js';
|
|
23
|
+
import { ProductionComment } from './production_comment.js';
|
|
24
|
+
import { Session } from './session.js';
|
|
25
|
+
import { Shipment } from './shipment.js';
|
|
26
|
+
import { ShipmentLog } from './shipment_log.js';
|
|
27
|
+
import { SystemRole } from './system_role.js';
|
|
28
|
+
import { Theme } from './theme.js';
|
|
29
|
+
import { UserCompany } from './user_company.js';
|
|
30
|
+
import { Company } from './company.js';
|
|
31
|
+
import { Role } from '../constants/roles.js';
|
|
32
|
+
import { InternalTag } from './internal_tag.js';
|
|
33
|
+
import { DomainTag } from './domain_tag.js';
|
|
34
|
+
import { UserType } from '../constants/user_types.js';
|
|
35
|
+
import { SystemRoles as SR } from '../constants/system_roles.js';
|
|
36
|
+
import lodash from 'lodash';
|
|
37
|
+
export declare class User extends Entity {
|
|
38
|
+
protected static resourceName: string;
|
|
39
|
+
protected static singularName: string;
|
|
40
|
+
protected static pluralName: string;
|
|
41
|
+
archived?: Date | null;
|
|
42
|
+
id?: number;
|
|
43
|
+
isSuperUser?: boolean;
|
|
44
|
+
userType?: UserType;
|
|
45
|
+
registeredAsGuest?: boolean;
|
|
46
|
+
isMerchiAgent?: boolean;
|
|
47
|
+
internalTags?: InternalTag[];
|
|
48
|
+
tags?: DomainTag[];
|
|
49
|
+
registeredUnderDomains?: Domain[];
|
|
50
|
+
password?: string | null;
|
|
51
|
+
salt?: string | null;
|
|
52
|
+
facebookUserId?: string | null;
|
|
53
|
+
resetToken?: string | null;
|
|
54
|
+
resetTokenDate?: Date | null;
|
|
55
|
+
smsToken?: string | null;
|
|
56
|
+
resetSmsTokenDate?: Date | null;
|
|
57
|
+
smsClientToken?: string | null;
|
|
58
|
+
smsTokenConfirmed?: boolean;
|
|
59
|
+
smsLoginThreshold?: number;
|
|
60
|
+
jobCountAsClient?: number;
|
|
61
|
+
totalInvoiceValue?: number;
|
|
62
|
+
hasStore?: boolean;
|
|
63
|
+
lastJobReceived?: boolean;
|
|
64
|
+
canEdit?: boolean;
|
|
65
|
+
enableCrashReports?: boolean;
|
|
66
|
+
enableClientEmails?: boolean;
|
|
67
|
+
clientToken?: string | null;
|
|
68
|
+
name?: string;
|
|
69
|
+
internalUseNotes?: string;
|
|
70
|
+
telegramUsername?: string;
|
|
71
|
+
wechatId?: string;
|
|
72
|
+
whatsappContactEnabled?: boolean;
|
|
73
|
+
internalUseAiContext?: string;
|
|
74
|
+
aiContext?: string;
|
|
75
|
+
callToActions?: string;
|
|
76
|
+
callToActionDetails?: any[];
|
|
77
|
+
comments?: string | null;
|
|
78
|
+
timezone?: string | null;
|
|
79
|
+
created?: Date | null;
|
|
80
|
+
preferredLanguage?: string | null;
|
|
81
|
+
enableInvoiceReminders?: boolean;
|
|
82
|
+
enableStoreNotifications?: boolean;
|
|
83
|
+
isAdminOfSubscribedCompany?: boolean;
|
|
84
|
+
jobComments?: JobComment[];
|
|
85
|
+
jobOperationLogs?: JobOperationLog[];
|
|
86
|
+
shipmentLogs?: ShipmentLog[];
|
|
87
|
+
_emailAddresses?: EmailAddress[];
|
|
88
|
+
_phoneNumbers?: PhoneNumber[];
|
|
89
|
+
_addresses?: Address[];
|
|
90
|
+
_companies?: UserCompany[];
|
|
91
|
+
companiesNeedStripe?: Company[];
|
|
92
|
+
categories?: Category[];
|
|
93
|
+
products?: Product[];
|
|
94
|
+
profilePicture?: MerchiFile | null;
|
|
95
|
+
phoneNumbers?: PhoneNumber[];
|
|
96
|
+
sessions?: Session[];
|
|
97
|
+
shipmentsAsSender?: Shipment[];
|
|
98
|
+
shipmentsAsReceiver?: Shipment[];
|
|
99
|
+
draftComments?: DraftComment[];
|
|
100
|
+
forwardedDraftComments?: DraftComment[];
|
|
101
|
+
systemRoles?: SystemRole[];
|
|
102
|
+
emailAddresses?: EmailAddress[];
|
|
103
|
+
notifications?: Notification[];
|
|
104
|
+
sentNotifications?: Notification[];
|
|
105
|
+
reminders?: Reminder[];
|
|
106
|
+
assignments?: Assignment[];
|
|
107
|
+
userCompanies?: UserCompany[];
|
|
108
|
+
drafts?: Draft[];
|
|
109
|
+
companyInvitations?: CompanyInvitation[];
|
|
110
|
+
addresses?: Address[];
|
|
111
|
+
uploadFiles?: MerchiFile[];
|
|
112
|
+
forwardedJobComments?: JobComment[];
|
|
113
|
+
appliedJobs?: Job[];
|
|
114
|
+
managedJobs?: Job[];
|
|
115
|
+
draftingJobs?: Job[];
|
|
116
|
+
saved_products?: Product[];
|
|
117
|
+
carts?: Cart[];
|
|
118
|
+
payments?: Payment[];
|
|
119
|
+
enrolledDomains?: EnrolledDomain[];
|
|
120
|
+
responsibleInvoices?: Invoice[];
|
|
121
|
+
createdInvoices?: Invoice[];
|
|
122
|
+
invoicesHas?: Invoice[];
|
|
123
|
+
sentDomainInvitations?: DomainInvitation[];
|
|
124
|
+
receivedDomainInvitations?: DomainInvitation[];
|
|
125
|
+
themes?: Theme[];
|
|
126
|
+
forwardedProductionComments?: ProductionComment[];
|
|
127
|
+
accessibleDomainsAsClient?: Domain[];
|
|
128
|
+
publicCreate: (options?: import("../entity.js").CreateOptions | undefined) => Promise<this>;
|
|
129
|
+
roleInDomain: (domain: Domain) => Role;
|
|
130
|
+
isSuper(): boolean;
|
|
131
|
+
companies(): Company[];
|
|
132
|
+
isDomainManager(domain: Domain): boolean;
|
|
133
|
+
isManagementTeam(domain: Domain): boolean;
|
|
134
|
+
isNotClient(domain: Domain): boolean;
|
|
135
|
+
domainsByRoles(roles: Role[]): Domain[];
|
|
136
|
+
hasAuthority(domain: Domain, roles: Role[]): boolean;
|
|
137
|
+
hasSystemRole(role: SR): boolean;
|
|
138
|
+
hasRoles(roles: Role[], combinationMethod?: {
|
|
139
|
+
<T>(collection: lodash.List<T> | null | undefined, predicate?: lodash.ListIterateeCustom<T, boolean> | undefined): boolean;
|
|
140
|
+
<T_1 extends object>(collection: T_1 | null | undefined, predicate?: lodash.ObjectIterateeCustom<T_1, boolean> | undefined): boolean;
|
|
141
|
+
}): boolean;
|
|
142
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Company } from './company.js';
|
|
2
|
+
import { Entity } from '../entity.js';
|
|
3
|
+
import { User } from './user.js';
|
|
4
|
+
export declare class UserCompany extends Entity {
|
|
5
|
+
protected static resourceName: string;
|
|
6
|
+
protected static singularName: string;
|
|
7
|
+
protected static pluralName: string;
|
|
8
|
+
archived?: Date | null;
|
|
9
|
+
id?: number;
|
|
10
|
+
main?: boolean | null;
|
|
11
|
+
isAdmin?: boolean;
|
|
12
|
+
user?: User | null;
|
|
13
|
+
company?: Company | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|