@getlatedev/node 0.2.1654 → 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 +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -3
- package/src/generated/types.gen.ts +5 -2
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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
|
|
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
|
|
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'
|
|
@@ -9063,7 +9063,7 @@ export const transferVoiceCall = <ThrowOnError extends boolean = false>(options:
|
|
|
9063
9063
|
* Estimate call cost
|
|
9064
9064
|
* Pre-call cost estimate for a PSTN call: the carrier leg plus optional recording and transcription add-ons.
|
|
9065
9065
|
*
|
|
9066
|
-
*
|
|
9066
|
+
* The per-minute figure is the most a minute can cost to that destination, so the final charge can be lower.
|
|
9067
9067
|
*
|
|
9068
9068
|
* The carrier figure follows the carrier's per-destination rate card: a call dialed from a number in the destination country uses the local mobile rate, and a `tel:` forward destination is quoted as a second carrier leg billed from the same number.
|
|
9069
9069
|
*
|
|
@@ -44689,8 +44689,11 @@ export type CreateMicrosoftOrgConnectionResponse = ({
|
|
|
44689
44689
|
export type CreateMicrosoftOrgConnectionError = (ErrorResponse);
|
|
44690
44690
|
|
|
44691
44691
|
export type ListOrgConnectionsData = {
|
|
44692
|
-
query
|
|
44693
|
-
|
|
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
|
|