@solidpepper/solidpepper-service 1.0.4 → 1.0.6
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/index.d.ts
CHANGED
|
@@ -32,8 +32,10 @@ declare class SettingsService {
|
|
|
32
32
|
private settings;
|
|
33
33
|
private primoTexto;
|
|
34
34
|
private headers;
|
|
35
|
+
private customToken?;
|
|
35
36
|
private alias;
|
|
36
37
|
constructor(http: HttpClient, tokenGetter?: (() => string) | undefined, injectedApiUrl?: string | undefined);
|
|
38
|
+
setToken(token: string): void;
|
|
37
39
|
getToken(): string | null;
|
|
38
40
|
updateMaintenance(): rxjs.Observable<Object>;
|
|
39
41
|
getLanguage(): any;
|
|
@@ -1453,7 +1455,7 @@ declare class UsersService {
|
|
|
1453
1455
|
getUsersWithSort(sort: string, order: string): rxjs.Observable<UserObject[]>;
|
|
1454
1456
|
getUserByUserLogin(login: string): rxjs.Observable<UserObject[]>;
|
|
1455
1457
|
getUserAvatar(userGuid: string): rxjs.Observable<UserObject[]>;
|
|
1456
|
-
createUser(login: string, password: string, profileguid: string, language: string, active: boolean, email: string): rxjs.Observable<Object>;
|
|
1458
|
+
createUser(login: string, password: string, profileguid: string, language: string, active: boolean, email: string, firstName?: string, lastName?: string): rxjs.Observable<Object>;
|
|
1457
1459
|
uploadProfilePicture(formData: FormData, login: string): rxjs.Observable<Object>;
|
|
1458
1460
|
updateUserByField(userGuid: string, fieldName: string, fieldValue: string): rxjs.Observable<Object>;
|
|
1459
1461
|
modifyUser(user: UserObject): rxjs.Observable<Object>;
|
|
@@ -2572,6 +2574,49 @@ declare class Document {
|
|
|
2572
2574
|
};
|
|
2573
2575
|
}
|
|
2574
2576
|
|
|
2577
|
+
interface DocumentComment {
|
|
2578
|
+
documentCommentGuid: string;
|
|
2579
|
+
parentCommentGuid?: string;
|
|
2580
|
+
documentPageGuid: string;
|
|
2581
|
+
x: number;
|
|
2582
|
+
y: number;
|
|
2583
|
+
width: number;
|
|
2584
|
+
height: number;
|
|
2585
|
+
commentType: string;
|
|
2586
|
+
shape?: string;
|
|
2587
|
+
svgPath?: string;
|
|
2588
|
+
color?: string;
|
|
2589
|
+
authorGuid?: string;
|
|
2590
|
+
authorName: string;
|
|
2591
|
+
commentText: string;
|
|
2592
|
+
createdAt: string;
|
|
2593
|
+
modifiedAt: string;
|
|
2594
|
+
replies: DocumentComment[];
|
|
2595
|
+
documentCommentIsArchived?: boolean;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
declare class DocumentCommentService {
|
|
2599
|
+
private http;
|
|
2600
|
+
private settingsService;
|
|
2601
|
+
constructor(http: HttpClient, settingsService: SettingsService);
|
|
2602
|
+
private getAliasQuery;
|
|
2603
|
+
getComments(documentGuid: string): Observable<DocumentComment[]>;
|
|
2604
|
+
addComment(comment: Partial<DocumentComment>): Observable<DocumentComment>;
|
|
2605
|
+
deleteComment(commentGuid: string): Observable<{
|
|
2606
|
+
success: boolean;
|
|
2607
|
+
}>;
|
|
2608
|
+
updateComment(commentGuid: string, updates: {
|
|
2609
|
+
x?: number;
|
|
2610
|
+
y?: number;
|
|
2611
|
+
color?: string;
|
|
2612
|
+
documentCommentIsArchived?: boolean;
|
|
2613
|
+
}): Observable<{
|
|
2614
|
+
success: boolean;
|
|
2615
|
+
}>;
|
|
2616
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentCommentService, never>;
|
|
2617
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentCommentService>;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2575
2620
|
declare class StripeService {
|
|
2576
2621
|
private http;
|
|
2577
2622
|
private _settingsService;
|
|
@@ -2584,5 +2629,5 @@ declare class StripeService {
|
|
|
2584
2629
|
static ɵprov: i0.ɵɵInjectableDeclaration<StripeService>;
|
|
2585
2630
|
}
|
|
2586
2631
|
|
|
2587
|
-
export { AccountsService, AttributesService, AuthService, CategoriesService, CompaniesService, CompanyService, CompletenessService, DEFAULT_PUBLICATION_STR, DEFAULT_TEMPLATEGUID, DamAssetsProfilesService, DamAssetsSelectionsService, DamAssetsService, Document, DocumentsService, EasypiechartDirective, ExportsService, FrameworkagreementsService, GenerationService, LocaleNumberPipe, LoginService, MasksService, MediaSelectionService, MenuService, NotificationServiceService, PricesTaxService, ProductSheetsService, Publication, PublicationBreak, PublicationData, PublicationDataType, PublicationPage, PublicationTemplate, PublicationsService, PublicationsTemplatesService, RightsService, SOLIDPEPPER_API_URL, SOLIDPEPPER_TOKEN_GETTER, SearchService, SettingsService, SidebarRightService, SkusService, StatusService, StripeService, SuppliersService, TeamsService, Template, TemplatesService, ThumbnailService, TimeElapsedPipe, TranslateService, TranslatorService, UsersService, ViewsService, WorkflowsDesksService, WorkflowsHistoricalService, websocketService };
|
|
2588
|
-
export type { Company, DocumentProps, PublicationDataProps, PublicationPageProps, PublicationPagesResponse, PublicationProductsResponse, PublicationProps, PublicationTemplateProps, TemplateProps };
|
|
2632
|
+
export { AccountsService, AttributesService, AuthService, CategoriesService, CompaniesService, CompanyService, CompletenessService, DEFAULT_PUBLICATION_STR, DEFAULT_TEMPLATEGUID, DamAssetsProfilesService, DamAssetsSelectionsService, DamAssetsService, Document, DocumentCommentService, DocumentsService, EasypiechartDirective, ExportsService, FrameworkagreementsService, GenerationService, LocaleNumberPipe, LoginService, MasksService, MediaSelectionService, MenuService, NotificationServiceService, PricesTaxService, ProductSheetsService, Publication, PublicationBreak, PublicationData, PublicationDataType, PublicationPage, PublicationTemplate, PublicationsService, PublicationsTemplatesService, RightsService, SOLIDPEPPER_API_URL, SOLIDPEPPER_TOKEN_GETTER, SearchService, SettingsService, SidebarRightService, SkusService, StatusService, StripeService, SuppliersService, TeamsService, Template, TemplatesService, ThumbnailService, TimeElapsedPipe, TranslateService, TranslatorService, UsersService, ViewsService, WorkflowsDesksService, WorkflowsHistoricalService, websocketService };
|
|
2633
|
+
export type { Company, DocumentComment, DocumentProps, PublicationDataProps, PublicationPageProps, PublicationPagesResponse, PublicationProductsResponse, PublicationProps, PublicationTemplateProps, TemplateProps };
|