@preference-sl/prefconfigurator-wasm 4.4.1 → 4.6.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.
Files changed (40) hide show
  1. package/_framework/PrefConfigurator.Abstractions.xwjmoaz1kc.wasm +0 -0
  2. package/_framework/PrefConfigurator.Abstractions.xwjmoaz1kc.wasm.br +0 -0
  3. package/_framework/PrefConfigurator.Abstractions.xwjmoaz1kc.wasm.gz +0 -0
  4. package/_framework/PrefConfigurator.Application.t45qd0n625.wasm +0 -0
  5. package/_framework/PrefConfigurator.Application.t45qd0n625.wasm.br +0 -0
  6. package/_framework/PrefConfigurator.Application.t45qd0n625.wasm.gz +0 -0
  7. package/_framework/PrefConfigurator.Domain.zjkknxclqw.wasm +0 -0
  8. package/_framework/PrefConfigurator.Domain.zjkknxclqw.wasm.br +0 -0
  9. package/_framework/PrefConfigurator.Domain.zjkknxclqw.wasm.gz +0 -0
  10. package/_framework/{PrefConfigurator.Infrastructure.n655bjxlv1.wasm → PrefConfigurator.Infrastructure.hx3f10r50n.wasm} +0 -0
  11. package/_framework/PrefConfigurator.Infrastructure.hx3f10r50n.wasm.br +0 -0
  12. package/_framework/PrefConfigurator.Infrastructure.hx3f10r50n.wasm.gz +0 -0
  13. package/_framework/PrefConfigurator.Wasm.90m88yobex.wasm +0 -0
  14. package/_framework/PrefConfigurator.Wasm.90m88yobex.wasm.br +0 -0
  15. package/_framework/PrefConfigurator.Wasm.90m88yobex.wasm.gz +0 -0
  16. package/_framework/System.Private.Xml.m4uypx32j1.wasm +0 -0
  17. package/_framework/System.Private.Xml.m4uypx32j1.wasm.br +0 -0
  18. package/_framework/System.Private.Xml.m4uypx32j1.wasm.gz +0 -0
  19. package/_framework/blazor.boot.json +13 -13
  20. package/_framework/blazor.boot.json.br +0 -0
  21. package/_framework/blazor.boot.json.gz +0 -0
  22. package/js/prefconfigurator-api.d.ts +20 -4
  23. package/package.json +1 -1
  24. package/_framework/PrefConfigurator.Abstractions.hgd9r1l3kt.wasm +0 -0
  25. package/_framework/PrefConfigurator.Abstractions.hgd9r1l3kt.wasm.br +0 -0
  26. package/_framework/PrefConfigurator.Abstractions.hgd9r1l3kt.wasm.gz +0 -0
  27. package/_framework/PrefConfigurator.Application.2ryowyn28t.wasm +0 -0
  28. package/_framework/PrefConfigurator.Application.2ryowyn28t.wasm.br +0 -0
  29. package/_framework/PrefConfigurator.Application.2ryowyn28t.wasm.gz +0 -0
  30. package/_framework/PrefConfigurator.Domain.47cazw4hi8.wasm +0 -0
  31. package/_framework/PrefConfigurator.Domain.47cazw4hi8.wasm.br +0 -0
  32. package/_framework/PrefConfigurator.Domain.47cazw4hi8.wasm.gz +0 -0
  33. package/_framework/PrefConfigurator.Infrastructure.n655bjxlv1.wasm.br +0 -0
  34. package/_framework/PrefConfigurator.Infrastructure.n655bjxlv1.wasm.gz +0 -0
  35. package/_framework/PrefConfigurator.Wasm.ezsgk8dalu.wasm +0 -0
  36. package/_framework/PrefConfigurator.Wasm.ezsgk8dalu.wasm.br +0 -0
  37. package/_framework/PrefConfigurator.Wasm.ezsgk8dalu.wasm.gz +0 -0
  38. package/_framework/System.Private.Xml.56xylee56s.wasm +0 -0
  39. package/_framework/System.Private.Xml.56xylee56s.wasm.br +0 -0
  40. package/_framework/System.Private.Xml.56xylee56s.wasm.gz +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "PrefConfigurator.Wasm",
