@posiwise/smart-crm 0.0.70 → 0.0.72
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/fesm2022/posiwise-smart-crm.mjs +611 -309
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/package.json +5 -5
- package/types/posiwise-smart-crm.d.ts +2506 -0
- package/index.d.ts +0 -49
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -73
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -175
- package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +0 -28
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -109
- package/lib/private/components/smart-crm-actions/smart-crm-actions.component.d.ts +0 -75
- package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -58
- package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +0 -31
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -53
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -62
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -59
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -127
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -91
- package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +0 -101
- package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +0 -56
- package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +0 -64
- package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -9
- package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +0 -53
- package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +0 -82
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -64
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -50
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -65
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +0 -23
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
- package/lib/private/components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component.d.ts +0 -5
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -66
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -74
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -123
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -84
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
- package/lib/private/smart-crm-private.module.d.ts +0 -66
- package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
- package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
- package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
- package/lib/public/smart-crm-public.module.d.ts +0 -14
- package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
- package/lib/shared/interface/crm-account.interface.d.ts +0 -61
- package/lib/shared/interface/crm-action.interface.d.ts +0 -15
- package/lib/shared/interface/crm-contact.interface.d.ts +0 -30
- package/lib/shared/interface/crm-lead.interface.d.ts +0 -27
- package/lib/shared/interface/crm-newsletter.interface.d.ts +0 -59
- package/lib/shared/interface/crm-opportunity.interface.d.ts +0 -63
- package/lib/shared/interface/crm-source.interface.d.ts +0 -11
- package/lib/shared/interface/crm-stages.interface.d.ts +0 -14
- package/lib/shared/interface/crm-widget.interface.d.ts +0 -14
- package/lib/shared/interface/smart-crm-module.interface.d.ts +0 -171
- package/lib/shared/models/smart-crm.model.d.ts +0 -16
- package/lib/shared/routers/routers.d.ts +0 -22
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CrmNewsletterUnsubscribeComponent {
|
|
5
|
-
private readonly route;
|
|
6
|
-
private readonly crmService;
|
|
7
|
-
token: string;
|
|
8
|
-
message: string;
|
|
9
|
-
errorMsg: string;
|
|
10
|
-
success: string;
|
|
11
|
-
failure: string;
|
|
12
|
-
error: boolean;
|
|
13
|
-
constructor(route: ActivatedRoute, crmService: CrmService);
|
|
14
|
-
getNewsletterConfirmation(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrmNewsletterUnsubscribeComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrmNewsletterUnsubscribeComponent, "pw-crm-newsletter-unsubscribe", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Injector, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { AuthService } from '@posiwise/common-services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CrmSignupComponent extends AppBaseComponent implements OnInit {
|
|
6
|
-
private readonly authService;
|
|
7
|
-
subject: string;
|
|
8
|
-
productKey: string;
|
|
9
|
-
masterProductId: any;
|
|
10
|
-
constructor(authService: AuthService, injector: Injector);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
private scrollableLeft;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrmSignupComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrmSignupComponent, "pw-crm-signup", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/smart-crm-signup/smart-crm-signup.component";
|
|
3
|
-
import * as i2 from "./components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component";
|
|
4
|
-
import * as i3 from "./components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component";
|
|
5
|
-
import * as i4 from "./smart-crm-public.routing.module";
|
|
6
|
-
import * as i5 from "@posiwise/shared-product-components";
|
|
7
|
-
import * as i6 from "@posiwise/layouts";
|
|
8
|
-
import * as i7 from "@jsverse/transloco";
|
|
9
|
-
import * as i8 from "@angular/common";
|
|
10
|
-
export declare class CRMPublicModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CRMPublicModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CRMPublicModule, [typeof i1.CrmSignupComponent, typeof i2.CrmNewsletterUnsubscribeComponent, typeof i3.CrmNewsletterConfirmationComponent], [typeof i4.CrmPublicRoutingModule, typeof i5.ProductsShared, typeof i6.LayoutsModule, typeof i7.TranslocoModule, typeof i8.CommonModule], never>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CRMPublicModule>;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/router";
|
|
3
|
-
export declare class CrmPublicRoutingModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CrmPublicRoutingModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CrmPublicRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CrmPublicRoutingModule>;
|
|
7
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export interface CrmAccount {
|
|
2
|
-
main_currency?: string;
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
subscription_id: number;
|
|
7
|
-
location: string;
|
|
8
|
-
latitude: number;
|
|
9
|
-
longitude: number;
|
|
10
|
-
comment: string;
|
|
11
|
-
tel: string;
|
|
12
|
-
country: string;
|
|
13
|
-
owner_id: number;
|
|
14
|
-
organization_size_id: number;
|
|
15
|
-
organization_industry_id: number;
|
|
16
|
-
organization_type_id: number;
|
|
17
|
-
company_url: string;
|
|
18
|
-
status: string;
|
|
19
|
-
priority: string;
|
|
20
|
-
crm_source_id: number;
|
|
21
|
-
signed_up_at?: string | null;
|
|
22
|
-
last_logged_in_at?: string | null;
|
|
23
|
-
owner: Owner;
|
|
24
|
-
organisation_size: OrganisationSize;
|
|
25
|
-
organisation_type: OrganisationType;
|
|
26
|
-
organisation_industry: OrganisationIndustry;
|
|
27
|
-
subscription_products?: SubscriptionProduct[];
|
|
28
|
-
}
|
|
29
|
-
export interface SubscriptionProduct {
|
|
30
|
-
id: number;
|
|
31
|
-
feature_key: string;
|
|
32
|
-
product_ids?: string | null;
|
|
33
|
-
}
|
|
34
|
-
interface OrganisationSize {
|
|
35
|
-
id: number;
|
|
36
|
-
size: string;
|
|
37
|
-
}
|
|
38
|
-
interface OrganisationType {
|
|
39
|
-
id: number;
|
|
40
|
-
type: string;
|
|
41
|
-
}
|
|
42
|
-
interface OrganisationIndustry {
|
|
43
|
-
id: number;
|
|
44
|
-
industry: string;
|
|
45
|
-
}
|
|
46
|
-
interface Owner {
|
|
47
|
-
id: number;
|
|
48
|
-
name: string;
|
|
49
|
-
email: string;
|
|
50
|
-
}
|
|
51
|
-
export interface CrmAccountResponse {
|
|
52
|
-
accounts: CrmAccount[];
|
|
53
|
-
object_count: number;
|
|
54
|
-
unfiltered_count: number;
|
|
55
|
-
totals?: {
|
|
56
|
-
expected_mrr_usd?: number;
|
|
57
|
-
sessions_last_month?: number;
|
|
58
|
-
sessions_last_quarter?: number;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface CrmAction {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
subscription_id: number;
|
|
5
|
-
target_week_min: number;
|
|
6
|
-
target_week: number;
|
|
7
|
-
visible: boolean;
|
|
8
|
-
previous_action_id: number;
|
|
9
|
-
contact_required: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface CrmActionResponse {
|
|
12
|
-
crm_actions: CrmAction[];
|
|
13
|
-
object_count: number;
|
|
14
|
-
unfiltered_count: number;
|
|
15
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CrmAccount } from './crm-account.interface';
|
|
2
|
-
export interface CrmContact {
|
|
3
|
-
id: number;
|
|
4
|
-
first_name: string;
|
|
5
|
-
last_name: string;
|
|
6
|
-
email: string;
|
|
7
|
-
tel: string;
|
|
8
|
-
crm_account_id: number;
|
|
9
|
-
created_at: string;
|
|
10
|
-
last_logged_in_at?: string | null;
|
|
11
|
-
headline: string;
|
|
12
|
-
department_id: number;
|
|
13
|
-
dob: string;
|
|
14
|
-
owner_id: number;
|
|
15
|
-
linkedin_url: string;
|
|
16
|
-
potential: string;
|
|
17
|
-
crm_source_id: number;
|
|
18
|
-
subscription_id: number;
|
|
19
|
-
labels: string[];
|
|
20
|
-
enquiry: string;
|
|
21
|
-
email_verified: boolean;
|
|
22
|
-
newsletter_subscribed: boolean;
|
|
23
|
-
owner: string;
|
|
24
|
-
crm_account: CrmAccount;
|
|
25
|
-
}
|
|
26
|
-
export interface CrmContactResponse {
|
|
27
|
-
contacts: CrmContact[];
|
|
28
|
-
object_count: number;
|
|
29
|
-
unfiltered_count: number;
|
|
30
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface CrmLead {
|
|
2
|
-
id: number;
|
|
3
|
-
first_name: string;
|
|
4
|
-
last_name: string;
|
|
5
|
-
email: string;
|
|
6
|
-
tel: string;
|
|
7
|
-
crm_account_id: number;
|
|
8
|
-
created_at: string;
|
|
9
|
-
headline: string;
|
|
10
|
-
department_id: number;
|
|
11
|
-
dob: string;
|
|
12
|
-
owner_id: number;
|
|
13
|
-
linkedin_url: string;
|
|
14
|
-
potential: string;
|
|
15
|
-
crm_source_id: number;
|
|
16
|
-
subscription_id: number;
|
|
17
|
-
labels: string[];
|
|
18
|
-
enquiry: string;
|
|
19
|
-
email_verified: boolean;
|
|
20
|
-
newsletter_subscribed: boolean;
|
|
21
|
-
crm_source: object;
|
|
22
|
-
}
|
|
23
|
-
export interface CrmLeadResponse {
|
|
24
|
-
crm_leads: CrmLead[];
|
|
25
|
-
object_count: number;
|
|
26
|
-
unfiltered_count: number;
|
|
27
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export interface CrmNewsLetter {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
body: string;
|
|
5
|
-
contact_potential: string[];
|
|
6
|
-
account_status: string[];
|
|
7
|
-
account_priority: string[];
|
|
8
|
-
location: string;
|
|
9
|
-
latitude: number;
|
|
10
|
-
longitude: number;
|
|
11
|
-
is_sent: boolean;
|
|
12
|
-
is_pushed: boolean;
|
|
13
|
-
send_until: object;
|
|
14
|
-
subscription_id: number;
|
|
15
|
-
owner_id: number;
|
|
16
|
-
days_to_wait_from_previous_newsletter: number;
|
|
17
|
-
send_at: string;
|
|
18
|
-
account_size: string[];
|
|
19
|
-
account_source: string[];
|
|
20
|
-
product_ids: string;
|
|
21
|
-
feature_keys: string[];
|
|
22
|
-
contact_label: string[];
|
|
23
|
-
contact_source: string[];
|
|
24
|
-
can_reply: boolean;
|
|
25
|
-
only_new_contacts: boolean;
|
|
26
|
-
}
|
|
27
|
-
export interface CrmNewsLetterResponse {
|
|
28
|
-
crm_newsletters: CrmNewsLetter[];
|
|
29
|
-
object_count: number;
|
|
30
|
-
unfiltered_count: number;
|
|
31
|
-
}
|
|
32
|
-
interface NewsLetterContact {
|
|
33
|
-
id: number;
|
|
34
|
-
first_name: string;
|
|
35
|
-
last_name: string;
|
|
36
|
-
email: string;
|
|
37
|
-
tel: string;
|
|
38
|
-
crm_account_id: number;
|
|
39
|
-
created_at: string;
|
|
40
|
-
headline: string;
|
|
41
|
-
department_id: number;
|
|
42
|
-
dob: string;
|
|
43
|
-
owner_id: number;
|
|
44
|
-
linkedin_url: string;
|
|
45
|
-
potential: string;
|
|
46
|
-
crm_source_id: number;
|
|
47
|
-
subscription_id: number;
|
|
48
|
-
labels: string[];
|
|
49
|
-
enquiry: string;
|
|
50
|
-
email_verified: boolean;
|
|
51
|
-
newsletter_subscribed: boolean;
|
|
52
|
-
message_insight: string;
|
|
53
|
-
}
|
|
54
|
-
export interface NewsLetterContactResponse {
|
|
55
|
-
newsletter_contacts: NewsLetterContact[];
|
|
56
|
-
object_count: number;
|
|
57
|
-
unfiltered_count: number;
|
|
58
|
-
}
|
|
59
|
-
export {};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { CrmAccount } from './crm-account.interface';
|
|
2
|
-
import { CrmStage } from './crm-stages.interface';
|
|
3
|
-
export interface CrmOpportunityCategory {
|
|
4
|
-
id: number;
|
|
5
|
-
subscription_id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
previous_category_id: number;
|
|
8
|
-
is_visible: boolean;
|
|
9
|
-
is_default: boolean;
|
|
10
|
-
previous_category: string;
|
|
11
|
-
}
|
|
12
|
-
export interface CrmOpportunityCategoryResponse {
|
|
13
|
-
crm_opportunity_categories: CrmOpportunityCategory[];
|
|
14
|
-
object_count: number;
|
|
15
|
-
unfiltered_count: number;
|
|
16
|
-
}
|
|
17
|
-
export interface CrmOpportunity {
|
|
18
|
-
currency: string;
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
crm_contact_id: number;
|
|
22
|
-
description: string;
|
|
23
|
-
one_time_amount: number;
|
|
24
|
-
win_chances: number;
|
|
25
|
-
starting_at: string;
|
|
26
|
-
lost: number;
|
|
27
|
-
won: number;
|
|
28
|
-
monthly_amount: number;
|
|
29
|
-
trial_start_at: string;
|
|
30
|
-
lost_reason: string;
|
|
31
|
-
won_reason: string;
|
|
32
|
-
product_id: number;
|
|
33
|
-
crm_account_id: number;
|
|
34
|
-
owner_id: number;
|
|
35
|
-
crm_opportunity_stage_id: number;
|
|
36
|
-
crm_opportunity_category_ids: string[];
|
|
37
|
-
feature_keys: string[];
|
|
38
|
-
crm_account: CrmAccount;
|
|
39
|
-
crm_opportunity_stage: CrmStage;
|
|
40
|
-
owner: string[];
|
|
41
|
-
crm_opportunity_categories: string[];
|
|
42
|
-
}
|
|
43
|
-
export interface CrmOpportunityResponse {
|
|
44
|
-
crm_opportunities: CrmOpportunity[];
|
|
45
|
-
object_count: number;
|
|
46
|
-
unfiltered_count: number;
|
|
47
|
-
totals?: {
|
|
48
|
-
expected_mrr_usd?: number;
|
|
49
|
-
total_mrr?: number;
|
|
50
|
-
total_one_time_amount?: number;
|
|
51
|
-
total_count?: number;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export interface CrmVersion {
|
|
55
|
-
item_id: number;
|
|
56
|
-
item_type: string;
|
|
57
|
-
event: string;
|
|
58
|
-
object: object;
|
|
59
|
-
created_at: string;
|
|
60
|
-
updated_at: string;
|
|
61
|
-
whoDoneIt: number;
|
|
62
|
-
author: object;
|
|
63
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface CrmStage {
|
|
2
|
-
id: number;
|
|
3
|
-
subscription_id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
previous_stage_id: number;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
is_default: boolean;
|
|
8
|
-
crm_opportunity_category_ids: number[];
|
|
9
|
-
}
|
|
10
|
-
export interface CrmStageResponse {
|
|
11
|
-
crm_opportunity_stages: CrmStage[];
|
|
12
|
-
object_count: number;
|
|
13
|
-
unfiltered_count: number;
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export interface CrmWidget {
|
|
2
|
-
id: number;
|
|
3
|
-
subscription_id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
position: string;
|
|
6
|
-
visible: false;
|
|
7
|
-
crm_widget_id: number;
|
|
8
|
-
owner_id: number;
|
|
9
|
-
}
|
|
10
|
-
export interface CrmWidgetResponse {
|
|
11
|
-
crm_widget_relationships: CrmWidget[];
|
|
12
|
-
object_count: number;
|
|
13
|
-
unfiltered_count: number;
|
|
14
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
export interface OpportunityData {
|
|
2
|
-
crm_contact_id?: number;
|
|
3
|
-
crm_contact?: {
|
|
4
|
-
first_name: string;
|
|
5
|
-
last_name: string;
|
|
6
|
-
displayName?: string;
|
|
7
|
-
};
|
|
8
|
-
crm_account_id?: number;
|
|
9
|
-
crm_account?: {
|
|
10
|
-
id: number;
|
|
11
|
-
name: string;
|
|
12
|
-
};
|
|
13
|
-
name: string;
|
|
14
|
-
monthly_amount?: number;
|
|
15
|
-
one_time_amount?: number;
|
|
16
|
-
id: number;
|
|
17
|
-
}
|
|
18
|
-
export interface OpportunityComment {
|
|
19
|
-
id: number;
|
|
20
|
-
when: string;
|
|
21
|
-
comment: string;
|
|
22
|
-
completed: boolean;
|
|
23
|
-
cancelled: boolean;
|
|
24
|
-
crm_account_id: number;
|
|
25
|
-
when_short_date?: string;
|
|
26
|
-
due?: string;
|
|
27
|
-
color?: boolean;
|
|
28
|
-
year?: string;
|
|
29
|
-
month?: string;
|
|
30
|
-
first_name: string;
|
|
31
|
-
}
|
|
32
|
-
export interface OpportunityContact {
|
|
33
|
-
id: number;
|
|
34
|
-
first_name: string;
|
|
35
|
-
last_name: string;
|
|
36
|
-
email: string;
|
|
37
|
-
displayName?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface CrmAction {
|
|
40
|
-
id: number;
|
|
41
|
-
visible: boolean;
|
|
42
|
-
}
|
|
43
|
-
export interface CrmVersion {
|
|
44
|
-
id: number;
|
|
45
|
-
name: string;
|
|
46
|
-
version: string;
|
|
47
|
-
}
|
|
48
|
-
export interface FilteredData {
|
|
49
|
-
id: number;
|
|
50
|
-
name: string;
|
|
51
|
-
}
|
|
52
|
-
export interface Subscription {
|
|
53
|
-
id: number;
|
|
54
|
-
[key: string]: number;
|
|
55
|
-
}
|
|
56
|
-
export interface OpportunityInsight {
|
|
57
|
-
title: string;
|
|
58
|
-
value: string;
|
|
59
|
-
reason: number;
|
|
60
|
-
}
|
|
61
|
-
export interface SmartCrmContact {
|
|
62
|
-
id: number;
|
|
63
|
-
first_name: string;
|
|
64
|
-
last_name: string;
|
|
65
|
-
email: string;
|
|
66
|
-
displayName: string;
|
|
67
|
-
crm_account?: CrmAccount;
|
|
68
|
-
}
|
|
69
|
-
export interface CrmAccount {
|
|
70
|
-
id: number;
|
|
71
|
-
name: string;
|
|
72
|
-
}
|
|
73
|
-
export interface CrmOpportunityContact {
|
|
74
|
-
id: number;
|
|
75
|
-
first_name: string;
|
|
76
|
-
last_name: string;
|
|
77
|
-
email: string;
|
|
78
|
-
last_logged_in_at?: string | null;
|
|
79
|
-
crm_account: CrmAccount;
|
|
80
|
-
crm_account_id: number;
|
|
81
|
-
displayName: string;
|
|
82
|
-
}
|
|
83
|
-
export interface CrmOpportunityData {
|
|
84
|
-
id: number;
|
|
85
|
-
starting_at: string;
|
|
86
|
-
trial_start_at: string;
|
|
87
|
-
one_time_amount: number;
|
|
88
|
-
monthly_amount: number;
|
|
89
|
-
crm_contact_id: number;
|
|
90
|
-
crm_account_id: number;
|
|
91
|
-
stage: string;
|
|
92
|
-
}
|
|
93
|
-
export interface OpportunityStage {
|
|
94
|
-
id: number;
|
|
95
|
-
name: string;
|
|
96
|
-
crm_opportunity_category_ids: number[];
|
|
97
|
-
}
|
|
98
|
-
export interface OpportunityCategory {
|
|
99
|
-
label: string;
|
|
100
|
-
value: number;
|
|
101
|
-
}
|
|
102
|
-
export interface FeatureKey {
|
|
103
|
-
label: string;
|
|
104
|
-
value: string;
|
|
105
|
-
}
|
|
106
|
-
export interface SubscriptionMember {
|
|
107
|
-
last_name?: string;
|
|
108
|
-
email?: string;
|
|
109
|
-
id: number;
|
|
110
|
-
first_name: string;
|
|
111
|
-
}
|
|
112
|
-
export interface AccountResponse {
|
|
113
|
-
id: number;
|
|
114
|
-
status: string[];
|
|
115
|
-
priority: string[];
|
|
116
|
-
source: string[];
|
|
117
|
-
}
|
|
118
|
-
export interface AccountDetailResponse {
|
|
119
|
-
id: number;
|
|
120
|
-
owner_id: number;
|
|
121
|
-
country: string;
|
|
122
|
-
}
|
|
123
|
-
export interface OrganizationIndustry {
|
|
124
|
-
id: number;
|
|
125
|
-
name: string;
|
|
126
|
-
}
|
|
127
|
-
export interface OrganizationSize {
|
|
128
|
-
id: number;
|
|
129
|
-
size: string;
|
|
130
|
-
}
|
|
131
|
-
export interface OrganizationType {
|
|
132
|
-
id: number;
|
|
133
|
-
name: string;
|
|
134
|
-
}
|
|
135
|
-
export interface SmartCrmAction {
|
|
136
|
-
id: number;
|
|
137
|
-
comment: string;
|
|
138
|
-
completed: boolean;
|
|
139
|
-
cancelled: boolean;
|
|
140
|
-
crm_account_id: number;
|
|
141
|
-
when: string;
|
|
142
|
-
owner_id: number;
|
|
143
|
-
visible: boolean | null;
|
|
144
|
-
}
|
|
145
|
-
export interface CrmOwner {
|
|
146
|
-
id: number;
|
|
147
|
-
first_name: string;
|
|
148
|
-
last_name: string;
|
|
149
|
-
email: string;
|
|
150
|
-
displayName?: string;
|
|
151
|
-
}
|
|
152
|
-
export interface FilteredCrmComment {
|
|
153
|
-
first_name?: string;
|
|
154
|
-
}
|
|
155
|
-
export interface UserAccount {
|
|
156
|
-
signed_up_at: string | null;
|
|
157
|
-
unsubscribed_at: string | null;
|
|
158
|
-
child_subscription_id: number | null;
|
|
159
|
-
}
|
|
160
|
-
export interface ContactAccountData {
|
|
161
|
-
id: number;
|
|
162
|
-
name: string;
|
|
163
|
-
location?: string;
|
|
164
|
-
tel?: string;
|
|
165
|
-
company_url?: string;
|
|
166
|
-
}
|
|
167
|
-
export interface TestContainerModel<T> {
|
|
168
|
-
id: string;
|
|
169
|
-
data: T[];
|
|
170
|
-
index: number;
|
|
171
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare class AppSmartCrm {
|
|
2
|
-
static getAccountsForm(): import("@angular/forms").UntypedFormGroup;
|
|
3
|
-
static getContactsForm(): import("@angular/forms").UntypedFormGroup;
|
|
4
|
-
static getLeadsForm(): import("@angular/forms").UntypedFormGroup;
|
|
5
|
-
static getMarketingForm(): import("@angular/forms").UntypedFormGroup;
|
|
6
|
-
static getOpportunitiesForm(descriptionRequired?: boolean): import("@angular/forms").UntypedFormGroup;
|
|
7
|
-
static getOpportunitiesInfoForm(): import("@angular/forms").UntypedFormGroup;
|
|
8
|
-
static getOpportunityCategoriesForm(): import("@angular/forms").UntypedFormGroup;
|
|
9
|
-
static getSettingsForm(): import("@angular/forms").UntypedFormGroup;
|
|
10
|
-
static getSourceForm(): import("@angular/forms").UntypedFormGroup;
|
|
11
|
-
static getStageForm(): import("@angular/forms").UntypedFormGroup;
|
|
12
|
-
static getWidgetForm(): import("@angular/forms").UntypedFormGroup;
|
|
13
|
-
static getAccountActionsForm(isDisabled: any): import("@angular/forms").UntypedFormGroup;
|
|
14
|
-
static getContactActionsForm(isDisabled: any): import("@angular/forms").UntypedFormGroup;
|
|
15
|
-
static getOpportunityActionsForm(isDisabled: any): import("@angular/forms").UntypedFormGroup;
|
|
16
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const ROUTERS: {
|
|
2
|
-
accounts: string;
|
|
3
|
-
contacts: string;
|
|
4
|
-
accountContacts: string;
|
|
5
|
-
accountInfo: string;
|
|
6
|
-
addAccount: string;
|
|
7
|
-
contactInfo: string;
|
|
8
|
-
contactAdd: string;
|
|
9
|
-
contactDetails: string;
|
|
10
|
-
opportunityAdd: string;
|
|
11
|
-
opportunities: string;
|
|
12
|
-
opportunityInfo: string;
|
|
13
|
-
configurationDetails: string;
|
|
14
|
-
configurations: string;
|
|
15
|
-
leadsDetails: string;
|
|
16
|
-
marketingDetails: string;
|
|
17
|
-
marketing: string;
|
|
18
|
-
categoryDetails: string;
|
|
19
|
-
sourceDetails: string;
|
|
20
|
-
stageDetails: string;
|
|
21
|
-
widgetsDetails: string;
|
|
22
|
-
};
|