@randock/nameshift-api-client 0.0.183 → 0.0.185

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 (114) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +9 -1
  4. package/dist/apis/AccountsApi.js +50 -0
  5. package/dist/apis/AdminApi.d.ts +27 -1
  6. package/dist/apis/AdminApi.js +119 -0
  7. package/dist/apis/DomainsApi.d.ts +3 -3
  8. package/dist/apis/DomainsApi.js +1 -1
  9. package/dist/apis/DomainsPublicApi.d.ts +1 -0
  10. package/dist/apis/DomainsPublicApi.js +3 -0
  11. package/dist/apis/SubscriptionsPublicApi.d.ts +52 -0
  12. package/dist/apis/SubscriptionsPublicApi.js +217 -0
  13. package/dist/apis/TasksApi.d.ts +3 -3
  14. package/dist/apis/TasksApi.js +1 -1
  15. package/dist/apis/index.d.ts +1 -0
  16. package/dist/apis/index.js +1 -0
  17. package/dist/models/AccountSettingsDto.d.ts +21 -0
  18. package/dist/models/AccountSettingsDto.js +15 -0
  19. package/dist/models/AccountSettingsInput.d.ts +7 -0
  20. package/dist/models/AccountSettingsInput.js +3 -0
  21. package/dist/models/AccountSettingsLandingDto.d.ts +38 -0
  22. package/dist/models/AccountSettingsLandingDto.js +55 -0
  23. package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.d.ts +51 -0
  24. package/dist/models/AccountSettingsLeaseToOwnConfigurationDto.js +64 -0
  25. package/dist/models/AccountSettingsSidnDto.d.ts +32 -0
  26. package/dist/models/AccountSettingsSidnDto.js +51 -0
  27. package/dist/models/ChangeSubscriptionStatusInput.d.ts +42 -0
  28. package/dist/models/ChangeSubscriptionStatusInput.js +61 -0
  29. package/dist/models/CreateSubscriptionInput.d.ts +132 -0
  30. package/dist/models/CreateSubscriptionInput.js +102 -0
  31. package/dist/models/DomainDto.d.ts +7 -0
  32. package/dist/models/DomainDto.js +5 -0
  33. package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.d.ts +57 -0
  34. package/dist/models/DomainSalesInformationLeaseToOwnConfigurationDto.js +68 -0
  35. package/dist/models/GetAllSubscriptions200Response.d.ts +47 -0
  36. package/dist/models/GetAllSubscriptions200Response.js +62 -0
  37. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
  38. package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
  39. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
  40. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
  41. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.d.ts +7 -0
  42. package/dist/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.js +5 -0
  43. package/dist/models/LeaseToOwnConfigurationDto.d.ts +51 -0
  44. package/dist/models/LeaseToOwnConfigurationDto.js +64 -0
  45. package/dist/models/LeaseToOwnConfigurationInput.d.ts +44 -0
  46. package/dist/models/LeaseToOwnConfigurationInput.js +53 -0
  47. package/dist/models/LeaseToOwnConfigurationPresetsDto.d.ts +44 -0
  48. package/dist/models/LeaseToOwnConfigurationPresetsDto.js +59 -0
  49. package/dist/models/List200Response1.d.ts +3 -3
  50. package/dist/models/List200Response1.js +3 -3
  51. package/dist/models/List200Response2.d.ts +3 -3
  52. package/dist/models/List200Response2.js +3 -3
  53. package/dist/models/SubscriptionCompanyInfoDto.d.ts +39 -0
  54. package/dist/models/SubscriptionCompanyInfoDto.js +56 -0
  55. package/dist/models/SubscriptionCompanyTaxIdDto.d.ts +44 -0
  56. package/dist/models/SubscriptionCompanyTaxIdDto.js +59 -0
  57. package/dist/models/SubscriptionDomainDto.d.ts +38 -0
  58. package/dist/models/SubscriptionDomainDto.js +55 -0
  59. package/dist/models/SubscriptionDto.d.ts +165 -0
  60. package/dist/models/SubscriptionDto.js +148 -0
  61. package/dist/models/SubscriptionListItemDto.d.ts +102 -0
  62. package/dist/models/SubscriptionListItemDto.js +104 -0
  63. package/dist/models/SubscriptionListItemDtoBuyerInformation.d.ts +64 -0
  64. package/dist/models/SubscriptionListItemDtoBuyerInformation.js +73 -0
  65. package/dist/models/SubscriptionListItemDtoDomainInformation.d.ts +44 -0
  66. package/dist/models/SubscriptionListItemDtoDomainInformation.js +59 -0
  67. package/dist/models/SubscriptionListItemDtoSellerAccount.d.ts +50 -0
  68. package/dist/models/SubscriptionListItemDtoSellerAccount.js +63 -0
  69. package/dist/models/UpdateDomainInput.d.ts +7 -0
  70. package/dist/models/UpdateDomainInput.js +3 -0
  71. package/dist/models/UpdateSubscriptionInput.d.ts +112 -0
  72. package/dist/models/UpdateSubscriptionInput.js +81 -0
  73. package/dist/models/WithSettingsInner.d.ts +7 -0
  74. package/dist/models/WithSettingsInner.js +5 -0
  75. package/dist/models/index.d.ts +19 -0
  76. package/dist/models/index.js +19 -0
  77. package/package.json +1 -1
  78. package/src/apis/AccountsApi.ts +37 -0
  79. package/src/apis/AdminApi.ts +118 -0
  80. package/src/apis/DomainsApi.ts +9 -6
  81. package/src/apis/DomainsPublicApi.ts +5 -0
  82. package/src/apis/SubscriptionsPublicApi.ts +175 -0
  83. package/src/apis/TasksApi.ts +6 -6
  84. package/src/apis/index.ts +1 -0
  85. package/src/models/AccountSettingsDto.ts +48 -0
  86. package/src/models/AccountSettingsInput.ts +15 -0
  87. package/src/models/AccountSettingsLandingDto.ts +75 -0
  88. package/src/models/AccountSettingsLeaseToOwnConfigurationDto.ts +101 -0
  89. package/src/models/AccountSettingsSidnDto.ts +66 -0
  90. package/src/models/ChangeSubscriptionStatusInput.ts +79 -0
  91. package/src/models/CreateSubscriptionInput.ts +209 -0
  92. package/src/models/DomainDto.ts +16 -0
  93. package/src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts +110 -0
  94. package/src/models/GetAllSubscriptions200Response.ts +106 -0
  95. package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
  96. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
  97. package/src/models/IntersectionDomainSalesInformationDtoWithDomainStatsDto.ts +16 -0
  98. package/src/models/LeaseToOwnConfigurationDto.ts +101 -0
  99. package/src/models/LeaseToOwnConfigurationInput.ts +81 -0
  100. package/src/models/LeaseToOwnConfigurationPresetsDto.ts +84 -0
  101. package/src/models/List200Response1.ts +10 -10
  102. package/src/models/List200Response2.ts +10 -10
  103. package/src/models/SubscriptionCompanyInfoDto.ts +83 -0
  104. package/src/models/SubscriptionCompanyTaxIdDto.ts +84 -0
  105. package/src/models/SubscriptionDomainDto.ts +75 -0
  106. package/src/models/SubscriptionDto.ts +292 -0
  107. package/src/models/SubscriptionListItemDto.ts +189 -0
  108. package/src/models/SubscriptionListItemDtoBuyerInformation.ts +126 -0
  109. package/src/models/SubscriptionListItemDtoDomainInformation.ts +84 -0
  110. package/src/models/SubscriptionListItemDtoSellerAccount.ts +93 -0
  111. package/src/models/UpdateDomainInput.ts +15 -0
  112. package/src/models/UpdateSubscriptionInput.ts +179 -0
  113. package/src/models/WithSettingsInner.ts +16 -0
  114. package/src/models/index.ts +19 -0
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
13
14
  import type { AccountDto } from './AccountDto';
