@schedulin/sdk 0.2.0 → 0.3.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/resources/posts/client/Client.d.ts +1 -1
- package/cjs/api/resources/posts/client/Client.js +1 -1
- package/cjs/api/resources/posts/client/requests/UpdatePostsRequest.d.ts +0 -2
- package/cjs/api/resources/posts/client/requests/UpdatePostsRequest.js +0 -2
- package/cjs/api/resources/socialAccounts/client/Client.d.ts +1 -1
- package/cjs/api/resources/socialAccounts/client/Client.js +1 -1
- package/esm/api/resources/posts/client/Client.d.mts +1 -1
- package/esm/api/resources/posts/client/Client.mjs +1 -1
- package/esm/api/resources/posts/client/requests/UpdatePostsRequest.d.mts +0 -2
- package/esm/api/resources/posts/client/requests/UpdatePostsRequest.mjs +0 -2
- package/esm/api/resources/socialAccounts/client/Client.d.mts +1 -1
- package/esm/api/resources/socialAccounts/client/Client.mjs +1 -1
- package/package.json +1 -1
|
@@ -80,7 +80,7 @@ export declare class PostsClient {
|
|
|
80
80
|
retrieve(request: Schedulin.RetrievePostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Schedulin.PostWithRelations>;
|
|
81
81
|
private __retrieve;
|
|
82
82
|
/**
|
|
83
|
-
* Update an existing post by its ID
|
|
83
|
+
* Update an existing draft or scheduled post by its ID. `status` may be DRAFT, SCHEDULED (requires a future `scheduledAt`, either in this request or already on the post), or PROCESSING (publish now). COMPLETED and FAILED are set only by the publisher. Posts that are already publishing, published, or failed can't be edited (409).
|
|
84
84
|
*
|
|
85
85
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
86
86
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -313,7 +313,7 @@ class PostsClient {
|
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
|
-
* Update an existing post by its ID
|
|
316
|
+
* Update an existing draft or scheduled post by its ID. `status` may be DRAFT, SCHEDULED (requires a future `scheduledAt`, either in this request or already on the post), or PROCESSING (publish now). COMPLETED and FAILED are set only by the publisher. Posts that are already publishing, published, or failed can't be edited (409).
|
|
317
317
|
*
|
|
318
318
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
319
319
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -29,8 +29,6 @@ export declare namespace UpdatePostsRequest {
|
|
|
29
29
|
readonly Draft: "DRAFT";
|
|
30
30
|
readonly Scheduled: "SCHEDULED";
|
|
31
31
|
readonly Processing: "PROCESSING";
|
|
32
|
-
readonly Completed: "COMPLETED";
|
|
33
|
-
readonly Failed: "FAILED";
|
|
34
32
|
};
|
|
35
33
|
type Status = (typeof Status)[keyof typeof Status];
|
|
36
34
|
}
|
|
@@ -99,7 +99,7 @@ export declare class SocialAccountsClient {
|
|
|
99
99
|
delete(request: Schedulin.DeleteSocialAccountsRequest, requestOptions?: SocialAccountsClient.RequestOptions): core.HttpResponsePromise<Schedulin.DeleteSocialAccountsResponse>;
|
|
100
100
|
private __delete;
|
|
101
101
|
/**
|
|
102
|
-
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account.
|
|
102
|
+
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account. Unknown names and UTC-offset strings (e.g. '+05:00') are rejected with 422.
|
|
103
103
|
*
|
|
104
104
|
* @param {Schedulin.UpdateTimezoneSocialAccountsRequest} request
|
|
105
105
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -370,7 +370,7 @@ class SocialAccountsClient {
|
|
|
370
370
|
});
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
|
-
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account.
|
|
373
|
+
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account. Unknown names and UTC-offset strings (e.g. '+05:00') are rejected with 422.
|
|
374
374
|
*
|
|
375
375
|
* @param {Schedulin.UpdateTimezoneSocialAccountsRequest} request
|
|
376
376
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -80,7 +80,7 @@ export declare class PostsClient {
|
|
|
80
80
|
retrieve(request: Schedulin.RetrievePostsRequest, requestOptions?: PostsClient.RequestOptions): core.HttpResponsePromise<Schedulin.PostWithRelations>;
|
|
81
81
|
private __retrieve;
|
|
82
82
|
/**
|
|
83
|
-
* Update an existing post by its ID
|
|
83
|
+
* Update an existing draft or scheduled post by its ID. `status` may be DRAFT, SCHEDULED (requires a future `scheduledAt`, either in this request or already on the post), or PROCESSING (publish now). COMPLETED and FAILED are set only by the publisher. Posts that are already publishing, published, or failed can't be edited (409).
|
|
84
84
|
*
|
|
85
85
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
86
86
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -277,7 +277,7 @@ export class PostsClient {
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
/**
|
|
280
|
-
* Update an existing post by its ID
|
|
280
|
+
* Update an existing draft or scheduled post by its ID. `status` may be DRAFT, SCHEDULED (requires a future `scheduledAt`, either in this request or already on the post), or PROCESSING (publish now). COMPLETED and FAILED are set only by the publisher. Posts that are already publishing, published, or failed can't be edited (409).
|
|
281
281
|
*
|
|
282
282
|
* @param {Schedulin.UpdatePostsRequest} request
|
|
283
283
|
* @param {PostsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -29,8 +29,6 @@ export declare namespace UpdatePostsRequest {
|
|
|
29
29
|
readonly Draft: "DRAFT";
|
|
30
30
|
readonly Scheduled: "SCHEDULED";
|
|
31
31
|
readonly Processing: "PROCESSING";
|
|
32
|
-
readonly Completed: "COMPLETED";
|
|
33
|
-
readonly Failed: "FAILED";
|
|
34
32
|
};
|
|
35
33
|
type Status = (typeof Status)[keyof typeof Status];
|
|
36
34
|
}
|
|
@@ -99,7 +99,7 @@ export declare class SocialAccountsClient {
|
|
|
99
99
|
delete(request: Schedulin.DeleteSocialAccountsRequest, requestOptions?: SocialAccountsClient.RequestOptions): core.HttpResponsePromise<Schedulin.DeleteSocialAccountsResponse>;
|
|
100
100
|
private __delete;
|
|
101
101
|
/**
|
|
102
|
-
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account.
|
|
102
|
+
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account. Unknown names and UTC-offset strings (e.g. '+05:00') are rejected with 422.
|
|
103
103
|
*
|
|
104
104
|
* @param {Schedulin.UpdateTimezoneSocialAccountsRequest} request
|
|
105
105
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -334,7 +334,7 @@ export class SocialAccountsClient {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account.
|
|
337
|
+
* Set the IANA timezone (e.g. 'America/Los_Angeles') used to interpret queue times for this account. Unknown names and UTC-offset strings (e.g. '+05:00') are rejected with 422.
|
|
338
338
|
*
|
|
339
339
|
* @param {Schedulin.UpdateTimezoneSocialAccountsRequest} request
|
|
340
340
|
* @param {SocialAccountsClient.RequestOptions} requestOptions - Request-specific configuration.
|