@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
|
@@ -0,0 +1,2506 @@
|
|
|
1
|
+
import * as _angular_forms from '@angular/forms';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { OnInit, OnDestroy, Injector, ChangeDetectorRef, EventEmitter, AfterViewInit } from '@angular/core';
|
|
5
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
+
import { SubscriptionService, CommonService, GeoService, AuthService, LogoCacheService, ProductService } from '@posiwise/common-services';
|
|
7
|
+
import { User, Subscription, Country, Plotly, Paging, signedUpLastThirtyDays, activeOpportunities, Product } from '@posiwise/common-utilities';
|
|
8
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
9
|
+
import { SubscriptionMember as SubscriptionMember$1, OrganizationSize, OrganizationType, OrganizationIndustry, FilteredCrmComment, CrmOpportunityContact, CrmOwner, SmartCrmAction, FilteredData, OpportunityInsight as OpportunityInsight$1, OpportunityData, OpportunityContact, OpportunityComment } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
10
|
+
import * as rxjs from 'rxjs';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import * as i58 from 'ngx-uploader';
|
|
13
|
+
import { UploaderOptions, UploadInput, UploadFile, UploadOutput } from 'ngx-uploader';
|
|
14
|
+
import { LazyLoadEvent, MenuItem } from 'primeng/api';
|
|
15
|
+
import * as i48 from '@ng-bootstrap/ng-bootstrap';
|
|
16
|
+
import { NgbModal, NgbDateStruct, NgbCalendar } from '@ng-bootstrap/ng-bootstrap';
|
|
17
|
+
import { CrmAccount as CrmAccount$1 } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
|
|
18
|
+
import { CrmContact as CrmContact$1 } from 'libs/smart-crm/src/lib/shared/interface/crm-contact.interface';
|
|
19
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
20
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
21
|
+
import * as i56 from '@angular/cdk/drag-drop';
|
|
22
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
23
|
+
import * as i1 from '@angular/router';
|
|
24
|
+
import { ActivatedRoute } from '@angular/router';
|
|
25
|
+
import * as i43 from '@angular/common';
|
|
26
|
+
import * as i45 from 'ngx-pagination';
|
|
27
|
+
import * as i46 from '@posiwise/pipes';
|
|
28
|
+
import * as i47 from 'primeng/inputtext';
|
|
29
|
+
import * as i49 from 'ngx-ui-switch';
|
|
30
|
+
import * as i50 from '@posiwise/directives';
|
|
31
|
+
import * as i51 from 'angular-plotly.js';
|
|
32
|
+
import * as i52 from '@angular-magic/ngx-gp-autocomplete';
|
|
33
|
+
import * as i54 from '@posiwise/shared-components';
|
|
34
|
+
import * as i55 from '@posiwise/core-transloco';
|
|
35
|
+
import * as i57 from 'ngx-quill';
|
|
36
|
+
import * as i59 from 'ngx-infinite-scroll';
|
|
37
|
+
import * as i60 from 'primeng/select';
|
|
38
|
+
import * as i5 from '@posiwise/shared-product-components';
|
|
39
|
+
import * as i6 from '@posiwise/layouts';
|
|
40
|
+
import * as i7 from '@jsverse/transloco';
|
|
41
|
+
|
|
42
|
+
interface CrmAccount {
|
|
43
|
+
main_currency?: string;
|
|
44
|
+
id: number;
|
|
45
|
+
name: string;
|
|
46
|
+
description: string;
|
|
47
|
+
subscription_id: number;
|
|
48
|
+
location: string;
|
|
49
|
+
latitude: number;
|
|
50
|
+
longitude: number;
|
|
51
|
+
comment: string;
|
|
52
|
+
tel: string;
|
|
53
|
+
country: string;
|
|
54
|
+
owner_id: number;
|
|
55
|
+
organization_size_id: number;
|
|
56
|
+
organization_industry_id: number;
|
|
57
|
+
organization_type_id: number;
|
|
58
|
+
company_url: string;
|
|
59
|
+
status: string;
|
|
60
|
+
priority: string;
|
|
61
|
+
crm_source_id: number;
|
|
62
|
+
signed_up_at?: string | null;
|
|
63
|
+
last_logged_in_at?: string | null;
|
|
64
|
+
owner: Owner;
|
|
65
|
+
organisation_size: OrganisationSize;
|
|
66
|
+
organisation_type: OrganisationType;
|
|
67
|
+
organisation_industry: OrganisationIndustry;
|
|
68
|
+
subscription_products?: SubscriptionProduct[];
|
|
69
|
+
}
|
|
70
|
+
interface SubscriptionProduct {
|
|
71
|
+
id: number;
|
|
72
|
+
feature_key: string;
|
|
73
|
+
product_ids?: string | null;
|
|
74
|
+
}
|
|
75
|
+
interface OrganisationSize {
|
|
76
|
+
id: number;
|
|
77
|
+
size: string;
|
|
78
|
+
}
|
|
79
|
+
interface OrganisationType {
|
|
80
|
+
id: number;
|
|
81
|
+
type: string;
|
|
82
|
+
}
|
|
83
|
+
interface OrganisationIndustry {
|
|
84
|
+
id: number;
|
|
85
|
+
industry: string;
|
|
86
|
+
}
|
|
87
|
+
interface Owner {
|
|
88
|
+
id: number;
|
|
89
|
+
name: string;
|
|
90
|
+
email: string;
|
|
91
|
+
}
|
|
92
|
+
interface CrmAccountResponse {
|
|
93
|
+
accounts: CrmAccount[];
|
|
94
|
+
object_count: number;
|
|
95
|
+
unfiltered_count: number;
|
|
96
|
+
totals?: {
|
|
97
|
+
expected_mrr_usd?: number;
|
|
98
|
+
sessions_last_month?: number;
|
|
99
|
+
sessions_last_quarter?: number;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class SmartCrmCompanyDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
104
|
+
private readonly subscriptionService;
|
|
105
|
+
private readonly crmService;
|
|
106
|
+
private readonly commonService;
|
|
107
|
+
private readonly geoService;
|
|
108
|
+
private readonly cdr;
|
|
109
|
+
private countries$;
|
|
110
|
+
private countryNames;
|
|
111
|
+
form: UntypedFormGroup;
|
|
112
|
+
user: User;
|
|
113
|
+
subscription: Subscription;
|
|
114
|
+
subscriptionId: number;
|
|
115
|
+
id: number;
|
|
116
|
+
data: CrmAccount;
|
|
117
|
+
allSubscriptionMembers: SubscriptionMember$1[];
|
|
118
|
+
subscriptionMembers: [];
|
|
119
|
+
filteredOwners: SubscriptionMember$1[];
|
|
120
|
+
organizationSizes$: Observable<OrganizationSize[]>;
|
|
121
|
+
organizationTypes$: Observable<OrganizationType[]>;
|
|
122
|
+
organizationIndustries$: Observable<OrganizationIndustry[]>;
|
|
123
|
+
filteredCountries: Country[];
|
|
124
|
+
status: any[];
|
|
125
|
+
priority: any[];
|
|
126
|
+
source: any[];
|
|
127
|
+
hasAccess: boolean;
|
|
128
|
+
isLoading: boolean;
|
|
129
|
+
onEdit: boolean;
|
|
130
|
+
submitted: boolean;
|
|
131
|
+
buttonBusy: boolean;
|
|
132
|
+
constructor(injector: Injector, subscriptionService: SubscriptionService, crmService: CrmService, commonService: CommonService, geoService: GeoService, cdr: ChangeDetectorRef);
|
|
133
|
+
onSearchOwner(event: any): void;
|
|
134
|
+
ngOnInit(): void;
|
|
135
|
+
/** Function to call account default values */
|
|
136
|
+
private accountDefaultValues;
|
|
137
|
+
/** Function to get subscription members */
|
|
138
|
+
private getAllSubscriptionMembers;
|
|
139
|
+
private getUserInfo;
|
|
140
|
+
/** Function to get form controls */
|
|
141
|
+
get f(): {
|
|
142
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
143
|
+
};
|
|
144
|
+
/** Function to execute on form submit */
|
|
145
|
+
onSave(): void;
|
|
146
|
+
/** Function to execute on location select */
|
|
147
|
+
handleAddressChange(event: any): void;
|
|
148
|
+
/** Function to get account detail on edit form */
|
|
149
|
+
private getAccountDetail;
|
|
150
|
+
onSearchCountry(event: any): void;
|
|
151
|
+
ngOnDestroy(): void;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyDetailsComponent, never>;
|
|
153
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyDetailsComponent, "pw-company-details", never, {}, {}, never, never, false, never>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
declare class SmartCrmCompanyFilesComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
157
|
+
private readonly crmService;
|
|
158
|
+
private readonly modalService;
|
|
159
|
+
private readonly authService;
|
|
160
|
+
private readonly cdr;
|
|
161
|
+
accountId: number;
|
|
162
|
+
contactId: number;
|
|
163
|
+
opportunityId: number;
|
|
164
|
+
private page;
|
|
165
|
+
user: User;
|
|
166
|
+
userId: number;
|
|
167
|
+
subscription: Subscription;
|
|
168
|
+
hasAccess: boolean;
|
|
169
|
+
isLoaded: boolean;
|
|
170
|
+
loading: boolean;
|
|
171
|
+
searchText: string;
|
|
172
|
+
totalRecordsUnFiltered: number;
|
|
173
|
+
totalRecords: number;
|
|
174
|
+
options: UploaderOptions;
|
|
175
|
+
uploadInput: EventEmitter<UploadInput>;
|
|
176
|
+
files: UploadFile[];
|
|
177
|
+
allFiles: string[];
|
|
178
|
+
token: string;
|
|
179
|
+
dragOver: boolean;
|
|
180
|
+
Done: boolean;
|
|
181
|
+
routers: {
|
|
182
|
+
accounts: string;
|
|
183
|
+
contacts: string;
|
|
184
|
+
accountContacts: string;
|
|
185
|
+
accountInfo: string;
|
|
186
|
+
addAccount: string;
|
|
187
|
+
contactInfo: string;
|
|
188
|
+
contactAdd: string;
|
|
189
|
+
contactDetails: string;
|
|
190
|
+
opportunityAdd: string;
|
|
191
|
+
opportunities: string;
|
|
192
|
+
opportunityInfo: string;
|
|
193
|
+
configurationDetails: string;
|
|
194
|
+
configurations: string;
|
|
195
|
+
leadsDetails: string;
|
|
196
|
+
marketingDetails: string;
|
|
197
|
+
marketing: string;
|
|
198
|
+
categoryDetails: string;
|
|
199
|
+
sourceDetails: string;
|
|
200
|
+
stageDetails: string;
|
|
201
|
+
widgetsDetails: string;
|
|
202
|
+
};
|
|
203
|
+
constructor(injector: Injector, crmService: CrmService, modalService: NgbModal, authService: AuthService, cdr: ChangeDetectorRef);
|
|
204
|
+
ngOnInit(): void;
|
|
205
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
206
|
+
/** Function to get user details */
|
|
207
|
+
private getUserInfo;
|
|
208
|
+
/** Function to get all account files */
|
|
209
|
+
private getAllFiles;
|
|
210
|
+
/** Function to delete file */
|
|
211
|
+
onDelete(id: number): void;
|
|
212
|
+
openModal(content: any): void;
|
|
213
|
+
onClose(): void;
|
|
214
|
+
onUploadOutput(output: UploadOutput): void;
|
|
215
|
+
ngOnDestroy(): void;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyFilesComponent, never>;
|
|
217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyFilesComponent, "pw-smart-crm-company-files", never, { "accountId": { "alias": "accountId"; "required": false; }; "contactId": { "alias": "contactId"; "required": false; }; "opportunityId": { "alias": "opportunityId"; "required": false; }; }, {}, never, never, false, never>;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface SubscriptionMember {
|
|
221
|
+
id: number;
|
|
222
|
+
first_name: string;
|
|
223
|
+
last_name: string;
|
|
224
|
+
email: string;
|
|
225
|
+
}
|
|
226
|
+
declare class SmartCrmCompanyInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
227
|
+
private readonly crmService;
|
|
228
|
+
private readonly subscriptionService;
|
|
229
|
+
private readonly geoService;
|
|
230
|
+
private readonly commonService;
|
|
231
|
+
private readonly modalService;
|
|
232
|
+
private readonly authService;
|
|
233
|
+
private readonly cdr;
|
|
234
|
+
private readonly logoCacheService;
|
|
235
|
+
private readonly document;
|
|
236
|
+
private page;
|
|
237
|
+
private totalContacts;
|
|
238
|
+
private isContactValid;
|
|
239
|
+
subscription: Subscription;
|
|
240
|
+
subscriptionId: number;
|
|
241
|
+
actionControls: UntypedFormGroup;
|
|
242
|
+
aboutControls: UntypedFormGroup;
|
|
243
|
+
user: User;
|
|
244
|
+
userId: number;
|
|
245
|
+
accountId: number;
|
|
246
|
+
contactId: number;
|
|
247
|
+
data: CrmAccount$1;
|
|
248
|
+
allSubscriptionMembers: SubscriptionMember[];
|
|
249
|
+
filteredOwner: SubscriptionMember[];
|
|
250
|
+
filteredContact: {
|
|
251
|
+
displayName: string;
|
|
252
|
+
}[];
|
|
253
|
+
filteredContactComment: FilteredCrmComment[];
|
|
254
|
+
contacts: CrmOpportunityContact[];
|
|
255
|
+
owner: CrmOwner;
|
|
256
|
+
actions: SmartCrmAction[];
|
|
257
|
+
accountComments: any[];
|
|
258
|
+
accountVersioning: string[];
|
|
259
|
+
organizationSizes$: Observable<OrganizationSize[]>;
|
|
260
|
+
organizationIndustries$: Observable<OrganizationIndustry[]>;
|
|
261
|
+
organizationTypes$: Observable<OrganizationType[]>;
|
|
262
|
+
countries$: Observable<Country[]>;
|
|
263
|
+
status: string[];
|
|
264
|
+
priority: FilteredData[];
|
|
265
|
+
source: FilteredData[];
|
|
266
|
+
potential: string[];
|
|
267
|
+
filterByPotentials: string;
|
|
268
|
+
options: UploaderOptions;
|
|
269
|
+
uploadInput: EventEmitter<UploadInput>;
|
|
270
|
+
files: UploadFile[];
|
|
271
|
+
token: string;
|
|
272
|
+
selector: string;
|
|
273
|
+
searchText: string;
|
|
274
|
+
totalRecords: number;
|
|
275
|
+
totalRecordsUnFiltered: number;
|
|
276
|
+
currentPage: number;
|
|
277
|
+
actionId: number;
|
|
278
|
+
commentId: number;
|
|
279
|
+
hasAccess: boolean;
|
|
280
|
+
isDataLoaded: boolean;
|
|
281
|
+
isLoaded: boolean;
|
|
282
|
+
loading: boolean;
|
|
283
|
+
isFormEdit: boolean;
|
|
284
|
+
submitted: boolean;
|
|
285
|
+
editComment: boolean;
|
|
286
|
+
showFullComment: boolean;
|
|
287
|
+
submitAction: boolean;
|
|
288
|
+
buttonDisable: boolean;
|
|
289
|
+
isDisabled: boolean;
|
|
290
|
+
buttonBusy: boolean;
|
|
291
|
+
dangerColor: boolean;
|
|
292
|
+
updating: boolean;
|
|
293
|
+
dragOver: boolean;
|
|
294
|
+
Done: boolean;
|
|
295
|
+
direction: string;
|
|
296
|
+
routers: {
|
|
297
|
+
accounts: string;
|
|
298
|
+
contacts: string;
|
|
299
|
+
accountContacts: string;
|
|
300
|
+
accountInfo: string;
|
|
301
|
+
addAccount: string;
|
|
302
|
+
contactInfo: string;
|
|
303
|
+
contactAdd: string;
|
|
304
|
+
contactDetails: string;
|
|
305
|
+
opportunityAdd: string;
|
|
306
|
+
opportunities: string;
|
|
307
|
+
opportunityInfo: string;
|
|
308
|
+
configurationDetails: string;
|
|
309
|
+
configurations: string;
|
|
310
|
+
leadsDetails: string;
|
|
311
|
+
marketingDetails: string;
|
|
312
|
+
marketing: string;
|
|
313
|
+
categoryDetails: string;
|
|
314
|
+
sourceDetails: string;
|
|
315
|
+
stageDetails: string;
|
|
316
|
+
widgetsDetails: string;
|
|
317
|
+
};
|
|
318
|
+
canViewContactsTab(): boolean;
|
|
319
|
+
lastSeenAtTextClass(value?: string | null): string;
|
|
320
|
+
constructor(injector: Injector, crmService: CrmService, subscriptionService: SubscriptionService, geoService: GeoService, commonService: CommonService, modalService: NgbModal, authService: AuthService, cdr: ChangeDetectorRef, logoCacheService: LogoCacheService, document: Document);
|
|
321
|
+
ngOnInit(): void;
|
|
322
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
323
|
+
/** Function to call account default values */
|
|
324
|
+
private accountDefaultValues;
|
|
325
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
326
|
+
/** Function to call account by ID */
|
|
327
|
+
getAccountDetails(): void;
|
|
328
|
+
get f(): {
|
|
329
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
330
|
+
};
|
|
331
|
+
updateAccountInfo(): void;
|
|
332
|
+
onScrollTimeline(): void;
|
|
333
|
+
/** Function to save comment */
|
|
334
|
+
onSave(): void;
|
|
335
|
+
showDatePicker(event: any, id: any): void;
|
|
336
|
+
/** Function to get comments */
|
|
337
|
+
private getAllComments;
|
|
338
|
+
/** Function to update comment */
|
|
339
|
+
updateComment(item: any): void;
|
|
340
|
+
/** Function to execute on location select */
|
|
341
|
+
handleAddressChange(event: any): void;
|
|
342
|
+
/** Function to get subscription members */
|
|
343
|
+
getAllSubscriptionMembers(): void;
|
|
344
|
+
/** Function to show edit comment section */
|
|
345
|
+
showEditControls(event: any, action: any): void;
|
|
346
|
+
/** Function to get and show all the actions */
|
|
347
|
+
getActions(): void;
|
|
348
|
+
/** Function to set the action as completed */
|
|
349
|
+
setAsCompletedOrUncompleted(id: number, action: any, completedOrUncompleted: boolean): Promise<void>;
|
|
350
|
+
/** Function to set the action as cancelled */
|
|
351
|
+
setAsCancelled(id: number, action: any): Promise<void>;
|
|
352
|
+
/** Function to update the date */
|
|
353
|
+
onDateSelect(event: any, action: any): void;
|
|
354
|
+
/** Function to show DatePicker */
|
|
355
|
+
showDatePickerUpdate(actionId: any): void;
|
|
356
|
+
/** Function to get the contacts related to account */
|
|
357
|
+
private getAccountContacts;
|
|
358
|
+
/** Function when auto-complete dropdown selected */
|
|
359
|
+
onDropdownClick(): void;
|
|
360
|
+
/** search owner */
|
|
361
|
+
search(event: any): void;
|
|
362
|
+
searchContact(event: any): void;
|
|
363
|
+
selectContact(event: any): void;
|
|
364
|
+
OnContactBlur(): void;
|
|
365
|
+
searchContactInComment(event: any): void;
|
|
366
|
+
selectCommentContact(event: any): void;
|
|
367
|
+
/** Function to delete contact */
|
|
368
|
+
onDeleteContact(id: number): void;
|
|
369
|
+
/** Function to get contact versions */
|
|
370
|
+
private getContactVersion;
|
|
371
|
+
openModal(content: any): void;
|
|
372
|
+
onClose(): void;
|
|
373
|
+
onUploadOutput(output: UploadOutput): void;
|
|
374
|
+
getAccountLogo(url: string): string;
|
|
375
|
+
navigateToAddOpportunities(): void;
|
|
376
|
+
ngOnDestroy(): void;
|
|
377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyInfoComponent, never>;
|
|
378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyInfoComponent, "pw-smart-crm-company-info", never, {}, {}, never, never, false, never>;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
interface OpportunityInsight {
|
|
382
|
+
title: string;
|
|
383
|
+
value: string;
|
|
384
|
+
reason: number;
|
|
385
|
+
}
|
|
386
|
+
interface OpportunityCategory {
|
|
387
|
+
label: string;
|
|
388
|
+
value: number;
|
|
389
|
+
}
|
|
390
|
+
interface UserAccount {
|
|
391
|
+
signed_up_at: string | null;
|
|
392
|
+
unsubscribed_at: string | null;
|
|
393
|
+
child_subscription_id: number | null;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
declare class SmartCrmCompaniesComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
397
|
+
private readonly crmService;
|
|
398
|
+
private readonly commonService;
|
|
399
|
+
private readonly logoCacheService;
|
|
400
|
+
private readonly cdr;
|
|
401
|
+
private page;
|
|
402
|
+
private allIndustries;
|
|
403
|
+
private filterByLocation;
|
|
404
|
+
data: CrmAccountResponse;
|
|
405
|
+
totals: {
|
|
406
|
+
total_mrr: number;
|
|
407
|
+
sessions_last_month: number;
|
|
408
|
+
sessions_last_quarter: number;
|
|
409
|
+
};
|
|
410
|
+
subscription: Subscription;
|
|
411
|
+
subscriptionId: number;
|
|
412
|
+
userId: number;
|
|
413
|
+
organizationSizes: any[];
|
|
414
|
+
searchOptions: OpportunityCategory[];
|
|
415
|
+
filterByIndustries: any[];
|
|
416
|
+
status: any[];
|
|
417
|
+
priority: any[];
|
|
418
|
+
source: any[];
|
|
419
|
+
filterBySource: any[];
|
|
420
|
+
filterByStatus: any[];
|
|
421
|
+
filterByPriority: any[];
|
|
422
|
+
filterBySizeId: any[];
|
|
423
|
+
searchText: string;
|
|
424
|
+
searchLocationText: string;
|
|
425
|
+
accountGeography: Plotly.Figure;
|
|
426
|
+
accountActivities: any[];
|
|
427
|
+
loading: boolean;
|
|
428
|
+
hasAccess: boolean;
|
|
429
|
+
canViewMrr: boolean;
|
|
430
|
+
isLoaded: boolean;
|
|
431
|
+
routers: {
|
|
432
|
+
accounts: string;
|
|
433
|
+
contacts: string;
|
|
434
|
+
accountContacts: string;
|
|
435
|
+
accountInfo: string;
|
|
436
|
+
addAccount: string;
|
|
437
|
+
contactInfo: string;
|
|
438
|
+
contactAdd: string;
|
|
439
|
+
contactDetails: string;
|
|
440
|
+
opportunityAdd: string;
|
|
441
|
+
opportunities: string;
|
|
442
|
+
opportunityInfo: string;
|
|
443
|
+
configurationDetails: string;
|
|
444
|
+
configurations: string;
|
|
445
|
+
leadsDetails: string;
|
|
446
|
+
marketingDetails: string;
|
|
447
|
+
marketing: string;
|
|
448
|
+
categoryDetails: string;
|
|
449
|
+
sourceDetails: string;
|
|
450
|
+
stageDetails: string;
|
|
451
|
+
widgetsDetails: string;
|
|
452
|
+
};
|
|
453
|
+
actionNames: any[];
|
|
454
|
+
productFeatureKeys: any[];
|
|
455
|
+
lastSeenAtTextClass(value?: string | null): string;
|
|
456
|
+
constructor(crmService: CrmService, commonService: CommonService, logoCacheService: LogoCacheService, injector: Injector, cdr: ChangeDetectorRef);
|
|
457
|
+
ngOnInit(): void;
|
|
458
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
459
|
+
/** Function to get user details */
|
|
460
|
+
private getUserInfo;
|
|
461
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
462
|
+
/** Function to call account default values */
|
|
463
|
+
private accountDefaultValues;
|
|
464
|
+
/** Function to get the accounts list */
|
|
465
|
+
private getAllAccounts;
|
|
466
|
+
private getProductFeatureKeys;
|
|
467
|
+
/** Function to call accounts size */
|
|
468
|
+
private getAllOrganizationSize;
|
|
469
|
+
/** Function to get organization industries */
|
|
470
|
+
private getIndustries;
|
|
471
|
+
/** Function to execute on delete button click */
|
|
472
|
+
onDelete(id: number, subscription_id: number): void;
|
|
473
|
+
/** filtering accounts */
|
|
474
|
+
onSearchOptionChange(event: any, filterBy: string): void;
|
|
475
|
+
/** Function to execute on location select */
|
|
476
|
+
handleAddressChange(event: any): void;
|
|
477
|
+
/** Location filter while keyup */
|
|
478
|
+
locationSearch(event: any): void;
|
|
479
|
+
/** Function to clear all filters */
|
|
480
|
+
clearFilters(): void;
|
|
481
|
+
/** Function to call account geography */
|
|
482
|
+
private getAccountGeography;
|
|
483
|
+
getUserAccountInfo(account: UserAccount): {
|
|
484
|
+
message: string;
|
|
485
|
+
iconClass: string;
|
|
486
|
+
};
|
|
487
|
+
/** Function to call account activities */
|
|
488
|
+
private getAccountActivities;
|
|
489
|
+
getCountryFromLocation(location: string): string;
|
|
490
|
+
getAccountLogo(url: string): string;
|
|
491
|
+
getMainCurrency(): string;
|
|
492
|
+
ngOnDestroy(): void;
|
|
493
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompaniesComponent, never>;
|
|
494
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompaniesComponent, "pw-smart-crm-companies", never, {}, {}, never, never, false, never>;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
declare class SmartCrmCompetitionComponent {
|
|
498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompetitionComponent, never>;
|
|
499
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompetitionComponent, "pw-smart-crm-competition", never, {}, {}, never, never, false, never>;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
interface CrmAction {
|
|
503
|
+
id: number;
|
|
504
|
+
name: string;
|
|
505
|
+
subscription_id: number;
|
|
506
|
+
target_week_min: number;
|
|
507
|
+
target_week: number;
|
|
508
|
+
visible: boolean;
|
|
509
|
+
previous_action_id: number;
|
|
510
|
+
contact_required: boolean;
|
|
511
|
+
}
|
|
512
|
+
interface CrmActionResponse {
|
|
513
|
+
crm_actions: CrmAction[];
|
|
514
|
+
object_count: number;
|
|
515
|
+
unfiltered_count: number;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
declare class SmartCrmSettingsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
519
|
+
private readonly crmService;
|
|
520
|
+
private readonly cdr;
|
|
521
|
+
form: UntypedFormGroup;
|
|
522
|
+
id: number;
|
|
523
|
+
subscriptionId: number;
|
|
524
|
+
user: User;
|
|
525
|
+
data: CrmAction;
|
|
526
|
+
subscription: Subscription;
|
|
527
|
+
actions$: Observable<string>;
|
|
528
|
+
targetWeek: any[];
|
|
529
|
+
targetWeekMin: any[];
|
|
530
|
+
submitted: boolean;
|
|
531
|
+
buttonBusy: boolean;
|
|
532
|
+
isLoading: boolean;
|
|
533
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
534
|
+
ngOnInit(): void;
|
|
535
|
+
/** Function to get form controls */
|
|
536
|
+
get f(): {
|
|
537
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
538
|
+
};
|
|
539
|
+
/** Function to get action details on edit form */
|
|
540
|
+
private getActionDetails;
|
|
541
|
+
/** Function to update existing action */
|
|
542
|
+
onSave(): void;
|
|
543
|
+
onChange(event: any): void;
|
|
544
|
+
ngOnDestroy(): void;
|
|
545
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSettingsDetailsComponent, never>;
|
|
546
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSettingsDetailsComponent, "pw-smart-crm-settings-details", never, {}, {}, never, never, false, never>;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare class SmartCrmActionsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
550
|
+
private readonly crmService;
|
|
551
|
+
private readonly cdr;
|
|
552
|
+
private page;
|
|
553
|
+
data: CrmActionResponse;
|
|
554
|
+
subscription: Subscription;
|
|
555
|
+
subscriptionId: number;
|
|
556
|
+
userId: number;
|
|
557
|
+
searchText: string;
|
|
558
|
+
loading: boolean;
|
|
559
|
+
hasAccess: boolean;
|
|
560
|
+
isLoaded: boolean;
|
|
561
|
+
routers: {
|
|
562
|
+
accounts: string;
|
|
563
|
+
contacts: string;
|
|
564
|
+
accountContacts: string;
|
|
565
|
+
accountInfo: string;
|
|
566
|
+
addAccount: string;
|
|
567
|
+
contactInfo: string;
|
|
568
|
+
contactAdd: string;
|
|
569
|
+
contactDetails: string;
|
|
570
|
+
opportunityAdd: string;
|
|
571
|
+
opportunities: string;
|
|
572
|
+
opportunityInfo: string;
|
|
573
|
+
configurationDetails: string;
|
|
574
|
+
configurations: string;
|
|
575
|
+
leadsDetails: string;
|
|
576
|
+
marketingDetails: string;
|
|
577
|
+
marketing: string;
|
|
578
|
+
categoryDetails: string;
|
|
579
|
+
sourceDetails: string;
|
|
580
|
+
stageDetails: string;
|
|
581
|
+
widgetsDetails: string;
|
|
582
|
+
};
|
|
583
|
+
actionNames: string[];
|
|
584
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
585
|
+
ngOnInit(): void;
|
|
586
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
587
|
+
shouldShowTableContent(): boolean;
|
|
588
|
+
/** Function to get and show all the actions */
|
|
589
|
+
private getActions;
|
|
590
|
+
getActionName(id: number): string;
|
|
591
|
+
invokeGetActions(paging: Paging): void;
|
|
592
|
+
buildDefaultActions(): void;
|
|
593
|
+
/** Function to delete existing setting */
|
|
594
|
+
onDelete(id: number): void;
|
|
595
|
+
ngOnDestroy(): void;
|
|
596
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmActionsComponent, never>;
|
|
597
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmActionsComponent, "pw-smart-crm-actions", never, {}, {}, never, never, false, never>;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare class SmartCrmConfigurationComponent extends AppBaseComponent implements OnInit {
|
|
601
|
+
private readonly cdr;
|
|
602
|
+
activeTab: string;
|
|
603
|
+
constructor(injector: Injector, cdr: ChangeDetectorRef);
|
|
604
|
+
ngOnInit(): void;
|
|
605
|
+
onTabChange(event: any): void;
|
|
606
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmConfigurationComponent, never>;
|
|
607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmConfigurationComponent, "pw-configuration", never, {}, {}, never, never, false, never>;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
interface CrmStage {
|
|
611
|
+
id: number;
|
|
612
|
+
subscription_id: number;
|
|
613
|
+
name: string;
|
|
614
|
+
previous_stage_id: number;
|
|
615
|
+
visible: boolean;
|
|
616
|
+
is_default: boolean;
|
|
617
|
+
crm_opportunity_category_ids: number[];
|
|
618
|
+
}
|
|
619
|
+
interface CrmStageResponse {
|
|
620
|
+
crm_opportunity_stages: CrmStage[];
|
|
621
|
+
object_count: number;
|
|
622
|
+
unfiltered_count: number;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
interface CrmOpportunityCategory {
|
|
626
|
+
id: number;
|
|
627
|
+
subscription_id: number;
|
|
628
|
+
name: string;
|
|
629
|
+
previous_category_id: number;
|
|
630
|
+
is_visible: boolean;
|
|
631
|
+
is_default: boolean;
|
|
632
|
+
previous_category: string;
|
|
633
|
+
}
|
|
634
|
+
interface CrmOpportunityCategoryResponse {
|
|
635
|
+
crm_opportunity_categories: CrmOpportunityCategory[];
|
|
636
|
+
object_count: number;
|
|
637
|
+
unfiltered_count: number;
|
|
638
|
+
}
|
|
639
|
+
interface CrmOpportunity {
|
|
640
|
+
currency: string;
|
|
641
|
+
id: number;
|
|
642
|
+
title: string;
|
|
643
|
+
crm_contact_id: number;
|
|
644
|
+
description: string;
|
|
645
|
+
one_time_amount: number;
|
|
646
|
+
win_chances: number;
|
|
647
|
+
starting_at: string;
|
|
648
|
+
lost: number;
|
|
649
|
+
won: number;
|
|
650
|
+
monthly_amount: number;
|
|
651
|
+
trial_start_at: string;
|
|
652
|
+
lost_reason: string;
|
|
653
|
+
won_reason: string;
|
|
654
|
+
product_id: number;
|
|
655
|
+
crm_account_id: number;
|
|
656
|
+
owner_id: number;
|
|
657
|
+
crm_opportunity_stage_id: number;
|
|
658
|
+
crm_opportunity_category_ids: string[];
|
|
659
|
+
feature_keys: string[];
|
|
660
|
+
crm_account: CrmAccount;
|
|
661
|
+
crm_opportunity_stage: CrmStage;
|
|
662
|
+
owner: string[];
|
|
663
|
+
crm_opportunity_categories: string[];
|
|
664
|
+
}
|
|
665
|
+
interface CrmOpportunityResponse {
|
|
666
|
+
crm_opportunities: CrmOpportunity[];
|
|
667
|
+
object_count: number;
|
|
668
|
+
unfiltered_count: number;
|
|
669
|
+
totals?: {
|
|
670
|
+
expected_mrr_usd?: number;
|
|
671
|
+
total_mrr?: number;
|
|
672
|
+
total_one_time_amount?: number;
|
|
673
|
+
total_count?: number;
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
interface CrmVersion {
|
|
677
|
+
item_id: number;
|
|
678
|
+
item_type: string;
|
|
679
|
+
event: string;
|
|
680
|
+
object: object;
|
|
681
|
+
created_at: string;
|
|
682
|
+
updated_at: string;
|
|
683
|
+
whoDoneIt: number;
|
|
684
|
+
author: object;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
declare class SmartCrmOpportunityCategoriesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
688
|
+
private readonly crmService;
|
|
689
|
+
private readonly cdr;
|
|
690
|
+
form: UntypedFormGroup;
|
|
691
|
+
id: number;
|
|
692
|
+
subscriptionId: number;
|
|
693
|
+
data: CrmOpportunityCategory;
|
|
694
|
+
categories$: Observable<string>;
|
|
695
|
+
submitted: boolean;
|
|
696
|
+
buttonBusy: boolean;
|
|
697
|
+
isLoading: boolean;
|
|
698
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
699
|
+
ngOnInit(): void;
|
|
700
|
+
/** Function to get opportunity Details */
|
|
701
|
+
private getOpportunityDetails;
|
|
702
|
+
/** Function to get form controls */
|
|
703
|
+
get f(): {
|
|
704
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
705
|
+
};
|
|
706
|
+
/** on submit the form */
|
|
707
|
+
onSave(): void;
|
|
708
|
+
ngOnDestroy(): void;
|
|
709
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunityCategoriesDetailsComponent, never>;
|
|
710
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunityCategoriesDetailsComponent, "pw-smart-crm-opportunity-categories-details", never, {}, {}, never, never, false, never>;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
declare class SmartCrmOpportunityCategoriesComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
714
|
+
private readonly crmService;
|
|
715
|
+
private readonly cdr;
|
|
716
|
+
private page;
|
|
717
|
+
data: CrmOpportunityCategoryResponse;
|
|
718
|
+
subscription: Subscription;
|
|
719
|
+
subscriptionId: number;
|
|
720
|
+
user: User;
|
|
721
|
+
categoryNames: any[];
|
|
722
|
+
searchText: string;
|
|
723
|
+
loading: boolean;
|
|
724
|
+
hasAccess: boolean;
|
|
725
|
+
isLoaded: boolean;
|
|
726
|
+
routers: {
|
|
727
|
+
accounts: string;
|
|
728
|
+
contacts: string;
|
|
729
|
+
accountContacts: string;
|
|
730
|
+
accountInfo: string;
|
|
731
|
+
addAccount: string;
|
|
732
|
+
contactInfo: string;
|
|
733
|
+
contactAdd: string;
|
|
734
|
+
contactDetails: string;
|
|
735
|
+
opportunityAdd: string;
|
|
736
|
+
opportunities: string;
|
|
737
|
+
opportunityInfo: string;
|
|
738
|
+
configurationDetails: string;
|
|
739
|
+
configurations: string;
|
|
740
|
+
leadsDetails: string;
|
|
741
|
+
marketingDetails: string;
|
|
742
|
+
marketing: string;
|
|
743
|
+
categoryDetails: string;
|
|
744
|
+
sourceDetails: string;
|
|
745
|
+
stageDetails: string;
|
|
746
|
+
widgetsDetails: string;
|
|
747
|
+
};
|
|
748
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
749
|
+
ngOnInit(): void;
|
|
750
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
751
|
+
/** Function to get all categories */
|
|
752
|
+
private getAllOpportunityCategories;
|
|
753
|
+
invokeGetAllOpportunityCategories(paging: Paging): void;
|
|
754
|
+
/** Function to delete categories */
|
|
755
|
+
onDelete(id: number): void;
|
|
756
|
+
buildCategories(): void;
|
|
757
|
+
ngOnDestroy(): void;
|
|
758
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunityCategoriesComponent, never>;
|
|
759
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunityCategoriesComponent, "pw-smart-crm-opportunity-categories", never, {}, {}, never, never, false, never>;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface CrmSource {
|
|
763
|
+
id: number;
|
|
764
|
+
name: string;
|
|
765
|
+
is_default: boolean;
|
|
766
|
+
subscription_id: number;
|
|
767
|
+
}
|
|
768
|
+
interface CrmSourceResponse {
|
|
769
|
+
crm_sources: CrmSource[];
|
|
770
|
+
object_count: number;
|
|
771
|
+
unfiltered_count: number;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
declare class SmartCrmSourceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
775
|
+
private readonly crmService;
|
|
776
|
+
private readonly cdr;
|
|
777
|
+
subscriptionId: number;
|
|
778
|
+
submitted: boolean;
|
|
779
|
+
buttonBusy: boolean;
|
|
780
|
+
isLoading: boolean;
|
|
781
|
+
sourceForm: UntypedFormGroup;
|
|
782
|
+
data: CrmSource;
|
|
783
|
+
sourceId: number;
|
|
784
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
785
|
+
ngOnInit(): void;
|
|
786
|
+
/** Function to get source details */
|
|
787
|
+
private getSourceDetails;
|
|
788
|
+
onSave(): void;
|
|
789
|
+
/** Function to get form controls */
|
|
790
|
+
get f(): {
|
|
791
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
792
|
+
};
|
|
793
|
+
ngOnDestroy(): void;
|
|
794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSourceDetailsComponent, never>;
|
|
795
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSourceDetailsComponent, "pw-smart-crm-source-details", never, {}, {}, never, never, false, never>;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
declare class SmartCrmCompanySourceComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
799
|
+
private readonly crmService;
|
|
800
|
+
private readonly cdr;
|
|
801
|
+
private page;
|
|
802
|
+
data: CrmSourceResponse;
|
|
803
|
+
subscription: Subscription;
|
|
804
|
+
subscriptionId: number;
|
|
805
|
+
searchText: string;
|
|
806
|
+
loading: boolean;
|
|
807
|
+
hasAccess: boolean;
|
|
808
|
+
isLoaded: boolean;
|
|
809
|
+
routers: {
|
|
810
|
+
accounts: string;
|
|
811
|
+
contacts: string;
|
|
812
|
+
accountContacts: string;
|
|
813
|
+
accountInfo: string;
|
|
814
|
+
addAccount: string;
|
|
815
|
+
contactInfo: string;
|
|
816
|
+
contactAdd: string;
|
|
817
|
+
contactDetails: string;
|
|
818
|
+
opportunityAdd: string;
|
|
819
|
+
opportunities: string;
|
|
820
|
+
opportunityInfo: string;
|
|
821
|
+
configurationDetails: string;
|
|
822
|
+
configurations: string;
|
|
823
|
+
leadsDetails: string;
|
|
824
|
+
marketingDetails: string;
|
|
825
|
+
marketing: string;
|
|
826
|
+
categoryDetails: string;
|
|
827
|
+
sourceDetails: string;
|
|
828
|
+
stageDetails: string;
|
|
829
|
+
widgetsDetails: string;
|
|
830
|
+
};
|
|
831
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
832
|
+
ngOnInit(): void;
|
|
833
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
834
|
+
/** Function to all account source */
|
|
835
|
+
getAllSource(paging: Paging): void;
|
|
836
|
+
buildAccountSource(): void;
|
|
837
|
+
/** Function to delete account source */
|
|
838
|
+
onDelete(id: any): void;
|
|
839
|
+
ngOnDestroy(): void;
|
|
840
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanySourceComponent, never>;
|
|
841
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanySourceComponent, "pw-smart-crm-source", never, {}, {}, never, never, false, never>;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
declare class SmartCrmStageDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
845
|
+
private readonly crmService;
|
|
846
|
+
private readonly cdr;
|
|
847
|
+
form: UntypedFormGroup;
|
|
848
|
+
id: number;
|
|
849
|
+
subscriptionId: number;
|
|
850
|
+
data: CrmStage;
|
|
851
|
+
stages$: Observable<string>;
|
|
852
|
+
categories: any[];
|
|
853
|
+
hasAccess: boolean;
|
|
854
|
+
submitted: boolean;
|
|
855
|
+
buttonBusy: boolean;
|
|
856
|
+
isLoading: boolean;
|
|
857
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
858
|
+
ngOnInit(): void;
|
|
859
|
+
/** Function to get stage tDetails */
|
|
860
|
+
private getStageDetails;
|
|
861
|
+
/** Function to get form controls */
|
|
862
|
+
get f(): {
|
|
863
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
864
|
+
};
|
|
865
|
+
onSave(): void;
|
|
866
|
+
/** Function to get all categories */
|
|
867
|
+
private getAllOpportunityCategories;
|
|
868
|
+
ngOnDestroy(): void;
|
|
869
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmStageDetailsComponent, never>;
|
|
870
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmStageDetailsComponent, "pw-smart-crm-stage-details", never, {}, {}, never, never, false, never>;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare class SmartCrmStagesComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
874
|
+
private readonly crmService;
|
|
875
|
+
private readonly cdr;
|
|
876
|
+
private page;
|
|
877
|
+
data: CrmStageResponse;
|
|
878
|
+
subscription: Subscription;
|
|
879
|
+
subscriptionId: number;
|
|
880
|
+
filterByCategory: any[];
|
|
881
|
+
stageNames: any[];
|
|
882
|
+
categories: any[];
|
|
883
|
+
availableCategories: any[];
|
|
884
|
+
searchText: string;
|
|
885
|
+
loading: boolean;
|
|
886
|
+
hasAccess: boolean;
|
|
887
|
+
isLoaded: boolean;
|
|
888
|
+
routers: {
|
|
889
|
+
accounts: string;
|
|
890
|
+
contacts: string;
|
|
891
|
+
accountContacts: string;
|
|
892
|
+
accountInfo: string;
|
|
893
|
+
addAccount: string;
|
|
894
|
+
contactInfo: string;
|
|
895
|
+
contactAdd: string;
|
|
896
|
+
contactDetails: string;
|
|
897
|
+
opportunityAdd: string;
|
|
898
|
+
opportunities: string;
|
|
899
|
+
opportunityInfo: string;
|
|
900
|
+
configurationDetails: string;
|
|
901
|
+
configurations: string;
|
|
902
|
+
leadsDetails: string;
|
|
903
|
+
marketingDetails: string;
|
|
904
|
+
marketing: string;
|
|
905
|
+
categoryDetails: string;
|
|
906
|
+
sourceDetails: string;
|
|
907
|
+
stageDetails: string;
|
|
908
|
+
widgetsDetails: string;
|
|
909
|
+
};
|
|
910
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
911
|
+
ngOnInit(): void;
|
|
912
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
913
|
+
/** Function to get all stages */
|
|
914
|
+
getAllStages(paging: Paging): void;
|
|
915
|
+
getMappedAllStages(paging: Paging): void;
|
|
916
|
+
private sortByPreviousStageId;
|
|
917
|
+
buildDefaultStages(): void;
|
|
918
|
+
/** Function to delete stage */
|
|
919
|
+
onDelete(id: number): void;
|
|
920
|
+
/** Function to get all categories */
|
|
921
|
+
private getAllOpportunityCategories;
|
|
922
|
+
onSearchOptionChange(event: any): void;
|
|
923
|
+
ngOnDestroy(): void;
|
|
924
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmStagesComponent, never>;
|
|
925
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmStagesComponent, "pw-smart-crm-stages", never, {}, {}, never, never, false, never>;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
interface CrmWidget {
|
|
929
|
+
id: number;
|
|
930
|
+
subscription_id: number;
|
|
931
|
+
name: string;
|
|
932
|
+
position: string;
|
|
933
|
+
visible: false;
|
|
934
|
+
crm_widget_id: number;
|
|
935
|
+
owner_id: number;
|
|
936
|
+
}
|
|
937
|
+
interface CrmWidgetResponse {
|
|
938
|
+
crm_widget_relationships: CrmWidget[];
|
|
939
|
+
object_count: number;
|
|
940
|
+
unfiltered_count: number;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
declare class SmartCrmWidgetsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
944
|
+
private readonly crmService;
|
|
945
|
+
private readonly cdr;
|
|
946
|
+
private widgetId;
|
|
947
|
+
form: UntypedFormGroup;
|
|
948
|
+
subscriptionId: number;
|
|
949
|
+
user: User;
|
|
950
|
+
data: CrmWidget;
|
|
951
|
+
positions$: Observable<string>;
|
|
952
|
+
allWidgets$: Observable<string>;
|
|
953
|
+
hasAccess: boolean;
|
|
954
|
+
submitted: boolean;
|
|
955
|
+
buttonBusy: boolean;
|
|
956
|
+
isLoading: boolean;
|
|
957
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
958
|
+
ngOnInit(): void;
|
|
959
|
+
private getUserInfo;
|
|
960
|
+
/** Function to get widgetDetails */
|
|
961
|
+
private getWidgetDetails;
|
|
962
|
+
/** Function to get form controls */
|
|
963
|
+
get f(): {
|
|
964
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
965
|
+
};
|
|
966
|
+
/** Function on submit the form */
|
|
967
|
+
onSave(): void;
|
|
968
|
+
ngOnDestroy(): void;
|
|
969
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmWidgetsDetailsComponent, never>;
|
|
970
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmWidgetsDetailsComponent, "pw-smart-crm-widgets-details", never, {}, {}, never, never, false, never>;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
declare class SmartCrmWidgetsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
974
|
+
private readonly crmService;
|
|
975
|
+
private readonly cdr;
|
|
976
|
+
private page;
|
|
977
|
+
data: CrmWidgetResponse;
|
|
978
|
+
subscription: Subscription;
|
|
979
|
+
subscriptionId: number;
|
|
980
|
+
allWidgets: FilteredData[];
|
|
981
|
+
positions: any[];
|
|
982
|
+
searchText: string;
|
|
983
|
+
loading: boolean;
|
|
984
|
+
hasAccess: boolean;
|
|
985
|
+
isLoaded: boolean;
|
|
986
|
+
routers: {
|
|
987
|
+
accounts: string;
|
|
988
|
+
contacts: string;
|
|
989
|
+
accountContacts: string;
|
|
990
|
+
accountInfo: string;
|
|
991
|
+
addAccount: string;
|
|
992
|
+
contactInfo: string;
|
|
993
|
+
contactAdd: string;
|
|
994
|
+
contactDetails: string;
|
|
995
|
+
opportunityAdd: string;
|
|
996
|
+
opportunities: string;
|
|
997
|
+
opportunityInfo: string;
|
|
998
|
+
configurationDetails: string;
|
|
999
|
+
configurations: string;
|
|
1000
|
+
leadsDetails: string;
|
|
1001
|
+
marketingDetails: string;
|
|
1002
|
+
marketing: string;
|
|
1003
|
+
categoryDetails: string;
|
|
1004
|
+
sourceDetails: string;
|
|
1005
|
+
stageDetails: string;
|
|
1006
|
+
widgetsDetails: string;
|
|
1007
|
+
};
|
|
1008
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
1009
|
+
ngOnInit(): void;
|
|
1010
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1011
|
+
/** Function to get all widgets */
|
|
1012
|
+
private getAllSubscriptionWidgets;
|
|
1013
|
+
/** Function to get all widgets */
|
|
1014
|
+
private getAllWidgets;
|
|
1015
|
+
/** Function to delete widget */
|
|
1016
|
+
onDelete(id: number): void;
|
|
1017
|
+
/** Function to get positions */
|
|
1018
|
+
private getWidgetPositions;
|
|
1019
|
+
ngOnDestroy(): void;
|
|
1020
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmWidgetsComponent, never>;
|
|
1021
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmWidgetsComponent, "pw-smart-crm-widgets", never, {}, {}, never, never, false, never>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
interface CrmContact {
|
|
1025
|
+
id: number;
|
|
1026
|
+
first_name: string;
|
|
1027
|
+
last_name: string;
|
|
1028
|
+
email: string;
|
|
1029
|
+
tel: string;
|
|
1030
|
+
crm_account_id: number;
|
|
1031
|
+
created_at: string;
|
|
1032
|
+
last_logged_in_at?: string | null;
|
|
1033
|
+
headline: string;
|
|
1034
|
+
department_id: number;
|
|
1035
|
+
dob: string;
|
|
1036
|
+
owner_id: number;
|
|
1037
|
+
linkedin_url: string;
|
|
1038
|
+
potential: string;
|
|
1039
|
+
crm_source_id: number;
|
|
1040
|
+
subscription_id: number;
|
|
1041
|
+
labels: string[];
|
|
1042
|
+
enquiry: string;
|
|
1043
|
+
email_verified: boolean;
|
|
1044
|
+
newsletter_subscribed: boolean;
|
|
1045
|
+
owner: string;
|
|
1046
|
+
crm_account: CrmAccount;
|
|
1047
|
+
}
|
|
1048
|
+
interface CrmContactResponse {
|
|
1049
|
+
contacts: CrmContact[];
|
|
1050
|
+
object_count: number;
|
|
1051
|
+
unfiltered_count: number;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
declare class SmartCrmContactDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1055
|
+
private readonly commonService;
|
|
1056
|
+
private readonly crmService;
|
|
1057
|
+
private readonly cdr;
|
|
1058
|
+
private readonly geoService;
|
|
1059
|
+
private countries$;
|
|
1060
|
+
form: UntypedFormGroup;
|
|
1061
|
+
id: number;
|
|
1062
|
+
subscriptionId: number;
|
|
1063
|
+
accountId: number;
|
|
1064
|
+
user: User;
|
|
1065
|
+
data: CrmContact;
|
|
1066
|
+
accounts: CrmAccount[];
|
|
1067
|
+
countryNames: any[];
|
|
1068
|
+
filteredCountries: Country[];
|
|
1069
|
+
filteredAccounts: CrmAccount[];
|
|
1070
|
+
departments$: Observable<string>;
|
|
1071
|
+
crmSources$: Observable<unknown>;
|
|
1072
|
+
potentials: any[];
|
|
1073
|
+
labels: any[];
|
|
1074
|
+
submitted: boolean;
|
|
1075
|
+
buttonBusy: boolean;
|
|
1076
|
+
isLoading: boolean;
|
|
1077
|
+
/** Function to get form controls */
|
|
1078
|
+
get f(): {
|
|
1079
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1080
|
+
};
|
|
1081
|
+
constructor(commonService: CommonService, crmService: CrmService, cdr: ChangeDetectorRef, geoService: GeoService, injector: Injector);
|
|
1082
|
+
ngOnInit(): void;
|
|
1083
|
+
handleAddressChange(event: any): void;
|
|
1084
|
+
onSearchCountry(event: any): void;
|
|
1085
|
+
/** Function to get the list of accounts by subscriptionId */
|
|
1086
|
+
private getAccountsBySubscription;
|
|
1087
|
+
/** Function to execute on form submission */
|
|
1088
|
+
onSave(): void;
|
|
1089
|
+
/** Function to get the specific contact details on edit form */
|
|
1090
|
+
private getContactDetails;
|
|
1091
|
+
/** search accounts */
|
|
1092
|
+
search(event: any): void;
|
|
1093
|
+
getDefaultValues(id: any): void;
|
|
1094
|
+
ngOnDestroy(): void;
|
|
1095
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactDetailsComponent, never>;
|
|
1096
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactDetailsComponent, "pw-smart-crm-contact-details", never, {}, {}, never, never, false, never>;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
declare class SmartCrmContactInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1100
|
+
private readonly crmService;
|
|
1101
|
+
private readonly calendar;
|
|
1102
|
+
private readonly modalService;
|
|
1103
|
+
private readonly authService;
|
|
1104
|
+
private readonly geoService;
|
|
1105
|
+
private readonly cdr;
|
|
1106
|
+
private readonly document;
|
|
1107
|
+
countries$: Observable<Country[]>;
|
|
1108
|
+
actionControls: UntypedFormGroup;
|
|
1109
|
+
aboutControls: UntypedFormGroup;
|
|
1110
|
+
contactId: number;
|
|
1111
|
+
accountId: number;
|
|
1112
|
+
userId: number;
|
|
1113
|
+
subscriptionId: number;
|
|
1114
|
+
data: CrmContact$1;
|
|
1115
|
+
subscription: Subscription;
|
|
1116
|
+
actions: SmartCrmAction[];
|
|
1117
|
+
filteredAccounts: CrmAccount$1[];
|
|
1118
|
+
accounts: any[];
|
|
1119
|
+
contactComments: any[];
|
|
1120
|
+
contactVersioning: any[];
|
|
1121
|
+
model: NgbDateStruct;
|
|
1122
|
+
date: {
|
|
1123
|
+
year: number;
|
|
1124
|
+
month: number;
|
|
1125
|
+
};
|
|
1126
|
+
options: UploaderOptions;
|
|
1127
|
+
uploadInput: EventEmitter<UploadInput>;
|
|
1128
|
+
files: UploadFile[];
|
|
1129
|
+
token: string;
|
|
1130
|
+
potentials: string[];
|
|
1131
|
+
labels: any[];
|
|
1132
|
+
submitted: boolean;
|
|
1133
|
+
buttonBusy: boolean;
|
|
1134
|
+
isDisabled: boolean;
|
|
1135
|
+
isFormEdit: boolean;
|
|
1136
|
+
isLoaded: boolean;
|
|
1137
|
+
isDataLoaded: boolean;
|
|
1138
|
+
hasAccess: boolean;
|
|
1139
|
+
updating: boolean;
|
|
1140
|
+
buttonDisable: boolean;
|
|
1141
|
+
dangerColor: boolean;
|
|
1142
|
+
showFullComment: boolean;
|
|
1143
|
+
submitAction: boolean;
|
|
1144
|
+
dragOver: boolean;
|
|
1145
|
+
actionId: number;
|
|
1146
|
+
commentId: number;
|
|
1147
|
+
routers: {
|
|
1148
|
+
accounts: string;
|
|
1149
|
+
contacts: string;
|
|
1150
|
+
accountContacts: string;
|
|
1151
|
+
accountInfo: string;
|
|
1152
|
+
addAccount: string;
|
|
1153
|
+
contactInfo: string;
|
|
1154
|
+
contactAdd: string;
|
|
1155
|
+
contactDetails: string;
|
|
1156
|
+
opportunityAdd: string;
|
|
1157
|
+
opportunities: string;
|
|
1158
|
+
opportunityInfo: string;
|
|
1159
|
+
configurationDetails: string;
|
|
1160
|
+
configurations: string;
|
|
1161
|
+
leadsDetails: string;
|
|
1162
|
+
marketingDetails: string;
|
|
1163
|
+
marketing: string;
|
|
1164
|
+
categoryDetails: string;
|
|
1165
|
+
sourceDetails: string;
|
|
1166
|
+
stageDetails: string;
|
|
1167
|
+
widgetsDetails: string;
|
|
1168
|
+
};
|
|
1169
|
+
constructor(injector: Injector, crmService: CrmService, calendar: NgbCalendar, modalService: NgbModal, authService: AuthService, geoService: GeoService, cdr: ChangeDetectorRef, document: Document);
|
|
1170
|
+
ngOnInit(): void;
|
|
1171
|
+
handleAddressChange(event: any): void;
|
|
1172
|
+
getDefaultValues(id: any): void;
|
|
1173
|
+
/** Function to get contact versions */
|
|
1174
|
+
private getContactVersion;
|
|
1175
|
+
showEditControls(event: any): void;
|
|
1176
|
+
updateComment(item: any): void;
|
|
1177
|
+
showDatePicker(event: any, id: any): void;
|
|
1178
|
+
/**
|
|
1179
|
+
* Function to get the list of accounts by subscriptionId
|
|
1180
|
+
*/
|
|
1181
|
+
private getAccountsBySubscription;
|
|
1182
|
+
get f(): {
|
|
1183
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1184
|
+
};
|
|
1185
|
+
get actionFormControls(): {
|
|
1186
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1187
|
+
};
|
|
1188
|
+
updateContactInfo(): void;
|
|
1189
|
+
private getContactComments;
|
|
1190
|
+
onSave(): void;
|
|
1191
|
+
onDateSelected(): void;
|
|
1192
|
+
/** Function to get and show all the actions */
|
|
1193
|
+
getActions(): void;
|
|
1194
|
+
/** Function to get the contact details by Id */
|
|
1195
|
+
getUserInfo(): void;
|
|
1196
|
+
/** Function to set the action as completed */
|
|
1197
|
+
setAsCompletedOrUncompleted(id: any, action: any, completedOrUncompleted: any): Promise<void>;
|
|
1198
|
+
/** Function to set the action as cancelled */
|
|
1199
|
+
setAsCancelled(id: any, action: any): Promise<void>;
|
|
1200
|
+
/** Function to show DatePicker */
|
|
1201
|
+
showDatePickerUpdate(actionId: any): void;
|
|
1202
|
+
/** Function to update the date */
|
|
1203
|
+
onDateSelect(event: any, action: any): void;
|
|
1204
|
+
/** search accounts */
|
|
1205
|
+
search(event: any): void;
|
|
1206
|
+
openModal(content: any): void;
|
|
1207
|
+
onClose(): void;
|
|
1208
|
+
onUploadOutput(output: UploadOutput): void;
|
|
1209
|
+
navigateToOpportunities(): void;
|
|
1210
|
+
ngOnDestroy(): void;
|
|
1211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactInfoComponent, never>;
|
|
1212
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactInfoComponent, "pw-smart-crm-contact-info", never, {}, {}, never, never, false, never>;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
declare class SmartCrmContactComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1216
|
+
private readonly crmService;
|
|
1217
|
+
private readonly cdr;
|
|
1218
|
+
private page;
|
|
1219
|
+
data: CrmContactResponse;
|
|
1220
|
+
subscription: Subscription;
|
|
1221
|
+
subscriptionId: number;
|
|
1222
|
+
contactId: number;
|
|
1223
|
+
accountId: number;
|
|
1224
|
+
accountData: CrmAccount;
|
|
1225
|
+
userId: number;
|
|
1226
|
+
user: User;
|
|
1227
|
+
contactInsight: OpportunityInsight[];
|
|
1228
|
+
contactGeography: Plotly.Figure;
|
|
1229
|
+
filterByPotentials: string;
|
|
1230
|
+
filterByStatus: string;
|
|
1231
|
+
potential: any[];
|
|
1232
|
+
labels: any[];
|
|
1233
|
+
selectedLabels: any[];
|
|
1234
|
+
selectedAccount: any[];
|
|
1235
|
+
accountDropDown: any[];
|
|
1236
|
+
crmAccountIds: string;
|
|
1237
|
+
searchText: string;
|
|
1238
|
+
loading: boolean;
|
|
1239
|
+
hasAccess: boolean;
|
|
1240
|
+
isLoaded: boolean;
|
|
1241
|
+
routers: {
|
|
1242
|
+
accounts: string;
|
|
1243
|
+
contacts: string;
|
|
1244
|
+
accountContacts: string;
|
|
1245
|
+
accountInfo: string;
|
|
1246
|
+
addAccount: string;
|
|
1247
|
+
contactInfo: string;
|
|
1248
|
+
contactAdd: string;
|
|
1249
|
+
contactDetails: string;
|
|
1250
|
+
opportunityAdd: string;
|
|
1251
|
+
opportunities: string;
|
|
1252
|
+
opportunityInfo: string;
|
|
1253
|
+
configurationDetails: string;
|
|
1254
|
+
configurations: string;
|
|
1255
|
+
leadsDetails: string;
|
|
1256
|
+
marketingDetails: string;
|
|
1257
|
+
marketing: string;
|
|
1258
|
+
categoryDetails: string;
|
|
1259
|
+
sourceDetails: string;
|
|
1260
|
+
stageDetails: string;
|
|
1261
|
+
widgetsDetails: string;
|
|
1262
|
+
};
|
|
1263
|
+
lastSeenAtTextClass(value?: string | null): string;
|
|
1264
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
1265
|
+
ngOnInit(): void;
|
|
1266
|
+
/**get accounts dropdown */
|
|
1267
|
+
getAccountsDropdown(): void;
|
|
1268
|
+
/**select option from account dropdown */
|
|
1269
|
+
onSelectAccount(): void;
|
|
1270
|
+
private getTableState;
|
|
1271
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1272
|
+
private getData;
|
|
1273
|
+
/** Function to get user details */
|
|
1274
|
+
private getUserInfo;
|
|
1275
|
+
/** Function to get all contacts */
|
|
1276
|
+
private getAllContacts;
|
|
1277
|
+
/** Function to get the contacts related to accounts */
|
|
1278
|
+
private getAccountContacts;
|
|
1279
|
+
/** Function to get the account name */
|
|
1280
|
+
private getAccountDetail;
|
|
1281
|
+
/** Function to delete contact */
|
|
1282
|
+
onDelete(id: number): void;
|
|
1283
|
+
/** Function to filter by potential */
|
|
1284
|
+
filterByPotential(event: any): void;
|
|
1285
|
+
/** Function to call contact insight */
|
|
1286
|
+
private getContactInsight;
|
|
1287
|
+
/** Function to call contact geography */
|
|
1288
|
+
getContactGeography(): void;
|
|
1289
|
+
navigateToOpportunities(): void;
|
|
1290
|
+
getDefaultValues(id: number): void;
|
|
1291
|
+
onLabelChange(event: any): void;
|
|
1292
|
+
ngOnDestroy(): void;
|
|
1293
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactComponent, never>;
|
|
1294
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactComponent, "pw-crm-contacts", never, {}, {}, never, never, false, never>;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
declare class SmartCrmCustomerSuccessComponent {
|
|
1298
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCustomerSuccessComponent, never>;
|
|
1299
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCustomerSuccessComponent, "pw-smart-crm-customer-success", never, {}, {}, never, never, false, never>;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
declare class SmartCrmSocialMediaComponent {
|
|
1303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSocialMediaComponent, never>;
|
|
1304
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSocialMediaComponent, "pw-smart-crm-social-media", never, {}, {}, never, never, false, never>;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
declare class SmartCrmInsightComponent {
|
|
1308
|
+
tabs: {
|
|
1309
|
+
id: number;
|
|
1310
|
+
title: string;
|
|
1311
|
+
}[];
|
|
1312
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmInsightComponent, never>;
|
|
1313
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmInsightComponent, "pw-smart-crm-insight", never, {}, {}, never, never, false, never>;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
declare class SmartCrmCompanyAccountInvoiceComponent extends AppBaseComponent implements OnDestroy {
|
|
1317
|
+
private readonly crmService;
|
|
1318
|
+
private readonly cdr;
|
|
1319
|
+
accountId: number;
|
|
1320
|
+
private page;
|
|
1321
|
+
subscription: any;
|
|
1322
|
+
subscriptionId: any;
|
|
1323
|
+
userId: number;
|
|
1324
|
+
intervalTimer: rxjs.Observable<number>;
|
|
1325
|
+
invoices: any[];
|
|
1326
|
+
invoiceFrequency: string[];
|
|
1327
|
+
searchText: string;
|
|
1328
|
+
totalRecordsUnFiltered: number;
|
|
1329
|
+
totalRecords: number;
|
|
1330
|
+
isLoaded: boolean;
|
|
1331
|
+
buttonBusy: boolean;
|
|
1332
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
1333
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1334
|
+
fetchInvoices(paging: Paging): void;
|
|
1335
|
+
ngOnDestroy(): void;
|
|
1336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCompanyAccountInvoiceComponent, never>;
|
|
1337
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCompanyAccountInvoiceComponent, "pw-smart-crm-account-invoices", never, { "accountId": { "alias": "accountId"; "required": false; }; }, {}, never, never, false, never>;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1341
|
+
private readonly crmService;
|
|
1342
|
+
private readonly cdr;
|
|
1343
|
+
private readonly adminService;
|
|
1344
|
+
subscription: Subscription;
|
|
1345
|
+
subscriptionId: number;
|
|
1346
|
+
userId: number;
|
|
1347
|
+
user: User;
|
|
1348
|
+
contactId: number;
|
|
1349
|
+
accountId: number;
|
|
1350
|
+
contactInsight: OpportunityInsight$1[];
|
|
1351
|
+
contactGeography: Plotly.Figure;
|
|
1352
|
+
userBaseData: Plotly.Figure;
|
|
1353
|
+
selectedDateRange: any;
|
|
1354
|
+
dateRanges: any;
|
|
1355
|
+
loading: boolean;
|
|
1356
|
+
contactInsightLoaded: boolean;
|
|
1357
|
+
geographyLoaded: boolean;
|
|
1358
|
+
userBaseLoaded: boolean;
|
|
1359
|
+
routers: {
|
|
1360
|
+
accounts: string;
|
|
1361
|
+
contacts: string;
|
|
1362
|
+
accountContacts: string;
|
|
1363
|
+
accountInfo: string;
|
|
1364
|
+
addAccount: string;
|
|
1365
|
+
contactInfo: string;
|
|
1366
|
+
contactAdd: string;
|
|
1367
|
+
contactDetails: string;
|
|
1368
|
+
opportunityAdd: string;
|
|
1369
|
+
opportunities: string;
|
|
1370
|
+
opportunityInfo: string;
|
|
1371
|
+
configurationDetails: string;
|
|
1372
|
+
configurations: string;
|
|
1373
|
+
leadsDetails: string;
|
|
1374
|
+
marketingDetails: string;
|
|
1375
|
+
marketing: string;
|
|
1376
|
+
categoryDetails: string;
|
|
1377
|
+
sourceDetails: string;
|
|
1378
|
+
stageDetails: string;
|
|
1379
|
+
widgetsDetails: string;
|
|
1380
|
+
};
|
|
1381
|
+
crmAccountIds: string;
|
|
1382
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService);
|
|
1383
|
+
ngOnInit(): void;
|
|
1384
|
+
private getContactInsight;
|
|
1385
|
+
/** Function to call contact geography */
|
|
1386
|
+
getContactGeography(): void;
|
|
1387
|
+
getUserBaseData(): void;
|
|
1388
|
+
onDateRangeSelect(event: {
|
|
1389
|
+
startDate: moment.Moment;
|
|
1390
|
+
endDate: moment.Moment;
|
|
1391
|
+
}): void;
|
|
1392
|
+
ngOnDestroy(): void;
|
|
1393
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactInsightComponent, never>;
|
|
1394
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactInsightComponent, "pw-smart-crm-contact-insight", never, {}, {}, never, never, false, never>;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
declare class SmartCrmAccountInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1398
|
+
private readonly crmService;
|
|
1399
|
+
private readonly cdr;
|
|
1400
|
+
subscription: Subscription;
|
|
1401
|
+
userId: number;
|
|
1402
|
+
user: User;
|
|
1403
|
+
hasAccess: boolean;
|
|
1404
|
+
canViewMrr: boolean;
|
|
1405
|
+
signedUpLastThirtyDays: signedUpLastThirtyDays[];
|
|
1406
|
+
activeOpportunities: activeOpportunities[];
|
|
1407
|
+
accountAtRisk: any;
|
|
1408
|
+
ContractRenewal: any;
|
|
1409
|
+
accountInsight: any;
|
|
1410
|
+
accountGeography: {
|
|
1411
|
+
data: [];
|
|
1412
|
+
layout: object;
|
|
1413
|
+
};
|
|
1414
|
+
churnedAccounts: any;
|
|
1415
|
+
accountLastActivities: any;
|
|
1416
|
+
creditCardExpiring: any;
|
|
1417
|
+
magicMoment: any;
|
|
1418
|
+
signUpLastNinetyDaysLoaded: boolean;
|
|
1419
|
+
accountLastActivitiesLoaded: boolean;
|
|
1420
|
+
churnedAccountLoaded: boolean;
|
|
1421
|
+
activeOpportunitiesLoaded: boolean;
|
|
1422
|
+
accountAtRiskDetailsLoaded: boolean;
|
|
1423
|
+
contactRenewalLoaded: boolean;
|
|
1424
|
+
creditCardExpiringDetailsLoaded: boolean;
|
|
1425
|
+
accountGeographyLoaded: boolean;
|
|
1426
|
+
accountInsightLoaded: boolean;
|
|
1427
|
+
magicMomentLoaded: boolean;
|
|
1428
|
+
actionNames: any;
|
|
1429
|
+
activeOpportunitiesTotal: {
|
|
1430
|
+
total_mrr: number;
|
|
1431
|
+
};
|
|
1432
|
+
accountAtRiskTotal: {
|
|
1433
|
+
total_mrr: number;
|
|
1434
|
+
};
|
|
1435
|
+
contractRenewalTotal: {
|
|
1436
|
+
total_mrr: number;
|
|
1437
|
+
};
|
|
1438
|
+
creditCardExpiringTotal: {
|
|
1439
|
+
total_mrr: number;
|
|
1440
|
+
};
|
|
1441
|
+
magicMomentTotal: {
|
|
1442
|
+
total_mrr: number;
|
|
1443
|
+
};
|
|
1444
|
+
signedUpLastNinetyDaysTotal: {
|
|
1445
|
+
total_mrr: number;
|
|
1446
|
+
};
|
|
1447
|
+
churnedAccountsTotal: {
|
|
1448
|
+
total_mrr: number;
|
|
1449
|
+
};
|
|
1450
|
+
routers: {
|
|
1451
|
+
accounts: string;
|
|
1452
|
+
contacts: string;
|
|
1453
|
+
accountContacts: string;
|
|
1454
|
+
accountInfo: string;
|
|
1455
|
+
addAccount: string;
|
|
1456
|
+
contactInfo: string;
|
|
1457
|
+
contactAdd: string;
|
|
1458
|
+
contactDetails: string;
|
|
1459
|
+
opportunityAdd: string;
|
|
1460
|
+
opportunities: string;
|
|
1461
|
+
opportunityInfo: string;
|
|
1462
|
+
configurationDetails: string;
|
|
1463
|
+
configurations: string;
|
|
1464
|
+
leadsDetails: string;
|
|
1465
|
+
marketingDetails: string;
|
|
1466
|
+
marketing: string;
|
|
1467
|
+
categoryDetails: string;
|
|
1468
|
+
sourceDetails: string;
|
|
1469
|
+
stageDetails: string;
|
|
1470
|
+
widgetsDetails: string;
|
|
1471
|
+
};
|
|
1472
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
1473
|
+
ngOnInit(): void;
|
|
1474
|
+
private getUserInfo;
|
|
1475
|
+
/** Function to call signed up last 90 days details */
|
|
1476
|
+
private getSignedUpLastNinetyDays;
|
|
1477
|
+
private getAccountLastActivities;
|
|
1478
|
+
private getChurnedAccounts;
|
|
1479
|
+
/** Function to call Active Opportunities details */
|
|
1480
|
+
private getActiveOpportunities;
|
|
1481
|
+
private getMagicMoment;
|
|
1482
|
+
private getCreditCardExpiringDetails;
|
|
1483
|
+
/** Function to call Account At Risk details */
|
|
1484
|
+
private getAccountAtRiskDetails;
|
|
1485
|
+
/** Function to call Contract renewal details */
|
|
1486
|
+
private getContactRenewal;
|
|
1487
|
+
private getAccountInsights;
|
|
1488
|
+
private getAccountGeography;
|
|
1489
|
+
checkPermission(permission: string): boolean;
|
|
1490
|
+
ngOnDestroy(): void;
|
|
1491
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmAccountInsightComponent, never>;
|
|
1492
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmAccountInsightComponent, "pw-smart-crm-account-insight", never, {}, {}, never, never, false, never>;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
declare class SmartCrmOpportunitiesInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1496
|
+
private readonly crmService;
|
|
1497
|
+
private readonly cdr;
|
|
1498
|
+
private readonly productService;
|
|
1499
|
+
subscription: Subscription;
|
|
1500
|
+
subscriptionId: number;
|
|
1501
|
+
user: User;
|
|
1502
|
+
userId: number;
|
|
1503
|
+
data: CrmOpportunityResponse;
|
|
1504
|
+
opportunitiesInsight: OpportunityInsight$1[];
|
|
1505
|
+
opportunitiesCategory: any;
|
|
1506
|
+
opportunitiesStage: any;
|
|
1507
|
+
opportunitiesGraphData: any;
|
|
1508
|
+
opportunitiesGeography: Plotly.Figure;
|
|
1509
|
+
selectedDateRange: any;
|
|
1510
|
+
dateRanges: any;
|
|
1511
|
+
searchText: string;
|
|
1512
|
+
searchStages: object[];
|
|
1513
|
+
searchCategories: object[];
|
|
1514
|
+
filterByStages: string[];
|
|
1515
|
+
filterByCategories: any[];
|
|
1516
|
+
page: number;
|
|
1517
|
+
stages: any[];
|
|
1518
|
+
categories: any[];
|
|
1519
|
+
id: string;
|
|
1520
|
+
loading: boolean;
|
|
1521
|
+
isLoaded: boolean;
|
|
1522
|
+
hasAccess: boolean;
|
|
1523
|
+
opportunitiesInsightLoaded: boolean;
|
|
1524
|
+
opportunitiesGeographyLoaded: boolean;
|
|
1525
|
+
opportunitiesCategoryLoaded: boolean;
|
|
1526
|
+
opportunitiesStageLoaded: boolean;
|
|
1527
|
+
opportunitiesGraphLoaded: boolean;
|
|
1528
|
+
routers: {
|
|
1529
|
+
accounts: string;
|
|
1530
|
+
contacts: string;
|
|
1531
|
+
accountContacts: string;
|
|
1532
|
+
accountInfo: string;
|
|
1533
|
+
addAccount: string;
|
|
1534
|
+
contactInfo: string;
|
|
1535
|
+
contactAdd: string;
|
|
1536
|
+
contactDetails: string;
|
|
1537
|
+
opportunityAdd: string;
|
|
1538
|
+
opportunities: string;
|
|
1539
|
+
opportunityInfo: string;
|
|
1540
|
+
configurationDetails: string;
|
|
1541
|
+
configurations: string;
|
|
1542
|
+
leadsDetails: string;
|
|
1543
|
+
marketingDetails: string;
|
|
1544
|
+
marketing: string;
|
|
1545
|
+
categoryDetails: string;
|
|
1546
|
+
sourceDetails: string;
|
|
1547
|
+
stageDetails: string;
|
|
1548
|
+
widgetsDetails: string;
|
|
1549
|
+
};
|
|
1550
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
|
|
1551
|
+
ngOnInit(): void;
|
|
1552
|
+
/** Function to call opportunities insight */
|
|
1553
|
+
private getOpportunitiesInsight;
|
|
1554
|
+
/** Function to call contact geography */
|
|
1555
|
+
private getContactGeography;
|
|
1556
|
+
private getOpportunityCategory;
|
|
1557
|
+
private getOpportunityStage;
|
|
1558
|
+
private getOpportunityGraph;
|
|
1559
|
+
onDateRangeSelect(event: {
|
|
1560
|
+
startDate: moment.Moment;
|
|
1561
|
+
endDate: moment.Moment;
|
|
1562
|
+
}): void;
|
|
1563
|
+
checkPermission(permission: string): boolean;
|
|
1564
|
+
ngOnDestroy(): void;
|
|
1565
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInsightComponent, never>;
|
|
1566
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesInsightComponent, "pw-smart-crm-opportunities-insight", never, {}, {}, never, never, false, never>;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
declare class SmartCrmAnalysisComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1570
|
+
private readonly crmService;
|
|
1571
|
+
private readonly cdr;
|
|
1572
|
+
subscription: Subscription;
|
|
1573
|
+
subscriptionId: number;
|
|
1574
|
+
userId: number;
|
|
1575
|
+
hasAccess: boolean;
|
|
1576
|
+
graph: Plotly.Figure;
|
|
1577
|
+
revenueGraph: Plotly.Figure;
|
|
1578
|
+
startDate: NgbDateStruct;
|
|
1579
|
+
endDate: NgbDateStruct;
|
|
1580
|
+
selectedDateRange: any;
|
|
1581
|
+
dateRanges: any;
|
|
1582
|
+
isLoaded: boolean;
|
|
1583
|
+
isRevenueGraphLoaded: boolean;
|
|
1584
|
+
routers: {
|
|
1585
|
+
accounts: string;
|
|
1586
|
+
contacts: string;
|
|
1587
|
+
accountContacts: string;
|
|
1588
|
+
accountInfo: string;
|
|
1589
|
+
addAccount: string;
|
|
1590
|
+
contactInfo: string;
|
|
1591
|
+
contactAdd: string;
|
|
1592
|
+
contactDetails: string;
|
|
1593
|
+
opportunityAdd: string;
|
|
1594
|
+
opportunities: string;
|
|
1595
|
+
opportunityInfo: string;
|
|
1596
|
+
configurationDetails: string;
|
|
1597
|
+
configurations: string;
|
|
1598
|
+
leadsDetails: string;
|
|
1599
|
+
marketingDetails: string;
|
|
1600
|
+
marketing: string;
|
|
1601
|
+
categoryDetails: string;
|
|
1602
|
+
sourceDetails: string;
|
|
1603
|
+
stageDetails: string;
|
|
1604
|
+
widgetsDetails: string;
|
|
1605
|
+
};
|
|
1606
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
1607
|
+
ngOnInit(): void;
|
|
1608
|
+
private getUserInfo;
|
|
1609
|
+
/** Function to get the data for the graph */
|
|
1610
|
+
private getChartData;
|
|
1611
|
+
private getRevenueGraph;
|
|
1612
|
+
onDateRangeSelect(event: {
|
|
1613
|
+
startDate: moment.Moment;
|
|
1614
|
+
endDate: moment.Moment;
|
|
1615
|
+
}): void;
|
|
1616
|
+
ngOnDestroy(): void;
|
|
1617
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmAnalysisComponent, never>;
|
|
1618
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmAnalysisComponent, "pw-smart-crm-analysis", never, {}, {}, never, never, false, never>;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
interface CrmNewsLetter {
|
|
1622
|
+
id: number;
|
|
1623
|
+
title: string;
|
|
1624
|
+
body: string;
|
|
1625
|
+
contact_potential: string[];
|
|
1626
|
+
account_status: string[];
|
|
1627
|
+
account_priority: string[];
|
|
1628
|
+
location: string;
|
|
1629
|
+
latitude: number;
|
|
1630
|
+
longitude: number;
|
|
1631
|
+
is_sent: boolean;
|
|
1632
|
+
is_pushed: boolean;
|
|
1633
|
+
send_until: object;
|
|
1634
|
+
subscription_id: number;
|
|
1635
|
+
owner_id: number;
|
|
1636
|
+
days_to_wait_from_previous_newsletter: number;
|
|
1637
|
+
send_at: string;
|
|
1638
|
+
account_size: string[];
|
|
1639
|
+
account_source: string[];
|
|
1640
|
+
product_ids: string;
|
|
1641
|
+
feature_keys: string[];
|
|
1642
|
+
contact_label: string[];
|
|
1643
|
+
contact_source: string[];
|
|
1644
|
+
can_reply: boolean;
|
|
1645
|
+
only_new_contacts: boolean;
|
|
1646
|
+
}
|
|
1647
|
+
interface CrmNewsLetterResponse {
|
|
1648
|
+
crm_newsletters: CrmNewsLetter[];
|
|
1649
|
+
object_count: number;
|
|
1650
|
+
unfiltered_count: number;
|
|
1651
|
+
}
|
|
1652
|
+
interface NewsLetterContact {
|
|
1653
|
+
id: number;
|
|
1654
|
+
first_name: string;
|
|
1655
|
+
last_name: string;
|
|
1656
|
+
email: string;
|
|
1657
|
+
tel: string;
|
|
1658
|
+
crm_account_id: number;
|
|
1659
|
+
created_at: string;
|
|
1660
|
+
headline: string;
|
|
1661
|
+
department_id: number;
|
|
1662
|
+
dob: string;
|
|
1663
|
+
owner_id: number;
|
|
1664
|
+
linkedin_url: string;
|
|
1665
|
+
potential: string;
|
|
1666
|
+
crm_source_id: number;
|
|
1667
|
+
subscription_id: number;
|
|
1668
|
+
labels: string[];
|
|
1669
|
+
enquiry: string;
|
|
1670
|
+
email_verified: boolean;
|
|
1671
|
+
newsletter_subscribed: boolean;
|
|
1672
|
+
message_insight: string;
|
|
1673
|
+
}
|
|
1674
|
+
interface NewsLetterContactResponse {
|
|
1675
|
+
newsletter_contacts: NewsLetterContact[];
|
|
1676
|
+
object_count: number;
|
|
1677
|
+
unfiltered_count: number;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
declare class SmartCrmCommunicationsInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1681
|
+
private readonly crmService;
|
|
1682
|
+
private readonly cdr;
|
|
1683
|
+
subscription: Subscription;
|
|
1684
|
+
subscriptionId: number;
|
|
1685
|
+
user: User;
|
|
1686
|
+
data: CrmNewsLetterResponse;
|
|
1687
|
+
communicationsInsight: any;
|
|
1688
|
+
communicationEngagement: Plotly.Figure;
|
|
1689
|
+
searchText: string;
|
|
1690
|
+
loading: boolean;
|
|
1691
|
+
isLoaded: boolean;
|
|
1692
|
+
communicationsInsightLoaded: boolean;
|
|
1693
|
+
geographyLoaded: boolean;
|
|
1694
|
+
routers: {
|
|
1695
|
+
accounts: string;
|
|
1696
|
+
contacts: string;
|
|
1697
|
+
accountContacts: string;
|
|
1698
|
+
accountInfo: string;
|
|
1699
|
+
addAccount: string;
|
|
1700
|
+
contactInfo: string;
|
|
1701
|
+
contactAdd: string;
|
|
1702
|
+
contactDetails: string;
|
|
1703
|
+
opportunityAdd: string;
|
|
1704
|
+
opportunities: string;
|
|
1705
|
+
opportunityInfo: string;
|
|
1706
|
+
configurationDetails: string;
|
|
1707
|
+
configurations: string;
|
|
1708
|
+
leadsDetails: string;
|
|
1709
|
+
marketingDetails: string;
|
|
1710
|
+
marketing: string;
|
|
1711
|
+
categoryDetails: string;
|
|
1712
|
+
sourceDetails: string;
|
|
1713
|
+
stageDetails: string;
|
|
1714
|
+
widgetsDetails: string;
|
|
1715
|
+
};
|
|
1716
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
1717
|
+
ngOnInit(): void;
|
|
1718
|
+
/** Function to call communication insight */
|
|
1719
|
+
private getCommunicationInsight;
|
|
1720
|
+
/** Function to call communication engagement */
|
|
1721
|
+
private getCommunicationEngagement;
|
|
1722
|
+
ngOnDestroy(): void;
|
|
1723
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsInsightComponent, never>;
|
|
1724
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsInsightComponent, "pw-smart-crm-communications-insight", never, {}, {}, never, never, false, never>;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
interface CrmLead {
|
|
1728
|
+
id: number;
|
|
1729
|
+
first_name: string;
|
|
1730
|
+
last_name: string;
|
|
1731
|
+
email: string;
|
|
1732
|
+
tel: string;
|
|
1733
|
+
crm_account_id: number;
|
|
1734
|
+
created_at: string;
|
|
1735
|
+
headline: string;
|
|
1736
|
+
department_id: number;
|
|
1737
|
+
dob: string;
|
|
1738
|
+
owner_id: number;
|
|
1739
|
+
linkedin_url: string;
|
|
1740
|
+
potential: string;
|
|
1741
|
+
crm_source_id: number;
|
|
1742
|
+
subscription_id: number;
|
|
1743
|
+
labels: string[];
|
|
1744
|
+
enquiry: string;
|
|
1745
|
+
email_verified: boolean;
|
|
1746
|
+
newsletter_subscribed: boolean;
|
|
1747
|
+
crm_source: object;
|
|
1748
|
+
}
|
|
1749
|
+
interface CrmLeadResponse {
|
|
1750
|
+
crm_leads: CrmLead[];
|
|
1751
|
+
object_count: number;
|
|
1752
|
+
unfiltered_count: number;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
declare class SmartCrmLeadsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1756
|
+
private readonly crmService;
|
|
1757
|
+
private readonly geoService;
|
|
1758
|
+
private readonly cdr;
|
|
1759
|
+
private countries$;
|
|
1760
|
+
form: UntypedFormGroup;
|
|
1761
|
+
id: number;
|
|
1762
|
+
subscriptionId: number;
|
|
1763
|
+
data: CrmLead;
|
|
1764
|
+
source$: Observable<unknown>;
|
|
1765
|
+
accounts: CrmAccount[];
|
|
1766
|
+
filteredAccounts: string[];
|
|
1767
|
+
filteredCountries: Country[];
|
|
1768
|
+
countryNames: any[];
|
|
1769
|
+
potentials: any[];
|
|
1770
|
+
labels: any[];
|
|
1771
|
+
submitted: boolean;
|
|
1772
|
+
buttonBusy: boolean;
|
|
1773
|
+
isLoading: boolean;
|
|
1774
|
+
constructor(injector: Injector, crmService: CrmService, geoService: GeoService, cdr: ChangeDetectorRef);
|
|
1775
|
+
ngOnInit(): void;
|
|
1776
|
+
onSearchCountry(event: any): void;
|
|
1777
|
+
/** Function to get the specific contact details on edit form */
|
|
1778
|
+
private getLeadDetails;
|
|
1779
|
+
handleAddressChange(event: any): void;
|
|
1780
|
+
private markAllAsTouched;
|
|
1781
|
+
/** Function to execute on form submission */
|
|
1782
|
+
onSave(): void;
|
|
1783
|
+
/** Function to get form controls */
|
|
1784
|
+
get f(): {
|
|
1785
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1786
|
+
};
|
|
1787
|
+
/** Function to post the new lead */
|
|
1788
|
+
private onPostLead;
|
|
1789
|
+
/** Function to update the leads */
|
|
1790
|
+
private onUpdateLead;
|
|
1791
|
+
/** Function to get the list of accounts by subscriptionId */
|
|
1792
|
+
private getAccountsBySubscription;
|
|
1793
|
+
/** search accounts */
|
|
1794
|
+
search(event: any): void;
|
|
1795
|
+
getDefaultValues(id: number): void;
|
|
1796
|
+
ngOnDestroy(): void;
|
|
1797
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmLeadsDetailsComponent, never>;
|
|
1798
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmLeadsDetailsComponent, "pw-smart-crm-leads-details", never, {}, {}, never, never, false, never>;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
declare class SmartCrmLeadsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1802
|
+
private readonly crmService;
|
|
1803
|
+
private readonly cdr;
|
|
1804
|
+
private readonly geoService;
|
|
1805
|
+
subscription: Subscription;
|
|
1806
|
+
countries$: any;
|
|
1807
|
+
subscriptionId: number;
|
|
1808
|
+
userId: number;
|
|
1809
|
+
countryData: any;
|
|
1810
|
+
data: CrmLeadResponse;
|
|
1811
|
+
allSource: any[];
|
|
1812
|
+
crmSources: any[];
|
|
1813
|
+
filterBySource: string;
|
|
1814
|
+
searchText: string;
|
|
1815
|
+
loading: boolean;
|
|
1816
|
+
isLoaded: boolean;
|
|
1817
|
+
hasAccess: boolean;
|
|
1818
|
+
page: number;
|
|
1819
|
+
routers: {
|
|
1820
|
+
accounts: string;
|
|
1821
|
+
contacts: string;
|
|
1822
|
+
accountContacts: string;
|
|
1823
|
+
accountInfo: string;
|
|
1824
|
+
addAccount: string;
|
|
1825
|
+
contactInfo: string;
|
|
1826
|
+
contactAdd: string;
|
|
1827
|
+
contactDetails: string;
|
|
1828
|
+
opportunityAdd: string;
|
|
1829
|
+
opportunities: string;
|
|
1830
|
+
opportunityInfo: string;
|
|
1831
|
+
configurationDetails: string;
|
|
1832
|
+
configurations: string;
|
|
1833
|
+
leadsDetails: string;
|
|
1834
|
+
marketingDetails: string;
|
|
1835
|
+
marketing: string;
|
|
1836
|
+
categoryDetails: string;
|
|
1837
|
+
sourceDetails: string;
|
|
1838
|
+
stageDetails: string;
|
|
1839
|
+
widgetsDetails: string;
|
|
1840
|
+
};
|
|
1841
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, geoService: GeoService);
|
|
1842
|
+
ngOnInit(): void;
|
|
1843
|
+
getCountryName(code: string): string;
|
|
1844
|
+
private getUserInfo;
|
|
1845
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1846
|
+
private getAllCrmLeads;
|
|
1847
|
+
/** Function to delete Lead */
|
|
1848
|
+
onDelete(id: number): void;
|
|
1849
|
+
/** Function to all account source */
|
|
1850
|
+
private getAllSource;
|
|
1851
|
+
onSourceChange(event: any): void;
|
|
1852
|
+
ngOnDestroy(): void;
|
|
1853
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmLeadsComponent, never>;
|
|
1854
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmLeadsComponent, "pw-smart-crm-leads", never, {}, {}, never, never, false, never>;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
declare class SmartCrmMarketingUsersListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1858
|
+
private readonly crmService;
|
|
1859
|
+
private readonly cdr;
|
|
1860
|
+
private page;
|
|
1861
|
+
subscription: Subscription;
|
|
1862
|
+
subscriptionId: number;
|
|
1863
|
+
data: NewsLetterContactResponse;
|
|
1864
|
+
id: number;
|
|
1865
|
+
searchText: string;
|
|
1866
|
+
loading: boolean;
|
|
1867
|
+
isLoaded: boolean;
|
|
1868
|
+
routers: {
|
|
1869
|
+
accounts: string;
|
|
1870
|
+
contacts: string;
|
|
1871
|
+
accountContacts: string;
|
|
1872
|
+
accountInfo: string;
|
|
1873
|
+
addAccount: string;
|
|
1874
|
+
contactInfo: string;
|
|
1875
|
+
contactAdd: string;
|
|
1876
|
+
contactDetails: string;
|
|
1877
|
+
opportunityAdd: string;
|
|
1878
|
+
opportunities: string;
|
|
1879
|
+
opportunityInfo: string;
|
|
1880
|
+
configurationDetails: string;
|
|
1881
|
+
configurations: string;
|
|
1882
|
+
leadsDetails: string;
|
|
1883
|
+
marketingDetails: string;
|
|
1884
|
+
marketing: string;
|
|
1885
|
+
categoryDetails: string;
|
|
1886
|
+
sourceDetails: string;
|
|
1887
|
+
stageDetails: string;
|
|
1888
|
+
widgetsDetails: string;
|
|
1889
|
+
};
|
|
1890
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
1891
|
+
ngOnInit(): void;
|
|
1892
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1893
|
+
/** Function to call users list for newsletter */
|
|
1894
|
+
private getNewsletterInsight;
|
|
1895
|
+
ngOnDestroy(): void;
|
|
1896
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingUsersListComponent, never>;
|
|
1897
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingUsersListComponent, "pw-smart-crm-marketing-users-list", never, {}, {}, never, never, false, never>;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
1901
|
+
private readonly crmService;
|
|
1902
|
+
private readonly commonService;
|
|
1903
|
+
private readonly cdr;
|
|
1904
|
+
form: UntypedFormGroup;
|
|
1905
|
+
subscriptionId: number;
|
|
1906
|
+
user: User;
|
|
1907
|
+
id: number;
|
|
1908
|
+
data: CrmNewsLetter;
|
|
1909
|
+
crmProduct: Product;
|
|
1910
|
+
status: any[];
|
|
1911
|
+
priority: any[];
|
|
1912
|
+
source: any[];
|
|
1913
|
+
organizationSizes: any[];
|
|
1914
|
+
featureKeys: any[];
|
|
1915
|
+
labels: any[];
|
|
1916
|
+
contactSource: any[];
|
|
1917
|
+
potentials: {
|
|
1918
|
+
label: string;
|
|
1919
|
+
value: string;
|
|
1920
|
+
}[];
|
|
1921
|
+
allCommunications: any[];
|
|
1922
|
+
editorConfig: any;
|
|
1923
|
+
userNameSyntax: string;
|
|
1924
|
+
submitted: boolean;
|
|
1925
|
+
buttonBusy: boolean;
|
|
1926
|
+
isLoading: boolean;
|
|
1927
|
+
daysToNewsletterField: boolean;
|
|
1928
|
+
hasAccess: boolean;
|
|
1929
|
+
constructor(injector: Injector, crmService: CrmService, commonService: CommonService, cdr: ChangeDetectorRef);
|
|
1930
|
+
ngAfterViewInit(): void;
|
|
1931
|
+
ngOnInit(): void;
|
|
1932
|
+
private getAllCrmNewsletters;
|
|
1933
|
+
private getUserInfo;
|
|
1934
|
+
/** Function to get form controls */
|
|
1935
|
+
get f(): {
|
|
1936
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
1937
|
+
};
|
|
1938
|
+
onSave(): void;
|
|
1939
|
+
/** Function to get edit communication details */
|
|
1940
|
+
private getCommunicationDetails;
|
|
1941
|
+
/** Function to execute on location select */
|
|
1942
|
+
handleAddressChange(event: any): void;
|
|
1943
|
+
/** Function for toggle */
|
|
1944
|
+
onChange(event: boolean, formControlName: string): void;
|
|
1945
|
+
/** Function to call Crm products */
|
|
1946
|
+
private getAllCrmProducts;
|
|
1947
|
+
/** Function to call account Default Values */
|
|
1948
|
+
private accountDefaultValues;
|
|
1949
|
+
/** Function to call account size */
|
|
1950
|
+
private getAccountSize;
|
|
1951
|
+
getDefaultValues(id: number): void;
|
|
1952
|
+
/** Function on select previous newsletter */
|
|
1953
|
+
onNewsletterSelect(event: any): void;
|
|
1954
|
+
ngOnDestroy(): void;
|
|
1955
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsDetailsComponent, never>;
|
|
1956
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsDetailsComponent, "pw-smart-crm-communications-details", never, {}, {}, never, never, false, never>;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
declare class SmartCrmCommunicationsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
1960
|
+
private readonly crmService;
|
|
1961
|
+
private readonly cdr;
|
|
1962
|
+
private page;
|
|
1963
|
+
subscription: Subscription;
|
|
1964
|
+
subscriptionId: number;
|
|
1965
|
+
user: User;
|
|
1966
|
+
data: CrmNewsLetterResponse;
|
|
1967
|
+
communicationsInsight: any;
|
|
1968
|
+
communicationEngagement: Plotly.Figure;
|
|
1969
|
+
searchText: string;
|
|
1970
|
+
loading: boolean;
|
|
1971
|
+
isLoaded: boolean;
|
|
1972
|
+
routers: {
|
|
1973
|
+
accounts: string;
|
|
1974
|
+
contacts: string;
|
|
1975
|
+
accountContacts: string;
|
|
1976
|
+
accountInfo: string;
|
|
1977
|
+
addAccount: string;
|
|
1978
|
+
contactInfo: string;
|
|
1979
|
+
contactAdd: string;
|
|
1980
|
+
contactDetails: string;
|
|
1981
|
+
opportunityAdd: string;
|
|
1982
|
+
opportunities: string;
|
|
1983
|
+
opportunityInfo: string;
|
|
1984
|
+
configurationDetails: string;
|
|
1985
|
+
configurations: string;
|
|
1986
|
+
leadsDetails: string;
|
|
1987
|
+
marketingDetails: string;
|
|
1988
|
+
marketing: string;
|
|
1989
|
+
categoryDetails: string;
|
|
1990
|
+
sourceDetails: string;
|
|
1991
|
+
stageDetails: string;
|
|
1992
|
+
widgetsDetails: string;
|
|
1993
|
+
};
|
|
1994
|
+
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
1995
|
+
ngOnInit(): void;
|
|
1996
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
1997
|
+
private getUserInfo;
|
|
1998
|
+
/** Function to call all communications */
|
|
1999
|
+
private getAllCommunications;
|
|
2000
|
+
onNavigate(subscription: any, item: any): void;
|
|
2001
|
+
/** Function to delete communication */
|
|
2002
|
+
onDelete(id: number): void;
|
|
2003
|
+
/** Function to send mail */
|
|
2004
|
+
sendTestEmail(item: CrmNewsLetter): void;
|
|
2005
|
+
/** Function to call communication insight */
|
|
2006
|
+
private getCommunicationInsight;
|
|
2007
|
+
/** Function to call communication engagement */
|
|
2008
|
+
private getCommunicationEngagement;
|
|
2009
|
+
ngOnDestroy(): void;
|
|
2010
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsComponent, never>;
|
|
2011
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsComponent, "pw-smart-crm-communications", never, {}, {}, never, never, false, never>;
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
declare class SmartCrmCommunicationViewDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2015
|
+
private readonly crmService;
|
|
2016
|
+
private readonly sanitizer;
|
|
2017
|
+
private readonly cdr;
|
|
2018
|
+
id: number;
|
|
2019
|
+
subscriptionId: number;
|
|
2020
|
+
isLoaded: boolean;
|
|
2021
|
+
communicationDetails: CrmNewsLetter;
|
|
2022
|
+
constructor(injector: Injector, crmService: CrmService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
2023
|
+
ngOnInit(): void;
|
|
2024
|
+
/**subscriptionId */
|
|
2025
|
+
getSubscription(): void;
|
|
2026
|
+
/** Function to get edit communication details */
|
|
2027
|
+
private getCommunicationDetails;
|
|
2028
|
+
ngOnDestroy(): void;
|
|
2029
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationViewDetailsComponent, never>;
|
|
2030
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationViewDetailsComponent, "pw-smart-crm-communication-view-details", never, {}, {}, never, never, false, never>;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
declare class SmartCrmMarketingViewComponent extends AppBaseComponent {
|
|
2034
|
+
constructor(injector: Injector);
|
|
2035
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingViewComponent, never>;
|
|
2036
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingViewComponent, "pw-smart-crm-marketing-view", never, {}, {}, never, never, false, never>;
|
|
2037
|
+
}
|
|
2038
|
+
|
|
2039
|
+
declare class SmartCrmBoardComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2040
|
+
private readonly crmService;
|
|
2041
|
+
private readonly cdr;
|
|
2042
|
+
private draggedOpportunity;
|
|
2043
|
+
private changedStage;
|
|
2044
|
+
private availableOpportunities;
|
|
2045
|
+
private readonly pageSize;
|
|
2046
|
+
subscription: Subscription;
|
|
2047
|
+
stages: CrmStage[];
|
|
2048
|
+
masterStages: CrmStage[];
|
|
2049
|
+
allOpportunities: CrmOpportunity[];
|
|
2050
|
+
opportunitiesGroup: any[];
|
|
2051
|
+
categories: any[];
|
|
2052
|
+
selectedCategoryId: number;
|
|
2053
|
+
totalCount: number;
|
|
2054
|
+
isLoaded: boolean;
|
|
2055
|
+
routers: {
|
|
2056
|
+
accounts: string;
|
|
2057
|
+
contacts: string;
|
|
2058
|
+
accountContacts: string;
|
|
2059
|
+
accountInfo: string;
|
|
2060
|
+
addAccount: string;
|
|
2061
|
+
contactInfo: string;
|
|
2062
|
+
contactAdd: string;
|
|
2063
|
+
contactDetails: string;
|
|
2064
|
+
opportunityAdd: string;
|
|
2065
|
+
opportunities: string;
|
|
2066
|
+
opportunityInfo: string;
|
|
2067
|
+
configurationDetails: string;
|
|
2068
|
+
configurations: string;
|
|
2069
|
+
leadsDetails: string;
|
|
2070
|
+
marketingDetails: string;
|
|
2071
|
+
marketing: string;
|
|
2072
|
+
categoryDetails: string;
|
|
2073
|
+
sourceDetails: string;
|
|
2074
|
+
stageDetails: string;
|
|
2075
|
+
widgetsDetails: string;
|
|
2076
|
+
};
|
|
2077
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
2078
|
+
ngOnInit(): void;
|
|
2079
|
+
private getAllOpportunityCategories;
|
|
2080
|
+
private getStages;
|
|
2081
|
+
private getAllOpportunities;
|
|
2082
|
+
private buildStageTree;
|
|
2083
|
+
private flatten;
|
|
2084
|
+
private opportunitiesGroups;
|
|
2085
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
2086
|
+
onChangeCategory(event: any): void;
|
|
2087
|
+
onColumnScroll(columnIndex: number): void;
|
|
2088
|
+
getFirstCurrency(opportunities: any): string;
|
|
2089
|
+
dropItem(event: CdkDragDrop<object[]>): void;
|
|
2090
|
+
getConnectedList(): string[];
|
|
2091
|
+
dropGroup(event: CdkDragDrop<string[]>): void;
|
|
2092
|
+
toggleColumn(event: any, group: any): void;
|
|
2093
|
+
hasStages(): boolean;
|
|
2094
|
+
ngOnDestroy(): void;
|
|
2095
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmBoardComponent, never>;
|
|
2096
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmBoardComponent, "pw-smart-crm-board", never, {}, {}, never, never, false, never>;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
declare class SmartCrmOpportunitiesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2100
|
+
private readonly crmService;
|
|
2101
|
+
private readonly productService;
|
|
2102
|
+
private readonly cdr;
|
|
2103
|
+
form: UntypedFormGroup;
|
|
2104
|
+
id: number;
|
|
2105
|
+
subscriptionId: number;
|
|
2106
|
+
contactId: number;
|
|
2107
|
+
account_id: number;
|
|
2108
|
+
user: User;
|
|
2109
|
+
isUserSubscriptionSuperAdmin: boolean;
|
|
2110
|
+
data: any;
|
|
2111
|
+
private opportunityData;
|
|
2112
|
+
allContacts: CrmOpportunityContact[];
|
|
2113
|
+
filteredUsers: CrmOpportunityContact[];
|
|
2114
|
+
opportunities: any[];
|
|
2115
|
+
masterProductId: number;
|
|
2116
|
+
accounts: any[];
|
|
2117
|
+
filteredAccounts: CrmAccount$1[];
|
|
2118
|
+
stages: any[];
|
|
2119
|
+
masterStages: any[];
|
|
2120
|
+
categories: any[];
|
|
2121
|
+
featureKeys: any[];
|
|
2122
|
+
currencies: any[];
|
|
2123
|
+
winChance: number[];
|
|
2124
|
+
accountValueCount: number;
|
|
2125
|
+
currentAccountId: any;
|
|
2126
|
+
searchText: string;
|
|
2127
|
+
onEdit: boolean;
|
|
2128
|
+
isContactChange: boolean;
|
|
2129
|
+
TrialStartField: boolean;
|
|
2130
|
+
WonField: boolean;
|
|
2131
|
+
LostField: boolean;
|
|
2132
|
+
cancelledTrue: boolean;
|
|
2133
|
+
submitted: boolean;
|
|
2134
|
+
buttonBusy: boolean;
|
|
2135
|
+
isLoading: boolean;
|
|
2136
|
+
/** Function to get form controls */
|
|
2137
|
+
get f(): {
|
|
2138
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
2139
|
+
};
|
|
2140
|
+
constructor(injector: Injector, crmService: CrmService, productService: ProductService, cdr: ChangeDetectorRef);
|
|
2141
|
+
ngOnInit(): void;
|
|
2142
|
+
private getAvailableOpportunityStages;
|
|
2143
|
+
private getUserInfo;
|
|
2144
|
+
/** Function to call accounts */
|
|
2145
|
+
private getAllAccounts;
|
|
2146
|
+
private getFeatureKeys;
|
|
2147
|
+
/** Function to call contacts */
|
|
2148
|
+
private getAccountContacts;
|
|
2149
|
+
/** Function to get opportunities data */
|
|
2150
|
+
private getOpportunityDetails;
|
|
2151
|
+
private accountDefaultValues;
|
|
2152
|
+
/** Function to execute on submit opportunities form */
|
|
2153
|
+
onSave(): void;
|
|
2154
|
+
/** Function to get all categories */
|
|
2155
|
+
private getAllOpportunityCategories;
|
|
2156
|
+
private getValues;
|
|
2157
|
+
search(event: any): void;
|
|
2158
|
+
searchAccount(event: any): void;
|
|
2159
|
+
onCategoryChange(event: any): void;
|
|
2160
|
+
private toggleStageField;
|
|
2161
|
+
ngOnDestroy(): void;
|
|
2162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesDetailsComponent, never>;
|
|
2163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesDetailsComponent, "pw-smart-crm-opportunities-details", never, {}, {}, never, never, false, never>;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
declare class SmartCrmOpportunitiesInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2167
|
+
private readonly crmService;
|
|
2168
|
+
private readonly modalService;
|
|
2169
|
+
private readonly authService;
|
|
2170
|
+
private readonly cdr;
|
|
2171
|
+
private readonly document;
|
|
2172
|
+
subscription: Subscription;
|
|
2173
|
+
subscriptionId: number;
|
|
2174
|
+
userId: number;
|
|
2175
|
+
opportunitiesId: number;
|
|
2176
|
+
data: OpportunityData;
|
|
2177
|
+
accounts: CrmAccount[];
|
|
2178
|
+
filteredAccounts: CrmAccount[];
|
|
2179
|
+
actions: CrmAction[];
|
|
2180
|
+
actionId: number;
|
|
2181
|
+
allContacts: OpportunityContact[];
|
|
2182
|
+
filteredContacts: OpportunityContact[];
|
|
2183
|
+
opportunitiesComments: OpportunityComment[];
|
|
2184
|
+
opportunitiesVersioning: CrmVersion[];
|
|
2185
|
+
contactId: number;
|
|
2186
|
+
accountId: number;
|
|
2187
|
+
aboutControls: UntypedFormGroup;
|
|
2188
|
+
actionControls: UntypedFormGroup;
|
|
2189
|
+
options: UploaderOptions;
|
|
2190
|
+
uploadInput: EventEmitter<UploadInput>;
|
|
2191
|
+
files: UploadFile[];
|
|
2192
|
+
token: string;
|
|
2193
|
+
isLoaded: boolean;
|
|
2194
|
+
isFormEdit: boolean;
|
|
2195
|
+
hasAccess: boolean;
|
|
2196
|
+
isDisabled: boolean;
|
|
2197
|
+
updating: boolean;
|
|
2198
|
+
showFullComment: boolean;
|
|
2199
|
+
submitAction: boolean;
|
|
2200
|
+
buttonDisable: boolean;
|
|
2201
|
+
buttonBusy: boolean;
|
|
2202
|
+
submitted: boolean;
|
|
2203
|
+
dangerColor: boolean;
|
|
2204
|
+
dragOver: boolean;
|
|
2205
|
+
commentId: number;
|
|
2206
|
+
routers: {
|
|
2207
|
+
accounts: string;
|
|
2208
|
+
contacts: string;
|
|
2209
|
+
accountContacts: string;
|
|
2210
|
+
accountInfo: string;
|
|
2211
|
+
addAccount: string;
|
|
2212
|
+
contactInfo: string;
|
|
2213
|
+
contactAdd: string;
|
|
2214
|
+
contactDetails: string;
|
|
2215
|
+
opportunityAdd: string;
|
|
2216
|
+
opportunities: string;
|
|
2217
|
+
opportunityInfo: string;
|
|
2218
|
+
configurationDetails: string;
|
|
2219
|
+
configurations: string;
|
|
2220
|
+
leadsDetails: string;
|
|
2221
|
+
marketingDetails: string;
|
|
2222
|
+
marketing: string;
|
|
2223
|
+
categoryDetails: string;
|
|
2224
|
+
sourceDetails: string;
|
|
2225
|
+
stageDetails: string;
|
|
2226
|
+
widgetsDetails: string;
|
|
2227
|
+
};
|
|
2228
|
+
constructor(injector: Injector, crmService: CrmService, modalService: NgbModal, authService: AuthService, cdr: ChangeDetectorRef, document: Document);
|
|
2229
|
+
ngOnInit(): void;
|
|
2230
|
+
/** Function to call user info */
|
|
2231
|
+
private userInfo;
|
|
2232
|
+
/** Function to get opportunities details */
|
|
2233
|
+
getOpportunityDetails(): void;
|
|
2234
|
+
/** Function to update opportunities */
|
|
2235
|
+
updateOpportunities(): void;
|
|
2236
|
+
/** Function to save comment */
|
|
2237
|
+
onCommentSave(): void;
|
|
2238
|
+
showDatePicker(event: any, id: any): void;
|
|
2239
|
+
onDateSelected(): void;
|
|
2240
|
+
/** Function to get all comments */
|
|
2241
|
+
private getOpportunitiesComments;
|
|
2242
|
+
get f(): {
|
|
2243
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
2244
|
+
};
|
|
2245
|
+
get actionFormControls(): {
|
|
2246
|
+
[key: string]: _angular_forms.AbstractControl<any, any, any>;
|
|
2247
|
+
};
|
|
2248
|
+
/** Function to get the list of accounts by subscriptionId */
|
|
2249
|
+
getAccountsBySubscription(): void;
|
|
2250
|
+
/** Function to get and show all the actions */
|
|
2251
|
+
private getActions;
|
|
2252
|
+
showEditControls(event: any): void;
|
|
2253
|
+
/** Function to update the date */
|
|
2254
|
+
onDateSelect(event: any, action: any): void;
|
|
2255
|
+
/** Function to show DatePicker */
|
|
2256
|
+
showDatePickerUpdate(actionId: any): void;
|
|
2257
|
+
/** Function to set the action as completed */
|
|
2258
|
+
setAsCompletedOrUncompleted(id: any, action: any, completedOrUncompleted: any): Promise<void>;
|
|
2259
|
+
/** Function to update comment */
|
|
2260
|
+
updateComment(item: any): void;
|
|
2261
|
+
/** Function to set the action as cancelled */
|
|
2262
|
+
setAsCancelled(id: any, action: any): Promise<void>;
|
|
2263
|
+
/** Function to call contacts */
|
|
2264
|
+
getAllContacts(): void;
|
|
2265
|
+
/** search accounts */
|
|
2266
|
+
accountSearch(event: any): void;
|
|
2267
|
+
onContactSearch(event: any): void;
|
|
2268
|
+
openModal(content: any): void;
|
|
2269
|
+
onClose(): void;
|
|
2270
|
+
/** Function to get opportunities versions */
|
|
2271
|
+
private getContactVersion;
|
|
2272
|
+
onUploadOutput(output: UploadOutput): void;
|
|
2273
|
+
ngOnDestroy(): void;
|
|
2274
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInfoComponent, never>;
|
|
2275
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesInfoComponent, "pw-smart-crm-opportunities-info", never, {}, {}, never, never, false, never>;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
declare class SmartCrmOpportunitiesListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2279
|
+
private readonly crmService;
|
|
2280
|
+
private readonly cdr;
|
|
2281
|
+
private readonly productService;
|
|
2282
|
+
subscription: Subscription;
|
|
2283
|
+
subscriptionId: number;
|
|
2284
|
+
user: User;
|
|
2285
|
+
userId: number;
|
|
2286
|
+
data: CrmOpportunityResponse;
|
|
2287
|
+
totals: {
|
|
2288
|
+
total_mrr: number;
|
|
2289
|
+
};
|
|
2290
|
+
opportunitiesInsight: OpportunityInsight$1[];
|
|
2291
|
+
opportunitiesGeography: Plotly.Figure;
|
|
2292
|
+
id: string;
|
|
2293
|
+
searchText: string;
|
|
2294
|
+
searchStages: object[];
|
|
2295
|
+
searchCategories: object[];
|
|
2296
|
+
filterByStages: string[];
|
|
2297
|
+
filterByCategories: any[];
|
|
2298
|
+
page: number;
|
|
2299
|
+
stages: any[];
|
|
2300
|
+
categories: any[];
|
|
2301
|
+
loading: boolean;
|
|
2302
|
+
isLoaded: boolean;
|
|
2303
|
+
hasAccess: boolean;
|
|
2304
|
+
canViewMrr: boolean;
|
|
2305
|
+
routers: {
|
|
2306
|
+
accounts: string;
|
|
2307
|
+
contacts: string;
|
|
2308
|
+
accountContacts: string;
|
|
2309
|
+
accountInfo: string;
|
|
2310
|
+
addAccount: string;
|
|
2311
|
+
contactInfo: string;
|
|
2312
|
+
contactAdd: string;
|
|
2313
|
+
contactDetails: string;
|
|
2314
|
+
opportunityAdd: string;
|
|
2315
|
+
opportunities: string;
|
|
2316
|
+
opportunityInfo: string;
|
|
2317
|
+
configurationDetails: string;
|
|
2318
|
+
configurations: string;
|
|
2319
|
+
leadsDetails: string;
|
|
2320
|
+
marketingDetails: string;
|
|
2321
|
+
marketing: string;
|
|
2322
|
+
categoryDetails: string;
|
|
2323
|
+
sourceDetails: string;
|
|
2324
|
+
stageDetails: string;
|
|
2325
|
+
widgetsDetails: string;
|
|
2326
|
+
};
|
|
2327
|
+
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
|
|
2328
|
+
ngOnInit(): void;
|
|
2329
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
2330
|
+
/** Function to get user details */
|
|
2331
|
+
private getUserInfo;
|
|
2332
|
+
private getAllStages;
|
|
2333
|
+
onSearchOptionChange(event: any, filterBy: string): void;
|
|
2334
|
+
clearFilters(): void;
|
|
2335
|
+
private getAllOpportunities;
|
|
2336
|
+
isPastDate(date: string | Date): boolean;
|
|
2337
|
+
onDelete(id: number): void;
|
|
2338
|
+
/** Function to get available opportunities */
|
|
2339
|
+
private getAvailableOpportunityStages;
|
|
2340
|
+
/** Function to get all categories */
|
|
2341
|
+
private getAllOpportunityCategories;
|
|
2342
|
+
/** Function to call opportunities insight */
|
|
2343
|
+
private getOpportunitiesInsight;
|
|
2344
|
+
/** Function to call contact geography */
|
|
2345
|
+
private getContactGeography;
|
|
2346
|
+
checkPermission(permission: string): boolean;
|
|
2347
|
+
getMainCurrency(): string;
|
|
2348
|
+
ngOnDestroy(): void;
|
|
2349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesListComponent, never>;
|
|
2350
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesListComponent, "pw-smart-crm-opportunities-list", never, {}, {}, never, never, false, never>;
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
declare class SmartCrmOpportunitiesComponent {
|
|
2354
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesComponent, never>;
|
|
2355
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesComponent, "pw-smart-crm-opportunities", never, {}, {}, never, never, false, never>;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
declare class CrmActionsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
2359
|
+
private readonly crmService;
|
|
2360
|
+
private readonly document;
|
|
2361
|
+
private readonly cdr;
|
|
2362
|
+
private totalPendingActions;
|
|
2363
|
+
subscription: Subscription;
|
|
2364
|
+
contactId: number;
|
|
2365
|
+
userId: number;
|
|
2366
|
+
actionId: number;
|
|
2367
|
+
commentId: number;
|
|
2368
|
+
p: number;
|
|
2369
|
+
p1: number;
|
|
2370
|
+
currentPage: number;
|
|
2371
|
+
contactActions: any[];
|
|
2372
|
+
contactActionsAll: any[];
|
|
2373
|
+
accountActionSuggested: any[];
|
|
2374
|
+
allSubscriptionMembers: any[];
|
|
2375
|
+
selector: string;
|
|
2376
|
+
suggestedActionsSelector: string;
|
|
2377
|
+
isLoaded: boolean;
|
|
2378
|
+
isLoadedSuggested: boolean;
|
|
2379
|
+
showFullComment: boolean;
|
|
2380
|
+
showFilter: boolean;
|
|
2381
|
+
updating: boolean;
|
|
2382
|
+
dangerColor: boolean;
|
|
2383
|
+
routers: {
|
|
2384
|
+
accounts: string;
|
|
2385
|
+
contacts: string;
|
|
2386
|
+
accountContacts: string;
|
|
2387
|
+
accountInfo: string;
|
|
2388
|
+
addAccount: string;
|
|
2389
|
+
contactInfo: string;
|
|
2390
|
+
contactAdd: string;
|
|
2391
|
+
contactDetails: string;
|
|
2392
|
+
opportunityAdd: string;
|
|
2393
|
+
opportunities: string;
|
|
2394
|
+
opportunityInfo: string;
|
|
2395
|
+
configurationDetails: string;
|
|
2396
|
+
configurations: string;
|
|
2397
|
+
leadsDetails: string;
|
|
2398
|
+
marketingDetails: string;
|
|
2399
|
+
marketing: string;
|
|
2400
|
+
categoryDetails: string;
|
|
2401
|
+
sourceDetails: string;
|
|
2402
|
+
stageDetails: string;
|
|
2403
|
+
widgetsDetails: string;
|
|
2404
|
+
};
|
|
2405
|
+
constructor(crmService: CrmService, injector: Injector, document: Document, cdr: ChangeDetectorRef);
|
|
2406
|
+
ngOnInit(): void;
|
|
2407
|
+
onScrollPendingActions(): void;
|
|
2408
|
+
/** Function to get all actions */
|
|
2409
|
+
private getAccountActions;
|
|
2410
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
2411
|
+
/** Function to get account action suggested */
|
|
2412
|
+
private getAccountActionSuggested;
|
|
2413
|
+
editComment(event: any): void;
|
|
2414
|
+
updateComment(action: any): void;
|
|
2415
|
+
/** Function to set the action as completed */
|
|
2416
|
+
setAsCompleted(id: number, action: any, index: number): Promise<void>;
|
|
2417
|
+
/** Function to set the action as cancelled */
|
|
2418
|
+
setAsCancelled(id: number, action: any, index: number): Promise<void>;
|
|
2419
|
+
/** Function to show DatePicker */
|
|
2420
|
+
showDatePicker(actionId: number): void;
|
|
2421
|
+
/** Function to update the date */
|
|
2422
|
+
onDateSelect(event: any, action: any): void;
|
|
2423
|
+
/** Function to filter the data by user */
|
|
2424
|
+
filterByUser(userId: any): void;
|
|
2425
|
+
ngOnDestroy(): void;
|
|
2426
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrmActionsComponent, never>;
|
|
2427
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrmActionsComponent, "pw-crm-actions", never, {}, {}, never, never, false, never>;
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
declare class SmartCrmTabsComponent extends AppBaseComponent {
|
|
2431
|
+
items: MenuItem[];
|
|
2432
|
+
constructor(injector: Injector);
|
|
2433
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmTabsComponent, never>;
|
|
2434
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmTabsComponent, "pw-smart-crm-private-tabs", never, {}, {}, never, never, false, never>;
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
declare class SmartCrmPrivateRoutingModule {
|
|
2438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmPrivateRoutingModule, never>;
|
|
2439
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrmPrivateRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
2440
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartCrmPrivateRoutingModule>;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
declare class SmartCrmPrivateModule {
|
|
2444
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmPrivateModule, never>;
|
|
2445
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartCrmPrivateModule, [typeof SmartCrmTabsComponent, typeof SmartCrmCompaniesComponent, typeof SmartCrmContactComponent, typeof SmartCrmConfigurationComponent, typeof SmartCrmSettingsDetailsComponent, typeof SmartCrmContactDetailsComponent, typeof SmartCrmCompanyDetailsComponent, typeof SmartCrmInsightComponent, typeof SmartCrmContactInfoComponent, typeof SmartCrmLeadsComponent, typeof SmartCrmOpportunitiesComponent, typeof SmartCrmOpportunitiesDetailsComponent, typeof SmartCrmBoardComponent, typeof SmartCrmCommunicationsComponent, typeof SmartCrmCommunicationsInsightComponent, typeof SmartCrmAnalysisComponent, typeof SmartCrmCompanyInfoComponent, typeof SmartCrmCompanySourceComponent, typeof SmartCrmCompanyFilesComponent, typeof SmartCrmCompanyAccountInvoiceComponent, typeof SmartCrmWidgetsComponent, typeof SmartCrmCustomerSuccessComponent, typeof SmartCrmSocialMediaComponent, typeof SmartCrmCompetitionComponent, typeof SmartCrmOpportunitiesInfoComponent, typeof SmartCrmSourceDetailsComponent, typeof SmartCrmWidgetsDetailsComponent, typeof SmartCrmActionsComponent, typeof SmartCrmOpportunitiesListComponent, typeof SmartCrmContactInsightComponent, typeof SmartCrmOpportunitiesInsightComponent, typeof SmartCrmAccountInsightComponent, typeof CrmActionsComponent, typeof SmartCrmCommunicationsDetailsComponent, typeof SmartCrmCommunicationViewDetailsComponent, typeof SmartCrmLeadsDetailsComponent, typeof SmartCrmMarketingUsersListComponent, typeof SmartCrmStagesComponent, typeof SmartCrmStageDetailsComponent, typeof SmartCrmMarketingViewComponent, typeof SmartCrmOpportunityCategoriesComponent, typeof SmartCrmOpportunityCategoriesDetailsComponent], [typeof i43.CommonModule, typeof _angular_forms.FormsModule, typeof i45.NgxPaginationModule, typeof i46.PipesModule, typeof i47.InputTextModule, typeof i48.NgbTooltipModule, typeof i49.UiSwitchModule, typeof i50.DirectivesModule, typeof _angular_forms.ReactiveFormsModule, typeof i51.PlotlyViaCDNModule, typeof i52.NgxGpAutocompleteModule, typeof SmartCrmPrivateRoutingModule, typeof i54.SharedComponentsModule, typeof i55.CoreTranslocoModule, typeof i56.DragDropModule, typeof i57.QuillModule, typeof i58.NgxUploaderModule, typeof i59.InfiniteScrollModule, typeof i60.SelectModule, typeof i48.NgbNavModule, typeof i48.NgbDatepickerModule], [typeof SmartCrmTabsComponent, typeof SmartCrmCompaniesComponent, typeof SmartCrmContactComponent, typeof SmartCrmConfigurationComponent, typeof SmartCrmSettingsDetailsComponent, typeof SmartCrmContactDetailsComponent, typeof SmartCrmCompanyDetailsComponent, typeof SmartCrmInsightComponent, typeof SmartCrmContactInsightComponent, typeof SmartCrmOpportunitiesInsightComponent, typeof SmartCrmAccountInsightComponent, typeof SmartCrmAnalysisComponent, typeof SmartCrmContactInfoComponent, typeof SmartCrmLeadsComponent, typeof SmartCrmOpportunitiesComponent, typeof SmartCrmOpportunitiesDetailsComponent, typeof SmartCrmBoardComponent, typeof SmartCrmCommunicationsComponent, typeof SmartCrmCommunicationsInsightComponent, typeof SmartCrmCompanyInfoComponent, typeof SmartCrmCompanySourceComponent, typeof SmartCrmCompanyAccountInvoiceComponent, typeof SmartCrmCompanyFilesComponent, typeof SmartCrmWidgetsComponent, typeof SmartCrmCustomerSuccessComponent, typeof SmartCrmSocialMediaComponent, typeof SmartCrmCompetitionComponent, typeof SmartCrmOpportunitiesInfoComponent, typeof SmartCrmSourceDetailsComponent, typeof SmartCrmWidgetsDetailsComponent, typeof SmartCrmActionsComponent, typeof SmartCrmOpportunitiesListComponent, typeof CrmActionsComponent, typeof SmartCrmCommunicationsDetailsComponent, typeof SmartCrmCommunicationViewDetailsComponent, typeof SmartCrmLeadsDetailsComponent, typeof SmartCrmMarketingUsersListComponent, typeof SmartCrmStagesComponent, typeof SmartCrmStageDetailsComponent, typeof SmartCrmMarketingViewComponent, typeof SmartCrmOpportunityCategoriesComponent, typeof SmartCrmOpportunityCategoriesDetailsComponent]>;
|
|
2446
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartCrmPrivateModule>;
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2449
|
+
declare class CrmNewsletterConfirmationComponent implements OnInit {
|
|
2450
|
+
private readonly route;
|
|
2451
|
+
private readonly crmService;
|
|
2452
|
+
private readonly cdr;
|
|
2453
|
+
token: string;
|
|
2454
|
+
email: string;
|
|
2455
|
+
message: string;
|
|
2456
|
+
errorMsg: string;
|
|
2457
|
+
error: boolean;
|
|
2458
|
+
constructor(route: ActivatedRoute, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
2459
|
+
ngOnInit(): void;
|
|
2460
|
+
getNewsletterConfirmation(): void;
|
|
2461
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrmNewsletterConfirmationComponent, never>;
|
|
2462
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrmNewsletterConfirmationComponent, "pw-crm-newsletter-confirmation", never, {}, {}, never, never, false, never>;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
declare class CrmNewsletterUnsubscribeComponent {
|
|
2466
|
+
private readonly route;
|
|
2467
|
+
private readonly crmService;
|
|
2468
|
+
private readonly cdr;
|
|
2469
|
+
token: string;
|
|
2470
|
+
message: string;
|
|
2471
|
+
errorMsg: string;
|
|
2472
|
+
success: string;
|
|
2473
|
+
failure: string;
|
|
2474
|
+
error: boolean;
|
|
2475
|
+
constructor(route: ActivatedRoute, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
2476
|
+
getNewsletterConfirmation(): void;
|
|
2477
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrmNewsletterUnsubscribeComponent, never>;
|
|
2478
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrmNewsletterUnsubscribeComponent, "pw-crm-newsletter-unsubscribe", never, {}, {}, never, never, false, never>;
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
declare class CrmSignupComponent extends AppBaseComponent implements OnInit {
|
|
2482
|
+
private readonly authService;
|
|
2483
|
+
private readonly cdr;
|
|
2484
|
+
subject: string;
|
|
2485
|
+
productKey: string;
|
|
2486
|
+
masterProductId: any;
|
|
2487
|
+
constructor(authService: AuthService, injector: Injector, cdr: ChangeDetectorRef);
|
|
2488
|
+
ngOnInit(): void;
|
|
2489
|
+
private scrollableLeft;
|
|
2490
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrmSignupComponent, never>;
|
|
2491
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrmSignupComponent, "pw-crm-signup", never, {}, {}, never, never, false, never>;
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
declare class CrmPublicRoutingModule {
|
|
2495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrmPublicRoutingModule, never>;
|
|
2496
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrmPublicRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
2497
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrmPublicRoutingModule>;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
declare class CRMPublicModule {
|
|
2501
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CRMPublicModule, never>;
|
|
2502
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CRMPublicModule, [typeof CrmSignupComponent, typeof CrmNewsletterUnsubscribeComponent, typeof CrmNewsletterConfirmationComponent], [typeof CrmPublicRoutingModule, typeof i5.ProductsShared, typeof i6.LayoutsModule, typeof i7.TranslocoModule, typeof i43.CommonModule], never>;
|
|
2503
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CRMPublicModule>;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
export { CRMPublicModule, CrmActionsComponent, CrmNewsletterConfirmationComponent, CrmNewsletterUnsubscribeComponent, CrmPublicRoutingModule, CrmSignupComponent, SmartCrmAccountInsightComponent, SmartCrmActionsComponent, SmartCrmAnalysisComponent, SmartCrmBoardComponent, SmartCrmCommunicationViewDetailsComponent, SmartCrmCommunicationsComponent, SmartCrmCommunicationsDetailsComponent, SmartCrmCommunicationsInsightComponent, SmartCrmCompaniesComponent, SmartCrmCompanyAccountInvoiceComponent, SmartCrmCompanyDetailsComponent, SmartCrmCompanyFilesComponent, SmartCrmCompanyInfoComponent, SmartCrmCompanySourceComponent, SmartCrmCompetitionComponent, SmartCrmConfigurationComponent, SmartCrmContactComponent, SmartCrmContactDetailsComponent, SmartCrmContactInfoComponent, SmartCrmContactInsightComponent, SmartCrmCustomerSuccessComponent, SmartCrmInsightComponent, SmartCrmLeadsComponent, SmartCrmLeadsDetailsComponent, SmartCrmMarketingUsersListComponent, SmartCrmMarketingViewComponent, SmartCrmOpportunitiesComponent, SmartCrmOpportunitiesDetailsComponent, SmartCrmOpportunitiesInfoComponent, SmartCrmOpportunitiesInsightComponent, SmartCrmOpportunitiesListComponent, SmartCrmOpportunityCategoriesComponent, SmartCrmOpportunityCategoriesDetailsComponent, SmartCrmPrivateModule, SmartCrmPrivateRoutingModule, SmartCrmSettingsDetailsComponent, SmartCrmSocialMediaComponent, SmartCrmSourceDetailsComponent, SmartCrmStageDetailsComponent, SmartCrmStagesComponent, SmartCrmTabsComponent, SmartCrmWidgetsComponent, SmartCrmWidgetsDetailsComponent };
|