@livechat/developer-studio-api 3.0.7 → 3.0.8
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2348,7 +2348,7 @@ declare const api: {
|
|
|
2348
2348
|
};
|
|
2349
2349
|
pat: {
|
|
2350
2350
|
readonly getPersonalAccessTokens: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatDto[], any>>;
|
|
2351
|
-
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<PatWithSecretDto
|
|
2351
|
+
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatWithSecretDto, any>>;
|
|
2352
2352
|
readonly deletePersonalAccessToken: (id: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2353
2353
|
};
|
|
2354
2354
|
organization: {
|
package/dist/index.d.ts
CHANGED
|
@@ -2348,7 +2348,7 @@ declare const api: {
|
|
|
2348
2348
|
};
|
|
2349
2349
|
pat: {
|
|
2350
2350
|
readonly getPersonalAccessTokens: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatDto[], any>>;
|
|
2351
|
-
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<PatWithSecretDto
|
|
2351
|
+
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatWithSecretDto, any>>;
|
|
2352
2352
|
readonly deletePersonalAccessToken: (id: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2353
2353
|
};
|
|
2354
2354
|
organization: {
|
package/dist/index.js
CHANGED
|
@@ -3069,7 +3069,7 @@ var platformAccountsPersonalAccessTokenApi = {
|
|
|
3069
3069
|
scope: scopes.map((item) => item.name).filter((el) => el).join(",")
|
|
3070
3070
|
},
|
|
3071
3071
|
getPlatformAccountsClientConfig(authorization)
|
|
3072
|
-
).
|
|
3072
|
+
).catch((error) => {
|
|
3073
3073
|
throw error.withCustomMessage(
|
|
3074
3074
|
"Personal Access Tokens couldn't be created."
|
|
3075
3075
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -2968,7 +2968,7 @@ var platformAccountsPersonalAccessTokenApi = {
|
|
|
2968
2968
|
scope: scopes.map((item) => item.name).filter((el) => el).join(",")
|
|
2969
2969
|
},
|
|
2970
2970
|
getPlatformAccountsClientConfig(authorization)
|
|
2971
|
-
).
|
|
2971
|
+
).catch((error) => {
|
|
2972
2972
|
throw error.withCustomMessage(
|
|
2973
2973
|
"Personal Access Tokens couldn't be created."
|
|
2974
2974
|
);
|