14
15
  /**
15
16
  *
@@ -78,6 +79,12 @@ export interface IntersectionDomainDtoWithAccountDto {
78
79
  * @memberof IntersectionDomainDtoWithAccountDto
79
80
  */
80
81
  buyNow: MoneyDto;
82
+ /**
83
+ * The lease to own configuration
84
+ * @type {LeaseToOwnConfigurationDto}
85
+ * @memberof IntersectionDomainDtoWithAccountDto
86
+ */
87
+ leaseToOwn: LeaseToOwnConfigurationDto;
81
88
  /**
82
89
  * The minimum offer
83
90
  * @type {MoneyDto}
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithAccountDtoFromJSONTyped = IntersectionDomainDto
19
19
  exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAccountDtoToJSON;
20
20
  exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
22
23
  var AccountDto_1 = require("./AccountDto");
23
24
  /**
24
25
  * Check if a given object implements the IntersectionDomainDtoWithAccountDto interface.
@@ -44,6 +45,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
44
45
  return false;
45
46
  if (!('buyNow' in value) || value['buyNow'] === undefined)
46
47
  return false;
48
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
49
+ return false;
47
50
  if (!('minOffer' in value) || value['minOffer'] === undefined)
48
51
  return false;
49
52
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -74,6 +77,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
74
77
  'displayName': json['displayName'],
75
78
  'currencyCode': json['currencyCode'],
76
79
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
80
+ 'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
77
81
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
78
82
  'createdAt': (new Date(json['createdAt'])),
79
83
  'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
@@ -100,6 +104,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
100
104
  'displayName': value['displayName'],
101
105
  'currencyCode': value['currencyCode'],
102
106
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
107
+ 'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
103
108
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
104
109
  'createdAt': ((value['createdAt']).toISOString()),
105
110
  'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { MoneyDto } from './MoneyDto';
13
+ import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
13
14
  import type { AccountDto } from './AccountDto';
14
15
  /**
15
16
  *
@@ -78,6 +79,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
78
79
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
79
80
  */
