@zephytiju/juntai-typescript-sdk 2.0.0 → 2.2.0
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 +14 -0
- package/README.md +17 -1
- package/dist/clients/platform.account/index.d.ts +5 -0
- package/dist/clients/platform.account/index.js +4 -0
- package/dist/clients/platform.iam/index.d.ts +5 -0
- package/dist/clients/platform.iam/index.js +4 -0
- package/dist/generated/platform.account/client/client.gen.d.ts +2 -0
- package/dist/generated/platform.account/client/client.gen.js +216 -0
- package/dist/generated/platform.account/client/index.d.ts +10 -0
- package/dist/generated/platform.account/client/index.js +6 -0
- package/dist/generated/platform.account/client/types.gen.d.ts +120 -0
- package/dist/generated/platform.account/client/types.gen.js +2 -0
- package/dist/generated/platform.account/client/utils.gen.d.ts +37 -0
- package/dist/generated/platform.account/client/utils.gen.js +228 -0
- package/dist/generated/platform.account/client.gen.d.ts +12 -0
- package/dist/generated/platform.account/client.gen.js +3 -0
- package/dist/generated/platform.account/core/auth.gen.d.ts +25 -0
- package/dist/generated/platform.account/core/auth.gen.js +14 -0
- package/dist/generated/platform.account/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/platform.account/core/bodySerializer.gen.js +57 -0
- package/dist/generated/platform.account/core/params.gen.d.ts +43 -0
- package/dist/generated/platform.account/core/params.gen.js +109 -0
- package/dist/generated/platform.account/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/platform.account/core/pathSerializer.gen.js +106 -0
- package/dist/generated/platform.account/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/platform.account/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/platform.account/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/platform.account/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/platform.account/core/types.gen.d.ts +83 -0
- package/dist/generated/platform.account/core/types.gen.js +2 -0
- package/dist/generated/platform.account/core/utils.gen.d.ts +19 -0
- package/dist/generated/platform.account/core/utils.gen.js +87 -0
- package/dist/generated/platform.account/index.d.ts +2 -0
- package/dist/generated/platform.account/index.js +2 -0
- package/dist/generated/platform.account/sdk.gen.d.ts +31 -0
- package/dist/generated/platform.account/sdk.gen.js +54 -0
- package/dist/generated/platform.account/types.gen.d.ts +274 -0
- package/dist/generated/platform.account/types.gen.js +2 -0
- package/dist/generated/platform.iam/client/client.gen.d.ts +2 -0
- package/dist/generated/platform.iam/client/client.gen.js +216 -0
- package/dist/generated/platform.iam/client/index.d.ts +10 -0
- package/dist/generated/platform.iam/client/index.js +6 -0
- package/dist/generated/platform.iam/client/types.gen.d.ts +120 -0
- package/dist/generated/platform.iam/client/types.gen.js +2 -0
- package/dist/generated/platform.iam/client/utils.gen.d.ts +37 -0
- package/dist/generated/platform.iam/client/utils.gen.js +228 -0
- package/dist/generated/platform.iam/client.gen.d.ts +12 -0
- package/dist/generated/platform.iam/client.gen.js +3 -0
- package/dist/generated/platform.iam/core/auth.gen.d.ts +25 -0
- package/dist/generated/platform.iam/core/auth.gen.js +14 -0
- package/dist/generated/platform.iam/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/platform.iam/core/bodySerializer.gen.js +57 -0
- package/dist/generated/platform.iam/core/params.gen.d.ts +43 -0
- package/dist/generated/platform.iam/core/params.gen.js +109 -0
- package/dist/generated/platform.iam/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/platform.iam/core/pathSerializer.gen.js +106 -0
- package/dist/generated/platform.iam/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/platform.iam/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/platform.iam/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/platform.iam/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/platform.iam/core/types.gen.d.ts +83 -0
- package/dist/generated/platform.iam/core/types.gen.js +2 -0
- package/dist/generated/platform.iam/core/utils.gen.d.ts +19 -0
- package/dist/generated/platform.iam/core/utils.gen.js +87 -0
- package/dist/generated/platform.iam/index.d.ts +2 -0
- package/dist/generated/platform.iam/index.js +2 -0
- package/dist/generated/platform.iam/sdk.gen.d.ts +25 -0
- package/dist/generated/platform.iam/sdk.gen.js +12 -0
- package/dist/generated/platform.iam/types.gen.d.ts +239 -0
- package/dist/generated/platform.iam/types.gen.js +2 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/release-manifest.json +30 -2
- package/package.json +9 -1
- package/sources/openapi.lock.json +38 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
export type Identifier = string;
|
|
5
|
+
export type Revision = string;
|
|
6
|
+
export type Scope = {
|
|
7
|
+
plane: 'account';
|
|
8
|
+
} | {
|
|
9
|
+
plane: 'application';
|
|
10
|
+
applicationId: Identifier;
|
|
11
|
+
};
|
|
12
|
+
export type EntityBase = {
|
|
13
|
+
id: Identifier;
|
|
14
|
+
displayName: string;
|
|
15
|
+
state: 'Active' | 'Disabled' | 'Revoked';
|
|
16
|
+
updated: string;
|
|
17
|
+
revision: Revision;
|
|
18
|
+
};
|
|
19
|
+
export type User = EntityBase & {
|
|
20
|
+
principalType: 'person' | 'service';
|
|
21
|
+
email?: string;
|
|
22
|
+
};
|
|
23
|
+
export type Group = EntityBase & {
|
|
24
|
+
members: Array<Identifier>;
|
|
25
|
+
};
|
|
26
|
+
export type Role = EntityBase & {
|
|
27
|
+
members: Array<Identifier>;
|
|
28
|
+
groups: Array<Identifier>;
|
|
29
|
+
};
|
|
30
|
+
export type PolicyStatement = {
|
|
31
|
+
statementId: Identifier;
|
|
32
|
+
/**
|
|
33
|
+
* Exactly one effect per ordered statement.
|
|
34
|
+
*/
|
|
35
|
+
effect: 'Allow' | 'Deny';
|
|
36
|
+
resources: Array<string>;
|
|
37
|
+
actions: Array<string>;
|
|
38
|
+
};
|
|
39
|
+
export type PolicySummary = EntityBase & {
|
|
40
|
+
/**
|
|
41
|
+
* Exact document-level Policy column.
|
|
42
|
+
*/
|
|
43
|
+
policy: string;
|
|
44
|
+
/**
|
|
45
|
+
* Exact document-level Policy ID column.
|
|
46
|
+
*/
|
|
47
|
+
policyId: Identifier;
|
|
48
|
+
/**
|
|
49
|
+
* Count only; effect/resource/action are never flattened into the summary.
|
|
50
|
+
*/
|
|
51
|
+
statements: number;
|
|
52
|
+
assignments: number;
|
|
53
|
+
actions: [
|
|
54
|
+
'Details',
|
|
55
|
+
'Edit',
|
|
56
|
+
'Delete'
|
|
57
|
+
];
|
|
58
|
+
};
|
|
59
|
+
export type Policy = PolicySummary & {
|
|
60
|
+
orderedStatements: Array<PolicyStatement>;
|
|
61
|
+
assignmentIds: Array<Identifier>;
|
|
62
|
+
};
|
|
63
|
+
export type Entity = User | Group | Role | Policy;
|
|
64
|
+
export type UserInput = {
|
|
65
|
+
id: Identifier;
|
|
66
|
+
displayName: string;
|
|
67
|
+
state: 'Active' | 'Disabled' | 'Revoked';
|
|
68
|
+
principalType: 'person' | 'service';
|
|
69
|
+
email?: string;
|
|
70
|
+
};
|
|
71
|
+
export type GroupInput = {
|
|
72
|
+
id: Identifier;
|
|
73
|
+
displayName: string;
|
|
74
|
+
state: 'Active' | 'Disabled' | 'Revoked';
|
|
75
|
+
members: Array<Identifier>;
|
|
76
|
+
};
|
|
77
|
+
export type RoleInput = {
|
|
78
|
+
id: Identifier;
|
|
79
|
+
displayName: string;
|
|
80
|
+
state: 'Active' | 'Disabled' | 'Revoked';
|
|
81
|
+
members: Array<Identifier>;
|
|
82
|
+
groups: Array<Identifier>;
|
|
83
|
+
};
|
|
84
|
+
export type PolicyInput = {
|
|
85
|
+
id: Identifier;
|
|
86
|
+
displayName: string;
|
|
87
|
+
state: 'Active' | 'Disabled' | 'Revoked';
|
|
88
|
+
policy?: string;
|
|
89
|
+
orderedStatements: Array<PolicyStatement>;
|
|
90
|
+
assignmentIds: Array<Identifier>;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Kind-specific browser-safe fields. Credentials, owner/tenant overrides, tokens, raw Casdoor records, and application snapshots are rejected by strict server projection.
|
|
94
|
+
*/
|
|
95
|
+
export type EntityInput = UserInput | GroupInput | RoleInput | PolicyInput;
|
|
96
|
+
export type UpdateRequest = {
|
|
97
|
+
revision: Revision;
|
|
98
|
+
entity: EntityInput;
|
|
99
|
+
};
|
|
100
|
+
export type DeleteRequest = {
|
|
101
|
+
revision: Revision;
|
|
102
|
+
confirmId: Identifier;
|
|
103
|
+
};
|
|
104
|
+
export type ListResponse = {
|
|
105
|
+
apiVersion: 'juntai.console.iam/v1';
|
|
106
|
+
scope: Scope;
|
|
107
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
108
|
+
items: Array<User | Group | Role | PolicySummary>;
|
|
109
|
+
nextCursor?: string;
|
|
110
|
+
};
|
|
111
|
+
export type ItemResponse = {
|
|
112
|
+
apiVersion: 'juntai.console.iam/v1';
|
|
113
|
+
scope: Scope;
|
|
114
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
115
|
+
item: Entity;
|
|
116
|
+
};
|
|
117
|
+
export type ErrorResponse = {
|
|
118
|
+
error: {
|
|
119
|
+
code: string;
|
|
120
|
+
message: string;
|
|
121
|
+
};
|
|
122
|
+
requestId: string;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
126
|
+
*/
|
|
127
|
+
export type ApplicationId = Identifier;
|
|
128
|
+
export type Kind = 'users' | 'groups' | 'roles' | 'policies';
|
|
129
|
+
export type Id = Identifier;
|
|
130
|
+
/**
|
|
131
|
+
* Proof bound to the encrypted same-origin Console session.
|
|
132
|
+
*/
|
|
133
|
+
export type Csrf = string;
|
|
134
|
+
export type GetApiIamV1AccountByKindData = {
|
|
135
|
+
body?: never;
|
|
136
|
+
path: {
|
|
137
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
138
|
+
};
|
|
139
|
+
query?: never;
|
|
140
|
+
url: '/api/iam/v1/account/{kind}';
|
|
141
|
+
};
|
|
142
|
+
export type PostApiIamV1AccountByKindData = {
|
|
143
|
+
body?: never;
|
|
144
|
+
path: {
|
|
145
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
146
|
+
};
|
|
147
|
+
query?: never;
|
|
148
|
+
url: '/api/iam/v1/account/{kind}';
|
|
149
|
+
};
|
|
150
|
+
export type DeleteApiIamV1AccountByKindByIdData = {
|
|
151
|
+
body?: never;
|
|
152
|
+
path: {
|
|
153
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
154
|
+
id: Identifier;
|
|
155
|
+
};
|
|
156
|
+
query?: never;
|
|
157
|
+
url: '/api/iam/v1/account/{kind}/{id}';
|
|
158
|
+
};
|
|
159
|
+
export type GetApiIamV1AccountByKindByIdData = {
|
|
160
|
+
body?: never;
|
|
161
|
+
path: {
|
|
162
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
163
|
+
id: Identifier;
|
|
164
|
+
};
|
|
165
|
+
query?: never;
|
|
166
|
+
url: '/api/iam/v1/account/{kind}/{id}';
|
|
167
|
+
};
|
|
168
|
+
export type PutApiIamV1AccountByKindByIdData = {
|
|
169
|
+
body?: never;
|
|
170
|
+
path: {
|
|
171
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
172
|
+
id: Identifier;
|
|
173
|
+
};
|
|
174
|
+
query?: never;
|
|
175
|
+
url: '/api/iam/v1/account/{kind}/{id}';
|
|
176
|
+
};
|
|
177
|
+
export type GetApiIamV1ApplicationsByApplicationIdByKindData = {
|
|
178
|
+
body?: never;
|
|
179
|
+
path: {
|
|
180
|
+
/**
|
|
181
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
182
|
+
*/
|
|
183
|
+
applicationId: Identifier;
|
|
184
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
185
|
+
};
|
|
186
|
+
query?: never;
|
|
187
|
+
url: '/api/iam/v1/applications/{applicationId}/{kind}';
|
|
188
|
+
};
|
|
189
|
+
export type PostApiIamV1ApplicationsByApplicationIdByKindData = {
|
|
190
|
+
body?: never;
|
|
191
|
+
path: {
|
|
192
|
+
/**
|
|
193
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
194
|
+
*/
|
|
195
|
+
applicationId: Identifier;
|
|
196
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
197
|
+
};
|
|
198
|
+
query?: never;
|
|
199
|
+
url: '/api/iam/v1/applications/{applicationId}/{kind}';
|
|
200
|
+
};
|
|
201
|
+
export type DeleteApiIamV1ApplicationsByApplicationIdByKindByIdData = {
|
|
202
|
+
body?: never;
|
|
203
|
+
path: {
|
|
204
|
+
/**
|
|
205
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
206
|
+
*/
|
|
207
|
+
applicationId: Identifier;
|
|
208
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
209
|
+
id: Identifier;
|
|
210
|
+
};
|
|
211
|
+
query?: never;
|
|
212
|
+
url: '/api/iam/v1/applications/{applicationId}/{kind}/{id}';
|
|
213
|
+
};
|
|
214
|
+
export type GetApiIamV1ApplicationsByApplicationIdByKindByIdData = {
|
|
215
|
+
body?: never;
|
|
216
|
+
path: {
|
|
217
|
+
/**
|
|
218
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
219
|
+
*/
|
|
220
|
+
applicationId: Identifier;
|
|
221
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
222
|
+
id: Identifier;
|
|
223
|
+
};
|
|
224
|
+
query?: never;
|
|
225
|
+
url: '/api/iam/v1/applications/{applicationId}/{kind}/{id}';
|
|
226
|
+
};
|
|
227
|
+
export type PutApiIamV1ApplicationsByApplicationIdByKindByIdData = {
|
|
228
|
+
body?: never;
|
|
229
|
+
path: {
|
|
230
|
+
/**
|
|
231
|
+
* Exact immutable application identifier; labels and snapshots are never accepted.
|
|
232
|
+
*/
|
|
233
|
+
applicationId: Identifier;
|
|
234
|
+
kind: 'users' | 'groups' | 'roles' | 'policies';
|
|
235
|
+
id: Identifier;
|
|
236
|
+
};
|
|
237
|
+
query?: never;
|
|
238
|
+
url: '/api/iam/v1/applications/{applicationId}/{kind}/{id}';
|
|
239
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/** Generated aggregate client namespace. Do not edit by hand. */
|
|
2
2
|
import * as juntaiUsageCost from "./clients/juntai.usage-cost/index.js";
|
|
3
|
+
import * as platformAccount from "./clients/platform.account/index.js";
|
|
3
4
|
import * as platformApplicationMetadata from "./clients/platform.application-metadata/index.js";
|
|
4
5
|
import * as platformBlueprint from "./clients/platform.blueprint/index.js";
|
|
5
|
-
|
|
6
|
+
import * as platformIam from "./clients/platform.iam/index.js";
|
|
7
|
+
export { juntaiUsageCost, platformAccount, platformApplicationMetadata, platformBlueprint, platformIam };
|
|
6
8
|
export declare const clients: {
|
|
7
9
|
readonly "juntai.usage-cost": typeof juntaiUsageCost;
|
|
10
|
+
readonly "platform.account": typeof platformAccount;
|
|
8
11
|
readonly "platform.application-metadata": typeof platformApplicationMetadata;
|
|
9
12
|
readonly "platform.blueprint": typeof platformBlueprint;
|
|
13
|
+
readonly "platform.iam": typeof platformIam;
|
|
10
14
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/** Generated aggregate client namespace. Do not edit by hand. */
|
|
2
2
|
import * as juntaiUsageCost from "./clients/juntai.usage-cost/index.js";
|
|
3
|
+
import * as platformAccount from "./clients/platform.account/index.js";
|
|
3
4
|
import * as platformApplicationMetadata from "./clients/platform.application-metadata/index.js";
|
|
4
5
|
import * as platformBlueprint from "./clients/platform.blueprint/index.js";
|
|
5
|
-
|
|
6
|
+
import * as platformIam from "./clients/platform.iam/index.js";
|
|
7
|
+
export { juntaiUsageCost, platformAccount, platformApplicationMetadata, platformBlueprint, platformIam };
|
|
6
8
|
export const clients = {
|
|
7
9
|
"juntai.usage-cost": juntaiUsageCost,
|
|
10
|
+
"platform.account": platformAccount,
|
|
8
11
|
"platform.application-metadata": platformApplicationMetadata,
|
|
9
12
|
"platform.blueprint": platformBlueprint,
|
|
13
|
+
"platform.iam": platformIam,
|
|
10
14
|
};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": "juntai.typescript-sdk/release-manifest/v1",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@zephytiju/juntai-typescript-sdk",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.2.0"
|
|
6
6
|
},
|
|
7
7
|
"openapiLock": {
|
|
8
8
|
"path": "sources/openapi.lock.json",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "55622913a283ff24359e9f3d2c47fc5e7a3ac84ede14b64e7701bd692ce39559"
|
|
10
10
|
},
|
|
11
11
|
"generator": {
|
|
12
12
|
"name": "@hey-api/openapi-ts",
|
|
@@ -28,6 +28,20 @@
|
|
|
28
28
|
"outputPath": "src/generated/juntai.usage-cost",
|
|
29
29
|
"outputSha256": "1470328f818de67c77dab9c58f1054b5789c0c9c81160b8b7b344eb379f8d0af"
|
|
30
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"serviceId": "platform.account",
|
|
33
|
+
"serviceVersion": "1.0.0",
|
|
34
|
+
"ownerRepository": "https://github.com/zephytiju/JuntaiAccountService",
|
|
35
|
+
"sourceCommit": "e0e18168b150d8f06da3d93d9d8166e2cbbe0c32",
|
|
36
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/JuntaiAccountService/e0e18168b150d8f06da3d93d9d8166e2cbbe0c32/contracts/openapi/account-service.v1.json",
|
|
37
|
+
"artifactManifestDigest": "sha256:56910abbac64d3c8a7065c001d7c69b291c59f0904355c2cc7dacb0f9ad58695",
|
|
38
|
+
"openapiPath": "contracts/openapi/account-service.v1.json",
|
|
39
|
+
"openapiSha256": "56910abbac64d3c8a7065c001d7c69b291c59f0904355c2cc7dacb0f9ad58695",
|
|
40
|
+
"generatorProfile": "juntai.console.same-origin-openapi/v1",
|
|
41
|
+
"namespace": "platformAccount",
|
|
42
|
+
"outputPath": "src/generated/platform.account",
|
|
43
|
+
"outputSha256": "45e7497b71cf3cf99e58e2d4e154279986b24b28efe06339c88e3452f889e9a6"
|
|
44
|
+
},
|
|
31
45
|
{
|
|
32
46
|
"serviceId": "platform.application-metadata",
|
|
33
47
|
"serviceVersion": "2.0.0",
|
|
@@ -55,6 +69,20 @@
|
|
|
55
69
|
"namespace": "platformBlueprint",
|
|
56
70
|
"outputPath": "src/generated/platform.blueprint",
|
|
57
71
|
"outputSha256": "ff4871be1c8eccdcacc5dd8dba087118bedc55904ca3bb4c65a52cb44b2baaf4"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"serviceId": "platform.iam",
|
|
75
|
+
"serviceVersion": "1.0.0",
|
|
76
|
+
"ownerRepository": "https://github.com/zephytiju/JuntaiConsole",
|
|
77
|
+
"sourceCommit": "0247f9b8e750180df5203cf5deab57820f6a3ea3",
|
|
78
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/JuntaiConsole/0247f9b8e750180df5203cf5deab57820f6a3ea3/contracts/iam-administration.openapi.json",
|
|
79
|
+
"artifactManifestDigest": "sha256:a93625583365b064b8b2be65a7f3ee22d2da1ceb40f0ac310f027574314098a7",
|
|
80
|
+
"openapiPath": "contracts/iam-administration.openapi.json",
|
|
81
|
+
"openapiSha256": "a93625583365b064b8b2be65a7f3ee22d2da1ceb40f0ac310f027574314098a7",
|
|
82
|
+
"generatorProfile": "juntai.console.same-origin-openapi/v1",
|
|
83
|
+
"namespace": "platformIam",
|
|
84
|
+
"outputPath": "src/generated/platform.iam",
|
|
85
|
+
"outputSha256": "fea9c56caf85c56ffa2ee20643345e578248738b2b3fe44e1fd7727ebdf11a31"
|
|
58
86
|
}
|
|
59
87
|
]
|
|
60
88
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zephytiju/juntai-typescript-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Aggregate generated TypeScript clients for Console-facing Juntai services",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"types": "./dist/clients/juntai.usage-cost/index.d.ts",
|
|
28
28
|
"import": "./dist/clients/juntai.usage-cost/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./services/platform.account": {
|
|
31
|
+
"types": "./dist/clients/platform.account/index.d.ts",
|
|
32
|
+
"import": "./dist/clients/platform.account/index.js"
|
|
33
|
+
},
|
|
30
34
|
"./services/platform.application-metadata": {
|
|
31
35
|
"types": "./dist/clients/platform.application-metadata/index.d.ts",
|
|
32
36
|
"import": "./dist/clients/platform.application-metadata/index.js"
|
|
@@ -34,6 +38,10 @@
|
|
|
34
38
|
"./services/platform.blueprint": {
|
|
35
39
|
"types": "./dist/clients/platform.blueprint/index.d.ts",
|
|
36
40
|
"import": "./dist/clients/platform.blueprint/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./services/platform.iam": {
|
|
43
|
+
"types": "./dist/clients/platform.iam/index.d.ts",
|
|
44
|
+
"import": "./dist/clients/platform.iam/index.js"
|
|
37
45
|
}
|
|
38
46
|
},
|
|
39
47
|
"main": "./dist/index.js",
|
|
@@ -25,6 +25,25 @@
|
|
|
25
25
|
"outputPath": "src/generated/juntai.usage-cost",
|
|
26
26
|
"outputSha256": "1470328f818de67c77dab9c58f1054b5789c0c9c81160b8b7b344eb379f8d0af"
|
|
27
27
|
},
|
|
28
|
+
{
|
|
29
|
+
"serviceId": "platform.account",
|
|
30
|
+
"ownerTeam": "Juntai Platform Team",
|
|
31
|
+
"ownerRepository": "https://github.com/zephytiju/JuntaiAccountService",
|
|
32
|
+
"sourceCommit": "e0e18168b150d8f06da3d93d9d8166e2cbbe0c32",
|
|
33
|
+
"serviceVersion": "1.0.0",
|
|
34
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/JuntaiAccountService/e0e18168b150d8f06da3d93d9d8166e2cbbe0c32/contracts/openapi/account-service.v1.json",
|
|
35
|
+
"artifactManifestDigest": "sha256:56910abbac64d3c8a7065c001d7c69b291c59f0904355c2cc7dacb0f9ad58695",
|
|
36
|
+
"openapiPath": "contracts/openapi/account-service.v1.json",
|
|
37
|
+
"openapiSha256": "56910abbac64d3c8a7065c001d7c69b291c59f0904355c2cc7dacb0f9ad58695",
|
|
38
|
+
"snapshotPath": "sources/artifacts/platform.account/56910abbac64d3c8a7065c001d7c69b291c59f0904355c2cc7dacb0f9ad58695.json",
|
|
39
|
+
"generatorName": "@hey-api/openapi-ts",
|
|
40
|
+
"generatorVersion": "0.99.0",
|
|
41
|
+
"generatorProfile": "juntai.console.same-origin-openapi/v1",
|
|
42
|
+
"namespace": "platformAccount",
|
|
43
|
+
"compatibility": "initial",
|
|
44
|
+
"outputPath": "src/generated/platform.account",
|
|
45
|
+
"outputSha256": "45e7497b71cf3cf99e58e2d4e154279986b24b28efe06339c88e3452f889e9a6"
|
|
46
|
+
},
|
|
28
47
|
{
|
|
29
48
|
"serviceId": "platform.application-metadata",
|
|
30
49
|
"ownerTeam": "Juntai Platform Team",
|
|
@@ -62,6 +81,25 @@
|
|
|
62
81
|
"compatibility": "breaking",
|
|
63
82
|
"outputPath": "src/generated/platform.blueprint",
|
|
64
83
|
"outputSha256": "ff4871be1c8eccdcacc5dd8dba087118bedc55904ca3bb4c65a52cb44b2baaf4"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"serviceId": "platform.iam",
|
|
87
|
+
"ownerTeam": "Juntai Platform Team",
|
|
88
|
+
"ownerRepository": "https://github.com/zephytiju/JuntaiConsole",
|
|
89
|
+
"sourceCommit": "0247f9b8e750180df5203cf5deab57820f6a3ea3",
|
|
90
|
+
"serviceVersion": "1.0.0",
|
|
91
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/JuntaiConsole/0247f9b8e750180df5203cf5deab57820f6a3ea3/contracts/iam-administration.openapi.json",
|
|
92
|
+
"artifactManifestDigest": "sha256:a93625583365b064b8b2be65a7f3ee22d2da1ceb40f0ac310f027574314098a7",
|
|
93
|
+
"openapiPath": "contracts/iam-administration.openapi.json",
|
|
94
|
+
"openapiSha256": "a93625583365b064b8b2be65a7f3ee22d2da1ceb40f0ac310f027574314098a7",
|
|
95
|
+
"snapshotPath": "sources/artifacts/platform.iam/a93625583365b064b8b2be65a7f3ee22d2da1ceb40f0ac310f027574314098a7.json",
|
|
96
|
+
"generatorName": "@hey-api/openapi-ts",
|
|
97
|
+
"generatorVersion": "0.99.0",
|
|
98
|
+
"generatorProfile": "juntai.console.same-origin-openapi/v1",
|
|
99
|
+
"namespace": "platformIam",
|
|
100
|
+
"compatibility": "initial",
|
|
101
|
+
"outputPath": "src/generated/platform.iam",
|
|
102
|
+
"outputSha256": "fea9c56caf85c56ffa2ee20643345e578248738b2b3fe44e1fd7727ebdf11a31"
|
|
65
103
|
}
|
|
66
104
|
]
|
|
67
105
|
}
|