@zitadel/api 0.3.0 → 0.4.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/README.md +17 -3
- package/dist/api-factory-C5b1Gqwv.mjs +357 -0
- package/dist/api-factory-C5b1Gqwv.mjs.map +1 -0
- package/dist/api-factory-Dt5lUjyu.d.mts +212 -0
- package/dist/api-factory-Dt5lUjyu.d.mts.map +1 -0
- package/dist/{fetch-CtYe0OvX.d.mts → fetch-B-lgjlrf.d.mts} +22 -12
- package/dist/fetch-B-lgjlrf.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +1 -1
- package/dist/generated/endpoints/zitadelNextGen.mjs +129 -122
- package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +33 -26
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +33 -26
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/operations.mjs +1 -1
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-DAm3tCA7.d.mts → index-DGQY1rfH.d.mts} +66 -4
- package/dist/index-DGQY1rfH.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +2 -51
- package/dist/runtime/api-factory.mjs +3 -62
- package/dist/runtime/auth.mjs +1 -1
- package/dist/runtime/auth.mjs.map +1 -1
- package/dist/runtime/base-url.d.mts +14 -0
- package/dist/runtime/base-url.d.mts.map +1 -1
- package/dist/runtime/base-url.mjs +22 -1
- package/dist/runtime/base-url.mjs.map +1 -1
- package/dist/runtime/config.d.mts +1 -1
- package/dist/runtime/config.mjs +1 -1
- package/dist/runtime/fetch.d.mts +2 -2
- package/dist/runtime/fetch.mjs +41 -17
- package/dist/runtime/fetch.mjs.map +1 -1
- package/dist/runtime/paging.d.mts +35 -0
- package/dist/runtime/paging.d.mts.map +1 -0
- package/dist/runtime/paging.mjs +38 -0
- package/dist/runtime/paging.mjs.map +1 -0
- package/dist/{zitadelNextGen-B_VRpP2W.d.mts → zitadelNextGen-BVO4sdKD.d.mts} +37 -30
- package/dist/zitadelNextGen-BVO4sdKD.d.mts.map +1 -0
- package/package.json +6 -1
- package/src/generated/endpoints/zitadelNextGen.ts +131 -124
- package/src/generated/endpoints/zitadelNextGen.zod.ts +33 -26
- package/src/generated/model/deleteUserByID409.ts +20 -0
- package/src/generated/model/deleteUserByID409Details.ts +12 -0
- package/src/generated/model/deleteUserByIDDefault.ts +9 -0
- package/src/generated/model/getFlowStepDefault.ts +9 -0
- package/src/generated/model/index.ts +2 -0
- package/src/generated/model/queryTeamsParams.ts +3 -2
- package/src/generated/model/submitFlowStepDefault.ts +9 -0
- package/src/generated/operations.ts +1 -1
- package/src/generated/paging.ts +128 -0
- package/src/runtime/api-factory.spec.ts +278 -0
- package/src/runtime/api-factory.ts +93 -12
- package/src/runtime/auth.ts +1 -1
- package/src/runtime/base-url.spec.ts +40 -4
- package/src/runtime/base-url.ts +28 -0
- package/src/runtime/fetch.spec.ts +51 -0
- package/src/runtime/fetch.ts +69 -30
- package/src/runtime/paged.spec.ts +104 -0
- package/src/runtime/paged.ts +61 -0
- package/src/runtime/paging.spec.ts +94 -0
- package/src/runtime/paging.ts +58 -0
- package/dist/fetch-CtYe0OvX.d.mts.map +0 -1
- package/dist/index-DAm3tCA7.d.mts.map +0 -1
- package/dist/runtime/api-factory.d.mts.map +0 -1
- package/dist/runtime/api-factory.mjs.map +0 -1
- package/dist/zitadelNextGen-B_VRpP2W.d.mts.map +0 -1
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { $s as ListReleases200ReleasesItem, Bs as ListUserIdentityLinks200IdentityLinksItem, Cc as ListPolicyRevisions200RevisionsItem, Cu as ListDeployments200DeploymentsItem, Es as ListUserPasskeys200PasskeysItem, Ia as QueryGrants200GrantsItem, Ic as ListMyTeams200TeamsItem, Oc as ListPolicies200PoliciesItem, Ri as QueryProjects200ProjectsItem, Tl as ListIdpRevisions200RevisionsItem, Ul as ListFlowDefinitions200FlowDefinitionsItem, Yr as QueryTeams200TeamsItem, ds as ListUserTeams200TeamsItem, hl as ListMyIdentityLinks200IdentityLinksItem, la as QueryIdps200IdpsItem, pc as ListProjectAdmins200AdminsItem, pi as QuerySessions200SessionsItem, qc as ListMyProjects200ProjectsItem, qs as ListSchemas200SchemasItem, sl as ListMyPasskeys200PasskeysItem, vu as ListEvents200DataItem, xr as QueryUsers200UsersItem, yc as ListPreviews200PreviewsItem } from "./index-DGQY1rfH.mjs";
|
|
2
|
+
import { jr as zitadelNextGen_d_exports } from "./zitadelNextGen-BVO4sdKD.mjs";
|
|
3
|
+
//#region src/generated/paging.d.ts
|
|
4
|
+
type Page<K extends keyof typeof zitadelNextGen_d_exports> = Awaited<ReturnType<(typeof zitadelNextGen_d_exports)[K]>>;
|
|
5
|
+
/**
|
|
6
|
+
* The client functions that page (ADR 027), by name: a page's items and its
|
|
7
|
+
* cursor to the next one, each read off the page as the function's response
|
|
8
|
+
* type declares them, and the arguments that fetch the page a cursor names.
|
|
9
|
+
*/
|
|
10
|
+
declare const paging: {
|
|
11
|
+
readonly queryUsers: {
|
|
12
|
+
readonly items: (page: Page<"queryUsers">) => QueryUsers200UsersItem[];
|
|
13
|
+
readonly next: (page: Page<"queryUsers">) => string | null | undefined;
|
|
14
|
+
readonly withToken: ([queryUsersBody, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["queryUsers"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["queryUsers"]>;
|
|
15
|
+
};
|
|
16
|
+
readonly listUserIdentityLinks: {
|
|
17
|
+
readonly items: (page: Page<"listUserIdentityLinks">) => ListUserIdentityLinks200IdentityLinksItem[];
|
|
18
|
+
readonly next: (page: Page<"listUserIdentityLinks">) => string | null | undefined;
|
|
19
|
+
readonly withToken: ([userId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listUserIdentityLinks"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listUserIdentityLinks"]>;
|
|
20
|
+
};
|
|
21
|
+
readonly listUserPasskeys: {
|
|
22
|
+
readonly items: (page: Page<"listUserPasskeys">) => ListUserPasskeys200PasskeysItem[];
|
|
23
|
+
readonly next: (page: Page<"listUserPasskeys">) => string | null | undefined;
|
|
24
|
+
readonly withToken: ([userId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listUserPasskeys"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listUserPasskeys"]>;
|
|
25
|
+
};
|
|
26
|
+
readonly listUserTeams: {
|
|
27
|
+
readonly items: (page: Page<"listUserTeams">) => ListUserTeams200TeamsItem[];
|
|
28
|
+
readonly next: (page: Page<"listUserTeams">) => string | null | undefined;
|
|
29
|
+
readonly withToken: ([userId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listUserTeams"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listUserTeams"]>;
|
|
30
|
+
};
|
|
31
|
+
readonly listMyIdentityLinks: {
|
|
32
|
+
readonly items: (page: Page<"listMyIdentityLinks">) => ListMyIdentityLinks200IdentityLinksItem[];
|
|
33
|
+
readonly next: (page: Page<"listMyIdentityLinks">) => string | null | undefined;
|
|
34
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listMyIdentityLinks"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listMyIdentityLinks"]>;
|
|
35
|
+
};
|
|
36
|
+
readonly listMyPasskeys: {
|
|
37
|
+
readonly items: (page: Page<"listMyPasskeys">) => ListMyPasskeys200PasskeysItem[];
|
|
38
|
+
readonly next: (page: Page<"listMyPasskeys">) => string | null | undefined;
|
|
39
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listMyPasskeys"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listMyPasskeys"]>;
|
|
40
|
+
};
|
|
41
|
+
readonly listMyProjects: {
|
|
42
|
+
readonly items: (page: Page<"listMyProjects">) => ListMyProjects200ProjectsItem[];
|
|
43
|
+
readonly next: (page: Page<"listMyProjects">) => string | null | undefined;
|
|
44
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listMyProjects"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listMyProjects"]>;
|
|
45
|
+
};
|
|
46
|
+
readonly listMyTeams: {
|
|
47
|
+
readonly items: (page: Page<"listMyTeams">) => ListMyTeams200TeamsItem[];
|
|
48
|
+
readonly next: (page: Page<"listMyTeams">) => string | null | undefined;
|
|
49
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listMyTeams"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listMyTeams"]>;
|
|
50
|
+
};
|
|
51
|
+
readonly queryProjects: {
|
|
52
|
+
readonly items: (page: Page<"queryProjects">) => QueryProjects200ProjectsItem[];
|
|
53
|
+
readonly next: (page: Page<"queryProjects">) => string | null | undefined;
|
|
54
|
+
readonly withToken: ([queryProjectsBody, options]: Parameters<(typeof zitadelNextGen_d_exports)["queryProjects"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["queryProjects"]>;
|
|
55
|
+
};
|
|
56
|
+
readonly listProjectAdmins: {
|
|
57
|
+
readonly items: (page: Page<"listProjectAdmins">) => ListProjectAdmins200AdminsItem[];
|
|
58
|
+
readonly next: (page: Page<"listProjectAdmins">) => string | null | undefined;
|
|
59
|
+
readonly withToken: ([projectId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listProjectAdmins"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listProjectAdmins"]>;
|
|
60
|
+
};
|
|
61
|
+
readonly listPreviews: {
|
|
62
|
+
readonly items: (page: Page<"listPreviews">) => ListPreviews200PreviewsItem[];
|
|
63
|
+
readonly next: (page: Page<"listPreviews">) => string | null | undefined;
|
|
64
|
+
readonly withToken: ([projectId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listPreviews"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listPreviews"]>;
|
|
65
|
+
};
|
|
66
|
+
readonly querySessions: {
|
|
67
|
+
readonly items: (page: Page<"querySessions">) => QuerySessions200SessionsItem[];
|
|
68
|
+
readonly next: (page: Page<"querySessions">) => string | null | undefined;
|
|
69
|
+
readonly withToken: ([querySessionsBody, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["querySessions"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["querySessions"]>;
|
|
70
|
+
};
|
|
71
|
+
readonly listSchemas: {
|
|
72
|
+
readonly items: (page: Page<"listSchemas">) => ListSchemas200SchemasItem[];
|
|
73
|
+
readonly next: (page: Page<"listSchemas">) => string | null | undefined;
|
|
74
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listSchemas"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listSchemas"]>;
|
|
75
|
+
};
|
|
76
|
+
readonly listFlowDefinitions: {
|
|
77
|
+
readonly items: (page: Page<"listFlowDefinitions">) => ListFlowDefinitions200FlowDefinitionsItem[];
|
|
78
|
+
readonly next: (page: Page<"listFlowDefinitions">) => string | null | undefined;
|
|
79
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listFlowDefinitions"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listFlowDefinitions"]>;
|
|
80
|
+
};
|
|
81
|
+
readonly queryTeams: {
|
|
82
|
+
readonly items: (page: Page<"queryTeams">) => QueryTeams200TeamsItem[];
|
|
83
|
+
readonly next: (page: Page<"queryTeams">) => string | null | undefined;
|
|
84
|
+
readonly withToken: ([queryTeamsBody, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["queryTeams"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["queryTeams"]>;
|
|
85
|
+
};
|
|
86
|
+
readonly queryIdps: {
|
|
87
|
+
readonly items: (page: Page<"queryIdps">) => QueryIdps200IdpsItem[];
|
|
88
|
+
readonly next: (page: Page<"queryIdps">) => string | null | undefined;
|
|
89
|
+
readonly withToken: ([queryIdpsBody, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["queryIdps"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["queryIdps"]>;
|
|
90
|
+
};
|
|
91
|
+
readonly listIdpRevisions: {
|
|
92
|
+
readonly items: (page: Page<"listIdpRevisions">) => ListIdpRevisions200RevisionsItem[];
|
|
93
|
+
readonly next: (page: Page<"listIdpRevisions">) => string | null | undefined;
|
|
94
|
+
readonly withToken: ([id, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listIdpRevisions"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listIdpRevisions"]>;
|
|
95
|
+
};
|
|
96
|
+
readonly listPolicies: {
|
|
97
|
+
readonly items: (page: Page<"listPolicies">) => ListPolicies200PoliciesItem[];
|
|
98
|
+
readonly next: (page: Page<"listPolicies">) => string | null | undefined;
|
|
99
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listPolicies"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listPolicies"]>;
|
|
100
|
+
};
|
|
101
|
+
readonly listPolicyRevisions: {
|
|
102
|
+
readonly items: (page: Page<"listPolicyRevisions">) => ListPolicyRevisions200RevisionsItem[];
|
|
103
|
+
readonly next: (page: Page<"listPolicyRevisions">) => string | null | undefined;
|
|
104
|
+
readonly withToken: ([policyId, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listPolicyRevisions"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listPolicyRevisions"]>;
|
|
105
|
+
};
|
|
106
|
+
readonly listReleases: {
|
|
107
|
+
readonly items: (page: Page<"listReleases">) => ListReleases200ReleasesItem[];
|
|
108
|
+
readonly next: (page: Page<"listReleases">) => string | null | undefined;
|
|
109
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listReleases"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listReleases"]>;
|
|
110
|
+
};
|
|
111
|
+
readonly queryGrants: {
|
|
112
|
+
readonly items: (page: Page<"queryGrants">) => QueryGrants200GrantsItem[];
|
|
113
|
+
readonly next: (page: Page<"queryGrants">) => string | null | undefined;
|
|
114
|
+
readonly withToken: ([queryGrantsBody, params, options]: Parameters<(typeof zitadelNextGen_d_exports)["queryGrants"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["queryGrants"]>;
|
|
115
|
+
};
|
|
116
|
+
readonly listEvents: {
|
|
117
|
+
readonly items: (page: Page<"listEvents">) => ListEvents200DataItem[];
|
|
118
|
+
readonly next: (page: Page<"listEvents">) => string | null | undefined;
|
|
119
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listEvents"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listEvents"]>;
|
|
120
|
+
};
|
|
121
|
+
readonly listDeployments: {
|
|
122
|
+
readonly items: (page: Page<"listDeployments">) => ListDeployments200DeploymentsItem[];
|
|
123
|
+
readonly next: (page: Page<"listDeployments">) => string | null | undefined;
|
|
124
|
+
readonly withToken: ([params, options]: Parameters<(typeof zitadelNextGen_d_exports)["listDeployments"]>, page_token: string) => Parameters<(typeof zitadelNextGen_d_exports)["listDeployments"]>;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/runtime/api-factory.d.ts
|
|
129
|
+
type Endpoints = typeof zitadelNextGen_d_exports;
|
|
130
|
+
type Paging = typeof paging;
|
|
131
|
+
/** The name of a client function that pages. */
|
|
132
|
+
type PagedOperation = keyof Paging;
|
|
133
|
+
/** One page of a paged function's response. */
|
|
134
|
+
type PageOf<K extends PagedOperation> = Awaited<ReturnType<Endpoints[K]>>;
|
|
135
|
+
/** One item of a paged function's response. */
|
|
136
|
+
type ItemOf<K extends PagedOperation> = ReturnType<Paging[K]["items"]> extends readonly (infer T)[] ? T : never;
|
|
137
|
+
/**
|
|
138
|
+
* What a paged function carries besides fetching one page. Each takes the
|
|
139
|
+
* function's own arguments; a `page_token` among them is where it starts, and
|
|
140
|
+
* `limit` is the page size.
|
|
141
|
+
*/
|
|
142
|
+
type Paged<K extends PagedOperation> = {
|
|
143
|
+
/** Every page, fetched as the loop reaches it. */
|
|
144
|
+
pages(...args: Parameters<Endpoints[K]>): AsyncGenerator<PageOf<K>, void, undefined>;
|
|
145
|
+
/** Every item of every page, fetched a page at a time as the loop reaches it. */
|
|
146
|
+
items(...args: Parameters<Endpoints[K]>): AsyncGenerator<ItemOf<K>, void, undefined>;
|
|
147
|
+
/** Every item of every page, in one array. */
|
|
148
|
+
all(...args: Parameters<Endpoints[K]>): Promise<ItemOf<K>[]>;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Typed Zitadel client returned by {@link createZitadelClient}: the
|
|
152
|
+
* orval-generated endpoints, with {@link Paged} on every function that pages.
|
|
153
|
+
*/
|
|
154
|
+
type ZitadelClient = { [K in keyof Endpoints]: K extends PagedOperation ? Endpoints[K] & Paged<K> : Endpoints[K]; };
|
|
155
|
+
/** Re-exported under the legacy name some consumers (`runtime/config.ts`) still import. */
|
|
156
|
+
type ZitadelApi = ZitadelClient;
|
|
157
|
+
/** Options for {@link createZitadelClient}. */
|
|
158
|
+
type ZitadelClientOptions = {
|
|
159
|
+
/** Base URL of the Zitadel server. Trailing slashes are stripped. */
|
|
160
|
+
baseUrl: string;
|
|
161
|
+
/**
|
|
162
|
+
* Bearer token sent on every request. Optional — omit for the
|
|
163
|
+
* unauthenticated `POST /projects` call; set it (typically to the
|
|
164
|
+
* project secret returned by that call) before any subsequent
|
|
165
|
+
* mutation.
|
|
166
|
+
*/
|
|
167
|
+
token?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Aborts every request this client makes. A request it cuts off rejects
|
|
170
|
+
* with the signal's reason rather than a {@link NetworkError}.
|
|
171
|
+
*/
|
|
172
|
+
signal?: AbortSignal;
|
|
173
|
+
/**
|
|
174
|
+
* Deadline for each request, response body included. A request that runs
|
|
175
|
+
* past it rejects with a {@link NetworkError} whose reason is `timeout`.
|
|
176
|
+
* Unset by default: no deadline beyond the runtime's own.
|
|
177
|
+
*/
|
|
178
|
+
timeoutMs?: number;
|
|
179
|
+
/**
|
|
180
|
+
* Applied to every response this client resolves with, each page of a
|
|
181
|
+
* paged function's included, before the caller sees it. A paged function
|
|
182
|
+
* reads its cursor from the page as the server sent it, and its items from
|
|
183
|
+
* what this returns under the same field.
|
|
184
|
+
*/
|
|
185
|
+
onResponse?: (body: unknown) => unknown;
|
|
186
|
+
/**
|
|
187
|
+
* Applied to every failure of a call: the request's, `onResponse`'s, and a
|
|
188
|
+
* paged function's own. It throws what the caller sees.
|
|
189
|
+
*/
|
|
190
|
+
onError?: (error: unknown) => never;
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Build a typed Zitadel client pre-bound to a base URL and (optionally)
|
|
194
|
+
* a bearer token. Every method on the returned object mirrors a
|
|
195
|
+
* generated orval function, and one that pages also walks its pages:
|
|
196
|
+
*
|
|
197
|
+
* const client = createZitadelClient({ baseUrl, token });
|
|
198
|
+
* await client.createProject({ origins: [] });
|
|
199
|
+
* await client.createSchema(body, { project_id });
|
|
200
|
+
* for await (const deployment of client.listDeployments.items({ project_id })) { … }
|
|
201
|
+
*/
|
|
202
|
+
declare function createZitadelClient(opts: ZitadelClientOptions): ZitadelClient;
|
|
203
|
+
/**
|
|
204
|
+
* Legacy entry point: builds a client with only the base URL set, no
|
|
205
|
+
* token. Components and SDKs that don't carry an auth token (browser
|
|
206
|
+
* flows authenticated by platform cookies) still consume this name.
|
|
207
|
+
* Equivalent to `createZitadelClient({ baseUrl: apiBase })`.
|
|
208
|
+
*/
|
|
209
|
+
declare function createApi(apiBase: string): ZitadelClient;
|
|
210
|
+
//#endregion
|
|
211
|
+
export { ZitadelApi as a, createApi as c, PagedOperation as i, createZitadelClient as l, PageOf as n, ZitadelClient as o, Paged as r, ZitadelClientOptions as s, ItemOf as t, paging as u };
|
|
212
|
+
//# sourceMappingURL=api-factory-Dt5lUjyu.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-factory-Dt5lUjyu.d.mts","names":["endpoints","_$__model0.QueryUsers200UsersItem","_$__model0.ListUserIdentityLinks200IdentityLinksItem","_$__model0.ListUserPasskeys200PasskeysItem","_$__model0.ListUserTeams200TeamsItem","_$__model0.ListMyIdentityLinks200IdentityLinksItem","_$__model0.ListMyPasskeys200PasskeysItem","_$__model0.ListMyProjects200ProjectsItem","_$__model0.ListMyTeams200TeamsItem","_$__model0.QueryProjects200ProjectsItem","_$__model0.ListProjectAdmins200AdminsItem","_$__model0.ListPreviews200PreviewsItem","_$__model0.QuerySessions200SessionsItem","_$__model0.ListSchemas200SchemasItem","_$__model0.ListFlowDefinitions200FlowDefinitionsItem","_$__model0.QueryTeams200TeamsItem","_$__model0.QueryIdps200IdpsItem","_$__model0.ListIdpRevisions200RevisionsItem","_$__model0.ListPolicies200PoliciesItem","_$__model0.ListPolicyRevisions200RevisionsItem","_$__model0.ListReleases200ReleasesItem","_$__model0.QueryGrants200GrantsItem","_$__model0.ListEvents200DataItem","_$__model0.ListDeployments200DeploymentsItem","endpoints"],"sources":["../src/generated/paging.ts","../src/runtime/api-factory.ts"],"mappings":"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"}
|
|
@@ -25,21 +25,29 @@ declare class ApiError extends Error {
|
|
|
25
25
|
constructor(status: number, url: string, body: unknown, message: string, requestId?: string);
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Thrown when a request got no response
|
|
29
|
-
* reset, the host did not resolve,
|
|
30
|
-
*
|
|
31
|
-
* response that came back with a
|
|
28
|
+
* Thrown when a request got no usable response: the connection was refused or
|
|
29
|
+
* reset, the host did not resolve, the server accepted the connection but did
|
|
30
|
+
* not answer in time, or it answered with a body that could not be read. The
|
|
31
|
+
* counterpart to {@link ApiError}, which is a response that came back with a
|
|
32
|
+
* failing status.
|
|
32
33
|
*
|
|
33
|
-
* `fetch` only rejects when no response arrived,
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* `fetch` only rejects when no response arrived, and reading the body only
|
|
35
|
+
* when the body broke off or could not be decoded, so this is decided by which
|
|
36
|
+
* of the two rejected, never by how a runtime words the failure. The runtime's
|
|
37
|
+
* own error stays on `cause` for debugging.
|
|
36
38
|
*/
|
|
37
39
|
declare class NetworkError extends Error {
|
|
38
40
|
readonly url: string;
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
/**
|
|
42
|
+
* `timeout` when a deadline cut the request off, `unreadable` when a response
|
|
43
|
+
* arrived but its body could not be read (a proxy that labels a decoded body
|
|
44
|
+
* as compressed, say), `unreachable` otherwise.
|
|
45
|
+
*/
|
|
46
|
+
readonly reason: NetworkErrorReason;
|
|
47
|
+
constructor(url: string, reason: NetworkErrorReason, message: string, options?: ErrorOptions);
|
|
42
48
|
}
|
|
49
|
+
/** Why a {@link NetworkError} got no usable response. */
|
|
50
|
+
type NetworkErrorReason = "unreachable" | "unreadable" | "timeout";
|
|
43
51
|
/**
|
|
44
52
|
* What every request a client makes is bound by. Set per call by
|
|
45
53
|
* `createZitadelClient`, the same way as the base URL and token, and read at
|
|
@@ -85,6 +93,8 @@ declare function customFetch<T>(url: string, options: RequestInit): Promise<T>;
|
|
|
85
93
|
* - a deadline fired → {@link NetworkError} with reason `timeout`;
|
|
86
94
|
* - any other abort → the signal's own reason, rethrown untouched, because a
|
|
87
95
|
* cancellation is the caller's decision and the caller knows what it means;
|
|
96
|
+
* - a response arrived but `read` failed → {@link NetworkError} with reason
|
|
97
|
+
* `unreadable`, naming the status that did come back;
|
|
88
98
|
* - anything else → {@link NetworkError} with reason `unreachable`.
|
|
89
99
|
*
|
|
90
100
|
* Exported for the few callers that need the raw {@link Response} (a
|
|
@@ -109,5 +119,5 @@ declare function apiErrorCode(errorOrBody: unknown): string | undefined;
|
|
|
109
119
|
*/
|
|
110
120
|
declare function apiErrorMessage(error: ApiError): string;
|
|
111
121
|
//#endregion
|
|
112
|
-
export {
|
|
113
|
-
//# sourceMappingURL=fetch-
|
|
122
|
+
export { RequestPolicy as a, customFetch as c, NetworkErrorReason as i, request as l, CSRF_HEADER as n, apiErrorCode as o, NetworkError as r, apiErrorMessage as s, ApiError as t, setRequestPolicy as u };
|
|
123
|
+
//# sourceMappingURL=fetch-B-lgjlrf.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-B-lgjlrf.d.mts","names":[],"sources":["../src/runtime/fetch.ts"],"mappings":";;cAIa;;;;;;;;;;;;cAsBA,iBAAiB;WACnB;WACA;WACA;;;;;;WAMA;EAEG,YAAA,gBAAgB,aAAa,eAAe,iBAAiB;;;;;;;;;;;;;;cAsB9D,qBAAqB;WACvB;;;;;;WAMA,QAAQ;EAEL,YAAA,aAAa,QAAQ,oBAAoB,iBAAiB,UAAU;;;KAStE;;;;;;KAOA;;EAEV,SAAS;;EAET;;iBAKc,iBAAiB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;iBA0BnB,YAAY,GAAG,aAAa,SAAS,cAAc,QAAQ;;;;;;;;;;;;;;;;;;iBAqG3D,QAAQ,eAC5B,aACA,MAAM,aACN,SAAQ,eACR,QAAQ,KAAK,aAAa,QAAQ,KACjC;EAAU,KAAK;EAAU,SAAS;;;;;;;iBAoFrB,aAAa;;;;;;;;iBAYb,gBAAgB,OAAO"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as getDeploymentVariables, $n as listMyProjects, $t as getListProjectAdminsUrl, A as getBuildReleaseUrl, An as getRevokeSessionUrl, Ar as verifyChallengeProof, At as getGetSessionUrl, B as getCreateHandoffUrl, Bn as getUserPasswordState, Bt as getIssueChallengeUrl, C as evaluatePolicy, Cn as getQueryUsersUrl, Cr as revokeRelease, Ct as getGetMyUserUrl, D as getAuthAttempt, Dn as getRemovePreviewUrl, Dr as submitFlowStep, Dt as getGetReadyUrl, E as getAddOriginUrl, En as getRemoveOriginUrl, Er as setUserPassword, Et as getGetProjectUrl, F as getCreateBrandingUrl, Fn as getSubmitFlowStepUrl, Ft as getGetVariablesUrl, G as getCreateSessionUrl, Gn as issueChallenge, Gt as getListIdpRevisionsUrl, H as getCreateProjectUrl, Hn as getVariables, Ht as getListDeploymentsUrl, I as getCreateDeploymentUrl, In as getTeam, It as getGrant, J as getDeleteGrantUrl, Jn as listEvents, Jt as getListMyProjectsUrl, K as getCreateTeamUrl, Kn as listBranding, Kt as getListMyIdentityLinksUrl, L as getCreateFlowDefinitionUrl, Ln as getUpdateTeamUrl, Lt as getIdpById, M as getClaimWindow, Mn as getSchemaById, Mt as getGetUserByIDUrl, N as getCompleteClaimUrl, Nn as getSession, Nt as getGetUserPasswordStateUrl, O as getBeginUserPasskeyRegistrationUrl, On as getRevokeMySessionUrl, Or as updateTeam, Ot as getGetReleaseByIdUrl, P as getCreateAuthAttemptUrl, Pn as getSetUserPasswordUrl, Pt as getGetVariableUrl, Q as getDeploymentById, Qn as listMyPasskeys, Qt as getListPreviewsUrl, R as getCreateFlowUrl, Rn as getUpdateVariablesUrl, Rt as getIdpRevisionById, S as deleteVariable, Sn as getQueryTeamsUrl, Sr as revokeMySession, St as getGetMyUserSchemaUrl, T as finishUserPasskeyRegistration, Tn as getReleaseById, Tr as rollbackDeployment, Tt as getGetPolicyUrl, U as getCreateReleaseUrl, Un as getVerifyChallengeProofUrl, Ut as getListEventsUrl, V as getCreateIdpUrl, Vn as getVariable, Vt as getListBrandingUrl, W as getCreateSchemaUrl, Wn as initClaim, Wt as getListFlowDefinitionsUrl, X as getDeleteUserByIDUrl, Xn as listIdpRevisions, Xt as getListPoliciesUrl, Y as getDeleteTeamUrl, Yn as listFlowDefinitions, Yt as getListMyTeamsUrl, Z as getDeleteVariableUrl, Zn as listMyIdentityLinks, Zt as getListPolicyRevisionsUrl, _ as createTeam, _n as getPublishPolicyUrl, _r as querySessions, _t as getGetIdpRevisionByIdUrl, a as createAuthAttempt, an as getLive, ar as listReleases, at as getFlowStep, b as deleteTeam, bn as getQueryProjectsUrl, br as removeOrigin, bt as getGetMySessionCsrfTokenUrl, c as createFlow, cn as getMySessionCsrfToken, cr as listUserPasskeys, ct as getGetClaimStatusUrl, d as createHandoff, dn as getPatchMyUserUrl, dr as patchProject, dt as getGetDeploymentVariablesUrl, en as getListReleasesUrl, er as listMyTeams, et as getEvaluatePolicyUrl, f as createIdp, fn as getPatchProjectUrl, fr as patchUserByID, ft as getGetEventUrl, g as createSession, gn as getProject, gr as queryProjects, gt as getGetIdpByIdUrl, h as createSchema, hn as getPolicyRevision, hr as queryIdps, ht as getGetGrantUrl, i as completeClaim, in as getListUserTeamsUrl, ir as listProjectAdmins, it as getFlowDefinition, j as getClaimStatus, jn as getRollbackDeploymentUrl, jt as getGetTeamUrl, k as getBrandingById, kn as getRevokeReleaseUrl, kr as updateVariables, kt as getGetSchemaByIdUrl, l as createFlowDefinition, ln as getMyUser, lr as listUserTeams, lt as getGetClaimWindowUrl, m as createRelease, mn as getPolicy, mr as queryGrants, mt as getGetFlowStepUrl, n as beginUserPasskeyRegistration, nn as getListUserIdentityLinksUrl, nr as listPolicyRevisions, nt as getExchangeHandoffUrl, o as createBranding, on as getMyPasswordState, or as listSchemas, ot as getGetAuthAttemptUrl, p as createProject, pn as getPatchUserByIDUrl, pr as publishPolicy, pt as getGetFlowDefinitionUrl, q as getCreateUserUrl, qn as listDeployments, qt as getListMyPasskeysUrl, r as buildRelease, rn as getListUserPasskeysUrl, rr as listPreviews, rt as getFinishUserPasskeyRegistrationUrl, s as createDeployment, sn as getMySession, sr as listUserIdentityLinks, st as getGetBrandingByIdUrl, t as addOrigin, tn as getListSchemasUrl, tr as listPolicies, tt as getEvent, u as createGrant, un as getMyUserSchema, ur as patchMyUser, ut as getGetDeploymentByIdUrl, v as createUser, vn as getQueryGrantsUrl, vr as queryTeams, vt as getGetLiveUrl, w as exchangeHandoff, wn as getReady, wr as revokeSession, wt as getGetPolicyRevisionUrl, x as deleteUserByID, xn as getQuerySessionsUrl, xr as removePreview, xt as getGetMySessionUrl, y as deleteGrant, yn as getQueryIdpsUrl, yr as queryUsers, yt as getGetMyPasswordStateUrl, z as getCreateGrantUrl, zn as getUserByID, zt as getInitClaimUrl } from "../../zitadelNextGen-
|
|
1
|
+
import { $ as getDeploymentVariables, $n as listMyProjects, $t as getListProjectAdminsUrl, A as getBuildReleaseUrl, An as getRevokeSessionUrl, Ar as verifyChallengeProof, At as getGetSessionUrl, B as getCreateHandoffUrl, Bn as getUserPasswordState, Bt as getIssueChallengeUrl, C as evaluatePolicy, Cn as getQueryUsersUrl, Cr as revokeRelease, Ct as getGetMyUserUrl, D as getAuthAttempt, Dn as getRemovePreviewUrl, Dr as submitFlowStep, Dt as getGetReadyUrl, E as getAddOriginUrl, En as getRemoveOriginUrl, Er as setUserPassword, Et as getGetProjectUrl, F as getCreateBrandingUrl, Fn as getSubmitFlowStepUrl, Ft as getGetVariablesUrl, G as getCreateSessionUrl, Gn as issueChallenge, Gt as getListIdpRevisionsUrl, H as getCreateProjectUrl, Hn as getVariables, Ht as getListDeploymentsUrl, I as getCreateDeploymentUrl, In as getTeam, It as getGrant, J as getDeleteGrantUrl, Jn as listEvents, Jt as getListMyProjectsUrl, K as getCreateTeamUrl, Kn as listBranding, Kt as getListMyIdentityLinksUrl, L as getCreateFlowDefinitionUrl, Ln as getUpdateTeamUrl, Lt as getIdpById, M as getClaimWindow, Mn as getSchemaById, Mt as getGetUserByIDUrl, N as getCompleteClaimUrl, Nn as getSession, Nt as getGetUserPasswordStateUrl, O as getBeginUserPasskeyRegistrationUrl, On as getRevokeMySessionUrl, Or as updateTeam, Ot as getGetReleaseByIdUrl, P as getCreateAuthAttemptUrl, Pn as getSetUserPasswordUrl, Pt as getGetVariableUrl, Q as getDeploymentById, Qn as listMyPasskeys, Qt as getListPreviewsUrl, R as getCreateFlowUrl, Rn as getUpdateVariablesUrl, Rt as getIdpRevisionById, S as deleteVariable, Sn as getQueryTeamsUrl, Sr as revokeMySession, St as getGetMyUserSchemaUrl, T as finishUserPasskeyRegistration, Tn as getReleaseById, Tr as rollbackDeployment, Tt as getGetPolicyUrl, U as getCreateReleaseUrl, Un as getVerifyChallengeProofUrl, Ut as getListEventsUrl, V as getCreateIdpUrl, Vn as getVariable, Vt as getListBrandingUrl, W as getCreateSchemaUrl, Wn as initClaim, Wt as getListFlowDefinitionsUrl, X as getDeleteUserByIDUrl, Xn as listIdpRevisions, Xt as getListPoliciesUrl, Y as getDeleteTeamUrl, Yn as listFlowDefinitions, Yt as getListMyTeamsUrl, Z as getDeleteVariableUrl, Zn as listMyIdentityLinks, Zt as getListPolicyRevisionsUrl, _ as createTeam, _n as getPublishPolicyUrl, _r as querySessions, _t as getGetIdpRevisionByIdUrl, a as createAuthAttempt, an as getLive, ar as listReleases, at as getFlowStep, b as deleteTeam, bn as getQueryProjectsUrl, br as removeOrigin, bt as getGetMySessionCsrfTokenUrl, c as createFlow, cn as getMySessionCsrfToken, cr as listUserPasskeys, ct as getGetClaimStatusUrl, d as createHandoff, dn as getPatchMyUserUrl, dr as patchProject, dt as getGetDeploymentVariablesUrl, en as getListReleasesUrl, er as listMyTeams, et as getEvaluatePolicyUrl, f as createIdp, fn as getPatchProjectUrl, fr as patchUserByID, ft as getGetEventUrl, g as createSession, gn as getProject, gr as queryProjects, gt as getGetIdpByIdUrl, h as createSchema, hn as getPolicyRevision, hr as queryIdps, ht as getGetGrantUrl, i as completeClaim, in as getListUserTeamsUrl, ir as listProjectAdmins, it as getFlowDefinition, j as getClaimStatus, jn as getRollbackDeploymentUrl, jt as getGetTeamUrl, k as getBrandingById, kn as getRevokeReleaseUrl, kr as updateVariables, kt as getGetSchemaByIdUrl, l as createFlowDefinition, ln as getMyUser, lr as listUserTeams, lt as getGetClaimWindowUrl, m as createRelease, mn as getPolicy, mr as queryGrants, mt as getGetFlowStepUrl, n as beginUserPasskeyRegistration, nn as getListUserIdentityLinksUrl, nr as listPolicyRevisions, nt as getExchangeHandoffUrl, o as createBranding, on as getMyPasswordState, or as listSchemas, ot as getGetAuthAttemptUrl, p as createProject, pn as getPatchUserByIDUrl, pr as publishPolicy, pt as getGetFlowDefinitionUrl, q as getCreateUserUrl, qn as listDeployments, qt as getListMyPasskeysUrl, r as buildRelease, rn as getListUserPasskeysUrl, rr as listPreviews, rt as getFinishUserPasskeyRegistrationUrl, s as createDeployment, sn as getMySession, sr as listUserIdentityLinks, st as getGetBrandingByIdUrl, t as addOrigin, tn as getListSchemasUrl, tr as listPolicies, tt as getEvent, u as createGrant, un as getMyUserSchema, ur as patchMyUser, ut as getGetDeploymentByIdUrl, v as createUser, vn as getQueryGrantsUrl, vr as queryTeams, vt as getGetLiveUrl, w as exchangeHandoff, wn as getReady, wr as revokeSession, wt as getGetPolicyRevisionUrl, x as deleteUserByID, xn as getQuerySessionsUrl, xr as removePreview, xt as getGetMySessionUrl, y as deleteGrant, yn as getQueryIdpsUrl, yr as queryUsers, yt as getGetMyPasswordStateUrl, z as getCreateGrantUrl, zn as getUserByID, zt as getInitClaimUrl } from "../../zitadelNextGen-BVO4sdKD.mjs";
|
|
2
2
|
export { addOrigin, beginUserPasskeyRegistration, buildRelease, completeClaim, createAuthAttempt, createBranding, createDeployment, createFlow, createFlowDefinition, createGrant, createHandoff, createIdp, createProject, createRelease, createSchema, createSession, createTeam, createUser, deleteGrant, deleteTeam, deleteUserByID, deleteVariable, evaluatePolicy, exchangeHandoff, finishUserPasskeyRegistration, getAddOriginUrl, getAuthAttempt, getBeginUserPasskeyRegistrationUrl, getBrandingById, getBuildReleaseUrl, getClaimStatus, getClaimWindow, getCompleteClaimUrl, getCreateAuthAttemptUrl, getCreateBrandingUrl, getCreateDeploymentUrl, getCreateFlowDefinitionUrl, getCreateFlowUrl, getCreateGrantUrl, getCreateHandoffUrl, getCreateIdpUrl, getCreateProjectUrl, getCreateReleaseUrl, getCreateSchemaUrl, getCreateSessionUrl, getCreateTeamUrl, getCreateUserUrl, getDeleteGrantUrl, getDeleteTeamUrl, getDeleteUserByIDUrl, getDeleteVariableUrl, getDeploymentById, getDeploymentVariables, getEvaluatePolicyUrl, getEvent, getExchangeHandoffUrl, getFinishUserPasskeyRegistrationUrl, getFlowDefinition, getFlowStep, getGetAuthAttemptUrl, getGetBrandingByIdUrl, getGetClaimStatusUrl, getGetClaimWindowUrl, getGetDeploymentByIdUrl, getGetDeploymentVariablesUrl, getGetEventUrl, getGetFlowDefinitionUrl, getGetFlowStepUrl, getGetGrantUrl, getGetIdpByIdUrl, getGetIdpRevisionByIdUrl, getGetLiveUrl, getGetMyPasswordStateUrl, getGetMySessionCsrfTokenUrl, getGetMySessionUrl, getGetMyUserSchemaUrl, getGetMyUserUrl, getGetPolicyRevisionUrl, getGetPolicyUrl, getGetProjectUrl, getGetReadyUrl, getGetReleaseByIdUrl, getGetSchemaByIdUrl, getGetSessionUrl, getGetTeamUrl, getGetUserByIDUrl, getGetUserPasswordStateUrl, getGetVariableUrl, getGetVariablesUrl, getGrant, getIdpById, getIdpRevisionById, getInitClaimUrl, getIssueChallengeUrl, getListBrandingUrl, getListDeploymentsUrl, getListEventsUrl, getListFlowDefinitionsUrl, getListIdpRevisionsUrl, getListMyIdentityLinksUrl, getListMyPasskeysUrl, getListMyProjectsUrl, getListMyTeamsUrl, getListPoliciesUrl, getListPolicyRevisionsUrl, getListPreviewsUrl, getListProjectAdminsUrl, getListReleasesUrl, getListSchemasUrl, getListUserIdentityLinksUrl, getListUserPasskeysUrl, getListUserTeamsUrl, getLive, getMyPasswordState, getMySession, getMySessionCsrfToken, getMyUser, getMyUserSchema, getPatchMyUserUrl, getPatchProjectUrl, getPatchUserByIDUrl, getPolicy, getPolicyRevision, getProject, getPublishPolicyUrl, getQueryGrantsUrl, getQueryIdpsUrl, getQueryProjectsUrl, getQuerySessionsUrl, getQueryTeamsUrl, getQueryUsersUrl, getReady, getReleaseById, getRemoveOriginUrl, getRemovePreviewUrl, getRevokeMySessionUrl, getRevokeReleaseUrl, getRevokeSessionUrl, getRollbackDeploymentUrl, getSchemaById, getSession, getSetUserPasswordUrl, getSubmitFlowStepUrl, getTeam, getUpdateTeamUrl, getUpdateVariablesUrl, getUserByID, getUserPasswordState, getVariable, getVariables, getVerifyChallengeProofUrl, initClaim, issueChallenge, listBranding, listDeployments, listEvents, listFlowDefinitions, listIdpRevisions, listMyIdentityLinks, listMyPasskeys, listMyProjects, listMyTeams, listPolicies, listPolicyRevisions, listPreviews, listProjectAdmins, listReleases, listSchemas, listUserIdentityLinks, listUserPasskeys, listUserTeams, patchMyUser, patchProject, patchUserByID, publishPolicy, queryGrants, queryIdps, queryProjects, querySessions, queryTeams, queryUsers, removeOrigin, removePreview, revokeMySession, revokeRelease, revokeSession, rollbackDeployment, setUserPassword, submitFlowStep, updateTeam, updateVariables, verifyChallengeProof };
|