@solidpepper/solidpepper-service 1.0.9 → 1.1.0
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
|
@@ -65,11 +65,166 @@ declare class CompanyService {
|
|
|
65
65
|
static ɵprov: i0.ɵɵInjectableDeclaration<CompanyService>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
declare enum ModuleType {
|
|
69
|
+
PRODUCTS = "Products",
|
|
70
|
+
SALES = "Sales",
|
|
71
|
+
SALESPLUS = "Salesplus",
|
|
72
|
+
MEDIA = "Media",
|
|
73
|
+
PUBLICATIONS = "Publications",
|
|
74
|
+
BOMS = "Boms",
|
|
75
|
+
CHANNELS = "Channels",
|
|
76
|
+
SETTINGS = "Settings",
|
|
77
|
+
WORKFLOWS = "Workflows"
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare enum SubModuleType {
|
|
81
|
+
PROJECTS = "Projects",
|
|
82
|
+
DOCUMENTS = "Documents",
|
|
83
|
+
MODELS = "Models",
|
|
84
|
+
PUBLICATION_IMPORTS = "PublicationImports",
|
|
85
|
+
PUBLICATION_EXPORTS = "PublicationExports",
|
|
86
|
+
PRODUCT_SHEETS = "ProductSheets",
|
|
87
|
+
MEDIA_DAM_ASSETS = "DamAssets",
|
|
88
|
+
MEDIA_MISSING = "DamAssetsMissing",
|
|
89
|
+
MEDIA_ORPHANS = "DamAssetsOrhpans",
|
|
90
|
+
MEDIA_RECENTLY_DELETED = "DamAssetsRecentlyDeleted",
|
|
91
|
+
MEDIA_PROFILES = "DamAssetsProfiles",
|
|
92
|
+
MEDIA_SELECTIONS = "DamAssetsSelections",
|
|
93
|
+
PRODUCTS_PRODUCTS = "Products",
|
|
94
|
+
PRODUCTS_CATEGORIES = "Categories",
|
|
95
|
+
PRODUCTS_SUPPLIERS = "Suppliers",
|
|
96
|
+
PRODUCTS_VIEWS = "Views",
|
|
97
|
+
WORKFLOWS_WORKFLOWS = "Workflows",
|
|
98
|
+
WORKFLOWS_STEPS = "Steps",
|
|
99
|
+
WORKFLOWS_WORKROOMS = "Workrooms",
|
|
100
|
+
WORKFLOWS_COMPLETENESS_RULES = "CompletenessRules",
|
|
101
|
+
WORKFLOWS_HISTORY = "History",
|
|
102
|
+
SALES_ORDERS = "Orders",
|
|
103
|
+
SALES_QUOTES = "Quotes",
|
|
104
|
+
SALES_CUSTOMERS = "Customers",
|
|
105
|
+
SALES_REQUESTS = "Requests",
|
|
106
|
+
BOMS_BOMS = "Boms",
|
|
107
|
+
CHANNELS_CHANNELS = "Channels",
|
|
108
|
+
SETTINGS_ATTRIBUTES_PRODUCTS = "AttributesProducts",
|
|
109
|
+
SETTINGS_ATTRIBUTES_CATEGORIES = "AttributesCategories",
|
|
110
|
+
SETTINGS_ATTRIBUTES_SUPPLIERS = "AttributesSuppliers",
|
|
111
|
+
SETTINGS_ATTRIBUTES_ASSETS = "AttributesAssets",
|
|
112
|
+
SETTINGS_ATTRIBUTES_ACCOUNTS_CONTACTS = "AttributesAccountsContacts",
|
|
113
|
+
SETTINGS_ATTRIBUTES_ACCOUNTS = "AttributesAccounts",
|
|
114
|
+
SETTINGS_MASKS = "Masks",
|
|
115
|
+
SETTINGS_MAPPING = "Mapping",
|
|
116
|
+
SETTINGS_IMPORTS = "Imports",
|
|
117
|
+
SETTINGS_EXPORTS = "Exports",
|
|
118
|
+
SETTINGS_TEMPLATES_EXCEL = "TemplatesExcel"
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare enum FunctionType {
|
|
122
|
+
MODIFY = "Modify",
|
|
123
|
+
ADD = "Add",
|
|
124
|
+
DELETE = "Delete",
|
|
125
|
+
DUPLICATE = "Duplicate",
|
|
126
|
+
MASS_UPDATE = "MassUpdate",
|
|
127
|
+
ASSIGN_TO_CHANNEL = "AssignToChannel",
|
|
128
|
+
EXPORT_FILE_WITH_FILTER = "ExportFileWithFilter",
|
|
129
|
+
GENERATE_TECHNICAL_SHEET = "GenerateTechnicalSheet",
|
|
130
|
+
EXPORT_FILE_WITH_TEMPLATE = "ExportFileWithTemplate",
|
|
131
|
+
GENERATE_TECHNICAL_SHEET_BATCH = "GenerateTechnicalSheetBatch",
|
|
132
|
+
UPDATE = "Update",
|
|
133
|
+
PUBLISH = "Publish",
|
|
134
|
+
RE_ORDER = "ReOrder",
|
|
135
|
+
CHANGE_STATE = "ChangeState",
|
|
136
|
+
REGENERATE_PDF = "RegeneratePDF",
|
|
137
|
+
DOWNLOAD_PDF = "DownloadPDF",
|
|
138
|
+
SEND = "Send",
|
|
139
|
+
GEOLOCATE = "Geolocate",
|
|
140
|
+
CONVERT = "Convert",
|
|
141
|
+
READ = "Read",
|
|
142
|
+
REPLY = "Reply",
|
|
143
|
+
ADD_FOLDER = "AddFolder",
|
|
144
|
+
DELETE_FOLDER = "DeleteFolder",
|
|
145
|
+
MOVE_FOLDER = "MoveFolder",
|
|
146
|
+
DOWNLOAD_FOLDER = "DownloadFolder",
|
|
147
|
+
RENAME_FOLDER = "RenameFolder",
|
|
148
|
+
ASSIGN_TEAM = "AssignTeam",
|
|
149
|
+
COPY_FOLDER_GUID = "CopyFolderGuid",
|
|
150
|
+
UPLOAD = "Upload",
|
|
151
|
+
MOVE = "Move",
|
|
152
|
+
RENAME = "Rename",
|
|
153
|
+
COPY_URL = "CopyURL",
|
|
154
|
+
SHARE_PHOTO = "SharePhoto",
|
|
155
|
+
OPEN_IN_NEW_TAB = "OpenInNewTab",
|
|
156
|
+
CHANGE_STATUS = "ChangeStatus",
|
|
157
|
+
AUTO_TAG = "AutoTag",
|
|
158
|
+
REMOVE_BACKGROUND = "RemoveBackground",
|
|
159
|
+
DOWNLOAD = "Download",
|
|
160
|
+
MEDIA_TREATMENT = "MediaTreatment",
|
|
161
|
+
RESTORE = "Restore",
|
|
162
|
+
SHOW_ALL = "ShowAll",
|
|
163
|
+
REGENERATE = "Regenerate",
|
|
164
|
+
ADD_CALLOUT = "AddCallout",
|
|
165
|
+
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",
|
|
176
|
+
GENERATE_CATALOG = "GenerateCatalog",
|
|
177
|
+
GENERATE_DATA_SHEET = "GenerateDataSheet",
|
|
178
|
+
GENERATE_XML = "GenerateXML",
|
|
179
|
+
FLIPBOOK = "Flipbook",
|
|
180
|
+
PREVIEW = "Preview",
|
|
181
|
+
YOU_BOOKY = "YouBooky",
|
|
182
|
+
ADD_PRODUCT_SHEET = "AddProductSheet",
|
|
183
|
+
EDIT_PRODUCT_SHEET = "EditProductSheet",
|
|
184
|
+
REMOVE_PRODUCT_SHEET = "RemoveProductSheet",
|
|
185
|
+
ADD_PRODUCT_SHEET_COLUMN = "AddProductSheetColumn",
|
|
186
|
+
EDIT_PRODUCT_SHEET_COLUMN = "EditProductSheetColumn",
|
|
187
|
+
REMOVE_PRODUCT_SHEET_COLUMN = "RemoveProductSheetColumn",
|
|
188
|
+
ADD_PRODUCT_SHEET_LINE = "AddProductSheetLine",
|
|
189
|
+
EDIT_PRODUCT_SHEET_LINE = "EditProductSheetLine",
|
|
190
|
+
REMOVE_PRODUCT_SHEET_LINE = "RemoveProductSheetLine",
|
|
191
|
+
IMPORT_PRODUCT_SHEET_PASTE = "ImportProductSheetPaste",
|
|
192
|
+
IMPORT_PRODUCT_SHEET_FILE = "ImportProductSheetFile",
|
|
193
|
+
ADD_COMPONENT = "AddComponent",
|
|
194
|
+
DELETE_COMPONENT = "DeleteComponent",
|
|
195
|
+
ADD_B2B = "AddB2B",
|
|
196
|
+
ADD_PRESTASHOP = "AddPrestashop",
|
|
197
|
+
ADD_STORYBLOK = "AddStoryblok",
|
|
198
|
+
ADD_GROUP = "AddGroup",
|
|
199
|
+
DELETE_GROUP = "DeleteGroup",
|
|
200
|
+
ADD_ATTRIBUTE = "AddAttribute",
|
|
201
|
+
DELETE_ATTRIBUTE = "DeleteAttribute",
|
|
202
|
+
RESTORE_ATTRIBUTE = "RestoreAttribute",
|
|
203
|
+
EXECUTE = "Execute",
|
|
204
|
+
IMPORT_PRODUCTS = "ImportProducts",
|
|
205
|
+
IMPORT_SALES = "ImportSales",
|
|
206
|
+
IMPORT_ATTRIBUTES = "ImportAttributes",
|
|
207
|
+
IMPORT_ASSETS = "ImportAssets",
|
|
208
|
+
EXPORT_PRODUCTS = "ExportProducts",
|
|
209
|
+
EXPORT_SALES = "ExportSales",
|
|
210
|
+
EXPORT_ASSETS = "ExportAssets",
|
|
211
|
+
ADD_STANDARD = "AddStandard",
|
|
212
|
+
DELETE_STANDARD = "DeleteStandard",
|
|
213
|
+
UPDATE_STANDARD = "UpdateStandard",
|
|
214
|
+
ADD_CONDITION = "AddCondition",
|
|
215
|
+
DELETE_CONDITION = "DeleteCondition",
|
|
216
|
+
UPDATE_CONDITION = "UpdateCondition"
|
|
217
|
+
}
|
|
218
|
+
|
|
68
219
|
declare class RightsService {
|
|
69
220
|
private rightsAccessModule;
|
|
70
221
|
constructor();
|
|
71
222
|
sendRights(rights: any): void;
|
|
72
223
|
getRights(): Observable<any>;
|
|
224
|
+
hasAccess(rightsObj: any, module: ModuleType | string, subModule?: SubModuleType | string, func?: FunctionType | string): boolean;
|
|
225
|
+
isModuleActive(rightsObj: any, module: ModuleType | string): boolean;
|
|
226
|
+
isSubModuleActive(rightsObj: any, module: ModuleType | string, subModule: SubModuleType | string): boolean;
|
|
227
|
+
isFunctionActive(rightsObj: any, module: ModuleType | string, subModule: SubModuleType | string, func: FunctionType | string): boolean;
|
|
73
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<RightsService, never>;
|
|
74
229
|
static ɵprov: i0.ɵɵInjectableDeclaration<RightsService>;
|
|
75
230
|
}
|
|
@@ -4416,5 +4571,5 @@ declare class PresetsService {
|
|
|
4416
4571
|
static ɵprov: i0.ɵɵInjectableDeclaration<PresetsService>;
|
|
4417
4572
|
}
|
|
4418
4573
|
|
|
4419
|
-
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, GenerationService, ImportsService, InformationsService, LocaleNumberPipe, LoginService, MappingsService, MasksService, MediaSelectionDeclinaisonService, MediaSelectionService, MenuService, 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, SuppliersService, TeamsService, Template, TemplatesService, ThumbnailService, TimeElapsedPipe, TranslateService, TranslatorService, UsersService, UtilsService, ViewsService, WorkflowsDesksService, WorkflowsGlobalStepsService, WorkflowsHistoricalService, WorkflowsRulesService, websocketService };
|
|
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 };
|
|
4420
4575
|
export type { AttributeObject, AttributesGroup, AuthGroup, Bom, CategoryObject, Company, DocumentComment, DocumentProps, Mask, MaskName, Prompt, PublicationDataProps, PublicationPageProps, PublicationPagesResponse, PublicationProductsResponse, PublicationProps, PublicationTemplateProps, Supplier, TemplateProps };
|