@opusdns/api 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "@opusdns/api-spec-ts-generator": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.16.0",
6
+ "version": "1.18.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -67,6 +67,7 @@ import type {
67
67
  MetricsGrouping,
68
68
  ObjectEventType,
69
69
  ObjectLogSortField,
70
+ OrganizationCredentialStatus,
70
71
  OrganizationSortField,
71
72
  OrganizationStatus,
72
73
  ParkingSortField,
@@ -1224,6 +1225,18 @@ export const OBJECT_LOG_SORT_FIELD_VALUES = [
1224
1225
  'performed_by_id',
1225
1226
  ] as const satisfies ReadonlyArray<ObjectLogSortField>;
1226
1227
 
1228
+ export const ORGANIZATION_CREDENTIAL_STATUS = {
1229
+ ACTIVE: "active",
1230
+ EXPIRED: "expired",
1231
+ REVOKED: "revoked",
1232
+ } as const satisfies Record<string, OrganizationCredentialStatus>;
1233
+
1234
+ export const ORGANIZATION_CREDENTIAL_STATUS_VALUES = [
1235
+ 'active',
1236
+ 'expired',
1237
+ 'revoked',
1238
+ ] as const satisfies ReadonlyArray<OrganizationCredentialStatus>;
1239
+
1227
1240
  export const ORGANIZATION_SORT_FIELD = {
1228
1241
  CREATED_ON: "created_on",
1229
1242
  NAME: "name",
@@ -241,6 +241,7 @@ import type {
241
241
  OrganizationAttribute2,
242
242
  OrganizationAttributeUpdate,
243
243
  OrganizationCreate,
244
+ OrganizationCredential,
244
245
  OrganizationToken,
245
246
  OrganizationUpdate,
246
247
  OrganizationWithBillingData,
@@ -3463,6 +3464,30 @@ export const KEYS_ORGANIZATION_CREATE = [
3463
3464
  KEY_ORGANIZATION_CREATE_USERS,
3464
3465
  ] as const satisfies (keyof OrganizationCreate)[];
3465
3466
 
3467
+ export const KEY_ORGANIZATION_CREDENTIAL_API_KEY_DESCRIPTION = 'api_key_description' satisfies keyof OrganizationCredential;
3468
+ export const KEY_ORGANIZATION_CREDENTIAL_API_KEY_ID = 'api_key_id' satisfies keyof OrganizationCredential;
3469
+ export const KEY_ORGANIZATION_CREDENTIAL_API_KEY_NAME = 'api_key_name' satisfies keyof OrganizationCredential;
3470
+ export const KEY_ORGANIZATION_CREDENTIAL_CREATED_ON = 'created_on' satisfies keyof OrganizationCredential;
3471
+ export const KEY_ORGANIZATION_CREDENTIAL_DELETED_ON = 'deleted_on' satisfies keyof OrganizationCredential;
3472
+ export const KEY_ORGANIZATION_CREDENTIAL_EXPIRES_AT = 'expires_at' satisfies keyof OrganizationCredential;
3473
+ export const KEY_ORGANIZATION_CREDENTIAL_LAST_USED_ON = 'last_used_on' satisfies keyof OrganizationCredential;
3474
+ export const KEY_ORGANIZATION_CREDENTIAL_ORGANIZATION_ID = 'organization_id' satisfies keyof OrganizationCredential;
3475
+ export const KEY_ORGANIZATION_CREDENTIAL_ROLE = 'role' satisfies keyof OrganizationCredential;
3476
+ export const KEY_ORGANIZATION_CREDENTIAL_STATUS = 'status' satisfies keyof OrganizationCredential;
3477
+
3478
+ export const KEYS_ORGANIZATION_CREDENTIAL = [
3479
+ KEY_ORGANIZATION_CREDENTIAL_API_KEY_DESCRIPTION,
3480
+ KEY_ORGANIZATION_CREDENTIAL_API_KEY_ID,
3481
+ KEY_ORGANIZATION_CREDENTIAL_API_KEY_NAME,
3482
+ KEY_ORGANIZATION_CREDENTIAL_CREATED_ON,
3483
+ KEY_ORGANIZATION_CREDENTIAL_DELETED_ON,
3484
+ KEY_ORGANIZATION_CREDENTIAL_EXPIRES_AT,
3485
+ KEY_ORGANIZATION_CREDENTIAL_LAST_USED_ON,
3486
+ KEY_ORGANIZATION_CREDENTIAL_ORGANIZATION_ID,
3487
+ KEY_ORGANIZATION_CREDENTIAL_ROLE,
3488
+ KEY_ORGANIZATION_CREDENTIAL_STATUS,
3489
+ ] as const satisfies (keyof OrganizationCredential)[];
3490
+
3466
3491
  export const KEY_ORGANIZATION_TOKEN_ACCESS_TOKEN = 'access_token' satisfies keyof OrganizationToken;
3467
3492
  export const KEY_ORGANIZATION_TOKEN_EXPIRES_IN = 'expires_in' satisfies keyof OrganizationToken;
3468
3493
  export const KEY_ORGANIZATION_TOKEN_TOKEN_TYPE = 'token_type' satisfies keyof OrganizationToken;
@@ -166,6 +166,9 @@ export type GET_ArchiveRequestHistory_Request = {
166
166
  };
167
167
  export type GET_ArchiveRequestHistory_Request_Query = GET_ArchiveRequestHistory_Request['parameters']['query'];
168
168
 
169
+ export type GET_AuthClientCredentialsIntrospect_Request = {
170
+ };
171
+
169
172
  export type POST_AuthToken_Request = {
170
173
  requestBody: PublicAuthRequestForm;
171
174
  };
@@ -56,6 +56,7 @@ import type {
56
56
  ObjectTagChanges2,
57
57
  Organization,
58
58
  OrganizationAttribute2,
59
+ OrganizationCredential,
59
60
  OrganizationWithBillingData,
60
61
  Pagination_BillingTransaction,
61
62
  Pagination_Contact,
@@ -306,6 +307,12 @@ export type GET_ArchiveRequestHistory_Response = GET_ArchiveRequestHistory_Respo
306
307
  export type GET_ArchiveRequestHistory_Response_200 = Pagination_RequestHistory;
307
308
  export type GET_ArchiveRequestHistory_Response_422 = HTTPValidationError;
308
309
 
310
+ export type GET_AuthClientCredentialsIntrospect_Response = GET_AuthClientCredentialsIntrospect_Response_200 | GET_AuthClientCredentialsIntrospect_Response_401 | GET_AuthClientCredentialsIntrospect_Response_422;
311
+
312
+ export type GET_AuthClientCredentialsIntrospect_Response_200 = OrganizationCredential;
313
+ export type GET_AuthClientCredentialsIntrospect_Response_401 = Problem;
314
+ export type GET_AuthClientCredentialsIntrospect_Response_422 = HTTPValidationError;
315
+
309
316
  export type GET_Availability_Response = GET_Availability_Response_200 | GET_Availability_Response_401 | GET_Availability_Response_422;
310
317
 
311
318
  export type GET_Availability_Response_200 = DomainAvailabilityList;
@@ -1278,8 +1285,9 @@ export type PUT_HostsByHostReference_Response_403 = Problem;
1278
1285
  export type PUT_HostsByHostReference_Response_404 = Problem;
1279
1286
  export type PUT_HostsByHostReference_Response_422 = HTTPValidationError;
1280
1287
 
1281
- export type PUT_UsersByUserIdRole_Response = PUT_UsersByUserIdRole_Response_200 | PUT_UsersByUserIdRole_Response_403 | PUT_UsersByUserIdRole_Response_422;
1288
+ export type PUT_UsersByUserIdRole_Response = PUT_UsersByUserIdRole_Response_200 | PUT_UsersByUserIdRole_Response_403 | PUT_UsersByUserIdRole_Response_404 | PUT_UsersByUserIdRole_Response_422;
1282
1289
 
1283
1290
  export type PUT_UsersByUserIdRole_Response_200 = PublicRoleAssignment;
1284
1291
  export type PUT_UsersByUserIdRole_Response_403 = Problem;
1292
+ export type PUT_UsersByUserIdRole_Response_404 = Problem;
1285
1293
  export type PUT_UsersByUserIdRole_Response_422 = HTTPValidationError;
@@ -69,6 +69,7 @@ export type CreateJobBatch = components['schemas']['CreateJobBatchResponse'];
69
69
  export type CreateReportReq = components['schemas']['CreateReportReq'];
70
70
  export type Currency = components['schemas']['Currency'];
71
71
  export type CustomRoleCreate = components['schemas']['CustomRoleCreate'];
72
+ export type CustomRoleLabel = components['schemas']['CustomRoleLabel'];
72
73
  export type CustomRoleUpdate = components['schemas']['CustomRoleUpdate'];
73
74
  export type DeletePolicyType = components['schemas']['DeletePolicyType'];
74
75
  export type DnsChangeAction = components['schemas']['DnsChangeAction'];
@@ -313,6 +314,8 @@ export type OrganizationAttributeCreate = components['schemas']['OrganizationAtt
313
314
  export type OrganizationAttribute2 = components['schemas']['OrganizationAttributeResponse'];
314
315
  export type OrganizationAttributeUpdate = components['schemas']['OrganizationAttributeUpdate'];
315
316
  export type OrganizationCreate = components['schemas']['OrganizationCreate'];
317
+ export type OrganizationCredential = components['schemas']['OrganizationCredential'];
318
+ export type OrganizationCredentialStatus = components['schemas']['OrganizationCredentialStatus'];
316
319
  export type OrganizationSortField = components['schemas']['OrganizationSortField'];
317
320
  export type OrganizationStatus = components['schemas']['OrganizationStatus'];
318
321
  export type OrganizationToken = components['schemas']['OrganizationTokenResponse'];
package/src/openapi.yaml CHANGED
@@ -2174,6 +2174,8 @@ components:
2174
2174
  - permissions
2175
2175
  title: CustomRoleCreate
2176
2176
  type: object
2177
+ CustomRoleLabel:
2178
+ type: string
2177
2179
  CustomRoleUpdate:
2178
2180
  description: 'Request body for updating a custom role. Omitted fields are left
2179
2181
  unchanged; `permissions`
@@ -8443,6 +8445,87 @@ components:
8443
8445
  - name
8444
8446
  title: OrganizationCreate
8445
8447
  type: object
8448
+ OrganizationCredential:
8449
+ properties:
8450
+ api_key_description:
8451
+ anyOf:
8452
+ - type: string
8453
+ - type: 'null'
8454
+ description: Description of the organization credential.
8455
+ title: Api Key Description
8456
+ api_key_id:
8457
+ description: Unique identifier of the organization credential.
8458
+ examples:
8459
+ - api_key_01h45ytscbebyvny4gc8cr8ma2
8460
+ format: typeid
8461
+ pattern: ^api_key_[0-7][0-9a-hjkmnpq-tv-z]{25}$
8462
+ title: Api Key Id
8463
+ type: string
8464
+ x-typeid-prefix: api_key
8465
+ api_key_name:
8466
+ anyOf:
8467
+ - type: string
8468
+ - type: 'null'
8469
+ description: Name of the organization credential. Only a-z, A-Z, 0-9, underscore,
8470
+ and hyphen are allowed.
8471
+ title: Api Key Name
8472
+ created_on:
8473
+ description: The date/time the entry was created on
8474
+ format: date-time
8475
+ title: Created On
8476
+ type: string
8477
+ deleted_on:
8478
+ anyOf:
8479
+ - format: date-time
8480
+ type: string
8481
+ - type: 'null'
8482
+ description: The date/time the entry was deleted on
8483
+ title: Deleted On
8484
+ expires_at:
8485
+ anyOf:
8486
+ - format: date-time
8487
+ type: string
8488
+ - type: 'null'
8489
+ description: The date and time the credential expiration.
8490
+ title: Expires At
8491
+ last_used_on:
8492
+ anyOf:
8493
+ - format: date-time
8494
+ type: string
8495
+ - type: 'null'
8496
+ description: The date/time the entry was deleted on
8497
+ title: Last Used On
8498
+ organization_id:
8499
+ default: None
8500
+ examples:
8501
+ - organization_01h45ytscbebyvny4gc8cr8ma2
8502
+ format: typeid
8503
+ pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
8504
+ title: Organization Id
8505
+ type: string
8506
+ x-typeid-prefix: organization
8507
+ role:
8508
+ anyOf:
8509
+ - $ref: '#/components/schemas/PublicRole'
8510
+ - $ref: '#/components/schemas/CustomRoleLabel'
8511
+ - type: 'null'
8512
+ title: Role
8513
+ status:
8514
+ $ref: '#/components/schemas/OrganizationCredentialStatus'
8515
+ description: The status of the organization credential.
8516
+ readOnly: true
8517
+ required:
8518
+ - api_key_id
8519
+ - status
8520
+ title: OrganizationCredential
8521
+ type: object
8522
+ OrganizationCredentialStatus:
8523
+ enum:
8524
+ - active
8525
+ - expired
8526
+ - revoked
8527
+ title: OrganizationCredentialStatus
8528
+ type: string
8446
8529
  OrganizationSortField:
8447
8530
  enum:
8448
8531
  - created_on
@@ -10022,7 +10105,9 @@ components:
10022
10105
  role:
10023
10106
  anyOf:
10024
10107
  - $ref: '#/components/schemas/PublicRole'
10108
+ - $ref: '#/components/schemas/CustomRoleLabel'
10025
10109
  - type: 'null'
10110
+ title: Role
10026
10111
  title: PublicRoleAssignment
10027
10112
  type: object
10028
10113
  PublicRoleAssignmentRequest:
@@ -10030,7 +10115,9 @@ components:
10030
10115
  role:
10031
10116
  anyOf:
10032
10117
  - $ref: '#/components/schemas/AssignablePublicRole'
10118
+ - $ref: '#/components/schemas/CustomRoleLabel'
10033
10119
  - type: 'null'
10120
+ title: Role
10034
10121
  title: PublicRoleAssignmentRequest
10035
10122
  type: object
10036
10123
  PublicRoleDefinition:
@@ -10055,10 +10142,9 @@ components:
10055
10142
  description: Description of the role.
10056
10143
  title: Description
10057
10144
  label:
10145
+ $ref: '#/components/schemas/CustomRoleLabel'
10058
10146
  description: Per-organization unique identifier (snake_case, e.g. 'support_staff').
10059
10147
  Used as the URL path parameter.
10060
- title: Label
10061
- type: string
10062
10148
  name:
10063
10149
  description: Display name of the role (e.g. 'Support Staff').
10064
10150
  title: Name
@@ -11677,7 +11763,9 @@ components:
11677
11763
  role:
11678
11764
  anyOf:
11679
11765
  - $ref: '#/components/schemas/PublicRole'
11766
+ - $ref: '#/components/schemas/CustomRoleLabel'
11680
11767
  - type: 'null'
11768
+ title: Role
11681
11769
  status:
11682
11770
  $ref: '#/components/schemas/UserStatus'
11683
11771
  readOnly: true
@@ -11881,7 +11969,9 @@ components:
11881
11969
  role:
11882
11970
  anyOf:
11883
11971
  - $ref: '#/components/schemas/PublicRole'
11972
+ - $ref: '#/components/schemas/CustomRoleLabel'
11884
11973
  - type: 'null'
11974
+ title: Role
11885
11975
  status:
11886
11976
  $ref: '#/components/schemas/UserStatus'
11887
11977
  readOnly: true
@@ -12252,7 +12342,7 @@ info:
12252
12342
  \n\n"
12253
12343
  summary: OpusDNS - your gateway to a seamless domain management experience.
12254
12344
  title: OpusDNS API
12255
- version: 2026-06-16-085537
12345
+ version: 2026-06-17-145023
12256
12346
  x-logo:
12257
12347
  altText: OpusDNS API Reference
12258
12348
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -14040,6 +14130,43 @@ paths:
14040
14130
  summary: Retrieve request history logs
14041
14131
  tags:
14042
14132
  - archive
14133
+ /v1/auth/client_credentials/introspect:
14134
+ get:
14135
+ description: Returns the stored record for the API key (or organization token)
14136
+ used to authenticate the request, including its organization. Requires API-key
14137
+ or organization-token authentication; user tokens are rejected.
14138
+ operationId: introspect_client_credential_v1_auth_client_credentials_introspect_get
14139
+ responses:
14140
+ '200':
14141
+ content:
14142
+ application/json:
14143
+ schema:
14144
+ $ref: '#/components/schemas/OrganizationCredential'
14145
+ description: Successful Response
14146
+ '401':
14147
+ content:
14148
+ application/problem+json:
14149
+ example:
14150
+ code: ERROR_AUTHENTICATION
14151
+ detail: Additional error context.
14152
+ status: 401
14153
+ title: Authentication Error
14154
+ type: authentication
14155
+ schema:
14156
+ $ref: '#/components/schemas/Problem'
14157
+ description: Unauthorized
14158
+ '422':
14159
+ content:
14160
+ application/problem+json:
14161
+ schema:
14162
+ $ref: '#/components/schemas/HTTPValidationError'
14163
+ description: Validation Error
14164
+ security:
14165
+ - OAuth2PasswordBearer: []
14166
+ - APIKeyHeader: []
14167
+ summary: Introspect the current API key
14168
+ tags:
14169
+ - authentication
14043
14170
  /v1/auth/token:
14044
14171
  post:
14045
14172
  operationId: issue_organization_token_v1_auth_token_post
@@ -27119,7 +27246,8 @@ paths:
27119
27246
  x-required-permissions:
27120
27247
  - users:read
27121
27248
  put:
27122
- description: Set the role for a user, replacing any existing role
27249
+ description: Set the role for a user, replacing any existing role. Accepts a
27250
+ built-in role name or the label of a custom role owned by the user's organization
27123
27251
  operationId: set_user_role_v1_users__user_id__role_put
27124
27252
  parameters:
27125
27253
  - in: path
@@ -27158,6 +27286,19 @@ paths:
27158
27286
  schema:
27159
27287
  $ref: '#/components/schemas/Problem'
27160
27288
  description: Forbidden
27289
+ '404':
27290
+ content:
27291
+ application/problem+json:
27292
+ example:
27293
+ code: ERROR_ROLE_NOT_FOUND
27294
+ detail: Role not found
27295
+ role_name: support_staff
27296
+ status: 404
27297
+ title: Role Management Error
27298
+ type: role-not-found
27299
+ schema:
27300
+ $ref: '#/components/schemas/Problem'
27301
+ description: Not Found
27161
27302
  '422':
27162
27303
  content:
27163
27304
  application/problem+json:
package/src/schema.d.ts CHANGED
@@ -255,6 +255,26 @@ export interface paths {
255
255
  patch?: never;
256
256
  trace?: never;
257
257
  };
258
+ "/v1/auth/client_credentials/introspect": {
259
+ parameters: {
260
+ query?: never;
261
+ header?: never;
262
+ path?: never;
263
+ cookie?: never;
264
+ };
265
+ /**
266
+ * Introspect the current API key
267
+ * @description Returns the stored record for the API key (or organization token) used to authenticate the request, including its organization. Requires API-key or organization-token authentication; user tokens are rejected.
268
+ */
269
+ get: operations["introspect_client_credential_v1_auth_client_credentials_introspect_get"];
270
+ put?: never;
271
+ post?: never;
272
+ delete?: never;
273
+ options?: never;
274
+ head?: never;
275
+ patch?: never;
276
+ trace?: never;
277
+ };
258
278
  "/v1/auth/token": {
259
279
  parameters: {
260
280
  query?: never;
@@ -2550,7 +2570,7 @@ export interface paths {
2550
2570
  get: operations["get_role_v1_users__user_id__role_get"];
2551
2571
  /**
2552
2572
  * Set user role
2553
- * @description Set the role for a user, replacing any existing role
2573
+ * @description Set the role for a user, replacing any existing role. Accepts a built-in role name or the label of a custom role owned by the user's organization
2554
2574
  */
2555
2575
  put: operations["set_user_role_v1_users__user_id__role_put"];
2556
2576
  post?: never;
@@ -4087,6 +4107,7 @@ export interface components {
4087
4107
  */
4088
4108
  permissions: components["schemas"]["PublicPermission"][];
4089
4109
  };
4110
+ CustomRoleLabel: string;
4090
4111
  /**
4091
4112
  * CustomRoleUpdate
4092
4113
  * @description Request body for updating a custom role. Omitted fields are left unchanged; `permissions`
@@ -8201,6 +8222,63 @@ export interface components {
8201
8222
  */
8202
8223
  users?: components["schemas"]["UserCreate"][];
8203
8224
  };
8225
+ /** OrganizationCredential */
8226
+ OrganizationCredential: {
8227
+ /**
8228
+ * Api Key Description
8229
+ * @description Description of the organization credential.
8230
+ */
8231
+ api_key_description?: string | null;
8232
+ /**
8233
+ * Api Key Id
8234
+ * Format: typeid
8235
+ * @description Unique identifier of the organization credential.
8236
+ * @example api_key_01h45ytscbebyvny4gc8cr8ma2
8237
+ */
8238
+ api_key_id: TypeId<"api_key">;
8239
+ /**
8240
+ * Api Key Name
8241
+ * @description Name of the organization credential. Only a-z, A-Z, 0-9, underscore, and hyphen are allowed.
8242
+ */
8243
+ api_key_name?: string | null;
8244
+ /**
8245
+ * Created On
8246
+ * Format: date-time
8247
+ * @description The date/time the entry was created on
8248
+ */
8249
+ created_on?: Date;
8250
+ /**
8251
+ * Deleted On
8252
+ * @description The date/time the entry was deleted on
8253
+ */
8254
+ deleted_on?: Date | null;
8255
+ /**
8256
+ * Expires At
8257
+ * @description The date and time the credential expiration.
8258
+ */
8259
+ expires_at?: Date | null;
8260
+ /**
8261
+ * Last Used On
8262
+ * @description The date/time the entry was deleted on
8263
+ */
8264
+ last_used_on?: Date | null;
8265
+ /**
8266
+ * Organization Id
8267
+ * Format: typeid
8268
+ * @default None
8269
+ * @example organization_01h45ytscbebyvny4gc8cr8ma2
8270
+ */
8271
+ organization_id: TypeId<"organization">;
8272
+ /** Role */
8273
+ role?: components["schemas"]["PublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
8274
+ /** @description The status of the organization credential. */
8275
+ readonly status: components["schemas"]["OrganizationCredentialStatus"];
8276
+ };
8277
+ /**
8278
+ * OrganizationCredentialStatus
8279
+ * @enum {string}
8280
+ */
8281
+ OrganizationCredentialStatus: "active" | "expired" | "revoked";
8204
8282
  /**
8205
8283
  * OrganizationSortField
8206
8284
  * @enum {string}
@@ -9193,11 +9271,13 @@ export interface components {
9193
9271
  PublicRole: "owner" | "admin" | "viewer" | "domain_manager" | "dns_manager" | "billing_manager";
9194
9272
  /** PublicRoleAssignment */
9195
9273
  PublicRoleAssignment: {
9196
- role?: components["schemas"]["PublicRole"] | null;
9274
+ /** Role */
9275
+ role?: components["schemas"]["PublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
9197
9276
  };
9198
9277
  /** PublicRoleAssignmentRequest */
9199
9278
  PublicRoleAssignmentRequest: {
9200
- role?: components["schemas"]["AssignablePublicRole"] | null;
9279
+ /** Role */
9280
+ role?: components["schemas"]["AssignablePublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
9201
9281
  };
9202
9282
  /**
9203
9283
  * PublicRoleDefinition
@@ -9219,11 +9299,8 @@ export interface components {
9219
9299
  * @description Description of the role.
9220
9300
  */
9221
9301
  description?: string | null;
9222
- /**
9223
- * Label
9224
- * @description Per-organization unique identifier (snake_case, e.g. 'support_staff'). Used as the URL path parameter.
9225
- */
9226
- label: string;
9302
+ /** @description Per-organization unique identifier (snake_case, e.g. 'support_staff'). Used as the URL path parameter. */
9303
+ label: components["schemas"]["CustomRoleLabel"];
9227
9304
  /**
9228
9305
  * Name
9229
9306
  * @description Display name of the role (e.g. 'Support Staff').
@@ -10350,7 +10427,8 @@ export interface components {
10350
10427
  * @example +1.2125552368
10351
10428
  */
10352
10429
  phone?: string | null;
10353
- role?: components["schemas"]["PublicRole"] | null;
10430
+ /** Role */
10431
+ role?: components["schemas"]["PublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
10354
10432
  readonly status: components["schemas"]["UserStatus"];
10355
10433
  /**
10356
10434
  * Updated On
@@ -10497,7 +10575,8 @@ export interface components {
10497
10575
  * @example +1.2125552368
10498
10576
  */
10499
10577
  phone?: string | null;
10500
- role?: components["schemas"]["PublicRole"] | null;
10578
+ /** Role */
10579
+ role?: components["schemas"]["PublicRole"] | components["schemas"]["CustomRoleLabel"] | null;
10501
10580
  readonly status: components["schemas"]["UserStatus"];
10502
10581
  /**
10503
10582
  * Updated On
@@ -12149,6 +12228,51 @@ export interface operations {
12149
12228
  };
12150
12229
  };
12151
12230
  };
12231
+ introspect_client_credential_v1_auth_client_credentials_introspect_get: {
12232
+ parameters: {
12233
+ query?: never;
12234
+ header?: never;
12235
+ path?: never;
12236
+ cookie?: never;
12237
+ };
12238
+ requestBody?: never;
12239
+ responses: {
12240
+ /** @description Successful Response */
12241
+ 200: {
12242
+ headers: {
12243
+ [name: string]: unknown;
12244
+ };
12245
+ content: {
12246
+ "application/json": components["schemas"]["OrganizationCredential"];
12247
+ };
12248
+ };
12249
+ /** @description Unauthorized */
12250
+ 401: {
12251
+ headers: {
12252
+ [name: string]: unknown;
12253
+ };
12254
+ content: {
12255
+ /** @example {
12256
+ * "code": "ERROR_AUTHENTICATION",
12257
+ * "detail": "Additional error context.",
12258
+ * "status": 401,
12259
+ * "title": "Authentication Error",
12260
+ * "type": "authentication"
12261
+ * } */
12262
+ "application/problem+json": components["schemas"]["Problem"];
12263
+ };
12264
+ };
12265
+ /** @description Validation Error */
12266
+ 422: {
12267
+ headers: {
12268
+ [name: string]: unknown;
12269
+ };
12270
+ content: {
12271
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
12272
+ };
12273
+ };
12274
+ };
12275
+ };
12152
12276
  issue_organization_token_v1_auth_token_post: {
12153
12277
  parameters: {
12154
12278
  query?: never;
@@ -22109,6 +22233,23 @@ export interface operations {
22109
22233
  "application/problem+json": components["schemas"]["Problem"];
22110
22234
  };
22111
22235
  };
22236
+ /** @description Not Found */
22237
+ 404: {
22238
+ headers: {
22239
+ [name: string]: unknown;
22240
+ };
22241
+ content: {
22242
+ /** @example {
22243
+ * "code": "ERROR_ROLE_NOT_FOUND",
22244
+ * "detail": "Role not found",
22245
+ * "role_name": "support_staff",
22246
+ * "status": 404,
22247
+ * "title": "Role Management Error",
22248
+ * "type": "role-not-found"
22249
+ * } */
22250
+ "application/problem+json": components["schemas"]["Problem"];
22251
+ };
22252
+ };
22112
22253
  /** @description Validation Error */
22113
22254
  422: {
22114
22255
  headers: {