@getlatedev/node 0.2.1655 → 0.2.1656

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
@@ -484,7 +484,7 @@ declare class Zernio {
484
484
  startMicrosoftAdminConsent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<StartMicrosoftAdminConsentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StartMicrosoftAdminConsentResponse, StartMicrosoftAdminConsentError, ThrowOnError>;
485
485
  createGoogleOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateGoogleOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateGoogleOrgConnectionResponse, ErrorResponse, ThrowOnError>;
486
486
  createMicrosoftOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateMicrosoftOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateMicrosoftOrgConnectionResponse, ErrorResponse, ThrowOnError>;
487
- listOrgConnections: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListOrgConnectionsResponse, ErrorResponse, ThrowOnError>;
487
+ listOrgConnections: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListOrgConnectionsResponse, ErrorResponse, ThrowOnError>;
488
488
  getOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetOrgConnectionResponse, GetOrgConnectionError, ThrowOnError>;
489
489
  updateOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateOrgConnectionResponse, UpdateOrgConnectionError, ThrowOnError>;
490
490
  deleteOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteOrgConnectionResponse, DeleteOrgConnectionError, ThrowOnError>;
@@ -44841,8 +44841,11 @@ type CreateMicrosoftOrgConnectionResponse = ({
44841
44841
  });
44842
44842
  type CreateMicrosoftOrgConnectionError = (ErrorResponse);
44843
44843
  type ListOrgConnectionsData = {
44844
- query: {
44845
- profileId: string;
44844
+ query?: {
44845
+ /**
44846
+ * Limit the list to one profile. Omit to list across every accessible profile.
44847
+ */
44848
+ profileId?: string;
44846
44849
  };
44847
44850
  };
44848
44851
  type ListOrgConnectionsResponse = ({
package/dist/index.d.ts CHANGED
@@ -484,7 +484,7 @@ declare class Zernio {
484
484
  startMicrosoftAdminConsent: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<StartMicrosoftAdminConsentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<StartMicrosoftAdminConsentResponse, StartMicrosoftAdminConsentError, ThrowOnError>;
485
485
  createGoogleOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateGoogleOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateGoogleOrgConnectionResponse, ErrorResponse, ThrowOnError>;
486
486
  createMicrosoftOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateMicrosoftOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateMicrosoftOrgConnectionResponse, ErrorResponse, ThrowOnError>;
487
- listOrgConnections: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListOrgConnectionsResponse, ErrorResponse, ThrowOnError>;
487
+ listOrgConnections: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListOrgConnectionsResponse, ErrorResponse, ThrowOnError>;
488
488
  getOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetOrgConnectionResponse, GetOrgConnectionError, ThrowOnError>;
489
489
  updateOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateOrgConnectionResponse, UpdateOrgConnectionError, ThrowOnError>;
490
490
  deleteOrgConnection: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteOrgConnectionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteOrgConnectionResponse, DeleteOrgConnectionError, ThrowOnError>;
@@ -44841,8 +44841,11 @@ type CreateMicrosoftOrgConnectionResponse = ({
44841
44841
  });
44842
44842
  type CreateMicrosoftOrgConnectionError = (ErrorResponse);
44843
44843
  type ListOrgConnectionsData = {
44844
- query: {
44845
- profileId: string;
44844
+ query?: {
44845
+ /**
44846
+ * Limit the list to one profile. Omit to list across every accessible profile.
44847
+ */
44848
+ profileId?: string;
44846
44849
  };
44847
44850
  };
44848
44851
  type ListOrgConnectionsResponse = ({
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: "@getlatedev/node",
39
- version: "0.2.1655",
39
+ version: "0.2.1656",
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: "@getlatedev/node",
8
- version: "0.2.1655",
8
+ version: "0.2.1656",
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": "@getlatedev/node",
3
- "version": "0.2.1655",
3
+ "version": "0.2.1656",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6924,9 +6924,9 @@ export const createMicrosoftOrgConnection = <ThrowOnError extends boolean = fals
6924
6924
 
6925
6925
  /**
6926
6926
  * List organization connections
6927
- * The Google Workspace and Microsoft 365 organization connections on a profile, newest first.
6927
+ * The Google Workspace and Microsoft 365 organization connections, newest first. Pass `profileId` to list one profile; omit it to list every profile the API key can access (a profile-restricted key or team member only sees its own profiles).
6928
6928
  */
6929
- export const listOrgConnections = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => {
6929
+ export const listOrgConnections = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListOrgConnectionsData, ThrowOnError>) => {
6930
6930
  return (options?.client ?? client).get<ListOrgConnectionsResponse, ListOrgConnectionsError, ThrowOnError>({
6931
6931
  ...options,
6932
6932
  url: '/v1/org-connections'
@@ -44689,8 +44689,11 @@ export type CreateMicrosoftOrgConnectionResponse = ({
44689
44689
  export type CreateMicrosoftOrgConnectionError = (ErrorResponse);
44690
44690
 
44691
44691
  export type ListOrgConnectionsData = {
44692
- query: {
44693
- profileId: string;
44692
+ query?: {
44693
+ /**
44694
+ * Limit the list to one profile. Omit to list across every accessible profile.
44695
+ */
44696
+ profileId?: string;
44694
44697
  };
44695
44698
  };
44696
44699