@zitadel/api 0.7.0 → 0.8.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/dist/{api-factory-BPmRCU7u.mjs → api-factory-B2kd991F.mjs} +14 -2
- package/dist/api-factory-B2kd991F.mjs.map +1 -0
- package/dist/{api-factory-DCzYxpdV.d.mts → api-factory-DW48-EMM.d.mts} +8 -3
- package/dist/api-factory-DW48-EMM.d.mts.map +1 -0
- package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
- package/dist/generated/endpoints/zitadelNextGen.mjs +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +225 -109
- package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs +737 -41
- package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +594 -182
- package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs +788 -347
- package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
- package/dist/generated/model/index.d.mts +2 -2
- package/dist/generated/model/index.mjs +17 -3
- package/dist/generated/model/index.mjs.map +1 -1
- package/dist/generated/operations.d.mts.map +1 -1
- package/dist/generated/operations.mjs +46 -4
- package/dist/generated/operations.mjs.map +1 -1
- package/dist/{index-BwYxe7Dw.d.mts → index-REGtKmAu.d.mts} +1466 -327
- package/dist/index-REGtKmAu.d.mts.map +1 -0
- package/dist/runtime/api-factory.d.mts +1 -1
- package/dist/runtime/api-factory.mjs +1 -1
- package/dist/runtime/config.d.mts +1 -1
- package/dist/runtime/config.mjs +1 -1
- package/dist/{zitadelNextGen-SGK-fW1x.d.mts → zitadelNextGen-C2Qcm9jl.d.mts} +65 -20
- package/dist/zitadelNextGen-C2Qcm9jl.d.mts.map +1 -0
- package/dist/{zitadelNextGen-DsPFGqLs.mjs → zitadelNextGen-CDqt2m_4.mjs} +141 -558
- package/dist/zitadelNextGen-CDqt2m_4.mjs.map +1 -0
- package/package.json +2 -2
- package/src/generated/endpoints/zitadelNextGen.faker.ts +14 -10
- package/src/generated/endpoints/zitadelNextGen.msw.ts +278 -216
- package/src/generated/endpoints/zitadelNextGen.ts +209 -736
- package/src/generated/endpoints/zitadelNextGen.zod.ts +674 -312
- package/src/generated/model/acceptInvitation200.ts +84 -12
- package/src/generated/model/acceptInvitationDefault.ts +18 -0
- package/src/generated/model/buildReleaseBodyBundle.ts +1 -2
- package/src/generated/model/buildReleaseBodyBundleOauth.ts +1 -2
- package/src/generated/model/buildReleaseParams.ts +7 -7
- package/src/generated/model/cancelInvitationParams.ts +7 -7
- package/src/generated/model/createAuthAttempt201ChallengesItemPayload.ts +1 -1
- package/src/generated/model/createAuthAttemptChallenge201Payload.ts +1 -1
- package/src/generated/model/createDeploymentParams.ts +7 -7
- package/src/generated/model/createGrantParams.ts +7 -7
- package/src/generated/model/createInvitation201.ts +84 -12
- package/src/generated/model/createInvitationBody.ts +4 -4
- package/src/generated/model/createInvitationParams.ts +7 -7
- package/src/generated/model/createReleaseParams.ts +7 -7
- package/src/generated/model/createTeamParams.ts +7 -7
- package/src/generated/model/createUserParams.ts +23 -23
- package/src/generated/model/deleteGrantParams.ts +7 -7
- package/src/generated/model/deleteVariableParams.ts +12 -12
- package/src/generated/model/evaluatePolicyParams.ts +7 -7
- package/src/generated/model/exchangeHandoffParams.ts +7 -7
- package/src/generated/model/getApplicationParams.ts +7 -7
- package/src/generated/model/getAuthAttempt200ChallengesItemPayload.ts +1 -1
- package/src/generated/model/getDeploymentParams.ts +7 -7
- package/src/generated/model/getEvent200.ts +192 -10
- package/src/generated/model/getEventParams.ts +7 -7
- package/src/generated/model/getGrantParams.ts +13 -13
- package/src/generated/model/getIdpParams.ts +7 -7
- package/src/generated/model/getIdpRevisionParams.ts +7 -7
- package/src/generated/model/getInvitation200.ts +84 -12
- package/src/generated/model/getInvitationParams.ts +7 -7
- package/src/generated/model/getMyPasswordStateParams.ts +16 -16
- package/src/generated/model/getMySessionCsrfTokenParams.ts +16 -16
- package/src/generated/model/getMySessionParams.ts +16 -16
- package/src/generated/model/getMyUserParams.ts +16 -16
- package/src/generated/model/getMyUserSchemaParams.ts +16 -16
- package/src/generated/model/getOAuthSettings200.ts +1 -2
- package/src/generated/model/getOAuthSettings200Oauth.ts +1 -2
- package/src/generated/model/getOAuthSettingsDefault.ts +18 -0
- package/src/generated/model/getPolicyParams.ts +7 -7
- package/src/generated/model/getPolicyRevisionParams.ts +7 -7
- package/src/generated/model/getProjectClaimStatusParams.ts +5 -5
- package/src/generated/model/getProjectClaimWindowParams.ts +5 -5
- package/src/generated/model/getReleaseParams.ts +7 -7
- package/src/generated/model/getSchemaParams.ts +11 -11
- package/src/generated/model/getUserParams.ts +21 -21
- package/src/generated/model/getVariableParams.ts +12 -12
- package/src/generated/model/index.ts +18 -7
- package/src/generated/model/listBrandingParams.ts +20 -20
- package/src/generated/model/listDeploymentVariablesParams.ts +7 -7
- package/src/generated/model/listDeploymentsParams.ts +42 -44
- package/src/generated/model/listEvents200EventsItem.ts +192 -10
- package/src/generated/model/listEventsParams.ts +83 -105
- package/src/generated/model/listFlowDefinitionsParams.ts +44 -48
- package/src/generated/model/listIdpRevisionsParams.ts +20 -20
- package/src/generated/model/listInvitations200InvitationsItem.ts +84 -12
- package/src/generated/model/listInvitationsExpandItem.ts +25 -0
- package/src/generated/model/listInvitationsParams.ts +31 -31
- package/src/generated/model/listInvitationsStatusItem.ts +22 -0
- package/src/generated/model/listMyIdentityLinksParams.ts +29 -29
- package/src/generated/model/listMyPasskeysParams.ts +29 -29
- package/src/generated/model/listMyProjectsParams.ts +52 -52
- package/src/generated/model/listMyTeamsParams.ts +29 -29
- package/src/generated/model/listPoliciesParams.ts +22 -24
- package/src/generated/model/listPolicyRevisionsParams.ts +20 -20
- package/src/generated/model/listProjectAdminsParams.ts +13 -13
- package/src/generated/model/listProjectMembers200.ts +20 -0
- package/src/generated/model/listProjectMembers200MembersItem.ts +38 -0
- package/src/generated/model/listProjectMembers200MembersItemRelation.ts +20 -0
- package/src/generated/model/listProjectMembers200MembersItemSourcesItem.ts +55 -0
- package/src/generated/model/listProjectMembers200MembersItemUser.ts +40 -0
- package/src/generated/model/{acceptInvitation429.ts → listProjectMembers400.ts} +3 -3
- package/src/generated/model/{lookupInvitation429Details.ts → listProjectMembers400Details.ts} +1 -1
- package/src/generated/model/{lookupInvitation429.ts → listProjectMembers401.ts} +3 -3
- package/src/generated/model/{acceptInvitation429Details.ts → listProjectMembers401Details.ts} +1 -1
- package/src/generated/model/{rejectInvitation429.ts → listProjectMembers403.ts} +3 -3
- package/src/generated/model/{rejectInvitation429Details.ts → listProjectMembers403Details.ts} +1 -1
- package/src/generated/model/listProjectMembers404.ts +20 -0
- package/src/generated/model/listProjectMembers404Details.ts +12 -0
- package/src/generated/model/listProjectMembersDefault.ts +81 -0
- package/src/generated/model/listProjectMembersParams.ts +29 -0
- package/src/generated/model/listProjectMembersRelation.ts +16 -0
- package/src/generated/model/listProjectPreviewsParams.ts +13 -13
- package/src/generated/model/listReleasesParams.ts +60 -60
- package/src/generated/model/listSchemasParams.ts +54 -56
- package/src/generated/model/listUserIdentityLinksParams.ts +13 -13
- package/src/generated/model/listUserPasskeysParams.ts +13 -13
- package/src/generated/model/listUserTeamsParams.ts +13 -13
- package/src/generated/model/listVariablesParams.ts +12 -12
- package/src/generated/model/lookupInvitation200.ts +58 -0
- package/src/generated/model/publishApplicationParams.ts +7 -7
- package/src/generated/model/publishBrandingParams.ts +7 -7
- package/src/generated/model/publishIdpParams.ts +7 -7
- package/src/generated/model/publishPolicyParams.ts +7 -7
- package/src/generated/model/publishSchemaParams.ts +12 -12
- package/src/generated/model/queryGrantsParams.ts +7 -7
- package/src/generated/model/queryIdpsParams.ts +7 -7
- package/src/generated/model/querySessionsParams.ts +7 -7
- package/src/generated/model/queryTeamsParams.ts +6 -6
- package/src/generated/model/queryUsersParams.ts +6 -6
- package/src/generated/model/rejectInvitation200.ts +84 -12
- package/src/generated/model/rejectInvitationDefault.ts +18 -0
- package/src/generated/model/revokeMySessionParams.ts +16 -16
- package/src/generated/model/revokeReleaseParams.ts +7 -7
- package/src/generated/model/rollbackDeploymentParams.ts +7 -7
- package/src/generated/model/searchParams.ts +7 -7
- package/src/generated/model/setVariablesParams.ts +12 -12
- package/src/generated/model/updateMyUserParams.ts +16 -16
- package/src/generated/model/verifyAuthAttemptChallenge200ChallengesItemPayload.ts +1 -1
- package/src/generated/operations.ts +46 -4
- package/src/generated/paging.ts +5 -0
- package/dist/api-factory-BPmRCU7u.mjs.map +0 -1
- package/dist/api-factory-DCzYxpdV.d.mts.map +0 -1
- package/dist/index-BwYxe7Dw.d.mts.map +0 -1
- package/dist/zitadelNextGen-DsPFGqLs.mjs.map +0 -1
- package/dist/zitadelNextGen-SGK-fW1x.d.mts.map +0 -1
- package/src/generated/model/listInvitationsStatus.ts +0 -17
|
@@ -31,6 +31,15 @@ export type RejectInvitationDefault = {
|
|
|
31
31
|
message: string;
|
|
32
32
|
/** Additional error-specific context. */
|
|
33
33
|
details?: { [key: string]: unknown };
|
|
34
|
+
} & {
|
|
35
|
+
code: 'evt.invalid';
|
|
36
|
+
} | {
|
|
37
|
+
/** Stable machine-readable error code. */
|
|
38
|
+
code: string;
|
|
39
|
+
/** Human-readable explanation of the error. */
|
|
40
|
+
message: string;
|
|
41
|
+
/** Additional error-specific context. */
|
|
42
|
+
details?: { [key: string]: unknown };
|
|
34
43
|
} & {
|
|
35
44
|
code: 'internal';
|
|
36
45
|
} | {
|
|
@@ -49,6 +58,15 @@ export type RejectInvitationDefault = {
|
|
|
49
58
|
message: string;
|
|
50
59
|
/** Additional error-specific context. */
|
|
51
60
|
details?: { [key: string]: unknown };
|
|
61
|
+
} & {
|
|
62
|
+
code: 'inv.self_reject';
|
|
63
|
+
} | {
|
|
64
|
+
/** Stable machine-readable error code. */
|
|
65
|
+
code: string;
|
|
66
|
+
/** Human-readable explanation of the error. */
|
|
67
|
+
message: string;
|
|
68
|
+
/** Additional error-specific context. */
|
|
69
|
+
details?: { [key: string]: unknown };
|
|
52
70
|
} & {
|
|
53
71
|
code: 'not_implemented';
|
|
54
72
|
} | {
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type RevokeMySessionParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
project_id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
12
|
+
* only when it belongs to this project; a session of any other project answers
|
|
13
|
+
* `403` with `sess.project_mismatch`.
|
|
14
|
+
*
|
|
15
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
16
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
17
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
18
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
19
|
+
* out.
|
|
20
|
+
*
|
|
21
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
22
|
+
* its own project, so keep its cookie.
|
|
23
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
24
|
+
*/
|
|
25
|
+
project_id?: string;
|
|
26
26
|
};
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type RevokeReleaseParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
project_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
12
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
13
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
14
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
15
|
+
*/
|
|
16
|
+
project_id: string;
|
|
17
17
|
};
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type RollbackDeploymentParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
project_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
12
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
13
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
14
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
15
|
+
*/
|
|
16
|
+
project_id: string;
|
|
17
17
|
};
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type SearchParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
project_id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project to search, by the `id` that `createProject` (`POST /projects`)
|
|
12
|
+
* returns. Omit it to search the credential's own project with a project
|
|
13
|
+
* secret, or the projects the person can act on with a session.
|
|
14
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
15
|
+
*/
|
|
16
|
+
project_id?: string;
|
|
17
17
|
};
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
import type { SetVariablesKind } from './setVariablesKind.ts';
|
|
9
9
|
|
|
10
10
|
export type SetVariablesParams = {
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
project_id: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
kind?: SetVariablesKind;
|
|
11
|
+
/**
|
|
12
|
+
* The project ID: the `id` that `createProject` (`POST /projects`) returns. `zitadel setup` prints
|
|
13
|
+
* it as "Project id" in its summary and as `project_id` with `--json`, and
|
|
14
|
+
* writes it to `.env.local` as `ZITADEL_PROJECT_ID`.
|
|
15
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
16
|
+
*/
|
|
17
|
+
project_id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Which deployments a value reaches: `primary` for primary origins,
|
|
20
|
+
* `preview` for preview URLs. There is no fallback between kinds.
|
|
21
|
+
*/
|
|
22
|
+
kind?: SetVariablesKind;
|
|
23
23
|
};
|
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
export type UpdateMyUserParams = {
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
project_id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The project the caller signs its users in to. The cookie's session is used
|
|
12
|
+
* only when it belongs to this project; a session of any other project answers
|
|
13
|
+
* `403` with `sess.project_mismatch`.
|
|
14
|
+
*
|
|
15
|
+
* A session belongs to one project, while a browser sends its cookie to every
|
|
16
|
+
* app on the same host. An app passes its own project, so that a session of
|
|
17
|
+
* another project never reads or acts as one of its users, and signing out of
|
|
18
|
+
* the app never ends it. The SDKs pass it when they read the session or sign
|
|
19
|
+
* out.
|
|
20
|
+
*
|
|
21
|
+
* `sess.project_mismatch` does not mean the session is invalid: it is live in
|
|
22
|
+
* its own project, so keep its cookie.
|
|
23
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
24
|
+
*/
|
|
25
|
+
project_id?: string;
|
|
26
26
|
};
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* - `passkey`: WebAuthn challenge and credential options
|
|
13
13
|
* - `idp`: Authorization URL and provider information
|
|
14
14
|
*/
|
|
15
|
-
export type VerifyAuthAttemptChallenge200ChallengesItemPayload = { [key: string]:
|
|
15
|
+
export type VerifyAuthAttemptChallenge200ChallengesItemPayload = { [key: string]: never } | {
|
|
16
16
|
/**
|
|
17
17
|
* Contains the options for the Assertion Generation (dictionary PublicKeyCredentialRequestOptions).
|
|
18
18
|
* See also: https://www.w3.org/TR/webauthn/#dictdef-publickeycredentialrequestoptions
|
|
@@ -856,6 +856,43 @@ export const operations: readonly ApiOperation[] = [
|
|
|
856
856
|
"cli": null,
|
|
857
857
|
"destructive": false
|
|
858
858
|
},
|
|
859
|
+
{
|
|
860
|
+
"id": "listProjectMembers",
|
|
861
|
+
"method": "GET",
|
|
862
|
+
"path": "/projects/{project_id}/members",
|
|
863
|
+
"summary": "List the members of a project",
|
|
864
|
+
"tag": "Projects",
|
|
865
|
+
"auth": "secret",
|
|
866
|
+
"parameters": [
|
|
867
|
+
{
|
|
868
|
+
"name": "limit",
|
|
869
|
+
"in": "query",
|
|
870
|
+
"required": false
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "page_token",
|
|
874
|
+
"in": "query",
|
|
875
|
+
"required": false
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "project_id",
|
|
879
|
+
"in": "path",
|
|
880
|
+
"required": true
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "relation",
|
|
884
|
+
"in": "query",
|
|
885
|
+
"required": false
|
|
886
|
+
}
|
|
887
|
+
],
|
|
888
|
+
"body": null,
|
|
889
|
+
"paging": {
|
|
890
|
+
"token": "query",
|
|
891
|
+
"items": "members"
|
|
892
|
+
},
|
|
893
|
+
"cli": null,
|
|
894
|
+
"destructive": false
|
|
895
|
+
},
|
|
859
896
|
{
|
|
860
897
|
"id": "createProjectClaim",
|
|
861
898
|
"method": "POST",
|
|
@@ -2163,6 +2200,11 @@ export const operations: readonly ApiOperation[] = [
|
|
|
2163
2200
|
"name": "type",
|
|
2164
2201
|
"in": "query",
|
|
2165
2202
|
"required": false
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
"name": "expand",
|
|
2206
|
+
"in": "query",
|
|
2207
|
+
"required": false
|
|
2166
2208
|
}
|
|
2167
2209
|
],
|
|
2168
2210
|
"body": null,
|
|
@@ -2170,7 +2212,7 @@ export const operations: readonly ApiOperation[] = [
|
|
|
2170
2212
|
"token": "query",
|
|
2171
2213
|
"items": "invitations"
|
|
2172
2214
|
},
|
|
2173
|
-
"cli":
|
|
2215
|
+
"cli": "invitation list",
|
|
2174
2216
|
"destructive": false
|
|
2175
2217
|
},
|
|
2176
2218
|
{
|
|
@@ -2189,7 +2231,7 @@ export const operations: readonly ApiOperation[] = [
|
|
|
2189
2231
|
],
|
|
2190
2232
|
"body": "required",
|
|
2191
2233
|
"paging": null,
|
|
2192
|
-
"cli":
|
|
2234
|
+
"cli": "invitation create",
|
|
2193
2235
|
"destructive": false
|
|
2194
2236
|
},
|
|
2195
2237
|
{
|
|
@@ -2252,7 +2294,7 @@ export const operations: readonly ApiOperation[] = [
|
|
|
2252
2294
|
],
|
|
2253
2295
|
"body": null,
|
|
2254
2296
|
"paging": null,
|
|
2255
|
-
"cli":
|
|
2297
|
+
"cli": "invitation get",
|
|
2256
2298
|
"destructive": false
|
|
2257
2299
|
},
|
|
2258
2300
|
{
|
|
@@ -2276,7 +2318,7 @@ export const operations: readonly ApiOperation[] = [
|
|
|
2276
2318
|
],
|
|
2277
2319
|
"body": null,
|
|
2278
2320
|
"paging": null,
|
|
2279
|
-
"cli":
|
|
2321
|
+
"cli": "invitation cancel",
|
|
2280
2322
|
"destructive": true
|
|
2281
2323
|
},
|
|
2282
2324
|
{
|
package/src/generated/paging.ts
CHANGED
|
@@ -60,6 +60,11 @@ export const paging = {
|
|
|
60
60
|
next: (page: Page<"listProjectAdmins">) => page.next_page_token,
|
|
61
61
|
withToken: ([projectId, params, options]: Parameters<(typeof endpoints)["listProjectAdmins"]>, page_token: string): Parameters<(typeof endpoints)["listProjectAdmins"]> => [projectId, { ...params, page_token }, options],
|
|
62
62
|
},
|
|
63
|
+
listProjectMembers: {
|
|
64
|
+
items: (page: Page<"listProjectMembers">) => page.members,
|
|
65
|
+
next: (page: Page<"listProjectMembers">) => page.next_page_token,
|
|
66
|
+
withToken: ([projectId, params, options]: Parameters<(typeof endpoints)["listProjectMembers"]>, page_token: string): Parameters<(typeof endpoints)["listProjectMembers"]> => [projectId, { ...params, page_token }, options],
|
|
67
|
+
},
|
|
63
68
|
listProjectPreviews: {
|
|
64
69
|
items: (page: Page<"listProjectPreviews">) => page.previews,
|
|
65
70
|
next: (page: Page<"listProjectPreviews">) => page.next_page_token,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-factory-BPmRCU7u.mjs","names":["endpoints"],"sources":["../src/generated/paging.ts","../src/runtime/paged.ts","../src/runtime/api-factory.ts"],"sourcesContent":["// Code generated by packages/api/scripts/operations.ts from api/openapi. DO NOT EDIT: regenerate with turbo run generate --filter=@zitadel/api.\n\nimport type * as endpoints from \"./endpoints/zitadelNextGen\";\n\ntype Page<K extends keyof typeof endpoints> = Awaited<ReturnType<(typeof endpoints)[K]>>;\n\n/**\n * The client functions that page (ADR 027), by name: a page's items and its\n * cursor to the next one, each read off the page as the function's response\n * type declares them, and the arguments that fetch the page a cursor names.\n */\nexport const paging = {\n queryUsers: {\n items: (page: Page<\"queryUsers\">) => page.users,\n next: (page: Page<\"queryUsers\">) => page.next_page_token,\n withToken: ([queryUsersBody, params, options]: Parameters<(typeof endpoints)[\"queryUsers\"]>, page_token: string): Parameters<(typeof endpoints)[\"queryUsers\"]> => [{ ...queryUsersBody, page_token }, params, options],\n },\n listUserIdentityLinks: {\n items: (page: Page<\"listUserIdentityLinks\">) => page.identity_links,\n next: (page: Page<\"listUserIdentityLinks\">) => page.next_page_token,\n withToken: ([userId, params, options]: Parameters<(typeof endpoints)[\"listUserIdentityLinks\"]>, page_token: string): Parameters<(typeof endpoints)[\"listUserIdentityLinks\"]> => [userId, { ...params, page_token }, options],\n },\n listUserPasskeys: {\n items: (page: Page<\"listUserPasskeys\">) => page.passkeys,\n next: (page: Page<\"listUserPasskeys\">) => page.next_page_token,\n withToken: ([userId, params, options]: Parameters<(typeof endpoints)[\"listUserPasskeys\"]>, page_token: string): Parameters<(typeof endpoints)[\"listUserPasskeys\"]> => [userId, { ...params, page_token }, options],\n },\n listUserTeams: {\n items: (page: Page<\"listUserTeams\">) => page.teams,\n next: (page: Page<\"listUserTeams\">) => page.next_page_token,\n withToken: ([userId, params, options]: Parameters<(typeof endpoints)[\"listUserTeams\"]>, page_token: string): Parameters<(typeof endpoints)[\"listUserTeams\"]> => [userId, { ...params, page_token }, options],\n },\n listMyIdentityLinks: {\n items: (page: Page<\"listMyIdentityLinks\">) => page.identity_links,\n next: (page: Page<\"listMyIdentityLinks\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listMyIdentityLinks\"]>, page_token: string): Parameters<(typeof endpoints)[\"listMyIdentityLinks\"]> => [{ ...params, page_token }, options],\n },\n listMyPasskeys: {\n items: (page: Page<\"listMyPasskeys\">) => page.passkeys,\n next: (page: Page<\"listMyPasskeys\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listMyPasskeys\"]>, page_token: string): Parameters<(typeof endpoints)[\"listMyPasskeys\"]> => [{ ...params, page_token }, options],\n },\n listMyProjects: {\n items: (page: Page<\"listMyProjects\">) => page.projects,\n next: (page: Page<\"listMyProjects\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listMyProjects\"]>, page_token: string): Parameters<(typeof endpoints)[\"listMyProjects\"]> => [{ ...params, page_token }, options],\n },\n listMyTeams: {\n items: (page: Page<\"listMyTeams\">) => page.teams,\n next: (page: Page<\"listMyTeams\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listMyTeams\"]>, page_token: string): Parameters<(typeof endpoints)[\"listMyTeams\"]> => [{ ...params, page_token }, options],\n },\n queryProjects: {\n items: (page: Page<\"queryProjects\">) => page.projects,\n next: (page: Page<\"queryProjects\">) => page.next_page_token,\n withToken: ([queryProjectsBody, options]: Parameters<(typeof endpoints)[\"queryProjects\"]>, page_token: string): Parameters<(typeof endpoints)[\"queryProjects\"]> => [{ ...queryProjectsBody, page_token }, options],\n },\n listProjectAdmins: {\n items: (page: Page<\"listProjectAdmins\">) => page.admins,\n next: (page: Page<\"listProjectAdmins\">) => page.next_page_token,\n withToken: ([projectId, params, options]: Parameters<(typeof endpoints)[\"listProjectAdmins\"]>, page_token: string): Parameters<(typeof endpoints)[\"listProjectAdmins\"]> => [projectId, { ...params, page_token }, options],\n },\n listProjectPreviews: {\n items: (page: Page<\"listProjectPreviews\">) => page.previews,\n next: (page: Page<\"listProjectPreviews\">) => page.next_page_token,\n withToken: ([projectId, params, options]: Parameters<(typeof endpoints)[\"listProjectPreviews\"]>, page_token: string): Parameters<(typeof endpoints)[\"listProjectPreviews\"]> => [projectId, { ...params, page_token }, options],\n },\n querySessions: {\n items: (page: Page<\"querySessions\">) => page.sessions,\n next: (page: Page<\"querySessions\">) => page.next_page_token,\n withToken: ([querySessionsBody, params, options]: Parameters<(typeof endpoints)[\"querySessions\"]>, page_token: string): Parameters<(typeof endpoints)[\"querySessions\"]> => [{ ...querySessionsBody, page_token }, params, options],\n },\n listSchemas: {\n items: (page: Page<\"listSchemas\">) => page.schemas,\n next: (page: Page<\"listSchemas\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listSchemas\"]>, page_token: string): Parameters<(typeof endpoints)[\"listSchemas\"]> => [{ ...params, page_token }, options],\n },\n listFlowDefinitions: {\n items: (page: Page<\"listFlowDefinitions\">) => page.flow_definitions,\n next: (page: Page<\"listFlowDefinitions\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listFlowDefinitions\"]>, page_token: string): Parameters<(typeof endpoints)[\"listFlowDefinitions\"]> => [{ ...params, page_token }, options],\n },\n queryTeams: {\n items: (page: Page<\"queryTeams\">) => page.teams,\n next: (page: Page<\"queryTeams\">) => page.next_page_token,\n withToken: ([queryTeamsBody, params, options]: Parameters<(typeof endpoints)[\"queryTeams\"]>, page_token: string): Parameters<(typeof endpoints)[\"queryTeams\"]> => [{ ...queryTeamsBody, page_token }, params, options],\n },\n listBranding: {\n items: (page: Page<\"listBranding\">) => page.branding,\n next: (page: Page<\"listBranding\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listBranding\"]>, page_token: string): Parameters<(typeof endpoints)[\"listBranding\"]> => [{ ...params, page_token }, options],\n },\n queryIdps: {\n items: (page: Page<\"queryIdps\">) => page.idps,\n next: (page: Page<\"queryIdps\">) => page.next_page_token,\n withToken: ([queryIdpsBody, params, options]: Parameters<(typeof endpoints)[\"queryIdps\"]>, page_token: string): Parameters<(typeof endpoints)[\"queryIdps\"]> => [{ ...queryIdpsBody, page_token }, params, options],\n },\n listIdpRevisions: {\n items: (page: Page<\"listIdpRevisions\">) => page.revisions,\n next: (page: Page<\"listIdpRevisions\">) => page.next_page_token,\n withToken: ([idpId, params, options]: Parameters<(typeof endpoints)[\"listIdpRevisions\"]>, page_token: string): Parameters<(typeof endpoints)[\"listIdpRevisions\"]> => [idpId, { ...params, page_token }, options],\n },\n listPolicies: {\n items: (page: Page<\"listPolicies\">) => page.policies,\n next: (page: Page<\"listPolicies\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listPolicies\"]>, page_token: string): Parameters<(typeof endpoints)[\"listPolicies\"]> => [{ ...params, page_token }, options],\n },\n listPolicyRevisions: {\n items: (page: Page<\"listPolicyRevisions\">) => page.revisions,\n next: (page: Page<\"listPolicyRevisions\">) => page.next_page_token,\n withToken: ([policyId, params, options]: Parameters<(typeof endpoints)[\"listPolicyRevisions\"]>, page_token: string): Parameters<(typeof endpoints)[\"listPolicyRevisions\"]> => [policyId, { ...params, page_token }, options],\n },\n listReleases: {\n items: (page: Page<\"listReleases\">) => page.releases,\n next: (page: Page<\"listReleases\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listReleases\"]>, page_token: string): Parameters<(typeof endpoints)[\"listReleases\"]> => [{ ...params, page_token }, options],\n },\n queryGrants: {\n items: (page: Page<\"queryGrants\">) => page.grants,\n next: (page: Page<\"queryGrants\">) => page.next_page_token,\n withToken: ([queryGrantsBody, params, options]: Parameters<(typeof endpoints)[\"queryGrants\"]>, page_token: string): Parameters<(typeof endpoints)[\"queryGrants\"]> => [{ ...queryGrantsBody, page_token }, params, options],\n },\n listInvitations: {\n items: (page: Page<\"listInvitations\">) => page.invitations,\n next: (page: Page<\"listInvitations\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listInvitations\"]>, page_token: string): Parameters<(typeof endpoints)[\"listInvitations\"]> => [{ ...params, page_token }, options],\n },\n listEvents: {\n items: (page: Page<\"listEvents\">) => page.events,\n next: (page: Page<\"listEvents\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listEvents\"]>, page_token: string): Parameters<(typeof endpoints)[\"listEvents\"]> => [{ ...params, page_token }, options],\n },\n listDeployments: {\n items: (page: Page<\"listDeployments\">) => page.deployments,\n next: (page: Page<\"listDeployments\">) => page.next_page_token,\n withToken: ([params, options]: Parameters<(typeof endpoints)[\"listDeployments\"]>, page_token: string): Parameters<(typeof endpoints)[\"listDeployments\"]> => [{ ...params, page_token }, options],\n },\n} as const;\n","/**\n * The client's own use of the cursor walk: `pages`, `items` and `all` on one\n * generated function. Internal to the package; `./paging` is what it exports.\n */\nimport { Paging } from \"./paging\";\n\n/**\n * How a generated function pages: its page's items and cursor, read off a page\n * as the generated table types them, and the arguments that fetch the next one.\n * Method syntax, so a table entry typed by its page assigns here.\n */\ntype PagingShape = Readonly<{\n items(page: unknown): readonly unknown[];\n next(page: unknown): string | null | undefined;\n withToken(args: unknown[], token: string): readonly unknown[];\n}>;\n\n/** What the client does to every response and every failure. */\ntype Hooks = Readonly<{\n respond: (body: unknown) => unknown;\n fail: (error: unknown) => never;\n}>;\n\n/**\n * `pages`, `items` and `all` for one generated function. Each takes the\n * function's own arguments; the first page is fetched with them as given, so a\n * `page_token` among them is where it starts. `send` fetches a page as the\n * server answers it, so the cursor is read before `hooks.respond` sees the\n * page, and every failure of the walk reaches `hooks.fail` once.\n */\nexport function paged(send: (...args: unknown[]) => unknown, shape: PagingShape, hooks: Hooks) {\n const paging = new Paging<unknown>(shape);\n\n async function* walk<T>(args: unknown[], take: (page: unknown) => readonly T[]) {\n const raw = paging.walk(async (token) => {\n return token === undefined ? send(...args) : send(...shape.withToken(args, token));\n });\n try {\n for await (const page of raw) {\n for (const value of take(await hooks.respond(page))) {\n yield value;\n }\n }\n } catch (error) {\n hooks.fail(error);\n }\n }\n\n return {\n pages: (...args: unknown[]) => walk(args, (page) => [page]),\n items: (...args: unknown[]) => walk(args, (page) => shape.items(page)),\n all: async (...args: unknown[]) => {\n const collected: unknown[] = [];\n for await (const list of walk(args, (page) => [shape.items(page)])) {\n for (const value of list) {\n collected.push(value);\n }\n }\n return collected;\n },\n };\n}\n","/**\n * Factory for the typed Zitadel client every consumer reaches for.\n *\n * Wraps the orval-generated endpoints in a {@link Proxy} so each\n * generated function sees the right base URL and (optionally) the\n * right bearer token at call time — without the caller having to\n * thread either through every operation, and without exposing the\n * module-globals (`setProxyPath` / `setApiAuthToken`) as part of the\n * public API.\n *\n * Per-instance isolation: multiple clients can coexist in one process\n * (different servers, different tokens). Every call through a client,\n * each page of a paged one included, sets that client's globals\n * synchronously before invoking the underlying generated function,\n * which reads them at the top of `customFetch` before any `await`. So\n * clients can run in parallel across awaits without clobbering each\n * other.\n */\nimport * as endpoints from \"../generated/endpoints/zitadelNextGen\";\nimport { paging } from \"../generated/paging\";\n\nimport { setApiAuthToken } from \"./auth\";\nimport { setProxyPath } from \"./base-url\";\nimport { setRequestPolicy } from \"./fetch\";\nimport { paged } from \"./paged\";\n\n/**\n * How each paged function pages, by name: typed readers of a page's items and\n * of its cursor, and the arguments that fetch the page a cursor names. Named\n * apart from `@zitadel/api/runtime/paging`, the `Paging` class that walks a list.\n */\nexport { paging as pagedFunctions };\n\ntype Endpoints = typeof endpoints;\ntype Paging = typeof paging;\n\n/** The name of a client function that pages. */\nexport type PagedOperation = keyof Paging;\n\n/** One page of a paged function's response. */\nexport type PageOf<K extends PagedOperation> = Awaited<ReturnType<Endpoints[K]>>;\n\n/** One item of a paged function's response. */\nexport type ItemOf<K extends PagedOperation> =\n ReturnType<Paging[K][\"items\"]> extends readonly (infer T)[] ? T : never;\n\n/**\n * What a paged function carries besides fetching one page. Each takes the\n * function's own arguments; a `page_token` among them is where it starts, and\n * `limit` is the page size.\n */\nexport type Paged<K extends PagedOperation> = {\n /** Every page, fetched as the loop reaches it. */\n pages(...args: Parameters<Endpoints[K]>): AsyncGenerator<PageOf<K>, void, undefined>;\n /** Every item of every page, fetched a page at a time as the loop reaches it. */\n items(...args: Parameters<Endpoints[K]>): AsyncGenerator<ItemOf<K>, void, undefined>;\n /** Every item of every page, in one array. */\n all(...args: Parameters<Endpoints[K]>): Promise<ItemOf<K>[]>;\n};\n\n/**\n * Typed Zitadel client returned by {@link createZitadelClient}: the\n * orval-generated endpoints, with {@link Paged} on every function that pages.\n */\nexport type ZitadelClient = {\n [K in keyof Endpoints]: K extends PagedOperation ? Endpoints[K] & Paged<K> : Endpoints[K];\n};\n\n/** Re-exported under the legacy name some consumers (`runtime/config.ts`) still import. */\nexport type ZitadelApi = ZitadelClient;\n\n/** Options for {@link createZitadelClient}. */\nexport type ZitadelClientOptions = {\n /** Base URL of the Zitadel server. Trailing slashes are stripped. */\n baseUrl: string;\n /**\n * Bearer token sent on every request. Optional — omit for the\n * unauthenticated `POST /projects` call; set it (typically to the\n * project secret returned by that call) before any subsequent\n * mutation.\n */\n token?: string;\n /**\n * Aborts every request this client makes. A request it cuts off rejects\n * with the signal's reason rather than a {@link NetworkError}.\n */\n signal?: AbortSignal;\n /**\n * Deadline for each request, response body included. A request that runs\n * past it rejects with a {@link NetworkError} whose reason is `timeout`.\n * Unset by default: no deadline beyond the runtime's own.\n */\n timeoutMs?: number;\n /**\n * The `User-Agent` every request this client makes carries, so a server and\n * its logs can tell one caller from another. Unset: the runtime's own.\n */\n userAgent?: string;\n /**\n * Applied to every response this client resolves with, each page of a\n * paged function's included, before the caller sees it. A paged function\n * reads its cursor from the page as the server sent it, and its items from\n * what this returns under the same field.\n */\n onResponse?: (body: unknown) => unknown;\n /**\n * Applied to every failure of a call: the request's, `onResponse`'s, and a\n * paged function's own. It throws what the caller sees.\n */\n onError?: (error: unknown) => never;\n};\n\n/**\n * Build a typed Zitadel client pre-bound to a base URL and (optionally)\n * a bearer token. Every method on the returned object mirrors a\n * generated orval function, and one that pages also walks its pages:\n *\n * const client = createZitadelClient({ baseUrl, token });\n * await client.createProject({ origins: [] });\n * await client.publishSchema(body, { project_id });\n * for await (const deployment of client.listDeployments.items({ project_id })) { … }\n */\nexport function createZitadelClient(opts: ZitadelClientOptions): ZitadelClient {\n let baseUrl = opts.baseUrl;\n while (baseUrl.endsWith(\"/\")) {\n baseUrl = baseUrl.slice(0, -1);\n }\n const hooks = {\n respond: (body: unknown) => (opts.onResponse ? opts.onResponse(body) : body),\n fail: (error: unknown): never => {\n opts.onError?.(error);\n throw error;\n },\n };\n const hooked = opts.onResponse !== undefined || opts.onError !== undefined;\n // Built once per function, not on every property read.\n const bound = new Map<PropertyKey, unknown>();\n return new Proxy(endpoints as unknown as ZitadelClient, {\n get(target, prop, receiver) {\n const known = bound.get(prop);\n if (known !== undefined) {\n return known;\n }\n const value = Reflect.get(target, prop, receiver);\n if (typeof value !== \"function\") {\n return value;\n }\n // Every request, each page included, sets this client's base URL and\n // token again: another client may have run in between.\n const send = (...args: unknown[]) => {\n setProxyPath(baseUrl);\n setApiAuthToken(opts.token);\n setRequestPolicy({\n signal: opts.signal,\n timeoutMs: opts.timeoutMs,\n userAgent: opts.userAgent,\n });\n return (value as (...a: unknown[]) => unknown)(...args);\n };\n // The URL builders orval exports beside the requests return strings, so\n // only a pending result is hooked. A then-check rather than `instanceof`,\n // which a replaced global `Promise` (zone.js) would fail.\n const call = (...args: unknown[]) => {\n const result = send(...args);\n return hooked && typeof (result as { then?: unknown } | null)?.then === \"function\"\n ? Promise.resolve(result).then(hooks.respond).catch(hooks.fail)\n : result;\n };\n const fn = Object.hasOwn(paging, prop)\n ? Object.assign(call, paged(send, paging[prop as PagedOperation], hooks))\n : call;\n bound.set(prop, fn);\n return fn;\n },\n });\n}\n\n/**\n * Legacy entry point: builds a client with only the base URL set, no\n * token. Components and SDKs that don't carry an auth token (browser\n * flows authenticated by platform cookies) still consume this name.\n * Equivalent to `createZitadelClient({ baseUrl: apiBase })`.\n */\nexport function createApi(apiBase: string): ZitadelClient {\n return createZitadelClient({ baseUrl: apiBase });\n}\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,SAAS;CACpB,YAAY;EACV,QAAQ,SAA6B,KAAK;EAC1C,OAAO,SAA6B,KAAK;EACzC,YAAY,CAAC,gBAAgB,QAAQ,UAAwD,eAAqE;GAAC;IAAE,GAAG;IAAgB;GAAW;GAAG;GAAQ;EAAO;CACvN;CACA,uBAAuB;EACrB,QAAQ,SAAwC,KAAK;EACrD,OAAO,SAAwC,KAAK;EACpD,YAAY,CAAC,QAAQ,QAAQ,UAAmE,eAAgF;GAAC;GAAQ;IAAE,GAAG;IAAQ;GAAW;GAAG;EAAO;CAC7N;CACA,kBAAkB;EAChB,QAAQ,SAAmC,KAAK;EAChD,OAAO,SAAmC,KAAK;EAC/C,YAAY,CAAC,QAAQ,QAAQ,UAA8D,eAA2E;GAAC;GAAQ;IAAE,GAAG;IAAQ;GAAW;GAAG;EAAO;CACnN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AU,YACnB,OAAO;EAIT,MAAM,QAAQ,GAAG,SAAoB;GACnC,aAAa,OAAO;GACpB,gBAAgB,KAAK,KAAK;GAC1B,iBAAiB;IACf,QAAQ,KAAK;IACb,WAAW,KAAK;IAChB,WAAW,KAAK;GAClB,CAAC;GACD,OAAQ,MAAuC,GAAG,IAAI;EACxD;EAIA,MAAM,QAAQ,GAAG,SAAoB;GACnC,MAAM,SAAS,KAAK,GAAG,IAAI;GAC3B,OAAO,UAAU,OAAQ,QAAsC,SAAS,aACpE,QAAQ,QAAQ,MAAM,CAAC,CAAC,KAAK,MAAM,OAAO,CAAC,CAAC,MAAM,MAAM,IAAI,IAC5D;EACN;EACA,MAAM,KAAK,OAAO,OAAO,QAAQ,IAAI,IACjC,OAAO,OAAO,MAAM,MAAM,MAAM,OAAO,OAAyB,KAAK,CAAC,IACtE;EACJ,MAAM,IAAI,MAAM,EAAE;EAClB,OAAO;CACT,EACF,CAAC;AACH;;;;;;;AAQA,SAAgB,UAAU,SAAgC;CACxD,OAAO,oBAAoB,EAAE,SAAS,QAAQ,CAAC;AACjD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-factory-DCzYxpdV.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.ListProjectPreviews200PreviewsItem","_$__model0.QuerySessions200SessionsItem","_$__model0.ListSchemas200SchemasItem","_$__model0.ListFlowDefinitions200FlowDefinitionsItem","_$__model0.QueryTeams200TeamsItem","_$__model0.ListBranding200BrandingItem","_$__model0.QueryIdps200IdpsItem","_$__model0.ListIdpRevisions200RevisionsItem","_$__model0.ListPolicies200PoliciesItem","_$__model0.ListPolicyRevisions200RevisionsItem","_$__model0.ListReleases200ReleasesItem","_$__model0.QueryGrants200GrantsItem","_$__model0.ListInvitations200InvitationsItem","_$__model0.ListEvents200EventsItem","_$__model0.ListDeployments200DeploymentsItem","endpoints"],"sources":["../src/generated/paging.ts","../src/runtime/api-factory.ts"],"mappings":";;KAIK,KAAK,uBAAuBA,4BAAa,QAAQ,mBAAmBA,0BAAW;;;;;;cAOvE;;aAEK,QAAA,MAAA,uBAAAC;aACD,OAAA,MAAA;aACkC,aAAA,gBAAA,QAAA,UAAA,mBAAmBD,0CAAyB,uBAAuB,mBAAmBA;;;aAGvH,QAAA,MAAA,kCAAAE;aACD,OAAA,MAAA;aAC0B,aAAA,QAAA,QAAA,UAAA,mBAAmBF,qDAAoC,uBAAuB,mBAAmBA;;;aAG1H,QAAA,MAAA,6BAAAG;aACD,OAAA,MAAA;aAC0B,aAAA,QAAA,QAAA,UAAA,mBAAmBH,gDAA+B,uBAAuB,mBAAmBA;;;aAGrH,QAAA,MAAA,0BAAAI;aACD,OAAA,MAAA;aAC0B,aAAA,QAAA,QAAA,UAAA,mBAAmBJ,6CAA4B,uBAAuB,mBAAmBA;;;aAGlH,QAAA,MAAA,gCAAAK;aACD,OAAA,MAAA;aACkB,aAAA,QAAA,UAAA,mBAAmBL,mDAAkC,uBAAuB,mBAAmBA;;;aAGhH,QAAA,MAAA,2BAAAM;aACD,OAAA,MAAA;aACkB,aAAA,QAAA,UAAA,mBAAmBN,8CAA6B,uBAAuB,mBAAmBA;;;aAG3G,QAAA,MAAA,2BAAAO;aACD,OAAA,MAAA;aACkB,aAAA,QAAA,UAAA,mBAAmBP,8CAA6B,uBAAuB,mBAAmBA;;;aAG3G,QAAA,MAAA,wBAAAQ;aACD,OAAA,MAAA;aACkB,aAAA,QAAA,UAAA,mBAAmBR,2CAA0B,uBAAuB,mBAAmBA;;;aAGxG,QAAA,MAAA,0BAAAS;aAC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