@getlatedev/node 0.2.1779 → 0.2.1780
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -2
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1780",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1780",
|
|
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
|
@@ -2958,9 +2958,11 @@ export const moveAccountToProfile = <ThrowOnError extends boolean = false>(optio
|
|
|
2958
2958
|
* Disconnect account
|
|
2959
2959
|
* Disconnects and removes a connected account, and fires account.disconnected with disconnectionType intentional.
|
|
2960
2960
|
*
|
|
2961
|
-
* The account is kept for a 1h grace window
|
|
2961
|
+
* The account is kept for a 1h grace window, 7 days for a WhatsApp Business app number that Meta had already disconnected (after a phone move, for example). After that it is deleted permanently and its remaining scheduled posts are cancelled.
|
|
2962
2962
|
*
|
|
2963
|
-
*
|
|
2963
|
+
* Reconnecting the same account within the grace window restores it with the same accountId and its scheduled posts. Posts that came due in the meantime then publish late, if their scheduled time is less than 7 days past.
|
|
2964
|
+
*
|
|
2965
|
+
* Repeating the call for an account already disconnected returns 404, the account stays in its grace window and the disconnect is not re-run.
|
|
2964
2966
|
*/
|
|
2965
2967
|
export const deleteAccount = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteAccountData, ThrowOnError>) => {
|
|
2966
2968
|
return (options?.client ?? client).delete<DeleteAccountResponse, DeleteAccountError, ThrowOnError>({
|