@wix/auto_sdk_multilingual_machine-translation 1.0.19 → 1.0.21

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 (21) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +2 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/meta.d.ts +13 -3
  5. package/build/cjs/{multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.ts} +12 -2
  6. package/build/es/index.d.mts +2 -2
  7. package/build/es/index.mjs +2 -0
  8. package/build/es/index.mjs.map +1 -1
  9. package/build/es/meta.d.mts +13 -3
  10. package/build/es/{multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.mts → multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.mts} +12 -2
  11. package/build/internal/cjs/index.d.ts +2 -2
  12. package/build/internal/cjs/index.js +2 -0
  13. package/build/internal/cjs/index.js.map +1 -1
  14. package/build/internal/cjs/meta.d.ts +13 -3
  15. package/build/internal/cjs/{multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.ts → multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.ts} +12 -2
  16. package/build/internal/es/index.d.mts +2 -2
  17. package/build/internal/es/index.mjs +2 -0
  18. package/build/internal/es/index.mjs.map +1 -1
  19. package/build/internal/es/meta.d.mts +13 -3
  20. package/build/internal/es/{multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.d.mts → multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.d.mts} +12 -2
  21. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { be as MachineTranslateRequest$1, a as MachineTranslateResponse$1, bj as BulkMachineTranslateRequest$1, b as BulkMachineTranslateResponse$1 } from './multilingual-machine-v3-translatable-content-machine-translation.universal-BCyWU9nd.mjs';
1
+ import { be as MachineTranslateRequest$1, a as MachineTranslateResponse$1, bj as BulkMachineTranslateRequest$1, b as BulkMachineTranslateResponse$1 } from './multilingual-machine-v3-translatable-content-machine-translation.universal-Crv8uhBN.mjs';
2
2
 
3
3
  /**
4
4
  * A translatable content is a unit of content to translate.
@@ -1153,6 +1153,10 @@ interface Decoration extends DecorationDataOneOf {
1153
1153
  spoilerData?: SpoilerData;
1154
1154
  /** Data for a strikethrough decoration. Defaults to `true`. */
1155
1155
  strikethroughData?: boolean | null;
1156
+ /** Data for a superscript decoration. Defaults to `true`. */
1157
+ superscriptData?: boolean | null;
1158
+ /** Data for a subscript decoration. Defaults to `true`. */
1159
+ subscriptData?: boolean | null;
1156
1160
  /** The type of decoration to apply. */
1157
1161
  type?: DecorationTypeWithLiterals;
1158
1162
  }
@@ -1178,6 +1182,10 @@ interface DecorationDataOneOf {
1178
1182
  spoilerData?: SpoilerData;
1179
1183
  /** Data for a strikethrough decoration. Defaults to `true`. */
1180
1184
  strikethroughData?: boolean | null;
1185
+ /** Data for a superscript decoration. Defaults to `true`. */
1186
+ superscriptData?: boolean | null;
1187
+ /** Data for a subscript decoration. Defaults to `true`. */
1188
+ subscriptData?: boolean | null;
1181
1189
  }
1182
1190
  declare enum DecorationType {
1183
1191
  BOLD = "BOLD",
@@ -1190,10 +1198,12 @@ declare enum DecorationType {
1190
1198
  COLOR = "COLOR",
1191
1199
  FONT_SIZE = "FONT_SIZE",
1192
1200
  EXTERNAL = "EXTERNAL",
1193
- STRIKETHROUGH = "STRIKETHROUGH"
1201
+ STRIKETHROUGH = "STRIKETHROUGH",
1202
+ SUPERSCRIPT = "SUPERSCRIPT",
1203
+ SUBSCRIPT = "SUBSCRIPT"
1194
1204
  }
1195
1205
  /** @enumType */
1196
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
1206
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
1197
1207
  interface AnchorData {
1198
1208
  /** The target node's ID. */
1199
1209
  anchor?: string;
@@ -1151,6 +1151,10 @@ interface Decoration extends DecorationDataOneOf {
1151
1151
  spoilerData?: SpoilerData;
1152
1152
  /** Data for a strikethrough decoration. Defaults to `true`. */
1153
1153
  strikethroughData?: boolean | null;
1154
+ /** Data for a superscript decoration. Defaults to `true`. */
1155
+ superscriptData?: boolean | null;
1156
+ /** Data for a subscript decoration. Defaults to `true`. */
1157
+ subscriptData?: boolean | null;
1154
1158
  /** The type of decoration to apply. */
1155
1159
  type?: DecorationTypeWithLiterals;
1156
1160
  }
@@ -1176,6 +1180,10 @@ interface DecorationDataOneOf {
1176
1180
  spoilerData?: SpoilerData;
1177
1181
  /** Data for a strikethrough decoration. Defaults to `true`. */
1178
1182
  strikethroughData?: boolean | null;
1183
+ /** Data for a superscript decoration. Defaults to `true`. */
1184
+ superscriptData?: boolean | null;
1185
+ /** Data for a subscript decoration. Defaults to `true`. */
1186
+ subscriptData?: boolean | null;
1179
1187
  }
1180
1188
  declare enum DecorationType {
1181
1189
  BOLD = "BOLD",
@@ -1188,10 +1196,12 @@ declare enum DecorationType {
1188
1196
  COLOR = "COLOR",
1189
1197
  FONT_SIZE = "FONT_SIZE",
1190
1198
  EXTERNAL = "EXTERNAL",
1191
- STRIKETHROUGH = "STRIKETHROUGH"
1199
+ STRIKETHROUGH = "STRIKETHROUGH",
1200
+ SUPERSCRIPT = "SUPERSCRIPT",
1201
+ SUBSCRIPT = "SUBSCRIPT"
1192
1202
  }
1193
1203
  /** @enumType */
1194
- type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH';
1204
+ type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
1195
1205
  interface AnchorData {
1196
1206
  /** The target node's ID. */
1197
1207
  anchor?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_multilingual_machine-translation",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -28,7 +28,7 @@
28
28
  "service-plugins"
29
29
  ],
30
30
  "dependencies": {
31
- "@wix/sdk-runtime": "^0.3.49",
31
+ "@wix/sdk-runtime": "^0.3.55",
32
32
  "@wix/sdk-types": "^1.13.28"
33
33
  },
34
34
  "devDependencies": {
@@ -49,5 +49,5 @@
49
49
  "fqdn": "wix.multilingual.machine.v3.translatable_content"
50
50
  }
51
51
  },
52
- "falconPackageHash": "898037dd17fa4ad5af97a34ddca77c78a2bdf736955b25b622127cf1"
52
+ "falconPackageHash": "494af29863a88e7888e822d586264af1d1a605e2cf322ad10ae8b077"
53
53
  }