@solidpepper/solidpepper-service 1.1.0 → 1.1.1

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
- DOCUMENTS = "Documents",
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
- ADD_PUBLICATION = "AddPublication",
167
- DELETE_PUBLICATION = "DeletePublication",
168
- DUPLICATE_PUBLICATION = "DuplicatePublication",
169
- RENAME_PUBLICATION = "RenamePublication",
170
- MOVE_PUBLICATION = "MovePublication",
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
- GENERATE_XML = "GenerateXML",
174
+ GENERATE_HD = "GenerateHD",
175
+ GENERATE_CMYK = "GenerateCMYK",
179
176
  FLIPBOOK = "Flipbook",
180
- PREVIEW = "Preview",
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",
@@ -3410,12 +3430,12 @@ declare class ProductSheetsService {
3410
3430
  }
3411
3431
 
3412
3432
  declare enum ProjectType {
3413
- STATIC = "static",
3414
- DYNAMIC = "dynamic",
3415
- YOUBOOKY = "youbooky",
3416
- DOCUMENT = "document",
3417
- CATALOGUE = "catalogue",
3418
- TECHNICAL_SHEET = "technicalSheet"
3433
+ STATIC = "STATIC",
3434
+ DYNAMIC = "DYNAMIC",
3435
+ YOUBOOKY = "YOUBOOKY",
3436
+ DOCUMENT = "DOCUMENT",
3437
+ CATALOG = "CATALOG",
3438
+ TECHNICAL_SHEET = "DATASHEET"
3419
3439
  }
3420
3440
 
3421
3441
  interface PublicationPageProps {
@@ -3424,6 +3444,7 @@ interface PublicationPageProps {
3424
3444
  name?: string;
3425
3445
  status?: number;
3426
3446
  background?: string;
3447
+ gabarit?: string;
3427
3448
  order?: number;
3428
3449
  modifiedAt?: Date | string | null;
3429
3450
  type?: string;
@@ -3437,6 +3458,7 @@ declare class PublicationPage {
3437
3458
  private _name;
3438
3459
  private _status;
3439
3460
  private _background;
3461
+ private _gabarit;
3440
3462
  private _order;
3441
3463
  private _modifiedAt;
3442
3464
  private _type;
@@ -3453,6 +3475,8 @@ declare class PublicationPage {
3453
3475
  set status(value: number);
3454
3476
  get background(): string;
3455
3477
  set background(value: string);
3478
+ get gabarit(): string;
3479
+ set gabarit(value: string);
3456
3480
  get order(): number;
3457
3481
  set order(value: number);
3458
3482
  get modifiedAt(): Date | string | null;
@@ -3469,6 +3493,7 @@ declare class PublicationPage {
3469
3493
  name: string;
3470
3494
  status: number;
3471
3495
  background: string;
3496
+ gabarit: string;
3472
3497
  order: number;
3473
3498
  modifiedAt: string | Date | null;
3474
3499
  type: string;
@@ -3915,6 +3940,7 @@ declare class Publication {
3915
3940
  name: string;
3916
3941
  status: number;
3917
3942
  background: string;
3943
+ gabarit: string;
3918
3944
  order: number;
3919
3945
  modifiedAt: string | Date | null;
3920
3946
  type: string;
@@ -4152,6 +4178,19 @@ declare class PublicationsService {
4152
4178
  createDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
4153
4179
  createEmptyDocumentFromPublication(documentName: string, publicationGuid: string, folderSelected: string): Observable<Object>;
4154
4180
  shareToYoubooky(publicationGuid: string): Observable<Object>;
4181
+ getPublicationDatasheetStatus(publicationGuid: string, options?: {
4182
+ page?: number;
4183
+ pageSize?: number;
4184
+ search?: string;
4185
+ filterStatus?: 'all' | 'generated' | 'not_generated' | 'orphan';
4186
+ level?: 'products' | 'variants';
4187
+ }): Observable<any>;
4188
+ checkDatasheetSkuDocumentExists(publicationGuid: string, sku: string): Observable<{
4189
+ exists: boolean;
4190
+ sku: string;
4191
+ documentGuid?: string;
4192
+ documentUrlSmall?: string;
4193
+ }>;
4155
4194
  static ɵfac: i0.ɵɵFactoryDeclaration<PublicationsService, never>;
4156
4195
  static ɵprov: i0.ɵɵInjectableDeclaration<PublicationsService>;
4157
4196
  }
@@ -4533,6 +4572,25 @@ declare class DamAssetsProfilesService {
4533
4572
  static ɵprov: i0.ɵɵInjectableDeclaration<DamAssetsProfilesService>;
4534
4573
  }
4535
4574
 
4575
+ declare enum AssetType {
4576
+ IMAGE = "image",
4577
+ IMAGE_MULTILANG = "imagemultilang",
4578
+ AUDIO = "audio",
4579
+ VIDEO = "video",
4580
+ FILE = "file",
4581
+ PRODUCTSHEET = "productSheet",
4582
+ DATASHEETFILE = "datasheetfile",
4583
+ DOCUMENT = "document",
4584
+ PUBLICATION = "publication",
4585
+ TEMPLATE = "template",
4586
+ CALLOUT = "callout",
4587
+ PROJECT = "project",
4588
+ FILE_MULTILANG = "filemultilang",
4589
+ FILE_TRAD = "filetrad",
4590
+ FILES = "files",
4591
+ FILES_TRAD = "filestrad"
4592
+ }
4593
+
4536
4594
  declare class DashboardService {
4537
4595
  private _settings;
4538
4596
  private http;
@@ -4571,5 +4629,5 @@ declare class PresetsService {
4571
4629
  static ɵprov: i0.ɵɵInjectableDeclaration<PresetsService>;
4572
4630
  }
4573
4631
 
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 };
4632
+ 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
4633
  export type { AttributeObject, AttributesGroup, AuthGroup, Bom, CategoryObject, Company, DocumentComment, DocumentProps, Mask, MaskName, Prompt, PublicationDataProps, PublicationPageProps, PublicationPagesResponse, PublicationProductsResponse, PublicationProps, PublicationTemplateProps, Supplier, TemplateProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidpepper/solidpepper-service",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Services d'accès aux APIs Solidpepper",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.3.0",