@configura/web-api 3.0.2 → 3.2.0-alpha.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/dist/CatalogueAPI.d.ts
CHANGED
|
@@ -173,7 +173,9 @@ export interface DtoCataloguePermission {
|
|
|
173
173
|
}
|
|
174
174
|
/** CategoryMap */
|
|
175
175
|
export interface DtoCategoryMap {
|
|
176
|
-
|
|
176
|
+
OtherUsage: string;
|
|
177
|
+
description?: string;
|
|
178
|
+
subCategory?: Array<DtoCategoryMap>;
|
|
177
179
|
}
|
|
178
180
|
/** ClearCacheKeysResponse */
|
|
179
181
|
export interface DtoClearCacheKeysResponse {
|
|
@@ -190,14 +192,6 @@ export interface DtoCreateAccessTokenResponse {
|
|
|
190
192
|
token: DtoDynamoAccessToken;
|
|
191
193
|
secretToken: string;
|
|
192
194
|
}
|
|
193
|
-
/** DailyUsage */
|
|
194
|
-
export interface DtoDailyUsage extends DtoDynamoObject {
|
|
195
|
-
data?: {
|
|
196
|
-
[index: string]: {
|
|
197
|
-
[index: string]: number;
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
195
|
/** DynamoAccessToken - Is used to authorize new SessionTokens */
|
|
202
196
|
export interface DtoDynamoAccessToken extends DtoDynamoObject {
|
|
203
197
|
cataloguePermissions?: Array<DtoCataloguePermission>;
|
|
@@ -372,14 +366,6 @@ export interface DtoGetTocTreeParams {
|
|
|
372
366
|
vendor: string;
|
|
373
367
|
priceList: string;
|
|
374
368
|
}
|
|
375
|
-
/** HourlyUsage */
|
|
376
|
-
export interface DtoHourlyUsage extends DtoDynamoObject {
|
|
377
|
-
data?: {
|
|
378
|
-
[index: string]: {
|
|
379
|
-
[index: string]: number;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
}
|
|
383
369
|
/** InternalAuth */
|
|
384
370
|
export interface DtoInternalAuth {
|
|
385
371
|
endpoint: string;
|
|
@@ -453,6 +439,7 @@ export interface DtoMiscFile {
|
|
|
453
439
|
export interface DtoModel {
|
|
454
440
|
cid: number;
|
|
455
441
|
anchor?: DtoMeasureParam;
|
|
442
|
+
parentAnchor?: DtoMeasureParam;
|
|
456
443
|
t?: DtoTransform;
|
|
457
444
|
uri: string;
|
|
458
445
|
}
|
|
@@ -611,7 +598,7 @@ export interface DtoPostRenderParams {
|
|
|
611
598
|
/** PostUsageByDateResponse */
|
|
612
599
|
export interface DtoPostUsageByDateResponse {
|
|
613
600
|
date: string;
|
|
614
|
-
usage?: Array<
|
|
601
|
+
usage?: Array<DtoUsageByOperationByPath>;
|
|
615
602
|
}
|
|
616
603
|
/** PostValidateParams represents the URL parameters of postValidate */
|
|
617
604
|
export interface DtoPostValidateParams {
|
|
@@ -838,15 +825,21 @@ export interface DtoTransform {
|
|
|
838
825
|
scale: DtoVector;
|
|
839
826
|
rot: DtoOrientation;
|
|
840
827
|
}
|
|
828
|
+
/** UsageAggregated */
|
|
829
|
+
export interface DtoUsageAggregated {
|
|
830
|
+
count: number;
|
|
831
|
+
unitCost: string;
|
|
832
|
+
totalCost: string;
|
|
833
|
+
}
|
|
841
834
|
/** UsageByDateResponse */
|
|
842
835
|
export interface DtoUsageByDateResponse {
|
|
843
836
|
date: string;
|
|
844
|
-
usage?: Array<
|
|
837
|
+
usage?: Array<DtoUsageByOperationByPathWithDateTime>;
|
|
845
838
|
}
|
|
846
839
|
/** UsageByMonthResponse */
|
|
847
840
|
export interface DtoUsageByMonthResponse {
|
|
848
841
|
date: string;
|
|
849
|
-
usage?: Array<
|
|
842
|
+
usage?: Array<DtoUsageByOperationByPathWithDateTime>;
|
|
850
843
|
}
|
|
851
844
|
/** UsageByOperationByPath */
|
|
852
845
|
export interface DtoUsageByOperationByPath {
|
|
@@ -854,6 +847,11 @@ export interface DtoUsageByOperationByPath {
|
|
|
854
847
|
[index: string]: number;
|
|
855
848
|
};
|
|
856
849
|
}
|
|
850
|
+
/** UsageByOperationByPathWithDateTime */
|
|
851
|
+
export interface DtoUsageByOperationByPathWithDateTime {
|
|
852
|
+
dateTime: string;
|
|
853
|
+
data: DtoUsageByOperationByPath;
|
|
854
|
+
}
|
|
857
855
|
/** UsageByOperationByPathWithModified */
|
|
858
856
|
export interface DtoUsageByOperationByPathWithModified {
|
|
859
857
|
modified: string;
|
|
@@ -862,8 +860,9 @@ export interface DtoUsageByOperationByPathWithModified {
|
|
|
862
860
|
/** UsageByOperationResponse */
|
|
863
861
|
export interface DtoUsageByOperationResponse {
|
|
864
862
|
date: string;
|
|
863
|
+
totalAggregatedCost: string;
|
|
865
864
|
usage: {
|
|
866
|
-
[index: string]:
|
|
865
|
+
[index: string]: DtoUsageAggregated;
|
|
867
866
|
};
|
|
868
867
|
}
|
|
869
868
|
/** UsageByTimeUnitByOperationByPath */
|
|
@@ -874,6 +873,10 @@ export interface DtoUsageByTimeUnitByOperationByPath {
|
|
|
874
873
|
export interface DtoUsageByTimeUnitResponse {
|
|
875
874
|
date: string;
|
|
876
875
|
timeUnit: DtoUsageTimeUnit;
|
|
876
|
+
totalAggregatedCost: string;
|
|
877
|
+
usageAggregated: {
|
|
878
|
+
[index: string]: DtoUsageAggregated;
|
|
879
|
+
};
|
|
877
880
|
usage: DtoUsageByTimeUnitByOperationByPath;
|
|
878
881
|
}
|
|
879
882
|
/** UsageTimeUnit */
|
package/dist/CfgProduct.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AggregatedLoadingObservable, LengthUnit, Observable, SingleArgCallback
|
|
|
2
2
|
import { DtoAdditionalProductConfiguration, DtoAdditionalProductRef, DtoCatalogueParams, DtoMeasureParam, DtoMiscFile, DtoMtrlApplication, DtoNote, DtoPrices, DtoProductConf, DtoProductParamsWithLang, DtoTransform } from "./CatalogueAPI.js";
|
|
3
3
|
import { CfgMeasureDefinition } from "./CfgMeasure.js";
|
|
4
4
|
import { _CfgFeatureInternal } from "./productConfiguration/CfgFeature.js";
|
|
5
|
-
import {
|
|
5
|
+
import { _CfgOptionInternal, ProductConfigurationBubbleMode } from "./productConfiguration/CfgOption.js";
|
|
6
6
|
import { CfgProductConfiguration } from "./productConfiguration/CfgProductConfiguration.js";
|
|
7
7
|
import { ProductLoader } from "./productLoader.js";
|
|
8
8
|
import { SyncGroupsApplyMode } from "./syncGroups/SyncGroupsApplyMode.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { assertDefined, compareArrays, convertLength, count,
|
|
1
|
+
import { Observable, assertDefined, compareArrays, convertLength, count, someMatch, toLengthUnit, } from "@configura/web-utilities";
|
|
2
2
|
import { CfgProduct } from "../CfgProduct.js";
|
|
3
3
|
import { CfgMtrlApplication } from "../material/CfgMtrlApplication.js";
|
|
4
4
|
import { CfgMtrlApplicationSource } from "../material/CfgMtrlApplicationSource.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configura/web-api",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.2.0-alpha.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@configura/web-utilities": "3.0.
|
|
26
|
+
"@configura/web-utilities": "3.2.0-alpha.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7a79fdef61d85c6ac8a1f84be9070c12ea37ffe2"
|
|
29
29
|
}
|