@solidpepper/solidpepper-service 1.1.0 → 1.1.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/index.d.ts
CHANGED
|
@@ -78,8 +78,9 @@ declare enum ModuleType {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
declare enum SubModuleType {
|
|
81
|
+
PUBLICATIONS = "Projects",
|
|
81
82
|
PROJECTS = "Projects",
|
|
82
|
-
|
|
83
|
+
CATALOGS = "Catalogs",
|
|
83
84
|
MODELS = "Models",
|
|
84
85
|
PUBLICATION_IMPORTS = "PublicationImports",
|
|
85
86
|
PUBLICATION_EXPORTS = "PublicationExports",
|
|
@@ -163,22 +164,41 @@ declare enum FunctionType {
|
|
|
163
164
|
REGENERATE = "Regenerate",
|
|
164
165
|
ADD_CALLOUT = "AddCallout",
|
|
165
166
|
REVIEW = "Review",
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
ADD_SECTION = "AddSection",
|
|
172
|
-
DELETE_SECTION = "DeleteSection",
|
|
173
|
-
ADD_PRODUCTS = "AddProducts",
|
|
174
|
-
REMOVE_PRODUCTS = "RemoveProducts",
|
|
175
|
-
MOVE_PRODUCTS = "MoveProducts",
|
|
167
|
+
ADD_YOUBOOKY = "AddYouBooky",
|
|
168
|
+
ADD_DOCUMENT = "AddDocument",
|
|
169
|
+
ADD_TECHNICAL_SHEETS = "AddTechnicalSheets",
|
|
170
|
+
ADD_CATALOG = "AddCatalog",
|
|
171
|
+
CONFIGURE_PROJECT = "ConfigureProject",
|
|
176
172
|
GENERATE_CATALOG = "GenerateCatalog",
|
|
177
173
|
GENERATE_DATA_SHEET = "GenerateDataSheet",
|
|
178
|
-
|
|
174
|
+
GENERATE_HD = "GenerateHD",
|
|
175
|
+
GENERATE_CMYK = "GenerateCMYK",
|
|
179
176
|
FLIPBOOK = "Flipbook",
|
|
180
|
-
|
|
177
|
+
REVIEWER = "Reviewer",
|
|
178
|
+
MANAGE_FONTS = "ManageFonts",
|
|
181
179
|
YOU_BOOKY = "YouBooky",
|
|
180
|
+
AUTO_GENERATION = "AutoGeneration",
|
|
181
|
+
PREVIEW_AUTO_GENERATION = "PreviewAutoGeneration",
|
|
182
|
+
CREATE_VERSION = "CreateVersion",
|
|
183
|
+
GENERATE_XML = "GenerateXML",
|
|
184
|
+
EXPORT_EXCEL_DATA = "ExportExcelData",
|
|
185
|
+
ADD_SECTION = "AddSection",
|
|
186
|
+
DUPLICATE_SECTION = "DuplicateSection",
|
|
187
|
+
CONFIGURE_SECTION = "ConfigureSection",
|
|
188
|
+
DELETE_SECTION = "DeleteSection",
|
|
189
|
+
ADD_PRODUCT = "AddProduct",
|
|
190
|
+
ADD_PRODUCTS = "AddProduct",
|
|
191
|
+
CONFIGURE_PRODUCT = "ConfigureProduct",
|
|
192
|
+
REMOVE_PRODUCT = "RemoveProduct",
|
|
193
|
+
REMOVE_PRODUCTS = "RemoveProduct",
|
|
194
|
+
MOVE_PRODUCTS = "MoveProducts",
|
|
195
|
+
REORDER_PRODUCTS = "ReorderProducts",
|
|
196
|
+
MASS_ADD_PRODUCTS = "MassAddProducts",
|
|
197
|
+
MASS_EXCLUDE_PRODUCTS = "MassExcludeProducts",
|
|
198
|
+
MASS_EDIT_PRICES = "MassEditPrices",
|
|
199
|
+
ADD_LINE_BREAK = "AddLineBreak",
|
|
200
|
+
ADD_PAGE_BREAK = "AddPageBreak",
|
|
201
|
+
ADD_CALLOUT_ELEMENT = "AddCalloutElement",
|
|
182
202
|
ADD_PRODUCT_SHEET = "AddProductSheet",
|
|
183
203
|
EDIT_PRODUCT_SHEET = "EditProductSheet",
|
|
184
204
|
REMOVE_PRODUCT_SHEET = "RemoveProductSheet",
|
|
@@ -1108,6 +1128,7 @@ declare class ExchangesConfigurationsService {
|
|
|
1108
1128
|
GetSkusRenamed(skusGuids: any, viewGuid: string, attributeGuid: string, fields: any, lang: string, isVariant: boolean, substitue: string): Observable$1<Object>;
|
|
1109
1129
|
ExportProcessAssetsRenaming(skusGuids: any, viewGuid: string, assetsGuids: any, configurationName: string, fields: any, mappingGuid: string, exchangeExtension: string, templateGuid: string, langs: any, isVariant: boolean): Observable$1<Object>;
|
|
1110
1130
|
AddExchangeConfiguration(exchangeConfigurationName: string, exchangeConfigurationContent: any, overwrite: boolean): Observable$1<Object>;
|
|
1131
|
+
DeleteExchangeConfiguration(exchangeConfigurationGuid: string): Observable$1<any>;
|
|
1111
1132
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExchangesConfigurationsService, never>;
|
|
1112
1133
|
static ɵprov: i0.ɵɵInjectableDeclaration<ExchangesConfigurationsService>;
|
|
1113
1134
|
}
|
|
@@ -1155,6 +1176,7 @@ declare class MenuService {
|
|
|
1155
1176
|
assetsOrphansLabel: any;
|
|
1156
1177
|
assetsProfilesLabel: any;
|
|
1157
1178
|
assetsSelectionsLabel: any;
|
|
1179
|
+
assetsConversionsLabel: any;
|
|
1158
1180
|
assetsOnHoldLabel: any;
|
|
1159
1181
|
assetsFavoritesLabel: any;
|
|
1160
1182
|
templatesLabel: any;
|
|
@@ -3390,6 +3412,7 @@ declare class ProductSheetsService {
|
|
|
3390
3412
|
private _webSocket;
|
|
3391
3413
|
constructor(_settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
3392
3414
|
getProductSheetsByAssetGuid(assetGuid: string): rxjs.Observable<Object>;
|
|
3415
|
+
exportProductSheetAsset(assetGuid: string): rxjs.Observable<Blob>;
|
|
3393
3416
|
getProductSheetLines(productSheetGuid: string, start?: number, limit?: number, summary?: boolean): rxjs.Observable<Object>;
|
|
3394
3417
|
getProductSheetColumns(assetGuid: string): rxjs.Observable<Object>;
|
|
3395
3418
|
getProductSheetLineByGuid(productSheetGuid: string, productSheetLineGuid: string): rxjs.Observable<Object>;
|
|
@@ -3410,12 +3433,12 @@ declare class ProductSheetsService {
|
|
|
3410
3433
|
}
|
|
3411
3434
|
|
|
3412
3435
|
declare enum ProjectType {
|
|
3413
|
-
STATIC = "
|
|
3414
|
-
DYNAMIC = "
|
|
3415
|
-
YOUBOOKY = "
|
|
3416
|
-
DOCUMENT = "
|
|
3417
|
-
|
|
3418
|
-
TECHNICAL_SHEET = "
|
|
3436
|
+
STATIC = "STATIC",
|
|
3437
|
+
DYNAMIC = "DYNAMIC",
|
|
3438
|
+
YOUBOOKY = "YOUBOOKY",
|
|
3439
|
+
DOCUMENT = "DOCUMENT",
|
|
3440
|
+
CATALOG = "CATALOG",
|
|
3441
|
+
TECHNICAL_SHEET = "DATASHEET"
|
|
3419
3442
|
}
|
|
3420
3443
|
|
|
3421
3444
|
interface PublicationPageProps {
|
|
@@ -3424,6 +3447,7 @@ interface PublicationPageProps {
|
|
|
3424
3447
|
name?: string;
|
|
3425
3448
|
status?: number;
|
|
3426
3449
|
background?: string;
|
|
3450
|
+
gabarit?: string;
|
|
3427
3451
|
order?: number;
|
|
3428
3452
|
modifiedAt?: Date | string | null;
|
|
3429
3453
|
type?: string;
|
|
@@ -3437,6 +3461,7 @@ declare class PublicationPage {
|
|
|
3437
3461
|
private _name;
|
|
3438
3462
|
private _status;
|
|
3439
3463
|
private _background;
|
|
3464
|
+
private _gabarit;
|
|
3440
3465
|
private _order;
|
|
3441
3466
|
private _modifiedAt;
|
|
3442
3467
|
private _type;
|
|
@@ -3453,6 +3478,8 @@ declare class PublicationPage {
|
|
|
3453
3478
|
set status(value: number);
|
|
3454
3479
|
get background(): string;
|
|
3455
3480
|
set background(value: string);
|
|
3481
|
+
get gabarit(): string;
|
|
3482
|
+
set gabarit(value: string);
|
|
3456
3483
|
get order(): number;
|
|
3457
3484
|
set order(value: number);
|
|
3458
3485
|
get modifiedAt(): Date | string | null;
|
|
@@ -3469,6 +3496,7 @@ declare class PublicationPage {
|
|
|
3469
3496
|
name: string;
|
|
3470
3497
|
status: number;
|
|
3471
3498
|
background: string;
|
|
3499
|
+
gabarit: string;
|
|
3472
3500
|
order: number;
|
|
3473
3501
|
modifiedAt: string | Date | null;
|
|
3474
3502
|
type: string;
|
|
@@ -3915,6 +3943,7 @@ declare class Publication {
|
|
|
3915
3943
|
name: string;
|
|
3916
3944
|
status: number;
|
|
3917
3945
|
background: string;
|
|
3946
|
+
gabarit: string;
|
|
3918
3947
|
order: number;
|
|
3919
3948
|
modifiedAt: string | Date | null;
|
|
3920
3949
|
type: string;
|
|
@@ -4152,6 +4181,19 @@ declare class PublicationsService {
|
|
|
4152
4181
|
createDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
|
|
4153
4182
|
createEmptyDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
|
|
4154
4183
|
shareToYoubooky(publicationGuid: string): Observable<Object>;
|
|
4184
|
+
getPublicationDatasheetStatus(publicationGuid: string, options?: {
|
|
4185
|
+
page?: number;
|
|
4186
|
+
pageSize?: number;
|
|
4187
|
+
search?: string;
|
|
4188
|
+
filterStatus?: 'all' | 'generated' | 'not_generated' | 'orphan';
|
|
4189
|
+
level?: 'products' | 'variants';
|
|
4190
|
+
}): Observable<any>;
|
|
4191
|
+
checkDatasheetSkuDocumentExists(publicationGuid: string, sku: string): Observable<{
|
|
4192
|
+
exists: boolean;
|
|
4193
|
+
sku: string;
|
|
4194
|
+
documentGuid?: string;
|
|
4195
|
+
documentUrlSmall?: string;
|
|
4196
|
+
}>;
|
|
4155
4197
|
static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsService, never>;
|
|
4156
4198
|
static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsService>;
|
|
4157
4199
|
}
|
|
@@ -4411,7 +4453,7 @@ declare class DocumentsService {
|
|
|
4411
4453
|
constructor(_settingsService: SettingsService, http: HttpClient, _webSocket: websocketService);
|
|
4412
4454
|
getDocument(assetGuid: string): rxjs.Observable<Object>;
|
|
4413
4455
|
existDocument(assetGuid: string, version?: string): rxjs.Observable<Object>;
|
|
4414
|
-
createDocument(assetName: string, folderGuid: string): rxjs.Observable<Object>;
|
|
4456
|
+
createDocument(assetName: string, folderGuid: string, documentType?: string): rxjs.Observable<Object>;
|
|
4415
4457
|
duplicateDocument(assetGuid: string, documentName: string, publicationGuid?: string, folderGuid?: string): rxjs.Observable<Object>;
|
|
4416
4458
|
updateDocumentPagePosition(assetGuid: string, pageGuid: string, position: number): rxjs.Observable<Object>;
|
|
4417
4459
|
importDocumentFiles(assetGuid: string, overwrite: boolean, files: any[]): rxjs.Observable<Object>;
|
|
@@ -4533,6 +4575,26 @@ declare class DamAssetsProfilesService {
|
|
|
4533
4575
|
static ɵprov: i0.ɵɵInjectableDeclaration<DamAssetsProfilesService>;
|
|
4534
4576
|
}
|
|
4535
4577
|
|
|
4578
|
+
declare enum AssetType {
|
|
4579
|
+
IMAGE = "image",
|
|
4580
|
+
IMAGE_MULTILANG = "imagemultilang",
|
|
4581
|
+
AUDIO = "audio",
|
|
4582
|
+
VIDEO = "video",
|
|
4583
|
+
FILE = "file",
|
|
4584
|
+
PRODUCTSHEET = "productSheet",
|
|
4585
|
+
DATASHEETFILE = "datasheetfile",
|
|
4586
|
+
YOUBOOKY = "youbooky",
|
|
4587
|
+
DOCUMENT = "document",
|
|
4588
|
+
PUBLICATION = "publication",
|
|
4589
|
+
TEMPLATE = "template",
|
|
4590
|
+
CALLOUT = "callout",
|
|
4591
|
+
PROJECT = "project",
|
|
4592
|
+
FILE_MULTILANG = "filemultilang",
|
|
4593
|
+
FILE_TRAD = "filetrad",
|
|
4594
|
+
FILES = "files",
|
|
4595
|
+
FILES_TRAD = "filestrad"
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4536
4598
|
declare class DashboardService {
|
|
4537
4599
|
private _settings;
|
|
4538
4600
|
private http;
|
|
@@ -4571,5 +4633,5 @@ declare class PresetsService {
|
|
|
4571
4633
|
static ɵprov: i0.ɵɵInjectableDeclaration<PresetsService>;
|
|
4572
4634
|
}
|
|
4573
4635
|
|
|
4574
|
-
export { AccountsService, AllLanguagesService, AttributesService, AuthService, AuthTwoFactorService, BatchService, BomService, BomsitemsService, CataloguesService, CategoriesService, ChannelsService, CmsService, ColorsService, CompaniesService, CompanyService, CompletenessService, DEFAULT_PUBLICATION_STR, DEFAULT_TEMPLATEGUID, DamAssetsProfilesService, DamAssetsSelectionsService, DamAssetsService, DashboardService, Document, DocumentCommentService, DocumentsService, EasypiechartDirective, EcoTaxService, ExchangesConfigurationsService, ExportsService, FrameworkagreementsService, FunctionType, GenerationService, ImportsService, InformationsService, LocaleNumberPipe, LoginService, MappingsService, MasksService, MediaSelectionDeclinaisonService, MediaSelectionService, MenuService, ModuleType, NotificationServiceService, OpenAiService, OrdersService, OrganizationsService, PresetsService, PricesTaxService, ProductSheetsService, ProfilesService, ProjectType, PromotionsService, PromptsService, Publication, PublicationBreak, PublicationData, PublicationDataType, PublicationPage, PublicationTemplate, PublicationsService, PublicationsTemplatesService, QuotesService, ReportsService, RequestsService, RightsService, RoleService, RouterExtServiceService, RulesCompletenessService, SOLIDPEPPER_API_URL, SOLIDPEPPER_TOKEN_GETTER, SalersService, SearchDamAssetsService, SearchService, SearchsService, SettingsService, SidebarRightService, SkusDeclinaisonsService, SkusPricesService, SkusService, SkusSuppliersService, SkusTrackingService, StatusService, StocksService, StripeService, SubModuleType, SuppliersService, TeamsService, Template, TemplatesService, ThumbnailService, TimeElapsedPipe, TranslateService, TranslatorService, UsersService, UtilsService, ViewsService, WorkflowsDesksService, WorkflowsGlobalStepsService, WorkflowsHistoricalService, WorkflowsRulesService, websocketService };
|
|
4636
|
+
export { AccountsService, AllLanguagesService, AssetType, AttributesService, AuthService, AuthTwoFactorService, BatchService, BomService, BomsitemsService, CataloguesService, CategoriesService, ChannelsService, CmsService, ColorsService, CompaniesService, CompanyService, CompletenessService, DEFAULT_PUBLICATION_STR, DEFAULT_TEMPLATEGUID, DamAssetsProfilesService, DamAssetsSelectionsService, DamAssetsService, DashboardService, Document, DocumentCommentService, DocumentsService, EasypiechartDirective, EcoTaxService, ExchangesConfigurationsService, ExportsService, FrameworkagreementsService, FunctionType, GenerationService, ImportsService, InformationsService, LocaleNumberPipe, LoginService, MappingsService, MasksService, MediaSelectionDeclinaisonService, MediaSelectionService, MenuService, ModuleType, NotificationServiceService, OpenAiService, OrdersService, OrganizationsService, PresetsService, PricesTaxService, ProductSheetsService, ProfilesService, ProjectType, PromotionsService, PromptsService, Publication, PublicationBreak, PublicationData, PublicationDataType, PublicationPage, PublicationTemplate, PublicationsService, PublicationsTemplatesService, QuotesService, ReportsService, RequestsService, RightsService, RoleService, RouterExtServiceService, RulesCompletenessService, SOLIDPEPPER_API_URL, SOLIDPEPPER_TOKEN_GETTER, SalersService, SearchDamAssetsService, SearchService, SearchsService, SettingsService, SidebarRightService, SkusDeclinaisonsService, SkusPricesService, SkusService, SkusSuppliersService, SkusTrackingService, StatusService, StocksService, StripeService, SubModuleType, SuppliersService, TeamsService, Template, TemplatesService, ThumbnailService, TimeElapsedPipe, TranslateService, TranslatorService, UsersService, UtilsService, ViewsService, WorkflowsDesksService, WorkflowsGlobalStepsService, WorkflowsHistoricalService, WorkflowsRulesService, websocketService };
|
|
4575
4637
|
export type { AttributeObject, AttributesGroup, AuthGroup, Bom, CategoryObject, Company, DocumentComment, DocumentProps, Mask, MaskName, Prompt, PublicationDataProps, PublicationPageProps, PublicationPagesResponse, PublicationProductsResponse, PublicationProps, PublicationTemplateProps, Supplier, TemplateProps };
|