@posiwise/enterprise-module 0.0.100 → 0.0.102
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-enterprise-module.mjs +158 -86
- package/fesm2022/posiwise-enterprise-module.mjs.map +1 -1
- package/package.json +6 -6
- package/types/posiwise-enterprise-module.d.ts +492 -0
- package/index.d.ts +0 -11
- package/lib/components/enterprise-communication-details/enterprise-communication-details.component.d.ts +0 -24
- package/lib/components/enterprise-communications/enterprise-communications.component.d.ts +0 -90
- package/lib/components/enterprise-insights/enterprise-insights.component.d.ts +0 -26
- package/lib/components/enterprise-members/enterprise-members.component.d.ts +0 -69
- package/lib/components/enterprise-partners/enterprise-partners.component.d.ts +0 -81
- package/lib/components/enterprise-subscriptions/enterprise-subscriptions.component.d.ts +0 -20
- package/lib/components/enterprise-tabs/enterprise-tabs.component.d.ts +0 -11
- package/lib/components/enterprise-wiki/enterprise-wiki.component.d.ts +0 -93
- package/lib/components/enterprise-wiki-details/enterprise-wiki-details.component.d.ts +0 -24
- package/lib/enterprise.module.d.ts +0 -31
- package/lib/interfaces/enterprise.interface.d.ts +0 -64
- package/lib/models/enterprise.model.d.ts +0 -4
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { AuthService, SubscriptionService } from '@posiwise/common-services';
|
|
6
|
-
import { Subscription, User } from '@posiwise/common-utilities';
|
|
7
|
-
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
8
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
9
|
-
import { EnterpriseMembersResponse } from '../../interfaces/enterprise.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class EnterpriseMembersComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
12
|
-
private readonly formBuilder;
|
|
13
|
-
private readonly subscriptionService;
|
|
14
|
-
private readonly authService;
|
|
15
|
-
private readonly adminService;
|
|
16
|
-
private readonly cdr;
|
|
17
|
-
private readonly token;
|
|
18
|
-
private userSubscription;
|
|
19
|
-
private page;
|
|
20
|
-
previousRolesMap: Map<number, string[]>;
|
|
21
|
-
id: number;
|
|
22
|
-
form: UntypedFormGroup;
|
|
23
|
-
emailsFormArray: UntypedFormArray;
|
|
24
|
-
user: User;
|
|
25
|
-
subscription: Subscription;
|
|
26
|
-
subscriptionOwner: number;
|
|
27
|
-
chatPermission: string;
|
|
28
|
-
hasAccess: boolean;
|
|
29
|
-
productName: string;
|
|
30
|
-
allRoles: any[];
|
|
31
|
-
subscriptionMembers: EnterpriseMembersResponse;
|
|
32
|
-
files: UploadFile[];
|
|
33
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
34
|
-
dragOver: boolean;
|
|
35
|
-
options: UploaderOptions;
|
|
36
|
-
isLoaded: boolean;
|
|
37
|
-
loading: boolean;
|
|
38
|
-
isAddEnabled: boolean;
|
|
39
|
-
availableUnits: number;
|
|
40
|
-
totalRecordsUnFiltered: number;
|
|
41
|
-
searchText: string;
|
|
42
|
-
humanizeBytes: (bytes: number) => string;
|
|
43
|
-
buttonBusy: boolean;
|
|
44
|
-
constructor(injector: Injector, formBuilder: UntypedFormBuilder, subscriptionService: SubscriptionService, authService: AuthService, adminService: AdminService, cdr: ChangeDetectorRef);
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngAfterViewChecked(): void;
|
|
47
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
48
|
-
onUploadOutput(output: UploadOutput): void;
|
|
49
|
-
private createItem;
|
|
50
|
-
addItem(): void;
|
|
51
|
-
removeItem(index: any): void;
|
|
52
|
-
/**
|
|
53
|
-
* Gets the list of members for the subscription and also shows the admins for the
|
|
54
|
-
* subscription
|
|
55
|
-
* @param page Page number
|
|
56
|
-
* @param page_size Page Size
|
|
57
|
-
*/
|
|
58
|
-
private getSubscribedUsers;
|
|
59
|
-
getSubscriptionRoles(): void;
|
|
60
|
-
filterRoles(): void;
|
|
61
|
-
onRoleChange(event: any, user: any): void;
|
|
62
|
-
private getSubscriptionDetails;
|
|
63
|
-
onSignUpMember(): void;
|
|
64
|
-
onDelete(user: User): void;
|
|
65
|
-
makeAdmin(user: any, value: boolean): void;
|
|
66
|
-
ngOnDestroy(): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseMembersComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterpriseMembersComponent, "pw-enterprise-members", never, {}, {}, never, never, false, never>;
|
|
69
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormArray, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { AuthService, ProductService, SubscriptionService } from '@posiwise/common-services';
|
|
6
|
-
import { Subscription, User } from '@posiwise/common-utilities';
|
|
7
|
-
import { UploaderOptions, UploadFile, UploadInput } from 'ngx-uploader';
|
|
8
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
9
|
-
import { AutoComplete } from 'primeng/autocomplete';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class EnterprisePartnersComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
12
|
-
private readonly formBuilder;
|
|
13
|
-
private readonly subscriptionService;
|
|
14
|
-
private readonly authService;
|
|
15
|
-
private readonly adminService;
|
|
16
|
-
private readonly productService;
|
|
17
|
-
private readonly cdr;
|
|
18
|
-
private readonly token;
|
|
19
|
-
private userSubscription;
|
|
20
|
-
private page;
|
|
21
|
-
refProduct: AutoComplete;
|
|
22
|
-
id: number;
|
|
23
|
-
subscriptionId: number;
|
|
24
|
-
form: UntypedFormGroup;
|
|
25
|
-
emailsFormArray: UntypedFormArray;
|
|
26
|
-
user: User;
|
|
27
|
-
subscription: Subscription;
|
|
28
|
-
subscriptionOwner: number;
|
|
29
|
-
chatPermission: string;
|
|
30
|
-
hasAccess: boolean;
|
|
31
|
-
filteredProducts: any[];
|
|
32
|
-
searchOptions: {
|
|
33
|
-
id: unknown;
|
|
34
|
-
label: unknown;
|
|
35
|
-
}[];
|
|
36
|
-
searchText: string;
|
|
37
|
-
productName: string;
|
|
38
|
-
allRoles: any[];
|
|
39
|
-
subscriptionPartners: any;
|
|
40
|
-
files: UploadFile[];
|
|
41
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
42
|
-
dragOver: boolean;
|
|
43
|
-
options: UploaderOptions;
|
|
44
|
-
isLoaded: boolean;
|
|
45
|
-
loading: boolean;
|
|
46
|
-
isAddEnabled: boolean;
|
|
47
|
-
invoiceFrequency: string[];
|
|
48
|
-
availableUnits: number;
|
|
49
|
-
totalRecordsUnFiltered: number;
|
|
50
|
-
totalRecords: number;
|
|
51
|
-
humanizeBytes: (bytes: number) => string;
|
|
52
|
-
buttonBusy: boolean;
|
|
53
|
-
unitsText: string;
|
|
54
|
-
currency: string;
|
|
55
|
-
constructor(injector: Injector, formBuilder: UntypedFormBuilder, subscriptionService: SubscriptionService, authService: AuthService, adminService: AdminService, productService: ProductService, cdr: ChangeDetectorRef);
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
ngAfterViewChecked(): void;
|
|
58
|
-
addItem(): void;
|
|
59
|
-
removeItem(index: any): void;
|
|
60
|
-
private createItem;
|
|
61
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
62
|
-
private getSubscribedPartners;
|
|
63
|
-
private getSubscriptionDetails;
|
|
64
|
-
getSupportedCurrency(): void;
|
|
65
|
-
onSave(): void;
|
|
66
|
-
onDelete(partner: {
|
|
67
|
-
id: number;
|
|
68
|
-
}): void;
|
|
69
|
-
onDeactivate(partner: {
|
|
70
|
-
id: number;
|
|
71
|
-
is_active: boolean;
|
|
72
|
-
}): void;
|
|
73
|
-
private getProductsList;
|
|
74
|
-
sortObj(obj: any): {};
|
|
75
|
-
searchProduct(event: any): void;
|
|
76
|
-
onProductChange(event: any): void;
|
|
77
|
-
onProductClear(_event: any): void;
|
|
78
|
-
private groupProducts;
|
|
79
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterprisePartnersComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterprisePartnersComponent, "pw-enterprise-partners", never, {}, {}, never, never, false, never>;
|
|
81
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { DataService } from '@posiwise/common-services';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EnterpriseSubscriptionsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
private readonly data;
|
|
8
|
-
subscriptions: any[];
|
|
9
|
-
message: number;
|
|
10
|
-
isLoaded: boolean;
|
|
11
|
-
subscription: Subscription;
|
|
12
|
-
userSlug: string;
|
|
13
|
-
constructor(injector: Injector, data: DataService);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
private getEnterpriseSubscription;
|
|
16
|
-
nextUrl(): void;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseSubscriptionsComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterpriseSubscriptionsComponent, "pw-enterprise-subscriptions", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EnterpriseTabsComponent extends AppBaseComponent {
|
|
6
|
-
constructor(injector: Injector);
|
|
7
|
-
activeTab: MenuItem;
|
|
8
|
-
items: MenuItem[];
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseTabsComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterpriseTabsComponent, "pw-enterprise-tabs", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { GroupService } from '@posiwise/common-services';
|
|
5
|
-
import { Subscription, User } from '@posiwise/common-utilities';
|
|
6
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
7
|
-
import { EnterPriseCommunication, EnterPriseGroup, EnterPriseGroupDefinition } from '../../interfaces/enterprise.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class EnterpriseWikiComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked, AfterViewInit {
|
|
10
|
-
private readonly groupService;
|
|
11
|
-
private readonly cdr;
|
|
12
|
-
private readonly renderer;
|
|
13
|
-
private readonly el;
|
|
14
|
-
private page;
|
|
15
|
-
groupDefinition: EnterPriseGroupDefinition[];
|
|
16
|
-
allGroups: EnterPriseGroup[];
|
|
17
|
-
allDocumentationGroups: EnterPriseGroup[];
|
|
18
|
-
allCommunication: EnterPriseCommunication[];
|
|
19
|
-
data: {
|
|
20
|
-
id?: number;
|
|
21
|
-
};
|
|
22
|
-
form: UntypedFormGroup;
|
|
23
|
-
submitted: boolean;
|
|
24
|
-
buttonBusy: boolean;
|
|
25
|
-
user: User;
|
|
26
|
-
hasAccess: boolean;
|
|
27
|
-
subscriptionId: number;
|
|
28
|
-
subscription: Subscription;
|
|
29
|
-
masterSubscriptionId: any;
|
|
30
|
-
id: number;
|
|
31
|
-
groupId: number;
|
|
32
|
-
groupName: string;
|
|
33
|
-
uploadedFiles: any[];
|
|
34
|
-
filesData: string[];
|
|
35
|
-
busy: boolean;
|
|
36
|
-
loading: boolean;
|
|
37
|
-
isLoaded: boolean;
|
|
38
|
-
filesUploaded: boolean;
|
|
39
|
-
invalidFile: boolean;
|
|
40
|
-
searchText: string;
|
|
41
|
-
totalRecords: number;
|
|
42
|
-
totalRecordsUnFiltered: number;
|
|
43
|
-
editorConfig: any;
|
|
44
|
-
isEdit: boolean;
|
|
45
|
-
isAdd: boolean;
|
|
46
|
-
constructor(groupService: GroupService, injector: Injector, cdr: ChangeDetectorRef, renderer: Renderer2, el: ElementRef);
|
|
47
|
-
ngAfterViewInit(): void;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
ngAfterViewChecked(): void;
|
|
50
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
51
|
-
/** Function to get all labels */
|
|
52
|
-
private getAllGroupDefinition;
|
|
53
|
-
/** Function to get group name and to setValue to group field if we have group_id */
|
|
54
|
-
private getParticularGroupDetails;
|
|
55
|
-
/** Function to get all communications */
|
|
56
|
-
private getAllCommunications;
|
|
57
|
-
/** Function to filter by groups */
|
|
58
|
-
filterDomainsList(): void;
|
|
59
|
-
onSave(): void;
|
|
60
|
-
/** Function to Post communications */
|
|
61
|
-
postCommunications(): void;
|
|
62
|
-
/** Function to edit communications */
|
|
63
|
-
updateCommunications(id: number): void;
|
|
64
|
-
/** Shared method to save communications (post or update) */
|
|
65
|
-
private saveCommunication;
|
|
66
|
-
/** Function to get edit communication details */
|
|
67
|
-
getCommunicationDetails(id: number): void;
|
|
68
|
-
/** Function to delete communications */
|
|
69
|
-
onDelete(id: number): void;
|
|
70
|
-
/** Function to delete communications Files */
|
|
71
|
-
deleteCommunicationFiles(id: number, index: number): void;
|
|
72
|
-
/** Helper method to confirm and execute delete operations */
|
|
73
|
-
private confirmAndExecute;
|
|
74
|
-
/** Function to get form controls */
|
|
75
|
-
get f(): {
|
|
76
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
77
|
-
};
|
|
78
|
-
/** Function to show question edit form */
|
|
79
|
-
showEditForm(): void;
|
|
80
|
-
/** Function to hide the edit form */
|
|
81
|
-
onCancel(): void;
|
|
82
|
-
/** Function for toggle */
|
|
83
|
-
onChange(event: boolean, formControlName: string): void;
|
|
84
|
-
onSelect(event?: any): void;
|
|
85
|
-
onRemove(event: any): void;
|
|
86
|
-
onUploadError(event: any): void;
|
|
87
|
-
attachCloseButtonListener(): void;
|
|
88
|
-
handleCloseButtonClick(): void;
|
|
89
|
-
saveFile(id: number): void;
|
|
90
|
-
ngOnDestroy(): void;
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseWikiComponent, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterpriseWikiComponent, "pw-enterprise-wiki", never, {}, {}, never, never, false, never>;
|
|
93
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { GroupService } from '@posiwise/common-services';
|
|
5
|
-
import { EnterPriseCommunication } from '../../interfaces/enterprise.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class EnterpriseWikiDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
-
private readonly groupService;
|
|
9
|
-
private readonly sanitizer;
|
|
10
|
-
id: number;
|
|
11
|
-
communicationId: number;
|
|
12
|
-
communicationDetails: EnterPriseCommunication;
|
|
13
|
-
isLoaded: boolean;
|
|
14
|
-
chatPermission: string;
|
|
15
|
-
constructor(injector: Injector, groupService: GroupService, sanitizer: DomSanitizer);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
/** Function to call communication */
|
|
18
|
-
private getCommunication;
|
|
19
|
-
onCancel(): void;
|
|
20
|
-
trackByFileId(_index: number, item: any): any;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseWikiDetailsComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnterpriseWikiDetailsComponent, "pw-enterprise-wiki-details", never, {}, {}, never, never, false, never>;
|
|
24
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./components/enterprise-subscriptions/enterprise-subscriptions.component";
|
|
3
|
-
import * as i2 from "./components/enterprise-members/enterprise-members.component";
|
|
4
|
-
import * as i3 from "./components/enterprise-partners/enterprise-partners.component";
|
|
5
|
-
import * as i4 from "./components/enterprise-tabs/enterprise-tabs.component";
|
|
6
|
-
import * as i5 from "./components/enterprise-insights/enterprise-insights.component";
|
|
7
|
-
import * as i6 from "./components/enterprise-communications/enterprise-communications.component";
|
|
8
|
-
import * as i7 from "./components/enterprise-communication-details/enterprise-communication-details.component";
|
|
9
|
-
import * as i8 from "./components/enterprise-wiki/enterprise-wiki.component";
|
|
10
|
-
import * as i9 from "./components/enterprise-wiki-details/enterprise-wiki-details.component";
|
|
11
|
-
import * as i10 from "@angular/common";
|
|
12
|
-
import * as i11 from "primeng/inputtext";
|
|
13
|
-
import * as i12 from "@posiwise/core-transloco";
|
|
14
|
-
import * as i13 from "angular-plotly.js";
|
|
15
|
-
import * as i14 from "@ng-bootstrap/ng-bootstrap";
|
|
16
|
-
import * as i15 from "ngx-ui-switch";
|
|
17
|
-
import * as i16 from "@angular/forms";
|
|
18
|
-
import * as i17 from "primeng/select";
|
|
19
|
-
import * as i18 from "primeng/fileupload";
|
|
20
|
-
import * as i19 from "@posiwise/pipes";
|
|
21
|
-
import * as i20 from "@posiwise/directives";
|
|
22
|
-
import * as i21 from "@posiwise/shared-components";
|
|
23
|
-
import * as i22 from "@angular/router";
|
|
24
|
-
import * as i23 from "ngx-uploader";
|
|
25
|
-
import * as i24 from "primeng/multiselect";
|
|
26
|
-
import * as i25 from "ngx-quill";
|
|
27
|
-
export declare class EnterpriseModule {
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EnterpriseModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EnterpriseModule, [typeof i1.EnterpriseSubscriptionsComponent, typeof i2.EnterpriseMembersComponent, typeof i3.EnterprisePartnersComponent, typeof i4.EnterpriseTabsComponent, typeof i5.EnterpriseInsightsComponent, typeof i6.EnterpriseCommunicationsComponent, typeof i7.EnterpriseViewParticularCommunicationComponent, typeof i8.EnterpriseWikiComponent, typeof i9.EnterpriseWikiDetailsComponent], [typeof i10.CommonModule, typeof i11.InputTextModule, typeof i12.CoreTranslocoModule, typeof i13.PlotlyViaCDNModule, typeof i14.NgbTooltipModule, typeof i15.UiSwitchModule, typeof i16.FormsModule, typeof i17.SelectModule, typeof i18.FileUploadModule, typeof i16.ReactiveFormsModule, typeof i19.PipesModule, typeof i20.DirectivesModule, typeof i21.SharedComponentsModule, typeof i22.RouterModule, typeof i23.NgxUploaderModule, typeof i24.MultiSelectModule, typeof i25.QuillModule], never>;
|
|
30
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EnterpriseModule>;
|
|
31
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export interface EnterPriseCommunication {
|
|
2
|
-
id: number;
|
|
3
|
-
group_id: number;
|
|
4
|
-
body: string;
|
|
5
|
-
visible_globally: false;
|
|
6
|
-
created_at: string;
|
|
7
|
-
user_id: number;
|
|
8
|
-
title: string;
|
|
9
|
-
published: boolean;
|
|
10
|
-
pushed: boolean;
|
|
11
|
-
communication_type: string;
|
|
12
|
-
pushed_at: string;
|
|
13
|
-
group_communication_files: object[];
|
|
14
|
-
author: object;
|
|
15
|
-
group: EnterPriseGroup;
|
|
16
|
-
}
|
|
17
|
-
interface EnterPriseMember {
|
|
18
|
-
id: number;
|
|
19
|
-
first_name: string;
|
|
20
|
-
last_name: string;
|
|
21
|
-
email: string;
|
|
22
|
-
current_sign_in_at: string;
|
|
23
|
-
last_sign_in_at: string;
|
|
24
|
-
signed_up_at: string;
|
|
25
|
-
slug: string;
|
|
26
|
-
enable_two_factor_authenticator: boolean;
|
|
27
|
-
beta: boolean;
|
|
28
|
-
alpha: boolean;
|
|
29
|
-
blocked: boolean;
|
|
30
|
-
warnings: string;
|
|
31
|
-
welcomed_at: boolean;
|
|
32
|
-
has_password: boolean;
|
|
33
|
-
is_super_admin: boolean;
|
|
34
|
-
has_stripe_account: boolean;
|
|
35
|
-
joined_at: string;
|
|
36
|
-
user_groups: object[];
|
|
37
|
-
user_roles: {
|
|
38
|
-
id: number;
|
|
39
|
-
}[];
|
|
40
|
-
user_avatar: string;
|
|
41
|
-
}
|
|
42
|
-
export interface EnterPriseGroup {
|
|
43
|
-
id: number;
|
|
44
|
-
name: string;
|
|
45
|
-
description: string;
|
|
46
|
-
group_definition_id: number;
|
|
47
|
-
members: EnterPriseMember[];
|
|
48
|
-
}
|
|
49
|
-
export interface EnterPriseGroupDefinition {
|
|
50
|
-
id: number;
|
|
51
|
-
name: string;
|
|
52
|
-
description: string;
|
|
53
|
-
related_entity_id: number;
|
|
54
|
-
related_entity_type: string;
|
|
55
|
-
groups: EnterPriseGroup[];
|
|
56
|
-
}
|
|
57
|
-
export interface EnterpriseMembersResponse {
|
|
58
|
-
members: EnterPriseMember[];
|
|
59
|
-
object_count: number;
|
|
60
|
-
unfiltered_count: number;
|
|
61
|
-
owner_id: number;
|
|
62
|
-
admins: number[];
|
|
63
|
-
}
|
|
64
|
-
export {};
|