@inferencesh/sdk 0.41.4 → 0.41.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/CHANGELOG.md +5 -0
- package/dist/types.d.ts +37 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.41.5] - 2026-11-21
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- `OAuthAppDTO`: one of a provider's OAuth apps, with `default`, `usual` and `hook_url`; `CredentialConnectRequest.app_credential_id` names the app a connect goes through (api-v1589).
|
|
14
|
+
|
|
10
15
|
## [0.41.4] - 2026-11-18
|
|
11
16
|
|
|
12
17
|
### Added
|
package/dist/types.d.ts
CHANGED
|
@@ -916,6 +916,13 @@ export interface CredentialConnectRequest {
|
|
|
916
916
|
* rather than reuse the one it remembers.
|
|
917
917
|
*/
|
|
918
918
|
another_account?: boolean;
|
|
919
|
+
/**
|
|
920
|
+
* AppCredentialID is the OAuth app the login goes through: one of the
|
|
921
|
+
* provider's apps the caller can connect through
|
|
922
|
+
* (CredentialConfigDTO.Apps). Empty: the default one; refused when the
|
|
923
|
+
* caller has several and none is the default.
|
|
924
|
+
*/
|
|
925
|
+
app_credential_id?: string;
|
|
919
926
|
}
|
|
920
927
|
/**
|
|
921
928
|
* CredentialCompleteOAuthRequest is what the provider's redirect delivered:
|
|
@@ -2984,6 +2991,28 @@ export interface CredentialDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
2984
2991
|
*/
|
|
2985
2992
|
secrets?: CredentialSecretRef[];
|
|
2986
2993
|
}
|
|
2994
|
+
/**
|
|
2995
|
+
* OAuthAppDTO is one OAuth app a provider's logins can go through
|
|
2996
|
+
* (grant=credentials), as the caller sees it. DisplayName tells it apart
|
|
2997
|
+
* from the provider's other apps.
|
|
2998
|
+
*/
|
|
2999
|
+
export interface OAuthAppDTO extends CredentialDTO {
|
|
3000
|
+
/**
|
|
3001
|
+
* HookURL is where the app delivers its events; empty when the
|
|
3002
|
+
* provider's apps deliver none.
|
|
3003
|
+
*/
|
|
3004
|
+
hook_url?: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* Default: a connect that names no app goes through this one.
|
|
3007
|
+
*/
|
|
3008
|
+
default: boolean;
|
|
3009
|
+
/**
|
|
3010
|
+
* Usual: the owner's usual app for the provider (PUT
|
|
3011
|
+
* /credentials/{provider}/app). Another app (POST
|
|
3012
|
+
* /credentials/{provider}/apps) serves only a connect that names it.
|
|
3013
|
+
*/
|
|
3014
|
+
usual: boolean;
|
|
3015
|
+
}
|
|
2987
3016
|
/**
|
|
2988
3017
|
* CredentialSecretRef names one secret linked to a credential: the row's
|
|
2989
3018
|
* id, the key it is stored under and when its value last changed.
|
|
@@ -3076,6 +3105,14 @@ export interface CredentialConfigDTO {
|
|
|
3076
3105
|
* deliver none.
|
|
3077
3106
|
*/
|
|
3078
3107
|
hook_url?: string;
|
|
3108
|
+
/**
|
|
3109
|
+
* Apps is every OAuth app the caller can connect through for this
|
|
3110
|
+
* provider: the workspace's own, its org's and the platform's, App
|
|
3111
|
+
* among them. More than one when a workspace holds another app next to
|
|
3112
|
+
* its usual one; a connect then names the one it goes through
|
|
3113
|
+
* (CredentialConnectRequest.AppCredentialID).
|
|
3114
|
+
*/
|
|
3115
|
+
apps?: (OAuthAppDTO | undefined)[];
|
|
3079
3116
|
/**
|
|
3080
3117
|
* AuthProviderID is set when the provider is one the team defined
|
|
3081
3118
|
* itself (models.AuthProvider), so the UI can offer edit and remove.
|