@zernio/node 0.2.1828 → 0.2.1830

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
@@ -36910,13 +36910,6 @@ type CreatePayeeOnboardingLinkError = (ErrorResponse | {
36910
36910
  */
36911
36911
  effective_account_limit?: number;
36912
36912
  };
36913
- } | {
36914
- error?: string;
36915
- code?: 'insufficient_permissions' | 'unclassified_resource';
36916
- /**
36917
- * The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
36918
- */
36919
- required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
36920
36913
  } | {
36921
36914
  error?: string;
36922
36915
  });
@@ -61433,6 +61426,10 @@ type CreatePhoneNumberPortInData = {
61433
61426
  * Whether the losing account ports all its numbers (full) or keeps some (partial).
61434
61427
  */
61435
61428
  portType?: 'full' | 'partial';
61429
+ /**
61430
+ * Profile the ported numbers land on. When omitted, a profile is picked the same way as for a number purchase. Must be a profile the caller can access.
61431
+ */
61432
+ profileId?: string;
61436
61433
  /**
61437
61434
  * Country-specific requirement values for international ports (from GET /v1/phone-numbers/port-in/requirements). Not needed for US/CA. The LOA and invoice requirements are satisfied automatically by loaDocumentId/invoiceDocumentId, and address-type requirements by the endUser service address.
61438
61435
  */
package/dist/index.d.ts CHANGED
@@ -36910,13 +36910,6 @@ type CreatePayeeOnboardingLinkError = (ErrorResponse | {
36910
36910
  */
36911
36911
  effective_account_limit?: number;
36912
36912
  };
36913
- } | {
36914
- error?: string;
36915
- code?: 'insufficient_permissions' | 'unclassified_resource';
36916
- /**
36917
- * The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
36918
- */
36919
- required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
36920
36913
  } | {
36921
36914
  error?: string;
36922
36915
  });
@@ -61433,6 +61426,10 @@ type CreatePhoneNumberPortInData = {
61433
61426
  * Whether the losing account ports all its numbers (full) or keeps some (partial).
61434
61427
  */
61435
61428
  portType?: 'full' | 'partial';
61429
+ /**
61430
+ * Profile the ported numbers land on. When omitted, a profile is picked the same way as for a number purchase. Must be a profile the caller can access.
61431
+ */
61432
+ profileId?: string;
61436
61433
  /**
61437
61434
  * Country-specific requirement values for international ports (from GET /v1/phone-numbers/port-in/requirements). Not needed for US/CA. The LOA and invoice requirements are satisfied automatically by loaDocumentId/invoiceDocumentId, and address-type requirements by the endUser service address.
61438
61435
  */
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.1828",
39
+ version: "0.2.1830",
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.1828",
8
+ version: "0.2.1830",
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.1828",
3
+ "version": "0.2.1830",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1231,6 +1231,11 @@ export const listPayees = <ThrowOnError extends boolean = false>(options?: Optio
1231
1231
  /**
1232
1232
  * Create a payee onboarding link
1233
1233
  * Returns a Stripe-hosted link where the payee completes identity and bank details so they can receive payouts.
1234
+ *
1235
+ * Only for a payee that has not submitted their details yet: after that, only the payee changes them, from their own payouts page.
1236
+ *
1237
+ * Needs an owner, admin or billing admin, signed in or through a full-access key they created.
1238
+ *
1234
1239
  */
1235
1240
  export const createPayeeOnboardingLink = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreatePayeeOnboardingLinkData, ThrowOnError>) => {
1236
1241
  return (options?.client ?? client).post<CreatePayeeOnboardingLinkResponse, CreatePayeeOnboardingLinkError, ThrowOnError>({
@@ -35819,13 +35819,6 @@ export type CreatePayeeOnboardingLinkError = (ErrorResponse | {
35819
35819
  */
35820
35820
  effective_account_limit?: number;
35821
35821
  };
35822
- } | {
35823
- error?: string;
35824
- code?: 'insufficient_permissions' | 'unclassified_resource';
35825
- /**
35826
- * The resource group the key needs for this operation. Absent on admin-plane and unclassified-path denials.
35827
- */
35828
- required_group?: 'publishing' | 'engagement' | 'messages' | 'contacts' | 'analytics' | 'ads' | 'telephony' | 'accounts' | 'billing' | 'webhooks' | 'commerce' | 'creator_campaigns' | 'money' | 'calendar' | 'files';
35829
35822
  } | {
35830
35823
  error?: string;
35831
35824
  });
@@ -62181,6 +62174,10 @@ export type CreatePhoneNumberPortInData = {
62181
62174
  * Whether the losing account ports all its numbers (full) or keeps some (partial).
62182
62175
  */
62183
62176
  portType?: 'full' | 'partial';
62177
+ /**
62178
+ * Profile the ported numbers land on. When omitted, a profile is picked the same way as for a number purchase. Must be a profile the caller can access.
62179
+ */
62180
+ profileId?: string;
62184
62181
  /**
62185
62182
  * Country-specific requirement values for international ports (from GET /v1/phone-numbers/port-in/requirements). Not needed for US/CA. The LOA and invoice requirements are satisfied automatically by loaDocumentId/invoiceDocumentId, and address-type requirements by the endUser service address.
62186
62183
  */