80
81
  buyNow: MoneyDto;
82
+ /**
83
+ * The lease to own configuration
84
+ * @type {LeaseToOwnConfigurationDto}
85
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
86
+ */
87
+ leaseToOwn: LeaseToOwnConfigurationDto;
81
88
  /**
82
89
  * The minimum offer
83
90
  * @type {MoneyDto}
@@ -19,6 +19,7 @@ exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped = Inters
19
19
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSON;
20
20
  exports.IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped;
21
21
  var MoneyDto_1 = require("./MoneyDto");
22
+ var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
22
23
  var AccountDto_1 = require("./AccountDto");
23
24
  /**
24
25
  * Check if a given object implements the IntersectionDomainDtoWithHijackerDtoWithAccountDto interface.
@@ -44,6 +45,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
44
45
  return false;
45
46
  if (!('buyNow' in value) || value['buyNow'] === undefined)
46
47
  return false;
48
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
49
+ return false;
47
50
  if (!('minOffer' in value) || value['minOffer'] === undefined)
48
51
  return false;
49
52
  if (!('createdAt' in value) || value['createdAt'] === undefined)
@@ -76,6 +79,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
76
79
  'displayName': json['displayName'],
77
80
  'currencyCode': json['currencyCode'],
78
81
  'buyNow': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNow']),
82
+ 'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
79
83
  'minOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOffer']),
80
84
  'createdAt': (new Date(json['createdAt'])),
81
85
  'deletedAt': (json['deletedAt'] == null ? null : new Date(json['deletedAt'])),
@@ -103,6 +107,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
103
107
  'displayName': value['displayName'],
104
108
  'currencyCode': value['currencyCode'],
105
109
  'buyNow': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNow']),
110
+ 'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
106
111
  'minOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOffer']),
107
112
  'createdAt': ((value['createdAt']).toISOString()),
108
113
  'deletedAt': (value['deletedAt'] == null ? null : value['deletedAt'].toISOString()),
@@ -12,6 +12,7 @@
12
12
  import type { DomainSellerDto } from './DomainSellerDto';
13
13
  import type { DomainStats } from './DomainStats';
14
14
  import type { MoneyDto } from './MoneyDto';
15
+ import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
15
16
  /**
16
17
  *
17
18
  * @export
@@ -42,6 +43,12 @@ export interface IntersectionDomainSalesInformationDtoWithDomainStatsDto {
42
43
  * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
43
44
  */
44
45
  buyNowPrice: MoneyDto | null;
