@opusdns/api 0.36.0 → 0.38.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
@@ -8,7 +8,7 @@
8
8
  "typescript": "^5.8.2"
9
9
  },
10
10
  "name": "@opusdns/api",
11
- "version": "0.36.0",
11
+ "version": "0.38.0",
12
12
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
13
13
  "main": "./src/index.ts",
14
14
  "module": "./src/index.ts",
@@ -21,7 +21,59 @@
21
21
  * ```
22
22
  */
23
23
 
24
- import { AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserNotificationStatus, UserStatus, VerificationType, ZoneSortField } from './schemas';
24
+ import { AgreementType, AllocationMethodType, BillingTransactionAction, BillingTransactionProductType, ContactRoleType, ContactSortField, Currency, DeletePolicyType, DnsChangeAction, DnsRrsetType, DnssecAlgorithm, DnssecDigestType, DnssecModeType, DnssecRecordType, DnssecStatus, DomainAvailabilityStatus, DomainClientStatus, DomainContactType, DomainSortField, DomainStatus, EmailVerificationStatus, EventObjectType, EventSubtype, EventType, GrantType, LaunchPhaseType, LocalPresenceRequirementType, OrganizationCredentialStatus, OrganizationStatus, PatchOp, PeriodUnit, Permission, PostTransferRequirements, PostalAddressType, PremiumAffectsType, PremiumSourceType, RegistrantChangeType, RegistryHandleAttributeType, Relation, RenewalMode, ReservedSourceType, SortOrder, SyncOperationType, TLDType, TransferAckType, UserNotificationStatus, UserStatus, VerificationType, ZoneSortField } from './schemas';
25
+
26
+ /**
27
+ * AgreementType. Auto-generated enum for AgreementType
28
+ *
29
+ * @remarks
30
+ * This constant provides both object and array forms for the AgreementType enum.
31
+ * The object form allows key-value access, while the array form enables iteration and validation.
32
+ *
33
+ * @example
34
+ * ```typescript
35
+ * // Using the object form for key-value access
36
+ * const status = AGREEMENT_TYPE.SUCCESS;
37
+ *
38
+ * // Using the array form for iteration
39
+ * const allStatuses = AGREEMENT_TYPE_VALUES;
40
+ * console.log(`Available statuses: ${allStatuses.join(', ')}`);
41
+ * ```
42
+ *
43
+ * @see {@link AgreementType} - The TypeScript type definition
44
+ */
45
+ export const AGREEMENT_TYPE = {
46
+ TERMS_AND_CONDITIONS: "terms_and_conditions",
47
+ MASTER_SERVICE_AGREEMENT: "master_service_agreement",
48
+ ACTING_AS_TRADER: "acting_as_trader",
49
+ } as const satisfies Record<string, AgreementType>;
50
+
51
+ /**
52
+ * Array of all AgreementType enum values
53
+ *
54
+ * @remarks
55
+ * This constant provides a array containing all valid AgreementType enum values.
56
+ * Useful for iteration, validation, and generating dynamic UI components.
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * // Iterating through all values
61
+ * for (const value of AGREEMENT_TYPE_VALUES) {
62
+ * console.log(`Processing: ${value}`);
63
+ * }
64
+ *
65
+ * // Validation
66
+ * const isValid = AGREEMENT_TYPE_VALUES.includes(someValue);
67
+ * ```
68
+ *
69
+ * @see {@link AgreementType} - The TypeScript type definition
70
+ * @see {@link AGREEMENT_TYPE} - The object form of this enum
71
+ */
72
+ export const AGREEMENT_TYPE_VALUES = [
73
+ 'terms_and_conditions',
74
+ 'master_service_agreement',
75
+ 'acting_as_trader'
76
+ ] as const satisfies [string, ...string[]] | AgreementType[];
25
77
 
26
78
  /**
27
79
  * AllocationMethodType. Auto-generated enum for AllocationMethodType
@@ -2021,7 +2073,7 @@ export const REGISTRANT_CHANGE_TYPE_VALUES = [
2021
2073
  * @see {@link RegistryHandleAttributeType} - The TypeScript type definition
2022
2074
  */
2023
2075
  export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
2024
- AT-EXT-CONTACT:TYPE: "at-ext-contact:type",
2076
+ AT_EXT_CONTACT_TYPE: "at-ext-contact:type",
2025
2077
  } as const satisfies Record<string, RegistryHandleAttributeType>;
