@solidpepper/solidpepper-service 1.0.3 → 1.0.5

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;
@@ -1452,12 +1454,17 @@ declare class UsersService {
1452
1454
  getUsers(start: number, limit: number, search: string, team: string, profil: string): rxjs.Observable<UserObject[]>;
1453
1455
  getUsersWithSort(sort: string, order: string): rxjs.Observable<UserObject[]>;
1454
1456
  getUserByUserLogin(login: string): rxjs.Observable<UserObject[]>;
1457
+ getUserAvatar(userGuid: string): rxjs.Observable<UserObject[]>;
1455
1458
  createUser(login: string, password: string, profileguid: string, language: string, active: boolean, email: string): rxjs.Observable<Object>;
1456
1459
  uploadProfilePicture(formData: FormData, login: string): rxjs.Observable<Object>;
1457
1460
  updateUserByField(userGuid: string, fieldName: string, fieldValue: string): rxjs.Observable<Object>;
1458
1461
  modifyUser(user: UserObject): rxjs.Observable<Object>;
1459
1462
  changePassword(login: string, oldPassword: string, newPassword: string): rxjs.Observable<Object>;
1460
- deleteUsers(listLogin: string[]): rxjs.Observable<Object>;
1463
+ confirmUser(param: string, alias: string): rxjs.Observable<Object>;
1464
+ forgotPassword(login: string, alias: string, isStudio: boolean): rxjs.Observable<Object>;
1465
+ checkForgotPassword(param: string, alias: string): rxjs.Observable<Object>;
1466
+ changeForgotenPassword(param: string, alias: string, newPassword: string): rxjs.Observable<Object>;
1467
+ deleteUsers(listGuid: string[]): rxjs.Observable<Object>;
1461
1468
  static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, never>;
1462
1469
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
1463
1470
  }
@@ -2567,6 +2574,49 @@ declare class Document {
2567
2574
  };
2568
2575
  }
2569
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
+
2570
2620
  declare class StripeService {
2571
2621
  private http;
2572
2622
  private _settingsService;
@@ -2579,5 +2629,5 @@ declare class StripeService {
2579
2629
  static ɵprov: i0.ɵɵInjectableDeclaration<StripeService>;
2580
2630
  }
2581
2631
 
2582
- 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 };
2583
- 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-service",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Services d'accès aux APIs Solidpepper",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.3.0",