@wix/auto_sdk_multilingual_machine-translation 1.0.28 → 1.0.30

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.
@@ -807,10 +807,11 @@ interface HTMLDataDataOneOf {
807
807
  }
808
808
  declare enum Source {
809
809
  HTML = "HTML",
810
- ADSENSE = "ADSENSE"
810
+ ADSENSE = "ADSENSE",
811
+ AI = "AI"
811
812
  }
812
813
  /** @enumType */
813
- type SourceWithLiterals = Source | 'HTML' | 'ADSENSE';
814
+ type SourceWithLiterals = Source | 'HTML' | 'ADSENSE' | 'AI';
814
815
  interface ImageData {
815
816
  /** Styling for the image's container. */
816
817
  containerData?: PluginContainerData;
@@ -195,6 +195,9 @@ function machineTranslate(payload) {
195
195
  method: "POST",
196
196
  methodFqn: "wix.multilingual.machine.v3.MachineTranslation.MachineTranslate",
197
197
  packageName: PACKAGE_NAME,
198
+ migrationOptions: {
199
+ optInTransformResponse: true
200
+ },
198
201
  url: resolveWixMultilingualMachineV3MachineTranslationUrl({
199
202
  protoPath: "/v3/machine-translate",
200
203
  data: serializedData,
@@ -335,6 +338,9 @@ function bulkMachineTranslate(payload) {
335
338
  method: "POST",
336
339
  methodFqn: "wix.multilingual.machine.v3.MachineTranslation.BulkMachineTranslate",
337
340
  packageName: PACKAGE_NAME,
341
+ migrationOptions: {
342
+ optInTransformResponse: true
343
+ },
338
344
  url: resolveWixMultilingualMachineV3MachineTranslationUrl({
339
345
  protoPath: "/v3/bulk-machine-translate",
340
346
  data: serializedData,
@@ -547,6 +553,7 @@ var GIFType = /* @__PURE__ */ ((GIFType2) => {
547
553
  var Source = /* @__PURE__ */ ((Source2) => {
548
554
  Source2["HTML"] = "HTML";
549
555
  Source2["ADSENSE"] = "ADSENSE";
556
+ Source2["AI"] = "AI";
550
557
  return Source2;
551
558
  })(Source || {});
552
559
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {