@configura/web-api 3.1.0 → 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
|
@@ -192,14 +192,6 @@ export interface DtoCreateAccessTokenResponse {
|
|
|
192
192
|
token: DtoDynamoAccessToken;
|
|
193
193
|
secretToken: string;
|
|
194
194
|
}
|
|
195
|
-
/** DailyUsage */
|
|
196
|
-
export interface DtoDailyUsage extends DtoDynamoObject {
|
|
197
|
-
data?: {
|
|
198
|
-
[index: string]: {
|
|
199
|
-
[index: string]: number;
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
195
|
/** DynamoAccessToken - Is used to authorize new SessionTokens */
|
|
204
196
|
export interface DtoDynamoAccessToken extends DtoDynamoObject {
|
|
205
197
|
cataloguePermissions?: Array<DtoCataloguePermission>;
|
|
@@ -374,14 +366,6 @@ export interface DtoGetTocTreeParams {
|
|
|
374
366
|
vendor: string;
|
|
375
367
|
priceList: string;
|
|
376
368
|
}
|
|
377
|
-
/** HourlyUsage */
|
|
378
|
-
export interface DtoHourlyUsage extends DtoDynamoObject {
|
|
379
|
-
data?: {
|
|
380
|
-
[index: string]: {
|
|
381
|
-
[index: string]: number;
|
|
382
|
-
};
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
369
|
/** InternalAuth */
|
|
386
370
|
export interface DtoInternalAuth {
|
|
387
371
|
endpoint: string;
|
|
@@ -455,6 +439,7 @@ export interface DtoMiscFile {
|
|
|
455
439
|
export interface DtoModel {
|
|
456
440
|
cid: number;
|
|
457
441
|
anchor?: DtoMeasureParam;
|
|
442
|
+
parentAnchor?: DtoMeasureParam;
|
|
458
443
|
t?: DtoTransform;
|
|
459
444
|
uri: string;
|
|
460
445
|
}
|
|
@@ -613,7 +598,7 @@ export interface DtoPostRenderParams {
|
|
|
613
598
|
/** PostUsageByDateResponse */
|
|
614
599
|
export interface DtoPostUsageByDateResponse {
|
|
615
600
|
date: string;
|
|
616
|
-
usage?: Array<
|
|
601
|
+
usage?: Array<DtoUsageByOperationByPath>;
|
|
617
602
|
}
|
|
618
603
|
/** PostValidateParams represents the URL parameters of postValidate */
|
|
619
604
|
export interface DtoPostValidateParams {
|
|
@@ -840,15 +825,21 @@ export interface DtoTransform {
|
|
|
840
825
|
scale: DtoVector;
|
|
841
826
|
rot: DtoOrientation;
|
|
842
827
|
}
|
|
828
|
+
/** UsageAggregated */
|
|
829
|
+
export interface DtoUsageAggregated {
|
|
830
|
+
count: number;
|
|
831
|
+
unitCost: string;
|
|
832
|
+
totalCost: string;
|
|
833
|
+
}
|
|
843
834
|
/** UsageByDateResponse */
|
|
844
835
|
export interface DtoUsageByDateResponse {
|
|
845
836
|
date: string;
|
|
846
|
-
usage?: Array<
|
|
837
|
+
usage?: Array<DtoUsageByOperationByPathWithDateTime>;
|
|
847
838
|
}
|
|
848
839
|
/** UsageByMonthResponse */
|
|
849
840
|
export interface DtoUsageByMonthResponse {
|
|
850
841
|
date: string;
|
|
851
|
-
usage?: Array<
|
|
842
|
+
usage?: Array<DtoUsageByOperationByPathWithDateTime>;
|
|
852
843
|
}
|
|
853
844
|
/** UsageByOperationByPath */
|
|
854
845
|
export interface DtoUsageByOperationByPath {
|
|
@@ -856,6 +847,11 @@ export interface DtoUsageByOperationByPath {
|
|
|
856
847
|
[index: string]: number;
|
|
857
848
|
};
|
|
858
849
|
}
|
|
850
|
+
/** UsageByOperationByPathWithDateTime */
|
|
851
|
+
export interface DtoUsageByOperationByPathWithDateTime {
|
|
852
|
+
dateTime: string;
|
|
853
|
+
data: DtoUsageByOperationByPath;
|
|
854
|
+
}
|
|
859
855
|
/** UsageByOperationByPathWithModified */
|
|
860
856
|
export interface DtoUsageByOperationByPathWithModified {
|
|
861
857
|
modified: string;
|
|
@@ -864,8 +860,9 @@ export interface DtoUsageByOperationByPathWithModified {
|
|
|
864
860
|
/** UsageByOperationResponse */
|
|
865
861
|
export interface DtoUsageByOperationResponse {
|
|
866
862
|
date: string;
|
|
863
|
+
totalAggregatedCost: string;
|
|
867
864
|
usage: {
|
|
868
|
-
[index: string]:
|
|
865
|
+
[index: string]: DtoUsageAggregated;
|
|
869
866
|
};
|
|
870
867
|
}
|
|
871
868
|
/** UsageByTimeUnitByOperationByPath */
|
|
@@ -876,6 +873,10 @@ export interface DtoUsageByTimeUnitByOperationByPath {
|
|
|
876
873
|
export interface DtoUsageByTimeUnitResponse {
|
|
877
874
|
date: string;
|
|
878
875
|
timeUnit: DtoUsageTimeUnit;
|
|
876
|
+
totalAggregatedCost: string;
|
|
877
|
+
usageAggregated: {
|
|
878
|
+
[index: string]: DtoUsageAggregated;
|
|
879
|
+
};
|
|
879
880
|
usage: DtoUsageByTimeUnitByOperationByPath;
|
|
880
881
|
}
|
|
881
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.
|
|
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.
|
|
26
|
+
"@configura/web-utilities": "3.2.0-alpha.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "7a79fdef61d85c6ac8a1f84be9070c12ea37ffe2"
|
|
29
29
|
}
|