@livechat/developer-studio-api 1.0.3 → 1.0.5
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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +215 -68
- package/dist/index.mjs +215 -68
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -93,6 +93,7 @@ declare function getGitHubClientAuthorization(req: {
|
|
|
93
93
|
}): GithubClientInstanceAuthorization;
|
|
94
94
|
interface GithubClientRequestOptions {
|
|
95
95
|
token?: string;
|
|
96
|
+
ensureAuthorizationToken?: boolean;
|
|
96
97
|
}
|
|
97
98
|
declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
|
|
98
99
|
declare function initGithubClientInstance(token?: string): void;
|
|
@@ -163,6 +164,7 @@ interface NetlifyClientInstanceAuthorization {
|
|
|
163
164
|
}
|
|
164
165
|
interface NetlifyClientInstanceOptions {
|
|
165
166
|
token?: string;
|
|
167
|
+
ensureAuthorizationToken?: boolean;
|
|
166
168
|
}
|
|
167
169
|
declare const netlifyClientInstance: axios.AxiosInstance;
|
|
168
170
|
declare function getNetlifyClientAuthorization(req: {
|
|
@@ -374,6 +376,7 @@ interface SentryClientInstanceAuthorization {
|
|
|
374
376
|
}
|
|
375
377
|
interface SentryClientInstanceOptions {
|
|
376
378
|
token?: string;
|
|
379
|
+
ensureAuthorizationToken?: boolean;
|
|
377
380
|
}
|
|
378
381
|
declare const sentryClientInstance: axios.AxiosInstance;
|
|
379
382
|
declare function getSentryClientAuthorization(req: {
|
|
@@ -468,6 +471,7 @@ interface VercelClientInstanceAuthorization {
|
|
|
468
471
|
}
|
|
469
472
|
interface VercelClientInstanceOptions {
|
|
470
473
|
token?: string;
|
|
474
|
+
ensureAuthorizationToken?: boolean;
|
|
471
475
|
}
|
|
472
476
|
declare const vercelClientInstance: axios.AxiosInstance;
|
|
473
477
|
declare function getVercelClientAuthorization(req: {
|
|
@@ -2077,7 +2081,7 @@ declare const api: {
|
|
|
2077
2081
|
installation: {
|
|
2078
2082
|
getInstallation(account?: string | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubInstallation | undefined>;
|
|
2079
2083
|
getInstallations(authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubInstallation[]>;
|
|
2080
|
-
getInstallationRepositories(installationId: string): Promise<GitHubRepository[]>;
|
|
2084
|
+
getInstallationRepositories(installationId: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository[]>;
|
|
2081
2085
|
};
|
|
2082
2086
|
repository: {
|
|
2083
2087
|
getRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository>;
|
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ declare function getGitHubClientAuthorization(req: {
|
|
|
93
93
|
}): GithubClientInstanceAuthorization;
|
|
94
94
|
interface GithubClientRequestOptions {
|
|
95
95
|
token?: string;
|
|
96
|
+
ensureAuthorizationToken?: boolean;
|
|
96
97
|
}
|
|
97
98
|
declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
|
|
98
99
|
declare function initGithubClientInstance(token?: string): void;
|
|
@@ -163,6 +164,7 @@ interface NetlifyClientInstanceAuthorization {
|
|
|
163
164
|
}
|
|
164
165
|
interface NetlifyClientInstanceOptions {
|
|
165
166
|
token?: string;
|
|
167
|
+
ensureAuthorizationToken?: boolean;
|
|
166
168
|
}
|
|
167
169
|
declare const netlifyClientInstance: axios.AxiosInstance;
|
|
168
170
|
declare function getNetlifyClientAuthorization(req: {
|
|
@@ -374,6 +376,7 @@ interface SentryClientInstanceAuthorization {
|
|
|
374
376
|
}
|
|
375
377
|
interface SentryClientInstanceOptions {
|
|
376
378
|
token?: string;
|
|
379
|
+
ensureAuthorizationToken?: boolean;
|
|
377
380
|
}
|
|
378
381
|
declare const sentryClientInstance: axios.AxiosInstance;
|
|
379
382
|
declare function getSentryClientAuthorization(req: {
|
|
@@ -468,6 +471,7 @@ interface VercelClientInstanceAuthorization {
|
|
|
468
471
|
}
|
|
469
472
|
interface VercelClientInstanceOptions {
|
|
470
473
|
token?: string;
|
|
474
|
+
ensureAuthorizationToken?: boolean;
|
|
471
475
|
}
|
|
472
476
|
declare const vercelClientInstance: axios.AxiosInstance;
|
|
473
477
|
declare function getVercelClientAuthorization(req: {
|
|
@@ -2077,7 +2081,7 @@ declare const api: {
|
|
|
2077
2081
|
installation: {
|
|
2078
2082
|
getInstallation(account?: string | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubInstallation | undefined>;
|
|
2079
2083
|
getInstallations(authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubInstallation[]>;
|
|
2080
|
-
getInstallationRepositories(installationId: string): Promise<GitHubRepository[]>;
|
|
2084
|
+
getInstallationRepositories(installationId: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository[]>;
|
|
2081
2085
|
};
|
|
2082
2086
|
repository: {
|
|
2083
2087
|
getRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository>;
|