@schedulin/sdk 0.3.1 → 0.4.0
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/errors/BadRequestError.d.ts +7 -0
- package/cjs/api/errors/BadRequestError.js +54 -0
- package/cjs/api/errors/ConflictError.d.ts +7 -0
- package/cjs/api/errors/ConflictError.js +54 -0
- package/cjs/api/errors/ForbiddenError.d.ts +7 -0
- package/cjs/api/errors/ForbiddenError.js +54 -0
- package/cjs/api/errors/NotFoundError.d.ts +7 -0
- package/cjs/api/errors/NotFoundError.js +54 -0
- package/cjs/api/errors/PaymentRequiredError.d.ts +7 -0
- package/cjs/api/errors/PaymentRequiredError.js +54 -0
- package/cjs/api/errors/TooManyRequestsError.d.ts +7 -0
- package/cjs/api/errors/TooManyRequestsError.js +54 -0
- package/cjs/api/errors/UnprocessableEntityError.d.ts +7 -0
- package/cjs/api/errors/UnprocessableEntityError.js +54 -0
- package/cjs/api/errors/index.d.ts +7 -0
- package/cjs/api/errors/index.js +7 -0
- package/cjs/api/resources/ai/client/Client.d.ts +11 -2
- package/cjs/api/resources/ai/client/Client.js +27 -0
- package/cjs/api/resources/ai/index.d.ts +1 -0
- package/cjs/api/resources/ai/index.js +1 -0
- package/cjs/api/resources/ai/types/GenerateImageAiResponse.d.ts +3 -0
- package/cjs/api/resources/ai/types/GenerateImageAiResponse.js +3 -0
- package/cjs/api/resources/ai/types/index.d.ts +1 -0
- package/cjs/api/resources/ai/types/index.js +17 -0
- package/cjs/api/resources/index.d.ts +2 -0
- package/cjs/api/resources/index.js +2 -0
- package/cjs/api/resources/media/client/Client.d.ts +58 -8
- package/cjs/api/resources/media/client/Client.js +158 -3
- package/cjs/api/resources/media/client/requests/UpdateMediaRequest.d.ts +2 -3
- package/cjs/api/resources/media/types/CreateUploadLinkMediaResponse.d.ts +4 -0
- package/cjs/api/resources/media/types/CreateUploadLinkMediaResponse.js +3 -0
- package/cjs/api/resources/media/types/DeleteMediaResponse.d.ts +4 -0
- package/cjs/api/resources/media/types/DeleteMediaResponse.js +3 -0
- package/cjs/api/resources/media/types/SetTagsMediaResponse.d.ts +4 -0
- package/cjs/api/resources/media/types/SetTagsMediaResponse.js +3 -0
- package/cjs/api/resources/media/types/index.d.ts +3 -0
- package/cjs/api/resources/media/types/index.js +3 -0
- package/cjs/api/resources/platforms/client/Client.d.ts +4 -0
- package/cjs/api/resources/platforms/client/Client.js +12 -0
- package/cjs/api/resources/posts/client/Client.d.ts +56 -1
- package/cjs/api/resources/posts/client/Client.js +165 -0
- package/cjs/api/resources/posts/types/CountByTabPostsResponse.d.ts +7 -0
- package/cjs/api/resources/posts/types/CountByTabPostsResponse.js +3 -0
- package/cjs/api/resources/posts/types/CreatePostsResponse.d.ts +1 -0
- package/cjs/api/resources/posts/types/index.d.ts +1 -0
- package/cjs/api/resources/posts/types/index.js +1 -0
- package/cjs/api/resources/socialAccounts/client/Client.d.ts +57 -0
- package/cjs/api/resources/socialAccounts/client/Client.js +171 -0
- package/cjs/api/resources/tags/client/Client.d.ts +21 -0
- package/cjs/api/resources/tags/client/Client.js +63 -0
- package/cjs/api/resources/webhooks/client/Client.d.ts +51 -8
- package/cjs/api/resources/webhooks/client/Client.js +133 -1
- package/cjs/api/resources/webhooks/index.d.ts +1 -0
- package/cjs/api/resources/webhooks/index.js +1 -0
- package/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.d.ts +3 -0
- package/cjs/api/resources/webhooks/types/DeleteWebhooksResponse.js +3 -0
- package/cjs/api/resources/webhooks/types/ListDeliveriesWebhooksResponse.d.ts +4 -0
- package/cjs/api/resources/webhooks/types/ListDeliveriesWebhooksResponse.js +3 -0
- package/cjs/api/resources/webhooks/types/ListWebhooksResponse.d.ts +4 -0
- package/cjs/api/resources/webhooks/types/ListWebhooksResponse.js +3 -0
- package/cjs/api/resources/webhooks/types/TestWebhooksResponse.d.ts +3 -0
- package/cjs/api/resources/webhooks/types/TestWebhooksResponse.js +3 -0
- package/cjs/api/resources/webhooks/types/index.d.ts +4 -0
- package/cjs/api/resources/webhooks/types/index.js +20 -0
- package/cjs/api/types/AiGeneration.d.ts +27 -0
- package/cjs/api/types/AiGeneration.js +14 -0
- package/cjs/api/types/ErrorResponse.d.ts +14 -2
- package/cjs/api/types/Media.d.ts +4 -0
- package/cjs/api/types/MediaUpdate.d.ts +1 -1
- package/cjs/api/types/Post.d.ts +3 -0
- package/cjs/api/types/PostMedia.d.ts +14 -0
- package/cjs/api/types/PostMedia.js +3 -0
- package/cjs/api/types/PostWithRelations.d.ts +5 -68
- package/cjs/api/types/PostWithRelations.js +0 -54
- package/cjs/api/types/RateLimitErrorResponse.d.ts +17 -0
- package/cjs/api/types/RateLimitErrorResponse.js +3 -0
- package/cjs/api/types/ValidationErrorResponse.d.ts +17 -0
- package/cjs/api/types/ValidationErrorResponse.js +3 -0
- package/cjs/api/types/WebhookDelivery.d.ts +20 -0
- package/cjs/api/types/WebhookDelivery.js +12 -0
- package/cjs/api/types/WebhookEndpoint.d.ts +26 -0
- package/cjs/api/types/WebhookEndpoint.js +16 -0
- package/cjs/api/types/index.d.ts +6 -0
- package/cjs/api/types/index.js +6 -0
- package/esm/api/errors/BadRequestError.d.mts +7 -0
- package/esm/api/errors/BadRequestError.mjs +17 -0
- package/esm/api/errors/ConflictError.d.mts +7 -0
- package/esm/api/errors/ConflictError.mjs +17 -0
- package/esm/api/errors/ForbiddenError.d.mts +7 -0
- package/esm/api/errors/ForbiddenError.mjs +17 -0
- package/esm/api/errors/NotFoundError.d.mts +7 -0
- package/esm/api/errors/NotFoundError.mjs +17 -0
- package/esm/api/errors/PaymentRequiredError.d.mts +7 -0
- package/esm/api/errors/PaymentRequiredError.mjs +17 -0
- package/esm/api/errors/TooManyRequestsError.d.mts +7 -0
- package/esm/api/errors/TooManyRequestsError.mjs +17 -0
- package/esm/api/errors/UnprocessableEntityError.d.mts +7 -0
- package/esm/api/errors/UnprocessableEntityError.mjs +17 -0
- package/esm/api/errors/index.d.mts +7 -0
- package/esm/api/errors/index.mjs +7 -0
- package/esm/api/resources/ai/client/Client.d.mts +11 -2
- package/esm/api/resources/ai/client/Client.mjs +27 -0
- package/esm/api/resources/ai/index.d.mts +1 -0
- package/esm/api/resources/ai/index.mjs +1 -0
- package/esm/api/resources/ai/types/GenerateImageAiResponse.d.mts +3 -0
- package/esm/api/resources/ai/types/GenerateImageAiResponse.mjs +2 -0
- package/esm/api/resources/ai/types/index.d.mts +1 -0
- package/esm/api/resources/ai/types/index.mjs +1 -0
- package/esm/api/resources/index.d.mts +2 -0
- package/esm/api/resources/index.mjs +2 -0
- package/esm/api/resources/media/client/Client.d.mts +58 -8
- package/esm/api/resources/media/client/Client.mjs +158 -3
- package/esm/api/resources/media/client/requests/UpdateMediaRequest.d.mts +2 -3
- package/esm/api/resources/media/types/CreateUploadLinkMediaResponse.d.mts +4 -0
- package/esm/api/resources/media/types/CreateUploadLinkMediaResponse.mjs +2 -0
- package/esm/api/resources/media/types/DeleteMediaResponse.d.mts +4 -0
- package/esm/api/resources/media/types/DeleteMediaResponse.mjs +2 -0
- package/esm/api/resources/media/types/SetTagsMediaResponse.d.mts +4 -0
- package/esm/api/resources/media/types/SetTagsMediaResponse.mjs +2 -0
- package/esm/api/resources/media/types/index.d.mts +3 -0
- package/esm/api/resources/media/types/index.mjs +3 -0
- package/esm/api/resources/platforms/client/Client.d.mts +4 -0
- package/esm/api/resources/platforms/client/Client.mjs +12 -0
- package/esm/api/resources/posts/client/Client.d.mts +56 -1
- package/esm/api/resources/posts/client/Client.mjs +165 -0
- package/esm/api/resources/posts/types/CountByTabPostsResponse.d.mts +7 -0
- package/esm/api/resources/posts/types/CountByTabPostsResponse.mjs +2 -0
- package/esm/api/resources/posts/types/CreatePostsResponse.d.mts +1 -0
- package/esm/api/resources/posts/types/index.d.mts +1 -0
- package/esm/api/resources/posts/types/index.mjs +1 -0
- package/esm/api/resources/socialAccounts/client/Client.d.mts +57 -0
- package/esm/api/resources/socialAccounts/client/Client.mjs +171 -0
- package/esm/api/resources/tags/client/Client.d.mts +21 -0
- package/esm/api/resources/tags/client/Client.mjs +63 -0
- package/esm/api/resources/webhooks/client/Client.d.mts +51 -8
- package/esm/api/resources/webhooks/client/Client.mjs +133 -1
- package/esm/api/resources/webhooks/index.d.mts +1 -0
- package/esm/api/resources/webhooks/index.mjs +1 -0
- package/esm/api/resources/webhooks/types/DeleteWebhooksResponse.d.mts +3 -0
- package/esm/api/resources/webhooks/types/DeleteWebhooksResponse.mjs +2 -0
- package/esm/api/resources/webhooks/types/ListDeliveriesWebhooksResponse.d.mts +4 -0
- package/esm/api/resources/webhooks/types/ListDeliveriesWebhooksResponse.mjs +2 -0
- package/esm/api/resources/webhooks/types/ListWebhooksResponse.d.mts +4 -0
- package/esm/api/resources/webhooks/types/ListWebhooksResponse.mjs +2 -0
- package/esm/api/resources/webhooks/types/TestWebhooksResponse.d.mts +3 -0
- package/esm/api/resources/webhooks/types/TestWebhooksResponse.mjs +2 -0
- package/esm/api/resources/webhooks/types/index.d.mts +4 -0
- package/esm/api/resources/webhooks/types/index.mjs +4 -0
- package/esm/api/types/AiGeneration.d.mts +27 -0
- package/esm/api/types/AiGeneration.mjs +11 -0
- package/esm/api/types/ErrorResponse.d.mts +14 -2
- package/esm/api/types/Media.d.mts +4 -0
- package/esm/api/types/MediaUpdate.d.mts +1 -1
- package/esm/api/types/Post.d.mts +3 -0
- package/esm/api/types/PostMedia.d.mts +14 -0
- package/esm/api/types/PostMedia.mjs +2 -0
- package/esm/api/types/PostWithRelations.d.mts +5 -68
- package/esm/api/types/PostWithRelations.mjs +1 -53
- package/esm/api/types/RateLimitErrorResponse.d.mts +17 -0
- package/esm/api/types/RateLimitErrorResponse.mjs +2 -0
- package/esm/api/types/ValidationErrorResponse.d.mts +17 -0
- package/esm/api/types/ValidationErrorResponse.mjs +2 -0
- package/esm/api/types/WebhookDelivery.d.mts +20 -0
- package/esm/api/types/WebhookDelivery.mjs +9 -0
- package/esm/api/types/WebhookEndpoint.d.mts +26 -0
- package/esm/api/types/WebhookEndpoint.mjs +13 -0
- package/esm/api/types/index.d.mts +6 -0
- package/esm/api/types/index.mjs +6 -0
- package/package.json +1 -1
|
@@ -16,7 +16,11 @@ export declare class PostsClient {
|
|
|
16
16
|
* @param {Schedulin.ListPostsRequest} request
|
|
17
17
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
18
|
*
|
|
19
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
19
20
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
21
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
22
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
23
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
20
24
|
* @throws {@link Schedulin.InternalServerError}
|
|
21
25
|
* @throws {@link errors.SchedulinError}
|
|
22
26
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -32,7 +36,13 @@ export declare class PostsClient {
|
|
|
32
36
|
* @param {Schedulin.PostCreate} request
|
|
33
37
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
38
|
*
|
|
39
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
35
40
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
41
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
42
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
43
|
+
* @throws {@link Schedulin.ConflictError}
|
|
44
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
45
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
36
46
|
* @throws {@link Schedulin.InternalServerError}
|
|
37
47
|
* @throws {@link errors.SchedulinError}
|
|
38
48
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -51,7 +61,11 @@ export declare class PostsClient {
|
|
|
51
61
|
* @param {Schedulin.CountByTabPostsRequest} request
|
|
52
62
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
63
|
*
|
|
64
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
54
65
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
66
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
67
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
68
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
55
69
|
* @throws {@link Schedulin.InternalServerError}
|
|
56
70
|
* @throws {@link errors.SchedulinError}
|
|
57
71
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -59,7 +73,7 @@ export declare class PostsClient {
|
|
|
59
73
|
* @example
|
|
60
74
|
* await client.posts.countByTab()
|
|
61
75
|
*/
|
|
62
|
-
countByTab(request?: Schedulin.CountByTabPostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<
|
|
76
|
+
countByTab(request?: Schedulin.CountByTabPostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Schedulin.CountByTabPostsResponse>;
|
|
63
77
|
private __countByTab;
|
|
64
78
|
/**
|
|
65
79
|
* Retrieve a single post by its ID with all relations
|
|
@@ -67,7 +81,12 @@ export declare class PostsClient {
|
|
|
67
81
|
* @param {Schedulin.RetrievePostsRequest} request
|
|
68
82
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
83
|
*
|
|
84
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
70
85
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
86
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
87
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
88
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
89
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
71
90
|
* @throws {@link Schedulin.InternalServerError}
|
|
72
91
|
* @throws {@link errors.SchedulinError}
|
|
73
92
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -85,7 +104,14 @@ export declare class PostsClient {
|
|
|
85
104
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
86
105
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
106
|
*
|
|
107
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
88
108
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
109
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
110
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
111
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
112
|
+
* @throws {@link Schedulin.ConflictError}
|
|
113
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
114
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
89
115
|
* @throws {@link Schedulin.InternalServerError}
|
|
90
116
|
* @throws {@link errors.SchedulinError}
|
|
91
117
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -103,7 +129,13 @@ export declare class PostsClient {
|
|
|
103
129
|
* @param {Schedulin.DeletePostsRequest} request
|
|
104
130
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
105
131
|
*
|
|
132
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
106
133
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
134
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
135
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
136
|
+
* @throws {@link Schedulin.ConflictError}
|
|
137
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
138
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
107
139
|
* @throws {@link Schedulin.InternalServerError}
|
|
108
140
|
* @throws {@link errors.SchedulinError}
|
|
109
141
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -121,7 +153,12 @@ export declare class PostsClient {
|
|
|
121
153
|
* @param {Schedulin.AnalyticsSummaryPostsRequest} request
|
|
122
154
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
123
155
|
*
|
|
156
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
124
157
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
158
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
159
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
160
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
161
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
125
162
|
* @throws {@link Schedulin.InternalServerError}
|
|
126
163
|
* @throws {@link errors.SchedulinError}
|
|
127
164
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -139,7 +176,12 @@ export declare class PostsClient {
|
|
|
139
176
|
* @param {Schedulin.AnalyticsSeriesPostsRequest} request
|
|
140
177
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
178
|
*
|
|
179
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
142
180
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
181
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
182
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
183
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
184
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
143
185
|
* @throws {@link Schedulin.InternalServerError}
|
|
144
186
|
* @throws {@link errors.SchedulinError}
|
|
145
187
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -157,7 +199,14 @@ export declare class PostsClient {
|
|
|
157
199
|
* @param {Schedulin.PublishDraftPostsRequest} request
|
|
158
200
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
159
201
|
*
|
|
202
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
160
203
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
204
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
205
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
206
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
207
|
+
* @throws {@link Schedulin.ConflictError}
|
|
208
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
209
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
161
210
|
* @throws {@link Schedulin.InternalServerError}
|
|
162
211
|
* @throws {@link errors.SchedulinError}
|
|
163
212
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -175,7 +224,13 @@ export declare class PostsClient {
|
|
|
175
224
|
* @param {Schedulin.UpdateTagsPostsRequest} request
|
|
176
225
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
177
226
|
*
|
|
227
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
178
228
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
229
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
230
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
231
|
+
* @throws {@link Schedulin.ConflictError}
|
|
232
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
233
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
179
234
|
* @throws {@link Schedulin.InternalServerError}
|
|
180
235
|
* @throws {@link errors.SchedulinError}
|
|
181
236
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -73,7 +73,11 @@ class PostsClient {
|
|
|
73
73
|
* @param {Schedulin.ListPostsRequest} request
|
|
74
74
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
75
|
*
|
|
76
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
76
77
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
78
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
79
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
80
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
77
81
|
* @throws {@link Schedulin.InternalServerError}
|
|
78
82
|
* @throws {@link errors.SchedulinError}
|
|
79
83
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -121,8 +125,16 @@ class PostsClient {
|
|
|
121
125
|
}
|
|
122
126
|
if (_response.error.reason === "status-code") {
|
|
123
127
|
switch (_response.error.statusCode) {
|
|
128
|
+
case 400:
|
|
129
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
124
130
|
case 401:
|
|
125
131
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
132
|
+
case 403:
|
|
133
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
134
|
+
case 422:
|
|
135
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
136
|
+
case 429:
|
|
137
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
126
138
|
case 500:
|
|
127
139
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
128
140
|
default:
|
|
@@ -142,7 +154,13 @@ class PostsClient {
|
|
|
142
154
|
* @param {Schedulin.PostCreate} request
|
|
143
155
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
144
156
|
*
|
|
157
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
145
158
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
159
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
160
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
161
|
+
* @throws {@link Schedulin.ConflictError}
|
|
162
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
163
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
146
164
|
* @throws {@link Schedulin.InternalServerError}
|
|
147
165
|
* @throws {@link errors.SchedulinError}
|
|
148
166
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -180,8 +198,20 @@ class PostsClient {
|
|
|
180
198
|
}
|
|
181
199
|
if (_response.error.reason === "status-code") {
|
|
182
200
|
switch (_response.error.statusCode) {
|
|
201
|
+
case 400:
|
|
202
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
183
203
|
case 401:
|
|
184
204
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
205
|
+
case 402:
|
|
206
|
+
throw new Schedulin.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
207
|
+
case 403:
|
|
208
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
209
|
+
case 409:
|
|
210
|
+
throw new Schedulin.ConflictError(_response.error.body, _response.rawResponse);
|
|
211
|
+
case 422:
|
|
212
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
213
|
+
case 429:
|
|
214
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
185
215
|
case 500:
|
|
186
216
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
187
217
|
default:
|
|
@@ -201,7 +231,11 @@ class PostsClient {
|
|
|
201
231
|
* @param {Schedulin.CountByTabPostsRequest} request
|
|
202
232
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
203
233
|
*
|
|
234
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
204
235
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
236
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
237
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
238
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
205
239
|
* @throws {@link Schedulin.InternalServerError}
|
|
206
240
|
* @throws {@link errors.SchedulinError}
|
|
207
241
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -241,8 +275,16 @@ class PostsClient {
|
|
|
241
275
|
}
|
|
242
276
|
if (_response.error.reason === "status-code") {
|
|
243
277
|
switch (_response.error.statusCode) {
|
|
278
|
+
case 400:
|
|
279
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
244
280
|
case 401:
|
|
245
281
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
282
|
+
case 403:
|
|
283
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
284
|
+
case 422:
|
|
285
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
286
|
+
case 429:
|
|
287
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
246
288
|
case 500:
|
|
247
289
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
248
290
|
default:
|
|
@@ -262,7 +304,12 @@ class PostsClient {
|
|
|
262
304
|
* @param {Schedulin.RetrievePostsRequest} request
|
|
263
305
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
264
306
|
*
|
|
307
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
265
308
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
309
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
310
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
311
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
312
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
266
313
|
* @throws {@link Schedulin.InternalServerError}
|
|
267
314
|
* @throws {@link errors.SchedulinError}
|
|
268
315
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -297,8 +344,18 @@ class PostsClient {
|
|
|
297
344
|
}
|
|
298
345
|
if (_response.error.reason === "status-code") {
|
|
299
346
|
switch (_response.error.statusCode) {
|
|
347
|
+
case 400:
|
|
348
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
300
349
|
case 401:
|
|
301
350
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
351
|
+
case 403:
|
|
352
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
353
|
+
case 404:
|
|
354
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
355
|
+
case 422:
|
|
356
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
357
|
+
case 429:
|
|
358
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
302
359
|
case 500:
|
|
303
360
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
304
361
|
default:
|
|
@@ -318,7 +375,14 @@ class PostsClient {
|
|
|
318
375
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
319
376
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
320
377
|
*
|
|
378
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
321
379
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
380
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
381
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
382
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
383
|
+
* @throws {@link Schedulin.ConflictError}
|
|
384
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
385
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
322
386
|
* @throws {@link Schedulin.InternalServerError}
|
|
323
387
|
* @throws {@link errors.SchedulinError}
|
|
324
388
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -356,8 +420,22 @@ class PostsClient {
|
|
|
356
420
|
}
|
|
357
421
|
if (_response.error.reason === "status-code") {
|
|
358
422
|
switch (_response.error.statusCode) {
|
|
423
|
+
case 400:
|
|
424
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
359
425
|
case 401:
|
|
360
426
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
427
|
+
case 402:
|
|
428
|
+
throw new Schedulin.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
429
|
+
case 403:
|
|
430
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
431
|
+
case 404:
|
|
432
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
433
|
+
case 409:
|
|
434
|
+
throw new Schedulin.ConflictError(_response.error.body, _response.rawResponse);
|
|
435
|
+
case 422:
|
|
436
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
437
|
+
case 429:
|
|
438
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
361
439
|
case 500:
|
|
362
440
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
363
441
|
default:
|
|
@@ -377,7 +455,13 @@ class PostsClient {
|
|
|
377
455
|
* @param {Schedulin.DeletePostsRequest} request
|
|
378
456
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
379
457
|
*
|
|
458
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
380
459
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
460
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
461
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
462
|
+
* @throws {@link Schedulin.ConflictError}
|
|
463
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
464
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
381
465
|
* @throws {@link Schedulin.InternalServerError}
|
|
382
466
|
* @throws {@link errors.SchedulinError}
|
|
383
467
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -415,8 +499,20 @@ class PostsClient {
|
|
|
415
499
|
}
|
|
416
500
|
if (_response.error.reason === "status-code") {
|
|
417
501
|
switch (_response.error.statusCode) {
|
|
502
|
+
case 400:
|
|
503
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
418
504
|
case 401:
|
|
419
505
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
506
|
+
case 403:
|
|
507
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
508
|
+
case 404:
|
|
509
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
510
|
+
case 409:
|
|
511
|
+
throw new Schedulin.ConflictError(_response.error.body, _response.rawResponse);
|
|
512
|
+
case 422:
|
|
513
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
514
|
+
case 429:
|
|
515
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
420
516
|
case 500:
|
|
421
517
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
422
518
|
default:
|
|
@@ -436,7 +532,12 @@ class PostsClient {
|
|
|
436
532
|
* @param {Schedulin.AnalyticsSummaryPostsRequest} request
|
|
437
533
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
438
534
|
*
|
|
535
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
439
536
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
537
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
538
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
539
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
540
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
440
541
|
* @throws {@link Schedulin.InternalServerError}
|
|
441
542
|
* @throws {@link errors.SchedulinError}
|
|
442
543
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -474,8 +575,18 @@ class PostsClient {
|
|
|
474
575
|
}
|
|
475
576
|
if (_response.error.reason === "status-code") {
|
|
476
577
|
switch (_response.error.statusCode) {
|
|
578
|
+
case 400:
|
|
579
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
477
580
|
case 401:
|
|
478
581
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
582
|
+
case 403:
|
|
583
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
584
|
+
case 404:
|
|
585
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
586
|
+
case 422:
|
|
587
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
588
|
+
case 429:
|
|
589
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
479
590
|
case 500:
|
|
480
591
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
481
592
|
default:
|
|
@@ -495,7 +606,12 @@ class PostsClient {
|
|
|
495
606
|
* @param {Schedulin.AnalyticsSeriesPostsRequest} request
|
|
496
607
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
497
608
|
*
|
|
609
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
498
610
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
611
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
612
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
613
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
614
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
499
615
|
* @throws {@link Schedulin.InternalServerError}
|
|
500
616
|
* @throws {@link errors.SchedulinError}
|
|
501
617
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -540,8 +656,18 @@ class PostsClient {
|
|
|
540
656
|
}
|
|
541
657
|
if (_response.error.reason === "status-code") {
|
|
542
658
|
switch (_response.error.statusCode) {
|
|
659
|
+
case 400:
|
|
660
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
543
661
|
case 401:
|
|
544
662
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
663
|
+
case 403:
|
|
664
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
665
|
+
case 404:
|
|
666
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
667
|
+
case 422:
|
|
668
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
669
|
+
case 429:
|
|
670
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
545
671
|
case 500:
|
|
546
672
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
547
673
|
default:
|
|
@@ -561,7 +687,14 @@ class PostsClient {
|
|
|
561
687
|
* @param {Schedulin.PublishDraftPostsRequest} request
|
|
562
688
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
563
689
|
*
|
|
690
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
564
691
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
692
|
+
* @throws {@link Schedulin.PaymentRequiredError}
|
|
693
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
694
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
695
|
+
* @throws {@link Schedulin.ConflictError}
|
|
696
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
697
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
565
698
|
* @throws {@link Schedulin.InternalServerError}
|
|
566
699
|
* @throws {@link errors.SchedulinError}
|
|
567
700
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -599,8 +732,22 @@ class PostsClient {
|
|
|
599
732
|
}
|
|
600
733
|
if (_response.error.reason === "status-code") {
|
|
601
734
|
switch (_response.error.statusCode) {
|
|
735
|
+
case 400:
|
|
736
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
602
737
|
case 401:
|
|
603
738
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
739
|
+
case 402:
|
|
740
|
+
throw new Schedulin.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
741
|
+
case 403:
|
|
742
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
743
|
+
case 404:
|
|
744
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
745
|
+
case 409:
|
|
746
|
+
throw new Schedulin.ConflictError(_response.error.body, _response.rawResponse);
|
|
747
|
+
case 422:
|
|
748
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
749
|
+
case 429:
|
|
750
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
604
751
|
case 500:
|
|
605
752
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
606
753
|
default:
|
|
@@ -620,7 +767,13 @@ class PostsClient {
|
|
|
620
767
|
* @param {Schedulin.UpdateTagsPostsRequest} request
|
|
621
768
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
622
769
|
*
|
|
770
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
623
771
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
772
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
773
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
774
|
+
* @throws {@link Schedulin.ConflictError}
|
|
775
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
776
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
624
777
|
* @throws {@link Schedulin.InternalServerError}
|
|
625
778
|
* @throws {@link errors.SchedulinError}
|
|
626
779
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -659,8 +812,20 @@ class PostsClient {
|
|
|
659
812
|
}
|
|
660
813
|
if (_response.error.reason === "status-code") {
|
|
661
814
|
switch (_response.error.statusCode) {
|
|
815
|
+
case 400:
|
|
816
|
+
throw new Schedulin.BadRequestError(_response.error.body, _response.rawResponse);
|
|
662
817
|
case 401:
|
|
663
818
|
throw new Schedulin.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
819
|
+
case 403:
|
|
820
|
+
throw new Schedulin.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
821
|
+
case 404:
|
|
822
|
+
throw new Schedulin.NotFoundError(_response.error.body, _response.rawResponse);
|
|
823
|
+
case 409:
|
|
824
|
+
throw new Schedulin.ConflictError(_response.error.body, _response.rawResponse);
|
|
825
|
+
case 422:
|
|
826
|
+
throw new Schedulin.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
827
|
+
case 429:
|
|
828
|
+
throw new Schedulin.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
664
829
|
case 500:
|
|
665
830
|
throw new Schedulin.InternalServerError(_response.error.body, _response.rawResponse);
|
|
666
831
|
default:
|
|
@@ -7,6 +7,7 @@ export interface CreatePostsResponse {
|
|
|
7
7
|
scheduledAt: string | null;
|
|
8
8
|
platformConfiguration: Record<string, unknown> | null;
|
|
9
9
|
media: CreatePostsResponse.Media.Item[];
|
|
10
|
+
socialAccountId: string;
|
|
10
11
|
socialAccounts: Schedulin.SocialAccountPublic[];
|
|
11
12
|
createdAt: string;
|
|
12
13
|
updatedAt: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AnalyticsSeriesPostsResponse.js";
|
|
2
2
|
export * from "./AnalyticsSummaryPostsResponse.js";
|
|
3
|
+
export * from "./CountByTabPostsResponse.js";
|
|
3
4
|
export * from "./CreatePostsResponse.js";
|
|
4
5
|
export * from "./ListPostsRequestApprovalStatus.js";
|
|
5
6
|
export * from "./ListPostsRequestStatus.js";
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AnalyticsSeriesPostsResponse.js"), exports);
|
|
18
18
|
__exportStar(require("./AnalyticsSummaryPostsResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./CountByTabPostsResponse.js"), exports);
|
|
19
20
|
__exportStar(require("./CreatePostsResponse.js"), exports);
|
|
20
21
|
__exportStar(require("./ListPostsRequestApprovalStatus.js"), exports);
|
|
21
22
|
__exportStar(require("./ListPostsRequestStatus.js"), exports);
|
|
@@ -15,7 +15,11 @@ export declare class SocialAccountsClient {
|
|
|
15
15
|
*
|
|
16
16
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
17
|
*
|
|
18
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
18
19
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
20
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
21
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
22
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
19
23
|
* @throws {@link Schedulin.InternalServerError}
|
|
20
24
|
* @throws {@link errors.SchedulinError}
|
|
21
25
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -31,7 +35,12 @@ export declare class SocialAccountsClient {
|
|
|
31
35
|
* @param {Schedulin.ListWhopCompaniesSocialAccountsRequest} request
|
|
32
36
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
37
|
*
|
|
38
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
34
39
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
40
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
41
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
42
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
43
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
35
44
|
* @throws {@link Schedulin.InternalServerError}
|
|
36
45
|
* @throws {@link errors.SchedulinError}
|
|
37
46
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -49,7 +58,12 @@ export declare class SocialAccountsClient {
|
|
|
49
58
|
* @param {Schedulin.ListWhopForumsSocialAccountsRequest} request
|
|
50
59
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
60
|
*
|
|
61
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
52
62
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
63
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
64
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
65
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
66
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
53
67
|
* @throws {@link Schedulin.InternalServerError}
|
|
54
68
|
* @throws {@link errors.SchedulinError}
|
|
55
69
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -68,7 +82,12 @@ export declare class SocialAccountsClient {
|
|
|
68
82
|
* @param {Schedulin.ListDiscordChannelsSocialAccountsRequest} request
|
|
69
83
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
84
|
*
|
|
85
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
71
86
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
87
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
88
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
89
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
90
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
72
91
|
* @throws {@link Schedulin.InternalServerError}
|
|
73
92
|
* @throws {@link errors.SchedulinError}
|
|
74
93
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -86,7 +105,12 @@ export declare class SocialAccountsClient {
|
|
|
86
105
|
* @param {Schedulin.ListSlackChannelsSocialAccountsRequest} request
|
|
87
106
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
107
|
*
|
|
108
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
89
109
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
110
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
111
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
112
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
113
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
90
114
|
* @throws {@link Schedulin.InternalServerError}
|
|
91
115
|
* @throws {@link errors.SchedulinError}
|
|
92
116
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -104,7 +128,13 @@ export declare class SocialAccountsClient {
|
|
|
104
128
|
* @param {Schedulin.UpdateSocialAccountsRequest} request
|
|
105
129
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
130
|
*
|
|
131
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
107
132
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
133
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
134
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
135
|
+
* @throws {@link Schedulin.ConflictError}
|
|
136
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
137
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
108
138
|
* @throws {@link Schedulin.InternalServerError}
|
|
109
139
|
* @throws {@link errors.SchedulinError}
|
|
110
140
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -122,7 +152,13 @@ export declare class SocialAccountsClient {
|
|
|
122
152
|
* @param {Schedulin.DeleteSocialAccountsRequest} request
|
|
123
153
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
124
154
|
*
|
|
155
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
125
156
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
157
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
158
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
159
|
+
* @throws {@link Schedulin.ConflictError}
|
|
160
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
161
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
126
162
|
* @throws {@link Schedulin.InternalServerError}
|
|
127
163
|
* @throws {@link errors.SchedulinError}
|
|
128
164
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -140,7 +176,13 @@ export declare class SocialAccountsClient {
|
|
|
140
176
|
* @param {Schedulin.UpdateTimezoneSocialAccountsRequest} request
|
|
141
177
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
178
|
*
|
|
179
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
143
180
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
181
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
182
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
183
|
+
* @throws {@link Schedulin.ConflictError}
|
|
184
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
185
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
144
186
|
* @throws {@link Schedulin.InternalServerError}
|
|
145
187
|
* @throws {@link errors.SchedulinError}
|
|
146
188
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -159,7 +201,12 @@ export declare class SocialAccountsClient {
|
|
|
159
201
|
* @param {Schedulin.NextSlotsSocialAccountsRequest} request
|
|
160
202
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
161
203
|
*
|
|
204
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
162
205
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
206
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
207
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
208
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
209
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
163
210
|
* @throws {@link Schedulin.InternalServerError}
|
|
164
211
|
* @throws {@link errors.SchedulinError}
|
|
165
212
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -177,7 +224,12 @@ export declare class SocialAccountsClient {
|
|
|
177
224
|
* @param {Schedulin.PinterestBoardsSocialAccountsRequest} request
|
|
178
225
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
179
226
|
*
|
|
227
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
180
228
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
229
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
230
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
231
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
232
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
181
233
|
* @throws {@link Schedulin.InternalServerError}
|
|
182
234
|
* @throws {@link errors.SchedulinError}
|
|
183
235
|
* @throws {@link errors.SchedulinTimeoutError}
|
|
@@ -195,7 +247,12 @@ export declare class SocialAccountsClient {
|
|
|
195
247
|
* @param {Schedulin.TiktokCreatorInfoSocialAccountsRequest} request
|
|
196
248
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
197
249
|
*
|
|
250
|
+
* @throws {@link Schedulin.BadRequestError}
|
|
198
251
|
* @throws {@link Schedulin.UnauthorizedError}
|
|
252
|
+
* @throws {@link Schedulin.ForbiddenError}
|
|
253
|
+
* @throws {@link Schedulin.NotFoundError}
|
|
254
|
+
* @throws {@link Schedulin.UnprocessableEntityError}
|
|
255
|
+
* @throws {@link Schedulin.TooManyRequestsError}
|
|
199
256
|
* @throws {@link Schedulin.InternalServerError}
|
|
200
257
|
* @throws {@link errors.SchedulinError}
|
|
201
258
|
* @throws {@link errors.SchedulinTimeoutError}
|