@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;
@@ -132,6 +132,9 @@ function machineTranslate(payload) {
132
132
  method: "POST",
133
133
  methodFqn: "wix.multilingual.machine.v3.MachineTranslation.MachineTranslate",
134
134
  packageName: PACKAGE_NAME,
135
+ migrationOptions: {
136
+ optInTransformResponse: true
137
+ },
135
138
  url: resolveWixMultilingualMachineV3MachineTranslationUrl({
136
139
  protoPath: "/v3/machine-translate",
137
140
  data: serializedData,
@@ -272,6 +275,9 @@ function bulkMachineTranslate(payload) {
272
275
  method: "POST",
273
276
  methodFqn: "wix.multilingual.machine.v3.MachineTranslation.BulkMachineTranslate",
274
277
  packageName: PACKAGE_NAME,
278
+ migrationOptions: {
279
+ optInTransformResponse: true
280
+ },
275
281
  url: resolveWixMultilingualMachineV3MachineTranslationUrl({
276
282
  protoPath: "/v3/bulk-machine-translate",
277
283
  data: serializedData,
@@ -484,6 +490,7 @@ var GIFType = /* @__PURE__ */ ((GIFType2) => {
484
490
  var Source = /* @__PURE__ */ ((Source2) => {
485
491
  Source2["HTML"] = "HTML";
486
492
  Source2["ADSENSE"] = "ADSENSE";
493
+ Source2["AI"] = "AI";
487
494
  return Source2;
488
495
  })(Source || {});
489
496
  var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {