@configura/web-api 2.0.0-alpha.2 → 2.0.0-alpha.21

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.
Files changed (100) hide show
  1. package/.eslintrc.json +5 -18
  2. package/LICENSE +201 -201
  3. package/README.md +1 -1
  4. package/dist/CatalogueAPI.d.ts +597 -551
  5. package/dist/CatalogueAPI.js +328 -293
  6. package/dist/CfgMeasure.d.ts +32 -32
  7. package/dist/CfgMeasure.js +30 -30
  8. package/dist/CfgProduct.d.ts +328 -268
  9. package/dist/CfgProduct.js +934 -778
  10. package/dist/CfgReferencePathHelper.d.ts +26 -13
  11. package/dist/CfgReferencePathHelper.js +26 -13
  12. package/dist/ConfigurationConverter.d.ts +17 -4
  13. package/dist/ConfigurationConverter.js +175 -72
  14. package/dist/index.d.ts +23 -23
  15. package/dist/index.js +23 -23
  16. package/dist/io/CfgHistoryManager.d.ts +83 -50
  17. package/dist/io/CfgHistoryManager.js +144 -82
  18. package/dist/io/CfgHistoryToProdConfConnector.d.ts +21 -20
  19. package/dist/io/CfgHistoryToProdConfConnector.js +50 -56
  20. package/dist/io/CfgIOManager.d.ts +53 -48
  21. package/dist/io/CfgIOManager.js +134 -115
  22. package/dist/io/CfgIOProdConfConnector.d.ts +64 -52
  23. package/dist/io/CfgIOProdConfConnector.js +149 -141
  24. package/dist/io/CfgIOWarningSupplier.d.ts +4 -0
  25. package/dist/io/CfgIOWarningSupplier.js +1 -0
  26. package/dist/io/CfgObservableStateManager.d.ts +25 -21
  27. package/dist/io/CfgObservableStateManager.js +69 -65
  28. package/dist/io/CfgObservableStateToProdConfConnector.d.ts +14 -14
  29. package/dist/io/CfgObservableStateToProdConfConnector.js +16 -16
  30. package/dist/io/CfgWindowEventManager.d.ts +21 -21
  31. package/dist/io/CfgWindowEventManager.js +38 -38
  32. package/dist/io/CfgWindowMessageManager.d.ts +40 -40
  33. package/dist/io/CfgWindowMessageManager.js +91 -84
  34. package/dist/io/CfgWindowMessageToProdConfConnector.d.ts +16 -16
  35. package/dist/io/CfgWindowMessageToProdConfConnector.js +18 -18
  36. package/dist/io/index.d.ts +8 -8
  37. package/dist/io/index.js +8 -8
  38. package/dist/material/CfgMaterialMapping.d.ts +7 -7
  39. package/dist/material/CfgMaterialMapping.js +181 -181
  40. package/dist/material/CfgMtrlApplication.d.ts +18 -18
  41. package/dist/material/CfgMtrlApplication.js +43 -43
  42. package/dist/material/CfgMtrlApplicationSource.d.ts +7 -7
  43. package/dist/material/CfgMtrlApplicationSource.js +8 -8
  44. package/dist/material/CfgMtrlSource.d.ts +19 -19
  45. package/dist/material/CfgMtrlSource.js +40 -40
  46. package/dist/material/CfgMtrlSourceWithMetaData.d.ts +7 -7
  47. package/dist/material/CfgMtrlSourceWithMetaData.js +1 -1
  48. package/dist/productConfiguration/CfgFeature.d.ts +189 -187
  49. package/dist/productConfiguration/CfgFeature.js +658 -645
  50. package/dist/productConfiguration/CfgOption.d.ts +151 -151
  51. package/dist/productConfiguration/CfgOption.js +422 -416
  52. package/dist/productConfiguration/CfgProductConfiguration.d.ts +129 -117
  53. package/dist/productConfiguration/CfgProductConfiguration.js +340 -307
  54. package/dist/productConfiguration/filters.d.ts +15 -15
  55. package/dist/productConfiguration/filters.js +70 -70
  56. package/dist/productConfiguration/productParamsGenerator.d.ts +15 -15
  57. package/dist/productConfiguration/productParamsGenerator.js +51 -51
  58. package/dist/productConfiguration/utilitiesProductConfiguration.d.ts +17 -17
  59. package/dist/productConfiguration/utilitiesProductConfiguration.js +87 -80
  60. package/dist/productLoader.d.ts +33 -33
  61. package/dist/productLoader.js +49 -49
  62. package/dist/syncGroups/SyncGroupsApplyMode.d.ts +20 -20
  63. package/dist/syncGroups/SyncGroupsApplyMode.js +21 -21
  64. package/dist/syncGroups/SyncGroupsHandler.d.ts +47 -40
  65. package/dist/syncGroups/SyncGroupsHandler.js +370 -359
  66. package/dist/syncGroups/SyncGroupsPathHelper.d.ts +26 -26
  67. package/dist/syncGroups/SyncGroupsPathHelper.js +90 -90
  68. package/dist/syncGroups/SyncGroupsState.d.ts +39 -35
  69. package/dist/syncGroups/SyncGroupsState.js +167 -125
  70. package/dist/syncGroups/SyncGroupsTransaction.d.ts +154 -154
  71. package/dist/syncGroups/SyncGroupsTransaction.js +589 -576
  72. package/dist/tasks/TaskHandler.d.ts +77 -77
  73. package/dist/tasks/TaskHandler.js +276 -275
  74. package/dist/tasks/formats.d.ts +4 -4
  75. package/dist/tasks/formats.js +7 -7
  76. package/dist/tests/testData/collectorForTest.d.ts +73 -73
  77. package/dist/tests/testData/collectorForTest.js +194 -194
  78. package/dist/tests/testData/dummyProductForTest.d.ts +4 -4
  79. package/dist/tests/testData/dummyProductForTest.js +32 -32
  80. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.d.ts +11 -11
  81. package/dist/tests/testData/testDataAdditionalProductInAdditionalProductInProductForTest.js +282 -277
  82. package/dist/tests/testData/testDataCachedGetProduct.d.ts +5 -5
  83. package/dist/tests/testData/testDataCachedGetProduct.js +187 -185
  84. package/dist/tests/testData/testDataCachedPostValidate.d.ts +7 -7
  85. package/dist/tests/testData/testDataCachedPostValidate.js +185 -183
  86. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.d.ts +3 -3
  87. package/dist/tests/testData/testDataNoAdditionalProductNoPropagateForTest.js +1099 -1099
  88. package/dist/tests/testData/testDataOptions.d.ts +12 -12
  89. package/dist/tests/testData/testDataOptions.js +60 -60
  90. package/dist/tests/testData/testDataProductAggregatedPrice.d.ts +6 -6
  91. package/dist/tests/testData/testDataProductAggregatedPrice.js +189 -187
  92. package/dist/tests/testData/testDataUpcharge.d.ts +8 -8
  93. package/dist/tests/testData/testDataUpcharge.js +121 -119
  94. package/dist/utilitiesCatalogueData.d.ts +47 -42
  95. package/dist/utilitiesCatalogueData.js +180 -173
  96. package/dist/utilitiesCataloguePermission.d.ts +38 -38
  97. package/dist/utilitiesCataloguePermission.js +79 -79
  98. package/dist/utilitiesNumericValues.d.ts +24 -24
  99. package/dist/utilitiesNumericValues.js +114 -109
  100. package/package.json +3 -3
