@wix/auto_sdk_members_members-about 1.0.40 → 1.0.42
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 +53 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +108 -4
- package/build/cjs/index.typings.js +35 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -3
- package/build/cjs/meta.js +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +8 -21
- package/build/es/index.mjs +52 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +108 -4
- package/build/es/index.typings.mjs +33 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -3
- package/build/es/meta.mjs +7 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +8 -21
- package/build/internal/cjs/index.js +53 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +108 -4
- package/build/internal/cjs/index.typings.js +35 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -3
- package/build/internal/cjs/meta.js +8 -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 +52 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +108 -4
- package/build/internal/es/index.typings.mjs +33 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -3
- package/build/internal/es/meta.mjs +7 -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,10 @@ 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;
|
|
1782
|
+
/** Defines where selected design propertied applies to */
|
|
1783
|
+
designTarget?: DesignTargetWithLiterals;
|
|
1748
1784
|
}
|
|
1749
1785
|
declare enum Scaling {
|
|
1750
1786
|
/** Auto image scaling */
|
|
@@ -1806,6 +1842,14 @@ declare enum ResponsivenessBehaviour {
|
|
|
1806
1842
|
}
|
|
1807
1843
|
/** @enumType */
|
|
1808
1844
|
type ResponsivenessBehaviourWithLiterals = ResponsivenessBehaviour | 'STACK' | 'WRAP';
|
|
1845
|
+
declare enum DesignTarget {
|
|
1846
|
+
/** Design applied to layout */
|
|
1847
|
+
LAYOUT = "LAYOUT",
|
|
1848
|
+
/** Design applied to cells */
|
|
1849
|
+
CELL = "CELL"
|
|
1850
|
+
}
|
|
1851
|
+
/** @enumType */
|
|
1852
|
+
type DesignTargetWithLiterals = DesignTarget | 'LAYOUT' | 'CELL';
|
|
1809
1853
|
interface LayoutCellData {
|
|
1810
1854
|
/** Size of the cell in 12 columns grid. */
|
|
1811
1855
|
colSpan?: number | null;
|
|
@@ -2382,5 +2426,65 @@ interface MemberAboutsQueryBuilder {
|
|
|
2382
2426
|
skipTo: (cursor: string) => MemberAboutsQueryBuilder;
|
|
2383
2427
|
find: () => Promise<MemberAboutsQueryResult>;
|
|
2384
2428
|
}
|
|
2429
|
+
/**
|
|
2430
|
+
* @hidden
|
|
2431
|
+
* @fqn wix.members.about.v2.MembersAbout.QueryMemberAbouts
|
|
2432
|
+
* @requiredField query
|
|
2433
|
+
*/
|
|
2434
|
+
declare function typedQueryMemberAbouts(query: MemberAboutQuery): Promise<NonNullablePaths<QueryMemberAboutsResponse, `memberAbouts`, 2>>;
|
|
2435
|
+
interface MemberAboutQuerySpec extends QuerySpec {
|
|
2436
|
+
paging: 'cursor';
|
|
2437
|
+
wql: [
|
|
2438
|
+
{
|
|
2439
|
+
fields: ['_id', 'memberId'];
|
|
2440
|
+
operators: '*';
|
|
2441
|
+
sort: 'NONE';
|
|
2442
|
+
}
|
|
2443
|
+
];
|
|
2444
|
+
}
|
|
2445
|
+
type CommonQueryWithEntityContext = Query<MemberAbout, MemberAboutQuerySpec>;
|
|
2446
|
+
type MemberAboutQuery = {
|
|
2447
|
+
/**
|
|
2448
|
+
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`.
|
|
2449
|
+
*/
|
|
2450
|
+
cursorPaging?: {
|
|
2451
|
+
/**
|
|
2452
|
+
Number of items to load.
|
|
2453
|
+
@max: 100
|
|
2454
|
+
*/
|
|
2455
|
+
limit?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['limit'] | null;
|
|
2456
|
+
/**
|
|
2457
|
+
Pointer to the next or previous page in the list of results.
|
|
2458
|
+
|
|
2459
|
+
You can get the relevant cursor token
|
|
2460
|
+
from the `pagingMetadata` object in the previous call's response.
|
|
2461
|
+
Not relevant for the first request.
|
|
2462
|
+
*/
|
|
2463
|
+
cursor?: NonNullable<CommonQueryWithEntityContext['cursorPaging']>['cursor'] | null;
|
|
2464
|
+
};
|
|
2465
|
+
/**
|
|
2466
|
+
Filter object in the following format:
|
|
2467
|
+
`"filter" : {
|
|
2468
|
+
"fieldName1": "value1",
|
|
2469
|
+
"fieldName2":{"$operator":"value2"}
|
|
2470
|
+
}`
|
|
2471
|
+
Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2472
|
+
*/
|
|
2473
|
+
filter?: CommonQueryWithEntityContext['filter'] | null;
|
|
2474
|
+
/**
|
|
2475
|
+
Sort object in the following format:
|
|
2476
|
+
`[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2477
|
+
*/
|
|
2478
|
+
sort?: {
|
|
2479
|
+
/**
|
|
2480
|
+
Name of the field to sort by.
|
|
2481
|
+
*/
|
|
2482
|
+
fieldName?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['fieldName'];
|
|
2483
|
+
/**
|
|
2484
|
+
Sort order.
|
|
2485
|
+
*/
|
|
2486
|
+
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
2487
|
+
}[];
|
|
2488
|
+
};
|
|
2385
2489
|
|
|
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 };
|
|
2490
|
+
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, DesignTarget, type DesignTargetWithLiterals, 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 };
|
|
@@ -27,6 +27,7 @@ __export(index_typings_exports, {
|
|
|
27
27
|
ButtonDataType: () => ButtonDataType,
|
|
28
28
|
Crop: () => Crop,
|
|
29
29
|
DecorationType: () => DecorationType,
|
|
30
|
+
DesignTarget: () => DesignTarget,
|
|
30
31
|
Direction: () => Direction,
|
|
31
32
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
32
33
|
FontType: () => FontType,
|
|
@@ -68,6 +69,7 @@ __export(index_typings_exports, {
|
|
|
68
69
|
getMemberAbout: () => getMemberAbout2,
|
|
69
70
|
getMyMemberAbout: () => getMyMemberAbout2,
|
|
70
71
|
queryMemberAbouts: () => queryMemberAbouts2,
|
|
72
|
+
typedQueryMemberAbouts: () => typedQueryMemberAbouts,
|
|
71
73
|
updateMemberAbout: () => updateMemberAbout2
|
|
72
74
|
});
|
|
73
75
|
module.exports = __toCommonJS(index_typings_exports);
|
|
@@ -820,6 +822,7 @@ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
|
|
|
820
822
|
DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
821
823
|
DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
822
824
|
DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
|
|
825
|
+
DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
|
|
823
826
|
return DecorationType2;
|
|
824
827
|
})(DecorationType || {});
|
|
825
828
|
var FontType = /* @__PURE__ */ ((FontType2) => {
|
|
@@ -920,6 +923,11 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
920
923
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
921
924
|
return ResponsivenessBehaviour2;
|
|
922
925
|
})(ResponsivenessBehaviour || {});
|
|
926
|
+
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
927
|
+
DesignTarget2["LAYOUT"] = "LAYOUT";
|
|
928
|
+
DesignTarget2["CELL"] = "CELL";
|
|
929
|
+
return DesignTarget2;
|
|
930
|
+
})(DesignTarget || {});
|
|
923
931
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
924
932
|
SortOrder2["ASC"] = "ASC";
|
|
925
933
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -1107,6 +1115,31 @@ function queryMemberAbouts2() {
|
|
|
1107
1115
|
transformationPaths: {}
|
|
1108
1116
|
});
|
|
1109
1117
|
}
|
|
1118
|
+
async function typedQueryMemberAbouts(query) {
|
|
1119
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
1120
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({ query }, []);
|
|
1121
|
+
const reqOpts = queryMemberAbouts(payload);
|
|
1122
|
+
sideEffects?.onSiteCall?.();
|
|
1123
|
+
try {
|
|
1124
|
+
const result = await httpClient.request(reqOpts);
|
|
1125
|
+
sideEffects?.onSuccess?.(result);
|
|
1126
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data, [
|
|
1127
|
+
"memberAbouts.content"
|
|
1128
|
+
]);
|
|
1129
|
+
} catch (err) {
|
|
1130
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
1131
|
+
err,
|
|
1132
|
+
{
|
|
1133
|
+
spreadPathsToArguments: {},
|
|
1134
|
+
explicitPathsToArguments: { query: "$[0]" },
|
|
1135
|
+
singleArgumentUnchanged: false
|
|
1136
|
+
},
|
|
1137
|
+
["query"]
|
|
1138
|
+
);
|
|
1139
|
+
sideEffects?.onError?.(err);
|
|
1140
|
+
throw transformedError;
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1110
1143
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1111
1144
|
0 && (module.exports = {
|
|
1112
1145
|
Alignment,
|
|
@@ -1116,6 +1149,7 @@ function queryMemberAbouts2() {
|
|
|
1116
1149
|
ButtonDataType,
|
|
1117
1150
|
Crop,
|
|
1118
1151
|
DecorationType,
|
|
1152
|
+
DesignTarget,
|
|
1119
1153
|
Direction,
|
|
1120
1154
|
DividerDataAlignment,
|
|
1121
1155
|
FontType,
|
|
@@ -1157,6 +1191,7 @@ function queryMemberAbouts2() {
|
|
|
1157
1191
|
getMemberAbout,
|
|
1158
1192
|
getMyMemberAbout,
|
|
1159
1193
|
queryMemberAbouts,
|
|
1194
|
+
typedQueryMemberAbouts,
|
|
1160
1195
|
updateMemberAbout
|
|
1161
1196
|
});
|
|
1162
1197
|
//# sourceMappingURL=index.typings.js.map
|