@solidpepper/solidpepper-service 1.0.0 → 1.0.2
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/solidpepper-solidpepper-service.mjs +6169 -3498
- package/fesm2022/solidpepper-solidpepper-service.mjs.map +1 -1
- package/index.d.ts +1247 -162
- package/package.json +3 -2
package/index.d.ts
CHANGED
|
@@ -2,13 +2,14 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { NgZone, PipeTransform, OnInit, OnChanges, ElementRef, Renderer2, SimpleChanges } from '@angular/core';
|
|
5
|
+
import { InjectionToken, NgZone, TemplateRef, ViewContainerRef, PipeTransform, OnInit, OnChanges, ElementRef, Renderer2, SimpleChanges } from '@angular/core';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { TranslateService as TranslateService$1 } from '@ngx-translate/core';
|
|
8
|
-
import {
|
|
8
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
9
9
|
import * as signalR from '@aspnet/signalr';
|
|
10
10
|
import * as _angular_material_sidenav from '@angular/material/sidenav';
|
|
11
11
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
12
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
12
13
|
|
|
13
14
|
declare class RightsService {
|
|
14
15
|
private rightsAccessModule;
|
|
@@ -19,8 +20,12 @@ declare class RightsService {
|
|
|
19
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<RightsService>;
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
declare const SOLIDPEPPER_TOKEN_GETTER: InjectionToken<() => string>;
|
|
24
|
+
declare const SOLIDPEPPER_API_URL: InjectionToken<string>;
|
|
22
25
|
declare class SettingsService {
|
|
23
26
|
private http;
|
|
27
|
+
private tokenGetter?;
|
|
28
|
+
private injectedApiUrl?;
|
|
24
29
|
private user;
|
|
25
30
|
private app;
|
|
26
31
|
private layout;
|
|
@@ -28,7 +33,7 @@ declare class SettingsService {
|
|
|
28
33
|
private primoTexto;
|
|
29
34
|
private headers;
|
|
30
35
|
private alias;
|
|
31
|
-
constructor(http: HttpClient);
|
|
36
|
+
constructor(http: HttpClient, tokenGetter?: (() => string) | undefined, injectedApiUrl?: string | undefined);
|
|
32
37
|
getToken(): string | null;
|
|
33
38
|
updateMaintenance(): rxjs.Observable<Object>;
|
|
34
39
|
getLanguage(): any;
|
|
@@ -46,9 +51,9 @@ declare class SettingsService {
|
|
|
46
51
|
getAlias(): string;
|
|
47
52
|
setAlias(alias: string): void;
|
|
48
53
|
getLogin(alias: string): void;
|
|
49
|
-
getRightsAccesModuleFromApi(login: string): rxjs.Observable<Object>;
|
|
54
|
+
getRightsAccesModuleFromApi(login: string, companyGuid?: string | null): rxjs.Observable<Object>;
|
|
50
55
|
getRightsAccesModuleForOneProfile(profileGuid: any): rxjs.Observable<Object>;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService,
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsService, [null, { optional: true; }, { optional: true; }]>;
|
|
52
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<SettingsService>;
|
|
53
58
|
}
|
|
54
59
|
|
|
@@ -198,7 +203,7 @@ declare class MenuService {
|
|
|
198
203
|
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
199
204
|
}
|
|
200
205
|
|
|
201
|
-
declare class
|
|
206
|
+
declare class CompanyService {
|
|
202
207
|
private http;
|
|
203
208
|
private _settingsService;
|
|
204
209
|
constructor(http: HttpClient, _settingsService: SettingsService);
|
|
@@ -206,13 +211,13 @@ declare class CompaniesService {
|
|
|
206
211
|
getActiveSession(): rxjs.Observable<Object>;
|
|
207
212
|
updateField(settingGuid: any, fieldName: any, fieldValue: any): rxjs.Observable<Object>;
|
|
208
213
|
uploadLogo(settingGuid: string): rxjs.Observable<Object>;
|
|
209
|
-
getConnections(start: string, limit: string, login: string, sort: string, direction: string): rxjs.Observable<Object>;
|
|
214
|
+
getConnections(start: string | number, limit: string | number, login: string, sort: string, direction: string): rxjs.Observable<Object>;
|
|
210
215
|
addConnection(login: any): rxjs.Observable<Object>;
|
|
211
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
212
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompanyService, never>;
|
|
217
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CompanyService>;
|
|
213
218
|
}
|
|
214
219
|
|
|
215
|
-
declare class NotificationServiceService {
|
|
220
|
+
declare class NotificationServiceService$1 {
|
|
216
221
|
private _settingsService;
|
|
217
222
|
private http;
|
|
218
223
|
private quantity;
|
|
@@ -227,15 +232,15 @@ declare class NotificationServiceService {
|
|
|
227
232
|
open(): Promise<_angular_material_sidenav.MatDrawerToggleResult> | undefined;
|
|
228
233
|
close(): Promise<_angular_material_sidenav.MatDrawerToggleResult> | undefined;
|
|
229
234
|
toggle(): void;
|
|
230
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationServiceService, never>;
|
|
231
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceService>;
|
|
235
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationServiceService$1, never>;
|
|
236
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceService$1>;
|
|
232
237
|
}
|
|
233
238
|
|
|
234
239
|
declare class websocketService {
|
|
235
240
|
private _settings;
|
|
236
241
|
_router: Router;
|
|
237
242
|
private rights;
|
|
238
|
-
_notification: NotificationServiceService;
|
|
243
|
+
_notification: NotificationServiceService$1;
|
|
239
244
|
private ngZone;
|
|
240
245
|
connection: signalR.HubConnection;
|
|
241
246
|
isConnected: boolean;
|
|
@@ -243,7 +248,7 @@ declare class websocketService {
|
|
|
243
248
|
informationMessage: any;
|
|
244
249
|
deliberateDisconnect: boolean;
|
|
245
250
|
room: any;
|
|
246
|
-
constructor(_settings: SettingsService, _router: Router, rights: RightsService, _notification: NotificationServiceService, ngZone: NgZone);
|
|
251
|
+
constructor(_settings: SettingsService, _router: Router, rights: RightsService, _notification: NotificationServiceService$1, ngZone: NgZone);
|
|
247
252
|
initConnection(): void;
|
|
248
253
|
connect(): void;
|
|
249
254
|
listeners(): void;
|
|
@@ -258,13 +263,14 @@ declare class AuthService {
|
|
|
258
263
|
private http;
|
|
259
264
|
private _settingsService;
|
|
260
265
|
private _companies;
|
|
261
|
-
private
|
|
266
|
+
private dialog;
|
|
262
267
|
private _webSocket;
|
|
268
|
+
private modalService;
|
|
263
269
|
private tokenPotential;
|
|
264
270
|
private accountSetting;
|
|
265
271
|
private authenticateObjectWithRight;
|
|
266
272
|
closeModal: string;
|
|
267
|
-
constructor(myRoute: Router, http: HttpClient, _settingsService: SettingsService, _companies:
|
|
273
|
+
constructor(myRoute: Router, http: HttpClient, _settingsService: SettingsService, _companies: CompanyService, dialog: MatDialog, _webSocket: websocketService, modalService: NgbModal);
|
|
268
274
|
getAccountSetting(): any;
|
|
269
275
|
setAccountSetting(accountSetting: any): void;
|
|
270
276
|
sendToken(token: string): void;
|
|
@@ -279,6 +285,8 @@ declare class AuthService {
|
|
|
279
285
|
}): void;
|
|
280
286
|
getRightFromApi(): rxjs.Observable<Object>;
|
|
281
287
|
getRighFromAngularService(rightName: string | number): any;
|
|
288
|
+
triggerModalMatDialog(content: TemplateRef<any>, viewContainerRef?: ViewContainerRef): Promise<any>;
|
|
289
|
+
closeAllModalMatDialog(): void;
|
|
282
290
|
triggerModal(content: any): Promise<any>;
|
|
283
291
|
closeAllModal(): void;
|
|
284
292
|
private getDismissReason;
|
|
@@ -292,6 +300,62 @@ declare class AuthService {
|
|
|
292
300
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
293
301
|
}
|
|
294
302
|
|
|
303
|
+
interface Company {
|
|
304
|
+
companyGuid: string;
|
|
305
|
+
companyName: string;
|
|
306
|
+
companyAlias?: string;
|
|
307
|
+
companyUrl?: string;
|
|
308
|
+
companyCreatedAt?: string;
|
|
309
|
+
companyModifiedAt?: string;
|
|
310
|
+
companySubscriptionGuid?: string;
|
|
311
|
+
companyAddress?: string;
|
|
312
|
+
companyAddress2?: string;
|
|
313
|
+
companyAddress3?: string;
|
|
314
|
+
companyZipCode?: string;
|
|
315
|
+
companyCity?: string;
|
|
316
|
+
companyState?: string;
|
|
317
|
+
companyCountry?: string;
|
|
318
|
+
companyRegistrationNumber?: string;
|
|
319
|
+
companyVatNumber?: string;
|
|
320
|
+
companyIndustryCode?: string;
|
|
321
|
+
companyPhone?: string;
|
|
322
|
+
companyLanguage?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
declare class CompaniesService {
|
|
326
|
+
private http;
|
|
327
|
+
private _settingsService;
|
|
328
|
+
constructor(http: HttpClient, _settingsService: SettingsService);
|
|
329
|
+
getCompaniesByUser(): Observable<Company[]>;
|
|
330
|
+
getCompanies(start?: number, limit?: number, search?: string, sort?: string, direction?: string): Observable<{
|
|
331
|
+
data: Company[];
|
|
332
|
+
total: number;
|
|
333
|
+
}>;
|
|
334
|
+
getUsersByCompany(companyGuid: any, start?: number, limit?: number): Observable<{
|
|
335
|
+
success: boolean;
|
|
336
|
+
data: any[];
|
|
337
|
+
total: number;
|
|
338
|
+
}>;
|
|
339
|
+
getCurrentCompany(): Observable<Company>;
|
|
340
|
+
getCompanyUsages(productSheetAssetGuid?: string, productSheetGuid?: string): Observable<Object>;
|
|
341
|
+
updateCompany(companyGuid: any, companyName: string, companyAddress?: string | null, companyAddress2?: string | null, companyAddress3?: string | null, companyZipCode?: string | null, companyCity?: string | null, companyState?: string | null, companyCountry?: string | null, companyRegistrationNumber?: string | null, companyVatNumber?: string | null, companyIndustryCode?: string | null, companyPhone?: string | null, companyLanguage?: string | null): Observable<Object>;
|
|
342
|
+
createCompany(companyName: string, companyAlias?: string | null, companyLanguage?: string): Observable<{
|
|
343
|
+
success: boolean;
|
|
344
|
+
data?: string;
|
|
345
|
+
message?: string;
|
|
346
|
+
}>;
|
|
347
|
+
addUserToCompany(userGuid: string, companyGuid: string, role: 'ADMIN' | 'EDITOR' | 'READER', userLogin?: string): Observable<any>;
|
|
348
|
+
addUserToCompany(userGuid: null | undefined, companyGuid: string, role: 'ADMIN' | 'EDITOR' | 'READER', userLogin: string): Observable<any>;
|
|
349
|
+
switchCompany(companyGuid: string): Observable<Object>;
|
|
350
|
+
modifyCompany(company: any): Observable<any>;
|
|
351
|
+
upsertCompanyUser(userGuid: string, companyGuid: string, profileGuid: string): Observable<any>;
|
|
352
|
+
deleteCompanies(companiesGuids: string[]): Observable<Object>;
|
|
353
|
+
removeUserFromCompany(userGuid: string, companyGuid: string): Observable<Object>;
|
|
354
|
+
deleteCompanyUser(userGuid: string, companyGuid: string): Observable<any>;
|
|
355
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CompaniesService, never>;
|
|
356
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CompaniesService>;
|
|
357
|
+
}
|
|
358
|
+
|
|
295
359
|
declare class TeamsService {
|
|
296
360
|
private http;
|
|
297
361
|
private _settings;
|
|
@@ -655,52 +719,6 @@ declare class ExportsService {
|
|
|
655
719
|
static ɵprov: i0.ɵɵInjectableDeclaration<ExportsService>;
|
|
656
720
|
}
|
|
657
721
|
|
|
658
|
-
declare class PublicationsTemplatesService {
|
|
659
|
-
private auth;
|
|
660
|
-
private _settingsService;
|
|
661
|
-
private http;
|
|
662
|
-
private _webSocket;
|
|
663
|
-
constructor(auth: AuthService, _settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
664
|
-
duplicatePublicationTemplate(name: string, duplicateGuid: string): rxjs.Observable<Object>;
|
|
665
|
-
deletePublicationTemplate(publicationtemplateguid: string): rxjs.Observable<Object>;
|
|
666
|
-
templateSetDefault(templateId: any, assetGuid: any, defaultType: any, defaultGuid: any): rxjs.Observable<Object>;
|
|
667
|
-
createTemplate(folderGuid: any, templateName: any): rxjs.Observable<Object>;
|
|
668
|
-
duplicateTemplate(duplicateGuid: string, name: string): rxjs.Observable<Object>;
|
|
669
|
-
renamePublicationTemplate(publicationTemplateGuid: any, fieldValue: any, templateId: any): rxjs.Observable<Object>;
|
|
670
|
-
updatePublicationTemplateBackgroundLink(publicationTemplateGuid: any, fieldValue: any, templateId: any): rxjs.Observable<Object>;
|
|
671
|
-
addPublicationTemplate(templateId: string, name: string, type: string, formatName: string, linkedBackgroundGuid: string, width: number, height: number): rxjs.Observable<Object>;
|
|
672
|
-
getTemplateDimensions(): rxjs.Observable<Object>;
|
|
673
|
-
getTemplateByAssetguid(assetguid: string): rxjs.Observable<Object>;
|
|
674
|
-
getTemplate(templateId: string): rxjs.Observable<Object>;
|
|
675
|
-
getTemplateBackgrounds(templateId: string): rxjs.Observable<Object>;
|
|
676
|
-
getTemplateProductBlocks(templateId: string): rxjs.Observable<Object>;
|
|
677
|
-
getTemplateCoverpages(templateId: string): rxjs.Observable<Object>;
|
|
678
|
-
getTemplateMarketings(templateId: string): rxjs.Observable<Object>;
|
|
679
|
-
getFoldersWithParent(parent: string, showEmptyFolders?: boolean, folderType?: string): rxjs.Observable<Object>;
|
|
680
|
-
getInfoFolder(folderGuid: string): rxjs.Observable<Object>;
|
|
681
|
-
getFoldersOnLevelOne(showEmptyFolders?: boolean, folderType?: string): rxjs.Observable<Object>;
|
|
682
|
-
getAssetByGuid(assetguid: string): rxjs.Observable<Object>;
|
|
683
|
-
getStatus(type: string): rxjs.Observable<Object>;
|
|
684
|
-
getAssetsByFolderGuid(folderGuid: string, start: string, limit: string, sort?: string, direction?: string): rxjs.Observable<Object>;
|
|
685
|
-
getAssetsByOnLevelOne(start: string, limit: string, search: any, status?: string, sort?: string, direction?: string): rxjs.Observable<Object>;
|
|
686
|
-
getOutOfTrash(listingAssetToMoveOutOfTrash: any): rxjs.Observable<Object>;
|
|
687
|
-
assignTeamsToFolder(folderGuid: any, tabGuidTeams: any, subfolderImpact?: boolean, sendNotification?: boolean): rxjs.Observable<Object>;
|
|
688
|
-
assignStatus(guid: any, status: any): rxjs.Observable<Object>;
|
|
689
|
-
createFolder(folderName: any, folderParentGuid: any, folderType?: string): rxjs.Observable<Object>;
|
|
690
|
-
createFolderLevelOne(folderName: any): rxjs.Observable<Object>;
|
|
691
|
-
modifyFolder(folderGuid: any, folderName: any): rxjs.Observable<Object>;
|
|
692
|
-
renameAsset(assetGuid: any, assetNewName: any): rxjs.Observable<Object>;
|
|
693
|
-
updateFieldForAsset(assetGuid: any, fieldName: any, fieldValue: any): rxjs.Observable<Object>;
|
|
694
|
-
moveAssetToFolder(folderGuid: string, listingAssetToMove: any): rxjs.Observable<Object>;
|
|
695
|
-
moveAssetToHome(listingAssetToMove: any): rxjs.Observable<Object>;
|
|
696
|
-
moveFolderToAnotherFolder(sourceFolderGuid: string, destinationFolderGuid: string): rxjs.Observable<Object>;
|
|
697
|
-
moveToTrash(listingAssetToMoveTrashbin: any): rxjs.Observable<Object>;
|
|
698
|
-
deleteFolder(folderGuid: string): rxjs.Observable<Object>;
|
|
699
|
-
deleteAssets(listingAssetToDelete: any): rxjs.Observable<Object>;
|
|
700
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsTemplatesService, never>;
|
|
701
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsTemplatesService>;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
722
|
declare class LocaleNumberPipe implements PipeTransform {
|
|
705
723
|
transform(value: number, language: string): any;
|
|
706
724
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleNumberPipe, never>;
|
|
@@ -1129,101 +1147,6 @@ declare class FrameworkagreementsService {
|
|
|
1129
1147
|
static ɵprov: i0.ɵɵInjectableDeclaration<FrameworkagreementsService>;
|
|
1130
1148
|
}
|
|
1131
1149
|
|
|
1132
|
-
declare class PublicationsService {
|
|
1133
|
-
private _settingsService;
|
|
1134
|
-
private http;
|
|
1135
|
-
private _webSocket;
|
|
1136
|
-
constructor(_settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
1137
|
-
isPresent(publicationId: any, guid: any, isSku: any): Observable<Object>;
|
|
1138
|
-
linkPublication(publicationId: string): Observable<Object>;
|
|
1139
|
-
designModelsPublication(publicationId: string): Observable<Object>;
|
|
1140
|
-
getAllPagesByPublication(publicationId: string, language: string): Observable<Object>;
|
|
1141
|
-
getExportEasycatalog(publicationId: string): Observable<Object>;
|
|
1142
|
-
getDataSheets(source: string, sourceGuid: string, language: string, hd?: boolean, youbooky?: boolean): Observable<Object>;
|
|
1143
|
-
getXML(publicationId: any, lang: any): Observable<Object>;
|
|
1144
|
-
getGabarit(): Observable<Object>;
|
|
1145
|
-
getPublications(): Observable<Object>;
|
|
1146
|
-
getPublicationByFolderGuid(publicationFolderGuid: string | null): Observable<Object>;
|
|
1147
|
-
getPublication(publicationId: string): Observable<Object>;
|
|
1148
|
-
flatPlanProblem(publicationId: string): Observable<Object>;
|
|
1149
|
-
getPageOfPublication(publicationId: string): Observable<Object>;
|
|
1150
|
-
getSkuForThisPage(publicationId: string, guid: string, limit?: number): Observable<Object>;
|
|
1151
|
-
getResponsibles(): Observable<Object>;
|
|
1152
|
-
getFoldersPublication(folderParentGuid: string): Observable<Object>;
|
|
1153
|
-
getInfoFolderInPublication(folderGuid: string): Observable<Object>;
|
|
1154
|
-
getTemplates(start: number, limit: number, searchWord?: string, typeSelected?: string, columnSort?: string, direction?: string, active?: boolean, delautTemplate?: boolean): Observable<Object>;
|
|
1155
|
-
getTemplate(templateGuid: any): Observable<Object>;
|
|
1156
|
-
getTemplateDimensions(): Observable<Object>;
|
|
1157
|
-
createFolderPublication(folderName: any, folderParentGuid: any): Observable<Object>;
|
|
1158
|
-
createPublication(publicationReference: any, publicationName: any, folderGuid: any, publicationTemplateId: number | undefined, ratebase: number | undefined, pricelistguid: string | undefined, accountguid: null | undefined, language: any): Observable<Object>;
|
|
1159
|
-
createPublicationDeal(publicationId: any): Observable<Object>;
|
|
1160
|
-
createGabarit(listingUidToUpdateGabarit: any, gabarit: any): Observable<Object>;
|
|
1161
|
-
createProductInPublication(objForLinkProductsToPublication: any): Observable<Object>;
|
|
1162
|
-
checkProductInPublication(objForLinkProductsToPublication: any, idTemplate: any): Observable<Object>;
|
|
1163
|
-
checkExcludeProductInPublication(objForLinkProductsToPublication: any): Observable<Object>;
|
|
1164
|
-
duplicatePublication(publicationId: any, publicationReference: any, publicationName: any, publicationFolderGuid?: null, ratebase?: null, pricelistguid?: null, accountguid?: null): Observable<Object>;
|
|
1165
|
-
addTemplate(name: string, type: string, isActive: boolean, formatName: string, linkedBackgroundGuid: string): Observable<Object>;
|
|
1166
|
-
duplicateTemplate(name: string, duplicateGuid: string): Observable<Object>;
|
|
1167
|
-
updateFieldForPublication(publicationId: any, fieldName: any, fieldValue: any, attribute: any, language: any): Observable<Object>;
|
|
1168
|
-
updateFieldForPublicationPages(publicationId: any, fieldName: any, fieldValue: any, attribute: any, language: any): Observable<Object>;
|
|
1169
|
-
updateFieldForPublicationDatas(dataUid: any, fieldName: any, fieldValue: any, attribute: any, language: any): Observable<Object>;
|
|
1170
|
-
updateFolderPublication(folderGuid: any, folderName: any): Observable<Object>;
|
|
1171
|
-
updateFieldOfItems(itemTabGuid: any, nameField: any, valueField: any): Observable<Object>;
|
|
1172
|
-
moveFolderPublication(sourceFolderGuid: string, destinationFolderGuid: string): Observable<Object>;
|
|
1173
|
-
movePublication(publicationId: any, destinationFolderGuid: any): Observable<Object>;
|
|
1174
|
-
setPublicationTemplateId(publicationId: any, templateId: any): Observable<Object>;
|
|
1175
|
-
setPublicationCover(publicationId: any, covername: string): Observable<Object>;
|
|
1176
|
-
setPublicationStartPage(publicationId: any, startPageNumber: any): Observable<Object>;
|
|
1177
|
-
assignTeamsToFolder(folderGuid: any, tabGuidTeams: any, subfolderImpact?: boolean): Observable<Object>;
|
|
1178
|
-
updateOrCreatePageInPublication(pageObject: {
|
|
1179
|
-
publicationId: any;
|
|
1180
|
-
id: any;
|
|
1181
|
-
name: any;
|
|
1182
|
-
width: any;
|
|
1183
|
-
backgroundPreview: any;
|
|
1184
|
-
height: any;
|
|
1185
|
-
statuts: any;
|
|
1186
|
-
spreadName: any;
|
|
1187
|
-
number: any;
|
|
1188
|
-
printNumber: any;
|
|
1189
|
-
isStatic: any;
|
|
1190
|
-
lastUpdate: any;
|
|
1191
|
-
publicationPageType: any;
|
|
1192
|
-
}): Observable<Object>;
|
|
1193
|
-
updatePublicationField(publicationId: any, fieldName: any, fieldValue: any): Observable<Object>;
|
|
1194
|
-
updatePublicationDataField(dataUid: any, fieldName: any, fieldValue: any): Observable<Object>;
|
|
1195
|
-
moveSections(id: any, number: any): Observable<Object>;
|
|
1196
|
-
moveSkusGroupInPage(skusData: {
|
|
1197
|
-
uid: string;
|
|
1198
|
-
number: number;
|
|
1199
|
-
}[]): Observable<Object>;
|
|
1200
|
-
updateTemplateField(publicationTemplateGuid: any, fieldName: any, fieldValue: any): Observable<Object>;
|
|
1201
|
-
deletePublication(publicationId: string): Observable<Object>;
|
|
1202
|
-
deletePublicationFolder(listingFolderToDelete: any): Observable<Object>;
|
|
1203
|
-
deletePublicationFolderById(guid: string): Observable<Object>;
|
|
1204
|
-
deletePublicationByTabOfId(listingPublicationToDelete: any): Observable<Object>;
|
|
1205
|
-
deletePagesInPublication(listingPagesToDelete: any): Observable<Object>;
|
|
1206
|
-
deleteProductInPublication(listingSkusGroupsUidToDelete: any): Observable<Object>;
|
|
1207
|
-
upsertExcludeSkuGuids(publicationId: any, page: any, sku: any, skuGuidsExcludesCheck: any): Observable<Object>;
|
|
1208
|
-
deleteTemplate(listingTemplateGuidToDelete: Array<string>): Observable<Object>;
|
|
1209
|
-
getFieldsPublications(): Observable<Object>;
|
|
1210
|
-
getSkuForThisPagePreview(sourceId: string, sectionKey: string, language: string, ratebase: string, priceListGuid: string, accountGuid: string, limit?: number): Observable<Object>;
|
|
1211
|
-
getSkuPreview(sourceId: string, language: string, ratebase: string, priceListGuid: string, accountGuid: string): Observable<Object>;
|
|
1212
|
-
getPublicationSkuPrice(sourceId: string, sku: string | number | boolean): Observable<Object>;
|
|
1213
|
-
updatePublicationSkuPrice(sourceId: any, sku: any, skuPrice: any, skuPricePromotion: any): Observable<Object>;
|
|
1214
|
-
getFonts(): Observable<Object>;
|
|
1215
|
-
getFontFaceBase64(url: string, fontName: string): Observable<any>;
|
|
1216
|
-
blobToBase64(blob: Blob): Promise<string | ArrayBuffer>;
|
|
1217
|
-
getFontMimeAndType(fileUrl: string): {
|
|
1218
|
-
mime: string;
|
|
1219
|
-
type: string;
|
|
1220
|
-
};
|
|
1221
|
-
createDocumentFromPublication(documentName: any, publicationId: any, folderSelected: any): Observable<Object>;
|
|
1222
|
-
shareToYoubooky(publicationId: any): Observable<Object>;
|
|
1223
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsService, never>;
|
|
1224
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsService>;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
1150
|
declare class TranslateService {
|
|
1228
1151
|
private http;
|
|
1229
1152
|
private _settingsService;
|
|
@@ -1240,12 +1163,12 @@ declare class TranslateService {
|
|
|
1240
1163
|
|
|
1241
1164
|
declare class TranslatorService {
|
|
1242
1165
|
translate: TranslateService$1;
|
|
1243
|
-
|
|
1166
|
+
_company: CompanyService;
|
|
1244
1167
|
auth: AuthService;
|
|
1245
1168
|
private _settings;
|
|
1246
1169
|
private defaultLanguage;
|
|
1247
1170
|
private availablelangs;
|
|
1248
|
-
constructor(translate: TranslateService$1,
|
|
1171
|
+
constructor(translate: TranslateService$1, _company: CompanyService, auth: AuthService, _settings: SettingsService);
|
|
1249
1172
|
setDefaultLang(): void;
|
|
1250
1173
|
useLanguage(lang: string): void;
|
|
1251
1174
|
getAvailableLanguages(): {
|
|
@@ -1409,6 +1332,7 @@ declare class DamAssetsService {
|
|
|
1409
1332
|
folderTemplatesGuid: string;
|
|
1410
1333
|
folderDocumentsGuid: string;
|
|
1411
1334
|
folderExcelGuid: string;
|
|
1335
|
+
folderProductSheetsGuid: string;
|
|
1412
1336
|
getFoldersWithParent(parent: string, showEmptyFolders?: boolean, folderType?: string): rxjs.Observable<Object>;
|
|
1413
1337
|
getMissingAssets(start: string, limit: string, search: string): rxjs.Observable<Object>;
|
|
1414
1338
|
getOrphansAssets(start: string, limit: string, search: string): rxjs.Observable<Object>;
|
|
@@ -1426,6 +1350,7 @@ declare class DamAssetsService {
|
|
|
1426
1350
|
getAssetFromTrash(start: any, limit: any, search: any): rxjs.Observable<Object>;
|
|
1427
1351
|
getAssetFromArchive(start: any, limit: any, search: any): rxjs.Observable<Object>;
|
|
1428
1352
|
downloadAssetFromAssetGuidArray(listingAssetToDownload: any): rxjs.Observable<Object>;
|
|
1353
|
+
getTemplates(folderGuid?: string, start?: number, limit?: number): rxjs.Observable<Object>;
|
|
1429
1354
|
sharedAssets(tabGuidAsset: any, tabGuidTeams: any, sendNotification?: boolean): rxjs.Observable<Object>;
|
|
1430
1355
|
assignTeamsToFolder(folderGuid: any, tabGuidTeams: any, subfolderImpact?: boolean, sendNotification?: boolean): rxjs.Observable<Object>;
|
|
1431
1356
|
assignStatus(guid: any, status: any): rxjs.Observable<Object>;
|
|
@@ -1447,8 +1372,6 @@ declare class DamAssetsService {
|
|
|
1447
1372
|
deleteFolder(folderGuid: string): rxjs.Observable<Object>;
|
|
1448
1373
|
deleteAssets(listingAssetToDelete: any): rxjs.Observable<Object>;
|
|
1449
1374
|
emptyTrash(): rxjs.Observable<Object>;
|
|
1450
|
-
getDocument(assetguid: string): rxjs.Observable<Object>;
|
|
1451
|
-
existDocument(assetguid: string, version?: string): rxjs.Observable<Object>;
|
|
1452
1375
|
removeBg(assetguid: any): rxjs.Observable<Object>;
|
|
1453
1376
|
restoreOriginal(assetguid: any): rxjs.Observable<Object>;
|
|
1454
1377
|
static ɵfac: i0.ɵɵFactoryDeclaration<DamAssetsService, never>;
|
|
@@ -1495,4 +1418,1166 @@ declare class SearchService {
|
|
|
1495
1418
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
1496
1419
|
}
|
|
1497
1420
|
|
|
1498
|
-
|
|
1421
|
+
interface PhysicalPath {
|
|
1422
|
+
key: string;
|
|
1423
|
+
value: string;
|
|
1424
|
+
}
|
|
1425
|
+
interface UserObject {
|
|
1426
|
+
userGuid: string;
|
|
1427
|
+
userProfileGuid: string;
|
|
1428
|
+
userViewGuid: string;
|
|
1429
|
+
userIsActive: boolean;
|
|
1430
|
+
userIsValidated: boolean;
|
|
1431
|
+
userLogin: string;
|
|
1432
|
+
userPassword: string;
|
|
1433
|
+
userFirstName: string;
|
|
1434
|
+
userLastName: string;
|
|
1435
|
+
userEmail: string;
|
|
1436
|
+
userPhone: string;
|
|
1437
|
+
userLanguage: string;
|
|
1438
|
+
userTwoFactorAuthentification: boolean;
|
|
1439
|
+
userCodeTwoFactor: string;
|
|
1440
|
+
userCodeCreatedAt: string;
|
|
1441
|
+
userCodeAttempts: number;
|
|
1442
|
+
userLastConnectionAt: string;
|
|
1443
|
+
userPasswordModifiedAt: string;
|
|
1444
|
+
userAvatar: string;
|
|
1445
|
+
physicalPaths: PhysicalPath[];
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
declare class UsersService {
|
|
1449
|
+
private http;
|
|
1450
|
+
private _settingsService;
|
|
1451
|
+
constructor(http: HttpClient, _settingsService: SettingsService);
|
|
1452
|
+
getUsers(start: number, limit: number, search: string, team: string, profil: string): rxjs.Observable<UserObject[]>;
|
|
1453
|
+
getUsersWithSort(sort: string, order: string): rxjs.Observable<UserObject[]>;
|
|
1454
|
+
getUserByUserLogin(login: string): rxjs.Observable<UserObject[]>;
|
|
1455
|
+
createUser(login: string, password: string, profileguid: string, language: string, active: boolean, email: string): rxjs.Observable<Object>;
|
|
1456
|
+
uploadProfilePicture(formData: FormData, login: string): rxjs.Observable<Object>;
|
|
1457
|
+
updateUserByField(userGuid: string, fieldName: string, fieldValue: string): rxjs.Observable<Object>;
|
|
1458
|
+
modifyUser(user: UserObject): rxjs.Observable<Object>;
|
|
1459
|
+
changePassword(login: string, oldPassword: string, newPassword: string): rxjs.Observable<Object>;
|
|
1460
|
+
deleteUsers(listLogin: string[]): rxjs.Observable<Object>;
|
|
1461
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UsersService, never>;
|
|
1462
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UsersService>;
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
declare class PricesTaxService {
|
|
1466
|
+
private http;
|
|
1467
|
+
private _settingsService;
|
|
1468
|
+
constructor(http: HttpClient, _settingsService: SettingsService);
|
|
1469
|
+
getAllPriceList(): rxjs.Observable<Object>;
|
|
1470
|
+
createPriceList(priceList: any): rxjs.Observable<Object>;
|
|
1471
|
+
updatePriceList(priceList: any): rxjs.Observable<Object>;
|
|
1472
|
+
updatePriceListByField(pricesListGuid: string, fieldName: string, fieldValue: any): rxjs.Observable<Object>;
|
|
1473
|
+
deletePriceList(listingPricesLists: any): rxjs.Observable<Object>;
|
|
1474
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PricesTaxService, never>;
|
|
1475
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PricesTaxService>;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
declare class NotificationServiceService {
|
|
1479
|
+
private _settingsService;
|
|
1480
|
+
private http;
|
|
1481
|
+
private quantity;
|
|
1482
|
+
private sidenav?;
|
|
1483
|
+
constructor(_settingsService: SettingsService, http: HttpClient);
|
|
1484
|
+
sendUpdate(message: number): void;
|
|
1485
|
+
getUpdate(): Observable<any>;
|
|
1486
|
+
getNotifications(start?: any, limit?: any): Observable<Object>;
|
|
1487
|
+
markAllView(): Observable<Object>;
|
|
1488
|
+
markasreaded(notificationGuid: string): Observable<Object>;
|
|
1489
|
+
setSidenav(sidenav: MatSidenav): void;
|
|
1490
|
+
open(): Promise<_angular_material_sidenav.MatDrawerToggleResult> | undefined;
|
|
1491
|
+
close(): Promise<_angular_material_sidenav.MatDrawerToggleResult> | undefined;
|
|
1492
|
+
toggle(): void;
|
|
1493
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationServiceService, never>;
|
|
1494
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceService>;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
declare class ThumbnailService {
|
|
1498
|
+
/**
|
|
1499
|
+
* Generates a thumbnail from an SVG string.
|
|
1500
|
+
* @param svgString The SVG content
|
|
1501
|
+
* @param maxWidth Maximum width of the thumbnail (default 800)
|
|
1502
|
+
* @param quality Quality of the output WebP (default 0.3)
|
|
1503
|
+
* @returns A Promise resolving to a Blob (image/webp)
|
|
1504
|
+
*/
|
|
1505
|
+
generateThumbnail(svgString: string, maxWidth?: number, quality?: number): Promise<Blob>;
|
|
1506
|
+
private cleanForThumbnail;
|
|
1507
|
+
private injectPageVariables;
|
|
1508
|
+
private inlineImages;
|
|
1509
|
+
private toDataUrl;
|
|
1510
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThumbnailService, never>;
|
|
1511
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThumbnailService>;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
declare class GenerationService {
|
|
1515
|
+
private http;
|
|
1516
|
+
private _settingsService;
|
|
1517
|
+
private thumbnailService;
|
|
1518
|
+
constructor(http: HttpClient, _settingsService: SettingsService, thumbnailService: ThumbnailService);
|
|
1519
|
+
generateDocument(objectGeneratePDF: any): rxjs.Observable<Object>;
|
|
1520
|
+
generatePdfByFile(objectGeneratePDF: any, files: any): Promise<void>;
|
|
1521
|
+
sendChunk(objectPDF: any, chunkBlob: Blob, uploadId: string, chunkIndex: number, totalChunks: number): Promise<Object | undefined>;
|
|
1522
|
+
getPublicationTemplate(start?: number, limit?: number, type?: string, search?: string, active?: string, sort?: string, direction?: string): rxjs.Observable<Object>;
|
|
1523
|
+
registerBatch(batchConfig: any): rxjs.Observable<Object>;
|
|
1524
|
+
getBatchConfig(skuGuid: string): rxjs.Observable<Object>;
|
|
1525
|
+
deleteBatchConfig(skuGuid: string): rxjs.Observable<Object>;
|
|
1526
|
+
getSkusDatas(language: string, attributeSkuGuid: string, templateGuid: string, onlyNeedRegeneration?: boolean): rxjs.Observable<Object>;
|
|
1527
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenerationService, never>;
|
|
1528
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GenerationService>;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
declare class ProductSheetsService {
|
|
1532
|
+
private auth;
|
|
1533
|
+
private _settingsService;
|
|
1534
|
+
private http;
|
|
1535
|
+
private _webSocket;
|
|
1536
|
+
constructor(auth: AuthService, _settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
1537
|
+
getProductSheetsByAssetGuid(assetGuid: string): rxjs.Observable<Object>;
|
|
1538
|
+
getProductSheetLines(productSheetGuid: string, start?: number, limit?: number, summary?: boolean): rxjs.Observable<Object>;
|
|
1539
|
+
getProductSheetColumns(assetGuid: string): rxjs.Observable<Object>;
|
|
1540
|
+
getProductSheetLineByGuid(productSheetGuid: string, productSheetLineGuid: string): rxjs.Observable<Object>;
|
|
1541
|
+
getProductSheetLineByReference(productSheetGuid: string, reference: string): rxjs.Observable<Object>;
|
|
1542
|
+
addProductSheetLine(productSheetLineAttributes: any, productSheetGuid: string): rxjs.Observable<Object>;
|
|
1543
|
+
addProductSheetLines(productSheetLines: any[], productSheetGuid: string): rxjs.Observable<Object>;
|
|
1544
|
+
createProductSheetColumn(productSheetColumn: any): rxjs.Observable<Object>;
|
|
1545
|
+
createProductSheetAsset(assetName: string, folderGuid: string): rxjs.Observable<Object>;
|
|
1546
|
+
createProductSheet(sheetName: string, assetGuid: string, columns?: any[]): rxjs.Observable<Object>;
|
|
1547
|
+
importProductSheet(assetGuid: string, file: File, referenceColumn: string, imageColumns: string[]): rxjs.Observable<Object>;
|
|
1548
|
+
deleteProductSheet(productSheetGuid: string): rxjs.Observable<Object>;
|
|
1549
|
+
deleteProductSheetColumn(productSheetColumnGuid: string): rxjs.Observable<Object>;
|
|
1550
|
+
deleteProductSheetLine(productSheetLineGuid: string): rxjs.Observable<Object>;
|
|
1551
|
+
updateProductSheetLine(productSheetLine: any): rxjs.Observable<Object>;
|
|
1552
|
+
updateProductSheetColumn(productSheetColumn: any): rxjs.Observable<Object>;
|
|
1553
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSheetsService, never>;
|
|
1554
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductSheetsService>;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
interface PublicationPageProps {
|
|
1558
|
+
publicationGuid?: string;
|
|
1559
|
+
pageId?: number;
|
|
1560
|
+
name?: string;
|
|
1561
|
+
status?: number;
|
|
1562
|
+
background?: string;
|
|
1563
|
+
order?: number;
|
|
1564
|
+
modifiedAt?: Date | string | null;
|
|
1565
|
+
type?: string;
|
|
1566
|
+
dataCount?: number;
|
|
1567
|
+
isMarketingBlock?: boolean;
|
|
1568
|
+
attributes?: any[];
|
|
1569
|
+
}
|
|
1570
|
+
declare class PublicationPage {
|
|
1571
|
+
private _publicationGuid;
|
|
1572
|
+
private _pageId;
|
|
1573
|
+
private _name;
|
|
1574
|
+
private _status;
|
|
1575
|
+
private _background;
|
|
1576
|
+
private _order;
|
|
1577
|
+
private _modifiedAt;
|
|
1578
|
+
private _type;
|
|
1579
|
+
private _dataCount;
|
|
1580
|
+
private _attributes;
|
|
1581
|
+
constructor(data?: PublicationPageProps);
|
|
1582
|
+
get publicationGuid(): string;
|
|
1583
|
+
set publicationGuid(value: string);
|
|
1584
|
+
get pageId(): number;
|
|
1585
|
+
set pageId(value: number);
|
|
1586
|
+
get name(): string;
|
|
1587
|
+
set name(value: string);
|
|
1588
|
+
get status(): number;
|
|
1589
|
+
set status(value: number);
|
|
1590
|
+
get background(): string;
|
|
1591
|
+
set background(value: string);
|
|
1592
|
+
get order(): number;
|
|
1593
|
+
set order(value: number);
|
|
1594
|
+
get modifiedAt(): Date | string | null;
|
|
1595
|
+
set modifiedAt(value: Date | string | null);
|
|
1596
|
+
get type(): string;
|
|
1597
|
+
set type(value: string);
|
|
1598
|
+
get dataCount(): number;
|
|
1599
|
+
set dataCount(value: number);
|
|
1600
|
+
get attributes(): any[];
|
|
1601
|
+
set attributes(value: any[]);
|
|
1602
|
+
toJSON(): {
|
|
1603
|
+
publicationGuid: string;
|
|
1604
|
+
pageId: number;
|
|
1605
|
+
name: string;
|
|
1606
|
+
status: number;
|
|
1607
|
+
background: string;
|
|
1608
|
+
order: number;
|
|
1609
|
+
modifiedAt: string | Date | null;
|
|
1610
|
+
type: string;
|
|
1611
|
+
dataCount: number;
|
|
1612
|
+
attributes: any[];
|
|
1613
|
+
};
|
|
1614
|
+
}
|
|
1615
|
+
interface PublicationPagesResponse {
|
|
1616
|
+
getPublicationPages: PublicationPage[];
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
declare const DEFAULT_PUBLICATION_STR = "00000000-0000-0000-0000-000000000000";
|
|
1620
|
+
interface PublicationProps {
|
|
1621
|
+
publicationGuid?: string;
|
|
1622
|
+
publicationId?: number;
|
|
1623
|
+
publicationLocked?: boolean;
|
|
1624
|
+
publicationName?: string;
|
|
1625
|
+
publicationDescription?: string;
|
|
1626
|
+
publicationValidationDate?: Date | string | null;
|
|
1627
|
+
publicationDeadline?: Date | string | null;
|
|
1628
|
+
publicationActive?: boolean;
|
|
1629
|
+
publicationStatus?: number;
|
|
1630
|
+
publicationRemarks?: string;
|
|
1631
|
+
publicationMasterINDD?: string;
|
|
1632
|
+
publicationLibraryINDL?: string;
|
|
1633
|
+
publicationFinalINDD?: string;
|
|
1634
|
+
publicationPDF?: string;
|
|
1635
|
+
publicationTotalPages?: number;
|
|
1636
|
+
publicationContents?: string;
|
|
1637
|
+
publicationMasterSpreads?: string;
|
|
1638
|
+
publicationFormat?: string;
|
|
1639
|
+
publicationOrientationPortrait?: boolean;
|
|
1640
|
+
publicationPreview?: string;
|
|
1641
|
+
publicationDraft?: string;
|
|
1642
|
+
publicationBeta?: string;
|
|
1643
|
+
publicationAlpha?: string;
|
|
1644
|
+
publicationProgress?: number;
|
|
1645
|
+
publicationType?: string;
|
|
1646
|
+
publicationVersion?: number;
|
|
1647
|
+
publicationLangsBlocked?: string[];
|
|
1648
|
+
publicationPageStart?: number;
|
|
1649
|
+
publicationPageStartLeft?: boolean;
|
|
1650
|
+
selectionCode?: string;
|
|
1651
|
+
publicationTemplateGuid?: string;
|
|
1652
|
+
publicationCoverpage?: string;
|
|
1653
|
+
publicationDealGuid?: string;
|
|
1654
|
+
publicationRatebase?: number;
|
|
1655
|
+
publicationPriceListGuid?: string;
|
|
1656
|
+
publicationAccountGuid?: string;
|
|
1657
|
+
publicationAttributes?: any[];
|
|
1658
|
+
publicationLanguage?: string;
|
|
1659
|
+
publicationAutoGeneration?: boolean;
|
|
1660
|
+
publicationYouBooky?: boolean;
|
|
1661
|
+
publicationProductSheetGuid?: string | null;
|
|
1662
|
+
publicationProductSheetAssetGuid?: string | null;
|
|
1663
|
+
publicationRelecturePDFs?: string[];
|
|
1664
|
+
publicationTemplateDefaultBackgroundGuid?: string;
|
|
1665
|
+
publicationPageIdFirst?: string;
|
|
1666
|
+
publicationTemplateBackgroundName?: string;
|
|
1667
|
+
publicationPreviewUrl?: string;
|
|
1668
|
+
publicationTemplateName?: string;
|
|
1669
|
+
publicationCoverpageUrl?: string;
|
|
1670
|
+
publicationNbPages?: number;
|
|
1671
|
+
publicationNbSkus?: number;
|
|
1672
|
+
publicationPages?: any[];
|
|
1673
|
+
publicationFolderGuid?: string;
|
|
1674
|
+
PublicationGuid?: string;
|
|
1675
|
+
PublicationId?: number;
|
|
1676
|
+
PublicationLocked?: boolean;
|
|
1677
|
+
PublicationName?: string;
|
|
1678
|
+
PublicationDescription?: string;
|
|
1679
|
+
PublicationValidationDate?: Date | string | null;
|
|
1680
|
+
PublicationDeadline?: Date | string | null;
|
|
1681
|
+
PublicationActive?: boolean;
|
|
1682
|
+
PublicationStatus?: number;
|
|
1683
|
+
PublicationRemarks?: string;
|
|
1684
|
+
PublicationMasterINDD?: string;
|
|
1685
|
+
PublicationLibraryINDL?: string;
|
|
1686
|
+
PublicationFinalINDD?: string;
|
|
1687
|
+
PublicationPDF?: string;
|
|
1688
|
+
PublicationTotalPages?: number;
|
|
1689
|
+
PublicationContents?: string;
|
|
1690
|
+
PublicationMasterSpreads?: string;
|
|
1691
|
+
PublicationFormat?: string;
|
|
1692
|
+
PublicationOrientationPortrait?: boolean;
|
|
1693
|
+
PublicationPreview?: string;
|
|
1694
|
+
PublicationDraft?: string;
|
|
1695
|
+
PublicationBeta?: string;
|
|
1696
|
+
PublicationAlpha?: string;
|
|
1697
|
+
PublicationProgress?: number;
|
|
1698
|
+
PublicationType?: string;
|
|
1699
|
+
PublicationVersion?: number;
|
|
1700
|
+
PublicationLangsBlocked?: string[];
|
|
1701
|
+
PublicationPageStart?: number;
|
|
1702
|
+
PublicationPageStartLeft?: boolean;
|
|
1703
|
+
SelectionCode?: string;
|
|
1704
|
+
PublicationTemplateGuid?: string;
|
|
1705
|
+
PublicationCoverpage?: string;
|
|
1706
|
+
PublicationDealGuid?: string;
|
|
1707
|
+
PublicationRatebase?: number;
|
|
1708
|
+
PublicationPriceListGuid?: string;
|
|
1709
|
+
PublicationAccountGuid?: string;
|
|
1710
|
+
PublicationAttributes?: any[];
|
|
1711
|
+
PublicationLanguage?: string;
|
|
1712
|
+
PublicationAutoGeneration?: boolean;
|
|
1713
|
+
PublicationYouBooky?: boolean;
|
|
1714
|
+
PublicationProductSheetGuid?: string | null;
|
|
1715
|
+
PublicationProductSheetAssetGuid?: string | null;
|
|
1716
|
+
PublicationRelecturePDFs?: string[];
|
|
1717
|
+
PublicationTemplateDefaultBackgroundGuid?: string;
|
|
1718
|
+
PublicationPageIdFirst?: string;
|
|
1719
|
+
PublicationTemplateBackgroundName?: string;
|
|
1720
|
+
PublicationPreviewUrl?: string;
|
|
1721
|
+
PublicationTemplateName?: string;
|
|
1722
|
+
PublicationCoverpageUrl?: string;
|
|
1723
|
+
PublicationNbPages?: number;
|
|
1724
|
+
PublicationNbSkus?: number;
|
|
1725
|
+
PublicationPages?: any[];
|
|
1726
|
+
PublicationFolderGuid?: string;
|
|
1727
|
+
}
|
|
1728
|
+
declare class Publication {
|
|
1729
|
+
private _publicationGuid;
|
|
1730
|
+
private _publicationId;
|
|
1731
|
+
private _publicationLocked;
|
|
1732
|
+
private _publicationName;
|
|
1733
|
+
private _publicationDescription;
|
|
1734
|
+
private _publicationValidationDate;
|
|
1735
|
+
private _publicationDeadline;
|
|
1736
|
+
private _publicationActive;
|
|
1737
|
+
private _publicationStatus;
|
|
1738
|
+
private _publicationRemarks;
|
|
1739
|
+
private _publicationMasterINDD;
|
|
1740
|
+
private _publicationLibraryINDL;
|
|
1741
|
+
private _publicationFinalINDD;
|
|
1742
|
+
private _publicationPDF;
|
|
1743
|
+
private _publicationTotalPages;
|
|
1744
|
+
private _publicationContents;
|
|
1745
|
+
private _publicationMasterSpreads;
|
|
1746
|
+
private _publicationFormat;
|
|
1747
|
+
private _publicationOrientationPortrait;
|
|
1748
|
+
private _publicationPreview;
|
|
1749
|
+
private _publicationDraft;
|
|
1750
|
+
private _publicationBeta;
|
|
1751
|
+
private _publicationAlpha;
|
|
1752
|
+
private _publicationProgress;
|
|
1753
|
+
private _publicationType;
|
|
1754
|
+
private _publicationVersion;
|
|
1755
|
+
private _publicationLangsBlocked;
|
|
1756
|
+
private _publicationPageStart;
|
|
1757
|
+
private _publicationPageStartLeft;
|
|
1758
|
+
private _publicationTemplateGuid;
|
|
1759
|
+
private _publicationCoverpage;
|
|
1760
|
+
private _publicationDealGuid;
|
|
1761
|
+
private _publicationRatebase;
|
|
1762
|
+
private _publicationPriceListGuid;
|
|
1763
|
+
private _publicationAccountGuid;
|
|
1764
|
+
private _publicationAttributes;
|
|
1765
|
+
private _publicationLanguage;
|
|
1766
|
+
private _publicationAutoGeneration;
|
|
1767
|
+
private _publicationYouBooky;
|
|
1768
|
+
private _publicationProductSheetGuid;
|
|
1769
|
+
private _publicationProductSheetAssetGuid;
|
|
1770
|
+
private _publicationRelecturePDFs;
|
|
1771
|
+
private _publicationTemplateDefaultBackgroundGuid;
|
|
1772
|
+
private _publicationPageIdFirst;
|
|
1773
|
+
private _publicationTemplateBackgroundName;
|
|
1774
|
+
private _publicationPreviewUrl;
|
|
1775
|
+
private _publicationTemplateName;
|
|
1776
|
+
private _publicationCoverpageUrl;
|
|
1777
|
+
private _publicationNbPages;
|
|
1778
|
+
private _publicationNbSkus;
|
|
1779
|
+
private _publicationPages;
|
|
1780
|
+
private _publicationFolderGuid;
|
|
1781
|
+
private _selectionCode;
|
|
1782
|
+
constructor(data?: PublicationProps);
|
|
1783
|
+
get publicationGuid(): string;
|
|
1784
|
+
set publicationGuid(value: string);
|
|
1785
|
+
get publicationId(): number;
|
|
1786
|
+
set publicationId(value: number);
|
|
1787
|
+
get publicationLocked(): boolean;
|
|
1788
|
+
set publicationLocked(value: boolean);
|
|
1789
|
+
get publicationName(): string;
|
|
1790
|
+
set publicationName(value: string);
|
|
1791
|
+
get publicationDescription(): string;
|
|
1792
|
+
set publicationDescription(value: string);
|
|
1793
|
+
get publicationValidationDate(): Date | string | null;
|
|
1794
|
+
set publicationValidationDate(value: Date | string | null);
|
|
1795
|
+
get publicationDeadline(): Date | string | null;
|
|
1796
|
+
set publicationDeadline(value: Date | string | null);
|
|
1797
|
+
get publicationActive(): boolean;
|
|
1798
|
+
set publicationActive(value: boolean);
|
|
1799
|
+
get publicationStatus(): number;
|
|
1800
|
+
set publicationStatus(value: number);
|
|
1801
|
+
get publicationRemarks(): string;
|
|
1802
|
+
set publicationRemarks(value: string);
|
|
1803
|
+
get publicationMasterINDD(): string;
|
|
1804
|
+
set publicationMasterINDD(value: string);
|
|
1805
|
+
get publicationLibraryINDL(): string;
|
|
1806
|
+
set publicationLibraryINDL(value: string);
|
|
1807
|
+
get publicationFinalINDD(): string;
|
|
1808
|
+
set publicationFinalINDD(value: string);
|
|
1809
|
+
get publicationPDF(): string;
|
|
1810
|
+
set publicationPDF(value: string);
|
|
1811
|
+
get publicationTotalPages(): number;
|
|
1812
|
+
set publicationTotalPages(value: number);
|
|
1813
|
+
get publicationContents(): string;
|
|
1814
|
+
set publicationContents(value: string);
|
|
1815
|
+
get publicationMasterSpreads(): string;
|
|
1816
|
+
set publicationMasterSpreads(value: string);
|
|
1817
|
+
get publicationFormat(): string;
|
|
1818
|
+
set publicationFormat(value: string);
|
|
1819
|
+
get publicationOrientationPortrait(): boolean;
|
|
1820
|
+
set publicationOrientationPortrait(value: boolean);
|
|
1821
|
+
get publicationPreview(): string;
|
|
1822
|
+
set publicationPreview(value: string);
|
|
1823
|
+
get publicationDraft(): string;
|
|
1824
|
+
set publicationDraft(value: string);
|
|
1825
|
+
get publicationBeta(): string;
|
|
1826
|
+
set publicationBeta(value: string);
|
|
1827
|
+
get publicationAlpha(): string;
|
|
1828
|
+
set publicationAlpha(value: string);
|
|
1829
|
+
get publicationProgress(): number;
|
|
1830
|
+
set publicationProgress(value: number);
|
|
1831
|
+
get publicationType(): string;
|
|
1832
|
+
set publicationType(value: string);
|
|
1833
|
+
get publicationVersion(): number;
|
|
1834
|
+
set publicationVersion(value: number);
|
|
1835
|
+
get publicationLangsBlocked(): string[];
|
|
1836
|
+
set publicationLangsBlocked(value: string[]);
|
|
1837
|
+
get publicationPageStart(): number;
|
|
1838
|
+
set publicationPageStart(value: number);
|
|
1839
|
+
get publicationPageStartLeft(): boolean;
|
|
1840
|
+
set publicationPageStartLeft(value: boolean);
|
|
1841
|
+
get publicationTemplateGuid(): string;
|
|
1842
|
+
set publicationTemplateGuid(value: string);
|
|
1843
|
+
get publicationCoverpage(): string;
|
|
1844
|
+
set publicationCoverpage(value: string);
|
|
1845
|
+
get publicationDealGuid(): string;
|
|
1846
|
+
set publicationDealGuid(value: string);
|
|
1847
|
+
get publicationRatebase(): number;
|
|
1848
|
+
set publicationRatebase(value: number);
|
|
1849
|
+
get publicationPriceListGuid(): string;
|
|
1850
|
+
set publicationPriceListGuid(value: string);
|
|
1851
|
+
get publicationAccountGuid(): string;
|
|
1852
|
+
set publicationAccountGuid(value: string);
|
|
1853
|
+
get publicationAttributes(): any[];
|
|
1854
|
+
set publicationAttributes(value: any[]);
|
|
1855
|
+
get publicationLanguage(): string;
|
|
1856
|
+
set publicationLanguage(value: string);
|
|
1857
|
+
get publicationAutoGeneration(): boolean;
|
|
1858
|
+
set publicationAutoGeneration(value: boolean);
|
|
1859
|
+
get publicationYouBooky(): boolean;
|
|
1860
|
+
set publicationYouBooky(value: boolean);
|
|
1861
|
+
get publicationProductSheetGuid(): string | null;
|
|
1862
|
+
set publicationProductSheetGuid(value: string | null);
|
|
1863
|
+
get publicationProductSheetAssetGuid(): string | null;
|
|
1864
|
+
set publicationProductSheetAssetGuid(value: string | null);
|
|
1865
|
+
get publicationRelecturePDFs(): string[];
|
|
1866
|
+
set publicationRelecturePDFs(value: string[]);
|
|
1867
|
+
get publicationTemplateDefaultBackgroundGuid(): string;
|
|
1868
|
+
set publicationTemplateDefaultBackgroundGuid(value: string);
|
|
1869
|
+
get publicationPageIdFirst(): string;
|
|
1870
|
+
set publicationPageIdFirst(value: string);
|
|
1871
|
+
get publicationTemplateBackgroundName(): string;
|
|
1872
|
+
set publicationTemplateBackgroundName(value: string);
|
|
1873
|
+
get publicationPreviewUrl(): string;
|
|
1874
|
+
set publicationPreviewUrl(value: string);
|
|
1875
|
+
get publicationTemplateName(): string;
|
|
1876
|
+
set publicationTemplateName(value: string);
|
|
1877
|
+
get publicationCoverpageUrl(): string;
|
|
1878
|
+
set publicationCoverpageUrl(value: string);
|
|
1879
|
+
get publicationNbPages(): number;
|
|
1880
|
+
set publicationNbPages(value: number);
|
|
1881
|
+
get publicationNbSkus(): number;
|
|
1882
|
+
set publicationNbSkus(value: number);
|
|
1883
|
+
get selectionCode(): string;
|
|
1884
|
+
set selectionCode(value: string);
|
|
1885
|
+
get publicationPages(): PublicationPage[];
|
|
1886
|
+
set publicationPages(value: PublicationPage[]);
|
|
1887
|
+
get publicationFolderGuid(): string;
|
|
1888
|
+
set publicationFolderGuid(value: string);
|
|
1889
|
+
get PublicationGuid(): string;
|
|
1890
|
+
set PublicationGuid(value: string);
|
|
1891
|
+
get PublicationId(): number;
|
|
1892
|
+
set PublicationId(value: number);
|
|
1893
|
+
get PublicationLocked(): boolean;
|
|
1894
|
+
set PublicationLocked(value: boolean);
|
|
1895
|
+
get PublicationName(): string;
|
|
1896
|
+
set PublicationName(value: string);
|
|
1897
|
+
get PublicationDescription(): string;
|
|
1898
|
+
set PublicationDescription(value: string);
|
|
1899
|
+
get PublicationValidationDate(): Date | string | null;
|
|
1900
|
+
set PublicationValidationDate(value: Date | string | null);
|
|
1901
|
+
get PublicationDeadline(): Date | string | null;
|
|
1902
|
+
set PublicationDeadline(value: Date | string | null);
|
|
1903
|
+
get PublicationActive(): boolean;
|
|
1904
|
+
set PublicationActive(value: boolean);
|
|
1905
|
+
get PublicationStatus(): number;
|
|
1906
|
+
set PublicationStatus(value: number);
|
|
1907
|
+
get PublicationRemarks(): string;
|
|
1908
|
+
set PublicationRemarks(value: string);
|
|
1909
|
+
get PublicationMasterINDD(): string;
|
|
1910
|
+
set PublicationMasterINDD(value: string);
|
|
1911
|
+
get PublicationLibraryINDL(): string;
|
|
1912
|
+
set PublicationLibraryINDL(value: string);
|
|
1913
|
+
get PublicationFinalINDD(): string;
|
|
1914
|
+
set PublicationFinalINDD(value: string);
|
|
1915
|
+
get PublicationPDF(): string;
|
|
1916
|
+
set PublicationPDF(value: string);
|
|
1917
|
+
get PublicationTotalPages(): number;
|
|
1918
|
+
set PublicationTotalPages(value: number);
|
|
1919
|
+
get PublicationContents(): string;
|
|
1920
|
+
set PublicationContents(value: string);
|
|
1921
|
+
get PublicationMasterSpreads(): string;
|
|
1922
|
+
set PublicationMasterSpreads(value: string);
|
|
1923
|
+
get PublicationFormat(): string;
|
|
1924
|
+
set PublicationFormat(value: string);
|
|
1925
|
+
get PublicationOrientationPortrait(): boolean;
|
|
1926
|
+
set PublicationOrientationPortrait(value: boolean);
|
|
1927
|
+
get PublicationPreview(): string;
|
|
1928
|
+
set PublicationPreview(value: string);
|
|
1929
|
+
get PublicationDraft(): string;
|
|
1930
|
+
set PublicationDraft(value: string);
|
|
1931
|
+
get PublicationBeta(): string;
|
|
1932
|
+
set PublicationBeta(value: string);
|
|
1933
|
+
get PublicationAlpha(): string;
|
|
1934
|
+
set PublicationAlpha(value: string);
|
|
1935
|
+
get PublicationProgress(): number;
|
|
1936
|
+
set PublicationProgress(value: number);
|
|
1937
|
+
get PublicationType(): string;
|
|
1938
|
+
set PublicationType(value: string);
|
|
1939
|
+
get PublicationVersion(): number;
|
|
1940
|
+
set PublicationVersion(value: number);
|
|
1941
|
+
get PublicationLangsBlocked(): string[];
|
|
1942
|
+
set PublicationLangsBlocked(value: string[]);
|
|
1943
|
+
get PublicationPageStart(): number;
|
|
1944
|
+
set PublicationPageStart(value: number);
|
|
1945
|
+
get PublicationPageStartLeft(): boolean;
|
|
1946
|
+
set PublicationPageStartLeft(value: boolean);
|
|
1947
|
+
get PublicationTemplateGuid(): string;
|
|
1948
|
+
set PublicationTemplateGuid(value: string);
|
|
1949
|
+
get PublicationCoverpage(): string;
|
|
1950
|
+
set PublicationCoverpage(value: string);
|
|
1951
|
+
get PublicationDealGuid(): string;
|
|
1952
|
+
set PublicationDealGuid(value: string);
|
|
1953
|
+
get PublicationRatebase(): number;
|
|
1954
|
+
set PublicationRatebase(value: number);
|
|
1955
|
+
get PublicationPriceListGuid(): string;
|
|
1956
|
+
set PublicationPriceListGuid(value: string);
|
|
1957
|
+
get PublicationAccountGuid(): string;
|
|
1958
|
+
set PublicationAccountGuid(value: string);
|
|
1959
|
+
get PublicationAttributes(): any[];
|
|
1960
|
+
set PublicationAttributes(value: any[]);
|
|
1961
|
+
get PublicationLanguage(): string;
|
|
1962
|
+
set PublicationLanguage(value: string);
|
|
1963
|
+
get PublicationAutoGeneration(): boolean;
|
|
1964
|
+
set PublicationAutoGeneration(value: boolean);
|
|
1965
|
+
get PublicationYouBooky(): boolean;
|
|
1966
|
+
set PublicationYouBooky(value: boolean);
|
|
1967
|
+
get PublicationProductSheetGuid(): string | null;
|
|
1968
|
+
set PublicationProductSheetGuid(value: string | null);
|
|
1969
|
+
get PublicationProductSheetAssetGuid(): string | null;
|
|
1970
|
+
set PublicationProductSheetAssetGuid(value: string | null);
|
|
1971
|
+
get PublicationRelecturePDFs(): string[];
|
|
1972
|
+
set PublicationRelecturePDFs(value: string[]);
|
|
1973
|
+
get PublicationTemplateDefaultBackgroundGuid(): string;
|
|
1974
|
+
set PublicationTemplateDefaultBackgroundGuid(value: string);
|
|
1975
|
+
get PublicationPageIdFirst(): string;
|
|
1976
|
+
set PublicationPageIdFirst(value: string);
|
|
1977
|
+
get PublicationTemplateBackgroundName(): string;
|
|
1978
|
+
set PublicationTemplateBackgroundName(value: string);
|
|
1979
|
+
get PublicationPreviewUrl(): string;
|
|
1980
|
+
set PublicationPreviewUrl(value: string);
|
|
1981
|
+
get PublicationTemplateName(): string;
|
|
1982
|
+
set PublicationTemplateName(value: string);
|
|
1983
|
+
get PublicationCoverpageUrl(): string;
|
|
1984
|
+
set PublicationCoverpageUrl(value: string);
|
|
1985
|
+
get PublicationNbPages(): number;
|
|
1986
|
+
set PublicationNbPages(value: number);
|
|
1987
|
+
get PublicationNbSkus(): number;
|
|
1988
|
+
set PublicationNbSkus(value: number);
|
|
1989
|
+
get SelectionCode(): string;
|
|
1990
|
+
set SelectionCode(value: string);
|
|
1991
|
+
get PublicationPages(): PublicationPage[];
|
|
1992
|
+
set PublicationPages(value: PublicationPage[]);
|
|
1993
|
+
get PublicationFolderGuid(): string;
|
|
1994
|
+
set PublicationFolderGuid(value: string);
|
|
1995
|
+
toJSON(): {
|
|
1996
|
+
publicationGuid: string;
|
|
1997
|
+
publicationId: number;
|
|
1998
|
+
publicationLocked: boolean;
|
|
1999
|
+
publicationName: string;
|
|
2000
|
+
publicationDescription: string;
|
|
2001
|
+
publicationValidationDate: string | Date | null;
|
|
2002
|
+
publicationDeadline: string | Date | null;
|
|
2003
|
+
publicationActive: boolean;
|
|
2004
|
+
publicationStatus: number;
|
|
2005
|
+
publicationRemarks: string;
|
|
2006
|
+
publicationMasterINDD: string;
|
|
2007
|
+
publicationLibraryINDL: string;
|
|
2008
|
+
publicationFinalINDD: string;
|
|
2009
|
+
publicationPDF: string;
|
|
2010
|
+
publicationTotalPages: number;
|
|
2011
|
+
publicationContents: string;
|
|
2012
|
+
publicationMasterSpreads: string;
|
|
2013
|
+
publicationFormat: string;
|
|
2014
|
+
publicationOrientationPortrait: boolean;
|
|
2015
|
+
publicationPreview: string;
|
|
2016
|
+
publicationDraft: string;
|
|
2017
|
+
publicationBeta: string;
|
|
2018
|
+
publicationAlpha: string;
|
|
2019
|
+
publicationProgress: number;
|
|
2020
|
+
publicationType: string;
|
|
2021
|
+
publicationVersion: number;
|
|
2022
|
+
publicationLangsBlocked: string[];
|
|
2023
|
+
publicationPageStart: number;
|
|
2024
|
+
publicationPageStartLeft: boolean;
|
|
2025
|
+
publicationTemplateGuid: string;
|
|
2026
|
+
publicationCoverpage: string;
|
|
2027
|
+
publicationDealGuid: string;
|
|
2028
|
+
publicationRatebase: number;
|
|
2029
|
+
publicationPriceListGuid: string;
|
|
2030
|
+
publicationAccountGuid: string;
|
|
2031
|
+
publicationAttributes: any[];
|
|
2032
|
+
publicationLanguage: string;
|
|
2033
|
+
publicationAutoGeneration: boolean;
|
|
2034
|
+
publicationYouBooky: boolean;
|
|
2035
|
+
publicationProductSheetGuid: string | null;
|
|
2036
|
+
publicationProductSheetAssetGuid: string | null;
|
|
2037
|
+
publicationRelecturePDFs: string[];
|
|
2038
|
+
publicationTemplateDefaultBackgroundGuid: string;
|
|
2039
|
+
publicationPageIdFirst: string;
|
|
2040
|
+
publicationTemplateBackgroundName: string;
|
|
2041
|
+
publicationPreviewUrl: string;
|
|
2042
|
+
publicationTemplateName: string;
|
|
2043
|
+
publicationCoverpageUrl: string;
|
|
2044
|
+
publicationNbPages: number;
|
|
2045
|
+
publicationNbSkus: number;
|
|
2046
|
+
publicationFolderGuid: string;
|
|
2047
|
+
selectionCode: string;
|
|
2048
|
+
publicationPages: {
|
|
2049
|
+
publicationGuid: string;
|
|
2050
|
+
pageId: number;
|
|
2051
|
+
name: string;
|
|
2052
|
+
status: number;
|
|
2053
|
+
background: string;
|
|
2054
|
+
order: number;
|
|
2055
|
+
modifiedAt: string | Date | null;
|
|
2056
|
+
type: string;
|
|
2057
|
+
dataCount: number;
|
|
2058
|
+
attributes: any[];
|
|
2059
|
+
}[];
|
|
2060
|
+
};
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
declare enum PublicationDataType {
|
|
2064
|
+
PRODUCT = "PRODUCT",
|
|
2065
|
+
LINEBREAK = "LINEBREAK",
|
|
2066
|
+
PAGEBREAK = "PAGEBREAK"
|
|
2067
|
+
}
|
|
2068
|
+
interface PublicationDataProps {
|
|
2069
|
+
attributePublication?: any[];
|
|
2070
|
+
skus?: any[];
|
|
2071
|
+
priceObject?: any;
|
|
2072
|
+
hasVariant?: string | boolean;
|
|
2073
|
+
gabaritSelected?: any;
|
|
2074
|
+
publicationGuid?: string;
|
|
2075
|
+
pageId?: number;
|
|
2076
|
+
guid?: string;
|
|
2077
|
+
reference?: string;
|
|
2078
|
+
groupGuid?: string;
|
|
2079
|
+
order?: number;
|
|
2080
|
+
documentGuid?: string;
|
|
2081
|
+
modifiedAt?: Date | string | null;
|
|
2082
|
+
gabaritName?: string;
|
|
2083
|
+
extras?: string;
|
|
2084
|
+
isMarketingBlock?: boolean;
|
|
2085
|
+
skuGuids?: string[];
|
|
2086
|
+
skuGuidsToExclude?: string[];
|
|
2087
|
+
skuGroupOriginal?: string;
|
|
2088
|
+
sku?: string;
|
|
2089
|
+
name?: any;
|
|
2090
|
+
description?: any;
|
|
2091
|
+
picture?: any;
|
|
2092
|
+
attributes?: any[];
|
|
2093
|
+
splitVariantTable?: boolean;
|
|
2094
|
+
exist?: boolean;
|
|
2095
|
+
type?: PublicationDataType | string;
|
|
2096
|
+
}
|
|
2097
|
+
declare class PublicationData {
|
|
2098
|
+
attributePublication?: any[];
|
|
2099
|
+
skus?: any[];
|
|
2100
|
+
priceObject?: any;
|
|
2101
|
+
hasVariant?: string | boolean;
|
|
2102
|
+
gabaritSelected?: any;
|
|
2103
|
+
private _publicationGuid;
|
|
2104
|
+
private _pageId;
|
|
2105
|
+
private _guid;
|
|
2106
|
+
private _reference;
|
|
2107
|
+
private _groupGuid;
|
|
2108
|
+
private _order;
|
|
2109
|
+
private _documentGuid;
|
|
2110
|
+
private _modifiedAt;
|
|
2111
|
+
private _gabaritName;
|
|
2112
|
+
private _extras;
|
|
2113
|
+
private _isMarketingBlock;
|
|
2114
|
+
private _skuGuids;
|
|
2115
|
+
private _skuGuidsToExclude;
|
|
2116
|
+
private _skuGroupOriginal;
|
|
2117
|
+
private _sku;
|
|
2118
|
+
private _name;
|
|
2119
|
+
private _description;
|
|
2120
|
+
private _picture;
|
|
2121
|
+
private _attributes;
|
|
2122
|
+
private _splitVariantTable;
|
|
2123
|
+
private _exist;
|
|
2124
|
+
private _type;
|
|
2125
|
+
constructor(data?: PublicationDataProps);
|
|
2126
|
+
get publicationGuid(): string;
|
|
2127
|
+
set publicationGuid(value: string);
|
|
2128
|
+
get pageId(): number;
|
|
2129
|
+
set pageId(value: number);
|
|
2130
|
+
get guid(): string;
|
|
2131
|
+
set guid(value: string);
|
|
2132
|
+
get reference(): string;
|
|
2133
|
+
set reference(value: string);
|
|
2134
|
+
get groupGuid(): string;
|
|
2135
|
+
set groupGuid(value: string);
|
|
2136
|
+
get order(): number;
|
|
2137
|
+
set order(value: number);
|
|
2138
|
+
get documentGuid(): string;
|
|
2139
|
+
set documentGuid(value: string);
|
|
2140
|
+
get modifiedAt(): Date | string | null;
|
|
2141
|
+
set modifiedAt(value: Date | string | null);
|
|
2142
|
+
get gabaritName(): string;
|
|
2143
|
+
set gabaritName(value: string);
|
|
2144
|
+
get extras(): string;
|
|
2145
|
+
set extras(value: string);
|
|
2146
|
+
get isMarketingBlock(): boolean;
|
|
2147
|
+
set isMarketingBlock(value: boolean);
|
|
2148
|
+
get skuGuids(): string[];
|
|
2149
|
+
set skuGuids(value: string[]);
|
|
2150
|
+
get skuGuidsToExclude(): string[];
|
|
2151
|
+
set skuGuidsToExclude(value: string[]);
|
|
2152
|
+
get skuGroupOriginal(): string;
|
|
2153
|
+
set skuGroupOriginal(value: string);
|
|
2154
|
+
get sku(): string;
|
|
2155
|
+
set sku(value: string);
|
|
2156
|
+
get name(): any;
|
|
2157
|
+
set name(value: any);
|
|
2158
|
+
get description(): any;
|
|
2159
|
+
set description(value: any);
|
|
2160
|
+
get picture(): any;
|
|
2161
|
+
set picture(value: any);
|
|
2162
|
+
get attributes(): any[];
|
|
2163
|
+
set attributes(value: any[]);
|
|
2164
|
+
get splitVariantTable(): boolean;
|
|
2165
|
+
set splitVariantTable(value: boolean);
|
|
2166
|
+
get exist(): boolean;
|
|
2167
|
+
set exist(value: boolean);
|
|
2168
|
+
get type(): string;
|
|
2169
|
+
set type(value: string);
|
|
2170
|
+
get isLineBreak(): boolean;
|
|
2171
|
+
get isPageBreak(): boolean;
|
|
2172
|
+
get isBreak(): boolean;
|
|
2173
|
+
get isProduct(): boolean;
|
|
2174
|
+
static createLineBreak(data?: Partial<PublicationDataProps>): PublicationData;
|
|
2175
|
+
static createPageBreak(data?: Partial<PublicationDataProps>): PublicationData;
|
|
2176
|
+
toJSON(): {
|
|
2177
|
+
publicationGuid: string;
|
|
2178
|
+
pageId: number;
|
|
2179
|
+
guid: string;
|
|
2180
|
+
reference: string;
|
|
2181
|
+
groupGuid: string;
|
|
2182
|
+
order: number;
|
|
2183
|
+
documentGuid: string;
|
|
2184
|
+
modifiedAt: string | Date | null;
|
|
2185
|
+
gabaritName: string;
|
|
2186
|
+
extras: string;
|
|
2187
|
+
isMarketingBlock: boolean;
|
|
2188
|
+
skuGuids: string[];
|
|
2189
|
+
skuGuidsToExclude: string[];
|
|
2190
|
+
skuGroupOriginal: string;
|
|
2191
|
+
sku: string;
|
|
2192
|
+
name: any;
|
|
2193
|
+
description: any;
|
|
2194
|
+
picture: any;
|
|
2195
|
+
attributes: any[];
|
|
2196
|
+
splitVariantTable: boolean;
|
|
2197
|
+
exist: boolean;
|
|
2198
|
+
type: string;
|
|
2199
|
+
attributePublication: any[] | undefined;
|
|
2200
|
+
skus: any[] | undefined;
|
|
2201
|
+
priceObject: any;
|
|
2202
|
+
hasVariant: string | boolean | undefined;
|
|
2203
|
+
gabaritSelected: any;
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
declare class PublicationBreak extends PublicationData {
|
|
2207
|
+
constructor(type: PublicationDataType | 'LINEBREAK' | 'PAGEBREAK', data?: Partial<PublicationDataProps>);
|
|
2208
|
+
}
|
|
2209
|
+
interface PublicationProductsResponse {
|
|
2210
|
+
getPublicationProductsOfAPage: PublicationData[];
|
|
2211
|
+
getPublicationNumberProductsOfAPage: number;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
declare class PublicationsService {
|
|
2215
|
+
private readonly _settingsService;
|
|
2216
|
+
private readonly http;
|
|
2217
|
+
private readonly _webSocket;
|
|
2218
|
+
constructor(_settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
2219
|
+
isPresent(publicationGuid: string, publicationDataReference: string, isSku: any): Observable<Object>;
|
|
2220
|
+
getAllPagesByPublication(publicationGuid: string, language: string): Observable<Object>;
|
|
2221
|
+
getExportEasycatalog(publicationGuid: string): Observable<Object>;
|
|
2222
|
+
getDataSheets(source: string | number, sourceGuid: string, language: string, hd?: boolean, youbooky?: boolean): Observable<Object>;
|
|
2223
|
+
getEasyCatalog(publication: Publication, lang: any): Observable<Object>;
|
|
2224
|
+
getEasyCatalogXML(publication: Publication, lang: any): Observable<Object>;
|
|
2225
|
+
getGabarit(): Observable<Object>;
|
|
2226
|
+
getPublication(publicationGuid: string): Observable<Publication>;
|
|
2227
|
+
getPublicationDocuments(publication: Publication): Observable<Object>;
|
|
2228
|
+
migratePublication(publicationGuid: string): Observable<Object>;
|
|
2229
|
+
getPageOfPublication(publication: Publication): Observable<PublicationPagesResponse>;
|
|
2230
|
+
getSkuForThisPage(publicationPage: PublicationPage, limit?: number): Observable<PublicationProductsResponse>;
|
|
2231
|
+
createPublication(publication: Publication): Observable<Object>;
|
|
2232
|
+
createPublicationDeal(publication: Publication): Observable<Object>;
|
|
2233
|
+
assignGabaritReference(listingPublicationDataGuidToUpdateGabarit: any, gabarit: string): Observable<Object>;
|
|
2234
|
+
createProductInPublication(products: PublicationData | PublicationData[]): Observable<Object>;
|
|
2235
|
+
checkProductInPublication(products: PublicationData | PublicationData[], templateGuid: string): Observable<Object>;
|
|
2236
|
+
checkExcludeProductInPublication(products: PublicationData | PublicationData[]): Observable<Object>;
|
|
2237
|
+
duplicatePublication(sourcePublicationGuid: string, targetPublication: Publication): Observable<Object>;
|
|
2238
|
+
addTemplate(name: string, type: string, isActive: boolean, formatName: string, linkedBackgroundGuid: string): Observable<Object>;
|
|
2239
|
+
duplicateTemplate(name: string, duplicateGuid: string): Observable<Object>;
|
|
2240
|
+
updateFieldForPublication(publicationGuid: string, fieldName: string, fieldValue: any, attribute: any, language: any): Observable<Object>;
|
|
2241
|
+
updateFieldForPublicationPages(publicationGuid: string, fieldName: string, fieldValue: any, attribute: any, language: any): Observable<Object>;
|
|
2242
|
+
updateFieldForPublicationDatas(publicationDataGuid: string, fieldName: string, fieldValue: any, attribute: any, language: string): Observable<Object>;
|
|
2243
|
+
setPublicationTemplateGuid(publicationGuid: string, templateGuid: string): Observable<Object>;
|
|
2244
|
+
setPublicationCover(publicationGuid: string, covername: string): Observable<Object>;
|
|
2245
|
+
setPublicationStartPage(publicationGuid: string, startPageNumber: string): Observable<Object>;
|
|
2246
|
+
updateOrCreatePageInPublication(publicationPage: PublicationPage): Observable<Object>;
|
|
2247
|
+
updatePublicationField(publicationGuid: string, fieldName: string, fieldValue: any): Observable<Object>;
|
|
2248
|
+
updatePublicationDataField(publicationDataGuid: string, fieldName: string, fieldValue: any): Observable<Object>;
|
|
2249
|
+
moveSections(publicationPageId: string | number, number: number): Observable<Object>;
|
|
2250
|
+
moveSkusGroupInPage(skusData: {
|
|
2251
|
+
publicationDataGuid: string;
|
|
2252
|
+
number: number;
|
|
2253
|
+
}[]): Observable<Object>;
|
|
2254
|
+
changeOrderSkusBySort(payload: any): Observable<Object>;
|
|
2255
|
+
moveSkusToNewSection(object: any): Observable<Object>;
|
|
2256
|
+
updateTemplateField(publicationTemplateGuid: string, fieldName: string, fieldValue: any): Observable<Object>;
|
|
2257
|
+
deletePagesInPublication(listingPagesToDelete: any): Observable<Object>;
|
|
2258
|
+
deleteProductInPublication(listingSkusGroupsUidToDelete: any): Observable<Object>;
|
|
2259
|
+
upsertExcludeSkuGuids(publicationGuid: string, publicationPageId: string | number, publicationDataReference: string, skuGuidsExcludesCheck: any): Observable<Object>;
|
|
2260
|
+
getFieldsPublications(): Observable<Object>;
|
|
2261
|
+
getSkuForThisPagePreview(publicationGuid: string, publicationPageId: string | number, language: string, ratebase: number, priceListGuid: string | null, accountGuid: string | null, limit?: number): Observable<Object>;
|
|
2262
|
+
getSkuPreview(sourceId: string | number, language: string, ratebase: number, priceListGuid: string | null, accountGuid: string | null, productSheetGuid?: string | null): Observable<Object>;
|
|
2263
|
+
getPublicationSkuPrice(publicationGuid: string, sku: string): Observable<Object>;
|
|
2264
|
+
updatePublicationSkuPrice(publicationGuid: string, sku: string, skuPrice: any, skuPricePromotion: any): Observable<Object>;
|
|
2265
|
+
getFonts(): Observable<Object>;
|
|
2266
|
+
getFontFaceBase64(url: string, fontName: string): Observable<string | undefined>;
|
|
2267
|
+
blobToBase64(blob: Blob): Promise<string | ArrayBuffer>;
|
|
2268
|
+
getFontMimeAndType(fileUrl: any): {
|
|
2269
|
+
mime: string;
|
|
2270
|
+
type: string;
|
|
2271
|
+
};
|
|
2272
|
+
createDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
|
|
2273
|
+
createEmptyDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
|
|
2274
|
+
shareToYoubooky(publicationGuid: string): Observable<Object>;
|
|
2275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsService, never>;
|
|
2276
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsService>;
|
|
2277
|
+
}
|
|
2278
|
+
|
|
2279
|
+
declare const DEFAULT_TEMPLATEGUID = "00000000-0000-0000-0000-000000000000";
|
|
2280
|
+
interface TemplateProps {
|
|
2281
|
+
id?: number;
|
|
2282
|
+
guid?: string;
|
|
2283
|
+
name?: string;
|
|
2284
|
+
defaultBackground?: string;
|
|
2285
|
+
defaultProductBlock?: string;
|
|
2286
|
+
unit?: string;
|
|
2287
|
+
version?: number;
|
|
2288
|
+
productSheetAssetGuid?: string | null;
|
|
2289
|
+
}
|
|
2290
|
+
declare class Template {
|
|
2291
|
+
private _id;
|
|
2292
|
+
private _guid;
|
|
2293
|
+
private _name;
|
|
2294
|
+
private _defaultBackground;
|
|
2295
|
+
private _defaultProductBlock;
|
|
2296
|
+
private _unit;
|
|
2297
|
+
private _version;
|
|
2298
|
+
private _productSheetAssetGuid;
|
|
2299
|
+
constructor(data?: TemplateProps);
|
|
2300
|
+
get id(): number;
|
|
2301
|
+
set id(value: number);
|
|
2302
|
+
get guid(): string | null;
|
|
2303
|
+
set guid(value: string | null);
|
|
2304
|
+
get name(): string | null;
|
|
2305
|
+
set name(value: string | null);
|
|
2306
|
+
get defaultBackground(): string;
|
|
2307
|
+
set defaultBackground(value: string);
|
|
2308
|
+
get defaultProductBlock(): string;
|
|
2309
|
+
set defaultProductBlock(value: string);
|
|
2310
|
+
get unit(): string;
|
|
2311
|
+
set unit(value: string);
|
|
2312
|
+
get version(): number;
|
|
2313
|
+
set version(value: number);
|
|
2314
|
+
get productSheetAssetGuid(): string | null;
|
|
2315
|
+
set productSheetAssetGuid(value: string | null);
|
|
2316
|
+
toJSON(): {
|
|
2317
|
+
id: number;
|
|
2318
|
+
guid: string | null;
|
|
2319
|
+
defaultBackground: string;
|
|
2320
|
+
defaultProductBlock: string;
|
|
2321
|
+
unit: string;
|
|
2322
|
+
version: number;
|
|
2323
|
+
productSheetAssetGuid: string | null;
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
declare class TemplatesService {
|
|
2328
|
+
private auth;
|
|
2329
|
+
private _settingsService;
|
|
2330
|
+
private http;
|
|
2331
|
+
private _webSocket;
|
|
2332
|
+
constructor(auth: AuthService, _settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
2333
|
+
getTemplate(templateGuid: string): Observable<Template>;
|
|
2334
|
+
getTemplateDimensions(): Observable<Object>;
|
|
2335
|
+
templateSetDefault(assetGuid: string, defaultType: string, defaultGuid: string): Observable<Object>;
|
|
2336
|
+
createTemplate(folderGuid: string, templateName: string, templateUnit?: string, templateProductSheetAssetGuid?: string): Observable<Object>;
|
|
2337
|
+
duplicateTemplate(duplicateGuid: string, name: string): Observable<Object>;
|
|
2338
|
+
updateFieldForTemplate(templateGuid: string, fieldName: string, fieldValue: string): Observable<Object>;
|
|
2339
|
+
migrateTemplate(assetGuid: string): Observable<Object>;
|
|
2340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TemplatesService, never>;
|
|
2341
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TemplatesService>;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
interface PublicationTemplateProps {
|
|
2345
|
+
guid?: string;
|
|
2346
|
+
name?: string;
|
|
2347
|
+
type?: string;
|
|
2348
|
+
createdAt?: Date | string;
|
|
2349
|
+
modifiedAt?: Date | string | null;
|
|
2350
|
+
active?: boolean;
|
|
2351
|
+
settingVariants?: any;
|
|
2352
|
+
default?: boolean;
|
|
2353
|
+
linkedTemplate?: string;
|
|
2354
|
+
templateGuid?: string;
|
|
2355
|
+
version?: string;
|
|
2356
|
+
thumbnail?: string;
|
|
2357
|
+
productSheetGuid?: string | null;
|
|
2358
|
+
productSheetAssetGuid?: string | null;
|
|
2359
|
+
url?: string;
|
|
2360
|
+
formatName?: string;
|
|
2361
|
+
backgroundName?: string;
|
|
2362
|
+
backgroundFormatName?: string;
|
|
2363
|
+
svgContent?: string | null;
|
|
2364
|
+
svgUrl?: string;
|
|
2365
|
+
marginHorizontal?: number;
|
|
2366
|
+
}
|
|
2367
|
+
declare class PublicationTemplate {
|
|
2368
|
+
private _guid;
|
|
2369
|
+
private _name;
|
|
2370
|
+
private _type;
|
|
2371
|
+
private _createdAt;
|
|
2372
|
+
private _modifiedAt;
|
|
2373
|
+
private _active;
|
|
2374
|
+
private _settingVariants;
|
|
2375
|
+
private _default;
|
|
2376
|
+
private _linkedTemplate;
|
|
2377
|
+
private _templateGuid;
|
|
2378
|
+
private _version;
|
|
2379
|
+
private _thumbnail;
|
|
2380
|
+
private _productSheetAssetGuid;
|
|
2381
|
+
private _url;
|
|
2382
|
+
private _nameNoSvg;
|
|
2383
|
+
private _width;
|
|
2384
|
+
private _height;
|
|
2385
|
+
private _headerHeight;
|
|
2386
|
+
private _footerHeight;
|
|
2387
|
+
private _leftMargin;
|
|
2388
|
+
private _rightMargin;
|
|
2389
|
+
private _bleedMarginTop;
|
|
2390
|
+
private _bleedMarginBottom;
|
|
2391
|
+
private _bleedMarginLeft;
|
|
2392
|
+
private _bleedMarginRight;
|
|
2393
|
+
private _pathFile;
|
|
2394
|
+
private _svgImage;
|
|
2395
|
+
private _backgroundFormatName;
|
|
2396
|
+
private _svgContent;
|
|
2397
|
+
private _svgUrl;
|
|
2398
|
+
private _marginHorizontal;
|
|
2399
|
+
private _isSvgLoaded;
|
|
2400
|
+
constructor(data?: PublicationTemplateProps);
|
|
2401
|
+
get guid(): string;
|
|
2402
|
+
set guid(value: string);
|
|
2403
|
+
get name(): string;
|
|
2404
|
+
set name(value: string);
|
|
2405
|
+
get type(): string;
|
|
2406
|
+
set type(value: string);
|
|
2407
|
+
get createdAt(): Date | string;
|
|
2408
|
+
set createdAt(value: Date | string);
|
|
2409
|
+
get modifiedAt(): Date | string | null;
|
|
2410
|
+
set modifiedAt(value: Date | string | null);
|
|
2411
|
+
get active(): boolean;
|
|
2412
|
+
set active(value: boolean);
|
|
2413
|
+
get settingVariants(): any;
|
|
2414
|
+
set settingVariants(value: any);
|
|
2415
|
+
get default(): boolean;
|
|
2416
|
+
set default(value: boolean);
|
|
2417
|
+
get linkedTemplate(): string;
|
|
2418
|
+
set linkedTemplate(value: string);
|
|
2419
|
+
get templateGuid(): string;
|
|
2420
|
+
set templateGuid(value: string);
|
|
2421
|
+
get version(): string;
|
|
2422
|
+
set version(value: string);
|
|
2423
|
+
get thumbnail(): string;
|
|
2424
|
+
set thumbnail(value: string);
|
|
2425
|
+
get productSheetAssetGuid(): string | null;
|
|
2426
|
+
set productSheetAssetGuid(value: string | null);
|
|
2427
|
+
get url(): string;
|
|
2428
|
+
set url(value: string);
|
|
2429
|
+
get nameNoSvg(): string;
|
|
2430
|
+
set nameNoSvg(value: string);
|
|
2431
|
+
get width(): number;
|
|
2432
|
+
set width(value: number);
|
|
2433
|
+
get height(): number;
|
|
2434
|
+
set height(value: number);
|
|
2435
|
+
get headerHeight(): number;
|
|
2436
|
+
set headerHeight(value: number);
|
|
2437
|
+
get footerHeight(): number;
|
|
2438
|
+
set footerHeight(value: number);
|
|
2439
|
+
get leftMargin(): number;
|
|
2440
|
+
set leftMargin(value: number);
|
|
2441
|
+
get rightMargin(): number;
|
|
2442
|
+
set rightMargin(value: number);
|
|
2443
|
+
get bleedMarginTop(): number;
|
|
2444
|
+
set bleedMarginTop(value: number);
|
|
2445
|
+
get bleedMarginBottom(): number;
|
|
2446
|
+
set bleedMarginBottom(value: number);
|
|
2447
|
+
get bleedMarginLeft(): number;
|
|
2448
|
+
set bleedMarginLeft(value: number);
|
|
2449
|
+
get bleedMarginRight(): number;
|
|
2450
|
+
set bleedMarginRight(value: number);
|
|
2451
|
+
get pathFile(): string;
|
|
2452
|
+
set pathFile(value: string);
|
|
2453
|
+
get svgImage(): string | null;
|
|
2454
|
+
set svgImage(value: string | null);
|
|
2455
|
+
get formatName(): string;
|
|
2456
|
+
set formatName(value: string);
|
|
2457
|
+
get svgContent(): string | null;
|
|
2458
|
+
set svgContent(value: string | null);
|
|
2459
|
+
get svgUrl(): string;
|
|
2460
|
+
set svgUrl(value: string);
|
|
2461
|
+
get marginHorizontal(): number;
|
|
2462
|
+
set marginHorizontal(value: number);
|
|
2463
|
+
get isSvgLoaded(): boolean;
|
|
2464
|
+
set isSvgLoaded(value: boolean);
|
|
2465
|
+
toJSON(): {
|
|
2466
|
+
guid: string;
|
|
2467
|
+
name: string;
|
|
2468
|
+
type: string;
|
|
2469
|
+
createdAt: string | Date;
|
|
2470
|
+
modifiedAt: string | Date | null;
|
|
2471
|
+
active: boolean;
|
|
2472
|
+
settingVariants: any;
|
|
2473
|
+
default: boolean;
|
|
2474
|
+
linkedTemplate: string;
|
|
2475
|
+
templateGuid: string;
|
|
2476
|
+
version: string;
|
|
2477
|
+
thumbnail: string;
|
|
2478
|
+
productSheetAssetGuid: string | null;
|
|
2479
|
+
url: string;
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
declare class PublicationsTemplatesService {
|
|
2484
|
+
private auth;
|
|
2485
|
+
private _settingsService;
|
|
2486
|
+
private http;
|
|
2487
|
+
private _webSocket;
|
|
2488
|
+
constructor(auth: AuthService, _settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
2489
|
+
getPublicationTemplate(publicationTemplateGuid: any): Observable<PublicationTemplate>;
|
|
2490
|
+
getPublicationsTemplates(start: number, limit: number, searchWord?: string, typeSelected?: string, columnSort?: any, direction?: string, active?: boolean, delautTemplate?: boolean): Observable<Object>;
|
|
2491
|
+
duplicatePublicationTemplate(name: string, duplicateGuid: string): Observable<Object>;
|
|
2492
|
+
deletePublicationTemplate(publicationtemplateguid: string): Observable<Object>;
|
|
2493
|
+
deletePublicationTemplates(listingTemplateGuidToDelete: string[]): Observable<Object>;
|
|
2494
|
+
renamePublicationTemplate(publicationTemplateGuid: string, fieldValue: string, templateGuid: string): Observable<Object>;
|
|
2495
|
+
changePublicationTemplateType(publicationTemplateGuid: string, fieldValue: string, templateGuid: string): Observable<Object>;
|
|
2496
|
+
updatePublicationTemplateBackgroundLink(publicationTemplateGuid: string, fieldValue: string, templateGuid: string): Observable<Object>;
|
|
2497
|
+
addPublicationTemplate(templateGuid: string, name: string, type: string, formatName: string, linkedBackgroundGuid: string, width: number, height: number, marginTop?: number, marginBottom?: number, marginLeft?: number, marginRight?: number): Observable<Object>;
|
|
2498
|
+
getTemplateBackgrounds(templateGuid: string): Observable<{
|
|
2499
|
+
backgrounds: PublicationTemplate[];
|
|
2500
|
+
}>;
|
|
2501
|
+
getTemplateProductBlocks(templateGuid: string): Observable<{
|
|
2502
|
+
productBlocks: PublicationTemplate[];
|
|
2503
|
+
}>;
|
|
2504
|
+
getTemplateCoverpages(templateGuid: string): Observable<{
|
|
2505
|
+
coverpages: PublicationTemplate[];
|
|
2506
|
+
}>;
|
|
2507
|
+
getTemplateMarketings(templateGuid: string): Observable<{
|
|
2508
|
+
marketing: PublicationTemplate[];
|
|
2509
|
+
}>;
|
|
2510
|
+
getCoverPages(): Observable<Object>;
|
|
2511
|
+
deleteCoverPage(imageGuid: string): Observable<Object>;
|
|
2512
|
+
deleteMarketing(imageGuid: string): Observable<Object>;
|
|
2513
|
+
getBackgrounds(): Observable<Object>;
|
|
2514
|
+
deleteBackground(imageGuid: string): Observable<Object>;
|
|
2515
|
+
getGabarits(): Observable<Object>;
|
|
2516
|
+
deleteGabarits(imageGuid: string): Observable<Object>;
|
|
2517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsTemplatesService, never>;
|
|
2518
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsTemplatesService>;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
declare class DocumentsService {
|
|
2522
|
+
private _settingsService;
|
|
2523
|
+
private http;
|
|
2524
|
+
private _webSocket;
|
|
2525
|
+
constructor(_settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
2526
|
+
getDocument(assetGuid: string): rxjs.Observable<Object>;
|
|
2527
|
+
existDocument(assetGuid: string, version?: string): rxjs.Observable<Object>;
|
|
2528
|
+
createDocument(assetName: string, folderGuid: string): rxjs.Observable<Object>;
|
|
2529
|
+
duplicateDocument(assetGuid: string, documentName: string): rxjs.Observable<Object>;
|
|
2530
|
+
updateDocumentPagePosition(assetGuid: string, pageGuid: string, position: number): rxjs.Observable<Object>;
|
|
2531
|
+
importDocumentFiles(assetGuid: string, overwrite: boolean, files: any[]): rxjs.Observable<Object>;
|
|
2532
|
+
migrateDocument(assetGuid: string): rxjs.Observable<Object>;
|
|
2533
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsService, never>;
|
|
2534
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsService>;
|
|
2535
|
+
}
|
|
2536
|
+
|
|
2537
|
+
interface DocumentProps {
|
|
2538
|
+
documentGuid?: string;
|
|
2539
|
+
documentVersion?: number;
|
|
2540
|
+
documentPublicationGuid?: string | null;
|
|
2541
|
+
productSheetGuid?: string | null;
|
|
2542
|
+
productSheetAssetGuid?: string | null;
|
|
2543
|
+
}
|
|
2544
|
+
declare class Document {
|
|
2545
|
+
private _documentGuid;
|
|
2546
|
+
private _documentVersion;
|
|
2547
|
+
private _documentPublicationGuid;
|
|
2548
|
+
private _productSheetGuid;
|
|
2549
|
+
private _productSheetAssetGuid;
|
|
2550
|
+
constructor(data?: DocumentProps);
|
|
2551
|
+
get documentGuid(): string;
|
|
2552
|
+
set documentGuid(value: string);
|
|
2553
|
+
get documentVersion(): number;
|
|
2554
|
+
set documentVersion(value: number);
|
|
2555
|
+
get documentPublicationGuid(): string | null;
|
|
2556
|
+
set documentPublicationGuid(value: string | null);
|
|
2557
|
+
get productSheetGuid(): string | null;
|
|
2558
|
+
set productSheetGuid(value: string | null);
|
|
2559
|
+
get productSheetAssetGuid(): string | null;
|
|
2560
|
+
set productSheetAssetGuid(value: string | null);
|
|
2561
|
+
toJSON(): {
|
|
2562
|
+
documentGuid: string;
|
|
2563
|
+
documentVersion: number;
|
|
2564
|
+
documentPublicationGuid: string | null;
|
|
2565
|
+
productSheetGuid: string | null;
|
|
2566
|
+
productSheetAssetGuid: string | null;
|
|
2567
|
+
};
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
declare class StripeService {
|
|
2571
|
+
private http;
|
|
2572
|
+
private _settingsService;
|
|
2573
|
+
constructor(http: HttpClient, _settingsService: SettingsService);
|
|
2574
|
+
createCheckoutSession(subscriptionGuid: string, successUrl: string, cancelUrl: string): rxjs.Observable<Object>;
|
|
2575
|
+
changeSubscription(newSubscriptionGuid: string): rxjs.Observable<Object>;
|
|
2576
|
+
cancelSubscription(newSubscriptionGuid: string): rxjs.Observable<Object>;
|
|
2577
|
+
getInvoices(): rxjs.Observable<Object>;
|
|
2578
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StripeService, never>;
|
|
2579
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StripeService>;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
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 };
|