@hyper.authio/admin 0.10.0 → 0.11.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/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { AuthioAccountCredential, AuthioAccountCredentialOptions } from '@hyper.
3
3
  export { AuthioAdminError, AuthioAdminNotification, AuthioConfigurationError, parseAuthioAdminEnvelope } from '@hyper.authio/client';
4
4
 
5
5
  /**
6
- * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 291ac6f4cfb68b02d18c2c1ce196e047970d7744).
6
+ * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 209e11bed37f166638018a6f8bf167c0f8962e05).
7
7
  * Do not edit: run `npm run generate -w @hyper.authio/admin`.
8
8
  */
9
9
  interface paths {
@@ -13333,6 +13333,8 @@ interface components {
13333
13333
  /** @enum {unknown} */
13334
13334
  AppearanceTemplate: "Aside" | "Centered" | "Cover";
13335
13335
  /** @enum {unknown} */
13336
+ ApplicationSessionModel: "Cookie" | "Hybrid" | "Server";
13337
+ /** @enum {unknown} */
13336
13338
  ApprovalChannel: "Push" | "Email" | "Both";
13337
13339
  /** @description A question to the copilot, with the conversation so far and where the person is. */
13338
13340
  AskAiCopilotRequest: {
@@ -14946,6 +14948,11 @@ interface components {
14946
14948
  accessTokenFormat?: components["schemas"]["AccessTokenFormat"];
14947
14949
  /** @description Gets or sets the form the client's refresh tokens are handed out in: a self-contained JWT or an opaque reference. */
14948
14950
  refreshTokenFormat?: components["schemas"]["RefreshTokenFormat"];
14951
+ /**
14952
+ * @description Gets or sets where the application that signs in through the client keeps the session it opens for each person:
14953
+ * all in the cookie, tokens on its server with the claims in the cookie, or all on its server.
14954
+ */
14955
+ applicationSessionModel?: components["schemas"]["ApplicationSessionModel"];
14949
14956
  /**
14950
14957
  * Format: uuid
14951
14958
  * @description Id do Client configuration Id.
@@ -21865,6 +21872,11 @@ interface components {
21865
21872
  accessTokenFormat?: components["schemas"]["AccessTokenFormat"];
21866
21873
  /** @description Gets or sets the form the client's refresh tokens are handed out in: a self-contained JWT or an opaque reference. */
21867
21874
  refreshTokenFormat?: components["schemas"]["RefreshTokenFormat"];
21875
+ /**
21876
+ * @description Gets or sets where the application that signs in through the client keeps the session it opens for each person:
21877
+ * all in the cookie, tokens on its server with the claims in the cookie, or all on its server.
21878
+ */
21879
+ applicationSessionModel?: components["schemas"]["ApplicationSessionModel"];
21868
21880
  };
21869
21881
  /** @description Carries a connection provider as an administrator wants it to end up. */
21870
21882
  UpdateConnectionProviderRequest: {
@@ -32451,8 +32463,8 @@ interface operations {
32451
32463
  origin?: components["schemas"]["ClientQuarantineOrigin"];
32452
32464
  /** @description Gets or sets the incident the quarantines were started for; empty for any. */
32453
32465
  incidentId?: string;
32454
- /** @description Gets or sets the page, from 1. */
32455
- page?: number;
32466
+ /** @description Gets or sets the page number, from 1. */
32467
+ pageNumber?: number;
32456
32468
  /** @description Gets or sets how many quarantines a page holds, up to 100. */
32457
32469
  pageSize?: number;
32458
32470
  };
@@ -45734,14 +45746,14 @@ type AuthioAdminResult<Id extends AuthioAdminOperationId, Kind extends AuthioAdm
45734
45746
  type AuthioAdminMethod<Id extends AuthioAdminOperationId, Kind extends AuthioAdminResultKind> = {} extends AuthioAdminParams<Id> ? (params?: AuthioAdminParams<Id>, options?: AuthioAdminCallOptions) => Promise<AuthioAdminResult<Id, Kind>> : (params: AuthioAdminParams<Id>, options?: AuthioAdminCallOptions) => Promise<AuthioAdminResult<Id, Kind>>;
45735
45747
 
45736
45748
  /**
45737
- * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 291ac6f4cfb68b02d18c2c1ce196e047970d7744).
45749
+ * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 209e11bed37f166638018a6f8bf167c0f8962e05).
45738
45750
  * Do not edit: run `npm run generate -w @hyper.authio/admin`.
45739
45751
  */
45740
45752
 
45741
45753
  /**
45742
45754
  * The commit of authio.api whose OpenAPI document these operations were generated from.
45743
45755
  */
45744
- declare const authioAdminOpenApiCommit = "291ac6f4cfb68b02d18c2c1ce196e047970d7744";
45756
+ declare const authioAdminOpenApiCommit = "209e11bed37f166638018a6f8bf167c0f8962e05";
45745
45757
  /**
45746
45758
  * Every Admin API operation (458), grouped by the controller its `operationId` names: `Realm_GetAllPaginated` is
45747
45759
  * `realm.getAllPaginated`.
@@ -46438,7 +46450,7 @@ interface AuthioAdminAreas {
46438
46450
  *
46439
46451
  * `GET /api/v1/admin/client-quarantines` (`ClientQuarantine_GetPage`)
46440
46452
  */
46441
- readonly getPage: AuthioAdminMethod<"ClientQuarantine_GetPage", "data">;
46453
+ readonly getPage: AuthioAdminMethod<"ClientQuarantine_GetPage", "page">;
46442
46454
  /**
46443
46455
  * Puts a client into quarantine and applies the measures asked for.
46444
46456
  *
@@ -49862,9 +49874,9 @@ declare const authioAdminOperations: {
49862
49874
  readonly id: "ClientQuarantine_GetPage";
49863
49875
  readonly method: "GET";
49864
49876
  readonly path: "/api/v1/admin/client-quarantines";
49865
- readonly result: "data";
49877
+ readonly result: "page";
49866
49878
  readonly pathParams: readonly [];
49867
- readonly queryParams: readonly ["realmId", "clientId", "status", "origin", "incidentId", "page", "pageSize"];
49879
+ readonly queryParams: readonly ["realmId", "clientId", "status", "origin", "incidentId", "pageNumber", "pageSize"];
49868
49880
  readonly body: "none";
49869
49881
  };
49870
49882
  readonly start: {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { AuthioAccountCredential, AuthioAccountCredentialOptions } from '@hyper.
3
3
  export { AuthioAdminError, AuthioAdminNotification, AuthioConfigurationError, parseAuthioAdminEnvelope } from '@hyper.authio/client';
4
4
 
5
5
  /**
6
- * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 291ac6f4cfb68b02d18c2c1ce196e047970d7744).
6
+ * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 209e11bed37f166638018a6f8bf167c0f8962e05).
7
7
  * Do not edit: run `npm run generate -w @hyper.authio/admin`.
8
8
  */
9
9
  interface paths {
@@ -13333,6 +13333,8 @@ interface components {
13333
13333
  /** @enum {unknown} */
13334
13334
  AppearanceTemplate: "Aside" | "Centered" | "Cover";
13335
13335
  /** @enum {unknown} */
13336
+ ApplicationSessionModel: "Cookie" | "Hybrid" | "Server";
13337
+ /** @enum {unknown} */
13336
13338
  ApprovalChannel: "Push" | "Email" | "Both";
13337
13339
  /** @description A question to the copilot, with the conversation so far and where the person is. */
13338
13340
  AskAiCopilotRequest: {
@@ -14946,6 +14948,11 @@ interface components {
14946
14948
  accessTokenFormat?: components["schemas"]["AccessTokenFormat"];
14947
14949
  /** @description Gets or sets the form the client's refresh tokens are handed out in: a self-contained JWT or an opaque reference. */
14948
14950
  refreshTokenFormat?: components["schemas"]["RefreshTokenFormat"];
14951
+ /**
14952
+ * @description Gets or sets where the application that signs in through the client keeps the session it opens for each person:
14953
+ * all in the cookie, tokens on its server with the claims in the cookie, or all on its server.
14954
+ */
14955
+ applicationSessionModel?: components["schemas"]["ApplicationSessionModel"];
14949
14956
  /**
14950
14957
  * Format: uuid
14951
14958
  * @description Id do Client configuration Id.
@@ -21865,6 +21872,11 @@ interface components {
21865
21872
  accessTokenFormat?: components["schemas"]["AccessTokenFormat"];
21866
21873
  /** @description Gets or sets the form the client's refresh tokens are handed out in: a self-contained JWT or an opaque reference. */
21867
21874
  refreshTokenFormat?: components["schemas"]["RefreshTokenFormat"];
21875
+ /**
21876
+ * @description Gets or sets where the application that signs in through the client keeps the session it opens for each person:
21877
+ * all in the cookie, tokens on its server with the claims in the cookie, or all on its server.
21878
+ */
21879
+ applicationSessionModel?: components["schemas"]["ApplicationSessionModel"];
21868
21880
  };
21869
21881
  /** @description Carries a connection provider as an administrator wants it to end up. */
21870
21882
  UpdateConnectionProviderRequest: {
@@ -32451,8 +32463,8 @@ interface operations {
32451
32463
  origin?: components["schemas"]["ClientQuarantineOrigin"];
32452
32464
  /** @description Gets or sets the incident the quarantines were started for; empty for any. */
32453
32465
  incidentId?: string;
32454
- /** @description Gets or sets the page, from 1. */
32455
- page?: number;
32466
+ /** @description Gets or sets the page number, from 1. */
32467
+ pageNumber?: number;
32456
32468
  /** @description Gets or sets how many quarantines a page holds, up to 100. */
32457
32469
  pageSize?: number;
32458
32470
  };
@@ -45734,14 +45746,14 @@ type AuthioAdminResult<Id extends AuthioAdminOperationId, Kind extends AuthioAdm
45734
45746
  type AuthioAdminMethod<Id extends AuthioAdminOperationId, Kind extends AuthioAdminResultKind> = {} extends AuthioAdminParams<Id> ? (params?: AuthioAdminParams<Id>, options?: AuthioAdminCallOptions) => Promise<AuthioAdminResult<Id, Kind>> : (params: AuthioAdminParams<Id>, options?: AuthioAdminCallOptions) => Promise<AuthioAdminResult<Id, Kind>>;
45735
45747
 
45736
45748
  /**
45737
- * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 291ac6f4cfb68b02d18c2c1ce196e047970d7744).
45749
+ * Generated by scripts/generate.mjs from openapi/v1.json (authio.api 209e11bed37f166638018a6f8bf167c0f8962e05).
45738
45750
  * Do not edit: run `npm run generate -w @hyper.authio/admin`.
45739
45751
  */
45740
45752
 
45741
45753
  /**
45742
45754
  * The commit of authio.api whose OpenAPI document these operations were generated from.
45743
45755
  */
45744
- declare const authioAdminOpenApiCommit = "291ac6f4cfb68b02d18c2c1ce196e047970d7744";
45756
+ declare const authioAdminOpenApiCommit = "209e11bed37f166638018a6f8bf167c0f8962e05";
45745
45757
  /**
45746
45758
  * Every Admin API operation (458), grouped by the controller its `operationId` names: `Realm_GetAllPaginated` is
45747
45759
  * `realm.getAllPaginated`.
@@ -46438,7 +46450,7 @@ interface AuthioAdminAreas {
46438
46450
  *
46439
46451
  * `GET /api/v1/admin/client-quarantines` (`ClientQuarantine_GetPage`)
46440
46452
  */
46441
- readonly getPage: AuthioAdminMethod<"ClientQuarantine_GetPage", "data">;
46453
+ readonly getPage: AuthioAdminMethod<"ClientQuarantine_GetPage", "page">;
46442
46454
  /**
46443
46455
  * Puts a client into quarantine and applies the measures asked for.
46444
46456
  *
@@ -49862,9 +49874,9 @@ declare const authioAdminOperations: {
49862
49874
  readonly id: "ClientQuarantine_GetPage";
49863
49875
  readonly method: "GET";
49864
49876
  readonly path: "/api/v1/admin/client-quarantines";
49865
- readonly result: "data";
49877
+ readonly result: "page";
49866
49878
  readonly pathParams: readonly [];
49867
- readonly queryParams: readonly ["realmId", "clientId", "status", "origin", "incidentId", "page", "pageSize"];
49879
+ readonly queryParams: readonly ["realmId", "clientId", "status", "origin", "incidentId", "pageNumber", "pageSize"];
49868
49880
  readonly body: "none";
49869
49881
  };
49870
49882
  readonly start: {
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { AuthioAdminError, AuthioConfigurationError, parseAuthioAdminEnvelope }
5
5
  // src/client.ts
6
6
 
7
7
  // src/generated/operations.ts
8
- var authioAdminOpenApiCommit = "291ac6f4cfb68b02d18c2c1ce196e047970d7744";
8
+ var authioAdminOpenApiCommit = "209e11bed37f166638018a6f8bf167c0f8962e05";
9
9
  var authioAdminOperations = {
10
10
  accessLog: {
11
11
  getAllPaginated: { id: "AccessLog_GetAllPaginated", method: "GET", path: "/api/v1/admin/access-logs", result: "page", pathParams: [], queryParams: ["realmId", "clientId", "secretId", "userId", "consumerId", "isSuccess", "grantType", "principal", "from", "to", "sessionId", "requestId", "resource", "connectionProvider", "identityProvider", "failureReason", "browser", "excludeExchanges", "onlyExchanges", "pageNumber", "pageSize", "searchTerm", "status", "sortBy", "sortDirection", "createdFrom", "createdTo"], body: "none" },
@@ -182,7 +182,7 @@ var authioAdminOperations = {
182
182
  getPublicKeys: { id: "ClientPublicKey_GetPublicKeys", method: "GET", path: "/api/v1/admin/realms/{realm}/clients/{client}/public-keys", result: "data", pathParams: ["realm", "client"], queryParams: [], body: "none" }
183
183
  },
184
184
  clientQuarantine: {
185
- getPage: { id: "ClientQuarantine_GetPage", method: "GET", path: "/api/v1/admin/client-quarantines", result: "data", pathParams: [], queryParams: ["realmId", "clientId", "status", "origin", "incidentId", "page", "pageSize"], body: "none" },
185
+ getPage: { id: "ClientQuarantine_GetPage", method: "GET", path: "/api/v1/admin/client-quarantines", result: "page", pathParams: [], queryParams: ["realmId", "clientId", "status", "origin", "incidentId", "pageNumber", "pageSize"], body: "none" },
186
186
  start: { id: "ClientQuarantine_Start", method: "POST", path: "/api/v1/admin/client-quarantines", result: "data", pathParams: [], queryParams: [], body: "required" },
187
187
  get: { id: "ClientQuarantine_Get", method: "GET", path: "/api/v1/admin/client-quarantines/{quarantineId}", result: "data", pathParams: ["quarantineId"], queryParams: [], body: "none" },
188
188
  getActivity: { id: "ClientQuarantine_GetActivity", method: "GET", path: "/api/v1/admin/client-quarantines/{quarantineId}/activity", result: "data", pathParams: ["quarantineId"], queryParams: [], body: "none" },