@zernio/node 0.2.856 → 0.2.858
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/dist/index.d.mts +17 -3
- package/dist/index.d.ts +17 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +17 -3
package/dist/index.d.mts
CHANGED
|
@@ -4371,7 +4371,7 @@ type CommentAutomationFollowGate = {
|
|
|
4371
4371
|
*/
|
|
4372
4372
|
buttonLabel?: string;
|
|
4373
4373
|
/**
|
|
4374
|
-
* Sent to a commenter we know does not follow (followerStatus=follower). Omit to stay silent on a keyword comment; a confirm tap always gets an answer.
|
|
4374
|
+
* Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
|
|
4375
4375
|
*/
|
|
4376
4376
|
notFollowingMessage?: string;
|
|
4377
4377
|
};
|
|
@@ -15108,18 +15108,28 @@ type ListPostsData = {
|
|
|
15108
15108
|
*/
|
|
15109
15109
|
createdBy?: string;
|
|
15110
15110
|
/**
|
|
15111
|
-
*
|
|
15111
|
+
* Alias of fromDate, kept for existing callers
|
|
15112
|
+
* @deprecated
|
|
15112
15113
|
*/
|
|
15113
15114
|
dateFrom?: string;
|
|
15114
15115
|
/**
|
|
15115
|
-
*
|
|
15116
|
+
* Alias of toDate, kept for existing callers
|
|
15117
|
+
* @deprecated
|
|
15116
15118
|
*/
|
|
15117
15119
|
dateTo?: string;
|
|
15120
|
+
/**
|
|
15121
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
15122
|
+
*/
|
|
15123
|
+
fromDate?: string;
|
|
15118
15124
|
includeHidden?: boolean;
|
|
15119
15125
|
/**
|
|
15120
15126
|
* Page size. Values above the maximum return 400 rather than being clamped.
|
|
15121
15127
|
*/
|
|
15122
15128
|
limit?: number;
|
|
15129
|
+
/**
|
|
15130
|
+
* Row offset. Takes precedence over page when both are sent; the response pagination.page is derived from it.
|
|
15131
|
+
*/
|
|
15132
|
+
offset?: number;
|
|
15123
15133
|
/**
|
|
15124
15134
|
* Page number (1-based)
|
|
15125
15135
|
*/
|
|
@@ -15142,6 +15152,10 @@ type ListPostsData = {
|
|
|
15142
15152
|
*/
|
|
15143
15153
|
source?: 'zernio' | 'external';
|
|
15144
15154
|
status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
|
|
15155
|
+
/**
|
|
15156
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
15157
|
+
*/
|
|
15158
|
+
toDate?: string;
|
|
15145
15159
|
};
|
|
15146
15160
|
};
|
|
15147
15161
|
type ListPostsResponse = (PostsListResponse);
|
package/dist/index.d.ts
CHANGED
|
@@ -4371,7 +4371,7 @@ type CommentAutomationFollowGate = {
|
|
|
4371
4371
|
*/
|
|
4372
4372
|
buttonLabel?: string;
|
|
4373
4373
|
/**
|
|
4374
|
-
* Sent to a commenter we know does not follow (followerStatus=follower). Omit to stay silent on a keyword comment; a confirm tap always gets an answer.
|
|
4374
|
+
* Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
|
|
4375
4375
|
*/
|
|
4376
4376
|
notFollowingMessage?: string;
|
|
4377
4377
|
};
|
|
@@ -15108,18 +15108,28 @@ type ListPostsData = {
|
|
|
15108
15108
|
*/
|
|
15109
15109
|
createdBy?: string;
|
|
15110
15110
|
/**
|
|
15111
|
-
*
|
|
15111
|
+
* Alias of fromDate, kept for existing callers
|
|
15112
|
+
* @deprecated
|
|
15112
15113
|
*/
|
|
15113
15114
|
dateFrom?: string;
|
|
15114
15115
|
/**
|
|
15115
|
-
*
|
|
15116
|
+
* Alias of toDate, kept for existing callers
|
|
15117
|
+
* @deprecated
|
|
15116
15118
|
*/
|
|
15117
15119
|
dateTo?: string;
|
|
15120
|
+
/**
|
|
15121
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
15122
|
+
*/
|
|
15123
|
+
fromDate?: string;
|
|
15118
15124
|
includeHidden?: boolean;
|
|
15119
15125
|
/**
|
|
15120
15126
|
* Page size. Values above the maximum return 400 rather than being clamped.
|
|
15121
15127
|
*/
|
|
15122
15128
|
limit?: number;
|
|
15129
|
+
/**
|
|
15130
|
+
* Row offset. Takes precedence over page when both are sent; the response pagination.page is derived from it.
|
|
15131
|
+
*/
|
|
15132
|
+
offset?: number;
|
|
15123
15133
|
/**
|
|
15124
15134
|
* Page number (1-based)
|
|
15125
15135
|
*/
|
|
@@ -15142,6 +15152,10 @@ type ListPostsData = {
|
|
|
15142
15152
|
*/
|
|
15143
15153
|
source?: 'zernio' | 'external';
|
|
15144
15154
|
status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
|
|
15155
|
+
/**
|
|
15156
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
15157
|
+
*/
|
|
15158
|
+
toDate?: string;
|
|
15145
15159
|
};
|
|
15146
15160
|
};
|
|
15147
15161
|
type ListPostsResponse = (PostsListResponse);
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.858",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.858",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -870,7 +870,7 @@ export const getSmsUsage = <ThrowOnError extends boolean = false>(options?: Opti
|
|
|
870
870
|
|
|
871
871
|
/**
|
|
872
872
|
* List posts
|
|
873
|
-
* Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform.
|
|
873
|
+
* Returns a paginated list of posts. Published posts include platformPostUrl with the public URL on each platform. A query parameter that is not listed here returns 400 naming it and the accepted parameters, so a misspelled filter never silently returns the unfiltered list.
|
|
874
874
|
*/
|
|
875
875
|
export const listPosts = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListPostsData, ThrowOnError>) => {
|
|
876
876
|
return (options?.client ?? client).get<ListPostsResponse, ListPostsError, ThrowOnError>({
|
|
@@ -2800,7 +2800,7 @@ export type CommentAutomationFollowGate = {
|
|
|
2800
2800
|
*/
|
|
2801
2801
|
buttonLabel?: string;
|
|
2802
2802
|
/**
|
|
2803
|
-
* Sent to a commenter we know does not follow (followerStatus=follower). Omit to stay silent on a keyword comment; a confirm tap always gets an answer.
|
|
2803
|
+
* Sent to a commenter we know does not follow (followerStatus=follower), and after a confirm tap that does not unlock the DM. When following is what would unlock it, the message carries the confirm button so they can re-check once they follow; above 640 characters it goes out as plain text without the button. Omit to stay silent on a keyword comment; a confirm tap always gets an answer (a default message is used).
|
|
2804
2804
|
*/
|
|
2805
2805
|
notFollowingMessage?: string;
|
|
2806
2806
|
};
|
|
@@ -14038,18 +14038,28 @@ export type ListPostsData = {
|
|
|
14038
14038
|
*/
|
|
14039
14039
|
createdBy?: string;
|
|
14040
14040
|
/**
|
|
14041
|
-
*
|
|
14041
|
+
* Alias of fromDate, kept for existing callers
|
|
14042
|
+
* @deprecated
|
|
14042
14043
|
*/
|
|
14043
14044
|
dateFrom?: string;
|
|
14044
14045
|
/**
|
|
14045
|
-
*
|
|
14046
|
+
* Alias of toDate, kept for existing callers
|
|
14047
|
+
* @deprecated
|
|
14046
14048
|
*/
|
|
14047
14049
|
dateTo?: string;
|
|
14050
|
+
/**
|
|
14051
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
14052
|
+
*/
|
|
14053
|
+
fromDate?: string;
|
|
14048
14054
|
includeHidden?: boolean;
|
|
14049
14055
|
/**
|
|
14050
14056
|
* Page size. Values above the maximum return 400 rather than being clamped.
|
|
14051
14057
|
*/
|
|
14052
14058
|
limit?: number;
|
|
14059
|
+
/**
|
|
14060
|
+
* Row offset. Takes precedence over page when both are sent; the response pagination.page is derived from it.
|
|
14061
|
+
*/
|
|
14062
|
+
offset?: number;
|
|
14053
14063
|
/**
|
|
14054
14064
|
* Page number (1-based)
|
|
14055
14065
|
*/
|
|
@@ -14072,6 +14082,10 @@ export type ListPostsData = {
|
|
|
14072
14082
|
*/
|
|
14073
14083
|
source?: 'zernio' | 'external';
|
|
14074
14084
|
status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
|
|
14085
|
+
/**
|
|
14086
|
+
* Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
|
|
14087
|
+
*/
|
|
14088
|
+
toDate?: string;
|
|
14075
14089
|
};
|
|
14076
14090
|
};
|
|
14077
14091
|
|