3
3
  "resources": {
4
- "hash": "sha256-vB2/9FwHX3+KH8QgYV/u0mjHl8QWwUWeLMr7Y57E4dk=",
4
+ "hash": "sha256-AGVch3qtjRfgvJ3SiW/DtiSvqg28Qs/ApSKZwHlGwXk=",
5
5
  "fingerprinting": {
6
6
  "Microsoft.CSharp.wdyr58w263.wasm": "Microsoft.CSharp.wasm",
7
7
  "Microsoft.Extensions.Caching.Abstractions.9tfokavdri.wasm": "Microsoft.Extensions.Caching.Abstractions.wasm",
@@ -34,11 +34,11 @@
34
34
  "Microsoft.Extensions.Options.c9gmov336d.wasm": "Microsoft.Extensions.Options.wasm",
35
35
  "Microsoft.Extensions.Primitives.ii8zcoqmmf.wasm": "Microsoft.Extensions.Primitives.wasm",
36
36
  "Newtonsoft.Json.ou6h2ikg0u.wasm": "Newtonsoft.Json.wasm",
37
- "PrefConfigurator.Abstractions.hgd9r1l3kt.wasm": "PrefConfigurator.Abstractions.wasm",
38
- "PrefConfigurator.Application.2ryowyn28t.wasm": "PrefConfigurator.Application.wasm",
39
- "PrefConfigurator.Domain.47cazw4hi8.wasm": "PrefConfigurator.Domain.wasm",
40
- "PrefConfigurator.Infrastructure.n655bjxlv1.wasm": "PrefConfigurator.Infrastructure.wasm",
41
- "PrefConfigurator.Wasm.ezsgk8dalu.wasm": "PrefConfigurator.Wasm.wasm",
37
+ "PrefConfigurator.Abstractions.xwjmoaz1kc.wasm": "PrefConfigurator.Abstractions.wasm",
38
+ "PrefConfigurator.Application.t45qd0n625.wasm": "PrefConfigurator.Application.wasm",
39
+ "PrefConfigurator.Domain.zjkknxclqw.wasm": "PrefConfigurator.Domain.wasm",
40
+ "PrefConfigurator.Infrastructure.hx3f10r50n.wasm": "PrefConfigurator.Infrastructure.wasm",
41
+ "PrefConfigurator.Wasm.90m88yobex.wasm": "PrefConfigurator.Wasm.wasm",
42
42
  "Preference.Hydra.OpenApi.oba396x8m7.wasm": "Preference.Hydra.OpenApi.wasm",
43
43
  "System.f0t8bkq7p2.wasm": "System.wasm",
44
44
  "System.Collections.Concurrent.3x28nluuwn.wasm": "System.Collections.Concurrent.wasm",
@@ -67,7 +67,7 @@
67
67
  "System.Private.CoreLib.lgvgxv1wer.wasm": "System.Private.CoreLib.wasm",
68
68
  "System.Private.Uri.hy1mqg8wc3.wasm": "System.Private.Uri.wasm",
69
69
  "System.Private.Xml.Linq.g1gc4tqm0y.wasm": "System.Private.Xml.Linq.wasm",
70
- "System.Private.Xml.56xylee56s.wasm": "System.Private.Xml.wasm",
70
+ "System.Private.Xml.m4uypx32j1.wasm": "System.Private.Xml.wasm",
71
71
  "System.Runtime.InteropServices.JavaScript.rkxjs3ckaa.wasm": "System.Runtime.InteropServices.JavaScript.wasm",
72
72
  "System.Runtime.Numerics.v35jlspxjq.wasm": "System.Runtime.Numerics.wasm",
73
73
  "System.Runtime.Serialization.Formatters.zy0auapjrs.wasm": "System.Runtime.Serialization.Formatters.wasm",
@@ -135,11 +135,11 @@
135
135
  "Microsoft.Extensions.Options.c9gmov336d.wasm": "sha256-0N/ionjXj1tzE4oM9Wt55U0WDRfW6CCbnq2+PbQfUBc=",
136
136
  "Microsoft.Extensions.Primitives.ii8zcoqmmf.wasm": "sha256-Jt5QBSXSDEahiZ89Pn1MhJ9A3C/ftN8ZXaBGV9JgqwQ=",
137
137
  "Newtonsoft.Json.ou6h2ikg0u.wasm": "sha256-8EZ4H5Mb5yxuavrUzuw5k75ewxJQbdU+Y1rksETqPVo=",
138
- "PrefConfigurator.Abstractions.hgd9r1l3kt.wasm": "sha256-YVukO/amUJl0XbgNrn+NfzY7uCUvoIgcaWdErxnWqCU=",
139
- "PrefConfigurator.Application.2ryowyn28t.wasm": "sha256-EmLtTzIoc8Px/uz25lNCd/2ievr0z1asCYBZN9/U4mc=",
140
- "PrefConfigurator.Domain.47cazw4hi8.wasm": "sha256-QF+9OPfL+DtGsHnRabpqh4zUTB+vtG/KAccJr1lu30w=",
141
- "PrefConfigurator.Infrastructure.n655bjxlv1.wasm": "sha256-ge+Y38C0qdaa4oeI1EPB1/JBG1p12g9z8YojH5HjUDc=",
142
- "PrefConfigurator.Wasm.ezsgk8dalu.wasm": "sha256-uvrwHwtuqv4r3CcZRaOi1rvZO4Ss3kcUWjuBWjeYCVo=",
138
+ "PrefConfigurator.Abstractions.xwjmoaz1kc.wasm": "sha256-Uf4yjsthUcVEDsiQXyHU+FplQdukS/J5t0mFhUvN+vs=",
139
+ "PrefConfigurator.Application.t45qd0n625.wasm": "sha256-g0baDP6fRteX/8PS6PWNKmUVoLKAZJ9p9+tvc16peGQ=",
140
+ "PrefConfigurator.Domain.zjkknxclqw.wasm": "sha256-8b9qeKuUhU/9XhT3brUOrdk7aynLRW6IkRtA6ZJhdAg=",
141
+ "PrefConfigurator.Infrastructure.hx3f10r50n.wasm": "sha256-pVK+Y/xfAOt+95WELcaytAVTvT/RjvZ8hOmm7GBMZUQ=",
142
+ "PrefConfigurator.Wasm.90m88yobex.wasm": "sha256-aTHVAm0OEAxicDUpRypX/2YuLWaG1cDPv4CM7dmVdFc=",
143
143
  "Preference.Hydra.OpenApi.oba396x8m7.wasm": "sha256-BOitG9XqTGoVdagU40GvNefDuOylKCPs3Gp5VG0M3oY=",
144
144
  "System.f0t8bkq7p2.wasm": "sha256-319B7WIXJ7ZD6SZ1l7es3CoglOLgv5lKWx0Ew9mli1c=",
145
145
  "System.Collections.Concurrent.3x28nluuwn.wasm": "sha256-xwvOotzdpOgojZxJSPpPCqC1ZclGeXX5Gb5BO3q0GTw=",
@@ -167,7 +167,7 @@
167
167
  "System.ObjectModel.ex9adivreu.wasm": "sha256-PkqCwDk4mhfuc8+SrwuXl3eAzBm2k8Xsh1trSxkhu/0=",
168
168
  "System.Private.Uri.hy1mqg8wc3.wasm": "sha256-lzLT4qvx3SeNyGSKJNhUhl+63rXJpfgalSD2rKwvtk0=",
169
169
  "System.Private.Xml.Linq.g1gc4tqm0y.wasm": "sha256-zOsiY9Qr1GvPTNTrGfEHEuiP6h/0gnAEAWZsuKGlUeg=",
170
- "System.Private.Xml.56xylee56s.wasm": "sha256-k9ZXPhAMTK7SXLIupikQwLsSXK7UBbToBavf29LwoGY=",
170
+ "System.Private.Xml.m4uypx32j1.wasm": "sha256-+qX26geqyaTDAcG5fCcxE5xRggXx5QYxAeiPmnooPIw=",
171
171
  "System.Runtime.Numerics.v35jlspxjq.wasm": "sha256-ZWrERxXRJt+s7VeIXzdWxcibFSgYGayNo1Gc3qN4Zjs=",
172
172
  "System.Runtime.Serialization.Formatters.zy0auapjrs.wasm": "sha256-a7mEdgMZKX0NThkQWK+ZDnsMNF46aseLcmRMGtAYwEY=",
173
173
  "System.Runtime.Serialization.Primitives.skskfoaai8.wasm": "sha256-VEMKwjXmM8+pjg/+YVDIyiKCRYTN0qUt69V9+TXFPso=",
Binary file
Binary file
@@ -282,6 +282,8 @@ export interface ModelImageConfig {
282
282
  width: number;
283
283
  height: number;
284
284
  useHypercube?: boolean | null;
285
+ hcGenerate?: boolean | null;
286
+ hcWait?: boolean | null;
285
287
  units: number;
286
288
  usePrefOne: boolean;
287
289
  languageId: number;
@@ -294,6 +296,13 @@ export interface UsdVariantSet {
294
296
  selection: string;
295
297
  }
296
298
 
299
+ export interface HcProductStatusResult {
300
+ available: boolean;
301
+ href?: string | null;
302
+ status?: string | null;
303
+ productHash?: string | null;
304
+ }
305
+
297
306
  export interface UsdImagesModel {
298
307
  itemId: string;
299
308
  generateWall?: boolean | null;
@@ -302,12 +311,15 @@ export interface UsdImagesModel {
302
311
  export interface UsdImagesRequest {
303
312
  sceneName?: string | null;
304
313
  useHypercube?: boolean | null;
314
+ hcGenerate?: boolean | null;
315
+ hcWait?: boolean | null;
305
316
  models?: UsdImagesModel[] | null;
306
317
  qualities?: string[] | null;
307
318
  resolutions?: string[] | null;
308
319
  cameras?: string[] | null;
309
320
  imageFormat?: string | null;
310
321
  variantSets?: UsdVariantSet[] | null;
322
+ renderMode?: string | null;
311
323
  }
312
324
 
313
325
  export interface JsInteropApiRaw {
@@ -321,8 +333,10 @@ export interface JsInteropApiRaw {
321
333
  SetOptions<T = SetOptionsResponse>(modelId: string, options: SetOptionValueRequest[]): Promise<OperationResult<T> | string>;
322
334
  GetModelOptions<T = OptionInfo[]>(modelId: string): Promise<OperationResult<T> | string>;
323
335
  GetScene<T = Scene>(sceneName?: string, sceneFormat?: string, texturesRootPath?: string): Promise<OperationResult<T> | string>;
324
- GetModelImage(modelId: string, modelImageConfigJson: string, sceneName?: string, optionListJson?: string): Promise<OperationResult<string> | string>;
325
- GetUsdImages<T = string[]>(usdImagesRequestJson: string, optionListJson?: string): Promise<OperationResult<T> | string>;
336
+ GetModelImage(modelId: string, modelImageConfigJson: string, sceneName?: string, optionListJson?: string): Promise<OperationResult<string> | string>;
337
+ GetUsdImages<T = string[]>(usdImagesRequestJson: string, optionListJson?: string): Promise<OperationResult<T> | string>;
338
+ GetUsdImagesHcStatus<T = HcProductStatusResult[]>(usdImagesRequestJson: string, optionListJson?: string): Promise<OperationResult<T> | string>;
339
+ GetModelImageHcStatus<T = HcProductStatusResult>(modelId: string, modelImageConfigJson: string): Promise<OperationResult<T> | string>;
326
340
  GetDefaultMaker(): string;
327
341
  GetMakerPrefix(): string;
328
342
  GetUiDefinitionName(): string;
@@ -355,8 +369,10 @@ export type BoundApi<TRaw extends JsInteropApiRaw> = { [K in keyof TRaw]: TRaw[K
355
369
  UpdateOptions(optionList: OptionList, changedOptionNames: string[]): Promise<EnhancedOptionList>;
356
370
  SetDimensions(modelId: string, updates: SetDimensionValueRequest[]): Promise<SetDimensionsResponse>;
357
371
  SetOptions(modelId: string, updates: SetOptionValueRequest[]): Promise<SetOptionsResponse>;
358
- GetModelImage(modelId: string, config: ModelImageConfig, sceneName?: string, optionList?: OptionList): Promise<string>;
359
- GetUsdImages(request: UsdImagesRequest, optionList?: OptionList): Promise<string[]>;
372
+ GetModelImage(modelId: string, config: ModelImageConfig, sceneName?: string, optionList?: OptionList): Promise<string>;
373
+ GetUsdImages(request: UsdImagesRequest, optionList?: OptionList): Promise<string[]>;
374
+ GetUsdImagesHcStatus(request: UsdImagesRequest, optionList?: OptionList): Promise<HcProductStatusResult[]>;
375
+ GetModelImageHcStatus(modelId: string, config: ModelImageConfig): Promise<HcProductStatusResult>;
360
376
  };
361
377
 
362
378
  export function bindApi<TRaw extends JsInteropApiRaw>(rawApi: TRaw): BoundApi<TRaw>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  },
5
5
  "description": ".NET WebAssembly runtime package that centralizes logic for building product configurators, exposing a simple API for integration into ecommerce platforms.",
6
6
  "types": "main.d.ts",
7
- "version": "4.4.1",
7
+ "version": "4.6.0",
8
8
  "files": [
9
9
  "_framework/**",
10
10
  "**/*.js",