@@ -1,552 +1,598 @@
1
- /** AdditionalProductConfiguration */
2
- export interface DtoAdditionalProductConfiguration {
3
- refKey?: string;
4
- selected?: boolean;
5
- selOptions: Array<DtoSelectedOption>;
6
- additionalProducts?: Array<DtoAdditionalProductConfiguration>;
7
- }
8
- /** AdditionalProductRef */
9
- export interface DtoAdditionalProductRef {
10
- refKey: string;
11
- catId: DtoCatalogueParams;
12
- partNumber: string;
13
- refDescription?: string;
14
- anchor?: DtoMeasureParam;
15
- transform?: DtoTransform;
16
- optional?: boolean;
17
- }
18
- /** ApplicationArea */
19
- export interface DtoApplicationArea {
20
- areas?: Array<string>;
21
- cid?: number;
22
- material?: string;
23
- preview?: string;
24
- }
25
- /** DtoApplicationAreasResponse */
26
- export interface DtoApplicationAreasResponse {
27
- applicationAreas: Array<DtoApplicationArea>;
28
- uuid: string;
29
- }
30
- /** AuthorizeResponse */
31
- export interface DtoAuthorizeResponse {
32
- endpoint: string;
33
- secretToken: string;
34
- apiSession: DtoCatalogueAPISession;
35
- }
36
- /** CatalogueAPISession */
37
- export interface DtoCatalogueAPISession {
38
- expires: string;
39
- features?: Array<string>;
40
- permissions?: Array<DtoCataloguePermission>;
41
- }
42
- /** CatalogueParams */
43
- export interface DtoCatalogueParams extends DtoCatalogueParamsWithoutCid {
44
- cid: number;
45
- }
46
- /** CatalogueParamsWithLang */
47
- export interface DtoCatalogueParamsWithLang extends DtoCatalogueParams {
48
- lang: string;
49
- }
50
- /** CatalogueParamsWithoutCid */
51
- export interface DtoCatalogueParamsWithoutCid {
52
- enterprise: string;
53
- prdCat: string;
54
- prdCatVersion: string;
55
- vendor: string;
56
- priceList: string;
57
- }
58
- /** CataloguePermission */
59
- export interface DtoCataloguePermission {
60
- cid: number;
61
- enterprise: string;
62
- prdCat: string;
63
- prdCatVersion: string;
64
- priceLists?: Array<string>;
65
- vendors?: Array<string>;
66
- }
67
- /** CategoryMap */
68
- export interface DtoCategoryMap {
69
- [index: string]: string;
70
- }
71
- /** CodeRange */
72
- export interface DtoCodeRange {
73
- minValue: number;
74
- maxValue: number;
75
- increment?: number;
76
- }
77
- /** ConfAddProd */
78
- export interface DtoConfAddProd extends DtoConfProd {
79
- refKey: string;
80
- selected: boolean;
81
- }
82
- /** ConfFeature */
83
- export interface DtoConfFeature {
84
- code: string;
85
- groupCode?: string;
86
- unit?: string;
87
- options?: Array<DtoConfOption>;
88
- }
89
- /** ConfOption */
90
- export interface DtoConfOption {
91
- code: string;
92
- selected: boolean;
93
- numericValue?: DtoValueWithUnit;
94
- features?: Array<DtoConfFeature>;
95
- }
96
- /** ConfProd */
97
- export interface DtoConfProd {
98
- features?: Array<DtoConfFeature>;
99
- additionalProducts?: Array<DtoConfAddProd>;
100
- prodParams?: DtoProductParamsWithLang;
101
- }
102
- /** ErrorResponse */
103
- export interface DtoErrorResponse {
104
- error: string;
105
- code: number;
106
- eventId?: string;
107
- }
108
- /** ExportFormat - Format of the exported product, identical to the format's file extension. */
109
- export declare type DtoExportFormat = "glb" | "gltf" | "fbx" | "dwg" | "cmdrw" | "cmfav" | "cmsym";
110
- export declare const dtoExportFormatNames: DtoExportFormat[];
111
- /** ExportRequest */
112
- export interface DtoExportRequest {
113
- format: DtoExportFormat;
114
- selOptions: Array<DtoSelectedOption>;
115
- additionalProducts?: Array<DtoAdditionalProductConfiguration>;
116
- preferUnzipped?: boolean;
117
- }
118
- /** ExportResponse */
119
- export interface DtoExportResponse {
120
- exportStatus: DtoExportStatus;
121
- }
122
- /** ExportStatus */
123
- export interface DtoExportStatus {
124
- created: string;
125
- modified: string;
126
- status: DtoExportStatusStatus;
127
- url?: string;
128
- uuid: string;
129
- }
130
- /** ExportStatusStatus - WIP */
131
- export declare type DtoExportStatusStatus = "pending" | "running" | "finished" | "failed";
132
- export declare const dtoExportStatusStatusNames: DtoExportStatusStatus[];
133
- /** Feature */
134
- export interface DtoFeature {
135
- code: string;
136
- description: string;
137
- functional?: boolean;
138
- groupCode?: string;
139
- mtrlApplications?: Array<DtoMtrlApplication>;
140
- multiple?: boolean;
141
- numericOrder: boolean;
142
- optional?: boolean;
143
- options: Array<DtoOption>;
144
- hideIfMainProduct?: boolean;
145
- hideIfAdditionalProduct?: boolean;
146
- measureParams?: Array<DtoMeasureParam>;
147
- syncGroup?: DtoSyncGroup;
148
- unit?: string;
149
- }
150
- /** FeatureRef */
151
- export interface DtoFeatureRef {
152
- code: string;
153
- defaultOptionRef?: string;
154
- selectedOptionRef?: string;
155
- excludedOptionRefs?: Array<string>;
156
- }
157
- /** GetApplicationAreasParams represents the URL parameters of getApplicationAreas */
158
- export interface DtoGetApplicationAreasParams {
159
- lang: string;
160
- enterprise: string;
161
- prdCat: string;
162
- prdCatVersion: string;
163
- vendor: string;
164
- priceList: string;
165
- }
166
- /** GetExportByIdParams represents the URL parameters of getExportById */
167
- export interface DtoGetExportByIdParams {
168
- uuid: string;
169
- }
170
- /** GetPriceListsParams represents the URL parameters of getPriceLists */
171
- export interface DtoGetPriceListsParams {
172
- lang: string;
173
- enterprise: string;
174
- prdCat: string;
175
- prdCatVersion: string;
176
- vendor: string;
177
- priceList: string;
178
- }
179
- /** DtoProductParamsWithLang represents the URL parameters of getProduct */
180
- export interface DtoGetProductParams {
181
- lang: string;
182
- enterprise: string;
183
- prdCat: string;
184
- prdCatVersion: string;
185
- vendor: string;
186
- priceList: string;
187
- partNumber: string;
188
- }
189
- /** GetRenderByIdParams represents the URL parameters of getRenderById */
190
- export interface DtoGetRenderByIdParams {
191
- uuid: string;
192
- }
193
- /** GetTocFlatParams represents the URL parameters of getTocFlat */
194
- export interface DtoGetTocFlatParams {
195
- lang: string;
196
- enterprise: string;
197
- prdCat: string;
198
- prdCatVersion: string;
199
- vendor: string;
200
- priceList: string;
201
- }
202
- /** GetTocTreeParams represents the URL parameters of getTocTree */
203
- export interface DtoGetTocTreeParams {
204
- lang: string;
205
- enterprise: string;
206
- prdCat: string;
207
- prdCatVersion: string;
208
- vendor: string;
209
- priceList: string;
210
- }
211
- /** Level */
212
- export interface DtoLevel {
213
- code: string;
214
- description: string;
215
- lvls?: Array<DtoLevel>;
216
- prdRefs?: Array<DtoLevelProductRef>;
217
- }
218
- /** LevelProductRef */
219
- export interface DtoLevelProductRef {
220
- prdRef: string;
221
- }
222
- /** Measurement */
223
- export interface DtoMeasurement {
224
- code: string;
225
- numericValue?: DtoValueWithUnit;
226
- measureParam?: DtoMeasureParam;
227
- }
228
- /** MeasureParam */
229
- export interface DtoMeasureParam {
230
- code: string;
231
- anchorPoint?: string;
232
- measurePriority?: Array<DtoMeasurePriority>;
233
- }
234
- /** MeasurePriority */
235
- export interface DtoMeasurePriority {
236
- url: string;
237
- }
238
- /** Model */
239
- export interface DtoModel {
240
- cid: number;
241
- anchor?: DtoMeasureParam;
242
- t?: DtoTransform;
243
- uri: string;
244
- }
245
- /** MtrlApplication */
246
- export interface DtoMtrlApplication {
247
- areas?: Array<string>;
248
- material?: string;
249
- preview?: string;
250
- cid?: number;
251
- }
252
- /** Option */
253
- export interface DtoOption {
254
- additionalProductRefs?: Array<DtoAdditionalProductRef>;
255
- code: string;
256
- description: string;
257
- featureRefs?: Array<DtoFeatureRef>;
258
- material?: string;
259
- mtrlApplications?: Array<DtoMtrlApplication>;
260
- codeRanges?: Array<DtoCodeRange>;
261
- upcharge?: number;
262
- priceCodes?: Array<string>;
263
- }
264
- /** Orientation */
265
- export interface DtoOrientation {
266
- yaw: number;
267
- pitch: number;
268
- roll: number;
269
- }
270
- /** PartsData */
271
- export interface DtoPartsData {
272
- basePrice: number;
273
- currency: string;
274
- rounding?: number;
275
- listPrice: number;
276
- pkgCount: number;
277
- selOptions: Array<DtoPartsSelectedOption>;
278
- styleNr: string;
279
- prices?: DtoPrices;
280
- }
281
- /** PartsSelectedOption */
282
- export interface DtoPartsSelectedOption {
283
- code: string;
284
- numericValue?: DtoValueWithUnit;
285
- description?: string;
286
- feature: string;
287
- featDesc: string;
288
- upcharge?: number;
289
- next?: {
290
- [index: string]: DtoPartsSelectedOption;
291
- };
292
- }
293
- /** Point */
294
- export interface DtoPoint {
295
- x: number;
296
- y: number;
297
- z: number;
298
- }
299
- /** PostExportParams represents the URL parameters of postExport */
300
- export interface DtoPostExportParams {
301
- lang: string;
302
- enterprise: string;
303
- prdCat: string;
304
- prdCatVersion: string;
305
- vendor: string;
306
- priceList: string;
307
- partNumber: string;
308
- }
309
- /** PostPublicAccessTokenAuthorizeParams represents the URL parameters of postPublicAccessTokenAuthorize */
310
- export interface DtoPostPublicAccessTokenAuthorizeParams {
311
- accessTokenId: string;
312
- }
313
- /** PostRenderParams represents the URL parameters of postRender */
314
- export interface DtoPostRenderParams {
315
- lang: string;
316
- enterprise: string;
317
- prdCat: string;
318
- prdCatVersion: string;
319
- vendor: string;
320
- priceList: string;
321
- partNumber: string;
322
- }
323
- /** PostValidateParams represents the URL parameters of postValidate */
324
- export interface DtoPostValidateParams {
325
- lang: string;
326
- enterprise: string;
327
- prdCat: string;
328
- prdCatVersion: string;
329
- vendor: string;
330
- priceList: string;
331
- partNumber: string;
332
- }
333
- /** PriceList */
334
- export interface DtoPriceList {
335
- code: string;
336
- currency: string;
337
- desc: string;
338
- rate: number;
339
- rounding: number;
340
- }
341
- /** PriceListsResponse */
342
- export interface DtoPriceListsResponse {
343
- priceLists: Array<DtoPriceList>;
344
- uuid: string;
345
- }
346
- /** Prices */
347
- export interface DtoPrices {
348
- values: {
349
- [index: string]: number;
350
- };
351
- parent?: DtoPrices;
352
- }
353
- /** ProductCatalogueInfo */
354
- export interface DtoProductCatalogueInfo {
355
- catDesc: string;
356
- catName: string;
357
- currency: string;
358
- currencyRound: number;
359
- exchangeRate: number;
360
- lastModified: string;
361
- }
362
- /** ProductData */
363
- export interface DtoProductData {
364
- area?: string;
365
- categories?: Array<DtoCategoryMap>;
366
- depth?: string;
367
- description?: string;
368
- height?: string;
369
- hideIfMainProduct?: boolean;
370
- hideIfAdditionalProduct?: boolean;
371
- length?: string;
372
- mtrlApplications?: Array<DtoMtrlApplication>;
373
- additionalProductRefs?: Array<DtoAdditionalProductRef>;
374
- navImage?: string;
375
- sku: string;
376
- measurements?: Array<DtoMeasurement>;
377
- tags?: Array<{
378
- [index: string]: string;
379
- }>;
380
- volume?: string;
381
- weight?: string;
382
- width?: string;
383
- models?: Array<DtoModel>;
384
- partsData: DtoPartsData;
385
- }
386
- /** ProductParams */
387
- export interface DtoProductParams extends DtoCatalogueParams {
388
- partNumber: string;
389
- }
390
- /** ProductParamsWithLang */
391
- export interface DtoProductParamsWithLang extends DtoProductParams {
392
- lang: string;
393
- }
394
- /** ProductRef */
395
- export interface DtoProductRef {
396
- basePrice: number;
397
- categories?: Array<DtoCategoryMap>;
398
- descLong: string;
399
- descShort: string;
400
- navImage: string;
401
- omitOnOrder: boolean;
402
- partNr: string;
403
- styleNr?: string;
404
- }
405
- /** ProductResponse */
406
- export interface DtoProductResponse {
407
- rootFeatureRefs: Array<DtoFeatureRef>;
408
- features: Array<DtoFeature>;
409
- productData: DtoProductData;
410
- unit: string;
411
- uuid: string;
412
- }
413
- /** RefreshSessionTokenResponse */
414
- export interface DtoRefreshSessionTokenResponse {
415
- apiSession: DtoCatalogueAPISession;
416
- }
417
- /** RenderFormat */
418
- export declare type DtoRenderFormat = "jpg" | "png";
419
- export declare const dtoRenderFormatNames: DtoRenderFormat[];
420
- /** RenderRequest */
421
- export interface DtoRenderRequest {
422
- width: number;
423
- height: number;
424
- format?: DtoRenderFormat;
425
- targetCameraArgs?: DtoTargetCameraArgs;
426
- selOptions: Array<DtoSelectedOption>;
427
- additionalProducts?: Array<DtoAdditionalProductConfiguration>;
428
- }
429
- /** RenderResponse */
430
- export interface DtoRenderResponse {
431
- renderStatus: DtoRenderStatus;
432
- }
433
- /** RenderStatus */
434
- export interface DtoRenderStatus {
435
- created: string;
436
- modified: string;
437
- status: DtoRenderStatusStatus;
438
- url?: string;
439
- uuid: string;
440
- }
441
- /** RenderStatusStatus - WIP */
442
- export declare type DtoRenderStatusStatus = "pending" | "running" | "finished" | "failed";
443
- export declare const dtoRenderStatusStatusNames: DtoRenderStatusStatus[];
444
- /** SelectedOption */
445
- export interface DtoSelectedOption {
446
- code: string;
447
- numericValue?: DtoValueWithUnit;
448
- next?: {
449
- [index: string]: DtoSelectedOption;
450
- };
451
- }
452
- /** SuccessResponse */
453
- export interface DtoSuccessResponse {
454
- uuid: string;
455
- success: boolean;
456
- }
457
- /** SyncGroup */
458
- export interface DtoSyncGroup {
459
- syncGroupCode: string;
460
- syncMethod: DtoSyncGroupMethods;
461
- }
462
- /** SyncGroupMethods */
463
- export declare type DtoSyncGroupMethods = "pull" | "push" | "twoWay";
464
- export declare const dtoSyncGroupMethodsNames: DtoSyncGroupMethods[];
465
- /** TargetCameraArgs */
466
- export interface DtoTargetCameraArgs {
467
- location?: DtoPoint;
468
- target?: DtoPoint;
469
- direction?: DtoVector;
470
- normal?: DtoVector;
471
- yaw?: number;
472
- pitch?: number;
473
- roll?: number;
474
- fov?: number;
475
- nearClip?: number;
476
- minHeight?: number;
477
- }
478
- /** TOCResponse - Table Of Contents */
479
- export interface DtoTOCResponse {
480
- uuid: string;
481
- prdRefs?: Array<DtoProductRef>;
482
- prdCatInfo: DtoProductCatalogueInfo;
483
- lvls?: Array<DtoLevel>;
484
- }
485
- /** Transform */
486
- export interface DtoTransform {
487
- pos: DtoVector;
488
- scale: DtoVector;
489
- rot: DtoOrientation;
490
- }
491
- /** ValidateRequest */
492
- export interface DtoValidateRequest {
493
- selOptions: Array<DtoSelectedOption>;
494
- }
495
- /** ValidateResponse */
496
- export interface DtoValidateResponse {
497
- productData: DtoProductData;
498
- uuid: string;
499
- validated: boolean;
500
- rootFeatureRefs?: Array<DtoFeatureRef>;
501
- }
502
- /** ValueWithUnit */
503
- export interface DtoValueWithUnit {
504
- value: number;
505
- unit?: string;
506
- }
507
- /** Vector */
508
- export interface DtoVector {
509
- x: number;
510
- y: number;
511
- z: number;
512
- }
513
- export declare type DtoRequestOptions = {
514
- method: "POST" | "GET" | "DELETE";
515
- headers: {
516
- [index: string]: string;
517
- };
518
- body?: string;
519
- };
520
- export declare class DtoAPIError<T> extends Error {
521
- body?: string;
522
- error?: Error;
523
- parsed?: T;
524
- status?: number;
525
- }
526
- declare type FetchFunc = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
527
- export declare class CatalogueAPI {
528
- private readonly _fetch;
529
- auth: DtoAuthorizeResponse | undefined;
530
- constructor(_fetch?: FetchFunc);
531
- private _alternativeReferer;
532
- _saveAlternativeReferer(): void;
533
- hasFeature(feature: string): boolean;
534
- fetch<T>(url: string, options: DtoRequestOptions): Promise<T>;
535
- postPublicAccessTokenAuthorize(params: DtoPostPublicAccessTokenAuthorizeParams, endpoint: string): Promise<DtoAuthorizeResponse>;
536
- getApplicationAreas(params: DtoGetApplicationAreasParams): Promise<DtoApplicationAreasResponse>;
537
- postExport(params: DtoPostExportParams, body: DtoExportRequest): Promise<DtoExportResponse>;
538
- getPriceLists(params: DtoGetPriceListsParams): Promise<DtoPriceListsResponse>;
539
- getProduct(params: DtoGetProductParams): Promise<DtoProductResponse>;
540
- postRender(params: DtoPostRenderParams, body: DtoRenderRequest): Promise<DtoRenderResponse>;
541
- postValidate(params: DtoPostValidateParams, body: DtoValidateRequest): Promise<DtoValidateResponse>;
542
- getTocTree(params: DtoGetTocTreeParams): Promise<DtoTOCResponse>;
543
- getTocFlat(params: DtoGetTocFlatParams): Promise<DtoTOCResponse>;
544
- getExportById(params: DtoGetExportByIdParams): Promise<DtoExportResponse>;
545
- getRenderById(params: DtoGetRenderByIdParams): Promise<DtoRenderResponse>;
546
- postSessionTokenRefresh(): Promise<DtoRefreshSessionTokenResponse>;
547
- }
548
- export declare const DTO_OPERATION_ID_TO_DEBIT_GROUP: {
549
- [operation_id: string]: string;
550
- };
551
- export {};
1
+ /** AdditionalProductConf */
2
+ export interface DtoAdditionalProductConf extends DtoProductConf {
3
+ refKey: string;
4
+ selected: boolean;
5
+ }
6
+ /** AdditionalProductConfiguration */
7
+ export interface DtoAdditionalProductConfiguration {
8
+ refKey?: string;
9
+ selected?: boolean;
10
+ selOptions: Array<DtoSelectedOption>;
11
+ additionalProducts?: Array<DtoAdditionalProductConfiguration>;
12
+ }
13
+ /** AdditionalProductRef */
14
+ export interface DtoAdditionalProductRef {
15
+ refKey: string;
16
+ catId: DtoCatalogueParams;
17
+ partNumber: string;
18
+ refDescription?: string;
19
+ anchor?: DtoMeasureParam;
20
+ transform?: DtoTransform;
21
+ optional?: boolean;
22
+ }
23
+ /** ApplicationArea */
24
+ export interface DtoApplicationArea {
25
+ areas?: Array<string>;
26
+ cid?: number;
27
+ material?: string;
28
+ preview?: string;
29
+ }
30
+ /** ApplicationAreasResponse */
31
+ export interface DtoApplicationAreasResponse {
32
+ applicationAreas: Array<DtoApplicationArea>;
33
+ uuid: string;
34
+ }
35
+ /** AuthorizeResponse */
36
+ export interface DtoAuthorizeResponse {
37
+ endpoint: string;
38
+ secretToken: string;
39
+ apiSession: DtoCatalogueAPISession;
40
+ }
41
+ /** CatalogueAPISession */
42
+ export interface DtoCatalogueAPISession {
43
+ expires: string;
44
+ features?: Array<string>;
45
+ permissions?: Array<DtoCataloguePermission>;
46
+ }
47
+ /** CatalogueParams - To identify one catalogue the Portfolio ID CID is needed in addition to the parameters in this object. However as of now CID is not used in API calls and therefore this version without CID is needed. */
48
+ export interface DtoCatalogueParams {
49
+ enterprise: string;
50
+ prdCat: string;
51
+ prdCatVersion: string;
52
+ vendor: string;
53
+ priceList: string;
54
+ }
55
+ /** CatalogueParamsWithCid */
56
+ export interface DtoCatalogueParamsWithCid extends DtoCatalogueParams {
57
+ cid: number;
58
+ }
59
+ /** CatalogueParamsWithCidAndLang */
60
+ export interface DtoCatalogueParamsWithCidAndLang extends DtoCatalogueParamsWithCid {
61
+ lang: string;
62
+ }
63
+ /** CataloguePermission */
64
+ export interface DtoCataloguePermission {
65
+ cid: number;
66
+ enterprise: string;
67
+ prdCat: string;
68
+ prdCatVersion: string;
69
+ priceLists?: Array<string>;
70
+ vendors?: Array<string>;
71
+ }
72
+ /** CategoryMap */
73
+ export interface DtoCategoryMap {
74
+ [index: string]: string;
75
+ }
76
+ /** CodeRange */
77
+ export interface DtoCodeRange {
78
+ minValue: number;
79
+ maxValue: number;
80
+ increment?: number;
81
+ }
82
+ /** ErrorResponse */
83
+ export interface DtoErrorResponse {
84
+ error: string;
85
+ code: number;
86
+ eventId?: string;
87
+ }
88
+ /** ExportFormat - Format of the exported product, identical to the format's file extension. */
89
+ export declare type DtoExportFormat = "glb" | "gltf" | "fbx" | "dwg" | "cmdrw" | "cmfav" | "cmsym";
90
+ export declare const dtoExportFormatNames: DtoExportFormat[];
91
+ /** ExportRequest */
92
+ export interface DtoExportRequest {
93
+ format: DtoExportFormat;
94
+ selOptions: Array<DtoSelectedOption>;
95
+ additionalProducts?: Array<DtoAdditionalProductConfiguration>;
96
+ preferUnzipped?: boolean;
97
+ }
98
+ /** ExportResponse */
99
+ export interface DtoExportResponse {
100
+ exportStatus: DtoExportStatus;
101
+ }
102
+ /** ExportStatus */
103
+ export interface DtoExportStatus {
104
+ created: string;
105
+ modified: string;
106
+ status: DtoExportStatusStatus;
107
+ url?: string;
108
+ uuid: string;
109
+ }
110
+ /** ExportStatusStatus - WIP */
111
+ export declare type DtoExportStatusStatus = "pending" | "running" | "finished" | "failed";
112
+ export declare const dtoExportStatusStatusNames: DtoExportStatusStatus[];
113
+ /** Feature */
114
+ export interface DtoFeature {
115
+ code: string;
116
+ description: string;
117
+ functional?: boolean;
118
+ groupCode?: string;
119
+ mtrlApplications?: Array<DtoMtrlApplication>;
120
+ multiple?: boolean;
121
+ numericOrder: boolean;
122
+ optional?: boolean;
123
+ options: Array<DtoOption>;
124
+ hideIfMainProduct?: boolean;
125
+ hideIfAdditionalProduct?: boolean;
126
+ measureParams?: Array<DtoMeasureParam>;
127
+ syncGroup?: DtoSyncGroup;
128
+ unit?: string;
129
+ }
130
+ /** FeatureConf */
131
+ export interface DtoFeatureConf {
132
+ code: string;
133
+ groupCode?: string;
134
+ unit?: string;
135
+ options?: Array<DtoOptionConf>;
136
+ }
137
+ /** FeatureRef */
138
+ export interface DtoFeatureRef {
139
+ code: string;
140
+ defaultOptionRef?: string;
141
+ selectedOptionRef?: string;
142
+ excludedOptionRefs?: Array<string>;
143
+ }
144
+ /** GetApplicationAreasParams represents the URL parameters of getApplicationAreas */
145
+ export interface DtoGetApplicationAreasParams {
146
+ lang: string;
147
+ enterprise: string;
148
+ prdCat: string;
149
+ prdCatVersion: string;
150
+ vendor: string;
151
+ priceList: string;
152
+ }
153
+ /** GetExportByIdParams represents the URL parameters of getExportById */
154
+ export interface DtoGetExportByIdParams {
155
+ uuid: string;
156
+ }
157
+ /** GetPriceListsParams represents the URL parameters of getPriceLists */
158
+ export interface DtoGetPriceListsParams {
159
+ lang: string;
160
+ enterprise: string;
161
+ prdCat: string;
162
+ prdCatVersion: string;
163
+ vendor: string;
164
+ priceList: string;
165
+ }
166
+ /** GetProductLegacyV2Params represents the URL parameters of getProductLegacyV2 */
167
+ export interface DtoGetProductLegacyV2Params {
168
+ lang: string;
169
+ enterprise: string;
170
+ prdCat: string;
171
+ prdCatVersion: string;
172
+ vendor: string;
173
+ priceList: string;
174
+ partNumber: string;
175
+ }
176
+ /** GetProductParams represents the URL parameters of getProduct */
177
+ export interface DtoGetProductParams {
178
+ lang: string;
179
+ enterprise: string;
180
+ prdCat: string;
181
+ prdCatVersion: string;
182
+ vendor: string;
183
+ priceList: string;
184
+ partNumber: string;
185
+ }
186
+ /** GetRenderByIdParams represents the URL parameters of getRenderById */
187
+ export interface DtoGetRenderByIdParams {
188
+ uuid: string;
189
+ }
190
+ /** GetTocFlatParams represents the URL parameters of getTocFlat */
191
+ export interface DtoGetTocFlatParams {
192
+ lang: string;
193
+ enterprise: string;
194
+ prdCat: string;
195
+ prdCatVersion: string;
196
+ vendor: string;
197
+ priceList: string;
198
+ }
199
+ /** GetTocTreeParams represents the URL parameters of getTocTree */
200
+ export interface DtoGetTocTreeParams {
201
+ lang: string;
202
+ enterprise: string;
203
+ prdCat: string;
204
+ prdCatVersion: string;
205
+ vendor: string;
206
+ priceList: string;
207
+ }
208
+ /** Level */
209
+ export interface DtoLevel {
210
+ code: string;
211
+ description: string;
212
+ lvls?: Array<DtoLevel>;
213
+ prdRefs?: Array<DtoLevelProductRef>;
214
+ }
215
+ /** LevelProductRef */
216
+ export interface DtoLevelProductRef {
217
+ prdRef: string;
218
+ }
219
+ /** Measurement */
220
+ export interface DtoMeasurement {
221
+ code: string;
222
+ numericValue?: DtoValueWithUnit;
223
+ measureParam?: DtoMeasureParam;
224
+ }
225
+ /** MeasureParam */
226
+ export interface DtoMeasureParam {
227
+ code: string;
228
+ anchorPoint?: string;
229
+ measurePriority?: Array<DtoMeasurePriority>;
230
+ }
231
+ /** MeasurePriority */
232
+ export interface DtoMeasurePriority {
233
+ url: string;
234
+ }
235
+ /** Model */
236
+ export interface DtoModel {
237
+ cid: number;
238
+ anchor?: DtoMeasureParam;
239
+ t?: DtoTransform;
240
+ uri: string;
241
+ }
242
+ /** MtrlApplication */
243
+ export interface DtoMtrlApplication {
244
+ areas?: Array<string>;
245
+ material?: string;
246
+ preview?: string;
247
+ cid?: number;
248
+ }
249
+ /** Option */
250
+ export interface DtoOption {
251
+ additionalProductRefs?: Array<DtoAdditionalProductRef>;
252
+ code: string;
253
+ description: string;
254
+ featureRefs?: Array<DtoFeatureRef>;
255
+ material?: string;
256
+ mtrlApplications?: Array<DtoMtrlApplication>;
257
+ codeRanges?: Array<DtoCodeRange>;
258
+ upcharge?: number;
259
+ priceCodes?: Array<string>;
260
+ }
261
+ /** OptionConf */
262
+ export interface DtoOptionConf {
263
+ code: string;
264
+ selected: boolean;
265
+ numericValue?: DtoValueWithUnit;
266
+ features?: Array<DtoFeatureConf>;
267
+ }
268
+ /** Orientation */
269
+ export interface DtoOrientation {
270
+ yaw: number;
271
+ pitch: number;
272
+ roll: number;
273
+ }
274
+ /** PartsData */
275
+ export interface DtoPartsData {
276
+ basePrice: number;
277
+ currency: string;
278
+ rounding?: number;
279
+ listPrice: number;
280
+ pkgCount: number;
281
+ selOptions: Array<DtoPartsSelectedOption>;
282
+ styleNr: string;
283
+ prices?: DtoPrices;
284
+ }
285
+ /** PartsSelectedOption */
286
+ export interface DtoPartsSelectedOption {
287
+ code: string;
288
+ numericValue?: DtoValueWithUnit;
289
+ description?: string;
290
+ feature: string;
291
+ featDesc: string;
292
+ upcharge?: number;
293
+ next?: {
294
+ [index: string]: DtoPartsSelectedOption;
295
+ };
296
+ }
297
+ /** Point */
298
+ export interface DtoPoint {
299
+ x: number;
300
+ y: number;
301
+ z: number;
302
+ }
303
+ /** PostExportParams represents the URL parameters of postExport */
304
+ export interface DtoPostExportParams {
305
+ lang: string;
306
+ enterprise: string;
307
+ prdCat: string;
308
+ prdCatVersion: string;
309
+ vendor: string;
310
+ priceList: string;
311
+ partNumber: string;
312
+ }
313
+ /** PostPublicAccessTokenAuthorizeParams represents the URL parameters of postPublicAccessTokenAuthorize */
314
+ export interface DtoPostPublicAccessTokenAuthorizeParams {
315
+ accessTokenId: string;
316
+ }
317
+ /** PostRenderParams represents the URL parameters of postRender */
318
+ export interface DtoPostRenderParams {
319
+ lang: string;
320
+ enterprise: string;
321
+ prdCat: string;
322
+ prdCatVersion: string;
323
+ vendor: string;
324
+ priceList: string;
325
+ partNumber: string;
326
+ }
327
+ /** PostValidateLegacyV1Params represents the URL parameters of postValidateLegacyV1 */
328
+ export interface DtoPostValidateLegacyV1Params {
329
+ lang: string;
330
+ enterprise: string;
331
+ prdCat: string;
332
+ prdCatVersion: string;
333
+ vendor: string;
334
+ priceList: string;
335
+ partNumber: string;
336
+ }
337
+ /** PostValidateParams represents the URL parameters of postValidate */
338
+ export interface DtoPostValidateParams {
339
+ lang: string;
340
+ enterprise: string;
341
+ prdCat: string;
342
+ prdCatVersion: string;
343
+ vendor: string;
344
+ priceList: string;
345
+ partNumber: string;
346
+ }
347
+ /** PriceList */
348
+ export interface DtoPriceList {
349
+ code: string;
350
+ currency: string;
351
+ desc: string;
352
+ rate: number;
353
+ rounding: number;
354
+ }
355
+ /** PriceListsResponse */
356
+ export interface DtoPriceListsResponse {
357
+ priceLists: Array<DtoPriceList>;
358
+ uuid: string;
359
+ }
360
+ /** Prices */
361
+ export interface DtoPrices {
362
+ values: {
363
+ [index: string]: number;
364
+ };
365
+ parent?: DtoPrices;
366
+ }
367
+ /** ProductCatalogueInfo */
368
+ export interface DtoProductCatalogueInfo {
369
+ catDesc: string;
370
+ catName: string;
371
+ currency: string;
372
+ currencyRound: number;
373
+ exchangeRate: number;
374
+ lastModified: string;
375
+ }
376
+ /** ProductConf - This is intended to eventually supersede AdditionalProductConfiguration as the format for sending/receiving how a Product is configured. */
377
+ export interface DtoProductConf {
378
+ features?: Array<DtoFeatureConf>;
379
+ additionalProducts?: Array<DtoAdditionalProductConf>;
380
+ prodParams?: DtoProductParamsWithCidAndLang;
381
+ syncGroupState?: DtoSyncGroupState;
382
+ }
383
+ /** ProductData */
384
+ export interface DtoProductData {
385
+ area?: string;
386
+ categories?: Array<DtoCategoryMap>;
387
+ depth?: string;
388
+ description?: string;
389
+ height?: string;
390
+ hideIfMainProduct?: boolean;
391
+ hideIfAdditionalProduct?: boolean;
392
+ length?: string;
393
+ mtrlApplications?: Array<DtoMtrlApplication>;
394
+ additionalProductRefs?: Array<DtoAdditionalProductRef>;
395
+ navImage?: string;
396
+ sku: string;
397
+ measurements?: Array<DtoMeasurement>;
398
+ tags?: Array<{
399
+ [index: string]: string;
400
+ }>;
401
+ volume?: string;
402
+ weight?: string;
403
+ width?: string;
404
+ models?: Array<DtoModel>;
405
+ partsData: DtoPartsData;
406
+ }
407
+ /** ProductParamsWithCid */
408
+ export interface DtoProductParamsWithCid extends DtoCatalogueParamsWithCid {
409
+ partNumber: string;
410
+ }
411
+ /** ProductParamsWithCidAndLang */
412
+ export interface DtoProductParamsWithCidAndLang extends DtoProductParamsWithCid {
413
+ lang: string;
414
+ }
415
+ /** ProductRef */
416
+ export interface DtoProductRef {
417
+ basePrice: number;
418
+ categories?: Array<DtoCategoryMap>;
419
+ descLong: string;
420
+ descShort: string;
421
+ navImage: string;
422
+ omitOnOrder: boolean;
423
+ partNr: string;
424
+ styleNr?: string;
425
+ }
426
+ /** ProductResponse */
427
+ export interface DtoProductResponse {
428
+ rootFeatureRefs: Array<DtoFeatureRef>;
429
+ features: Array<DtoFeature>;
430
+ productData: DtoProductData;
431
+ unit: string;
432
+ uuid: string;
433
+ }
434
+ /** RefreshSessionTokenResponse */
435
+ export interface DtoRefreshSessionTokenResponse {
436
+ apiSession: DtoCatalogueAPISession;
437
+ }
438
+ /** RenderFormat */
439
+ export declare type DtoRenderFormat = "jpg" | "png";
440
+ export declare const dtoRenderFormatNames: DtoRenderFormat[];
441
+ /** RenderRequest */
442
+ export interface DtoRenderRequest {
443
+ width: number;
444
+ height: number;
445
+ format?: DtoRenderFormat;
446
+ targetCameraArgs?: DtoTargetCameraArgs;
447
+ selOptions: Array<DtoSelectedOption>;
448
+ additionalProducts?: Array<DtoAdditionalProductConfiguration>;
449
+ }
450
+ /** RenderResponse */
451
+ export interface DtoRenderResponse {
452
+ renderStatus: DtoRenderStatus;
453
+ }
454
+ /** RenderStatus */
455
+ export interface DtoRenderStatus {
456
+ created: string;
457
+ modified: string;
458
+ status: DtoRenderStatusStatus;
459
+ url?: string;
460
+ uuid: string;
461
+ }
462
+ /** RenderStatusStatus - WIP */
463
+ export declare type DtoRenderStatusStatus = "pending" | "running" | "finished" | "failed";
464
+ export declare const dtoRenderStatusStatusNames: DtoRenderStatusStatus[];
465
+ /** SelectedOption */
466
+ export interface DtoSelectedOption {
467
+ code: string;
468
+ numericValue?: DtoValueWithUnit;
469
+ next?: {
470
+ [index: string]: DtoSelectedOption;
471
+ };
472
+ }
473
+ /** SuccessResponse */
474
+ export interface DtoSuccessResponse {
475
+ uuid: string;
476
+ success: boolean;
477
+ }
478
+ /** SyncGroup */
479
+ export interface DtoSyncGroup {
480
+ syncGroupCode: string;
481
+ syncMethod: DtoSyncGroupMethods;
482
+ }
483
+ /** SyncGroupMethods */
484
+ export declare type DtoSyncGroupMethods = "pull" | "push" | "twoWay";
485
+ export declare const dtoSyncGroupMethodsNames: DtoSyncGroupMethods[];
486
+ /** SyncGroupState */
487
+ export interface DtoSyncGroupState {
488
+ selectOne?: Array<DtoSyncToOptionCode>;
489
+ selectMany?: Array<DtoSyncToOptionCodeToSelected>;
490
+ }
491
+ /** SyncToOptionCode */
492
+ export interface DtoSyncToOptionCode {
493
+ syncCode: string;
494
+ optionCode: string;
495
+ }
496
+ /** SyncToOptionCodeToSelected */
497
+ export interface DtoSyncToOptionCodeToSelected extends DtoSyncToOptionCode {
498
+ selected: boolean;
499
+ }
500
+ /** TargetCameraArgs */
501
+ export interface DtoTargetCameraArgs {
502
+ location?: DtoPoint;
503
+ target?: DtoPoint;
504
+ direction?: DtoVector;
505
+ normal?: DtoVector;
506
+ yaw?: number;
507
+ pitch?: number;
508
+ roll?: number;
509
+ fov?: number;
510
+ nearClip?: number;
511
+ minHeight?: number;
512
+ }
513
+ /** TOCResponse - Table Of Contents */
514
+ export interface DtoTOCResponse {
515
+ uuid: string;
516
+ prdRefs?: Array<DtoProductRef>;
517
+ prdCatInfo: DtoProductCatalogueInfo;
518
+ lvls?: Array<DtoLevel>;
519
+ }
520
+ /** Transform */
521
+ export interface DtoTransform {
522
+ pos: DtoVector;
523
+ scale: DtoVector;
524
+ rot: DtoOrientation;
525
+ }
526
+ /** ValidateRequest */
527
+ export interface DtoValidateRequest extends DtoValidateRequestLegacyV1 {
528
+ knownFeatureCodes: Array<string>;
529
+ }
530
+ /** ValidateRequestLegacyV1 */
531
+ export interface DtoValidateRequestLegacyV1 {
532
+ selOptions: Array<DtoSelectedOption>;
533
+ }
534
+ /** ValidateResponse */
535
+ export interface DtoValidateResponse extends DtoValidateResponseLegacyV1 {
536
+ features: Array<DtoFeature>;
537
+ unit: string;
538
+ }
539
+ /** ValidateResponseLegacyV1 */
540
+ export interface DtoValidateResponseLegacyV1 {
541
+ productData: DtoProductData;
542
+ uuid: string;
543
+ validated: boolean;
544
+ rootFeatureRefs?: Array<DtoFeatureRef>;
545
+ }
546
+ /** ValueWithUnit */
547
+ export interface DtoValueWithUnit {
548
+ value: number;
549
+ unit?: string;
550
+ }
551
+ /** Vector */
552
+ export interface DtoVector {
553
+ x: number;
554
+ y: number;
555
+ z: number;
556
+ }
557
+ export declare type DtoRequestOptions = {
558
+ method: "POST" | "GET" | "DELETE";
559
+ headers: {
560
+ [index: string]: string;
561
+ };
562
+ body?: string;
563
+ };
564
+ export declare class DtoAPIError<T> extends Error {
565
+ body?: string;
566
+ error?: Error;
567
+ parsed?: T;
568
+ status?: number;
569
+ }
570
+ declare type FetchFunc = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
571
+ export declare class CatalogueAPI {
572
+ private readonly _fetch;
573
+ auth: DtoAuthorizeResponse | undefined;
574
+ constructor(_fetch?: FetchFunc);
575
+ private _alternativeReferer;
576
+ _saveAlternativeReferer(): void;
577
+ hasFeature(feature: string): boolean;
578
+ fetch<T>(url: string, options: DtoRequestOptions): Promise<T>;
579
+ postPublicAccessTokenAuthorize(params: DtoPostPublicAccessTokenAuthorizeParams, endpoint: string): Promise<DtoAuthorizeResponse>;
580
+ getApplicationAreas(params: DtoGetApplicationAreasParams): Promise<DtoApplicationAreasResponse>;
581
+ postExport(params: DtoPostExportParams, body: DtoExportRequest): Promise<DtoExportResponse>;
582
+ getPriceLists(params: DtoGetPriceListsParams): Promise<DtoPriceListsResponse>;
583
+ getProductLegacyV2(params: DtoGetProductLegacyV2Params): Promise<DtoProductResponse>;
584
+ getProduct(params: DtoGetProductParams): Promise<DtoProductResponse>;
585
+ postRender(params: DtoPostRenderParams, body: DtoRenderRequest): Promise<DtoRenderResponse>;
586
+ postValidateLegacyV1(params: DtoPostValidateLegacyV1Params, body: DtoValidateRequestLegacyV1): Promise<DtoValidateResponseLegacyV1>;
587
+ postValidate(params: DtoPostValidateParams, body: DtoValidateRequest): Promise<DtoValidateResponse>;
588
+ getTocTree(params: DtoGetTocTreeParams): Promise<DtoTOCResponse>;
589
+ getTocFlat(params: DtoGetTocFlatParams): Promise<DtoTOCResponse>;
590
+ getExportById(params: DtoGetExportByIdParams): Promise<DtoExportResponse>;
591
+ getRenderById(params: DtoGetRenderByIdParams): Promise<DtoRenderResponse>;
592
+ postSessionTokenRefresh(): Promise<DtoRefreshSessionTokenResponse>;
593
+ }
594
+ export declare const DTO_OPERATION_ID_TO_DEBIT_GROUP: {
595
+ [operation_id: string]: string;
596
+ };
597
+ export {};
552
598
  //# sourceMappingURL=CatalogueAPI.d.ts.map