@schedulin/sdk 0.1.0 → 0.1.1
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/cjs/api/resources/posts/client/Client.d.ts +4 -4
- package/cjs/api/resources/posts/client/Client.js +5 -5
- package/cjs/api/resources/posts/client/requests/{V0PostCountByTabRequest.d.ts → CountByTabPostsRequest.d.ts} +1 -1
- package/cjs/api/resources/posts/client/requests/index.d.ts +1 -1
- package/cjs/api/resources/tags/client/Client.d.ts +1 -3
- package/cjs/api/resources/tags/client/Client.js +1 -3
- package/cjs/api/resources/tags/client/requests/UpdateTagsRequest.d.ts +3 -5
- package/esm/api/resources/posts/client/Client.d.mts +4 -4
- package/esm/api/resources/posts/client/Client.mjs +5 -5
- package/esm/api/resources/posts/client/requests/{V0PostCountByTabRequest.d.mts → CountByTabPostsRequest.d.mts} +1 -1
- package/esm/api/resources/posts/client/requests/index.d.mts +1 -1
- package/esm/api/resources/tags/client/Client.d.mts +1 -3
- package/esm/api/resources/tags/client/Client.mjs +1 -3
- package/esm/api/resources/tags/client/requests/UpdateTagsRequest.d.mts +3 -5
- package/package.json +1 -1
- /package/cjs/api/resources/posts/client/requests/{V0PostCountByTabRequest.js → CountByTabPostsRequest.js} +0 -0
- /package/esm/api/resources/posts/client/requests/{V0PostCountByTabRequest.mjs → CountByTabPostsRequest.mjs} +0 -0
|
@@ -44,17 +44,17 @@ export declare class PostsClient {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns counts of posts for the Queue, Drafts, Approvals, and Sent tabs
|
|
46
46
|
*
|
|
47
|
-
* @param {Schedulin.
|
|
47
|
+
* @param {Schedulin.CountByTabPostsRequest} request
|
|
48
48
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
51
51
|
* @throws {@link Schedulin.InternalServerError}
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
|
-
* await client.posts.
|
|
54
|
+
* await client.posts.countByTab()
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
private
|
|
56
|
+
countByTab(request?: Schedulin.CountByTabPostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
57
|
+
private __countByTab;
|
|
58
58
|
/**
|
|
59
59
|
* Retrieve a single post by its ID with all relations
|
|
60
60
|
*
|
|
@@ -192,19 +192,19 @@ class PostsClient {
|
|
|
192
192
|
/**
|
|
193
193
|
* Returns counts of posts for the Queue, Drafts, Approvals, and Sent tabs
|
|
194
194
|
*
|
|
195
|
-
* @param {Schedulin.
|
|
195
|
+
* @param {Schedulin.CountByTabPostsRequest} request
|
|
196
196
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
197
197
|
*
|
|
198
198
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
199
199
|
* @throws {@link Schedulin.InternalServerError}
|
|
200
200
|
*
|
|
201
201
|
* @example
|
|
202
|
-
* await client.posts.
|
|
202
|
+
* await client.posts.countByTab()
|
|
203
203
|
*/
|
|
204
|
-
|
|
205
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
204
|
+
countByTab(request = {}, requestOptions) {
|
|
205
|
+
return core.HttpResponsePromise.fromPromise(this.__countByTab(request, requestOptions));
|
|
206
206
|
}
|
|
207
|
-
|
|
207
|
+
__countByTab() {
|
|
208
208
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
209
209
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
210
210
|
const { socialAccountIds } = request;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { AnalyticsSeriesPostsRequest } from "./AnalyticsSeriesPostsRequest.js";
|
|
2
2
|
export type { AnalyticsSummaryPostsRequest } from "./AnalyticsSummaryPostsRequest.js";
|
|
3
|
+
export type { CountByTabPostsRequest } from "./CountByTabPostsRequest.js";
|
|
3
4
|
export type { DeletePostsRequest } from "./DeletePostsRequest.js";
|
|
4
5
|
export type { GetJobStatusPostsRequest } from "./GetJobStatusPostsRequest.js";
|
|
5
6
|
export type { ListPostsRequest } from "./ListPostsRequest.js";
|
|
@@ -8,4 +9,3 @@ export type { PublishDraftPostsRequest } from "./PublishDraftPostsRequest.js";
|
|
|
8
9
|
export type { RetrievePostsRequest } from "./RetrievePostsRequest.js";
|
|
9
10
|
export { UpdatePostsRequest } from "./UpdatePostsRequest.js";
|
|
10
11
|
export type { UpdateTagsPostsRequest } from "./UpdateTagsPostsRequest.js";
|
|
11
|
-
export type { V0PostCountByTabRequest } from "./V0PostCountByTabRequest.js";
|
|
@@ -52,9 +52,7 @@ export declare class TagsClient {
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* await client.tags.update({
|
|
55
|
-
* id: "id"
|
|
56
|
-
* name: "name",
|
|
57
|
-
* color: "color"
|
|
55
|
+
* id: "id"
|
|
58
56
|
* })
|
|
59
57
|
*/
|
|
60
58
|
update(request: Schedulin.UpdateTagsRequest, requestOptions?: TagsClient.RequestOptions): core.HttpResponsePromise<Schedulin.Tag>;
|
|
@@ -44,17 +44,17 @@ export declare class PostsClient {
|
|
|
44
44
|
/**
|
|
45
45
|
* Returns counts of posts for the Queue, Drafts, Approvals, and Sent tabs
|
|
46
46
|
*
|
|
47
|
-
* @param {Schedulin.
|
|
47
|
+
* @param {Schedulin.CountByTabPostsRequest} request
|
|
48
48
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
51
51
|
* @throws {@link Schedulin.InternalServerError}
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
|
-
* await client.posts.
|
|
54
|
+
* await client.posts.countByTab()
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
private
|
|
56
|
+
countByTab(request?: Schedulin.CountByTabPostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
57
|
+
private __countByTab;
|
|
58
58
|
/**
|
|
59
59
|
* Retrieve a single post by its ID with all relations
|
|
60
60
|
*
|
|
@@ -156,19 +156,19 @@ export class PostsClient {
|
|
|
156
156
|
/**
|
|
157
157
|
* Returns counts of posts for the Queue, Drafts, Approvals, and Sent tabs
|
|
158
158
|
*
|
|
159
|
-
* @param {Schedulin.
|
|
159
|
+
* @param {Schedulin.CountByTabPostsRequest} request
|
|
160
160
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
161
161
|
*
|
|
162
162
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
163
163
|
* @throws {@link Schedulin.InternalServerError}
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
|
-
* await client.posts.
|
|
166
|
+
* await client.posts.countByTab()
|
|
167
167
|
*/
|
|
168
|
-
|
|
169
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
168
|
+
countByTab(request = {}, requestOptions) {
|
|
169
|
+
return core.HttpResponsePromise.fromPromise(this.__countByTab(request, requestOptions));
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
__countByTab() {
|
|
172
172
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
173
173
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
174
174
|
const { socialAccountIds } = request;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { AnalyticsSeriesPostsRequest } from "./AnalyticsSeriesPostsRequest.mjs";
|
|
2
2
|
export type { AnalyticsSummaryPostsRequest } from "./AnalyticsSummaryPostsRequest.mjs";
|
|
3
|
+
export type { CountByTabPostsRequest } from "./CountByTabPostsRequest.mjs";
|
|
3
4
|
export type { DeletePostsRequest } from "./DeletePostsRequest.mjs";
|
|
4
5
|
export type { GetJobStatusPostsRequest } from "./GetJobStatusPostsRequest.mjs";
|
|
5
6
|
export type { ListPostsRequest } from "./ListPostsRequest.mjs";
|
|
@@ -8,4 +9,3 @@ export type { PublishDraftPostsRequest } from "./PublishDraftPostsRequest.mjs";
|
|
|
8
9
|
export type { RetrievePostsRequest } from "./RetrievePostsRequest.mjs";
|
|
9
10
|
export { UpdatePostsRequest } from "./UpdatePostsRequest.mjs";
|
|
10
11
|
export type { UpdateTagsPostsRequest } from "./UpdateTagsPostsRequest.mjs";
|
|
11
|
-
export type { V0PostCountByTabRequest } from "./V0PostCountByTabRequest.mjs";
|
|
@@ -52,9 +52,7 @@ export declare class TagsClient {
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* await client.tags.update({
|
|
55
|
-
* id: "id"
|
|
56
|
-
* name: "name",
|
|
57
|
-
* color: "color"
|
|
55
|
+
* id: "id"
|
|
58
56
|
* })
|
|
59
57
|
*/
|
|
60
58
|
update(request: Schedulin.UpdateTagsRequest, requestOptions?: TagsClient.RequestOptions): core.HttpResponsePromise<Schedulin.Tag>;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|