46
+ /**
47
+ * Lease to own configuration or null if it is not enabled
48
+ * @type {DomainSalesInformationLeaseToOwnConfigurationDto}
49
+ * @memberof IntersectionDomainSalesInformationDtoWithDomainStatsDto
50
+ */
51
+ leaseToOwn: DomainSalesInformationLeaseToOwnConfigurationDto | null;
45
52
  /**
46
53
  * min offer price or null if offers are not enabled
47
54
  * @type {MoneyDto}
@@ -21,6 +21,7 @@ exports.IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSONTyped = Int
21
21
  var DomainSellerDto_1 = require("./DomainSellerDto");
22
22
  var DomainStats_1 = require("./DomainStats");
23
23
  var MoneyDto_1 = require("./MoneyDto");
24
+ var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
24
25
  /**
25
26
  * Check if a given object implements the IntersectionDomainSalesInformationDtoWithDomainStatsDto interface.
26
27
  */
@@ -33,6 +34,8 @@ function instanceOfIntersectionDomainSalesInformationDtoWithDomainStatsDto(value
33
34
  return false;
34
35
  if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined)
35
36
  return false;
37
+ if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
38
+ return false;
36
39
  if (!('minOfferPrice' in value) || value['minOfferPrice'] === undefined)
37
40
  return false;
38
41
  if (!('seller' in value) || value['seller'] === undefined)
@@ -55,6 +58,7 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoFromJSONTyped(js
55
58
  'domain': json['domain'],
56
59
  'domainDisplayName': json['domainDisplayName'],
57
60
  'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
61
+ 'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
58
62
  'minOfferPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minOfferPrice']),
59
63
  'seller': (0, DomainSellerDto_1.DomainSellerDtoFromJSON)(json['seller']),
60
64
  'sold': json['sold'],
