@getlatedev/node 0.2.1146 → 0.2.1147
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 +27 -1
- package/dist/index.d.ts +27 -1
- 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 +27 -0
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -16444,7 +16444,7 @@ export const downloadTikTokVideo = <ThrowOnError extends boolean = false>(option
|
|
|
16444
16444
|
|
|
16445
16445
|
/**
|
|
16446
16446
|
* List API changelog entries
|
|
16447
|
-
* The API changelog, newest first. No API key needed; one address may make 120 requests a minute. Each entry is what the `api.changelog.published` webhook delivered: the announcement in `message`, and in `changes` the deterministic diff of the OpenAPI spec (operations and schemas added, removed and modified) for automation to act on. Page with `before` set to the previous page's `nextCursor`.
|
|
16447
|
+
* The API changelog, newest first. No API key needed; one address may make 120 requests a minute. Each entry is what the `api.changelog.published` webhook delivered: the announcement in `message`, its `impact` on existing integrations, and in `changes` the deterministic diff of the OpenAPI spec (operations and schemas added, removed and modified) for automation to act on. Page with `before` set to the previous page's `nextCursor`.
|
|
16448
16448
|
*
|
|
16449
16449
|
*/
|
|
16450
16450
|
export const listChangelog = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListChangelogData, ThrowOnError>) => {
|
|
@@ -1976,7 +1976,14 @@ export type ApiChangelogEntry = {
|
|
|
1976
1976
|
* Stable entry id; the same entry is never published twice.
|
|
1977
1977
|
*/
|
|
1978
1978
|
id: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* When `impact` is set, `breaking_change` means exactly `impact: action_required`.
|
|
1981
|
+
*/
|
|
1979
1982
|
type: 'new_feature' | 'breaking_change' | 'improvement' | 'deprecation' | 'minor';
|
|
1983
|
+
/**
|
|
1984
|
+
* What an integrator has to do, computed from the OpenAPI diff rather than from the prose. `action_required`: an existing call or parser can break (an operation, parameter or field removed, a field newly required, a type narrowed, an enum value removed, or authentication changed). `additive`: only new or looser things, existing integrations keep working. `none`: descriptions or examples only. Null on entries published before October 2026.
|
|
1985
|
+
*/
|
|
1986
|
+
impact: ('none' | 'additive' | 'action_required') | null;
|
|
1980
1987
|
/**
|
|
1981
1988
|
* Platform and area slugs the entry is about: a platform (`instagram`, `facebook`, `threads`, `tiktok`, `x`, `linkedin`, `youtube`, `pinterest`, `reddit`, `bluesky`, `telegram`, `snapchat`, `whatsapp`, `discord`, `slack`, `google-business`, `imessage`), an ads platform (`meta-ads`, `google-ads`, `tiktok-ads`, `linkedin-ads`, `pinterest-ads`, `x-ads`) or an area (`ads`, `publishing`, `inbox`, `telephony`, `commerce`, `analytics`, `webhooks`, `general`). Filter with the `platform` query parameter.
|
|
1982
1989
|
*/
|
|
@@ -2014,12 +2021,28 @@ export type ApiChangelogEntry = {
|
|
|
2014
2021
|
};
|
|
2015
2022
|
};
|
|
2016
2023
|
|
|
2024
|
+
/**
|
|
2025
|
+
* When `impact` is set, `breaking_change` means exactly `impact: action_required`.
|
|
2026
|
+
*/
|
|
2017
2027
|
export type type2 = 'new_feature' | 'breaking_change' | 'improvement' | 'deprecation' | 'minor';
|
|
2018
2028
|
|
|
2029
|
+
/**
|
|
2030
|
+
* What an integrator has to do, computed from the OpenAPI diff rather than from the prose. `action_required`: an existing call or parser can break (an operation, parameter or field removed, a field newly required, a type narrowed, an enum value removed, or authentication changed). `additive`: only new or looser things, existing integrations keep working. `none`: descriptions or examples only. Null on entries published before October 2026.
|
|
2031
|
+
*/
|
|
2032
|
+
export type impact = 'none' | 'additive' | 'action_required';
|
|
2033
|
+
|
|
2019
2034
|
export type ApiChangelogOperationRef = {
|
|
2020
2035
|
method: string;
|
|
2021
2036
|
path: string;
|
|
2022
2037
|
operationId?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* OpenAPI tags of the operation.
|
|
2040
|
+
*/
|
|
2041
|
+
tags?: Array<(string)>;
|
|
2042
|
+
/**
|
|
2043
|
+
* The operation's `x-platforms` list, verbatim.
|
|
2044
|
+
*/
|
|
2045
|
+
xPlatforms?: Array<(string)>;
|
|
2023
2046
|
};
|
|
2024
2047
|
|
|
2025
2048
|
export type ApiKey = {
|
|
@@ -56011,6 +56034,10 @@ export type ListChangelogData = {
|
|
|
56011
56034
|
* Only entries published strictly before this instant. Pass the previous page's `nextCursor`.
|
|
56012
56035
|
*/
|
|
56013
56036
|
before?: string;
|
|
56037
|
+
/**
|
|
56038
|
+
* Only entries with this impact. `action_required` lists the changes an integration may need to act on.
|
|
56039
|
+
*/
|
|
56040
|
+
impact?: 'none' | 'additive' | 'action_required';
|
|
56014
56041
|
limit?: number;
|
|
56015
56042
|
/**
|
|
56016
56043
|
* Only entries tagged with this platform or area slug (see `platforms` on the entry). One slug per request.
|