@preference-sl/prefconfigurator-wasm 4.5.0 → 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 (33) 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.gfw2vi3c41.wasm → 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.1u9xtya9ks.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/blazor.boot.json +11 -11
  17. package/_framework/blazor.boot.json.br +0 -0
  18. package/_framework/blazor.boot.json.gz +0 -0
  19. package/js/prefconfigurator-api.d.ts +11 -0
  20. package/package.json +1 -1
  21. package/_framework/PrefConfigurator.Abstractions.5za4ddcvgp.wasm +0 -0
  22. package/_framework/PrefConfigurator.Abstractions.5za4ddcvgp.wasm.br +0 -0
  23. package/_framework/PrefConfigurator.Abstractions.5za4ddcvgp.wasm.gz +0 -0
  24. package/_framework/PrefConfigurator.Application.92hyq7u546.wasm +0 -0
  25. package/_framework/PrefConfigurator.Application.92hyq7u546.wasm.br +0 -0
  26. package/_framework/PrefConfigurator.Application.92hyq7u546.wasm.gz +0 -0
  27. package/_framework/PrefConfigurator.Domain.gfw2vi3c41.wasm.br +0 -0
  28. package/_framework/PrefConfigurator.Domain.gfw2vi3c41.wasm.gz +0 -0
  29. package/_framework/PrefConfigurator.Infrastructure.1u9xtya9ks.wasm.br +0 -0
  30. package/_framework/PrefConfigurator.Infrastructure.1u9xtya9ks.wasm.gz +0 -0
  31. package/_framework/PrefConfigurator.Wasm.oen0rktbl2.wasm +0 -0
  32. package/_framework/PrefConfigurator.Wasm.oen0rktbl2.wasm.br +0 -0
  33. package/_framework/PrefConfigurator.Wasm.oen0rktbl2.wasm.gz +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "PrefConfigurator.Wasm",
3
3
  "resources": {
4
- "hash": "sha256-PFhbDur9wvuTc35kNi6N4JyeFZMU5H3TanpSjBiiHiA=",
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.5za4ddcvgp.wasm": "PrefConfigurator.Abstractions.wasm",
38
- "PrefConfigurator.Application.92hyq7u546.wasm": "PrefConfigurator.Application.wasm",
39
- "PrefConfigurator.Domain.gfw2vi3c41.wasm": "PrefConfigurator.Domain.wasm",
40
- "PrefConfigurator.Infrastructure.1u9xtya9ks.wasm": "PrefConfigurator.Infrastructure.wasm",
41
- "PrefConfigurator.Wasm.oen0rktbl2.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",
@@ -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.5za4ddcvgp.wasm": "sha256-b+4yLjPjOSKRYRU3RttDgHt559qZp4xno+ROT4uWg7A=",
139
- "PrefConfigurator.Application.92hyq7u546.wasm": "sha256-4YAE23W2kSsyAnhH1/iGWolFeyxlMus8wLA/T7W/k7o=",
140
- "PrefConfigurator.Domain.gfw2vi3c41.wasm": "sha256-rEeMT5XMVaBII5GQLgIQHuheNn9whA75MoaKHzQO9/w=",
141
- "PrefConfigurator.Infrastructure.1u9xtya9ks.wasm": "sha256-CZVDPzZRtCdG+7fBDCMSDolrJTvjWFoaaVGEJ/PvHjY=",
142
- "PrefConfigurator.Wasm.oen0rktbl2.wasm": "sha256-gNEn3k1rTFt95czKFviQaIBVMCkEtS6xC627XbHxkuY=",
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=",
Binary file
Binary file
@@ -296,6 +296,13 @@ export interface UsdVariantSet {
296
296
  selection: string;
297
297
  }
298
298
 
299
+ export interface HcProductStatusResult {
300
+ available: boolean;
301
+ href?: string | null;
302
+ status?: string | null;
303
+ productHash?: string | null;
304
+ }
305
+
299
306
  export interface UsdImagesModel {
300
307
  itemId: string;
301
308
  generateWall?: boolean | null;
@@ -328,6 +335,8 @@ export interface JsInteropApiRaw {
328
335
  GetScene<T = Scene>(sceneName?: string, sceneFormat?: string, texturesRootPath?: string): Promise<OperationResult<T> | string>;
329
336
  GetModelImage(modelId: string, modelImageConfigJson: string, sceneName?: string, optionListJson?: string): Promise<OperationResult<string> | string>;
330
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>;
331
340
  GetDefaultMaker(): string;
332
341
  GetMakerPrefix(): string;
333
342
  GetUiDefinitionName(): string;
@@ -362,6 +371,8 @@ export type BoundApi<TRaw extends JsInteropApiRaw> = { [K in keyof TRaw]: TRaw[K
362
371
  SetOptions(modelId: string, updates: SetOptionValueRequest[]): Promise<SetOptionsResponse>;
363
372
  GetModelImage(modelId: string, config: ModelImageConfig, sceneName?: string, optionList?: OptionList): Promise<string>;
364
373
  GetUsdImages(request: UsdImagesRequest, optionList?: OptionList): Promise<string[]>;
374
+ GetUsdImagesHcStatus(request: UsdImagesRequest, optionList?: OptionList): Promise<HcProductStatusResult[]>;
375
+ GetModelImageHcStatus(modelId: string, config: ModelImageConfig): Promise<HcProductStatusResult>;
365
376
  };
366
377
 
367
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.5.0",
7
+ "version": "4.6.0",
8
8
  "files": [
9
9
  "_framework/**",
10
10
  "**/*.js",