@zernio/node 0.2.1053 → 0.2.1055

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 CHANGED
@@ -1973,6 +1973,12 @@ type AccountsListResponse = {
1973
1973
  * Only present when page/limit params are provided
1974
1974
  */
1975
1975
  pagination?: Pagination;
1976
+ /**
1977
+ * Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
1978
+ */
1979
+ profileTotals?: {
1980
+ [key: string]: (number);
1981
+ };
1976
1982
  };
1977
1983
  type AccountWithFollowerStats = SocialAccount & {
1978
1984
  /**
@@ -10618,6 +10624,10 @@ type Profile = {
10618
10624
  * Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
10619
10625
  */
10620
10626
  isOverLimit?: boolean;
10627
+ /**
10628
+ * In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
10629
+ */
10630
+ accountCount?: number;
10621
10631
  createdAt?: string;
10622
10632
  };
10623
10633
  type ProfileCreateResponse = {
@@ -19221,6 +19231,10 @@ type ListAccountsData = {
19221
19231
  *
19222
19232
  */
19223
19233
  page?: number;
19234
+ /**
19235
+ * Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
19236
+ */
19237
+ perProfile?: number;
19224
19238
  /**
19225
19239
  * Filter accounts by platform (e.g. "instagram", "twitter").
19226
19240
  */
@@ -19229,6 +19243,10 @@ type ListAccountsData = {
19229
19243
  * Filter accounts by profile ID. Must be a valid ObjectId.
19230
19244
  */
19231
19245
  profileId?: string;
19246
+ /**
19247
+ * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
19248
+ */
19249
+ profileIds?: string;
19232
19250
  /**
19233
19251
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
19234
19252
  *
@@ -20194,7 +20212,7 @@ type GetConnectUrlData = {
20194
20212
  */
20195
20213
  profileId: string;
20196
20214
  /**
20197
- * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. While a profile holds one account per platform the login still replaces this account as before. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
20215
+ * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
20198
20216
  */
20199
20217
  reconnectAccountId?: string;
20200
20218
  /**
@@ -21093,7 +21111,7 @@ type SelectFacebookPageData = {
21093
21111
  */
21094
21112
  pageId?: string;
21095
21113
  /**
21096
- * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Facebook account and on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
21114
+ * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
21097
21115
  */
21098
21116
  pageIds?: Array<(string)>;
21099
21117
  /**
@@ -21219,7 +21237,7 @@ type SelectInstagramAccountData = {
21219
21237
  */
21220
21238
  pageId?: string;
21221
21239
  /**
21222
- * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Instagram account and on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
21240
+ * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
21223
21241
  */
21224
21242
  pageIds?: Array<(string)>;
21225
21243
  /**
@@ -22775,7 +22793,7 @@ type SelectLinkedInOrganizationData = {
22775
22793
  */
22776
22794
  accountType?: 'personal' | 'organization';
22777
22795
  /**
22778
- * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one LinkedIn account and on a reconnect or an ads connect. A single entry behaves exactly like accountType.
22796
+ * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single entry behaves exactly like accountType.
22779
22797
  */
22780
22798
  selections?: Array<{
22781
22799
  accountType: 'personal' | 'organization';
@@ -33184,7 +33202,7 @@ type ReleasePhoneNumberError = (unknown | {
33184
33202
  type PurchasePhoneNumberData = {
33185
33203
  body: {
33186
33204
  /**
33187
- * Preferred profile for the number. One number = one profile, so when the requested profile already holds a number the API assigns the next free profile instead (or creates one) and returns the actual assignment in `profileId` on the response.
33205
+ * Profile for the number, which may already hold other numbers. Without it the number goes to the default profile. The response's `profileId` carries the assignment.
33188
33206
  *
33189
33207
  */
33190
33208
  profileId: string;
package/dist/index.d.ts CHANGED
@@ -1973,6 +1973,12 @@ type AccountsListResponse = {
1973
1973
  * Only present when page/limit params are provided
1974
1974
  */
1975
1975
  pagination?: Pagination;
1976
+ /**
1977
+ * Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
1978
+ */
1979
+ profileTotals?: {
1980
+ [key: string]: (number);
1981
+ };
1976
1982
  };
1977
1983
  type AccountWithFollowerStats = SocialAccount & {
1978
1984
  /**
@@ -10618,6 +10624,10 @@ type Profile = {
10618
10624
  * Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
10619
10625
  */
10620
10626
  isOverLimit?: boolean;
10627
+ /**
10628
+ * In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
10629
+ */
10630
+ accountCount?: number;
10621
10631
  createdAt?: string;
10622
10632
  };
10623
10633
  type ProfileCreateResponse = {
@@ -19221,6 +19231,10 @@ type ListAccountsData = {
19221
19231
  *
19222
19232
  */
19223
19233
  page?: number;
19234
+ /**
19235
+ * Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
19236
+ */
19237
+ perProfile?: number;
19224
19238
  /**
19225
19239
  * Filter accounts by platform (e.g. "instagram", "twitter").
19226
19240
  */
@@ -19229,6 +19243,10 @@ type ListAccountsData = {
19229
19243
  * Filter accounts by profile ID. Must be a valid ObjectId.
19230
19244
  */
19231
19245
  profileId?: string;
19246
+ /**
19247
+ * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
19248
+ */
19249
+ profileIds?: string;
19232
19250
  /**
19233
19251
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
19234
19252
  *
@@ -20194,7 +20212,7 @@ type GetConnectUrlData = {
20194
20212
  */
20195
20213
  profileId: string;
20196
20214
  /**
20197
- * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. While a profile holds one account per platform the login still replaces this account as before. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
20215
+ * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
20198
20216
  */
20199
20217
  reconnectAccountId?: string;
20200
20218
  /**
@@ -21093,7 +21111,7 @@ type SelectFacebookPageData = {
21093
21111
  */
21094
21112
  pageId?: string;
21095
21113
  /**
21096
- * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Facebook account and on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
21114
+ * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
21097
21115
  */
21098
21116
  pageIds?: Array<(string)>;
21099
21117
  /**
@@ -21219,7 +21237,7 @@ type SelectInstagramAccountData = {
21219
21237
  */
21220
21238
  pageId?: string;
21221
21239
  /**
21222
- * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Instagram account and on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
21240
+ * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
21223
21241
  */
21224
21242
  pageIds?: Array<(string)>;
21225
21243
  /**
@@ -22775,7 +22793,7 @@ type SelectLinkedInOrganizationData = {
22775
22793
  */
22776
22794
  accountType?: 'personal' | 'organization';
22777
22795
  /**
22778
- * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one LinkedIn account and on a reconnect or an ads connect. A single entry behaves exactly like accountType.
22796
+ * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single entry behaves exactly like accountType.
22779
22797
  */
22780
22798
  selections?: Array<{
22781
22799
  accountType: 'personal' | 'organization';
@@ -33184,7 +33202,7 @@ type ReleasePhoneNumberError = (unknown | {
33184
33202
  type PurchasePhoneNumberData = {
33185
33203
  body: {
33186
33204
  /**
33187
- * Preferred profile for the number. One number = one profile, so when the requested profile already holds a number the API assigns the next free profile instead (or creates one) and returns the actual assignment in `profileId` on the response.
33205
+ * Profile for the number, which may already hold other numbers. Without it the number goes to the default profile. The response's `profileId` carries the assignment.
33188
33206
  *
33189
33207
  */
33190
33208
  profileId: string;
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: "@zernio/node",
39
- version: "0.2.1053",
39
+ version: "0.2.1055",
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: "@zernio/node",
8
- version: "0.2.1053",
8
+ version: "0.2.1055",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1053",
3
+ "version": "0.2.1055",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1642,12 +1642,12 @@ export const createInviteToken = <ThrowOnError extends boolean = false>(options:
1642
1642
  * Initiate an OAuth connection flow. Returns an authUrl to redirect the user to.
1643
1643
  * Standard flow: Zernio hosts the selection UI, then redirects to your redirect_url. Headless mode (headless=true): user is redirected to your redirect_url with OAuth data for custom UI. Use the platform-specific selection endpoints to complete.
1644
1644
  *
1645
- * TikTok: every connection now goes through the TikTok for Business app. One TikTok account per
1646
- * profile, so connecting on a profile that already holds one replaces it. Reconnecting the SAME
1647
- * account keeps it and all of its history; authorizing a DIFFERENT TikTok account takes the slot
1648
- * over and permanently deletes the previous account's analytics, inbox and DM history. The two
1649
- * are told apart by the `@handle` stored at the last connect, so an account whose handle has
1650
- * been renamed on TikTok since then reads as a different account. An authorization that leaves
1645
+ * A profile can hold several accounts of the same platform: connecting a different account adds
1646
+ * it as a new account, and reconnecting the SAME account keeps it and all of its history. Ads
1647
+ * connections stay one per profile. On a legacy plan limited to N profiles, a new account is
1648
+ * refused with 403 `platform_account_limit` once N accounts of its platform are connected.
1649
+ *
1650
+ * TikTok: every connection now goes through the TikTok for Business app. An authorization that leaves
1651
1651
  * out a permission the connected account needs changes nothing at all and comes back as
1652
1652
  * `missing_tiktok_permissions`; connect again and accept every permission on TikTok's screen.
1653
1653
  *
@@ -1944,7 +1944,7 @@ export const listInstagramPages = <ThrowOnError extends boolean = false>(options
1944
1944
  * Select the Page whose Instagram account to connect
1945
1945
  * Saves the selected Page as an Instagram account connected via Facebook Login. The Page access token becomes the account's access token, so every Instagram call for it runs against the Facebook Graph host.
1946
1946
  *
1947
- * One Instagram account per profile: if the profile already has an Instagram account, this replaces it, and picking a different Instagram identity purges the previous account's conversations, external posts and stats.
1947
+ * A different Instagram account is added next to any already connected on the profile; picking one already connected refreshes it.
1948
1948
  *
1949
1949
  */
1950
1950
  export const selectInstagramAccount = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SelectInstagramAccountData, ThrowOnError>) => {
@@ -3009,7 +3009,7 @@ export const updateGmbLocation = <ThrowOnError extends boolean = false>(options:
3009
3009
 
3010
3010
  /**
3011
3011
  * Assign Google Business Profile location to another profile
3012
- * Connect a Google Business Profile location onto a DIFFERENT profile by reusing the OAuth grant from an already-connected Google Business Profile account, with no browser and no re-authorization. Built for agencies whose single Google account has manager access to many client locations and who run one profile per client: connect one location the normal way (browser OAuth), then bulk-assign the rest onto each client's profile via this endpoint. The path `accountId` is a SOURCE connected Google Business Profile account (the token holder); the body `profileId` is the TARGET profile. Returns 409 if the target profile already has a Google Business Profile connection (switch its location with PUT gmb-locations instead).
3012
+ * Connect a Google Business Profile location onto a DIFFERENT profile by reusing the OAuth grant from an already-connected Google Business Profile account, with no browser and no re-authorization. Built for agencies whose single Google account has manager access to many client locations and who run one profile per client: connect one location the normal way (browser OAuth), then bulk-assign the rest onto each client's profile via this endpoint. The path `accountId` is a SOURCE connected Google Business Profile account (the token holder); the body `profileId` is the TARGET profile, which may already hold other locations; assigning a location it already holds refreshes that account.
3013
3013
  *
3014
3014
  */
3015
3015
  export const assignGoogleBusinessLocation = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<AssignGoogleBusinessLocationData, ThrowOnError>) => {
@@ -5504,9 +5504,9 @@ export const listImessageSenders = <ThrowOnError extends boolean = false>(option
5504
5504
  * conversation endpoints. To have Zernio order a new sender for you, use
5505
5505
  * POST /v1/imessage/senders/order instead. Registration attaches the
5506
5506
  * monthly sender fee (billed while active) and requires a payment method
5507
- * (402 without one). One sender per profile: re-registering the SAME
5508
- * handle refreshes it; a different handle returns 409 until the existing
5509
- * sender is canceled.
5507
+ * (402 without one). Re-registering the SAME handle refreshes its account;
5508
+ * a different handle is added as another sender, and a profile can hold
5509
+ * several.
5510
5510
  *
5511
5511
  */
5512
5512
  export const registerImessageSender = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RegisterImessageSenderData, ThrowOnError>) => {
@@ -5817,7 +5817,7 @@ export const listRcsAgents = <ThrowOnError extends boolean = false>(options?: Op
5817
5817
  * Request an RCS agent
5818
5818
  * Requests a new agent for a profile, with a new company (`brand`) or an existing one
5819
5819
  * (`brandId`, skips vetting when it is already verified). The request lands in our review:
5820
- * nothing is filed with the carriers or billed until we submit it. One open agent per profile.
5820
+ * nothing is filed with the carriers or billed until we submit it. A profile can hold several agents.
5821
5821
  * Requires usage-based billing and a card on file. Send an `Idempotency-Key` header to make
5822
5822
  * retries safe.
5823
5823
  *
@@ -7643,8 +7643,7 @@ export const createWhatsAppNumberKycLink = <ThrowOnError extends boolean = false
7643
7643
  *
7644
7644
  * `id` is the number record id from `GET /v1/phone-numbers`, not an account id.
7645
7645
  *
7646
- * A profile holds at most one account per platform, so the destination must be
7647
- * free of every platform this number occupies.
7646
+ * The destination profile may already hold other numbers.
7648
7647
  *
7649
7648
  */
7650
7649
  export const moveWhatsAppNumberToProfile = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<MoveWhatsAppNumberToProfileData, ThrowOnError>) => {
@@ -10,6 +10,12 @@ export type AccountsListResponse = {
10
10
  * Only present when page/limit params are provided
11
11
  */
12
12
  pagination?: Pagination;
13
+ /**
14
+ * Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
15
+ */
16
+ profileTotals?: {
17
+ [key: string]: (number);
18
+ };
13
19
  };
14
20
 
15
21
  export type AccountWithFollowerStats = SocialAccount & {
@@ -9036,6 +9042,10 @@ export type Profile = {
9036
9042
  * Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
9037
9043
  */
9038
9044
  isOverLimit?: boolean;
9045
+ /**
9046
+ * In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
9047
+ */
9048
+ accountCount?: number;
9039
9049
  createdAt?: string;
9040
9050
  };
9041
9051
 
@@ -18087,6 +18097,10 @@ export type ListAccountsData = {
18087
18097
  *
18088
18098
  */
18089
18099
  page?: number;
18100
+ /**
18101
+ * Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
18102
+ */
18103
+ perProfile?: number;
18090
18104
  /**
18091
18105
  * Filter accounts by platform (e.g. "instagram", "twitter").
18092
18106
  */
@@ -18095,6 +18109,10 @@ export type ListAccountsData = {
18095
18109
  * Filter accounts by profile ID. Must be a valid ObjectId.
18096
18110
  */
18097
18111
  profileId?: string;
18112
+ /**
18113
+ * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
18114
+ */
18115
+ profileIds?: string;
18098
18116
  /**
18099
18117
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
18100
18118
  *
@@ -19126,7 +19144,7 @@ export type GetConnectUrlData = {
19126
19144
  */
19127
19145
  profileId: string;
19128
19146
  /**
19129
- * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. While a profile holds one account per platform the login still replaces this account as before. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
19147
+ * Refresh this existing account (a Zernio account id of the same platform on this profile; otherwise 400). The OAuth callback and the selection endpoints (select-page, select-organization, select-board, select-location, Instagram and Snapchat selection) refuse, with `reconnect_account_mismatch`, a login that would write to a different account of the platform on this profile instead of this one. In headless mode the marker travels in the redirect_url we hand you, so pass that URL back unchanged to the selection endpoint. On X it counts toward the OAuth state limit described under redirect_url.
19130
19148
  */
19131
19149
  reconnectAccountId?: string;
19132
19150
  /**
@@ -20053,7 +20071,7 @@ export type SelectFacebookPageData = {
20053
20071
  */
20054
20072
  pageId?: string;
20055
20073
  /**
20056
- * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Facebook account and on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
20074
+ * Several Page IDs to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect, which pick exactly one Page. A single distinct ID behaves exactly like pageId.
20057
20075
  */
20058
20076
  pageIds?: Array<(string)>;
20059
20077
  /**
@@ -20185,7 +20203,7 @@ export type SelectInstagramAccountData = {
20185
20203
  */
20186
20204
  pageId?: string;
20187
20205
  /**
20188
- * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one Instagram account and on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
20206
+ * Several Page IDs whose linked Instagram accounts to connect from one sign-in, each as its own account. With two or more distinct IDs the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single distinct ID behaves exactly like pageId.
20189
20207
  */
20190
20208
  pageIds?: Array<(string)>;
20191
20209
  /**
@@ -21831,7 +21849,7 @@ export type SelectLinkedInOrganizationData = {
21831
21849
  */
21832
21850
  accountType?: 'personal' | 'organization';
21833
21851
  /**
21834
- * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 while a profile holds one LinkedIn account and on a reconnect or an ads connect. A single entry behaves exactly like accountType.
21852
+ * Several accounts to connect from one sign-in (yourself and/or organizations), each as its own account. With two or more entries the response lists `accounts` and `failed` instead of `account`, and the request is refused with 400 on a reconnect or an ads connect. A single entry behaves exactly like accountType.
21835
21853
  */
21836
21854
  selections?: Array<{
21837
21855
  accountType: 'personal' | 'organization';
@@ -33068,7 +33086,7 @@ export type ReleasePhoneNumberError = (unknown | {
33068
33086
  export type PurchasePhoneNumberData = {
33069
33087
  body: {
33070
33088
  /**
33071
- * Preferred profile for the number. One number = one profile, so when the requested profile already holds a number the API assigns the next free profile instead (or creates one) and returns the actual assignment in `profileId` on the response.
33089
+ * Profile for the number, which may already hold other numbers. Without it the number goes to the default profile. The response's `profileId` carries the assignment.
33072
33090
  *
33073
33091
  */
33074
33092
  profileId: string;