zakeke-configurator-react 0.1.274-prod → 0.1.276-prod

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.
@@ -0,0 +1,22 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { TryOnProviderProps, ValueOf } from '../tryOnModels';
3
+ export declare const DeepARTryOnReceivedMessage: {
4
+ readonly WaitingAuthentication: "WAITING_AUTH";
5
+ readonly TryOnLoaded: "MODEL_LOADED";
6
+ readonly ScreenShotTaken: "SCREENSHOT_TAKEN";
7
+ readonly WebcamStopped: "WEBCAM_STOPPED";
8
+ readonly Start: "";
9
+ readonly AuthSuccessful: "AUTH_SUCCESS";
10
+ readonly AuthError: "AUTH_ERROR";
11
+ readonly WebcamError: "WEBCAM_ERROR";
12
+ };
13
+ export type DeepARTryOnReceivedMessageType = ValueOf<typeof DeepARTryOnReceivedMessage>;
14
+ export declare const DeepARTryOnResponseMessage: {
15
+ readonly StartAuthenticationTryOn: "AUTH";
16
+ readonly LoadTryOn: "LOAD_MODEL";
17
+ readonly LoadHands: "LOAD_HANDS";
18
+ readonly TakeScreenshot: "TAKE_SCREENSHOT";
19
+ readonly StopWebcam: "STOP_WEBCAM";
20
+ };
21
+ export type DeepARTryOnResponseMessageType = ValueOf<typeof DeepARTryOnResponseMessage>;
22
+ export declare const DeepARTryOn: FunctionComponent<TryOnProviderProps>;
@@ -55,7 +55,8 @@ export declare enum SellerTryOnState {
55
55
  export declare enum TryOnProvider {
56
56
  NotSelected = 0,
57
57
  Mazing = 1,
58
- Banuba = 2
58
+ Banuba = 2,
59
+ DeepAR = 3
59
60
  }
60
61
  export interface TryOnTypeSettings {
61
62
  try_on: boolean;
@@ -109,9 +110,17 @@ export interface TryOnFineTuningBanubaSettings extends TryOnFineTuningSettings {
109
110
  z: number;
110
111
  };
111
112
  }
113
+ export interface TryOnFineTuningDeepARSettings extends TryOnFineTuningSettings {
114
+ rotation: {
115
+ x: number;
116
+ y: number;
117
+ z: number;
118
+ };
119
+ }
112
120
  export type TryOnGenericFineTuningSettings = TryOnFineTuningSettings | TryOnFineTuningMazingSettings;
113
121
  export declare const DefaultMazingFineTuningSettings: TryOnFineTuningMazingSettings;
114
122
  export declare const DefaultBanubaFineTuningSettings: TryOnFineTuningBanubaSettings;
123
+ export declare const DefaultDeepARFineTuningSettings: TryOnFineTuningBanubaSettings;
115
124
  export declare class Product {
116
125
  id: number;
117
126
  sku: string;