@cdot65/prisma-airs-sdk 0.6.11 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -51,9 +51,12 @@ __export(index_exports, {
51
51
  AttackOutputSchema: () => AttackOutputSchema,
52
52
  AttackStatus: () => AttackStatus,
53
53
  AttackType: () => AttackType,
54
+ AuthConfigSchema: () => AuthConfigSchema,
54
55
  AuthType: () => AuthType,
55
56
  BEARER: () => BEARER,
56
57
  BaseResponseSchema: () => BaseResponseSchema,
58
+ BasicAuthAuthConfigSchema: () => BasicAuthAuthConfigSchema,
59
+ BasicAuthLocation: () => BasicAuthLocation,
57
60
  BedrockAccessConnectionParamsSchema: () => BedrockAccessConnectionParamsSchema,
58
61
  BrandSubCategory: () => BrandSubCategory,
59
62
  Category: () => Category,
@@ -119,11 +122,19 @@ __export(index_exports, {
119
122
  DeleteProfileResponseSchema: () => DeleteProfileResponseSchema,
120
123
  DeleteTopicConflictSchema: () => DeleteTopicConflictSchema,
121
124
  DeleteTopicResponseSchema: () => DeleteTopicResponseSchema,
125
+ DeploymentProfileAttributeSchema: () => DeploymentProfileAttributeSchema,
122
126
  DeploymentProfileEntrySchema: () => DeploymentProfileEntrySchema,
127
+ DeploymentProfileRequestSchema: () => DeploymentProfileRequestSchema,
123
128
  DeploymentProfilesClient: () => DeploymentProfilesClient,
124
129
  DeploymentProfilesResponseSchema: () => DeploymentProfilesResponseSchema,
125
130
  DetectionServiceName: () => DetectionServiceName,
126
131
  DetectionServiceResultSchema: () => DetectionServiceResultSchema,
132
+ DeviceInstanceSchema: () => DeviceInstanceSchema,
133
+ DeviceLicenseSchema: () => DeviceLicenseSchema,
134
+ DeviceRequestSchema: () => DeviceRequestSchema,
135
+ DeviceResponseSchema: () => DeviceResponseSchema,
136
+ DeviceSchema: () => DeviceSchema,
137
+ DeviceStatusSchema: () => DeviceStatusSchema,
127
138
  DlpDataProfilePolicySchema: () => DlpDataProfilePolicySchema,
128
139
  DlpDataProfileSchema: () => DlpDataProfileSchema,
129
140
  DlpPatternDetectionSchema: () => DlpPatternDetectionSchema,
@@ -141,6 +152,9 @@ __export(index_exports, {
141
152
  ErrorSource: () => ErrorSource,
142
153
  ErrorStatus: () => ErrorStatus,
143
154
  ErrorType: () => ErrorType,
155
+ EulaAcceptRequestSchema: () => EulaAcceptRequestSchema,
156
+ EulaContentResponseSchema: () => EulaContentResponseSchema,
157
+ EulaResponseSchema: () => EulaResponseSchema,
144
158
  EvalOutcome: () => EvalOutcome,
145
159
  EvalSummarySchema: () => EvalSummarySchema,
146
160
  FileFormat: () => FileFormat,
@@ -158,8 +172,13 @@ __export(index_exports, {
158
172
  HEADER_AUTH_TOKEN: () => HEADER_AUTH_TOKEN,
159
173
  HTTPValidationErrorSchema: () => HTTPValidationErrorSchema,
160
174
  HTTP_FORCE_RETRY_STATUS_CODES: () => HTTP_FORCE_RETRY_STATUS_CODES,
175
+ HeadersAuthConfigSchema: () => HeadersAuthConfigSchema,
161
176
  HuggingfaceConnectionParamsSchema: () => HuggingfaceConnectionParamsSchema,
162
177
  IODetectedSchema: () => IODetectedSchema,
178
+ InstanceExtraDetailsSchema: () => InstanceExtraDetailsSchema,
179
+ InstanceGetResponseSchema: () => InstanceGetResponseSchema,
180
+ InstanceRequestSchema: () => InstanceRequestSchema,
181
+ InstanceResponseSchema: () => InstanceResponseSchema,
163
182
  JobAbortResponseSchema: () => JobAbortResponseSchema,
164
183
  JobCreateRequestSchema: () => JobCreateRequestSchema,
165
184
  JobListResponseSchema: () => JobListResponseSchema,
@@ -247,6 +266,7 @@ __export(index_exports, {
247
266
  ModelSecurityScansClient: () => ModelSecurityScansClient,
248
267
  MultiTurnStatefulConfigSchema: () => MultiTurnStatefulConfigSchema,
249
268
  MultiTurnStatelessConfigSchema: () => MultiTurnStatelessConfigSchema,
269
+ OAuth2AuthConfigSchema: () => OAuth2AuthConfigSchema,
250
270
  OAuthClient: () => OAuthClient,
251
271
  OAuthManagementClient: () => OAuthManagementClient,
252
272
  Oauth2TokenSchema: () => Oauth2TokenSchema,
@@ -288,15 +308,20 @@ __export(index_exports, {
288
308
  RED_TEAM_DASHBOARD_PATH: () => RED_TEAM_DASHBOARD_PATH,
289
309
  RED_TEAM_DATA_ENDPOINT: () => RED_TEAM_DATA_ENDPOINT,
290
310
  RED_TEAM_ERROR_LOG_PATH: () => RED_TEAM_ERROR_LOG_PATH,
311
+ RED_TEAM_EULA_PATH: () => RED_TEAM_EULA_PATH,
312
+ RED_TEAM_INSTANCES_PATH: () => RED_TEAM_INSTANCES_PATH,
291
313
  RED_TEAM_MGMT_DASHBOARD_PATH: () => RED_TEAM_MGMT_DASHBOARD_PATH,
292
314
  RED_TEAM_MGMT_ENDPOINT: () => RED_TEAM_MGMT_ENDPOINT,
293
315
  RED_TEAM_QUOTA_PATH: () => RED_TEAM_QUOTA_PATH,
316
+ RED_TEAM_REGISTRY_CREDENTIALS_PATH: () => RED_TEAM_REGISTRY_CREDENTIALS_PATH,
294
317
  RED_TEAM_REPORT_DYNAMIC_PATH: () => RED_TEAM_REPORT_DYNAMIC_PATH,
295
318
  RED_TEAM_REPORT_PATH: () => RED_TEAM_REPORT_PATH,
296
319
  RED_TEAM_REPORT_STATIC_PATH: () => RED_TEAM_REPORT_STATIC_PATH,
297
320
  RED_TEAM_SCAN_PATH: () => RED_TEAM_SCAN_PATH,
298
321
  RED_TEAM_SENTIMENT_PATH: () => RED_TEAM_SENTIMENT_PATH,
299
322
  RED_TEAM_TARGET_PATH: () => RED_TEAM_TARGET_PATH,
323
+ RED_TEAM_TARGET_VALIDATE_AUTH_PATH: () => RED_TEAM_TARGET_VALIDATE_AUTH_PATH,
324
+ RED_TEAM_TEMPLATE_PATH: () => RED_TEAM_TEMPLATE_PATH,
300
325
  RED_TEAM_TOKEN_ENDPOINT: () => RED_TEAM_TOKEN_ENDPOINT,
301
326
  RED_TEAM_TSG_ID: () => RED_TEAM_TSG_ID,
302
327
  RedTeamCategory: () => RedTeamCategory,
@@ -304,10 +329,13 @@ __export(index_exports, {
304
329
  RedTeamCustomAttackReportsClient: () => RedTeamCustomAttackReportsClient,
305
330
  RedTeamCustomAttacksClient: () => RedTeamCustomAttacksClient,
306
331
  RedTeamErrorType: () => RedTeamErrorType,
332
+ RedTeamEulaClient: () => RedTeamEulaClient,
333
+ RedTeamInstancesClient: () => RedTeamInstancesClient,
307
334
  RedTeamPaginationSchema: () => RedTeamPaginationSchema,
308
335
  RedTeamReportsClient: () => RedTeamReportsClient,
309
336
  RedTeamScansClient: () => RedTeamScansClient,
310
337
  RedTeamTargetsClient: () => RedTeamTargetsClient,
338
+ RegistryCredentialsSchema: () => RegistryCredentialsSchema,
311
339
  RemediationDetailSchema: () => RemediationDetailSchema,
312
340
  RemediationResponseSchema: () => RemediationResponseSchema,
313
341
  ResponseDetectedSchema: () => ResponseDetectedSchema,
@@ -377,6 +405,9 @@ __export(index_exports, {
377
405
  SubCategoryModelSchema: () => SubCategoryModelSchema,
378
406
  SubCategoryStatsSchema: () => SubCategoryStatsSchema,
379
407
  TargetAdditionalContextSchema: () => TargetAdditionalContextSchema,
408
+ TargetAuthType: () => TargetAuthType,
409
+ TargetAuthValidationRequestSchema: () => TargetAuthValidationRequestSchema,
410
+ TargetAuthValidationResponseSchema: () => TargetAuthValidationResponseSchema,
380
411
  TargetBackgroundSchema: () => TargetBackgroundSchema,
381
412
  TargetConnectionType: () => TargetConnectionType,
382
413
  TargetContextUpdateSchema: () => TargetContextUpdateSchema,
@@ -390,6 +421,7 @@ __export(index_exports, {
390
421
  TargetReferenceSchema: () => TargetReferenceSchema,
391
422
  TargetResponseSchema: () => TargetResponseSchema,
392
423
  TargetStatus: () => TargetStatus,
424
+ TargetTemplateCollectionSchema: () => TargetTemplateCollectionSchema,
393
425
  TargetType: () => TargetType,
394
426
  TargetUpdateRequestSchema: () => TargetUpdateRequestSchema,
395
427
  TcReportSchema: () => TcReportSchema,
@@ -409,6 +441,7 @@ __export(index_exports, {
409
441
  Verdict: () => Verdict,
410
442
  ViolationListSchema: () => ViolationListSchema,
411
443
  ViolationResponseSchema: () => ViolationResponseSchema,
444
+ WebSocketConnectionParamsSchema: () => WebSocketConnectionParamsSchema,
412
445
  globalConfiguration: () => globalConfiguration,
413
446
  init: () => init
414
447
  });
@@ -445,7 +478,7 @@ var MAX_NUMBER_OF_BATCH_SCAN_OBJECTS = 5;
445
478
  var MAX_CONNECTION_POOL_SIZE = 100;
446
479
  var MAX_NUMBER_OF_RETRIES = 5;
447
480
  var HTTP_FORCE_RETRY_STATUS_CODES = [500, 502, 503, 504];
448
- var SDK_VERSION = "0.6.11";
481
+ var SDK_VERSION = "0.7.1";
449
482
  var USER_AGENT = `PAN-AIRS/${SDK_VERSION}-typescript-sdk`;
450
483
  var DEFAULT_MGMT_ENDPOINT = "https://api.sase.paloaltonetworks.com/aisec";
451
484
  var DEFAULT_TOKEN_ENDPOINT = "https://auth.apps.paloaltonetworks.com/oauth2/access_token";
@@ -505,6 +538,11 @@ var RED_TEAM_QUOTA_PATH = "/v1/metering/quota";
505
538
  var RED_TEAM_ERROR_LOG_PATH = "/v1/error-log/job";
506
539
  var RED_TEAM_SENTIMENT_PATH = "/v1/sentiment";
507
540
  var RED_TEAM_TARGET_PATH = "/v1/target";
541
+ var RED_TEAM_TARGET_VALIDATE_AUTH_PATH = "/v1/target/validate-auth";
542
+ var RED_TEAM_TEMPLATE_PATH = "/v1/template";
543
+ var RED_TEAM_EULA_PATH = "/v1/eula";
544
+ var RED_TEAM_INSTANCES_PATH = "/v1/instances";
545
+ var RED_TEAM_REGISTRY_CREDENTIALS_PATH = "/v1/registry-credentials";
508
546
  var RED_TEAM_CUSTOM_ATTACK_PATH = "/v1/custom-attack";
509
547
  var RED_TEAM_MGMT_DASHBOARD_PATH = "/v1/dashboard/overview";
510
548
 
@@ -2132,6 +2170,15 @@ var AuthType = {
2132
2170
  OAUTH: "OAUTH",
2133
2171
  ACCESS_TOKEN: "ACCESS_TOKEN"
2134
2172
  };
2173
+ var TargetAuthType = {
2174
+ HEADERS: "HEADERS",
2175
+ BASIC_AUTH: "BASIC_AUTH",
2176
+ OAUTH2: "OAUTH2"
2177
+ };
2178
+ var BasicAuthLocation = {
2179
+ HEADER: "HEADER",
2180
+ PAYLOAD: "PAYLOAD"
2181
+ };
2135
2182
  var BrandSubCategory = {
2136
2183
  COMPETITOR_ENDORSEMENTS: "COMPETITOR_ENDORSEMENTS",
2137
2184
  BRAND_TARNISHING_SELF_CRITICISM: "BRAND_TARNISHING_SELF_CRITICISM",
@@ -2287,7 +2334,8 @@ var TargetConnectionType = {
2287
2334
  HUGGING_FACE: "HUGGING_FACE",
2288
2335
  CUSTOM: "CUSTOM",
2289
2336
  REST: "REST",
2290
- STREAMING: "STREAMING"
2337
+ STREAMING: "STREAMING",
2338
+ WEBSOCKET: "WEBSOCKET"
2291
2339
  };
2292
2340
  var TargetStatus = {
2293
2341
  DRAFT: "DRAFT",
@@ -2351,6 +2399,24 @@ var MultiTurnStatelessConfigSchema = import_zod25.z.object({
2351
2399
  type: import_zod25.z.string().default("stateless"),
2352
2400
  assistant_role: import_zod25.z.string().nullable().optional()
2353
2401
  }).passthrough();
2402
+ var HeadersAuthConfigSchema = import_zod25.z.object({ auth_header: import_zod25.z.record(import_zod25.z.unknown()) }).passthrough();
2403
+ var BasicAuthAuthConfigSchema = import_zod25.z.object({
2404
+ basic_auth_location: import_zod25.z.string().default("HEADER"),
2405
+ basic_auth_header: import_zod25.z.record(import_zod25.z.unknown()).nullable().optional()
2406
+ }).passthrough();
2407
+ var OAuth2AuthConfigSchema = import_zod25.z.object({
2408
+ oauth2_token_url: import_zod25.z.string(),
2409
+ oauth2_expiry_minutes: import_zod25.z.number().int().default(60),
2410
+ oauth2_headers: import_zod25.z.record(import_zod25.z.unknown()).optional(),
2411
+ oauth2_body_params: import_zod25.z.record(import_zod25.z.unknown()).optional(),
2412
+ oauth2_token_response_key: import_zod25.z.string().default("access_token"),
2413
+ oauth2_inject_header: import_zod25.z.record(import_zod25.z.unknown())
2414
+ }).passthrough();
2415
+ var AuthConfigSchema = import_zod25.z.union([
2416
+ HeadersAuthConfigSchema,
2417
+ BasicAuthAuthConfigSchema,
2418
+ OAuth2AuthConfigSchema
2419
+ ]);
2354
2420
  var OpenAIConnectionParamsSchema = import_zod25.z.object({
2355
2421
  api_key: import_zod25.z.string(),
2356
2422
  model_name: import_zod25.z.string()
@@ -2388,7 +2454,11 @@ var StreamingConnectionParamsSchema = RestConnectionParamsSchema.extend({
2388
2454
  response_stop_key: import_zod25.z.string(),
2389
2455
  response_stop_value: import_zod25.z.string()
2390
2456
  }).passthrough();
2457
+ var WebSocketConnectionParamsSchema = RestConnectionParamsSchema.extend({
2458
+ ws_response_timeout: import_zod25.z.number().default(110)
2459
+ }).passthrough();
2391
2460
  var ConnectionParamsSchema = import_zod25.z.union([
2461
+ WebSocketConnectionParamsSchema,
2392
2462
  StreamingConnectionParamsSchema,
2393
2463
  RestConnectionParamsSchema
2394
2464
  ]);
@@ -2493,7 +2563,8 @@ var TargetReferenceSchema = import_zod25.z.object({
2493
2563
  target_metadata: TargetMetadataSchema.optional(),
2494
2564
  target_background: TargetBackgroundSchema.nullable().optional(),
2495
2565
  profiling_status: import_zod25.z.string().nullable().optional(),
2496
- additional_context: TargetAdditionalContextSchema.nullable().optional()
2566
+ additional_context: TargetAdditionalContextSchema.nullable().optional(),
2567
+ auth_type: import_zod25.z.string().nullable().optional()
2497
2568
  }).passthrough();
2498
2569
  var JobResponseSchema = import_zod25.z.object({
2499
2570
  uuid: import_zod25.z.string(),
@@ -2937,39 +3008,26 @@ var ErrorLogSchema = import_zod25.z.object({
2937
3008
  version: import_zod25.z.number().int().optional()
2938
3009
  }).passthrough();
2939
3010
  var ErrorLogListResponseSchema = import_zod25.z.object({ pagination: RedTeamPaginationSchema, data: import_zod25.z.array(ErrorLogSchema) }).passthrough();
2940
- var TargetCreateRequestSchema = import_zod25.z.object({
3011
+ var TargetRequestBaseFields = {
2941
3012
  name: import_zod25.z.string(),
2942
- description: import_zod25.z.unknown().optional(),
2943
- target_type: import_zod25.z.unknown().optional(),
2944
- connection_type: import_zod25.z.unknown().optional(),
2945
- api_endpoint_type: import_zod25.z.unknown().optional(),
2946
- response_mode: import_zod25.z.unknown().optional(),
2947
- connection_params: import_zod25.z.unknown().optional(),
2948
- session_supported: import_zod25.z.boolean().optional(),
2949
- target_metadata: import_zod25.z.unknown().optional(),
2950
- target_background: import_zod25.z.unknown().optional(),
2951
- additional_context: import_zod25.z.unknown().optional(),
2952
- extra_info: import_zod25.z.unknown().optional(),
2953
- network_broker_channel_uuid: import_zod25.z.unknown().optional()
2954
- }).passthrough();
2955
- var TargetUpdateRequestSchema = import_zod25.z.object({
2956
- name: import_zod25.z.string(),
2957
- description: import_zod25.z.unknown().optional(),
2958
- target_type: import_zod25.z.unknown().optional(),
2959
- connection_type: import_zod25.z.unknown().optional(),
2960
- api_endpoint_type: import_zod25.z.unknown().optional(),
2961
- response_mode: import_zod25.z.unknown().optional(),
2962
- connection_params: import_zod25.z.unknown().optional(),
3013
+ description: import_zod25.z.string().nullable().optional(),
3014
+ target_type: import_zod25.z.string().nullable().optional(),
3015
+ connection_type: import_zod25.z.string().nullable().optional(),
3016
+ api_endpoint_type: import_zod25.z.string().nullable().optional(),
3017
+ response_mode: import_zod25.z.string().nullable().optional(),
3018
+ connection_params: import_zod25.z.union([RestConnectionParamsSchema, StreamingConnectionParamsSchema]).nullable().optional(),
2963
3019
  session_supported: import_zod25.z.boolean().optional(),
2964
- target_metadata: import_zod25.z.unknown().optional(),
2965
- target_background: import_zod25.z.unknown().optional(),
2966
- additional_context: import_zod25.z.unknown().optional(),
2967
- extra_info: import_zod25.z.unknown().optional(),
2968
- network_broker_channel_uuid: import_zod25.z.unknown().optional()
2969
- }).passthrough();
3020
+ target_metadata: TargetMetadataSchema.optional(),
3021
+ target_background: TargetBackgroundSchema.nullable().optional(),
3022
+ additional_context: TargetAdditionalContextSchema.nullable().optional(),
3023
+ extra_info: import_zod25.z.record(import_zod25.z.unknown()).nullable().optional(),
3024
+ network_broker_channel_uuid: import_zod25.z.string().nullable().optional()
3025
+ };
3026
+ var TargetCreateRequestSchema = import_zod25.z.object(TargetRequestBaseFields).strict();
3027
+ var TargetUpdateRequestSchema = import_zod25.z.object(TargetRequestBaseFields).strict();
2970
3028
  var TargetContextUpdateSchema = import_zod25.z.object({
2971
- target_background: import_zod25.z.unknown().optional(),
2972
- additional_context: import_zod25.z.unknown().optional()
3029
+ target_background: TargetBackgroundSchema.nullable().optional(),
3030
+ additional_context: TargetAdditionalContextSchema.nullable().optional()
2973
3031
  }).passthrough();
2974
3032
  var TargetResponseSchema = import_zod25.z.object({
2975
3033
  uuid: import_zod25.z.string(),
@@ -2994,7 +3052,8 @@ var TargetResponseSchema = import_zod25.z.object({
2994
3052
  target_metadata: import_zod25.z.unknown().optional(),
2995
3053
  target_background: import_zod25.z.unknown().optional(),
2996
3054
  profiling_status: import_zod25.z.unknown().optional(),
2997
- additional_context: import_zod25.z.unknown().optional()
3055
+ additional_context: import_zod25.z.unknown().optional(),
3056
+ auth_type: import_zod25.z.string().nullable().optional()
2998
3057
  }).passthrough();
2999
3058
  var TargetListItemSchema = import_zod25.z.object({
3000
3059
  uuid: import_zod25.z.string(),
@@ -3015,25 +3074,25 @@ var TargetListItemSchema = import_zod25.z.object({
3015
3074
  version: import_zod25.z.unknown().optional(),
3016
3075
  secret_version: import_zod25.z.unknown().optional(),
3017
3076
  created_by_user_id: import_zod25.z.unknown().optional(),
3018
- updated_by_user_id: import_zod25.z.unknown().optional()
3077
+ updated_by_user_id: import_zod25.z.unknown().optional(),
3078
+ auth_type: import_zod25.z.string().nullable().optional()
3019
3079
  }).passthrough();
3020
3080
  var TargetListSchema = import_zod25.z.object({ pagination: RedTeamPaginationSchema, data: import_zod25.z.array(TargetListItemSchema).optional() }).passthrough();
3021
3081
  var TargetProbeRequestSchema = import_zod25.z.object({
3022
- name: import_zod25.z.string(),
3023
- uuid: import_zod25.z.unknown().optional(),
3024
- description: import_zod25.z.unknown().optional(),
3025
- target_type: import_zod25.z.unknown().optional(),
3026
- connection_type: import_zod25.z.unknown().optional(),
3027
- api_endpoint_type: import_zod25.z.unknown().optional(),
3028
- response_mode: import_zod25.z.unknown().optional(),
3029
- connection_params: import_zod25.z.unknown().optional(),
3030
- session_supported: import_zod25.z.boolean().optional(),
3031
- target_metadata: import_zod25.z.unknown().optional(),
3032
- target_background: import_zod25.z.unknown().optional(),
3033
- additional_context: import_zod25.z.unknown().optional(),
3034
- extra_info: import_zod25.z.unknown().optional(),
3035
- network_broker_channel_uuid: import_zod25.z.unknown().optional(),
3036
- probe_fields: import_zod25.z.unknown().optional()
3082
+ ...TargetRequestBaseFields,
3083
+ uuid: import_zod25.z.string().nullable().optional(),
3084
+ probe_fields: import_zod25.z.array(import_zod25.z.string()).nullable().optional()
3085
+ }).strict();
3086
+ var TargetAuthValidationRequestSchema = import_zod25.z.object({
3087
+ auth_type: import_zod25.z.string(),
3088
+ auth_config: import_zod25.z.unknown(),
3089
+ target_id: import_zod25.z.string().nullable().optional(),
3090
+ network_broker_channel_uuid: import_zod25.z.string().nullable().optional()
3091
+ }).passthrough();
3092
+ var TargetAuthValidationResponseSchema = import_zod25.z.object({
3093
+ validated: import_zod25.z.boolean(),
3094
+ token_preview: import_zod25.z.string().nullable().optional(),
3095
+ expires_in: import_zod25.z.number().int().nullable().optional()
3037
3096
  }).passthrough();
3038
3097
  var TargetProfileResponseSchema = import_zod25.z.object({
3039
3098
  target_id: import_zod25.z.string(),
@@ -3045,6 +3104,15 @@ var TargetProfileResponseSchema = import_zod25.z.object({
3045
3104
  ai_generated_fields: import_zod25.z.unknown().optional(),
3046
3105
  other_details: import_zod25.z.unknown().optional()
3047
3106
  }).passthrough();
3107
+ var TargetTemplateCollectionSchema = import_zod25.z.object({
3108
+ OPENAI: import_zod25.z.record(import_zod25.z.unknown()),
3109
+ HUGGING_FACE: import_zod25.z.record(import_zod25.z.unknown()),
3110
+ DATABRICKS: import_zod25.z.record(import_zod25.z.unknown()),
3111
+ BEDROCK: import_zod25.z.record(import_zod25.z.unknown()),
3112
+ REST: import_zod25.z.record(import_zod25.z.unknown()),
3113
+ STREAMING: import_zod25.z.record(import_zod25.z.unknown()),
3114
+ WEBSOCKET: import_zod25.z.record(import_zod25.z.unknown())
3115
+ }).passthrough();
3048
3116
  var BaseResponseSchema = import_zod25.z.object({
3049
3117
  message: import_zod25.z.string(),
3050
3118
  status: import_zod25.z.number().int()
@@ -3102,7 +3170,6 @@ var CustomPromptSetListSchema = import_zod25.z.object({
3102
3170
  pagination: RedTeamPaginationSchema,
3103
3171
  data: import_zod25.z.array(CustomPromptSetListItemSchema).optional()
3104
3172
  }).passthrough();
3105
- var CustomPromptSetListActiveSchema = import_zod25.z.object({ data: import_zod25.z.array(CustomPromptSetListItemSchema).optional() }).passthrough();
3106
3173
  var CustomPromptSetReferenceSchema = import_zod25.z.object({
3107
3174
  uuid: import_zod25.z.string(),
3108
3175
  name: import_zod25.z.string(),
@@ -3113,6 +3180,7 @@ var CustomPromptSetReferenceSchema = import_zod25.z.object({
3113
3180
  updated_at: import_zod25.z.string(),
3114
3181
  version: import_zod25.z.unknown().optional()
3115
3182
  }).passthrough();
3183
+ var CustomPromptSetListActiveSchema = import_zod25.z.object({ data: import_zod25.z.array(CustomPromptSetReferenceSchema).optional() }).passthrough();
3116
3184
  var CustomPromptSetVersionInfoSchema = import_zod25.z.object({
3117
3185
  uuid: import_zod25.z.string(),
3118
3186
  status: import_zod25.z.string(),
@@ -3172,7 +3240,7 @@ var PropertyDefinitionSchema = import_zod25.z.object({
3172
3240
  property_name: import_zod25.z.string(),
3173
3241
  created_at: import_zod25.z.string()
3174
3242
  }).passthrough();
3175
- var PropertyNamesListResponseSchema = import_zod25.z.object({ data: import_zod25.z.array(PropertyDefinitionSchema).optional() }).passthrough();
3243
+ var PropertyNamesListResponseSchema = import_zod25.z.object({ data: import_zod25.z.array(import_zod25.z.string()).optional() }).passthrough();
3176
3244
  var PropertyValuesResponseSchema = import_zod25.z.object({
3177
3245
  name: import_zod25.z.string(),
3178
3246
  values: import_zod25.z.array(import_zod25.z.string()).optional()
@@ -3182,6 +3250,117 @@ var DashboardOverviewResponseSchema = import_zod25.z.object({
3182
3250
  total_targets: import_zod25.z.number().int(),
3183
3251
  targets_by_type: import_zod25.z.array(CountByNameSchema).optional()
3184
3252
  }).passthrough();
3253
+ var EulaAcceptRequestSchema = import_zod25.z.object({
3254
+ eula_content: import_zod25.z.string(),
3255
+ accepted_at: import_zod25.z.string().nullable().optional()
3256
+ }).passthrough();
3257
+ var EulaContentResponseSchema = import_zod25.z.object({
3258
+ content: import_zod25.z.string()
3259
+ }).passthrough();
3260
+ var EulaResponseSchema = import_zod25.z.object({
3261
+ uuid: import_zod25.z.string().nullable().optional(),
3262
+ is_accepted: import_zod25.z.boolean(),
3263
+ accepted_at: import_zod25.z.string().nullable().optional(),
3264
+ accepted_by_user_id: import_zod25.z.string().nullable().optional()
3265
+ }).passthrough();
3266
+ var DeviceInstanceSchema = import_zod25.z.object({
3267
+ app_id: import_zod25.z.string(),
3268
+ region: import_zod25.z.string(),
3269
+ tenant_id: import_zod25.z.string(),
3270
+ tsg_id: import_zod25.z.string()
3271
+ }).passthrough();
3272
+ var DeviceLicenseSchema = import_zod25.z.object({
3273
+ authorizationCode: import_zod25.z.string().optional(),
3274
+ expirationDate: import_zod25.z.string().optional(),
3275
+ licensePanDbIdentification: import_zod25.z.string().optional(),
3276
+ partNumber: import_zod25.z.string().optional(),
3277
+ serialNumber: import_zod25.z.string().optional(),
3278
+ subtypeName: import_zod25.z.string().optional(),
3279
+ registrationDate: import_zod25.z.string().optional()
3280
+ }).passthrough();
3281
+ var DeviceSchema = import_zod25.z.object({
3282
+ serial_number: import_zod25.z.string(),
3283
+ model: import_zod25.z.string().optional(),
3284
+ sku: import_zod25.z.string().optional(),
3285
+ device_type: import_zod25.z.string().optional(),
3286
+ device_name: import_zod25.z.string().optional(),
3287
+ tsg_id: import_zod25.z.string().optional(),
3288
+ support_account_id: import_zod25.z.string().optional(),
3289
+ asset_type: import_zod25.z.string().optional(),
3290
+ licenses: import_zod25.z.array(DeviceLicenseSchema).optional()
3291
+ }).passthrough();
3292
+ var DeviceStatusSchema = import_zod25.z.object({
3293
+ status: import_zod25.z.string(),
3294
+ error: import_zod25.z.string().optional(),
3295
+ serial_number: import_zod25.z.string().optional()
3296
+ }).passthrough();
3297
+ var DeviceRequestSchema = import_zod25.z.object({
3298
+ instance: DeviceInstanceSchema,
3299
+ created_by: import_zod25.z.string().optional(),
3300
+ devices: import_zod25.z.array(DeviceSchema).optional()
3301
+ }).passthrough();
3302
+ var DeviceResponseSchema = import_zod25.z.object({
3303
+ devices: import_zod25.z.array(DeviceStatusSchema).optional(),
3304
+ status: import_zod25.z.string().optional()
3305
+ }).passthrough();
3306
+ var DeploymentProfileAttributeSchema = import_zod25.z.object({
3307
+ quantity: import_zod25.z.number().optional(),
3308
+ unit_of_measure: import_zod25.z.string().optional()
3309
+ }).passthrough();
3310
+ var DeploymentProfileRequestSchema = import_zod25.z.object({
3311
+ dAuthCode: import_zod25.z.string().optional(),
3312
+ deploymentProfileId: import_zod25.z.string().optional(),
3313
+ license_expiration: import_zod25.z.string().optional(),
3314
+ profileName: import_zod25.z.string().optional(),
3315
+ subType: import_zod25.z.string().optional(),
3316
+ subscriptions: import_zod25.z.string().optional(),
3317
+ type: import_zod25.z.string().optional(),
3318
+ aveTextRecord: import_zod25.z.number().default(0),
3319
+ attributes: import_zod25.z.array(DeploymentProfileAttributeSchema).optional()
3320
+ }).passthrough();
3321
+ var InstanceExtraDetailsSchema = import_zod25.z.object({
3322
+ deployment_profiles: import_zod25.z.array(DeploymentProfileRequestSchema).optional(),
3323
+ airs_shared_by_tsg: import_zod25.z.string().optional(),
3324
+ airs_unshared_dps: import_zod25.z.string().optional()
3325
+ }).passthrough();
3326
+ var InstanceRequestSchema = import_zod25.z.object({
3327
+ tsg_id: import_zod25.z.string(),
3328
+ tenant_id: import_zod25.z.string(),
3329
+ app_id: import_zod25.z.string(),
3330
+ region: import_zod25.z.string(),
3331
+ support_account_id: import_zod25.z.string().optional(),
3332
+ support_account_name: import_zod25.z.string().optional(),
3333
+ created_by: import_zod25.z.string().optional(),
3334
+ internal: import_zod25.z.boolean().optional(),
3335
+ tenant_instance_name: import_zod25.z.string().optional(),
3336
+ extra: InstanceExtraDetailsSchema.optional(),
3337
+ iam_controlled: import_zod25.z.boolean().optional(),
3338
+ platform_region: import_zod25.z.string().optional(),
3339
+ csp_tenant_id: import_zod25.z.string().optional(),
3340
+ tsg_instances: import_zod25.z.unknown().optional()
3341
+ }).passthrough();
3342
+ var InstanceResponseSchema = import_zod25.z.object({
3343
+ tsg_id: import_zod25.z.string(),
3344
+ tenant_id: import_zod25.z.string().optional(),
3345
+ app_id: import_zod25.z.string().optional(),
3346
+ is_success: import_zod25.z.boolean().optional()
3347
+ }).passthrough();
3348
+ var InstanceGetResponseSchema = import_zod25.z.object({
3349
+ tsg_id: import_zod25.z.string(),
3350
+ tenant_id: import_zod25.z.string(),
3351
+ app_id: import_zod25.z.string(),
3352
+ region: import_zod25.z.string(),
3353
+ support_account_id: import_zod25.z.string().optional(),
3354
+ support_account_name: import_zod25.z.string().optional(),
3355
+ created_by: import_zod25.z.string().optional(),
3356
+ internal: import_zod25.z.boolean().optional(),
3357
+ tenant_instance_name: import_zod25.z.string().optional(),
3358
+ deployment_profiles: import_zod25.z.array(DeploymentProfileRequestSchema).optional()
3359
+ }).passthrough();
3360
+ var RegistryCredentialsSchema = import_zod25.z.object({
3361
+ token: import_zod25.z.string(),
3362
+ expiry: import_zod25.z.string()
3363
+ }).passthrough();
3185
3364
 
3186
3365
  // src/models/oauth-token.ts
3187
3366
  var import_zod26 = require("zod");
@@ -5444,6 +5623,50 @@ var RedTeamTargetsClient = class {
5444
5623
  });
5445
5624
  return res.data;
5446
5625
  }
5626
+ /**
5627
+ * Validate target authentication credentials.
5628
+ * @param request - The auth validation request body.
5629
+ * @returns The auth validation response.
5630
+ */
5631
+ async validateAuth(request) {
5632
+ const res = await managementHttpRequest({
5633
+ method: "POST",
5634
+ baseUrl: this.baseUrl,
5635
+ path: RED_TEAM_TARGET_VALIDATE_AUTH_PATH,
5636
+ body: request,
5637
+ oauthClient: this.oauthClient,
5638
+ numRetries: this.numRetries
5639
+ });
5640
+ return res.data;
5641
+ }
5642
+ /**
5643
+ * Get target metadata (field definitions for target configuration).
5644
+ * @returns The target metadata object.
5645
+ */
5646
+ async getTargetMetadata() {
5647
+ const res = await managementHttpRequest({
5648
+ method: "GET",
5649
+ baseUrl: this.baseUrl,
5650
+ path: `${RED_TEAM_TEMPLATE_PATH}/target-metadata`,
5651
+ oauthClient: this.oauthClient,
5652
+ numRetries: this.numRetries
5653
+ });
5654
+ return res.data;
5655
+ }
5656
+ /**
5657
+ * Get target templates for all supported provider types.
5658
+ * @returns The collection of target templates keyed by provider.
5659
+ */
5660
+ async getTargetTemplates() {
5661
+ const res = await managementHttpRequest({
5662
+ method: "GET",
5663
+ baseUrl: this.baseUrl,
5664
+ path: `${RED_TEAM_TEMPLATE_PATH}/target-templates`,
5665
+ oauthClient: this.oauthClient,
5666
+ numRetries: this.numRetries
5667
+ });
5668
+ return res.data;
5669
+ }
5447
5670
  };
5448
5671
 
5449
5672
  // src/red-team/custom-attacks-client.ts
@@ -5571,14 +5794,18 @@ var RedTeamCustomAttacksClient = class {
5571
5794
  /**
5572
5795
  * Get version information for a prompt set.
5573
5796
  * @param uuid - The prompt set UUID.
5797
+ * @param opts - Optional query params (e.g. specific version ID).
5574
5798
  * @returns The prompt set version info.
5575
5799
  */
5576
- async getPromptSetVersionInfo(uuid) {
5800
+ async getPromptSetVersionInfo(uuid, opts) {
5577
5801
  validateUuid(uuid, "prompt set uuid");
5802
+ const params = {};
5803
+ if (opts?.version !== void 0) params.version = opts.version;
5578
5804
  const res = await managementHttpRequest({
5579
5805
  method: "GET",
5580
5806
  baseUrl: this.baseUrl,
5581
5807
  path: `${RED_TEAM_CUSTOM_ATTACK_PATH}/custom-prompt-set/${uuid}/version-info`,
5808
+ params: Object.keys(params).length > 0 ? params : void 0,
5582
5809
  oauthClient: this.oauthClient,
5583
5810
  numRetries: this.numRetries
5584
5811
  });
@@ -5674,6 +5901,7 @@ var RedTeamCustomAttacksClient = class {
5674
5901
  async listPrompts(promptSetUuid, opts) {
5675
5902
  validateUuid(promptSetUuid, "prompt set uuid");
5676
5903
  const params = buildRedTeamListParams(opts);
5904
+ if (opts?.status !== void 0) params.status = opts.status;
5677
5905
  if (opts?.active !== void 0) params.active = String(opts.active);
5678
5906
  const res = await managementHttpRequest({
5679
5907
  method: "GET",
@@ -5828,6 +6056,202 @@ var RedTeamCustomAttacksClient = class {
5828
6056
  }
5829
6057
  };
5830
6058
 
6059
+ // src/red-team/eula-client.ts
6060
+ var RedTeamEulaClient = class {
6061
+ baseUrl;
6062
+ oauthClient;
6063
+ numRetries;
6064
+ constructor(opts) {
6065
+ this.baseUrl = opts.baseUrl;
6066
+ this.oauthClient = opts.oauthClient;
6067
+ this.numRetries = opts.numRetries;
6068
+ }
6069
+ /**
6070
+ * Get the current EULA content.
6071
+ * @returns The EULA content response.
6072
+ */
6073
+ async getContent() {
6074
+ const res = await managementHttpRequest({
6075
+ method: "GET",
6076
+ baseUrl: this.baseUrl,
6077
+ path: `${RED_TEAM_EULA_PATH}/content`,
6078
+ oauthClient: this.oauthClient,
6079
+ numRetries: this.numRetries
6080
+ });
6081
+ return res.data;
6082
+ }
6083
+ /**
6084
+ * Get the current EULA acceptance status.
6085
+ * @returns The EULA status response.
6086
+ */
6087
+ async getStatus() {
6088
+ const res = await managementHttpRequest({
6089
+ method: "GET",
6090
+ baseUrl: this.baseUrl,
6091
+ path: `${RED_TEAM_EULA_PATH}/status`,
6092
+ oauthClient: this.oauthClient,
6093
+ numRetries: this.numRetries
6094
+ });
6095
+ return res.data;
6096
+ }
6097
+ /**
6098
+ * Accept the EULA.
6099
+ * @param request - The acceptance request body.
6100
+ * @returns The EULA response with acceptance status.
6101
+ */
6102
+ async accept(request) {
6103
+ const res = await managementHttpRequest({
6104
+ method: "POST",
6105
+ baseUrl: this.baseUrl,
6106
+ path: `${RED_TEAM_EULA_PATH}/accept`,
6107
+ body: request,
6108
+ oauthClient: this.oauthClient,
6109
+ numRetries: this.numRetries
6110
+ });
6111
+ return res.data;
6112
+ }
6113
+ };
6114
+
6115
+ // src/red-team/instances-client.ts
6116
+ var RedTeamInstancesClient = class {
6117
+ baseUrl;
6118
+ oauthClient;
6119
+ numRetries;
6120
+ constructor(opts) {
6121
+ this.baseUrl = opts.baseUrl;
6122
+ this.oauthClient = opts.oauthClient;
6123
+ this.numRetries = opts.numRetries;
6124
+ }
6125
+ /**
6126
+ * Create a new tenant instance.
6127
+ * @param request - The instance creation request.
6128
+ * @returns The instance response.
6129
+ */
6130
+ async createInstance(request) {
6131
+ const res = await managementHttpRequest({
6132
+ method: "POST",
6133
+ baseUrl: this.baseUrl,
6134
+ path: RED_TEAM_INSTANCES_PATH,
6135
+ body: request,
6136
+ oauthClient: this.oauthClient,
6137
+ numRetries: this.numRetries
6138
+ });
6139
+ return res.data;
6140
+ }
6141
+ /**
6142
+ * Get an existing tenant instance.
6143
+ * @param tenantId - The tenant ID.
6144
+ * @returns The instance details.
6145
+ */
6146
+ async getInstance(tenantId) {
6147
+ const res = await managementHttpRequest({
6148
+ method: "GET",
6149
+ baseUrl: this.baseUrl,
6150
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}`,
6151
+ oauthClient: this.oauthClient,
6152
+ numRetries: this.numRetries
6153
+ });
6154
+ return res.data;
6155
+ }
6156
+ /**
6157
+ * Update an existing tenant instance.
6158
+ * @param tenantId - The tenant ID.
6159
+ * @param request - The instance update request.
6160
+ * @returns The instance response.
6161
+ */
6162
+ async updateInstance(tenantId, request) {
6163
+ const res = await managementHttpRequest({
6164
+ method: "PUT",
6165
+ baseUrl: this.baseUrl,
6166
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}`,
6167
+ body: request,
6168
+ oauthClient: this.oauthClient,
6169
+ numRetries: this.numRetries
6170
+ });
6171
+ return res.data;
6172
+ }
6173
+ /**
6174
+ * Delete a tenant instance.
6175
+ * @param tenantId - The tenant ID.
6176
+ * @returns The instance response.
6177
+ */
6178
+ async deleteInstance(tenantId) {
6179
+ const res = await managementHttpRequest({
6180
+ method: "DELETE",
6181
+ baseUrl: this.baseUrl,
6182
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}`,
6183
+ oauthClient: this.oauthClient,
6184
+ numRetries: this.numRetries
6185
+ });
6186
+ return res.data;
6187
+ }
6188
+ /**
6189
+ * Create devices for a tenant instance.
6190
+ * @param tenantId - The tenant ID.
6191
+ * @param request - The device creation request.
6192
+ * @returns The device response with statuses.
6193
+ */
6194
+ async createDevices(tenantId, request) {
6195
+ const res = await managementHttpRequest({
6196
+ method: "POST",
6197
+ baseUrl: this.baseUrl,
6198
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}/devices`,
6199
+ body: request,
6200
+ oauthClient: this.oauthClient,
6201
+ numRetries: this.numRetries
6202
+ });
6203
+ return res.data;
6204
+ }
6205
+ /**
6206
+ * Update devices for a tenant instance.
6207
+ * @param tenantId - The tenant ID.
6208
+ * @param request - The device update request.
6209
+ * @returns The device response with statuses.
6210
+ */
6211
+ async updateDevices(tenantId, request) {
6212
+ const res = await managementHttpRequest({
6213
+ method: "PATCH",
6214
+ baseUrl: this.baseUrl,
6215
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}/devices`,
6216
+ body: request,
6217
+ oauthClient: this.oauthClient,
6218
+ numRetries: this.numRetries
6219
+ });
6220
+ return res.data;
6221
+ }
6222
+ /**
6223
+ * Delete devices from a tenant instance.
6224
+ * @param tenantId - The tenant ID.
6225
+ * @param serialNumbers - Comma-separated serial numbers to delete.
6226
+ * @returns The device response with statuses.
6227
+ */
6228
+ async deleteDevices(tenantId, serialNumbers) {
6229
+ const res = await managementHttpRequest({
6230
+ method: "DELETE",
6231
+ baseUrl: this.baseUrl,
6232
+ path: `${RED_TEAM_INSTANCES_PATH}/${tenantId}/devices`,
6233
+ params: { serial_numbers: serialNumbers },
6234
+ oauthClient: this.oauthClient,
6235
+ numRetries: this.numRetries
6236
+ });
6237
+ return res.data;
6238
+ }
6239
+ /**
6240
+ * Get or create registry credentials.
6241
+ * @returns The registry credentials with token and expiry.
6242
+ */
6243
+ async getRegistryCredentials() {
6244
+ const res = await managementHttpRequest({
6245
+ method: "POST",
6246
+ baseUrl: this.baseUrl,
6247
+ path: RED_TEAM_REGISTRY_CREDENTIALS_PATH,
6248
+ oauthClient: this.oauthClient,
6249
+ numRetries: this.numRetries
6250
+ });
6251
+ return res.data;
6252
+ }
6253
+ };
6254
+
5831
6255
  // src/red-team/client.ts
5832
6256
  var RedTeamClient = class {
5833
6257
  /** Data plane scan operations. */
@@ -5840,6 +6264,10 @@ var RedTeamClient = class {
5840
6264
  targets;
5841
6265
  /** Management plane custom attack/prompt set operations. */
5842
6266
  customAttacks;
6267
+ /** Management plane EULA operations. */
6268
+ eula;
6269
+ /** Management plane instance/licensing operations. */
6270
+ instances;
5843
6271
  dataEndpoint;
5844
6272
  mgmtEndpoint;
5845
6273
  oauthClient;
@@ -5886,6 +6314,16 @@ var RedTeamClient = class {
5886
6314
  oauthClient,
5887
6315
  numRetries
5888
6316
  });
6317
+ this.eula = new RedTeamEulaClient({
6318
+ baseUrl: mgmtEndpoint,
6319
+ oauthClient,
6320
+ numRetries
6321
+ });
6322
+ this.instances = new RedTeamInstancesClient({
6323
+ baseUrl: mgmtEndpoint,
6324
+ oauthClient,
6325
+ numRetries
6326
+ });
5889
6327
  }
5890
6328
  // -----------------------------------------------------------------------
5891
6329
  // Data plane convenience methods
@@ -6050,9 +6488,12 @@ var RedTeamClient = class {
6050
6488
  AttackOutputSchema,
6051
6489
  AttackStatus,
6052
6490
  AttackType,
6491
+ AuthConfigSchema,
6053
6492
  AuthType,
6054
6493
  BEARER,
6055
6494
  BaseResponseSchema,
6495
+ BasicAuthAuthConfigSchema,
6496
+ BasicAuthLocation,
6056
6497
  BedrockAccessConnectionParamsSchema,
6057
6498
  BrandSubCategory,
6058
6499
  Category,
@@ -6118,11 +6559,19 @@ var RedTeamClient = class {
6118
6559
  DeleteProfileResponseSchema,
6119
6560
  DeleteTopicConflictSchema,
6120
6561
  DeleteTopicResponseSchema,
6562
+ DeploymentProfileAttributeSchema,
6121
6563
  DeploymentProfileEntrySchema,
6564
+ DeploymentProfileRequestSchema,
6122
6565
  DeploymentProfilesClient,
6123
6566
  DeploymentProfilesResponseSchema,
6124
6567
  DetectionServiceName,
6125
6568
  DetectionServiceResultSchema,
6569
+ DeviceInstanceSchema,
6570
+ DeviceLicenseSchema,
6571
+ DeviceRequestSchema,
6572
+ DeviceResponseSchema,
6573
+ DeviceSchema,
6574
+ DeviceStatusSchema,
6126
6575
  DlpDataProfilePolicySchema,
6127
6576
  DlpDataProfileSchema,
6128
6577
  DlpPatternDetectionSchema,
@@ -6140,6 +6589,9 @@ var RedTeamClient = class {
6140
6589
  ErrorSource,
6141
6590
  ErrorStatus,
6142
6591
  ErrorType,
6592
+ EulaAcceptRequestSchema,
6593
+ EulaContentResponseSchema,
6594
+ EulaResponseSchema,
6143
6595
  EvalOutcome,
6144
6596
  EvalSummarySchema,
6145
6597
  FileFormat,
@@ -6157,8 +6609,13 @@ var RedTeamClient = class {
6157
6609
  HEADER_AUTH_TOKEN,
6158
6610
  HTTPValidationErrorSchema,
6159
6611
  HTTP_FORCE_RETRY_STATUS_CODES,
6612
+ HeadersAuthConfigSchema,
6160
6613
  HuggingfaceConnectionParamsSchema,
6161
6614
  IODetectedSchema,
6615
+ InstanceExtraDetailsSchema,
6616
+ InstanceGetResponseSchema,
6617
+ InstanceRequestSchema,
6618
+ InstanceResponseSchema,
6162
6619
  JobAbortResponseSchema,
6163
6620
  JobCreateRequestSchema,
6164
6621
  JobListResponseSchema,
@@ -6246,6 +6703,7 @@ var RedTeamClient = class {
6246
6703
  ModelSecurityScansClient,
6247
6704
  MultiTurnStatefulConfigSchema,
6248
6705
  MultiTurnStatelessConfigSchema,
6706
+ OAuth2AuthConfigSchema,
6249
6707
  OAuthClient,
6250
6708
  OAuthManagementClient,
6251
6709
  Oauth2TokenSchema,
@@ -6287,15 +6745,20 @@ var RedTeamClient = class {
6287
6745
  RED_TEAM_DASHBOARD_PATH,
6288
6746
  RED_TEAM_DATA_ENDPOINT,
6289
6747
  RED_TEAM_ERROR_LOG_PATH,
6748
+ RED_TEAM_EULA_PATH,
6749
+ RED_TEAM_INSTANCES_PATH,
6290
6750
  RED_TEAM_MGMT_DASHBOARD_PATH,
6291
6751
  RED_TEAM_MGMT_ENDPOINT,
6292
6752
  RED_TEAM_QUOTA_PATH,
6753
+ RED_TEAM_REGISTRY_CREDENTIALS_PATH,
6293
6754
  RED_TEAM_REPORT_DYNAMIC_PATH,
6294
6755
  RED_TEAM_REPORT_PATH,
6295
6756
  RED_TEAM_REPORT_STATIC_PATH,
6296
6757
  RED_TEAM_SCAN_PATH,
6297
6758
  RED_TEAM_SENTIMENT_PATH,
6298
6759
  RED_TEAM_TARGET_PATH,
6760
+ RED_TEAM_TARGET_VALIDATE_AUTH_PATH,
6761
+ RED_TEAM_TEMPLATE_PATH,
6299
6762
  RED_TEAM_TOKEN_ENDPOINT,
6300
6763
  RED_TEAM_TSG_ID,
6301
6764
  RedTeamCategory,
@@ -6303,10 +6766,13 @@ var RedTeamClient = class {
6303
6766
  RedTeamCustomAttackReportsClient,
6304
6767
  RedTeamCustomAttacksClient,
6305
6768
  RedTeamErrorType,
6769
+ RedTeamEulaClient,
6770
+ RedTeamInstancesClient,
6306
6771
  RedTeamPaginationSchema,
6307
6772
  RedTeamReportsClient,
6308
6773
  RedTeamScansClient,
6309
6774
  RedTeamTargetsClient,
6775
+ RegistryCredentialsSchema,
6310
6776
  RemediationDetailSchema,
6311
6777
  RemediationResponseSchema,
6312
6778
  ResponseDetectedSchema,
@@ -6376,6 +6842,9 @@ var RedTeamClient = class {
6376
6842
  SubCategoryModelSchema,
6377
6843
  SubCategoryStatsSchema,
6378
6844
  TargetAdditionalContextSchema,
6845
+ TargetAuthType,
6846
+ TargetAuthValidationRequestSchema,
6847
+ TargetAuthValidationResponseSchema,
6379
6848
  TargetBackgroundSchema,
6380
6849
  TargetConnectionType,
6381
6850
  TargetContextUpdateSchema,
@@ -6389,6 +6858,7 @@ var RedTeamClient = class {
6389
6858
  TargetReferenceSchema,
6390
6859
  TargetResponseSchema,
6391
6860
  TargetStatus,
6861
+ TargetTemplateCollectionSchema,
6392
6862
  TargetType,
6393
6863
  TargetUpdateRequestSchema,
6394
6864
  TcReportSchema,
@@ -6408,6 +6878,7 @@ var RedTeamClient = class {
6408
6878
  Verdict,
6409
6879
  ViolationListSchema,
6410
6880
  ViolationResponseSchema,
6881
+ WebSocketConnectionParamsSchema,
6411
6882
  globalConfiguration,
6412
6883
  init
6413
6884
  });