@artifact-keeper/sdk 1.2.4 → 1.2.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.gen.ts +18 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artifact-keeper/sdk",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "TypeScript SDK for the Artifact Keeper REST API",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/types.gen.ts CHANGED
@@ -943,6 +943,12 @@ export type CreateSamlConfigRequest = {
943
943
  slo_url?: string | null;
944
944
  sp_entity_id?: string | null;
945
945
  sso_url: string;
946
+ /**
947
+ * Opt-in flag (see migration 139): when true, the SAML AuthnRequest
948
+ * emits an absolute ACS URL for stricter IdPs that reject the
949
+ * historical relative path. Defaults to false.
950
+ */
951
+ use_absolute_acs_url?: boolean | null;
946
952
  };
947
953
 
948
954
  export type CreateServiceAccountRequest = {
@@ -3335,6 +3341,12 @@ export type SamlConfigResponse = {
3335
3341
  sp_entity_id: string;
3336
3342
  sso_url: string;
3337
3343
  updated_at: string;
3344
+ /**
3345
+ * Opt-in flag (see migration 139): when true, the SAML AuthnRequest
3346
+ * emits an absolute ACS URL. Defaults to false so existing providers
3347
+ * keep their pre-138 wire format.
3348
+ */
3349
+ use_absolute_acs_url: boolean;
3338
3350
  };
3339
3351
 
3340
3352
  export type SbomContentResponse = SbomResponse & {
@@ -4296,6 +4308,7 @@ export type UpdateSamlConfigRequest = {
4296
4308
  slo_url?: string | null;
4297
4309
  sp_entity_id?: string | null;
4298
4310
  sso_url?: string | null;
4311
+ use_absolute_acs_url?: boolean | null;
4299
4312
  };
4300
4313
 
4301
4314
  export type UpdateServiceAccountRequest = {
@@ -13829,6 +13842,10 @@ export type CreateKeyErrors = {
13829
13842
  * Unauthorized
13830
13843
  */
13831
13844
  401: ErrorResponse;
13845
+ /**
13846
+ * Repository not found
13847
+ */
13848
+ 404: ErrorResponse;
13832
13849
  };
13833
13850
 
13834
13851
  export type CreateKeyError = CreateKeyErrors[keyof CreateKeyErrors];
@@ -15065,17 +15082,13 @@ export type CreateWebhookData = {
15065
15082
 
15066
15083
  export type CreateWebhookErrors = {
15067
15084
  /**
15068
- * Validation error
15085
+ * Validation error, including: a secret was supplied but AK_WEBHOOK_SECRET_KEY is not configured, so the secret cannot be encrypted at rest (create the webhook without a secret, or have an administrator configure the signing key)
15069
15086
  */
15070
15087
  422: unknown;
15071
15088
  /**
15072
15089
  * Internal server error
15073
15090
  */
15074
15091
  500: unknown;
15075
- /**
15076
- * A secret was supplied but AK_WEBHOOK_SECRET_KEY is not configured, so the secret cannot be encrypted at rest
15077
- */
15078
- 503: unknown;
15079
15092
  };
15080
15093
 
15081
15094
  export type CreateWebhookResponses = {