@zernio/node 0.2.1018 → 0.2.1020
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 +22 -6
- package/dist/index.d.ts +22 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -6
- package/src/generated/types.gen.ts +22 -5
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -9229,12 +9229,11 @@ export const listLocalServicesLeadConversations = <ThrowOnError extends boolean
|
|
|
9229
9229
|
* List Search keywords
|
|
9230
9230
|
* Returns the Google Search keyword criteria (positive and negative) synced from
|
|
9231
9231
|
* connected Google Ads accounts, one row per ad-group keyword. Refreshed about
|
|
9232
|
-
* once a
|
|
9233
|
-
* pass on a slower slot,
|
|
9234
|
-
*
|
|
9235
|
-
*
|
|
9236
|
-
*
|
|
9237
|
-
* manual sync refreshes it immediately.
|
|
9232
|
+
* once a day per Google Ads customer (the keyword sweep rides the ads discovery
|
|
9233
|
+
* pass on a slower slot), so keywords added on Google can take up to a day to
|
|
9234
|
+
* appear. A customer synced for the first time is populated on the next discovery
|
|
9235
|
+
* pass rather than waiting for its daily slot, and connecting an account or
|
|
9236
|
+
* triggering a manual sync refreshes it immediately.
|
|
9238
9237
|
* Campaign-level negative keywords are not included; only ad-group-level
|
|
9239
9238
|
* criteria are.
|
|
9240
9239
|
*
|
|
@@ -817,7 +817,7 @@ export type AdKeyword = {
|
|
|
817
817
|
};
|
|
818
818
|
syncedAt?: (string) | null;
|
|
819
819
|
/**
|
|
820
|
-
* Trailing 30-day window. Null on rows synced before the metrics columns existed (re-synced on the keyword's next
|
|
820
|
+
* Trailing 30-day window. Null on rows synced before the metrics columns existed (re-synced on the keyword's next daily sweep).
|
|
821
821
|
*/
|
|
822
822
|
metrics?: {
|
|
823
823
|
windowDays?: number;
|
|
@@ -5023,9 +5023,9 @@ export type ErrorResponse = {
|
|
|
5023
5023
|
*/
|
|
5024
5024
|
quotaScope?: 'DEVELOPER' | 'ACCOUNT';
|
|
5025
5025
|
/**
|
|
5026
|
-
* Zernio Google Ads
|
|
5026
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is your own per-minute allowance on user-driven Google Ads calls; it clears within a minute.
|
|
5027
5027
|
*/
|
|
5028
|
-
budgetScope?: 'user'
|
|
5028
|
+
budgetScope?: 'user';
|
|
5029
5029
|
[key: string]: unknown | string | boolean;
|
|
5030
5030
|
};
|
|
5031
5031
|
};
|
|
@@ -5046,9 +5046,9 @@ export type stage = 'media' | 'campaign' | 'adset' | 'creative' | 'ad' | 'activa
|
|
|
5046
5046
|
export type quotaScope = 'DEVELOPER' | 'ACCOUNT';
|
|
5047
5047
|
|
|
5048
5048
|
/**
|
|
5049
|
-
* Zernio Google Ads
|
|
5049
|
+
* Zernio Google Ads burst-limit 429 only (never set alongside `quotaExhausted`). `user` is your own per-minute allowance on user-driven Google Ads calls; it clears within a minute.
|
|
5050
5050
|
*/
|
|
5051
|
-
export type budgetScope = 'user'
|
|
5051
|
+
export type budgetScope = 'user';
|
|
5052
5052
|
|
|
5053
5053
|
/**
|
|
5054
5054
|
* A media item on a native (external/synced) post, as carried by post.external.* webhook payloads. Distinct from the richer MediaItem used for Zernio-authored posts: external items are always already-published and limited to image or video. Kept as a separate schema so the generated SDK model does not collide with MediaItem.
|
|
@@ -8222,6 +8222,10 @@ export type OwnedPhoneNumber = {
|
|
|
8222
8222
|
metaVerificationStatus?: 'pending' | 'code_requested' | 'verified' | 'expired';
|
|
8223
8223
|
metaVerifiedAt?: string;
|
|
8224
8224
|
metaVerificationExpiresAt?: string;
|
|
8225
|
+
/**
|
|
8226
|
+
* Set when WhatsApp reported the number as registered to another WhatsApp account while connecting it. The number keeps working for Calls and SMS; remove it from the other account and connect again, or replace it with POST /v1/whatsapp/phone-numbers/{id}/replace. Absent once WhatsApp accepts the number.
|
|
8227
|
+
*/
|
|
8228
|
+
metaPoolAddRejectedAt?: string;
|
|
8225
8229
|
/**
|
|
8226
8230
|
* The WhatsApp account the number is linked to; null when WhatsApp is not connected.
|
|
8227
8231
|
*/
|
|
@@ -11186,6 +11190,14 @@ export type Verification = {
|
|
|
11186
11190
|
*/
|
|
11187
11191
|
sendCount?: number;
|
|
11188
11192
|
lastSentAt?: (string) | null;
|
|
11193
|
+
/**
|
|
11194
|
+
* WhatsApp only, returned by GET /v1/verify/verifications/{verificationId} (null on create and check responses): what Meta reported for the latest send, null until it reports. A code that never reached the recipient (for example a number not on WhatsApp) reads failed, with the Meta error in deliveryErrorCode. failed does not settle the verification: Meta can report failed and later deliver the same message. Reported for at least an hour after the send, well past any code's expiry.
|
|
11195
|
+
*/
|
|
11196
|
+
deliveryStatus?: ('delivered' | 'read' | 'failed') | null;
|
|
11197
|
+
/**
|
|
11198
|
+
* Meta error code when deliveryStatus is failed (e.g. 131026, message undeliverable).
|
|
11199
|
+
*/
|
|
11200
|
+
deliveryErrorCode?: (number) | null;
|
|
11189
11201
|
createdAt?: string;
|
|
11190
11202
|
/**
|
|
11191
11203
|
* Present on create responses: true when an active verification was resent instead of created.
|
|
@@ -11197,6 +11209,11 @@ export type status29 = 'pending' | 'approved' | 'expired' | 'max_attempts_reache
|
|
|
11197
11209
|
|
|
11198
11210
|
export type channel4 = 'sms' | 'whatsapp';
|
|
11199
11211
|
|
|
11212
|
+
/**
|
|
11213
|
+
* WhatsApp only, returned by GET /v1/verify/verifications/{verificationId} (null on create and check responses): what Meta reported for the latest send, null until it reports. A code that never reached the recipient (for example a number not on WhatsApp) reads failed, with the Meta error in deliveryErrorCode. failed does not settle the verification: Meta can report failed and later deliver the same message. Reported for at least an hour after the send, well past any code's expiry.
|
|
11214
|
+
*/
|
|
11215
|
+
export type deliveryStatus = 'delivered' | 'read' | 'failed';
|
|
11216
|
+
|
|
11200
11217
|
/**
|
|
11201
11218
|
* Individual webhook configuration for receiving real-time notifications
|
|
11202
11219
|
*/
|