@wix/auto_sdk_blog_draft-posts 1.0.106 → 1.0.107

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.
@@ -15,6 +15,165 @@ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transform
15
15
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
16
16
  import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
17
17
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
18
+ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(opts) {
19
+ const domainToMappings = {
20
+ "api._api_base_domain_": [
21
+ {
22
+ srcPath: "/communities-blog-node-api",
23
+ destPath: ""
24
+ }
25
+ ],
26
+ "www._base_domain_": [
27
+ {
28
+ srcPath: "/_api/communities-blog-node-api",
29
+ destPath: ""
30
+ },
31
+ {
32
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
33
+ destPath: "/v2/stats"
34
+ }
35
+ ],
36
+ "apps._base_domain_": [
37
+ {
38
+ srcPath: "/_api/communities-blog-node-api",
39
+ destPath: ""
40
+ },
41
+ {
42
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
43
+ destPath: "/v2/stats"
44
+ }
45
+ ],
46
+ _: [
47
+ {
48
+ srcPath: "/_api/communities-blog-node-api",
49
+ destPath: ""
50
+ },
51
+ {
52
+ srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
53
+ destPath: "/_api/blogs/this"
54
+ },
55
+ {
56
+ srcPath: "/_api/communities-blog-node-api/_api/categories",
57
+ destPath: "/_api/categories"
58
+ },
59
+ {
60
+ srcPath: "/_api/communities-blog-node-api/_api/site-properties",
61
+ destPath: "/_api/site-properties"
62
+ },
63
+ {
64
+ srcPath: "/_api/communities-blog-node-api/_api/posts/content",
65
+ destPath: "/_api/posts/content"
66
+ },
67
+ {
68
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
69
+ destPath: "/v2/stats"
70
+ }
71
+ ],
72
+ "editor._base_domain_": [
73
+ {
74
+ srcPath: "/_api/communities-blog-node-api",
75
+ destPath: ""
76
+ }
77
+ ],
78
+ "blocks._base_domain_": [
79
+ {
80
+ srcPath: "/_api/communities-blog-node-api",
81
+ destPath: ""
82
+ }
83
+ ],
84
+ "create.editorx": [
85
+ {
86
+ srcPath: "/_api/communities-blog-node-api",
87
+ destPath: ""
88
+ }
89
+ ],
90
+ "*.dev.wix-code.com": [
91
+ {
92
+ srcPath: "/_api/communities-blog-node-api",
93
+ destPath: ""
94
+ }
95
+ ],
96
+ "*.pub.wix-code.com": [
97
+ {
98
+ srcPath: "/_api/communities-blog-node-api",
99
+ destPath: ""
100
+ }
101
+ ],
102
+ "bo._base_domain_": [
103
+ {
104
+ srcPath: "/_api/communities-blog-node-api",
105
+ destPath: ""
106
+ },
107
+ {
108
+ srcPath: "/_api/communities-blog-node-api",
109
+ destPath: ""
110
+ }
111
+ ],
112
+ "wixbo.ai": [
113
+ {
114
+ srcPath: "/_api/communities-blog-node-api",
115
+ destPath: ""
116
+ },
117
+ {
118
+ srcPath: "/_api/communities-blog-node-api",
119
+ destPath: ""
120
+ }
121
+ ],
122
+ "wix-bo.com": [
123
+ {
124
+ srcPath: "/_api/communities-blog-node-api",
125
+ destPath: ""
126
+ },
127
+ {
128
+ srcPath: "/_api/communities-blog-node-api",
129
+ destPath: ""
130
+ }
131
+ ],
132
+ "manage._base_domain_": [
133
+ {
134
+ srcPath: "/_api/communities-blog-node-api",
135
+ destPath: ""
136
+ }
137
+ ],
138
+ "social-blog._base_domain_": [
139
+ {
140
+ srcPath: "/_api/communities-blog-node-api",
141
+ destPath: ""
142
+ }
143
+ ],
144
+ "editor.wixapps.net": [
145
+ {
146
+ srcPath: "/_api/communities-blog-node-api",
147
+ destPath: ""
148
+ }
149
+ ],
150
+ "dev._base_domain_": [
151
+ {
152
+ srcPath: "/_api/communities-blog-node-api",
153
+ destPath: ""
154
+ }
155
+ ],
156
+ "www.wixapis.com": [
157
+ {
158
+ srcPath: "/blog/v2",
159
+ destPath: "/v2"
160
+ },
161
+ {
162
+ srcPath: "/blog/v3",
163
+ destPath: "/v3"
164
+ },
165
+ {
166
+ srcPath: "/v2/stats",
167
+ destPath: "/v2/stats"
168
+ },
169
+ {
170
+ srcPath: "/blog/v2/stats",
171
+ destPath: "/v2/stats"
172
+ }
173
+ ]
174
+ };
175
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
176
+ }
18
177
  function resolveComWixpressNpmCommunitiesPlatformizedBlogV3DraftPostServiceUrl(opts) {
19
178
  const domainToMappings = {
20
179
  _api_base_domain_: [
@@ -3096,147 +3255,529 @@ function publishDraftPost(payload) {
3096
3255
  }
3097
3256
  return __publishDraftPost;
3098
3257
  }
3099
-
3100
- // src/blog-v3-draft-draft-posts.universal.ts
3101
- import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
3102
- import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
3103
- import { transformSDKVideoV2ToRESTVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
3104
- import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
3105
- import { transformSDKPageURLToRESTPageURL } from "@wix/sdk-runtime/transformations/page-url";
3106
- import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
3107
- import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
3108
- import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
3109
- var Origin = /* @__PURE__ */ ((Origin2) => {
3110
- Origin2["UNKNOWN"] = "UNKNOWN";
3111
- Origin2["ADMIN"] = "ADMIN";
3112
- Origin2["ADD_CATEGORIES"] = "ADD_CATEGORIES";
3113
- Origin2["AUTO_SAVE"] = "AUTO_SAVE";
3114
- Origin2["COPY_TEMPLATE"] = "COPY_TEMPLATE";
3115
- Origin2["IMPORT"] = "IMPORT";
3116
- Origin2["IMPORT_BULK"] = "IMPORT_BULK";
3117
- Origin2["IMPORT_HTML"] = "IMPORT_HTML";
3118
- Origin2["IMPORT_PATCH"] = "IMPORT_PATCH";
3119
- Origin2["LANGUAGE_CHANGE"] = "LANGUAGE_CHANGE";
3120
- Origin2["MANUAL_SAVE"] = "MANUAL_SAVE";
3121
- Origin2["MIGRATION"] = "MIGRATION";
3122
- Origin2["MODERATION"] = "MODERATION";
3123
- Origin2["MOVE_TO_TRASH"] = "MOVE_TO_TRASH";
3124
- Origin2["PRICING_PLANS_CHANGE"] = "PRICING_PLANS_CHANGE";
3125
- Origin2["PROVISION"] = "PROVISION";
3126
- Origin2["PUBLISH"] = "PUBLISH";
3127
- Origin2["REASSIGN_OWNER"] = "REASSIGN_OWNER";
3128
- Origin2["REBLOG"] = "REBLOG";
3129
- Origin2["RESTORE"] = "RESTORE";
3130
- Origin2["REVERT_TO_DRAFT"] = "REVERT_TO_DRAFT";
3131
- Origin2["TRANSLATION"] = "TRANSLATION";
3132
- Origin2["UNPUBLISH"] = "UNPUBLISH";
3133
- Origin2["UNSCHEDULE"] = "UNSCHEDULE";
3134
- Origin2["NEW_EDIT_SESSION"] = "NEW_EDIT_SESSION";
3135
- Origin2["SCHEDULING_SERVICE_SCHEDULE"] = "SCHEDULING_SERVICE_SCHEDULE";
3136
- Origin2["SCHEDULING_SERVICE_UNSCHEDULE"] = "SCHEDULING_SERVICE_UNSCHEDULE";
3137
- Origin2["SCHEDULING_SERVICE_PUBLISH"] = "SCHEDULING_SERVICE_PUBLISH";
3138
- Origin2["SCHEDULE"] = "SCHEDULE";
3139
- Origin2["REMOVE_FROM_MODERATION"] = "REMOVE_FROM_MODERATION";
3140
- Origin2["REJECT_FROM_MODERATION"] = "REJECT_FROM_MODERATION";
3141
- Origin2["APPROVE_IN_MODERATION"] = "APPROVE_IN_MODERATION";
3142
- Origin2["DELETE_TAG"] = "DELETE_TAG";
3143
- Origin2["PIN"] = "PIN";
3144
- Origin2["UNPIN"] = "UNPIN";
3145
- Origin2["AI_AUTO_SAVE"] = "AI_AUTO_SAVE";
3146
- return Origin2;
3147
- })(Origin || {});
3148
- var NodeType = /* @__PURE__ */ ((NodeType2) => {
3149
- NodeType2["PARAGRAPH"] = "PARAGRAPH";
3150
- NodeType2["TEXT"] = "TEXT";
3151
- NodeType2["HEADING"] = "HEADING";
3152
- NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
3153
- NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
3154
- NodeType2["LIST_ITEM"] = "LIST_ITEM";
3155
- NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
3156
- NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
3157
- NodeType2["VIDEO"] = "VIDEO";
3158
- NodeType2["DIVIDER"] = "DIVIDER";
3159
- NodeType2["FILE"] = "FILE";
3160
- NodeType2["GALLERY"] = "GALLERY";
3161
- NodeType2["GIF"] = "GIF";
3162
- NodeType2["HTML"] = "HTML";
3163
- NodeType2["IMAGE"] = "IMAGE";
3164
- NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
3165
- NodeType2["MAP"] = "MAP";
3166
- NodeType2["POLL"] = "POLL";
3167
- NodeType2["APP_EMBED"] = "APP_EMBED";
3168
- NodeType2["BUTTON"] = "BUTTON";
3169
- NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
3170
- NodeType2["TABLE"] = "TABLE";
3171
- NodeType2["EMBED"] = "EMBED";
3172
- NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
3173
- NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
3174
- NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
3175
- NodeType2["TABLE_CELL"] = "TABLE_CELL";
3176
- NodeType2["TABLE_ROW"] = "TABLE_ROW";
3177
- NodeType2["EXTERNAL"] = "EXTERNAL";
3178
- NodeType2["AUDIO"] = "AUDIO";
3179
- NodeType2["CAPTION"] = "CAPTION";
3180
- NodeType2["LAYOUT"] = "LAYOUT";
3181
- NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
3182
- NodeType2["SHAPE"] = "SHAPE";
3183
- NodeType2["CARD"] = "CARD";
3184
- NodeType2["TOC"] = "TOC";
3185
- NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
3186
- NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
3187
- NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
3188
- return NodeType2;
3189
- })(NodeType || {});
3190
- var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
3191
- BackgroundType2["COLOR"] = "COLOR";
3192
- BackgroundType2["GRADIENT"] = "GRADIENT";
3193
- return BackgroundType2;
3194
- })(BackgroundType || {});
3195
- var GradientType = /* @__PURE__ */ ((GradientType2) => {
3196
- GradientType2["LINEAR"] = "LINEAR";
3197
- GradientType2["RADIAL"] = "RADIAL";
3198
- return GradientType2;
3199
- })(GradientType || {});
3200
- var WidthType = /* @__PURE__ */ ((WidthType2) => {
3201
- WidthType2["CONTENT"] = "CONTENT";
3202
- WidthType2["SMALL"] = "SMALL";
3203
- WidthType2["ORIGINAL"] = "ORIGINAL";
3204
- WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
3205
- return WidthType2;
3206
- })(WidthType || {});
3207
- var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
3208
- PluginContainerDataAlignment2["CENTER"] = "CENTER";
3209
- PluginContainerDataAlignment2["LEFT"] = "LEFT";
3210
- PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
3211
- return PluginContainerDataAlignment2;
3212
- })(PluginContainerDataAlignment || {});
3213
- var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
3214
- ButtonDataType2["LINK"] = "LINK";
3215
- ButtonDataType2["ACTION"] = "ACTION";
3216
- return ButtonDataType2;
3217
- })(ButtonDataType || {});
3218
- var Target = /* @__PURE__ */ ((Target2) => {
3219
- Target2["SELF"] = "SELF";
3220
- Target2["BLANK"] = "BLANK";
3221
- Target2["PARENT"] = "PARENT";
3222
- Target2["TOP"] = "TOP";
3223
- return Target2;
3224
- })(Target || {});
3225
- var AnimationType = /* @__PURE__ */ ((AnimationType2) => {
3226
- AnimationType2["VIEW"] = "VIEW";
3227
- AnimationType2["POINTER"] = "POINTER";
3228
- return AnimationType2;
3229
- })(AnimationType || {});
3230
- var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
3231
- EntranceEffectType2["FADE"] = "FADE";
3232
- EntranceEffectType2["ARC"] = "ARC";
3233
- EntranceEffectType2["BLUR"] = "BLUR";
3234
- EntranceEffectType2["BOUNCE"] = "BOUNCE";
3235
- EntranceEffectType2["DROP"] = "DROP";
3236
- EntranceEffectType2["EXPAND"] = "EXPAND";
3237
- EntranceEffectType2["FLIP"] = "FLIP";
3238
- EntranceEffectType2["FLOAT"] = "FLOAT";
3239
- EntranceEffectType2["FOLD"] = "FOLD";
3258
+ function translateDraft(payload) {
3259
+ function __translateDraft({ host }) {
3260
+ const metadata = {
3261
+ entityFqdn: "wix.blog.v3.draft",
3262
+ method: "POST",
3263
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.TranslateDraft",
3264
+ packageName: PACKAGE_NAME,
3265
+ migrationOptions: {
3266
+ optInTransformResponse: true
3267
+ },
3268
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(
3269
+ { protoPath: "/v3/multilingual/draft/{postId}", data: payload, host }
3270
+ ),
3271
+ data: payload,
3272
+ transformResponse: (payload2) => transformPaths(payload2, [
3273
+ {
3274
+ transformFn: transformRESTTimestampToSDKTimestamp,
3275
+ paths: [
3276
+ { path: "draftPost.editedDate" },
3277
+ { path: "draftPost.scheduledPublishDate" },
3278
+ { path: "draftPost.firstPublishedDate" },
3279
+ { path: "draftPost.createdDate" },
3280
+ { path: "draftPost.heroImage.urlExpirationDate" },
3281
+ { path: "draftPost.richContent.metadata.createdTimestamp" },
3282
+ { path: "draftPost.richContent.metadata.updatedTimestamp" },
3283
+ { path: "draftPost.moderationDetails.submittedDate" },
3284
+ { path: "draftPost.moderationDetails.moderationDate" },
3285
+ { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
3286
+ { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
3287
+ {
3288
+ path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
3289
+ },
3290
+ {
3291
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
3292
+ },
3293
+ {
3294
+ path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
3295
+ }
3296
+ ]
3297
+ },
3298
+ {
3299
+ transformFn: transformRESTFloatToSDKFloat,
3300
+ paths: [
3301
+ { path: "draftPost.heroImage.focalPoint.x" },
3302
+ { path: "draftPost.heroImage.focalPoint.y" },
3303
+ { path: "draftPost.media.wixMedia.image.focalPoint.x" },
3304
+ { path: "draftPost.media.wixMedia.image.focalPoint.y" },
3305
+ {
3306
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
3307
+ },
3308
+ {
3309
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
3310
+ },
3311
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
3312
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
3313
+ {
3314
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
3315
+ },
3316
+ {
3317
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
3318
+ },
3319
+ {
3320
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3321
+ },
3322
+ {
3323
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3324
+ },
3325
+ {
3326
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3327
+ },
3328
+ {
3329
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3330
+ },
3331
+ {
3332
+ path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
3333
+ },
3334
+ {
3335
+ path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
3336
+ },
3337
+ {
3338
+ path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
3339
+ },
3340
+ {
3341
+ path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
3342
+ },
3343
+ { path: "draftPost.richContent.nodes.imageData.image.duration" },
3344
+ { path: "draftPost.richContent.nodes.imageData.crop.x" },
3345
+ { path: "draftPost.richContent.nodes.imageData.crop.y" },
3346
+ { path: "draftPost.richContent.nodes.imageData.crop.width" },
3347
+ { path: "draftPost.richContent.nodes.imageData.crop.height" },
3348
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
3349
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
3350
+ {
3351
+ path: "draftPost.richContent.nodes.pollData.poll.image.duration"
3352
+ },
3353
+ {
3354
+ path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
3355
+ },
3356
+ {
3357
+ path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
3358
+ },
3359
+ {
3360
+ path: "draftPost.richContent.nodes.appEmbedData.image.duration"
3361
+ },
3362
+ { path: "draftPost.richContent.nodes.videoData.video.duration" },
3363
+ {
3364
+ path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
3365
+ },
3366
+ { path: "draftPost.richContent.nodes.audioData.audio.duration" },
3367
+ {
3368
+ path: "draftPost.richContent.nodes.audioData.coverImage.duration"
3369
+ },
3370
+ {
3371
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
3372
+ },
3373
+ {
3374
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3375
+ },
3376
+ {
3377
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3378
+ },
3379
+ {
3380
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3381
+ },
3382
+ {
3383
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
3384
+ },
3385
+ {
3386
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3387
+ },
3388
+ {
3389
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3390
+ },
3391
+ {
3392
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3393
+ },
3394
+ {
3395
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
3396
+ },
3397
+ {
3398
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
3399
+ },
3400
+ {
3401
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
3402
+ },
3403
+ {
3404
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
3405
+ },
3406
+ {
3407
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
3408
+ },
3409
+ {
3410
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3411
+ },
3412
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
3413
+ {
3414
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
3415
+ },
3416
+ {
3417
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
3418
+ },
3419
+ {
3420
+ path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
3421
+ },
3422
+ {
3423
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
3424
+ },
3425
+ {
3426
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3427
+ },
3428
+ {
3429
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3430
+ },
3431
+ {
3432
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3433
+ },
3434
+ { path: "draftPost.richContent.nodes.tocData.fontSize" },
3435
+ { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
3436
+ {
3437
+ path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
3438
+ }
3439
+ ]
3440
+ }
3441
+ ])
3442
+ };
3443
+ return metadata;
3444
+ }
3445
+ return __translateDraft;
3446
+ }
3447
+ function updateDraftPostLanguage(payload) {
3448
+ function __updateDraftPostLanguage({ host }) {
3449
+ const metadata = {
3450
+ entityFqdn: "wix.blog.v3.draft",
3451
+ method: "POST",
3452
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.BlogMultilingualService.UpdateDraftPostLanguage",
3453
+ packageName: PACKAGE_NAME,
3454
+ migrationOptions: {
3455
+ optInTransformResponse: true
3456
+ },
3457
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3BlogMultilingualServiceUrl(
3458
+ {
3459
+ protoPath: "/v3/multilingual/update-draft-post-language/{postId}",
3460
+ data: payload,
3461
+ host
3462
+ }
3463
+ ),
3464
+ data: payload,
3465
+ transformResponse: (payload2) => transformPaths(payload2, [
3466
+ {
3467
+ transformFn: transformRESTTimestampToSDKTimestamp,
3468
+ paths: [
3469
+ { path: "draftPost.editedDate" },
3470
+ { path: "draftPost.scheduledPublishDate" },
3471
+ { path: "draftPost.firstPublishedDate" },
3472
+ { path: "draftPost.createdDate" },
3473
+ { path: "draftPost.heroImage.urlExpirationDate" },
3474
+ { path: "draftPost.richContent.metadata.createdTimestamp" },
3475
+ { path: "draftPost.richContent.metadata.updatedTimestamp" },
3476
+ { path: "draftPost.moderationDetails.submittedDate" },
3477
+ { path: "draftPost.moderationDetails.moderationDate" },
3478
+ { path: "draftPost.media.wixMedia.image.urlExpirationDate" },
3479
+ { path: "draftPost.media.wixMedia.videoV2.urlExpirationDate" },
3480
+ {
3481
+ path: "draftPost.media.wixMedia.videoV2.resolutions.urlExpirationDate"
3482
+ },
3483
+ {
3484
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
3485
+ },
3486
+ {
3487
+ path: "draftPost.media.wixMedia.videoV2.posters.urlExpirationDate"
3488
+ }
3489
+ ]
3490
+ },
3491
+ {
3492
+ transformFn: transformRESTFloatToSDKFloat,
3493
+ paths: [
3494
+ { path: "draftPost.heroImage.focalPoint.x" },
3495
+ { path: "draftPost.heroImage.focalPoint.y" },
3496
+ { path: "draftPost.media.wixMedia.image.focalPoint.x" },
3497
+ { path: "draftPost.media.wixMedia.image.focalPoint.y" },
3498
+ {
3499
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
3500
+ },
3501
+ {
3502
+ path: "draftPost.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
3503
+ },
3504
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.x" },
3505
+ { path: "draftPost.media.wixMedia.videoV2.posters.focalPoint.y" },
3506
+ {
3507
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerX"
3508
+ },
3509
+ {
3510
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.centerY"
3511
+ },
3512
+ {
3513
+ path: "draftPost.richContent.nodes.buttonData.styles.background.gradient.stops.position"
3514
+ },
3515
+ {
3516
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerX"
3517
+ },
3518
+ {
3519
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.centerY"
3520
+ },
3521
+ {
3522
+ path: "draftPost.richContent.nodes.buttonData.styles.backgroundHover.gradient.stops.position"
3523
+ },
3524
+ {
3525
+ path: "draftPost.richContent.nodes.galleryData.items.image.media.duration"
3526
+ },
3527
+ {
3528
+ path: "draftPost.richContent.nodes.galleryData.items.video.media.duration"
3529
+ },
3530
+ {
3531
+ path: "draftPost.richContent.nodes.galleryData.items.video.thumbnail.duration"
3532
+ },
3533
+ {
3534
+ path: "draftPost.richContent.nodes.galleryData.options.item.ratio"
3535
+ },
3536
+ { path: "draftPost.richContent.nodes.imageData.image.duration" },
3537
+ { path: "draftPost.richContent.nodes.imageData.crop.x" },
3538
+ { path: "draftPost.richContent.nodes.imageData.crop.y" },
3539
+ { path: "draftPost.richContent.nodes.imageData.crop.width" },
3540
+ { path: "draftPost.richContent.nodes.imageData.crop.height" },
3541
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lat" },
3542
+ { path: "draftPost.richContent.nodes.mapData.mapSettings.lng" },
3543
+ {
3544
+ path: "draftPost.richContent.nodes.pollData.poll.image.duration"
3545
+ },
3546
+ {
3547
+ path: "draftPost.richContent.nodes.pollData.poll.options.image.duration"
3548
+ },
3549
+ {
3550
+ path: "draftPost.richContent.nodes.pollData.design.poll.background.image.duration"
3551
+ },
3552
+ {
3553
+ path: "draftPost.richContent.nodes.appEmbedData.image.duration"
3554
+ },
3555
+ { path: "draftPost.richContent.nodes.videoData.video.duration" },
3556
+ {
3557
+ path: "draftPost.richContent.nodes.videoData.thumbnail.duration"
3558
+ },
3559
+ { path: "draftPost.richContent.nodes.audioData.audio.duration" },
3560
+ {
3561
+ path: "draftPost.richContent.nodes.audioData.coverImage.duration"
3562
+ },
3563
+ {
3564
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.media.duration"
3565
+ },
3566
+ {
3567
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerX"
3568
+ },
3569
+ {
3570
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.centerY"
3571
+ },
3572
+ {
3573
+ path: "draftPost.richContent.nodes.layoutData.backgroundImage.overlay.gradient.stops.position"
3574
+ },
3575
+ {
3576
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.media.duration"
3577
+ },
3578
+ {
3579
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerX"
3580
+ },
3581
+ {
3582
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.centerY"
3583
+ },
3584
+ {
3585
+ path: "draftPost.richContent.nodes.layoutData.backdropImage.overlay.gradient.stops.position"
3586
+ },
3587
+ {
3588
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerX"
3589
+ },
3590
+ {
3591
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.centerY"
3592
+ },
3593
+ {
3594
+ path: "draftPost.richContent.nodes.layoutData.background.gradient.stops.position"
3595
+ },
3596
+ {
3597
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerX"
3598
+ },
3599
+ {
3600
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.centerY"
3601
+ },
3602
+ {
3603
+ path: "draftPost.richContent.nodes.layoutData.backdrop.gradient.stops.position"
3604
+ },
3605
+ { path: "draftPost.richContent.nodes.shapeData.shape.duration" },
3606
+ {
3607
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerX"
3608
+ },
3609
+ {
3610
+ path: "draftPost.richContent.nodes.cardData.background.gradient.centerY"
3611
+ },
3612
+ {
3613
+ path: "draftPost.richContent.nodes.cardData.background.gradient.stops.position"
3614
+ },
3615
+ {
3616
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.media.duration"
3617
+ },
3618
+ {
3619
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerX"
3620
+ },
3621
+ {
3622
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.centerY"
3623
+ },
3624
+ {
3625
+ path: "draftPost.richContent.nodes.cardData.backgroundImage.overlay.gradient.stops.position"
3626
+ },
3627
+ { path: "draftPost.richContent.nodes.tocData.fontSize" },
3628
+ { path: "draftPost.richContent.nodes.tocData.itemSpacing" },
3629
+ {
3630
+ path: "draftPost.richContent.nodes.smartBlockCellData.shape.duration"
3631
+ }
3632
+ ]
3633
+ }
3634
+ ])
3635
+ };
3636
+ return metadata;
3637
+ }
3638
+ return __updateDraftPostLanguage;
3639
+ }
3640
+
3641
+ // src/blog-v3-draft-draft-posts.universal.ts
3642
+ import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
3643
+ import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
3644
+ import { transformSDKVideoV2ToRESTVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
3645
+ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
3646
+ import { transformSDKPageURLToRESTPageURL } from "@wix/sdk-runtime/transformations/page-url";
3647
+ import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
3648
+ import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
3649
+ import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
3650
+ var Origin = /* @__PURE__ */ ((Origin2) => {
3651
+ Origin2["UNKNOWN"] = "UNKNOWN";
3652
+ Origin2["ADMIN"] = "ADMIN";
3653
+ Origin2["ADD_CATEGORIES"] = "ADD_CATEGORIES";
3654
+ Origin2["AUTO_SAVE"] = "AUTO_SAVE";
3655
+ Origin2["COPY_TEMPLATE"] = "COPY_TEMPLATE";
3656
+ Origin2["IMPORT"] = "IMPORT";
3657
+ Origin2["IMPORT_BULK"] = "IMPORT_BULK";
3658
+ Origin2["IMPORT_HTML"] = "IMPORT_HTML";
3659
+ Origin2["IMPORT_PATCH"] = "IMPORT_PATCH";
3660
+ Origin2["LANGUAGE_CHANGE"] = "LANGUAGE_CHANGE";
3661
+ Origin2["MANUAL_SAVE"] = "MANUAL_SAVE";
3662
+ Origin2["MIGRATION"] = "MIGRATION";
3663
+ Origin2["MODERATION"] = "MODERATION";
3664
+ Origin2["MOVE_TO_TRASH"] = "MOVE_TO_TRASH";
3665
+ Origin2["PRICING_PLANS_CHANGE"] = "PRICING_PLANS_CHANGE";
3666
+ Origin2["PROVISION"] = "PROVISION";
3667
+ Origin2["PUBLISH"] = "PUBLISH";
3668
+ Origin2["REASSIGN_OWNER"] = "REASSIGN_OWNER";
3669
+ Origin2["REBLOG"] = "REBLOG";
3670
+ Origin2["RESTORE"] = "RESTORE";
3671
+ Origin2["REVERT_TO_DRAFT"] = "REVERT_TO_DRAFT";
3672
+ Origin2["TRANSLATION"] = "TRANSLATION";
3673
+ Origin2["UNPUBLISH"] = "UNPUBLISH";
3674
+ Origin2["UNSCHEDULE"] = "UNSCHEDULE";
3675
+ Origin2["NEW_EDIT_SESSION"] = "NEW_EDIT_SESSION";
3676
+ Origin2["SCHEDULING_SERVICE_SCHEDULE"] = "SCHEDULING_SERVICE_SCHEDULE";
3677
+ Origin2["SCHEDULING_SERVICE_UNSCHEDULE"] = "SCHEDULING_SERVICE_UNSCHEDULE";
3678
+ Origin2["SCHEDULING_SERVICE_PUBLISH"] = "SCHEDULING_SERVICE_PUBLISH";
3679
+ Origin2["SCHEDULE"] = "SCHEDULE";
3680
+ Origin2["REMOVE_FROM_MODERATION"] = "REMOVE_FROM_MODERATION";
3681
+ Origin2["REJECT_FROM_MODERATION"] = "REJECT_FROM_MODERATION";
3682
+ Origin2["APPROVE_IN_MODERATION"] = "APPROVE_IN_MODERATION";
3683
+ Origin2["DELETE_TAG"] = "DELETE_TAG";
3684
+ Origin2["PIN"] = "PIN";
3685
+ Origin2["UNPIN"] = "UNPIN";
3686
+ Origin2["AI_AUTO_SAVE"] = "AI_AUTO_SAVE";
3687
+ return Origin2;
3688
+ })(Origin || {});
3689
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
3690
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
3691
+ NodeType2["TEXT"] = "TEXT";
3692
+ NodeType2["HEADING"] = "HEADING";
3693
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
3694
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
3695
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
3696
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
3697
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
3698
+ NodeType2["VIDEO"] = "VIDEO";
3699
+ NodeType2["DIVIDER"] = "DIVIDER";
3700
+ NodeType2["FILE"] = "FILE";
3701
+ NodeType2["GALLERY"] = "GALLERY";
3702
+ NodeType2["GIF"] = "GIF";
3703
+ NodeType2["HTML"] = "HTML";
3704
+ NodeType2["IMAGE"] = "IMAGE";
3705
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
3706
+ NodeType2["MAP"] = "MAP";
3707
+ NodeType2["POLL"] = "POLL";
3708
+ NodeType2["APP_EMBED"] = "APP_EMBED";
3709
+ NodeType2["BUTTON"] = "BUTTON";
3710
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
3711
+ NodeType2["TABLE"] = "TABLE";
3712
+ NodeType2["EMBED"] = "EMBED";
3713
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
3714
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
3715
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
3716
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
3717
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
3718
+ NodeType2["EXTERNAL"] = "EXTERNAL";
3719
+ NodeType2["AUDIO"] = "AUDIO";
3720
+ NodeType2["CAPTION"] = "CAPTION";
3721
+ NodeType2["LAYOUT"] = "LAYOUT";
3722
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
3723
+ NodeType2["SHAPE"] = "SHAPE";
3724
+ NodeType2["CARD"] = "CARD";
3725
+ NodeType2["TOC"] = "TOC";
3726
+ NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
3727
+ NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
3728
+ NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
3729
+ return NodeType2;
3730
+ })(NodeType || {});
3731
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
3732
+ BackgroundType2["COLOR"] = "COLOR";
3733
+ BackgroundType2["GRADIENT"] = "GRADIENT";
3734
+ return BackgroundType2;
3735
+ })(BackgroundType || {});
3736
+ var GradientType = /* @__PURE__ */ ((GradientType2) => {
3737
+ GradientType2["LINEAR"] = "LINEAR";
3738
+ GradientType2["RADIAL"] = "RADIAL";
3739
+ return GradientType2;
3740
+ })(GradientType || {});
3741
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
3742
+ WidthType2["CONTENT"] = "CONTENT";
3743
+ WidthType2["SMALL"] = "SMALL";
3744
+ WidthType2["ORIGINAL"] = "ORIGINAL";
3745
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
3746
+ return WidthType2;
3747
+ })(WidthType || {});
3748
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
3749
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
3750
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
3751
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
3752
+ return PluginContainerDataAlignment2;
3753
+ })(PluginContainerDataAlignment || {});
3754
+ var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
3755
+ ButtonDataType2["LINK"] = "LINK";
3756
+ ButtonDataType2["ACTION"] = "ACTION";
3757
+ return ButtonDataType2;
3758
+ })(ButtonDataType || {});
3759
+ var Target = /* @__PURE__ */ ((Target2) => {
3760
+ Target2["SELF"] = "SELF";
3761
+ Target2["BLANK"] = "BLANK";
3762
+ Target2["PARENT"] = "PARENT";
3763
+ Target2["TOP"] = "TOP";
3764
+ return Target2;
3765
+ })(Target || {});
3766
+ var AnimationType = /* @__PURE__ */ ((AnimationType2) => {
3767
+ AnimationType2["VIEW"] = "VIEW";
3768
+ AnimationType2["POINTER"] = "POINTER";
3769
+ return AnimationType2;
3770
+ })(AnimationType || {});
3771
+ var EntranceEffectType = /* @__PURE__ */ ((EntranceEffectType2) => {
3772
+ EntranceEffectType2["FADE"] = "FADE";
3773
+ EntranceEffectType2["ARC"] = "ARC";
3774
+ EntranceEffectType2["BLUR"] = "BLUR";
3775
+ EntranceEffectType2["BOUNCE"] = "BOUNCE";
3776
+ EntranceEffectType2["DROP"] = "DROP";
3777
+ EntranceEffectType2["EXPAND"] = "EXPAND";
3778
+ EntranceEffectType2["FLIP"] = "FLIP";
3779
+ EntranceEffectType2["FLOAT"] = "FLOAT";
3780
+ EntranceEffectType2["FOLD"] = "FOLD";
3240
3781
  EntranceEffectType2["GLIDE"] = "GLIDE";
3241
3782
  EntranceEffectType2["REVEAL"] = "REVEAL";
3242
3783
  EntranceEffectType2["SHAPE"] = "SHAPE";
@@ -4554,6 +5095,110 @@ async function publishDraftPost2(draftPostId) {
4554
5095
  throw transformedError;
4555
5096
  }
4556
5097
  }
5098
+ async function translateDraft2(postId, language, options) {
5099
+ const { httpClient, sideEffects } = arguments[3];
5100
+ const payload = renameKeysFromSDKRequestToRESTRequest(
5101
+ { postId, language, fieldsets: options?.fieldsets },
5102
+ []
5103
+ );
5104
+ const reqOpts = translateDraft(payload);
5105
+ sideEffects?.onSiteCall?.();
5106
+ try {
5107
+ const result = await httpClient.request(reqOpts);
5108
+ sideEffects?.onSuccess?.(result);
5109
+ return renameKeysFromRESTResponseToSDKResponse(
5110
+ transformPaths2(result.data, [
5111
+ {
5112
+ transformFn: transformRESTImageToSDKImage,
5113
+ paths: [
5114
+ { path: "draftPost.heroImage" },
5115
+ { path: "draftPost.media.wixMedia.image" }
5116
+ ]
5117
+ },
5118
+ {
5119
+ transformFn: transformRESTPageURLToSDKPageURL,
5120
+ paths: [
5121
+ { path: "draftPost.url" },
5122
+ { path: "draftPost.translations.url" }
5123
+ ]
5124
+ },
5125
+ {
5126
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
5127
+ paths: [{ path: "draftPost.media.wixMedia.videoV2" }]
5128
+ }
5129
+ ]),
5130
+ ["draftPost.richContent"]
5131
+ );
5132
+ } catch (err) {
5133
+ const transformedError = sdkTransformError(
5134
+ err,
5135
+ {
5136
+ spreadPathsToArguments: {},
5137
+ explicitPathsToArguments: {
5138
+ postId: "$[0]",
5139
+ language: "$[1]",
5140
+ fieldsets: "$[2].fieldsets"
5141
+ },
5142
+ singleArgumentUnchanged: false
5143
+ },
5144
+ ["postId", "language", "options"]
5145
+ );
5146
+ sideEffects?.onError?.(err);
5147
+ throw transformedError;
5148
+ }
5149
+ }
5150
+ async function updateDraftPostLanguage2(postId, language, options) {
5151
+ const { httpClient, sideEffects } = arguments[3];
5152
+ const payload = renameKeysFromSDKRequestToRESTRequest(
5153
+ { postId, language, fieldsets: options?.fieldsets },
5154
+ []
5155
+ );
5156
+ const reqOpts = updateDraftPostLanguage(payload);
5157
+ sideEffects?.onSiteCall?.();
5158
+ try {
5159
+ const result = await httpClient.request(reqOpts);
5160
+ sideEffects?.onSuccess?.(result);
5161
+ return renameKeysFromRESTResponseToSDKResponse(
5162
+ transformPaths2(result.data, [
5163
+ {
5164
+ transformFn: transformRESTImageToSDKImage,
5165
+ paths: [
5166
+ { path: "draftPost.heroImage" },
5167
+ { path: "draftPost.media.wixMedia.image" }
5168
+ ]
5169
+ },
5170
+ {
5171
+ transformFn: transformRESTPageURLToSDKPageURL,
5172
+ paths: [
5173
+ { path: "draftPost.url" },
5174
+ { path: "draftPost.translations.url" }
5175
+ ]
5176
+ },
5177
+ {
5178
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
5179
+ paths: [{ path: "draftPost.media.wixMedia.videoV2" }]
5180
+ }
5181
+ ]),
5182
+ ["draftPost.richContent"]
5183
+ );
5184
+ } catch (err) {
5185
+ const transformedError = sdkTransformError(
5186
+ err,
5187
+ {
5188
+ spreadPathsToArguments: {},
5189
+ explicitPathsToArguments: {
5190
+ postId: "$[0]",
5191
+ language: "$[1]",
5192
+ fieldsets: "$[2].fieldsets"
5193
+ },
5194
+ singleArgumentUnchanged: false
5195
+ },
5196
+ ["postId", "language", "options"]
5197
+ );
5198
+ sideEffects?.onError?.(err);
5199
+ throw transformedError;
5200
+ }
5201
+ }
4557
5202
  export {
4558
5203
  Action,
4559
5204
  Alignment,
@@ -4641,8 +5286,10 @@ export {
4641
5286
  queryDraftPosts2 as queryDraftPosts,
4642
5287
  removeFromTrashBin2 as removeFromTrashBin,
4643
5288
  restoreFromTrashBin2 as restoreFromTrashBin,
5289
+ translateDraft2 as translateDraft,
4644
5290
  typedQueryDraftPosts,
4645
5291
  updateDraftPost2 as updateDraftPost,
5292
+ updateDraftPostLanguage2 as updateDraftPostLanguage,
4646
5293
  utils
4647
5294
  };
4648
5295
  //# sourceMappingURL=index.typings.mjs.map