@wix/auto_sdk_members_members-about 1.0.61 → 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.
@@ -2,7 +2,9 @@ import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTF
2
2
  import { MemberAbout, UpdateMemberAbout, GetMyMemberAboutResponse, MemberAboutCreatedEnvelope, MemberAboutDeletedEnvelope, MemberAboutUpdatedEnvelope, MemberAboutsQueryBuilder, MemberAboutQuery, typedQueryMemberAbouts } from './index.typings.js';
3
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): CreateMemberAboutSignature;
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): UpdateMemberAboutSignature;
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): DeleteMemberAboutSignature;
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): GetMemberAboutSignature;
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): GetMyMemberAboutSignature;
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.
@@ -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
@@ -1031,6 +1041,207 @@ function queryMemberAbouts(payload) {
1031
1041
 
1032
1042
  // src/members-about-v2-member-about-members-about.universal.ts
1033
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
1034
1245
  var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
1035
1246
  var NodeType = /* @__PURE__ */ ((NodeType2) => {
1036
1247
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
@@ -1436,7 +1647,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1436
1647
  return WebhookIdentityType2;
1437
1648
  })(WebhookIdentityType || {});
1438
1649
  async function createMemberAbout2(memberAbout) {
1439
- const { httpClient, sideEffects } = arguments[1];
1650
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
1651
+ if (validateRequestSchema) {
1652
+ CreateMemberAboutRequest.parse({ memberAbout });
1653
+ }
1440
1654
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
1441
1655
  { memberAbout },
1442
1656
  ["memberAbout.content"]
@@ -1464,7 +1678,10 @@ async function createMemberAbout2(memberAbout) {
1464
1678
  }
1465
1679
  }
1466
1680
  async function updateMemberAbout2(_id, memberAbout) {
1467
- const { httpClient, sideEffects } = arguments[2];
1681
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[2];
1682
+ if (validateRequestSchema) {
1683
+ UpdateMemberAboutRequest.parse({ _id, memberAbout });
1684
+ }
1468
1685
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
1469
1686
  { memberAbout: { ...memberAbout, id: _id } },
1470
1687
  ["memberAbout.content"]
@@ -1492,7 +1709,10 @@ async function updateMemberAbout2(_id, memberAbout) {
1492
1709
  }
1493
1710
  }
1494
1711
  async function deleteMemberAbout2(_id) {
1495
- const { httpClient, sideEffects } = arguments[1];
1712
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
1713
+ if (validateRequestSchema) {
1714
+ DeleteMemberAboutRequest.parse({ _id });
1715
+ }
1496
1716
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id }, []);
1497
1717
  const reqOpts = deleteMemberAbout(payload);
1498
1718
  sideEffects?.onSiteCall?.();
@@ -1514,7 +1734,10 @@ async function deleteMemberAbout2(_id) {
1514
1734
  }
1515
1735
  }
1516
1736
  async function getMemberAbout2(_id) {
1517
- const { httpClient, sideEffects } = arguments[1];
1737
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
1738
+ if (validateRequestSchema) {
1739
+ GetMemberAboutRequest.parse({ _id });
1740
+ }
1518
1741
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ id: _id }, []);
1519
1742
  const reqOpts = getMemberAbout(payload);
1520
1743
  sideEffects?.onSiteCall?.();
@@ -1539,7 +1762,10 @@ async function getMemberAbout2(_id) {
1539
1762
  }
1540
1763
  }
1541
1764
  async function getMyMemberAbout2() {
1542
- const { httpClient, sideEffects } = arguments[0];
1765
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[0];
1766
+ if (validateRequestSchema) {
1767
+ GetMyMemberAboutRequest.parse({});
1768
+ }
1543
1769
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({}, []);
1544
1770
  const reqOpts = getMyMemberAbout(payload);
1545
1771
  sideEffects?.onSiteCall?.();
@@ -1610,7 +1836,10 @@ function queryMemberAbouts2() {
1610
1836
  });
1611
1837
  }
1612
1838
  async function typedQueryMemberAbouts(query) {
1613
- const { httpClient, sideEffects } = arguments[1];
1839
+ const { httpClient, sideEffects, validateRequestSchema } = arguments[1];
1840
+ if (validateRequestSchema) {
1841
+ QueryMemberAboutsRequest.parse({ query });
1842
+ }
1614
1843
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query }, []);
1615
1844
  const reqOpts = queryMemberAbouts(payload);
1616
1845
  sideEffects?.onSiteCall?.();
@@ -1641,52 +1870,52 @@ var utils = {
1641
1870
  };
1642
1871
 
1643
1872
  // src/members-about-v2-member-about-members-about.public.ts
1644
- function createMemberAbout3(httpClient) {
1873
+ function createMemberAbout3(httpClient, __options) {
1645
1874
  return (memberAbout) => createMemberAbout2(
1646
1875
  memberAbout,
1647
1876
  // @ts-ignore
1648
- { httpClient }
1877
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1649
1878
  );
1650
1879
  }
1651
- function updateMemberAbout3(httpClient) {
1880
+ function updateMemberAbout3(httpClient, __options) {
1652
1881
  return (_id, memberAbout) => updateMemberAbout2(
1653
1882
  _id,
1654
1883
  memberAbout,
1655
1884
  // @ts-ignore
1656
- { httpClient }
1885
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1657
1886
  );
1658
1887
  }
1659
- function deleteMemberAbout3(httpClient) {
1888
+ function deleteMemberAbout3(httpClient, __options) {
1660
1889
  return (_id) => deleteMemberAbout2(
1661
1890
  _id,
1662
1891
  // @ts-ignore
1663
- { httpClient }
1892
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1664
1893
  );
1665
1894
  }
1666
- function getMemberAbout3(httpClient) {
1895
+ function getMemberAbout3(httpClient, __options) {
1667
1896
  return (_id) => getMemberAbout2(
1668
1897
  _id,
1669
1898
  // @ts-ignore
1670
- { httpClient }
1899
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1671
1900
  );
1672
1901
  }
1673
- function getMyMemberAbout3(httpClient) {
1902
+ function getMyMemberAbout3(httpClient, __options) {
1674
1903
  return () => getMyMemberAbout2(
1675
1904
  // @ts-ignore
1676
- { httpClient }
1905
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1677
1906
  );
1678
1907
  }
1679
- function queryMemberAbouts3(httpClient) {
1908
+ function queryMemberAbouts3(httpClient, __options) {
1680
1909
  return () => queryMemberAbouts2(
1681
1910
  // @ts-ignore
1682
- { httpClient }
1911
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1683
1912
  );
1684
1913
  }
1685
- function typedQueryMemberAbouts2(httpClient) {
1914
+ function typedQueryMemberAbouts2(httpClient, __options) {
1686
1915
  return (query) => typedQueryMemberAbouts(
1687
1916
  query,
1688
1917
  // @ts-ignore
1689
- { httpClient }
1918
+ { httpClient, validateRequestSchema: __options?.validateRequestSchema }
1690
1919
  );
1691
1920
  }
1692
1921
  var onMemberAboutCreated = (0, import_sdk_types.EventDefinition)(