@wix/auto_sdk_members_members-about 1.0.60 → 1.0.62
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.
- package/build/cjs/index.d.ts +16 -6
- package/build/cjs/index.js +315 -30
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +100 -7
- package/build/cjs/index.typings.js +293 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +99 -3
- package/build/cjs/meta.js +58 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +16 -6
- package/build/es/index.mjs +303 -30
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +100 -7
- package/build/es/index.typings.mjs +281 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +99 -3
- package/build/es/meta.mjs +56 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +16 -6
- package/build/internal/cjs/index.js +315 -30
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +100 -7
- package/build/internal/cjs/index.typings.js +293 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +99 -3
- package/build/internal/cjs/meta.js +58 -7
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +16 -6
- package/build/internal/es/index.mjs +303 -30
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +100 -7
- package/build/internal/es/index.typings.mjs +281 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +99 -3
- package/build/internal/es/meta.mjs +56 -7
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { MemberAbout, UpdateMemberAbout, GetMyMemberAboutResponse, MemberAboutCreatedEnvelope, MemberAboutDeletedEnvelope, MemberAboutUpdatedEnvelope, MemberAboutsQueryBuilder, MemberAboutQuery, typedQueryMemberAbouts } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonQueryWithEntityContext, CreateMemberAboutRequest, CreateMemberAboutResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteMemberAboutRequest, DeleteMemberAboutResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetMemberAboutRequest, GetMemberAboutResponse, GetMyMemberAboutRequest, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MemberAboutQuerySpec, MemberAboutsQueryResult, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, QueryMemberAboutsRequest, QueryMemberAboutsResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UpdateMemberAboutRequest, UpdateMemberAboutResponse, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Backdrop, BackdropType, BackdropTypeWithLiterals, Background, BackgroundGradient, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Banner, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CaptionData, CardData, CardDataBackground, CardDataBackgroundType, CardDataBackgroundTypeWithLiterals, CardStyles, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, ColumnSize, ColumnSizeWithLiterals, CommonQueryWithEntityContext, CreateMemberAboutRequest, CreateMemberAboutResponse, Crop, CropWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, DeleteMemberAboutRequest, DeleteMemberAboutResponse, Design, DesignTarget, DesignTargetWithLiterals, Dimensions, Direction, DirectionWithLiterals, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventData, EventMetadata, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryOptions, GalleryOptionsLayout, GetMemberAboutRequest, GetMemberAboutResponse, GetMyMemberAboutRequest, Gradient, GradientType, GradientTypeWithLiterals, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionPosition, ImagePositionPositionWithLiterals, ImagePositionWithLiterals, ImageScalingScaling, ImageScalingScalingWithLiterals, ImageStyles, Indentation, IndentationWithLiterals, InitialExpandedItems, InitialExpandedItemsWithLiterals, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutData, LayoutDataBackground, LayoutDataBackgroundImage, LayoutDataBackgroundType, LayoutDataBackgroundTypeWithLiterals, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkDataOneOf, LinkPreviewData, LinkPreviewDataStyles, ListStyle, ListStyleWithLiterals, ListValue, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MemberAboutQuerySpec, MemberAboutsQueryResult, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NullValue, NullValueWithLiterals, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, OrientationWithLiterals, Origin, OriginWithLiterals, PDFSettings, ParagraphData, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollDesignBackground, PollDesignBackgroundBackgroundOneOf, PollDesignBackgroundType, PollDesignBackgroundTypeWithLiterals, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, Position, PositionWithLiterals, PricingData, QueryMemberAboutsRequest, QueryMemberAboutsResponse, Rel, Resizing, ResizingWithLiterals, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, Scaling, ScalingWithLiterals, Settings, ShapeData, ShapeDataStyles, SmartBlockCellData, SmartBlockData, SmartBlockDataType, SmartBlockDataTypeWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, Source, SourceWithLiterals, Spoiler, SpoilerData, Stop, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, TableCellData, TableData, Target, TargetWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, TocData, Type, TypeWithLiterals, UpdateMemberAboutRequest, UpdateMemberAboutResponse, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function createMemberAbout$1(httpClient: HttpClient
|
|
5
|
+
declare function createMemberAbout$1(httpClient: HttpClient, __options?: {
|
|
6
|
+
validateRequestSchema?: boolean;
|
|
7
|
+
}): CreateMemberAboutSignature;
|
|
6
8
|
interface CreateMemberAboutSignature {
|
|
7
9
|
/**
|
|
8
10
|
* Creates the "About" section content for a member.
|
|
@@ -11,7 +13,9 @@ interface CreateMemberAboutSignature {
|
|
|
11
13
|
*/
|
|
12
14
|
(memberAbout: NonNullablePaths<MemberAbout, `content`, 2>): Promise<MemberAbout>;
|
|
13
15
|
}
|
|
14
|
-
declare function updateMemberAbout$1(httpClient: HttpClient
|
|
16
|
+
declare function updateMemberAbout$1(httpClient: HttpClient, __options?: {
|
|
17
|
+
validateRequestSchema?: boolean;
|
|
18
|
+
}): UpdateMemberAboutSignature;
|
|
15
19
|
interface UpdateMemberAboutSignature {
|
|
16
20
|
/**
|
|
17
21
|
* Updates the "About" section content for a member.
|
|
@@ -22,7 +26,9 @@ interface UpdateMemberAboutSignature {
|
|
|
22
26
|
*/
|
|
23
27
|
(_id: string, memberAbout: NonNullablePaths<UpdateMemberAbout, `content` | `revision`, 2>): Promise<MemberAbout>;
|
|
24
28
|
}
|
|
25
|
-
declare function deleteMemberAbout$1(httpClient: HttpClient
|
|
29
|
+
declare function deleteMemberAbout$1(httpClient: HttpClient, __options?: {
|
|
30
|
+
validateRequestSchema?: boolean;
|
|
31
|
+
}): DeleteMemberAboutSignature;
|
|
26
32
|
interface DeleteMemberAboutSignature {
|
|
27
33
|
/**
|
|
28
34
|
* Deletes the "About" section content for a member.
|
|
@@ -30,7 +36,9 @@ interface DeleteMemberAboutSignature {
|
|
|
30
36
|
*/
|
|
31
37
|
(_id: string): Promise<void>;
|
|
32
38
|
}
|
|
33
|
-
declare function getMemberAbout$1(httpClient: HttpClient
|
|
39
|
+
declare function getMemberAbout$1(httpClient: HttpClient, __options?: {
|
|
40
|
+
validateRequestSchema?: boolean;
|
|
41
|
+
}): GetMemberAboutSignature;
|
|
34
42
|
interface GetMemberAboutSignature {
|
|
35
43
|
/**
|
|
36
44
|
* Retrieves a member's "About" section content.
|
|
@@ -39,7 +47,9 @@ interface GetMemberAboutSignature {
|
|
|
39
47
|
*/
|
|
40
48
|
(_id: string): Promise<MemberAbout>;
|
|
41
49
|
}
|
|
42
|
-
declare function getMyMemberAbout$1(httpClient: HttpClient
|
|
50
|
+
declare function getMyMemberAbout$1(httpClient: HttpClient, __options?: {
|
|
51
|
+
validateRequestSchema?: boolean;
|
|
52
|
+
}): GetMyMemberAboutSignature;
|
|
43
53
|
interface GetMyMemberAboutSignature {
|
|
44
54
|
/**
|
|
45
55
|
* Retrieves the "About" section content of the current member.
|
package/build/cjs/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,6 +17,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
|
|
20
30
|
// index.ts
|
|
@@ -27,6 +37,7 @@ __export(index_exports, {
|
|
|
27
37
|
BackgroundType: () => BackgroundType,
|
|
28
38
|
ButtonDataType: () => ButtonDataType,
|
|
29
39
|
CardDataBackgroundType: () => CardDataBackgroundType,
|
|
40
|
+
ColumnSize: () => ColumnSize,
|
|
30
41
|
Crop: () => Crop,
|
|
31
42
|
DecorationType: () => DecorationType,
|
|
32
43
|
DesignTarget: () => DesignTarget,
|
|
@@ -59,6 +70,7 @@ __export(index_exports, {
|
|
|
59
70
|
Resizing: () => Resizing,
|
|
60
71
|
ResponsivenessBehaviour: () => ResponsivenessBehaviour,
|
|
61
72
|
Scaling: () => Scaling,
|
|
73
|
+
SmartBlockDataType: () => SmartBlockDataType,
|
|
62
74
|
SortOrder: () => SortOrder,
|
|
63
75
|
Source: () => Source,
|
|
64
76
|
StylesPosition: () => StylesPosition,
|
|
@@ -252,7 +264,10 @@ function createMemberAbout(payload) {
|
|
|
252
264
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
253
265
|
},
|
|
254
266
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
255
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
267
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
268
|
+
{
|
|
269
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
270
|
+
}
|
|
256
271
|
]
|
|
257
272
|
},
|
|
258
273
|
{
|
|
@@ -370,7 +385,10 @@ function createMemberAbout(payload) {
|
|
|
370
385
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
371
386
|
},
|
|
372
387
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
373
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
388
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
389
|
+
{
|
|
390
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
391
|
+
}
|
|
374
392
|
]
|
|
375
393
|
},
|
|
376
394
|
{
|
|
@@ -473,7 +491,10 @@ function updateMemberAbout(payload) {
|
|
|
473
491
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
474
492
|
},
|
|
475
493
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
476
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
494
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
495
|
+
{
|
|
496
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
497
|
+
}
|
|
477
498
|
]
|
|
478
499
|
},
|
|
479
500
|
{
|
|
@@ -591,7 +612,10 @@ function updateMemberAbout(payload) {
|
|
|
591
612
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
592
613
|
},
|
|
593
614
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
594
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
615
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
616
|
+
{
|
|
617
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
618
|
+
}
|
|
595
619
|
]
|
|
596
620
|
},
|
|
597
621
|
{
|
|
@@ -737,7 +761,10 @@ function getMemberAbout(payload) {
|
|
|
737
761
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
738
762
|
},
|
|
739
763
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
740
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
764
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
765
|
+
{
|
|
766
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
767
|
+
}
|
|
741
768
|
]
|
|
742
769
|
},
|
|
743
770
|
{
|
|
@@ -862,7 +889,10 @@ function getMyMemberAbout(payload) {
|
|
|
862
889
|
path: "memberAbout.content.nodes.cardData.backgroundImage.media.duration"
|
|
863
890
|
},
|
|
864
891
|
{ path: "memberAbout.content.nodes.tocData.fontSize" },
|
|
865
|
-
{ path: "memberAbout.content.nodes.tocData.itemSpacing" }
|
|
892
|
+
{ path: "memberAbout.content.nodes.tocData.itemSpacing" },
|
|
893
|
+
{
|
|
894
|
+
path: "memberAbout.content.nodes.smartBlockCellData.shape.duration"
|
|
895
|
+
}
|
|
866
896
|
]
|
|
867
897
|
},
|
|
868
898
|
{
|
|
@@ -989,7 +1019,10 @@ function queryMemberAbouts(payload) {
|
|
|
989
1019
|
path: "memberAbouts.content.nodes.cardData.backgroundImage.media.duration"
|
|
990
1020
|
},
|
|
991
1021
|
{ path: "memberAbouts.content.nodes.tocData.fontSize" },
|
|
992
|
-
{ path: "memberAbouts.content.nodes.tocData.itemSpacing" }
|
|
1022
|
+
{ path: "memberAbouts.content.nodes.tocData.itemSpacing" },
|
|
1023
|
+
{
|
|
1024
|
+
path: "memberAbouts.content.nodes.smartBlockCellData.shape.duration"
|
|
1025
|
+
}
|
|
993
1026
|
]
|
|
994
1027
|
},
|
|
995
1028
|
{
|
|
@@ -1008,6 +1041,207 @@ function queryMemberAbouts(payload) {
|
|
|
1008
1041
|
|
|
1009
1042
|
// src/members-about-v2-member-about-members-about.universal.ts
|
|
1010
1043
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
1044
|
+
|
|
1045
|
+
// src/members-about-v2-member-about-members-about.schemas.ts
|
|
1046
|
+
var z = __toESM(require("zod"));
|
|
1047
|
+
var CreateMemberAboutRequest = z.object({
|
|
1048
|
+
memberAbout: z.object({
|
|
1049
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1050
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1051
|
+
"Must be a valid GUID"
|
|
1052
|
+
).optional().nullable(),
|
|
1053
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1054
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1055
|
+
).optional().nullable(),
|
|
1056
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1057
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1058
|
+
"Must be a valid GUID"
|
|
1059
|
+
).optional().nullable(),
|
|
1060
|
+
content: z.any().describe(
|
|
1061
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1062
|
+
)
|
|
1063
|
+
}).describe('The "About" section content to create.')
|
|
1064
|
+
});
|
|
1065
|
+
var CreateMemberAboutResponse = z.object({
|
|
1066
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1067
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1068
|
+
"Must be a valid GUID"
|
|
1069
|
+
).optional().nullable(),
|
|
1070
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1071
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1072
|
+
).optional().nullable(),
|
|
1073
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1074
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1075
|
+
"Must be a valid GUID"
|
|
1076
|
+
).optional().nullable(),
|
|
1077
|
+
content: z.any().describe(
|
|
1078
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1079
|
+
).optional()
|
|
1080
|
+
});
|
|
1081
|
+
var UpdateMemberAboutRequest = z.object({
|
|
1082
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1083
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1084
|
+
"Must be a valid GUID"
|
|
1085
|
+
),
|
|
1086
|
+
memberAbout: z.object({
|
|
1087
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1088
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1089
|
+
"Must be a valid GUID"
|
|
1090
|
+
).optional().nullable(),
|
|
1091
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1092
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1093
|
+
),
|
|
1094
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1095
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1096
|
+
"Must be a valid GUID"
|
|
1097
|
+
).optional().nullable(),
|
|
1098
|
+
content: z.any().describe(
|
|
1099
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1100
|
+
)
|
|
1101
|
+
}).describe('The "About" section content to update.')
|
|
1102
|
+
});
|
|
1103
|
+
var UpdateMemberAboutResponse = z.object({
|
|
1104
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1105
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1106
|
+
"Must be a valid GUID"
|
|
1107
|
+
).optional().nullable(),
|
|
1108
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1109
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1110
|
+
).optional().nullable(),
|
|
1111
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1112
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1113
|
+
"Must be a valid GUID"
|
|
1114
|
+
).optional().nullable(),
|
|
1115
|
+
content: z.any().describe(
|
|
1116
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1117
|
+
).optional()
|
|
1118
|
+
});
|
|
1119
|
+
var DeleteMemberAboutRequest = z.object({
|
|
1120
|
+
_id: z.string().describe('ID of the "About" section content to delete.').regex(
|
|
1121
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1122
|
+
"Must be a valid GUID"
|
|
1123
|
+
)
|
|
1124
|
+
});
|
|
1125
|
+
var DeleteMemberAboutResponse = z.object({});
|
|
1126
|
+
var GetMemberAboutRequest = z.object({
|
|
1127
|
+
_id: z.string().describe('ID of the "About" section content to retrieve.').regex(
|
|
1128
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1129
|
+
"Must be a valid GUID"
|
|
1130
|
+
)
|
|
1131
|
+
});
|
|
1132
|
+
var GetMemberAboutResponse = z.object({
|
|
1133
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1134
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1135
|
+
"Must be a valid GUID"
|
|
1136
|
+
).optional().nullable(),
|
|
1137
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1138
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1139
|
+
).optional().nullable(),
|
|
1140
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1141
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1142
|
+
"Must be a valid GUID"
|
|
1143
|
+
).optional().nullable(),
|
|
1144
|
+
content: z.any().describe(
|
|
1145
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1146
|
+
).optional()
|
|
1147
|
+
});
|
|
1148
|
+
var GetMyMemberAboutRequest = z.object({});
|
|
1149
|
+
var GetMyMemberAboutResponse = z.object({
|
|
1150
|
+
memberAbout: z.object({
|
|
1151
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1152
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1153
|
+
"Must be a valid GUID"
|
|
1154
|
+
).optional().nullable(),
|
|
1155
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1156
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1157
|
+
).optional().nullable(),
|
|
1158
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1159
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1160
|
+
"Must be a valid GUID"
|
|
1161
|
+
).optional().nullable(),
|
|
1162
|
+
content: z.any().describe(
|
|
1163
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1164
|
+
).optional()
|
|
1165
|
+
}).describe('The "About" section content of the current member.').optional()
|
|
1166
|
+
});
|
|
1167
|
+
var QueryMemberAboutsRequest = z.object({
|
|
1168
|
+
query: z.object({
|
|
1169
|
+
filter: z.object({
|
|
1170
|
+
_id: z.object({
|
|
1171
|
+
$eq: z.string(),
|
|
1172
|
+
$exists: z.boolean(),
|
|
1173
|
+
$gt: z.string(),
|
|
1174
|
+
$gte: z.string(),
|
|
1175
|
+
$hasAll: z.array(z.string()),
|
|
1176
|
+
$hasSome: z.array(z.string()),
|
|
1177
|
+
$in: z.array(z.string()),
|
|
1178
|
+
$lt: z.string(),
|
|
1179
|
+
$lte: z.string(),
|
|
1180
|
+
$ne: z.string(),
|
|
1181
|
+
$nin: z.array(z.string()),
|
|
1182
|
+
$startsWith: z.string()
|
|
1183
|
+
}).partial().strict().optional(),
|
|
1184
|
+
memberId: z.object({
|
|
1185
|
+
$eq: z.string(),
|
|
1186
|
+
$exists: z.boolean(),
|
|
1187
|
+
$gt: z.string(),
|
|
1188
|
+
$gte: z.string(),
|
|
1189
|
+
$hasAll: z.array(z.string()),
|
|
1190
|
+
$hasSome: z.array(z.string()),
|
|
1191
|
+
$in: z.array(z.string()),
|
|
1192
|
+
$lt: z.string(),
|
|
1193
|
+
$lte: z.string(),
|
|
1194
|
+
$ne: z.string(),
|
|
1195
|
+
$nin: z.array(z.string()),
|
|
1196
|
+
$startsWith: z.string()
|
|
1197
|
+
}).partial().strict().optional(),
|
|
1198
|
+
$and: z.array(z.any()).optional(),
|
|
1199
|
+
$or: z.array(z.any()).optional(),
|
|
1200
|
+
$not: z.any().optional()
|
|
1201
|
+
}).strict().optional(),
|
|
1202
|
+
sort: z.array(z.object({})).optional()
|
|
1203
|
+
}).catchall(z.any()).describe(
|
|
1204
|
+
"Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details."
|
|
1205
|
+
)
|
|
1206
|
+
});
|
|
1207
|
+
var QueryMemberAboutsResponse = z.object({
|
|
1208
|
+
memberAbouts: z.array(
|
|
1209
|
+
z.object({
|
|
1210
|
+
_id: z.string().describe('ID of the "About" section content.').regex(
|
|
1211
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1212
|
+
"Must be a valid GUID"
|
|
1213
|
+
).optional().nullable(),
|
|
1214
|
+
revision: z.string().regex(/^\d+$/, "Must be a valid UInt64 string").describe(
|
|
1215
|
+
'Revision number, which increments by 1 each time the "About" section content is updated. To prevent conflicting changes, the existing revision must be used when updating an "About" section content.'
|
|
1216
|
+
).optional().nullable(),
|
|
1217
|
+
memberId: z.string().describe("Member ID.").regex(
|
|
1218
|
+
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
1219
|
+
"Must be a valid GUID"
|
|
1220
|
+
).optional().nullable(),
|
|
1221
|
+
content: z.any().describe(
|
|
1222
|
+
'<widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.video.divider.giphy.emoji.link" exampleid="9b569a8d-0fc1-40f4-987f-8bd40ecc72d0">Fallback Message for SSR and Error</widget>.'
|
|
1223
|
+
).optional()
|
|
1224
|
+
})
|
|
1225
|
+
).optional(),
|
|
1226
|
+
metadata: z.object({
|
|
1227
|
+
count: z.number().int().describe("Number of items returned in current page.").optional().nullable(),
|
|
1228
|
+
cursors: z.object({
|
|
1229
|
+
next: z.string().describe(
|
|
1230
|
+
"Cursor string pointing to the next page in the list of results."
|
|
1231
|
+
).max(16e3).optional().nullable(),
|
|
1232
|
+
prev: z.string().describe(
|
|
1233
|
+
"Cursor pointing to the previous page in the list of results."
|
|
1234
|
+
).max(16e3).optional().nullable()
|
|
1235
|
+
}).describe(
|
|
1236
|
+
"Cursor strings that point to the next page, previous page, or both."
|
|
1237
|
+
).optional(),
|
|
1238
|
+
hasNext: z.boolean().describe(
|
|
1239
|
+
"Whether there are more pages to retrieve following the current page.\n\n+ `true`: Another page of results can be retrieved.\n+ `false`: This is the last page."
|
|
1240
|
+
).optional().nullable()
|
|
1241
|
+
}).describe("Metadata for the paginated results.").optional()
|
|
1242
|
+
});
|
|
1243
|
+
|
|
1244
|
+
// src/members-about-v2-member-about-members-about.universal.ts
|
|
1011
1245
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
1012
1246
|
var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
1013
1247
|
NodeType2["PARAGRAPH"] = "PARAGRAPH";
|
|
@@ -1046,6 +1280,8 @@ var NodeType = /* @__PURE__ */ ((NodeType2) => {
|
|
|
1046
1280
|
NodeType2["SHAPE"] = "SHAPE";
|
|
1047
1281
|
NodeType2["CARD"] = "CARD";
|
|
1048
1282
|
NodeType2["TOC"] = "TOC";
|
|
1283
|
+
NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
|
|
1284
|
+
NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
|
|
1049
1285
|
return NodeType2;
|
|
1050
1286
|
})(NodeType || {});
|
|
1051
1287
|
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
|
|
@@ -1373,6 +1609,30 @@ var Indentation = /* @__PURE__ */ ((Indentation2) => {
|
|
|
1373
1609
|
Indentation2["FLAT"] = "FLAT";
|
|
1374
1610
|
return Indentation2;
|
|
1375
1611
|
})(Indentation || {});
|
|
1612
|
+
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
|
|
1613
|
+
SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
|
|
1614
|
+
SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
|
|
1615
|
+
SmartBlockDataType2["STATS"] = "STATS";
|
|
1616
|
+
SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
|
|
1617
|
+
SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
|
|
1618
|
+
SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
|
|
1619
|
+
SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
|
|
1620
|
+
SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
|
|
1621
|
+
SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
|
|
1622
|
+
SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
|
|
1623
|
+
SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
|
|
1624
|
+
SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
|
|
1625
|
+
SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
|
|
1626
|
+
SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
|
|
1627
|
+
return SmartBlockDataType2;
|
|
1628
|
+
})(SmartBlockDataType || {});
|
|
1629
|
+
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
|
|
1630
|
+
ColumnSize2["SMALL"] = "SMALL";
|
|
1631
|
+
ColumnSize2["MEDIUM"] = "MEDIUM";
|
|
1632
|
+
ColumnSize2["LARGE"] = "LARGE";
|
|
1633
|
+
ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
|
|
1634
|
+
return ColumnSize2;
|
|
1635
|
+
})(ColumnSize || {});
|
|
1376
1636
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
1377
1637
|
SortOrder2["ASC"] = "ASC";
|
|
1378
1638
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1387,7 +1647,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1387
1647
|
return WebhookIdentityType2;
|
|
1388
1648
|
})(WebhookIdentityType || {});
|
|
1389
1649
|
async function createMemberAbout2(memberAbout) {
|
|
1390
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1650
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
|
|
1651
|
+
if (validateRequestSchema) {
|
|
1652
|
+
CreateMemberAboutRequest.parse({ memberAbout });
|
|
1653
|
+
}
|
|
1391
1654
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
1392
1655
|
{ memberAbout },
|
|
1393
1656
|
["memberAbout.content"]
|
|
@@ -1415,7 +1678,10 @@ async function createMemberAbout2(memberAbout) {
|
|
|
1415
1678
|
}
|
|
1416
1679
|
}
|
|
1417
1680
|
async function updateMemberAbout2(_id, memberAbout) {
|
|
1418
|
-
const { httpClient, sideEffects } = arguments[2];
|
|
1681
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[2];
|
|
1682
|
+
if (validateRequestSchema) {
|
|
1683
|
+
UpdateMemberAboutRequest.parse({ _id, memberAbout });
|
|
1684
|
+
}
|
|
1419
1685
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
1420
1686
|
{ memberAbout: { ...memberAbout, id: _id } },
|
|
1421
1687
|
["memberAbout.content"]
|
|
@@ -1443,7 +1709,10 @@ async function updateMemberAbout2(_id, memberAbout) {
|
|
|
1443
1709
|
}
|
|
1444
1710
|
}
|
|
1445
1711
|
async function deleteMemberAbout2(_id) {
|
|
1446
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1712
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
|
|
1713
|
+
if (validateRequestSchema) {
|
|
1714
|
+
DeleteMemberAboutRequest.parse({ _id });
|
|
1715
|
+
}
|
|
1447
1716
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id }, []);
|
|
1448
1717
|
const reqOpts = deleteMemberAbout(payload);
|
|
1449
1718
|
sideEffects?.onSiteCall?.();
|
|
@@ -1465,7 +1734,10 @@ async function deleteMemberAbout2(_id) {
|
|
|
1465
1734
|
}
|
|
1466
1735
|
}
|
|
1467
1736
|
async function getMemberAbout2(_id) {
|
|
1468
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1737
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
|
|
1738
|
+
if (validateRequestSchema) {
|
|
1739
|
+
GetMemberAboutRequest.parse({ _id });
|
|
1740
|
+
}
|
|
1469
1741
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id }, []);
|
|
1470
1742
|
const reqOpts = getMemberAbout(payload);
|
|
1471
1743
|
sideEffects?.onSiteCall?.();
|
|
@@ -1490,7 +1762,10 @@ async function getMemberAbout2(_id) {
|
|
|
1490
1762
|
}
|
|
1491
1763
|
}
|
|
1492
1764
|
async function getMyMemberAbout2() {
|
|
1493
|
-
const { httpClient, sideEffects } = arguments[0];
|
|
1765
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[0];
|
|
1766
|
+
if (validateRequestSchema) {
|
|
1767
|
+
GetMyMemberAboutRequest.parse({});
|
|
1768
|
+
}
|
|
1494
1769
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({}, []);
|
|
1495
1770
|
const reqOpts = getMyMemberAbout(payload);
|
|
1496
1771
|
sideEffects?.onSiteCall?.();
|
|
@@ -1561,7 +1836,10 @@ function queryMemberAbouts2() {
|
|
|
1561
1836
|
});
|
|
1562
1837
|
}
|
|
1563
1838
|
async function typedQueryMemberAbouts(query) {
|
|
1564
|
-
const { httpClient, sideEffects } = arguments[1];
|
|
1839
|
+
const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
|
|
1840
|
+
if (validateRequestSchema) {
|
|
1841
|
+
QueryMemberAboutsRequest.parse({ query });
|
|
1842
|
+
}
|
|
1565
1843
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query }, []);
|
|
1566
1844
|
const reqOpts = queryMemberAbouts(payload);
|
|
1567
1845
|
sideEffects?.onSiteCall?.();
|
|
@@ -1592,52 +1870,52 @@ var utils = {
|
|
|
1592
1870
|
};
|
|
1593
1871
|
|
|
1594
1872
|
// src/members-about-v2-member-about-members-about.public.ts
|
|
1595
|
-
function createMemberAbout3(httpClient) {
|
|
1873
|
+
function createMemberAbout3(httpClient, __options) {
|
|
1596
1874
|
return (memberAbout) => createMemberAbout2(
|
|
1597
1875
|
memberAbout,
|
|
1598
1876
|
// @ts-ignore
|
|
1599
|
-
{ httpClient }
|
|
1877
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1600
1878
|
);
|
|
1601
1879
|
}
|
|
1602
|
-
function updateMemberAbout3(httpClient) {
|
|
1880
|
+
function updateMemberAbout3(httpClient, __options) {
|
|
1603
1881
|
return (_id, memberAbout) => updateMemberAbout2(
|
|
1604
1882
|
_id,
|
|
1605
1883
|
memberAbout,
|
|
1606
1884
|
// @ts-ignore
|
|
1607
|
-
{ httpClient }
|
|
1885
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1608
1886
|
);
|
|
1609
1887
|
}
|
|
1610
|
-
function deleteMemberAbout3(httpClient) {
|
|
1888
|
+
function deleteMemberAbout3(httpClient, __options) {
|
|
1611
1889
|
return (_id) => deleteMemberAbout2(
|
|
1612
1890
|
_id,
|
|
1613
1891
|
// @ts-ignore
|
|
1614
|
-
{ httpClient }
|
|
1892
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1615
1893
|
);
|
|
1616
1894
|
}
|
|
1617
|
-
function getMemberAbout3(httpClient) {
|
|
1895
|
+
function getMemberAbout3(httpClient, __options) {
|
|
1618
1896
|
return (_id) => getMemberAbout2(
|
|
1619
1897
|
_id,
|
|
1620
1898
|
// @ts-ignore
|
|
1621
|
-
{ httpClient }
|
|
1899
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1622
1900
|
);
|
|
1623
1901
|
}
|
|
1624
|
-
function getMyMemberAbout3(httpClient) {
|
|
1902
|
+
function getMyMemberAbout3(httpClient, __options) {
|
|
1625
1903
|
return () => getMyMemberAbout2(
|
|
1626
1904
|
// @ts-ignore
|
|
1627
|
-
{ httpClient }
|
|
1905
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1628
1906
|
);
|
|
1629
1907
|
}
|
|
1630
|
-
function queryMemberAbouts3(httpClient) {
|
|
1908
|
+
function queryMemberAbouts3(httpClient, __options) {
|
|
1631
1909
|
return () => queryMemberAbouts2(
|
|
1632
1910
|
// @ts-ignore
|
|
1633
|
-
{ httpClient }
|
|
1911
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1634
1912
|
);
|
|
1635
1913
|
}
|
|
1636
|
-
function typedQueryMemberAbouts2(httpClient) {
|
|
1914
|
+
function typedQueryMemberAbouts2(httpClient, __options) {
|
|
1637
1915
|
return (query) => typedQueryMemberAbouts(
|
|
1638
1916
|
query,
|
|
1639
1917
|
// @ts-ignore
|
|
1640
|
-
{ httpClient }
|
|
1918
|
+
{ httpClient, validateRequestSchema: __options?.validateRequestSchema }
|
|
1641
1919
|
);
|
|
1642
1920
|
}
|
|
1643
1921
|
var onMemberAboutCreated = (0, import_sdk_types.EventDefinition)(
|
|
@@ -1729,7 +2007,8 @@ var onMemberAboutCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
1729
2007
|
path: "entity.content.nodes.cardData.backgroundImage.media.duration"
|
|
1730
2008
|
},
|
|
1731
2009
|
{ path: "entity.content.nodes.tocData.fontSize" },
|
|
1732
|
-
{ path: "entity.content.nodes.tocData.itemSpacing" }
|
|
2010
|
+
{ path: "entity.content.nodes.tocData.itemSpacing" },
|
|
2011
|
+
{ path: "entity.content.nodes.smartBlockCellData.shape.duration" }
|
|
1733
2012
|
]
|
|
1734
2013
|
},
|
|
1735
2014
|
{
|
|
@@ -1832,7 +2111,10 @@ var onMemberAboutDeleted = (0, import_sdk_types.EventDefinition)(
|
|
|
1832
2111
|
path: "undefined.content.nodes.cardData.backgroundImage.media.duration"
|
|
1833
2112
|
},
|
|
1834
2113
|
{ path: "undefined.content.nodes.tocData.fontSize" },
|
|
1835
|
-
{ path: "undefined.content.nodes.tocData.itemSpacing" }
|
|
2114
|
+
{ path: "undefined.content.nodes.tocData.itemSpacing" },
|
|
2115
|
+
{
|
|
2116
|
+
path: "undefined.content.nodes.smartBlockCellData.shape.duration"
|
|
2117
|
+
}
|
|
1836
2118
|
]
|
|
1837
2119
|
},
|
|
1838
2120
|
{
|
|
@@ -1935,7 +2217,8 @@ var onMemberAboutUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
1935
2217
|
path: "entity.content.nodes.cardData.backgroundImage.media.duration"
|
|
1936
2218
|
},
|
|
1937
2219
|
{ path: "entity.content.nodes.tocData.fontSize" },
|
|
1938
|
-
{ path: "entity.content.nodes.tocData.itemSpacing" }
|
|
2220
|
+
{ path: "entity.content.nodes.tocData.itemSpacing" },
|
|
2221
|
+
{ path: "entity.content.nodes.smartBlockCellData.shape.duration" }
|
|
1939
2222
|
]
|
|
1940
2223
|
},
|
|
1941
2224
|
{
|
|
@@ -1989,6 +2272,7 @@ var onMemberAboutUpdated2 = (0, import_event_definition_modules.createEventModul
|
|
|
1989
2272
|
BackgroundType,
|
|
1990
2273
|
ButtonDataType,
|
|
1991
2274
|
CardDataBackgroundType,
|
|
2275
|
+
ColumnSize,
|
|
1992
2276
|
Crop,
|
|
1993
2277
|
DecorationType,
|
|
1994
2278
|
DesignTarget,
|
|
@@ -2021,6 +2305,7 @@ var onMemberAboutUpdated2 = (0, import_event_definition_modules.createEventModul
|
|
|
2021
2305
|
Resizing,
|
|
2022
2306
|
ResponsivenessBehaviour,
|
|
2023
2307
|
Scaling,
|
|
2308
|
+
SmartBlockDataType,
|
|
2024
2309
|
SortOrder,
|
|
2025
2310
|
Source,
|
|
2026
2311
|
StylesPosition,
|