2026
2078
 
2027
2079
  /**
@@ -138,6 +138,7 @@ import { TldSpecification } from './schemas';
138
138
  import { TrademarkClaimsBase } from './schemas';
139
139
  import { TransferPoliciesBase } from './schemas';
140
140
  import { User } from './schemas';
141
+ import { UserAgreementAcceptance } from './schemas';
141
142
  import { UserAttributeBase } from './schemas';
142
143
  import { UserCreate } from './schemas';
143
144
  import { UserNotification } from './schemas';
@@ -15580,6 +15581,31 @@ export const KEYS_RGP_OPERATIONS = [
15580
15581
  KEY_RGP_OPERATIONS_REQUEST,
15581
15582
  ] as const satisfies (keyof RgpOperations)[];
15582
15583
 
15584
+ /**
15585
+ * Agreements
15586
+ *
15587
+ * User agreement acceptances.
15588
+ *
15589
+ *
15590
+ *
15591
+ * @remarks
15592
+ * This key constant provides type-safe access to the `agreements` property of SignupCreate objects.
15593
+ * Use this constant when you need to access properties dynamically or ensure type safety.
15594
+ *
15595
+ * @example
15596
+ * ```typescript
15597
+ * // Direct property access
15598
+ * const value = signupcreate[KEY_SIGNUP_CREATE_AGREEMENTS];
15599
+ *
15600
+ * // Dynamic property access
15601
+ * const propertyName = KEY_SIGNUP_CREATE_AGREEMENTS;
15602
+ * const value = signupcreate[propertyName];
15603
+ * ```
15604
+ *
15605
+ * @see {@link SignupCreate} - The TypeScript type definition
15606
+ * @see {@link KEYS_SIGNUP_CREATE} - Array of all keys for this type
15607
+ */
15608
+ export const KEY_SIGNUP_CREATE_AGREEMENTS = 'agreements' as keyof SignupCreate;
15583
15609
  /**
15584
15610
  * organization property
15585
15611
  *
@@ -15608,7 +15634,7 @@ export const KEY_SIGNUP_CREATE_ORGANIZATION = 'organization' as keyof SignupCrea
15608
15634
  /**
15609
15635
  * terms_of_service property
15610
15636
  *
15611
- * Terms of service acceptance.
15637
+ * Terms of service acceptance (legacy).
15612
15638
  *
15613
15639
  *
15614
15640
  *
@@ -15677,6 +15703,7 @@ export const KEY_SIGNUP_CREATE_USER = 'user' as keyof SignupCreate;
15677
15703
  * @see {@link SignupCreate} - The TypeScript type definition
15678
15704
  */
