hanzoai 8.5.725 → 8.5.729

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.
@@ -480,6 +480,13 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
480
480
  * @throws {RequiredError}
481
481
  */
482
482
  getIamOauthCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
483
+ /**
484
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
485
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
486
+ * @param {*} [options] Override http request option.
487
+ * @throws {RequiredError}
488
+ */
489
+ getIamOauthDelegationKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
483
490
  /**
484
491
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
485
492
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -842,7 +849,7 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
842
849
  */
843
850
  postIamAdminProvision: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
844
851
  /**
845
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
852
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
846
853
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
847
854
  * @param {IamApplication} iamApplication
848
855
  * @param {*} [options] Override http request option.
@@ -1199,7 +1206,7 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
1199
1206
  */
1200
1207
  putIamAccount: (iamAccountBody: IamAccountBody, cookie?: string, authorization?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1201
1208
  /**
1202
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
1209
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
1203
1210
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
1204
1211
  * @param {string} owner
1205
1212
  * @param {string} name
@@ -1828,6 +1835,13 @@ export declare const IamApiFp: (configuration?: Configuration) => {
1828
1835
  * @throws {RequiredError}
1829
1836
  */
1830
1837
  getIamOauthCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1838
+ /**
1839
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
1840
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
1841
+ * @param {*} [options] Override http request option.
1842
+ * @throws {RequiredError}
1843
+ */
1844
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1831
1845
  /**
1832
1846
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
1833
1847
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -2190,7 +2204,7 @@ export declare const IamApiFp: (configuration?: Configuration) => {
2190
2204
  */
2191
2205
  postIamAdminProvision(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2192
2206
  /**
2193
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
2207
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
2194
2208
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
2195
2209
  * @param {IamApplication} iamApplication
2196
2210
  * @param {*} [options] Override http request option.
@@ -2547,7 +2561,7 @@ export declare const IamApiFp: (configuration?: Configuration) => {
2547
2561
  */
2548
2562
  putIamAccount(iamAccountBody: IamAccountBody, cookie?: string, authorization?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IamAnswer>>;
2549
2563
  /**
2550
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
2564
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
2551
2565
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
2552
2566
  * @param {string} owner
2553
2567
  * @param {string} name
@@ -3151,6 +3165,13 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3151
3165
  * @throws {RequiredError}
3152
3166
  */
3153
3167
  getIamOauthCallback(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3168
+ /**
3169
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
3170
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
3171
+ * @param {*} [options] Override http request option.
3172
+ * @throws {RequiredError}
3173
+ */
3174
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3154
3175
  /**
3155
3176
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
3156
3177
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -3487,7 +3508,7 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3487
3508
  */
3488
3509
  postIamAdminProvision(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3489
3510
  /**
3490
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3511
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3491
3512
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
3492
3513
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
3493
3514
  * @param {*} [options] Override http request option.
@@ -3833,7 +3854,7 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3833
3854
  */
3834
3855
  putIamAccount(requestParameters: IamApiPutIamAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IamAnswer>;
3835
3856
  /**
3836
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
3857
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
3837
3858
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
3838
3859
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
3839
3860
  * @param {*} [options] Override http request option.
@@ -6427,6 +6448,14 @@ export declare class IamApi extends BaseAPI {
6427
6448
  * @memberof IamApi
6428
6449
  */
6429
6450
  getIamOauthCallback(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
6451
+ /**
6452
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
6453
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
6454
+ * @param {*} [options] Override http request option.
6455
+ * @throws {RequiredError}
6456
+ * @memberof IamApi
6457
+ */
6458
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
6430
6459
  /**
6431
6460
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
6432
6461
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -6807,7 +6836,7 @@ export declare class IamApi extends BaseAPI {
6807
6836
  */
6808
6837
  postIamAdminProvision(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<void, any, {}>>;
6809
6838
  /**
6810
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6839
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6811
6840
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
6812
6841
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
6813
6842
  * @param {*} [options] Override http request option.
@@ -7200,7 +7229,7 @@ export declare class IamApi extends BaseAPI {
7200
7229
  */
7201
7230
  putIamAccount(requestParameters: IamApiPutIamAccountRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<IamAnswer, any, {}>>;
7202
7231
  /**
7203
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7232
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7204
7233
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
7205
7234
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
7206
7235
  * @param {*} [options] Override http request option.
@@ -1572,6 +1572,34 @@ const IamApiAxiosParamCreator = function (configuration) {
1572
1572
  options: localVarRequestOptions,
1573
1573
  };
1574
1574
  },
1575
+ /**
1576
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
1577
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
1578
+ * @param {*} [options] Override http request option.
1579
+ * @throws {RequiredError}
1580
+ */
1581
+ getIamOauthDelegationKeys: async (options = {}) => {
1582
+ const localVarPath = `/v1/iam/oauth/delegation/keys`;
1583
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1584
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1585
+ let baseOptions;
1586
+ if (configuration) {
1587
+ baseOptions = configuration.baseOptions;
1588
+ }
1589
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1590
+ const localVarHeaderParameter = {};
1591
+ const localVarQueryParameter = {};
1592
+ // authentication bearer required
1593
+ // http bearer authentication required
1594
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1595
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1596
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1597
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1598
+ return {
1599
+ url: (0, common_1.toPathString)(localVarUrlObj),
1600
+ options: localVarRequestOptions,
1601
+ };
1602
+ },
1575
1603
  /**
1576
1604
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
1577
1605
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -3017,7 +3045,7 @@ const IamApiAxiosParamCreator = function (configuration) {
3017
3045
  };
3018
3046
  },
3019
3047
  /**
3020
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3048
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3021
3049
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
3022
3050
  * @param {IamApplication} iamApplication
3023
3051
  * @param {*} [options] Override http request option.
@@ -4459,7 +4487,7 @@ const IamApiAxiosParamCreator = function (configuration) {
4459
4487
  };
4460
4488
  },
4461
4489
  /**
4462
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
4490
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
4463
4491
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
4464
4492
  * @param {string} owner
4465
4493
  * @param {string} name
@@ -6064,6 +6092,18 @@ const IamApiFp = function (configuration) {
6064
6092
  const localVarOperationServerBasePath = base_1.operationServerMap['IamApi.getIamOauthCallback']?.[localVarOperationServerIndex]?.url;
6065
6093
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6066
6094
  },
6095
+ /**
6096
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
6097
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
6098
+ * @param {*} [options] Override http request option.
6099
+ * @throws {RequiredError}
6100
+ */
6101
+ async getIamOauthDelegationKeys(options) {
6102
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIamOauthDelegationKeys(options);
6103
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6104
+ const localVarOperationServerBasePath = base_1.operationServerMap['IamApi.getIamOauthDelegationKeys']?.[localVarOperationServerIndex]?.url;
6105
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6106
+ },
6067
6107
  /**
6068
6108
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
6069
6109
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -6646,7 +6686,7 @@ const IamApiFp = function (configuration) {
6646
6686
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6647
6687
  },
6648
6688
  /**
6649
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6689
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6650
6690
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
6651
6691
  * @param {IamApplication} iamApplication
6652
6692
  * @param {*} [options] Override http request option.
@@ -7238,7 +7278,7 @@ const IamApiFp = function (configuration) {
7238
7278
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7239
7279
  },
7240
7280
  /**
7241
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7281
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7242
7282
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
7243
7283
  * @param {string} owner
7244
7284
  * @param {string} name
@@ -8063,6 +8103,15 @@ const IamApiFactory = function (configuration, basePath, axios) {
8063
8103
  getIamOauthCallback(options) {
8064
8104
  return localVarFp.getIamOauthCallback(options).then((request) => request(axios, basePath));
8065
8105
  },
8106
+ /**
8107
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
8108
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
8109
+ * @param {*} [options] Override http request option.
8110
+ * @throws {RequiredError}
8111
+ */
8112
+ getIamOauthDelegationKeys(options) {
8113
+ return localVarFp.getIamOauthDelegationKeys(options).then((request) => request(axios, basePath));
8114
+ },
8066
8115
  /**
8067
8116
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
8068
8117
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -8487,7 +8536,7 @@ const IamApiFactory = function (configuration, basePath, axios) {
8487
8536
  return localVarFp.postIamAdminProvision(options).then((request) => request(axios, basePath));
8488
8537
  },
8489
8538
  /**
8490
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
8539
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
8491
8540
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
8492
8541
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
8493
8542
  * @param {*} [options] Override http request option.
@@ -8927,7 +8976,7 @@ const IamApiFactory = function (configuration, basePath, axios) {
8927
8976
  return localVarFp.putIamAccount(requestParameters.iamAccountBody, requestParameters.cookie, requestParameters.authorization, options).then((request) => request(axios, basePath));
8928
8977
  },
8929
8978
  /**
8930
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8979
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8931
8980
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
8932
8981
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
8933
8982
  * @param {*} [options] Override http request option.
@@ -9682,6 +9731,16 @@ class IamApi extends base_1.BaseAPI {
9682
9731
  getIamOauthCallback(options) {
9683
9732
  return (0, exports.IamApiFp)(this.configuration).getIamOauthCallback(options).then((request) => request(this.axios, this.basePath));
9684
9733
  }
9734
+ /**
9735
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
9736
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
9737
+ * @param {*} [options] Override http request option.
9738
+ * @throws {RequiredError}
9739
+ * @memberof IamApi
9740
+ */
9741
+ getIamOauthDelegationKeys(options) {
9742
+ return (0, exports.IamApiFp)(this.configuration).getIamOauthDelegationKeys(options).then((request) => request(this.axios, this.basePath));
9743
+ }
9685
9744
  /**
9686
9745
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
9687
9746
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -10150,7 +10209,7 @@ class IamApi extends base_1.BaseAPI {
10150
10209
  return (0, exports.IamApiFp)(this.configuration).postIamAdminProvision(options).then((request) => request(this.axios, this.basePath));
10151
10210
  }
10152
10211
  /**
10153
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
10212
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
10154
10213
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
10155
10214
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
10156
10215
  * @param {*} [options] Override http request option.
@@ -10637,7 +10696,7 @@ class IamApi extends base_1.BaseAPI {
10637
10696
  return (0, exports.IamApiFp)(this.configuration).putIamAccount(requestParameters.iamAccountBody, requestParameters.cookie, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
10638
10697
  }
10639
10698
  /**
10640
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10699
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10641
10700
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
10642
10701
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
10643
10702
  * @param {*} [options] Override http request option.
@@ -479,6 +479,13 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
479
479
  * @throws {RequiredError}
480
480
  */
481
481
  getIamOauthCallback: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
482
+ /**
483
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
484
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
485
+ * @param {*} [options] Override http request option.
486
+ * @throws {RequiredError}
487
+ */
488
+ getIamOauthDelegationKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
482
489
  /**
483
490
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
484
491
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -841,7 +848,7 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
841
848
  */
842
849
  postIamAdminProvision: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
843
850
  /**
844
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
851
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
845
852
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
846
853
  * @param {IamApplication} iamApplication
847
854
  * @param {*} [options] Override http request option.
@@ -1198,7 +1205,7 @@ export declare const IamApiAxiosParamCreator: (configuration?: Configuration) =>
1198
1205
  */
1199
1206
  putIamAccount: (iamAccountBody: IamAccountBody, cookie?: string, authorization?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1200
1207
  /**
1201
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
1208
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
1202
1209
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
1203
1210
  * @param {string} owner
1204
1211
  * @param {string} name
@@ -1827,6 +1834,13 @@ export declare const IamApiFp: (configuration?: Configuration) => {
1827
1834
  * @throws {RequiredError}
1828
1835
  */
1829
1836
  getIamOauthCallback(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1837
+ /**
1838
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
1839
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
1840
+ * @param {*} [options] Override http request option.
1841
+ * @throws {RequiredError}
1842
+ */
1843
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1830
1844
  /**
1831
1845
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
1832
1846
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -2189,7 +2203,7 @@ export declare const IamApiFp: (configuration?: Configuration) => {
2189
2203
  */
2190
2204
  postIamAdminProvision(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2191
2205
  /**
2192
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
2206
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
2193
2207
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
2194
2208
  * @param {IamApplication} iamApplication
2195
2209
  * @param {*} [options] Override http request option.
@@ -2546,7 +2560,7 @@ export declare const IamApiFp: (configuration?: Configuration) => {
2546
2560
  */
2547
2561
  putIamAccount(iamAccountBody: IamAccountBody, cookie?: string, authorization?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IamAnswer>>;
2548
2562
  /**
2549
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
2563
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
2550
2564
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
2551
2565
  * @param {string} owner
2552
2566
  * @param {string} name
@@ -3150,6 +3164,13 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3150
3164
  * @throws {RequiredError}
3151
3165
  */
3152
3166
  getIamOauthCallback(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3167
+ /**
3168
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
3169
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
3170
+ * @param {*} [options] Override http request option.
3171
+ * @throws {RequiredError}
3172
+ */
3173
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3153
3174
  /**
3154
3175
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
3155
3176
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -3486,7 +3507,7 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3486
3507
  */
3487
3508
  postIamAdminProvision(options?: RawAxiosRequestConfig): AxiosPromise<void>;
3488
3509
  /**
3489
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3510
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3490
3511
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
3491
3512
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
3492
3513
  * @param {*} [options] Override http request option.
@@ -3832,7 +3853,7 @@ export declare const IamApiFactory: (configuration?: Configuration, basePath?: s
3832
3853
  */
3833
3854
  putIamAccount(requestParameters: IamApiPutIamAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<IamAnswer>;
3834
3855
  /**
3835
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
3856
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
3836
3857
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
3837
3858
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
3838
3859
  * @param {*} [options] Override http request option.
@@ -6426,6 +6447,14 @@ export declare class IamApi extends BaseAPI {
6426
6447
  * @memberof IamApi
6427
6448
  */
6428
6449
  getIamOauthCallback(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
6450
+ /**
6451
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
6452
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
6453
+ * @param {*} [options] Override http request option.
6454
+ * @throws {RequiredError}
6455
+ * @memberof IamApi
6456
+ */
6457
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
6429
6458
  /**
6430
6459
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
6431
6460
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -6806,7 +6835,7 @@ export declare class IamApi extends BaseAPI {
6806
6835
  */
6807
6836
  postIamAdminProvision(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
6808
6837
  /**
6809
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6838
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6810
6839
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
6811
6840
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
6812
6841
  * @param {*} [options] Override http request option.
@@ -7199,7 +7228,7 @@ export declare class IamApi extends BaseAPI {
7199
7228
  */
7200
7229
  putIamAccount(requestParameters: IamApiPutIamAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IamAnswer, any, {}>>;
7201
7230
  /**
7202
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7231
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7203
7232
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
7204
7233
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
7205
7234
  * @param {*} [options] Override http request option.
@@ -1566,6 +1566,34 @@ export const IamApiAxiosParamCreator = function (configuration) {
1566
1566
  options: localVarRequestOptions,
1567
1567
  };
1568
1568
  },
1569
+ /**
1570
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
1571
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
1572
+ * @param {*} [options] Override http request option.
1573
+ * @throws {RequiredError}
1574
+ */
1575
+ getIamOauthDelegationKeys: async (options = {}) => {
1576
+ const localVarPath = `/v1/iam/oauth/delegation/keys`;
1577
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1578
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1579
+ let baseOptions;
1580
+ if (configuration) {
1581
+ baseOptions = configuration.baseOptions;
1582
+ }
1583
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1584
+ const localVarHeaderParameter = {};
1585
+ const localVarQueryParameter = {};
1586
+ // authentication bearer required
1587
+ // http bearer authentication required
1588
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1589
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1590
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1591
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1592
+ return {
1593
+ url: toPathString(localVarUrlObj),
1594
+ options: localVarRequestOptions,
1595
+ };
1596
+ },
1569
1597
  /**
1570
1598
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
1571
1599
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -3011,7 +3039,7 @@ export const IamApiAxiosParamCreator = function (configuration) {
3011
3039
  };
3012
3040
  },
3013
3041
  /**
3014
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3042
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3015
3043
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
3016
3044
  * @param {IamApplication} iamApplication
3017
3045
  * @param {*} [options] Override http request option.
@@ -4453,7 +4481,7 @@ export const IamApiAxiosParamCreator = function (configuration) {
4453
4481
  };
4454
4482
  },
4455
4483
  /**
4456
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
4484
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
4457
4485
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
4458
4486
  * @param {string} owner
4459
4487
  * @param {string} name
@@ -6057,6 +6085,18 @@ export const IamApiFp = function (configuration) {
6057
6085
  const localVarOperationServerBasePath = operationServerMap['IamApi.getIamOauthCallback']?.[localVarOperationServerIndex]?.url;
6058
6086
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6059
6087
  },
6088
+ /**
6089
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
6090
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
6091
+ * @param {*} [options] Override http request option.
6092
+ * @throws {RequiredError}
6093
+ */
6094
+ async getIamOauthDelegationKeys(options) {
6095
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIamOauthDelegationKeys(options);
6096
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6097
+ const localVarOperationServerBasePath = operationServerMap['IamApi.getIamOauthDelegationKeys']?.[localVarOperationServerIndex]?.url;
6098
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6099
+ },
6060
6100
  /**
6061
6101
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
6062
6102
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -6639,7 +6679,7 @@ export const IamApiFp = function (configuration) {
6639
6679
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6640
6680
  },
6641
6681
  /**
6642
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6682
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
6643
6683
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
6644
6684
  * @param {IamApplication} iamApplication
6645
6685
  * @param {*} [options] Override http request option.
@@ -7231,7 +7271,7 @@ export const IamApiFp = function (configuration) {
7231
7271
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7232
7272
  },
7233
7273
  /**
7234
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7274
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
7235
7275
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
7236
7276
  * @param {string} owner
7237
7277
  * @param {string} name
@@ -8055,6 +8095,15 @@ export const IamApiFactory = function (configuration, basePath, axios) {
8055
8095
  getIamOauthCallback(options) {
8056
8096
  return localVarFp.getIamOauthCallback(options).then((request) => request(axios, basePath));
8057
8097
  },
8098
+ /**
8099
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
8100
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
8101
+ * @param {*} [options] Override http request option.
8102
+ * @throws {RequiredError}
8103
+ */
8104
+ getIamOauthDelegationKeys(options) {
8105
+ return localVarFp.getIamOauthDelegationKeys(options).then((request) => request(axios, basePath));
8106
+ },
8058
8107
  /**
8059
8108
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
8060
8109
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -8479,7 +8528,7 @@ export const IamApiFactory = function (configuration, basePath, axios) {
8479
8528
  return localVarFp.postIamAdminProvision(options).then((request) => request(axios, basePath));
8480
8529
  },
8481
8530
  /**
8482
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
8531
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
8483
8532
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
8484
8533
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
8485
8534
  * @param {*} [options] Override http request option.
@@ -8919,7 +8968,7 @@ export const IamApiFactory = function (configuration, basePath, axios) {
8919
8968
  return localVarFp.putIamAccount(requestParameters.iamAccountBody, requestParameters.cookie, requestParameters.authorization, options).then((request) => request(axios, basePath));
8920
8969
  },
8921
8970
  /**
8922
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8971
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8923
8972
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
8924
8973
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
8925
8974
  * @param {*} [options] Override http request option.
@@ -9673,6 +9722,16 @@ export class IamApi extends BaseAPI {
9673
9722
  getIamOauthCallback(options) {
9674
9723
  return IamApiFp(this.configuration).getIamOauthCallback(options).then((request) => request(this.axios, this.basePath));
9675
9724
  }
9725
+ /**
9726
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
9727
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
9728
+ * @param {*} [options] Override http request option.
9729
+ * @throws {RequiredError}
9730
+ * @memberof IamApi
9731
+ */
9732
+ getIamOauthDelegationKeys(options) {
9733
+ return IamApiFp(this.configuration).getIamOauthDelegationKeys(options).then((request) => request(this.axios, this.basePath));
9734
+ }
9676
9735
  /**
9677
9736
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
9678
9737
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -10141,7 +10200,7 @@ export class IamApi extends BaseAPI {
10141
10200
  return IamApiFp(this.configuration).postIamAdminProvision(options).then((request) => request(this.axios, this.basePath));
10142
10201
  }
10143
10202
  /**
10144
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
10203
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
10145
10204
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
10146
10205
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
10147
10206
  * @param {*} [options] Override http request option.
@@ -10628,7 +10687,7 @@ export class IamApi extends BaseAPI {
10628
10687
  return IamApiFp(this.configuration).putIamAccount(requestParameters.iamAccountBody, requestParameters.cookie, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
10629
10688
  }
10630
10689
  /**
10631
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10690
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10632
10691
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
10633
10692
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
10634
10693
  * @param {*} [options] Override http request option.
@@ -45,6 +45,12 @@ export interface AiResponsesTool {
45
45
  * @memberof AiResponsesTool
46
46
  */
47
47
  'strict'?: boolean;
48
+ /**
49
+ *
50
+ * @type {Array<AiResponsesTool>}
51
+ * @memberof AiResponsesTool
52
+ */
53
+ 'tools'?: Array<AiResponsesTool>;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -28,7 +28,7 @@ export interface IamToken {
28
28
  */
29
29
  'accessTokenHash'?: string;
30
30
  /**
31
- *
31
+ * Actor is the SuperAdmin (\"owner/name\") who opened this grant AS its User — impersonation, /v1/iam/impersonate — and Reason is why they said they did. Both empty on every grant a person established themselves. A grant with an Actor mints a short access token that names the actor in `act` and carries `imp`, and never a refresh token (issueTokens), and /v1/iam/signin refuses its code, so it cannot become a session at the issuer.
32
32
  * @type {string}
33
33
  * @memberof IamToken
34
34
  */
@@ -45,6 +45,12 @@ export interface AiResponsesTool {
45
45
  * @memberof AiResponsesTool
46
46
  */
47
47
  'strict'?: boolean;
48
+ /**
49
+ *
50
+ * @type {Array<AiResponsesTool>}
51
+ * @memberof AiResponsesTool
52
+ */
53
+ 'tools'?: Array<AiResponsesTool>;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -28,7 +28,7 @@ export interface IamToken {
28
28
  */
29
29
  'accessTokenHash'?: string;
30
30
  /**
31
- *
31
+ * Actor is the SuperAdmin (\"owner/name\") who opened this grant AS its User — impersonation, /v1/iam/impersonate — and Reason is why they said they did. Both empty on every grant a person established themselves. A grant with an Actor mints a short access token that names the actor in `act` and carries `imp`, and never a refresh token (issueTokens), and /v1/iam/signin refuses its code, so it cannot become a session at the issuer.
32
32
  * @type {string}
33
33
  * @memberof IamToken
34
34
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hanzoai",
3
- "version": "8.5.725",
3
+ "version": "8.5.729",
4
4
  "description": "The official TypeScript library for the Hanzo API",
5
5
  "author": "Hanzo <dev@hanzo.ai>",
6
6
  "license": "Apache-2.0",
@@ -2012,6 +2012,40 @@ export const IamApiAxiosParamCreator = function (configuration?: Configuration)
2012
2012
 
2013
2013
 
2014
2014
 
2015
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2016
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2017
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2018
+
2019
+ return {
2020
+ url: toPathString(localVarUrlObj),
2021
+ options: localVarRequestOptions,
2022
+ };
2023
+ },
2024
+ /**
2025
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
2026
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
2027
+ * @param {*} [options] Override http request option.
2028
+ * @throws {RequiredError}
2029
+ */
2030
+ getIamOauthDelegationKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2031
+ const localVarPath = `/v1/iam/oauth/delegation/keys`;
2032
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2033
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2034
+ let baseOptions;
2035
+ if (configuration) {
2036
+ baseOptions = configuration.baseOptions;
2037
+ }
2038
+
2039
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2040
+ const localVarHeaderParameter = {} as any;
2041
+ const localVarQueryParameter = {} as any;
2042
+
2043
+ // authentication bearer required
2044
+ // http bearer authentication required
2045
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2046
+
2047
+
2048
+
2015
2049
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2016
2050
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2017
2051
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3752,7 +3786,7 @@ export const IamApiAxiosParamCreator = function (configuration?: Configuration)
3752
3786
  };
3753
3787
  },
3754
3788
  /**
3755
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3789
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
3756
3790
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
3757
3791
  * @param {IamApplication} iamApplication
3758
3792
  * @param {*} [options] Override http request option.
@@ -5490,7 +5524,7 @@ export const IamApiAxiosParamCreator = function (configuration?: Configuration)
5490
5524
  };
5491
5525
  },
5492
5526
  /**
5493
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
5527
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
5494
5528
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
5495
5529
  * @param {string} owner
5496
5530
  * @param {string} name
@@ -7267,6 +7301,18 @@ export const IamApiFp = function(configuration?: Configuration) {
7267
7301
  const localVarOperationServerBasePath = operationServerMap['IamApi.getIamOauthCallback']?.[localVarOperationServerIndex]?.url;
7268
7302
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7269
7303
  },
7304
+ /**
7305
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
7306
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
7307
+ * @param {*} [options] Override http request option.
7308
+ * @throws {RequiredError}
7309
+ */
7310
+ async getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
7311
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIamOauthDelegationKeys(options);
7312
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
7313
+ const localVarOperationServerBasePath = operationServerMap['IamApi.getIamOauthDelegationKeys']?.[localVarOperationServerIndex]?.url;
7314
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7315
+ },
7270
7316
  /**
7271
7317
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
7272
7318
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -7849,7 +7895,7 @@ export const IamApiFp = function(configuration?: Configuration) {
7849
7895
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
7850
7896
  },
7851
7897
  /**
7852
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
7898
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
7853
7899
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
7854
7900
  * @param {IamApplication} iamApplication
7855
7901
  * @param {*} [options] Override http request option.
@@ -8441,7 +8487,7 @@ export const IamApiFp = function(configuration?: Configuration) {
8441
8487
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8442
8488
  },
8443
8489
  /**
8444
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8490
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
8445
8491
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
8446
8492
  * @param {string} owner
8447
8493
  * @param {string} name
@@ -9266,6 +9312,15 @@ export const IamApiFactory = function (configuration?: Configuration, basePath?:
9266
9312
  getIamOauthCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
9267
9313
  return localVarFp.getIamOauthCallback(options).then((request) => request(axios, basePath));
9268
9314
  },
9315
+ /**
9316
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
9317
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
9318
+ * @param {*} [options] Override http request option.
9319
+ * @throws {RequiredError}
9320
+ */
9321
+ getIamOauthDelegationKeys(options?: RawAxiosRequestConfig): AxiosPromise<void> {
9322
+ return localVarFp.getIamOauthDelegationKeys(options).then((request) => request(axios, basePath));
9323
+ },
9269
9324
  /**
9270
9325
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
9271
9326
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -9690,7 +9745,7 @@ export const IamApiFactory = function (configuration?: Configuration, basePath?:
9690
9745
  return localVarFp.postIamAdminProvision(options).then((request) => request(axios, basePath));
9691
9746
  },
9692
9747
  /**
9693
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
9748
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
9694
9749
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
9695
9750
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
9696
9751
  * @param {*} [options] Override http request option.
@@ -10130,7 +10185,7 @@ export const IamApiFactory = function (configuration?: Configuration, basePath?:
10130
10185
  return localVarFp.putIamAccount(requestParameters.iamAccountBody, requestParameters.cookie, requestParameters.authorization, options).then((request) => request(axios, basePath));
10131
10186
  },
10132
10187
  /**
10133
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10188
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
10134
10189
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
10135
10190
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
10136
10191
  * @param {*} [options] Override http request option.
@@ -13122,6 +13177,17 @@ export class IamApi extends BaseAPI {
13122
13177
  return IamApiFp(this.configuration).getIamOauthCallback(options).then((request) => request(this.axios, this.basePath));
13123
13178
  }
13124
13179
 
13180
+ /**
13181
+ * Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with. To anyone else it answers as the token endpoint does: who are you, or not you. The key is not a secret; publishing it is the hazard. A verifier that fetches the public JWKS and trusts what verifies would admit a delegated token as the person. So it is not in that document, and this one is not an address a relying party is ever pointed at.
13182
+ * @summary Serves the public half of every delegation key, as a JWKS, to a confidential client allowed to delegate — the one resource server that verifies what it is handed, reading with the credential it delegates with.
13183
+ * @param {*} [options] Override http request option.
13184
+ * @throws {RequiredError}
13185
+ * @memberof IamApi
13186
+ */
13187
+ public getIamOauthDelegationKeys(options?: RawAxiosRequestConfig) {
13188
+ return IamApiFp(this.configuration).getIamOauthDelegationKeys(options).then((request) => request(this.axios, this.basePath));
13189
+ }
13190
+
13125
13191
  /**
13126
13192
  * Ends a sign-in and sends the browser somewhere sensible. Accepts GET or POST, so it works as a plain link. It ACTUALLY signs you out — worth stating, because a logout that computes a redirect and answers {\"status\":\"ok\"} while ending no session and revoking no token is worse than none: the person on the shared machine believes it worked. Three things happen here, in this order: 1. The browser session dies — sid revoked server-side AND the cookie expired (sessions.Clear). Server-side revocation is the load-bearing half: a copy of the cookie taken before logout must not still resolve. 2. The relying party\'s tokens are revoked when an id_token_hint names it, so the refresh token cannot mint a fresh access token after the human left. Revocation state is authoritative — a JWT\'s `exp` still reads valid for days, so expiry is necessary but never sufficient. 3. Only then is a redirect considered, and only to a REGISTERED uri. The open-redirect guard: a redirect happens only when a VERIFIED id_token_hint (or client_id) identifies the application and that application has registered the target. Nobody can turn your logout link into a redirect to a site of their choosing. A GET is the end-session navigation (OIDC RP-Initiated Logout 1.0 §2), so it always ends on a page: the registered address when one was asked for, else this issuer\'s sign-in page for the application being signed out of. A relying party therefore needs no configuration to sign someone out. A POST is also how a program signs out, so it keeps the JSON answer unless it asks for HTML.
13127
13193
  * @summary Ends a sign-in and sends the browser somewhere sensible.
@@ -13634,7 +13700,7 @@ export class IamApi extends BaseAPI {
13634
13700
  }
13635
13701
 
13636
13702
  /**
13637
- * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
13703
+ * Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs. A name already used in the organization is refused rather than overwritten. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is created by a SuperAdmin only. Exported so the legacy add-application alias reuses this exact path — one create, two spellings.
13638
13704
  * @summary Registers an application in your organization — one product or site your people sign in to, with its own client credentials, sign-in methods and allowed redirect URIs.
13639
13705
  * @param {IamApiPostIamApplicationsRequest} requestParameters Request parameters.
13640
13706
  * @param {*} [options] Override http request option.
@@ -14168,7 +14234,7 @@ export class IamApi extends BaseAPI {
14168
14234
  }
14169
14235
 
14170
14236
  /**
14171
- * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
14237
+ * Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host. Which organization it belongs to and what it is named are fixed when it is created and are not editable here. An application that serves other organizations — isShared, or any orgChoiceMode but \"\" and \"None\" — is written by a SuperAdmin only, before and after the change. Exported so the legacy update-application alias reuses this exact path — one update, two spellings.
14172
14238
  * @summary Changes an application\'s display, its sign-in methods and the redirect URIs it may return to — the call that makes login work from a new host.
14173
14239
  * @param {IamApiPutIamApplicationsByOwnerByNameRequest} requestParameters Request parameters.
14174
14240
  * @param {*} [options] Override http request option.
@@ -50,6 +50,12 @@ export interface AiResponsesTool {
50
50
  * @memberof AiResponsesTool
51
51
  */
52
52
  'strict'?: boolean;
53
+ /**
54
+ *
55
+ * @type {Array<AiResponsesTool>}
56
+ * @memberof AiResponsesTool
57
+ */
58
+ 'tools'?: Array<AiResponsesTool>;
53
59
  /**
54
60
  *
55
61
  * @type {string}
@@ -33,7 +33,7 @@ export interface IamToken {
33
33
  */
34
34
  'accessTokenHash'?: string;
35
35
  /**
36
- *
36
+ * Actor is the SuperAdmin (\"owner/name\") who opened this grant AS its User — impersonation, /v1/iam/impersonate — and Reason is why they said they did. Both empty on every grant a person established themselves. A grant with an Actor mints a short access token that names the actor in `act` and carries `imp`, and never a refresh token (issueTokens), and /v1/iam/signin refuses its code, so it cannot become a session at the issuer.
37
37
  * @type {string}
38
38
  * @memberof IamToken
39
39
  */