@@ -74,6 +78,7 @@ function IntersectionDomainSalesInformationDtoWithDomainStatsDtoToJSONTyped(valu
74
78
  'domain': value['domain'],
75
79
  'domainDisplayName': value['domainDisplayName'],
76
80
  'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
81
+ 'leaseToOwn': (0, DomainSalesInformationLeaseToOwnConfigurationDto_1.DomainSalesInformationLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
77
82
  'minOfferPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['minOfferPrice']),
78
83
  'seller': (0, DomainSellerDto_1.DomainSellerDtoToJSON)(value['seller']),
79
84
  'sold': value['sold'],
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LeaseToOwnConfigurationPresetsDto } from './LeaseToOwnConfigurationPresetsDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LeaseToOwnConfigurationDto
17
+ */
18
+ export interface LeaseToOwnConfigurationDto {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof LeaseToOwnConfigurationDto
23
+ */
24
+ enabled: boolean;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof LeaseToOwnConfigurationDto
29
+ */
30
+ minMonths: number | null;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof LeaseToOwnConfigurationDto
35
+ */
36
+ maxMonths: number | null;
37
+ /**
38
+ *
39
+ * @type {LeaseToOwnConfigurationPresetsDto}
40
+ * @memberof LeaseToOwnConfigurationDto
41
+ */
42
+ presets: LeaseToOwnConfigurationPresetsDto;
43
+ }
44
+ /**
45
+ * Check if a given object implements the LeaseToOwnConfigurationDto interface.
46
+ */
47
+ export declare function instanceOfLeaseToOwnConfigurationDto(value: object): value is LeaseToOwnConfigurationDto;
48
+ export declare function LeaseToOwnConfigurationDtoFromJSON(json: any): LeaseToOwnConfigurationDto;
49
+ export declare function LeaseToOwnConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeaseToOwnConfigurationDto;
50
+ export declare function LeaseToOwnConfigurationDtoToJSON(json: any): LeaseToOwnConfigurationDto;
51
+ export declare function LeaseToOwnConfigurationDtoToJSONTyped(value?: LeaseToOwnConfigurationDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeaseToOwnConfigurationDto = instanceOfLeaseToOwnConfigurationDto;
17
+ exports.LeaseToOwnConfigurationDtoFromJSON = LeaseToOwnConfigurationDtoFromJSON;
18
+ exports.LeaseToOwnConfigurationDtoFromJSONTyped = LeaseToOwnConfigurationDtoFromJSONTyped;
19
+ exports.LeaseToOwnConfigurationDtoToJSON = LeaseToOwnConfigurationDtoToJSON;
20
+ exports.LeaseToOwnConfigurationDtoToJSONTyped = LeaseToOwnConfigurationDtoToJSONTyped;
21
+ var LeaseToOwnConfigurationPresetsDto_1 = require("./LeaseToOwnConfigurationPresetsDto");
22
+ /**
23
+ * Check if a given object implements the LeaseToOwnConfigurationDto interface.
24
+ */
25
+ function instanceOfLeaseToOwnConfigurationDto(value) {
26
+ if (!('enabled' in value) || value['enabled'] === undefined)
27
+ return false;
28
+ if (!('minMonths' in value) || value['minMonths'] === undefined)
29
+ return false;
30
+ if (!('maxMonths' in value) || value['maxMonths'] === undefined)
31
+ return false;
32
+ if (!('presets' in value) || value['presets'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function LeaseToOwnConfigurationDtoFromJSON(json) {
37
+ return LeaseToOwnConfigurationDtoFromJSONTyped(json, false);
38
+ }
39
+ function LeaseToOwnConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'enabled': json['enabled'],
45
+ 'minMonths': json['minMonths'],
46
+ 'maxMonths': json['maxMonths'],
47
+ 'presets': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoFromJSON)(json['presets']),
48
+ };
49
+ }
50
+ function LeaseToOwnConfigurationDtoToJSON(json) {
51
+ return LeaseToOwnConfigurationDtoToJSONTyped(json, false);
52
+ }
53
+ function LeaseToOwnConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'enabled': value['enabled'],
60
+ 'minMonths': value['minMonths'],
61
+ 'maxMonths': value['maxMonths'],
62
+ 'presets': (0, LeaseToOwnConfigurationPresetsDto_1.LeaseToOwnConfigurationPresetsDtoToJSON)(value['presets']),
63
+ };
64
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LeaseToOwnConfigurationInput
16
+ */
17
+ export interface LeaseToOwnConfigurationInput {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof LeaseToOwnConfigurationInput
22
+ */
23
+ enabled?: boolean;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LeaseToOwnConfigurationInput
28
+ */
29
+ minMonths?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LeaseToOwnConfigurationInput
34
+ */
35
+ maxMonths?: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the LeaseToOwnConfigurationInput interface.
39
+ */
40
+ export declare function instanceOfLeaseToOwnConfigurationInput(value: object): value is LeaseToOwnConfigurationInput;
41
+ export declare function LeaseToOwnConfigurationInputFromJSON(json: any): LeaseToOwnConfigurationInput;
42
+ export declare function LeaseToOwnConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeaseToOwnConfigurationInput;
43
+ export declare function LeaseToOwnConfigurationInputToJSON(json: any): LeaseToOwnConfigurationInput;
44
+ export declare function LeaseToOwnConfigurationInputToJSONTyped(value?: LeaseToOwnConfigurationInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeaseToOwnConfigurationInput = instanceOfLeaseToOwnConfigurationInput;
17
+ exports.LeaseToOwnConfigurationInputFromJSON = LeaseToOwnConfigurationInputFromJSON;
18
+ exports.LeaseToOwnConfigurationInputFromJSONTyped = LeaseToOwnConfigurationInputFromJSONTyped;
19
+ exports.LeaseToOwnConfigurationInputToJSON = LeaseToOwnConfigurationInputToJSON;
20
+ exports.LeaseToOwnConfigurationInputToJSONTyped = LeaseToOwnConfigurationInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeaseToOwnConfigurationInput interface.
23
+ */
24
+ function instanceOfLeaseToOwnConfigurationInput(value) {
25
+ return true;
26
+ }
27
+ function LeaseToOwnConfigurationInputFromJSON(json) {
28
+ return LeaseToOwnConfigurationInputFromJSONTyped(json, false);
29
+ }
30
+ function LeaseToOwnConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
+ 'minMonths': json['minMonths'] == null ? undefined : json['minMonths'],
37
+ 'maxMonths': json['maxMonths'] == null ? undefined : json['maxMonths'],
38
+ };
39
+ }
40
+ function LeaseToOwnConfigurationInputToJSON(json) {
41
+ return LeaseToOwnConfigurationInputToJSONTyped(json, false);
42
+ }
43
+ function LeaseToOwnConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'enabled': value['enabled'],
50
+ 'minMonths': value['minMonths'],
51
+ 'maxMonths': value['maxMonths'],
52
+ };
53
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface LeaseToOwnConfigurationPresetsDto
16
+ */
17
+ export interface LeaseToOwnConfigurationPresetsDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof LeaseToOwnConfigurationPresetsDto
22
+ */
23
+ minMonths: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LeaseToOwnConfigurationPresetsDto
28
+ */
29
+ maxMonths: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LeaseToOwnConfigurationPresetsDto
34
+ */
35
+ minMonthPrice: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the LeaseToOwnConfigurationPresetsDto interface.
39
+ */
40
+ export declare function instanceOfLeaseToOwnConfigurationPresetsDto(value: object): value is LeaseToOwnConfigurationPresetsDto;
41
+ export declare function LeaseToOwnConfigurationPresetsDtoFromJSON(json: any): LeaseToOwnConfigurationPresetsDto;
42
+ export declare function LeaseToOwnConfigurationPresetsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeaseToOwnConfigurationPresetsDto;
43
+ export declare function LeaseToOwnConfigurationPresetsDtoToJSON(json: any): LeaseToOwnConfigurationPresetsDto;
44
+ export declare function LeaseToOwnConfigurationPresetsDtoToJSONTyped(value?: LeaseToOwnConfigurationPresetsDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLeaseToOwnConfigurationPresetsDto = instanceOfLeaseToOwnConfigurationPresetsDto;
17
+ exports.LeaseToOwnConfigurationPresetsDtoFromJSON = LeaseToOwnConfigurationPresetsDtoFromJSON;
18
+ exports.LeaseToOwnConfigurationPresetsDtoFromJSONTyped = LeaseToOwnConfigurationPresetsDtoFromJSONTyped;
19
+ exports.LeaseToOwnConfigurationPresetsDtoToJSON = LeaseToOwnConfigurationPresetsDtoToJSON;
20
+ exports.LeaseToOwnConfigurationPresetsDtoToJSONTyped = LeaseToOwnConfigurationPresetsDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LeaseToOwnConfigurationPresetsDto interface.
23
+ */
24
+ function instanceOfLeaseToOwnConfigurationPresetsDto(value) {
25
+ if (!('minMonths' in value) || value['minMonths'] === undefined)
26
+ return false;
27
+ if (!('maxMonths' in value) || value['maxMonths'] === undefined)
28
+ return false;
29
+ if (!('minMonthPrice' in value) || value['minMonthPrice'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function LeaseToOwnConfigurationPresetsDtoFromJSON(json) {
34
+ return LeaseToOwnConfigurationPresetsDtoFromJSONTyped(json, false);
35
+ }
36
+ function LeaseToOwnConfigurationPresetsDtoFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'minMonths': json['minMonths'],
42
+ 'maxMonths': json['maxMonths'],
43
+ 'minMonthPrice': json['minMonthPrice'],
44
+ };
45
+ }
46
+ function LeaseToOwnConfigurationPresetsDtoToJSON(json) {
47
+ return LeaseToOwnConfigurationPresetsDtoToJSONTyped(json, false);
48
+ }
49
+ function LeaseToOwnConfigurationPresetsDtoToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'minMonths': value['minMonths'],
56
+ 'maxMonths': value['maxMonths'],
57
+ 'minMonthPrice': value['minMonthPrice'],
58
+ };
59
+ }
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { DomainDto } from './DomainDto';
13
+ import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response1 {
21
21
  /**
22
22
  *
23
- * @type {Array<DomainDto>}
23
+ * @type {Array<IntersectionTaskListTaskDto>}
24
24
  * @memberof List200Response1
25
25
  */
26
- data: Array<DomainDto>;
26
+ data: Array<IntersectionTaskListTaskDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -19,7 +19,7 @@ exports.List200Response1FromJSONTyped = List200Response1FromJSONTyped;
19
19
  exports.List200Response1ToJSON = List200Response1ToJSON;
20
20
  exports.List200Response1ToJSONTyped = List200Response1ToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var DomainDto_1 = require("./DomainDto");
22
+ var IntersectionTaskListTaskDto_1 = require("./IntersectionTaskListTaskDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the List200Response1 interface.
@@ -41,7 +41,7 @@ function List200Response1FromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
44
+ 'data': (json['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoFromJSON)),
45
45
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
46
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
47
  };
@@ -55,7 +55,7 @@ function List200Response1ToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
58
+ 'data': (value['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { PaginateResponseLinks } from './PaginateResponseLinks';
13
- import type { IntersectionTaskListTaskDto } from './IntersectionTaskListTaskDto';
13
+ import type { DomainDto } from './DomainDto';
14
14
  import type { PaginateResponseMeta } from './PaginateResponseMeta';
15
15
  /**
16
16
  *
@@ -20,10 +20,10 @@ import type { PaginateResponseMeta } from './PaginateResponseMeta';
20
20
  export interface List200Response2 {
21
21
  /**
22
22
  *
23
- * @type {Array<IntersectionTaskListTaskDto>}
23
+ * @type {Array<DomainDto>}
24
24
  * @memberof List200Response2
25
25
  */
26
- data: Array<IntersectionTaskListTaskDto>;
26
+ data: Array<DomainDto>;
27
27
  /**
28
28
  *
29
29
  * @type {PaginateResponseMeta}
@@ -19,7 +19,7 @@ exports.List200Response2FromJSONTyped = List200Response2FromJSONTyped;
19
19
  exports.List200Response2ToJSON = List200Response2ToJSON;
20
20
  exports.List200Response2ToJSONTyped = List200Response2ToJSONTyped;
21
21
  var PaginateResponseLinks_1 = require("./PaginateResponseLinks");
22
- var IntersectionTaskListTaskDto_1 = require("./IntersectionTaskListTaskDto");
22
+ var DomainDto_1 = require("./DomainDto");
23
23
  var PaginateResponseMeta_1 = require("./PaginateResponseMeta");
24
24
  /**
25
25
  * Check if a given object implements the List200Response2 interface.
@@ -41,7 +41,7 @@ function List200Response2FromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'data': (json['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoFromJSON)),
44
+ 'data': (json['data'].map(DomainDto_1.DomainDtoFromJSON)),
45
45
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaFromJSON)(json['meta']),
46
46
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksFromJSON)(json['links']),
47
47
  };
@@ -55,7 +55,7 @@ function List200Response2ToJSONTyped(value, ignoreDiscriminator) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'data': (value['data'].map(IntersectionTaskListTaskDto_1.IntersectionTaskListTaskDtoToJSON)),
58
+ 'data': (value['data'].map(DomainDto_1.DomainDtoToJSON)),
59
59
  'meta': (0, PaginateResponseMeta_1.PaginateResponseMetaToJSON)(value['meta']),
60
60
  'links': (0, PaginateResponseLinks_1.PaginateResponseLinksToJSON)(value['links']),
61
61
  };
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { SubscriptionCompanyTaxIdDto } from './SubscriptionCompanyTaxIdDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubscriptionCompanyInfoDto
17
+ */
18
+ export interface SubscriptionCompanyInfoDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SubscriptionCompanyInfoDto
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {SubscriptionCompanyTaxIdDto}
28
+ * @memberof SubscriptionCompanyInfoDto
29
+ */
30
+ taxId: SubscriptionCompanyTaxIdDto;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SubscriptionCompanyInfoDto interface.
34
+ */
35
+ export declare function instanceOfSubscriptionCompanyInfoDto(value: object): value is SubscriptionCompanyInfoDto;
36
+ export declare function SubscriptionCompanyInfoDtoFromJSON(json: any): SubscriptionCompanyInfoDto;
37
+ export declare function SubscriptionCompanyInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionCompanyInfoDto;
38
+ export declare function SubscriptionCompanyInfoDtoToJSON(json: any): SubscriptionCompanyInfoDto;
39
+ export declare function SubscriptionCompanyInfoDtoToJSONTyped(value?: SubscriptionCompanyInfoDto | null, ignoreDiscriminator?: boolean): any;