15679
15705
  export const KEYS_SIGNUP_CREATE = [
15706
+ KEY_SIGNUP_CREATE_AGREEMENTS,
15680
15707
  KEY_SIGNUP_CREATE_ORGANIZATION,
15681
15708
  KEY_SIGNUP_CREATE_TERMS_OF_SERVICE,
15682
15709
  KEY_SIGNUP_CREATE_USER,
@@ -17389,6 +17416,135 @@ export const KEYS_USER = [
17389
17416
  KEY_USER_USERNAME,
17390
17417
  ] as const satisfies (keyof User)[];
17391
17418
 
17419
+ /**
17420
+ * Accepted
17421
+ *
17422
+ * Whether the agreement has been accepted.
17423
+ *
17424
+ * @type {boolean}
17425
+ *
17426
+ *
17427
+ * @remarks
17428
+ * This key constant provides type-safe access to the `accepted` property of UserAgreementAcceptance objects.
17429
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17430
+ *
17431
+ * @example
17432
+ * ```typescript
17433
+ * // Direct property access
17434
+ * const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED];
17435
+ *
17436
+ * // Dynamic property access
17437
+ * const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED;
17438
+ * const value = useragreementacceptance[propertyName];
17439
+ * ```
17440
+ *
17441
+ * @see {@link UserAgreementAcceptance} - The TypeScript type definition
17442
+ * @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
17443
+ */
17444
+ export const KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED = 'accepted' as keyof UserAgreementAcceptance;
17445
+ /**
17446
+ * type property
17447
+ *
17448
+ * Type of agreement being accepted.
17449
+ *
17450
+ *
17451
+ *
17452
+ * @remarks
17453
+ * This key constant provides type-safe access to the `type` property of UserAgreementAcceptance objects.
17454
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17455
+ *
17456
+ * @example
17457
+ * ```typescript
17458
+ * // Direct property access
17459
+ * const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_TYPE];
17460
+ *
17461
+ * // Dynamic property access
17462
+ * const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_TYPE;
17463
+ * const value = useragreementacceptance[propertyName];
17464
+ * ```
17465
+ *
17466
+ * @see {@link UserAgreementAcceptance} - The TypeScript type definition
17467
+ * @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
17468
+ */
17469
+ export const KEY_USER_AGREEMENT_ACCEPTANCE_TYPE = 'type' as keyof UserAgreementAcceptance;
17470
+ /**
17471
+ * Url
17472
+ *
17473
+ * URL where the agreement can be found.
17474
+ *
17475
+ *
17476
+ *
17477
+ * @remarks
17478
+ * This key constant provides type-safe access to the `url` property of UserAgreementAcceptance objects.
17479
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17480
+ *
17481
+ * @example
17482
+ * ```typescript
17483
+ * // Direct property access
17484
+ * const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_URL];
17485
+ *
17486
+ * // Dynamic property access
17487
+ * const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_URL;
17488
+ * const value = useragreementacceptance[propertyName];
17489
+ * ```
17490
+ *
17491
+ * @see {@link UserAgreementAcceptance} - The TypeScript type definition
17492
+ * @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
17493
+ */
17494
+ export const KEY_USER_AGREEMENT_ACCEPTANCE_URL = 'url' as keyof UserAgreementAcceptance;
17495
+ /**
17496
+ * Version
17497
+ *
17498
+ * Version of the agreement being accepted.
17499
+ *
17500
+ *
17501
+ *
17502
+ * @remarks
17503
+ * This key constant provides type-safe access to the `version` property of UserAgreementAcceptance objects.
17504
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17505
+ *
17506
+ * @example
17507
+ * ```typescript
17508
+ * // Direct property access
17509
+ * const value = useragreementacceptance[KEY_USER_AGREEMENT_ACCEPTANCE_VERSION];
17510
+ *
17511
+ * // Dynamic property access
17512
+ * const propertyName = KEY_USER_AGREEMENT_ACCEPTANCE_VERSION;
17513
+ * const value = useragreementacceptance[propertyName];
17514
+ * ```
17515
+ *
17516
+ * @see {@link UserAgreementAcceptance} - The TypeScript type definition
17517
+ * @see {@link KEYS_USER_AGREEMENT_ACCEPTANCE} - Array of all keys for this type
17518
+ */
17519
+ export const KEY_USER_AGREEMENT_ACCEPTANCE_VERSION = 'version' as keyof UserAgreementAcceptance;
17520
+
17521
+ /**
17522
+ * Array of all UserAgreementAcceptance property keys
17523
+ *
17524
+ * @remarks
17525
+ * This constant provides a readonly array containing all valid property keys for UserAgreementAcceptance objects.
17526
+ * Useful for iteration, validation, and generating dynamic UI components.
17527
+ *
17528
+ * @example
17529
+ * ```typescript
17530
+ * // Iterating through all keys
17531
+ * for (const key of KEYS_USER_AGREEMENT_ACCEPTANCE) {
17532
+ * console.log(`Property: ${key}, Value: ${useragreementacceptance[key]}`);
17533
+ * }
17534
+ *
17535
+ * // Validation
17536
+ * const isValidKey = KEYS_USER_AGREEMENT_ACCEPTANCE.includes(someKey);
17537
+ * ```
17538
+ *
17539
+ * @see {@link UserAgreementAcceptance} - The TypeScript type definition
17540
+ */
17541
+ export const KEYS_USER_AGREEMENT_ACCEPTANCE = [
17542
+ KEY_USER_AGREEMENT_ACCEPTANCE_ACCEPTED,
17543
+ KEY_USER_AGREEMENT_ACCEPTANCE_TYPE,
17544
+ KEY_USER_AGREEMENT_ACCEPTANCE_URL,
17545
+ KEY_USER_AGREEMENT_ACCEPTANCE_VERSION,
17546
+ ] as const satisfies (keyof UserAgreementAcceptance)[];
17547
+
17392
17548
  /**
17393
17549
  * Key
17394
17550
  *
@@ -21,7 +21,7 @@
21
21
  * This file is auto-generated from the OpenAPI specification.
22
22
  * Do not edit manually.
23
23
  */
24
- import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, UserNotificationSummary, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
24
+ import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, DeletePolicyType, SyncOperationType, DomainContact, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, PlanInfo, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, ContactRoleType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, ContactSchema, DnsZone, Domain, EmailForwardAlias, EventResponse, OrganizationCredential, Organization, UserNotificationSummary, Period, Permission, PremiumAffectsType, Relation, UserAgreementAcceptance, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -667,6 +667,20 @@ export type PremiumAffectsTypeArray = PremiumAffectsType[];
667
667
  * @see {@link Relation} - The individual Relation type definition
668
668
  */
669
669
  export type RelationArray = Relation[];
670
+ /**
671
+ * UserAgreementAcceptance
672
+ *
673
+ * @remarks
674
+ * Array type for UserAgreementAcceptance objects. Used when the API returns a collection of UserAgreementAcceptance instances.
675
+ *
676
+ * @example
677
+ * ```typescript
678
+ * const items: UserAgreementAcceptanceArray = await api.getUserAgreementAcceptances();
679
+ * ```
680
+ *
681
+ * @see {@link UserAgreementAcceptance} - The individual UserAgreementAcceptance type definition
682
+ */
683
+ export type UserAgreementAcceptanceArray = UserAgreementAcceptance[];
670
684
  /**
671
685
  * TldBase
672
686
  *
@@ -26,6 +26,22 @@
26
26
  */
27
27
  import { components } from '../schema';
28
28
 
29
+ /**
30
+ * AgreementType
31
+ *
32
+ * @remarks
33
+ * Type alias for the `AgreementType` OpenAPI schema.
34
+ * This type represents agreementtype data structures used in API requests and responses.
35
+ *
36
+ * @example
37
+ * ```typescript
38
+ * const response = await api.getAgreementType();
39
+ * const item: AgreementType = response.results;
40
+ * ```
41
+ *
42
+ * @see {@link components} - The OpenAPI components schema definition
43
+ */
44
+ export type AgreementType = components['schemas']['AgreementType'];
29
45
  /**
30
46
  * AllocationMethodType
31
47
  *
@@ -2698,6 +2714,22 @@ export type TransferPoliciesBase = components['schemas']['TransferPoliciesBase']
2698
2714
  * @see {@link components} - The OpenAPI components schema definition
2699
2715
  */
2700
2716
  export type User = components['schemas']['User'];
2717
+ /**
2718
+ * UserAgreementAcceptance
2719
+ *
2720
+ * @remarks
2721
+ * Type alias for the `UserAgreementAcceptance` OpenAPI schema.
2722
+ * This type represents useragreementacceptance data structures used in API requests and responses.
2723
+ *
2724
+ * @example
2725
+ * ```typescript
2726
+ * const response = await api.getUserAgreementAcceptance();
2727
+ * const item: UserAgreementAcceptance = response.results;
2728
+ * ```
2729
+ *
2730
+ * @see {@link components} - The OpenAPI components schema definition
2731
+ */
2732
+ export type UserAgreementAcceptance = components['schemas']['UserAgreementAcceptance'];
2701
2733
  /**
2702
2734
  * UserAttributeBase
2703
2735
  *
package/src/openapi.yaml CHANGED
@@ -1,5 +1,12 @@
1
1
  components:
2
2
  schemas:
3
+ AgreementType:
4
+ enum:
5
+ - terms_and_conditions
6
+ - master_service_agreement
7
+ - acting_as_trader
8
+ title: AgreementType
9
+ type: string
3
10
  AllocationMethodType:
4
11
  enum:
5
12
  - fcfs
@@ -4024,19 +4031,28 @@ components:
4024
4031
  type: object
4025
4032
  SignupCreate:
4026
4033
  properties:
4034
+ agreements:
4035
+ anyOf:
4036
+ - items:
4037
+ $ref: '#/components/schemas/UserAgreementAcceptance'
4038
+ type: array
4039
+ - type: 'null'
4040
+ description: User agreement acceptances.
4041
+ title: Agreements
4027
4042
  organization:
4028
4043
  $ref: '#/components/schemas/OrganizationCreate'
4029
4044
  description: Organization signup.
4030
4045
  terms_of_service:
4031
- $ref: '#/components/schemas/TermsOfServiceAccept'
4032
- description: Terms of service acceptance.
4046
+ anyOf:
4047
+ - $ref: '#/components/schemas/TermsOfServiceAccept'
4048
+ - type: 'null'
4049
+ description: Terms of service acceptance (legacy).
4033
4050
  user:
4034
4051
  $ref: '#/components/schemas/UserCreate'
4035
4052
  description: User signup to platform.
4036
4053
  required:
4037
4054
  - user
4038
4055
  - organization
4039
- - terms_of_service
4040
4056
  title: SignupCreate
4041
4057
  type: object
4042
4058
  SldLength:
@@ -4453,6 +4469,35 @@ components:
4453
4469
  - status
4454
4470
  title: User
4455
4471
  type: object
4472
+ UserAgreementAcceptance:
4473
+ properties:
4474
+ accepted:
4475
+ description: Whether the agreement has been accepted.
4476
+ title: Accepted
4477
+ type: boolean
4478
+ type:
4479
+ $ref: '#/components/schemas/AgreementType'
4480
+ description: Type of agreement being accepted.
4481
+ url:
4482
+ anyOf:
4483
+ - format: uri
4484
+ maxLength: 2083
4485
+ minLength: 1
4486
+ type: string
4487
+ - type: 'null'
4488
+ description: URL where the agreement can be found.
4489
+ title: Url
4490
+ version:
4491
+ anyOf:
4492
+ - type: string
4493
+ - type: 'null'
4494
+ description: Version of the agreement being accepted.
4495
+ title: Version
4496
+ required:
4497
+ - type
4498
+ - accepted
4499
+ title: UserAgreementAcceptance
4500
+ type: object
4456
4501
  UserAttributeBase:
4457
4502
  properties:
4458
4503
  key:
@@ -5214,7 +5259,7 @@ info:
5214
5259
  '
5215
5260
  summary: OpusDNS - your gateway to a seamless domain management experience.
5216
5261
  title: OpusDNS API
5217
- version: 2025-09-11-090517
5262
+ version: 2025-09-11-192549
5218
5263
  x-logo:
5219
5264
  altText: OpusDNS API Reference
5220
5265
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -1191,6 +1191,11 @@ export interface paths {
1191
1191
  export type webhooks = Record<string, never>;
1192
1192
  export interface components {
1193
1193
  schemas: {
1194
+ /**
1195
+ * AgreementType
1196
+ * @enum {string}
1197
+ */
1198
+ AgreementType: "terms_and_conditions" | "master_service_agreement" | "acting_as_trader";
1194
1199
  /**
1195
1200
  * AllocationMethodType
1196
1201
  * @enum {string}
@@ -3853,10 +3858,15 @@ export interface components {
3853
3858
  };
3854
3859
  /** SignupCreate */
3855
3860
  SignupCreate: {
3861
+ /**
3862
+ * Agreements
3863
+ * @description User agreement acceptances.
3864
+ */
3865
+ agreements?: components["schemas"]["UserAgreementAcceptance"][] | null;
3856
3866
  /** @description Organization signup. */
3857
3867
  organization: components["schemas"]["OrganizationCreate"];
3858
- /** @description Terms of service acceptance. */
3859
- terms_of_service: components["schemas"]["TermsOfServiceAccept"];
3868
+ /** @description Terms of service acceptance (legacy). */
3869
+ terms_of_service?: components["schemas"]["TermsOfServiceAccept"] | null;
3860
3870
  /** @description User signup to platform. */
3861
3871
  user: components["schemas"]["UserCreate"];
3862
3872
  };
@@ -4124,6 +4134,26 @@ export interface components {
4124
4134
  */
4125
4135
  username: string;
4126
4136
  };
4137
+ /** UserAgreementAcceptance */
4138
+ UserAgreementAcceptance: {
4139
+ /**
4140
+ * Accepted
4141
+ * @description Whether the agreement has been accepted.
4142
+ */
4143
+ accepted: boolean;
4144
+ /** @description Type of agreement being accepted. */
4145
+ type: components["schemas"]["AgreementType"];
4146
+ /**
4147
+ * Url
4148
+ * @description URL where the agreement can be found.
4149
+ */
4150
+ url?: string | null;
4151
+ /**
4152
+ * Version
4153
+ * @description Version of the agreement being accepted.
4154
+ */
4155
+ version?: string | null;
4156
+ };
4127
4157
  /** UserAttributeBase */
4128
4158
  UserAttributeBase: {
4129
4159
  /**