@zernio/node 0.2.1049 → 0.2.1050

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
@@ -22700,7 +22700,22 @@ type SelectLinkedInOrganizationData = {
22700
22700
  userProfile: {
22701
22701
  [key: string]: unknown;
22702
22702
  };
22703
- accountType: 'personal' | 'organization';
22703
+ /**
22704
+ * Send this (with selectedOrganization for an organization) or selections, not both.
22705
+ */
22706
+ accountType?: 'personal' | 'organization';
22707
+ /**
22708
+ * 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.
22709
+ */
22710
+ selections?: Array<{
22711
+ accountType: 'personal' | 'organization';
22712
+ /**
22713
+ * Same shape as selectedOrganization.
22714
+ */
22715
+ selectedOrganization?: {
22716
+ [key: string]: unknown;
22717
+ };
22718
+ }>;
22704
22719
  selectedOrganization?: {
22705
22720
  id: string;
22706
22721
  urn: string;
@@ -22729,6 +22744,20 @@ type SelectLinkedInOrganizationResponse = ({
22729
22744
  isActive?: boolean;
22730
22745
  accountType?: 'personal' | 'organization';
22731
22746
  };
22747
+ /**
22748
+ * selections only. The connected accounts, same shape as `account`. The redirect_url then carries `accountIds` (comma-separated) and `accountId` of the first.
22749
+ */
22750
+ accounts?: Array<{
22751
+ [key: string]: unknown;
22752
+ }>;
22753
+ /**
22754
+ * selections only. The accounts that could not be connected while the others were. `id` is the organization URN or the member id, or `selections[i]` for an entry naming neither.
22755
+ */
22756
+ failed?: Array<{
22757
+ id?: string;
22758
+ code?: string;
22759
+ message?: string;
22760
+ }>;
22732
22761
  bulkRefresh?: {
22733
22762
  updatedCount?: number;
22734
22763
  errors?: number;
package/dist/index.d.ts CHANGED
@@ -22700,7 +22700,22 @@ type SelectLinkedInOrganizationData = {
22700
22700
  userProfile: {
22701
22701
  [key: string]: unknown;
22702
22702
  };
22703
- accountType: 'personal' | 'organization';
22703
+ /**
22704
+ * Send this (with selectedOrganization for an organization) or selections, not both.
22705
+ */
22706
+ accountType?: 'personal' | 'organization';
22707
+ /**
22708
+ * 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.
22709
+ */
22710
+ selections?: Array<{
22711
+ accountType: 'personal' | 'organization';
22712
+ /**
22713
+ * Same shape as selectedOrganization.
22714
+ */
22715
+ selectedOrganization?: {
22716
+ [key: string]: unknown;
22717
+ };
22718
+ }>;
22704
22719
  selectedOrganization?: {
22705
22720
  id: string;
22706
22721
  urn: string;
@@ -22729,6 +22744,20 @@ type SelectLinkedInOrganizationResponse = ({
22729
22744
  isActive?: boolean;
22730
22745
  accountType?: 'personal' | 'organization';
22731
22746
  };
22747
+ /**
22748
+ * selections only. The connected accounts, same shape as `account`. The redirect_url then carries `accountIds` (comma-separated) and `accountId` of the first.
22749
+ */
22750
+ accounts?: Array<{
22751
+ [key: string]: unknown;
22752
+ }>;
22753
+ /**
22754
+ * selections only. The accounts that could not be connected while the others were. `id` is the organization URN or the member id, or `selections[i]` for an entry naming neither.
22755
+ */
22756
+ failed?: Array<{
22757
+ id?: string;
22758
+ code?: string;
22759
+ message?: string;
22760
+ }>;
22732
22761
  bulkRefresh?: {
22733
22762
  updatedCount?: number;
22734
22763
  errors?: number;
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.1049",
39
+ version: "0.2.1050",
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.1049",
8
+ version: "0.2.1050",
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.1049",
3
+ "version": "0.2.1050",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21757,7 +21757,22 @@ export type SelectLinkedInOrganizationData = {
21757
21757
  userProfile: {
21758
21758
  [key: string]: unknown;
21759
21759
  };
21760
- accountType: 'personal' | 'organization';
21760
+ /**
21761
+ * Send this (with selectedOrganization for an organization) or selections, not both.
21762
+ */
21763
+ accountType?: 'personal' | 'organization';
21764
+ /**
21765
+ * 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.
21766
+ */
21767
+ selections?: Array<{
21768
+ accountType: 'personal' | 'organization';
21769
+ /**
21770
+ * Same shape as selectedOrganization.
21771
+ */
21772
+ selectedOrganization?: {
21773
+ [key: string]: unknown;
21774
+ };
21775
+ }>;
21761
21776
  selectedOrganization?: {
21762
21777
  id: string;
21763
21778
  urn: string;
@@ -21787,6 +21802,20 @@ export type SelectLinkedInOrganizationResponse = ({
21787
21802
  isActive?: boolean;
21788
21803
  accountType?: 'personal' | 'organization';
21789
21804
  };
21805
+ /**
21806
+ * selections only. The connected accounts, same shape as `account`. The redirect_url then carries `accountIds` (comma-separated) and `accountId` of the first.
21807
+ */
21808
+ accounts?: Array<{
21809
+ [key: string]: unknown;
21810
+ }>;
21811
+ /**
21812
+ * selections only. The accounts that could not be connected while the others were. `id` is the organization URN or the member id, or `selections[i]` for an entry naming neither.
21813
+ */
21814
+ failed?: Array<{
21815
+ id?: string;
21816
+ code?: string;
21817
+ message?: string;
21818
+ }>;
21790
21819
  bulkRefresh?: {
21791
21820
  updatedCount?: number;
21792
21821
  errors?: number;