@wix/auto_sdk_members_members-about 1.0.40 → 1.0.41
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 +8 -21
- package/build/cjs/index.js +46 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +98 -4
- package/build/cjs/index.typings.js +28 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +37 -3
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -21
- package/build/es/index.mjs +46 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +98 -4
- package/build/es/index.typings.mjs +27 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +37 -3
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -21
- package/build/internal/cjs/index.js +46 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +98 -4
- package/build/internal/cjs/index.typings.js +28 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +37 -3
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +8 -21
- package/build/internal/es/index.mjs +46 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +98 -4
- package/build/internal/es/index.typings.mjs +27 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +37 -3
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
|
+
import { QuerySpec, Query, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
interface MemberAbout {
|
|
4
4
|
/**
|
|
@@ -1121,6 +1121,8 @@ interface Decoration extends DecorationDataOneOf {
|
|
|
1121
1121
|
superscriptData?: boolean | null;
|
|
1122
1122
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1123
1123
|
subscriptData?: boolean | null;
|
|
1124
|
+
/** Data for a font family decoration. */
|
|
1125
|
+
fontFamilyData?: FontFamilyData;
|
|
1124
1126
|
/** The type of decoration to apply. */
|
|
1125
1127
|
type?: DecorationTypeWithLiterals;
|
|
1126
1128
|
}
|
|
@@ -1150,6 +1152,8 @@ interface DecorationDataOneOf {
|
|
|
1150
1152
|
superscriptData?: boolean | null;
|
|
1151
1153
|
/** Data for a subscript decoration. Defaults to `true`. */
|
|
1152
1154
|
subscriptData?: boolean | null;
|
|
1155
|
+
/** Data for a font family decoration. */
|
|
1156
|
+
fontFamilyData?: FontFamilyData;
|
|
1153
1157
|
}
|
|
1154
1158
|
declare enum DecorationType {
|
|
1155
1159
|
BOLD = "BOLD",
|
|
@@ -1164,10 +1168,11 @@ declare enum DecorationType {
|
|
|
1164
1168
|
EXTERNAL = "EXTERNAL",
|
|
1165
1169
|
STRIKETHROUGH = "STRIKETHROUGH",
|
|
1166
1170
|
SUPERSCRIPT = "SUPERSCRIPT",
|
|
1167
|
-
SUBSCRIPT = "SUBSCRIPT"
|
|
1171
|
+
SUBSCRIPT = "SUBSCRIPT",
|
|
1172
|
+
FONT_FAMILY = "FONT_FAMILY"
|
|
1168
1173
|
}
|
|
1169
1174
|
/** @enumType */
|
|
1170
|
-
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT';
|
|
1175
|
+
type DecorationTypeWithLiterals = DecorationType | 'BOLD' | 'ITALIC' | 'UNDERLINE' | 'SPOILER' | 'ANCHOR' | 'MENTION' | 'LINK' | 'COLOR' | 'FONT_SIZE' | 'EXTERNAL' | 'STRIKETHROUGH' | 'SUPERSCRIPT' | 'SUBSCRIPT' | 'FONT_FAMILY';
|
|
1171
1176
|
interface AnchorData {
|
|
1172
1177
|
/** The target node's ID. */
|
|
1173
1178
|
anchor?: string;
|
|
@@ -1206,6 +1211,10 @@ interface SpoilerData {
|
|
|
1206
1211
|
/** Spoiler ID. */
|
|
1207
1212
|
id?: string | null;
|
|
1208
1213
|
}
|
|
1214
|
+
interface FontFamilyData {
|
|
1215
|
+
/** @maxLength 1000 */
|
|
1216
|
+
value?: string | null;
|
|
1217
|
+
}
|
|
1209
1218
|
interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
1210
1219
|
/** Data for embedded Wix Bookings content. */
|
|
1211
1220
|
bookingData?: BookingData;
|
|
@@ -1590,6 +1599,13 @@ interface TableData {
|
|
|
1590
1599
|
rowHeader?: boolean | null;
|
|
1591
1600
|
/** Sets whether the table's first column is a header. Defaults to `false`. */
|
|
1592
1601
|
columnHeader?: boolean | null;
|
|
1602
|
+
/** The spacing between cells in pixels. Defaults to `0`. */
|
|
1603
|
+
cellSpacing?: number | null;
|
|
1604
|
+
/**
|
|
1605
|
+
* Padding in pixels for cells. Follows CSS order: top, right, bottom, left.
|
|
1606
|
+
* @maxSize 4
|
|
1607
|
+
*/
|
|
1608
|
+
cellPadding?: number[];
|
|
1593
1609
|
}
|
|
1594
1610
|
interface Dimensions {
|
|
1595
1611
|
/** An array representing relative width of each column in relation to the other columns. */
|
|
@@ -1604,6 +1620,12 @@ interface TableCellData {
|
|
|
1604
1620
|
cellStyle?: CellStyle;
|
|
1605
1621
|
/** The cell's border colors. */
|
|
1606
1622
|
borderColors?: BorderColors;
|
|
1623
|
+
/** Defines how many columns the cell spans. Default: 1. */
|
|
1624
|
+
colspan?: number | null;
|
|
1625
|
+
/** Defines how many rows the cell spans. Default: 1. */
|
|
1626
|
+
rowspan?: number | null;
|
|
1627
|
+
/** The cell's border widths. */
|
|
1628
|
+
borderWidths?: BorderWidths;
|
|
1607
1629
|
}
|
|
1608
1630
|
declare enum VerticalAlignment {
|
|
1609
1631
|
/** Top alignment */
|
|
@@ -1646,6 +1668,16 @@ interface BorderColors {
|
|
|
1646
1668
|
*/
|
|
1647
1669
|
bottom?: string | null;
|
|
1648
1670
|
}
|
|
1671
|
+
interface BorderWidths {
|
|
1672
|
+
/** Left border width in pixels. */
|
|
1673
|
+
left?: number | null;
|
|
1674
|
+
/** Right border width in pixels. */
|
|
1675
|
+
right?: number | null;
|
|
1676
|
+
/** Top border width in pixels. */
|
|
1677
|
+
top?: number | null;
|
|
1678
|
+
/** Bottom border width in pixels. */
|
|
1679
|
+
bottom?: number | null;
|
|
1680
|
+
}
|
|
1649
1681
|
/**
|
|
1650
1682
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
1651
1683
|
* `Value` type union.
|
|
@@ -1745,6 +1777,8 @@ interface LayoutData {
|
|
|
1745
1777
|
responsivenessBehaviour?: ResponsivenessBehaviourWithLiterals;
|
|
1746
1778
|
/** Size in pixels when responsiveness_behaviour applies */
|
|
1747
1779
|
responsivenessBreakpoint?: number | null;
|
|
1780
|
+
/** Styling for the layout's container. */
|
|
1781
|
+
containerData?: PluginContainerData;
|
|
1748
1782
|
}
|
|
1749
1783
|
declare enum Scaling {
|
|
1750
1784
|
/** Auto image scaling */
|
|
@@ -2382,5 +2416,65 @@ interface MemberAboutsQueryBuilder {
|
|
|
2382
2416
|
skipTo: (cursor: string) => MemberAboutsQueryBuilder;
|
|
2383
2417
|
find: () => Promise<MemberAboutsQueryResult>;
|
|
2384
2418
|
}
|
|
2419
|
+
/**
|
|
2420
|
+
* @hidden
|
|
2421
|
+
* @fqn wix.members.about.v2.MembersAbout.QueryMemberAbouts
|
|
2422
|
+
* @requiredField query
|
|
2423
|
+
*/
|
|
2424
|
+
declare function typedQueryMemberAbouts(query: MemberAboutQuery): Promise<NonNullablePaths<QueryMemberAboutsResponse, `memberAbouts`, 2>>;
|
|
2425
|
+
interface MemberAboutQuerySpec extends QuerySpec {
|
|
2426
|
+
paging: 'cursor';
|
|
2427
|
+
wql: [
|
|
2428
|
+
{
|
|
2429
|
+
fields: ['_id', 'memberId'];
|
|
2430
|
+
operators: '*';
|
|
2431
|
+
sort: 'NONE';
|
|
2432
|
+
}
|
|
2433
|
+
];
|
|
2434
|
+
}
|
|
2435
|
+
type CommonQueryWithEntityContext = Query<MemberAbout, MemberAboutQuerySpec>;
|
|
2436
|
+
type MemberAboutQuery = {
|
|
2437
|
+
/**
|
|
2438
|
+
Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`.
|
|
2439
|
+
*/
|
|
2440
|
+
cursorPaging?: {
|
|
2441
|
+
/**
|
|
2442
|
+
Number of items to load.
|
|
2443
|
+
@max: 100
|
|
2444
|
+
*/
|
|
2445
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
2446
|
+
/**
|
|
2447
|
+
Pointer to the next or previous page in the list of results.
|
|
2448
|
+
|
|
2449
|
+
You can get the relevant cursor token
|
|
2450
|
+
from the `pagingMetadata` object in the previous call's response.
|
|
2451
|
+
Not relevant for the first request.
|
|
2452
|
+
*/
|
|
2453
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
2454
|
+
};
|
|
2455
|
+
/**
|
|
2456
|
+
Filter object in the following format:
|
|
2457
|
+
`"filter" : {
|
|
2458
|
+
"fieldName1": "value1",
|
|
2459
|
+
"fieldName2":{"$operator":"value2"}
|
|
2460
|
+
}`
|
|
2461
|
+
Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2462
|
+
*/
|
|
2463
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
2464
|
+
/**
|
|
2465
|
+
Sort object in the following format:
|
|
2466
|
+
`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2467
|
+
*/
|
|
2468
|
+
sort?: {
|
|
2469
|
+
/**
|
|
2470
|
+
Name of the field to sort by.
|
|
2471
|
+
*/
|
|
2472
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
2473
|
+
/**
|
|
2474
|
+
Sort order.
|
|
2475
|
+
*/
|
|
2476
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
2477
|
+
}[];
|
|
2478
|
+
};
|
|
2385
2479
|
|
|
2386
|
-
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CreateMemberAboutRequest, type CreateMemberAboutResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteMemberAboutRequest, type DeleteMemberAboutResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type FileData, type FileSource, type FileSourceDataOneOf, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetMemberAboutRequest, type GetMemberAboutResponse, type GetMyMemberAboutRequest, type GetMyMemberAboutResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MemberAbout, type MemberAboutCreatedEnvelope, type MemberAboutDeletedEnvelope, type MemberAboutUpdatedEnvelope, type MemberAboutsQueryBuilder, type MemberAboutsQueryResult, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type QueryMemberAboutsRequest, type QueryMemberAboutsResponse, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UpdateMemberAbout, type UpdateMemberAboutRequest, type UpdateMemberAboutResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, onMemberAboutCreated, onMemberAboutDeleted, onMemberAboutUpdated, queryMemberAbouts, updateMemberAbout };
|
|
2480
|
+
export { type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BorderWidths, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type CreateMemberAboutRequest, type CreateMemberAboutResponse, Crop, type CropWithLiterals, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteMemberAboutRequest, type DeleteMemberAboutResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, type FileData, type FileSource, type FileSourceDataOneOf, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetMemberAboutRequest, type GetMemberAboutResponse, type GetMyMemberAboutRequest, type GetMyMemberAboutResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MemberAbout, type MemberAboutCreatedEnvelope, type MemberAboutDeletedEnvelope, type MemberAboutQuery, type MemberAboutQuerySpec, type MemberAboutUpdatedEnvelope, type MemberAboutsQueryBuilder, type MemberAboutsQueryResult, type MentionData, type MessageEnvelope, type Metadata, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type Option, type OptionDesign, type OptionLayout, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, Position, type PositionWithLiterals, type PricingData, type QueryMemberAboutsRequest, type QueryMemberAboutsResponse, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UpdateMemberAbout, type UpdateMemberAboutRequest, type UpdateMemberAboutResponse, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, createMemberAbout, deleteMemberAbout, getMemberAbout, getMyMemberAbout, onMemberAboutCreated, onMemberAboutDeleted, onMemberAboutUpdated, queryMemberAbouts, typedQueryMemberAbouts, updateMemberAbout };
|
|
@@ -749,6 +749,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
749
749
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
750
750
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
751
751
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
752
|
+
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
752
753
|
return DecorationType2;
|
|
753
754
|
})(DecorationType || {});
|
|
754
755
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -1036,6 +1037,31 @@ function queryMemberAbouts2() {
|
|
|
1036
1037
|
transformationPaths: {}
|
|
1037
1038
|
});
|
|
1038
1039
|
}
|
|
1040
|
+
async function typedQueryMemberAbouts(query) {
|
|
1041
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1042
|
+
const payload = renameKeysFromSDKRequestToRESTRequest({ query }, []);
|
|
1043
|
+
const reqOpts = queryMemberAbouts(payload);
|
|
1044
|
+
sideEffects?.onSiteCall?.();
|
|
1045
|
+
try {
|
|
1046
|
+
const result = await httpClient.request(reqOpts);
|
|
1047
|
+
sideEffects?.onSuccess?.(result);
|
|
1048
|
+
return renameKeysFromRESTResponseToSDKResponse(result.data, [
|
|
1049
|
+
"memberAbouts.content"
|
|
1050
|
+
]);
|
|
1051
|
+
} catch (err) {
|
|
1052
|
+
const transformedError = sdkTransformError(
|
|
1053
|
+
err,
|
|
1054
|
+
{
|
|
1055
|
+
spreadPathsToArguments: {},
|
|
1056
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1057
|
+
singleArgumentUnchanged: false
|
|
1058
|
+
},
|
|
1059
|
+
["query"]
|
|
1060
|
+
);
|
|
1061
|
+
sideEffects?.onError?.(err);
|
|
1062
|
+
throw transformedError;
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1039
1065
|
export {
|
|
1040
1066
|
Alignment,
|
|
1041
1067
|
AppType,
|
|
@@ -1085,6 +1111,7 @@ export {
|
|
|
1085
1111
|
getMemberAbout2 as getMemberAbout,
|
|
1086
1112
|
getMyMemberAbout2 as getMyMemberAbout,
|
|
1087
1113
|
queryMemberAbouts2 as queryMemberAbouts,
|
|
1114
|
+
typedQueryMemberAbouts,
|
|
1088
1115
|
updateMemberAbout2 as updateMemberAbout
|
|
1089
1116
|
};
|
|
1090
1117
|
//# sourceMappingURL=index.typings.mjs.map
|