@randock/nameshift-api-client 0.0.551 → 0.0.553

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 (168) hide show
  1. package/.openapi-generator/FILES +39 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AutomationsApi.d.ts +160 -0
  4. package/dist/apis/AutomationsApi.js +748 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AccountSettingsDto.d.ts +15 -1
  8. package/dist/models/AccountSettingsDto.js +8 -0
  9. package/dist/models/AccountSettingsInput.d.ts +14 -0
  10. package/dist/models/AccountSettingsInput.js +4 -0
  11. package/dist/models/AdminDomainListItemDto.d.ts +21 -1
  12. package/dist/models/AdminDomainListItemDto.js +12 -0
  13. package/dist/models/AutomationActionDto.d.ts +45 -0
  14. package/dist/models/AutomationActionDto.js +60 -0
  15. package/dist/models/AutomationActionInput.d.ts +45 -0
  16. package/dist/models/AutomationActionInput.js +56 -0
  17. package/dist/models/AutomationActionStatusEnum.d.ts +26 -0
  18. package/dist/models/AutomationActionStatusEnum.js +52 -0
  19. package/dist/models/AutomationActionTypeEnum.d.ts +27 -0
  20. package/dist/models/AutomationActionTypeEnum.js +53 -0
  21. package/dist/models/AutomationAggregateEnum.d.ts +24 -0
  22. package/dist/models/AutomationAggregateEnum.js +50 -0
  23. package/dist/models/AutomationCatalogDelayUnitDto.d.ts +45 -0
  24. package/dist/models/AutomationCatalogDelayUnitDto.js +60 -0
  25. package/dist/models/AutomationCatalogDto.d.ts +77 -0
  26. package/dist/models/AutomationCatalogDto.js +82 -0
  27. package/dist/models/AutomationCatalogFactDto.d.ts +54 -0
  28. package/dist/models/AutomationCatalogFactDto.js +67 -0
  29. package/dist/models/AutomationCatalogTriggerDto.d.ts +60 -0
  30. package/dist/models/AutomationCatalogTriggerDto.js +71 -0
  31. package/dist/models/AutomationConditionDto.d.ts +65 -0
  32. package/dist/models/AutomationConditionDto.js +76 -0
  33. package/dist/models/AutomationConditionEvaluationDto.d.ts +77 -0
  34. package/dist/models/AutomationConditionEvaluationDto.js +84 -0
  35. package/dist/models/AutomationConditionGroupDto.d.ts +53 -0
  36. package/dist/models/AutomationConditionGroupDto.js +68 -0
  37. package/dist/models/AutomationConditionGroupDtoChildrenInner.d.ts +27 -0
  38. package/dist/models/AutomationConditionGroupDtoChildrenInner.js +54 -0
  39. package/dist/models/AutomationConditionGroupEvaluationDto.d.ts +59 -0
  40. package/dist/models/AutomationConditionGroupEvaluationDto.js +72 -0
  41. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.d.ts +27 -0
  42. package/dist/models/AutomationConditionGroupEvaluationDtoChildrenInner.js +54 -0
  43. package/dist/models/AutomationConditionGroupInput.d.ts +53 -0
  44. package/dist/models/AutomationConditionGroupInput.js +68 -0
  45. package/dist/models/AutomationConditionGroupInputChildrenInner.d.ts +27 -0
  46. package/dist/models/AutomationConditionGroupInputChildrenInner.js +54 -0
  47. package/dist/models/AutomationConditionInput.d.ts +65 -0
  48. package/dist/models/AutomationConditionInput.js +74 -0
  49. package/dist/models/AutomationDelayDto.d.ts +39 -0
  50. package/dist/models/AutomationDelayDto.js +56 -0
  51. package/dist/models/AutomationDelayInput.d.ts +39 -0
  52. package/dist/models/AutomationDelayInput.js +56 -0
  53. package/dist/models/AutomationDelayUnitEnum.d.ts +25 -0
  54. package/dist/models/AutomationDelayUnitEnum.js +51 -0
  55. package/dist/models/AutomationDto.d.ts +96 -0
  56. package/dist/models/AutomationDto.js +95 -0
  57. package/dist/models/AutomationFactEnum.d.ts +36 -0
  58. package/dist/models/AutomationFactEnum.js +62 -0
  59. package/dist/models/AutomationFactGroupEnum.d.ts +27 -0
  60. package/dist/models/AutomationFactGroupEnum.js +53 -0
  61. package/dist/models/AutomationFactValueTypeEnum.d.ts +30 -0
  62. package/dist/models/AutomationFactValueTypeEnum.js +56 -0
  63. package/dist/models/AutomationGroupOperatorEnum.d.ts +25 -0
  64. package/dist/models/AutomationGroupOperatorEnum.js +51 -0
  65. package/dist/models/AutomationInput.d.ts +66 -0
  66. package/dist/models/AutomationInput.js +71 -0
  67. package/dist/models/AutomationOperatorEnum.d.ts +37 -0
  68. package/dist/models/AutomationOperatorEnum.js +63 -0
  69. package/dist/models/AutomationRunActionDto.d.ts +46 -0
  70. package/dist/models/AutomationRunActionDto.js +61 -0
  71. package/dist/models/AutomationRunAutomationDto.d.ts +58 -0
  72. package/dist/models/AutomationRunAutomationDto.js +69 -0
  73. package/dist/models/AutomationRunDto.d.ts +65 -0
  74. package/dist/models/AutomationRunDto.js +74 -0
  75. package/dist/models/AutomationRunLeadDto.d.ts +44 -0
  76. package/dist/models/AutomationRunLeadDto.js +59 -0
  77. package/dist/models/AutomationSimulationDto.d.ts +64 -0
  78. package/dist/models/AutomationSimulationDto.js +73 -0
  79. package/dist/models/AutomationStatusInput.d.ts +32 -0
  80. package/dist/models/AutomationStatusInput.js +51 -0
  81. package/dist/models/AutomationTriggerEnum.d.ts +28 -0
  82. package/dist/models/AutomationTriggerEnum.js +54 -0
  83. package/dist/models/DomainSellerDto.d.ts +9 -1
  84. package/dist/models/DomainSellerDto.js +4 -0
  85. package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
  86. package/dist/models/FeatureFlagListItemDto.js +2 -1
  87. package/dist/models/GetAutomationRuns200Response.d.ts +47 -0
  88. package/dist/models/GetAutomationRuns200Response.js +62 -0
  89. package/dist/models/GetAutomations200Response.d.ts +47 -0
  90. package/dist/models/GetAutomations200Response.js +62 -0
  91. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
  92. package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
  93. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +21 -1
  94. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +12 -0
  95. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +21 -1
  96. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +12 -0
  97. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +21 -1
  98. package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +12 -0
  99. package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +12 -0
  100. package/dist/models/LandingPageOriginalDesignSettingsDto.js +8 -0
  101. package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +12 -0
  102. package/dist/models/LandingPageOriginalDesignSettingsInput.js +4 -0
  103. package/dist/models/LeadMessageDto.d.ts +6 -0
  104. package/dist/models/LeadMessageDto.js +4 -0
  105. package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
  106. package/dist/models/PrivateAccountGetMeResponse.js +2 -1
  107. package/dist/models/SimulateAutomationsInput.d.ts +70 -0
  108. package/dist/models/SimulateAutomationsInput.js +69 -0
  109. package/dist/models/UpdateDomainInput.d.ts +21 -1
  110. package/dist/models/UpdateDomainInput.js +6 -0
  111. package/dist/models/index.d.ts +38 -0
  112. package/dist/models/index.js +38 -0
  113. package/package.json +1 -1
  114. package/src/apis/AutomationsApi.ts +622 -0
  115. package/src/apis/index.ts +1 -0
  116. package/src/models/AccountSettingsDto.ts +19 -1
  117. package/src/models/AccountSettingsInput.ts +16 -0
  118. package/src/models/AdminDomainListItemDto.ts +28 -1
  119. package/src/models/AutomationActionDto.ts +94 -0
  120. package/src/models/AutomationActionInput.ts +92 -0
  121. package/src/models/AutomationActionStatusEnum.ts +54 -0
  122. package/src/models/AutomationActionTypeEnum.ts +55 -0
  123. package/src/models/AutomationAggregateEnum.ts +52 -0
  124. package/src/models/AutomationCatalogDelayUnitDto.ts +94 -0
  125. package/src/models/AutomationCatalogDto.ts +151 -0
  126. package/src/models/AutomationCatalogFactDto.ts +124 -0
  127. package/src/models/AutomationCatalogTriggerDto.ts +133 -0
  128. package/src/models/AutomationConditionDto.ts +127 -0
  129. package/src/models/AutomationConditionEvaluationDto.ts +145 -0
  130. package/src/models/AutomationConditionGroupDto.ts +109 -0
  131. package/src/models/AutomationConditionGroupDtoChildrenInner.ts +73 -0
  132. package/src/models/AutomationConditionGroupEvaluationDto.ts +118 -0
  133. package/src/models/AutomationConditionGroupEvaluationDtoChildrenInner.ts +73 -0
  134. package/src/models/AutomationConditionGroupInput.ts +109 -0
  135. package/src/models/AutomationConditionGroupInputChildrenInner.ts +73 -0
  136. package/src/models/AutomationConditionInput.ts +126 -0
  137. package/src/models/AutomationDelayDto.ts +85 -0
  138. package/src/models/AutomationDelayInput.ts +85 -0
  139. package/src/models/AutomationDelayUnitEnum.ts +53 -0
  140. package/src/models/AutomationDto.ts +187 -0
  141. package/src/models/AutomationFactEnum.ts +64 -0
  142. package/src/models/AutomationFactGroupEnum.ts +55 -0
  143. package/src/models/AutomationFactValueTypeEnum.ts +58 -0
  144. package/src/models/AutomationGroupOperatorEnum.ts +53 -0
  145. package/src/models/AutomationInput.ts +140 -0
  146. package/src/models/AutomationOperatorEnum.ts +65 -0
  147. package/src/models/AutomationRunActionDto.ts +101 -0
  148. package/src/models/AutomationRunAutomationDto.ts +117 -0
  149. package/src/models/AutomationRunDto.ts +135 -0
  150. package/src/models/AutomationRunLeadDto.ts +84 -0
  151. package/src/models/AutomationSimulationDto.ts +126 -0
  152. package/src/models/AutomationStatusInput.ts +66 -0
  153. package/src/models/AutomationTriggerEnum.ts +56 -0
  154. package/src/models/DomainSellerDto.ts +10 -1
  155. package/src/models/FeatureFlagListItemDto.ts +2 -1
  156. package/src/models/GetAutomationRuns200Response.ts +106 -0
  157. package/src/models/GetAutomations200Response.ts +106 -0
  158. package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
  159. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +28 -1
  160. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +28 -1
  161. package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +28 -1
  162. package/src/models/LandingPageOriginalDesignSettingsDto.ts +18 -0
  163. package/src/models/LandingPageOriginalDesignSettingsInput.ts +16 -0
  164. package/src/models/LeadMessageDto.ts +9 -0
  165. package/src/models/PrivateAccountGetMeResponse.ts +2 -1
  166. package/src/models/SimulateAutomationsInput.ts +133 -0
  167. package/src/models/UpdateDomainInput.ts +25 -1
  168. package/src/models/index.ts +38 -0
@@ -0,0 +1,126 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { AutomationConditionGroupEvaluationDto } from './AutomationConditionGroupEvaluationDto';
17
+ import {
18
+ AutomationConditionGroupEvaluationDtoFromJSON,
19
+ AutomationConditionGroupEvaluationDtoFromJSONTyped,
20
+ AutomationConditionGroupEvaluationDtoToJSON,
21
+ AutomationConditionGroupEvaluationDtoToJSONTyped,
22
+ } from './AutomationConditionGroupEvaluationDto';
23
+ import type { AutomationActionTypeEnum } from './AutomationActionTypeEnum';
24
+ import {
25
+ AutomationActionTypeEnumFromJSON,
26
+ AutomationActionTypeEnumFromJSONTyped,
27
+ AutomationActionTypeEnumToJSON,
28
+ AutomationActionTypeEnumToJSONTyped,
29
+ } from './AutomationActionTypeEnum';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface AutomationSimulationDto
35
+ */
36
+ export interface AutomationSimulationDto {
37
+ /**
38
+ * Id of the automation.
39
+ * @type {string}
40
+ * @memberof AutomationSimulationDto
41
+ */
42
+ automationId: string;
43
+ /**
44
+ * Name of the automation.
45
+ * @type {string}
46
+ * @memberof AutomationSimulationDto
47
+ */
48
+ automationName: string;
49
+ /**
50
+ * Whether the automation is turned on.
51
+ * @type {boolean}
52
+ * @memberof AutomationSimulationDto
53
+ */
54
+ enabled: boolean;
55
+ /**
56
+ * Whether the conditions of the automation would hold.
57
+ * @type {boolean}
58
+ * @memberof AutomationSimulationDto
59
+ */
60
+ matched: boolean;
61
+ /**
62
+ * How each condition would go, with the value its fact has.
63
+ * @type {AutomationConditionGroupEvaluationDto}
64
+ * @memberof AutomationSimulationDto
65
+ */
66
+ conditions: AutomationConditionGroupEvaluationDto;
67
+ /**
68
+ * Actions of the automation.
69
+ * @type {Array<AutomationActionTypeEnum>}
70
+ * @memberof AutomationSimulationDto
71
+ */
72
+ actions: Array<AutomationActionTypeEnum>;
73
+ }
74
+
75
+ /**
76
+ * Check if a given object implements the AutomationSimulationDto interface.
77
+ */
78
+ export function instanceOfAutomationSimulationDto(value: object): value is AutomationSimulationDto {
79
+ if (!('automationId' in value) || value['automationId'] === undefined) return false;
80
+ if (!('automationName' in value) || value['automationName'] === undefined) return false;
81
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
82
+ if (!('matched' in value) || value['matched'] === undefined) return false;
83
+ if (!('conditions' in value) || value['conditions'] === undefined) return false;
84
+ if (!('actions' in value) || value['actions'] === undefined) return false;
85
+ return true;
86
+ }
87
+
88
+ export function AutomationSimulationDtoFromJSON(json: any): AutomationSimulationDto {
89
+ return AutomationSimulationDtoFromJSONTyped(json, false);
90
+ }
91
+
92
+ export function AutomationSimulationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationSimulationDto {
93
+ if (json == null) {
94
+ return json;
95
+ }
96
+ return {
97
+
98
+ 'automationId': json['automationId'],
99
+ 'automationName': json['automationName'],
100
+ 'enabled': json['enabled'],
101
+ 'matched': json['matched'],
102
+ 'conditions': AutomationConditionGroupEvaluationDtoFromJSON(json['conditions']),
103
+ 'actions': ((json['actions'] as Array<any>).map(AutomationActionTypeEnumFromJSON)),
104
+ };
105
+ }
106
+
107
+ export function AutomationSimulationDtoToJSON(json: any): AutomationSimulationDto {
108
+ return AutomationSimulationDtoToJSONTyped(json, false);
109
+ }
110
+
111
+ export function AutomationSimulationDtoToJSONTyped(value?: AutomationSimulationDto | null, ignoreDiscriminator: boolean = false): any {
112
+ if (value == null) {
113
+ return value;
114
+ }
115
+
116
+ return {
117
+
118
+ 'automationId': value['automationId'],
119
+ 'automationName': value['automationName'],
120
+ 'enabled': value['enabled'],
121
+ 'matched': value['matched'],
122
+ 'conditions': AutomationConditionGroupEvaluationDtoToJSON(value['conditions']),
123
+ 'actions': ((value['actions'] as Array<any>).map(AutomationActionTypeEnumToJSON)),
124
+ };
125
+ }
126
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface AutomationStatusInput
20
+ */
21
+ export interface AutomationStatusInput {
22
+ /**
23
+ * Whether the automation is applied.
24
+ * @type {boolean}
25
+ * @memberof AutomationStatusInput
26
+ */
27
+ enabled: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the AutomationStatusInput interface.
32
+ */
33
+ export function instanceOfAutomationStatusInput(value: object): value is AutomationStatusInput {
34
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function AutomationStatusInputFromJSON(json: any): AutomationStatusInput {
39
+ return AutomationStatusInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function AutomationStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationStatusInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'enabled': json['enabled'],
49
+ };
50
+ }
51
+
52
+ export function AutomationStatusInputToJSON(json: any): AutomationStatusInput {
53
+ return AutomationStatusInputToJSONTyped(json, false);
54
+ }
55
+
56
+ export function AutomationStatusInputToJSONTyped(value?: AutomationStatusInput | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'enabled': value['enabled'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,56 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * What makes the automation be evaluated.
18
+ * @export
19
+ */
20
+ export const AutomationTriggerEnum = {
21
+ LEAD_RECEIVED: 'lead_received',
22
+ LEAD_OFFER_RECEIVED: 'lead_offer_received',
23
+ LEAD_MESSAGE_RECEIVED: 'lead_message_received',
24
+ LEAD_OFFER_ACCEPTED: 'lead_offer_accepted',
25
+ LEAD_UNANSWERED: 'lead_unanswered'
26
+ } as const;
27
+ export type AutomationTriggerEnum = typeof AutomationTriggerEnum[keyof typeof AutomationTriggerEnum];
28
+
29
+
30
+ export function instanceOfAutomationTriggerEnum(value: any): boolean {
31
+ for (const key in AutomationTriggerEnum) {
32
+ if (Object.prototype.hasOwnProperty.call(AutomationTriggerEnum, key)) {
33
+ if (AutomationTriggerEnum[key as keyof typeof AutomationTriggerEnum] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+
41
+ export function AutomationTriggerEnumFromJSON(json: any): AutomationTriggerEnum {
42
+ return AutomationTriggerEnumFromJSONTyped(json, false);
43
+ }
44
+
45
+ export function AutomationTriggerEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): AutomationTriggerEnum {
46
+ return json as AutomationTriggerEnum;
47
+ }
48
+
49
+ export function AutomationTriggerEnumToJSON(value?: AutomationTriggerEnum | null): any {
50
+ return value as any;
51
+ }
52
+
53
+ export function AutomationTriggerEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): AutomationTriggerEnum {
54
+ return value as AutomationTriggerEnum;
55
+ }
56
+
@@ -62,11 +62,17 @@ export interface DomainSellerDto {
62
62
  */
63
63
  avatar: string | null;
64
64
  /**
65
- * Seller profile description shown on the landing page.
65
+ * Seller profile description shown on the landing page in every language; null when the seller writes one by locale.
66
66
  * @type {string}
67
67
  * @memberof DomainSellerDto
68
68
  */
69
69
  description: string | null;
70
+ /**
71
+ * Seller profile description by landing page locale (en-gb, nl-be, …), when the seller writes one by locale.
72
+ * @type {{ [key: string]: string; }}
73
+ * @memberof DomainSellerDto
74
+ */
75
+ descriptions: { [key: string]: string; } | null;
70
76
  }
71
77
 
72
78
  /**
@@ -81,6 +87,7 @@ export function instanceOfDomainSellerDto(value: object): value is DomainSellerD
81
87
  if (!('name' in value) || value['name'] === undefined) return false;
82
88
  if (!('avatar' in value) || value['avatar'] === undefined) return false;
83
89
  if (!('description' in value) || value['description'] === undefined) return false;
90
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
84
91
  return true;
85
92
  }
86
93
 
@@ -102,6 +109,7 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
102
109
  'name': json['name'],
103
110
  'avatar': json['avatar'],
104
111
  'description': json['description'],
112
+ 'descriptions': json['descriptions'],
105
113
  };
106
114
  }
107
115
 
@@ -124,6 +132,7 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
124
132
  'name': value['name'],
125
133
  'avatar': value['avatar'],
126
134
  'description': value['description'],
135
+ 'descriptions': value['descriptions'],
127
136
  };
128
137
  }
129
138
 
@@ -104,7 +104,8 @@ export const FeatureFlagListItemDtoNameEnum = {
104
104
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
105
105
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
106
106
  WEBHOOKS: 'WEBHOOKS',
107
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
107
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
108
+ AUTOMATIONS: 'AUTOMATIONS'
108
109
  } as const;
109
110
  export type FeatureFlagListItemDtoNameEnum = typeof FeatureFlagListItemDtoNameEnum[keyof typeof FeatureFlagListItemDtoNameEnum];
110
111
 
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { AutomationRunDto } from './AutomationRunDto';
24
+ import {
25
+ AutomationRunDtoFromJSON,
26
+ AutomationRunDtoFromJSONTyped,
27
+ AutomationRunDtoToJSON,
28
+ AutomationRunDtoToJSONTyped,
29
+ } from './AutomationRunDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface GetAutomationRuns200Response
42
+ */
43
+ export interface GetAutomationRuns200Response {
44
+ /**
45
+ *
46
+ * @type {Array<AutomationRunDto>}
47
+ * @memberof GetAutomationRuns200Response
48
+ */
49
+ data: Array<AutomationRunDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof GetAutomationRuns200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof GetAutomationRuns200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the GetAutomationRuns200Response interface.
66
+ */
67
+ export function instanceOfGetAutomationRuns200Response(value: object): value is GetAutomationRuns200Response {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function GetAutomationRuns200ResponseFromJSON(json: any): GetAutomationRuns200Response {
75
+ return GetAutomationRuns200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function GetAutomationRuns200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAutomationRuns200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(AutomationRunDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function GetAutomationRuns200ResponseToJSON(json: any): GetAutomationRuns200Response {
91
+ return GetAutomationRuns200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function GetAutomationRuns200ResponseToJSONTyped(value?: GetAutomationRuns200Response | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(AutomationRunDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { PaginateResponseLinks } from './PaginateResponseLinks';
17
+ import {
18
+ PaginateResponseLinksFromJSON,
19
+ PaginateResponseLinksFromJSONTyped,
20
+ PaginateResponseLinksToJSON,
21
+ PaginateResponseLinksToJSONTyped,
22
+ } from './PaginateResponseLinks';
23
+ import type { AutomationDto } from './AutomationDto';
24
+ import {
25
+ AutomationDtoFromJSON,
26
+ AutomationDtoFromJSONTyped,
27
+ AutomationDtoToJSON,
28
+ AutomationDtoToJSONTyped,
29
+ } from './AutomationDto';
30
+ import type { PaginateResponseMeta } from './PaginateResponseMeta';
31
+ import {
32
+ PaginateResponseMetaFromJSON,
33
+ PaginateResponseMetaFromJSONTyped,
34
+ PaginateResponseMetaToJSON,
35
+ PaginateResponseMetaToJSONTyped,
36
+ } from './PaginateResponseMeta';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface GetAutomations200Response
42
+ */
43
+ export interface GetAutomations200Response {
44
+ /**
45
+ *
46
+ * @type {Array<AutomationDto>}
47
+ * @memberof GetAutomations200Response
48
+ */
49
+ data: Array<AutomationDto>;
50
+ /**
51
+ *
52
+ * @type {PaginateResponseMeta}
53
+ * @memberof GetAutomations200Response
54
+ */
55
+ meta: PaginateResponseMeta;
56
+ /**
57
+ *
58
+ * @type {PaginateResponseLinks}
59
+ * @memberof GetAutomations200Response
60
+ */
61
+ links: PaginateResponseLinks;
62
+ }
63
+
64
+ /**
65
+ * Check if a given object implements the GetAutomations200Response interface.
66
+ */
67
+ export function instanceOfGetAutomations200Response(value: object): value is GetAutomations200Response {
68
+ if (!('data' in value) || value['data'] === undefined) return false;
69
+ if (!('meta' in value) || value['meta'] === undefined) return false;
70
+ if (!('links' in value) || value['links'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function GetAutomations200ResponseFromJSON(json: any): GetAutomations200Response {
75
+ return GetAutomations200ResponseFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function GetAutomations200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAutomations200Response {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'data': ((json['data'] as Array<any>).map(AutomationDtoFromJSON)),
85
+ 'meta': PaginateResponseMetaFromJSON(json['meta']),
86
+ 'links': PaginateResponseLinksFromJSON(json['links']),
87
+ };
88
+ }
89
+
90
+ export function GetAutomations200ResponseToJSON(json: any): GetAutomations200Response {
91
+ return GetAutomations200ResponseToJSONTyped(json, false);
92
+ }
93
+
94
+ export function GetAutomations200ResponseToJSONTyped(value?: GetAutomations200Response | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'data': ((value['data'] as Array<any>).map(AutomationDtoToJSON)),
102
+ 'meta': PaginateResponseMetaToJSON(value['meta']),
103
+ 'links': PaginateResponseLinksToJSON(value['links']),
104
+ };
105
+ }
106
+
@@ -202,7 +202,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
202
202
  BANK_ACCOUNT_NAME_CHECK: 'BANK_ACCOUNT_NAME_CHECK',
203
203
  MFA_ENFORCED_FOR_STAFF: 'MFA_ENFORCED_FOR_STAFF',
204
204
  WEBHOOKS: 'WEBHOOKS',
205
- CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT'
205
+ CUSTOM_LANDING_PAGE_CONTENT: 'CUSTOM_LANDING_PAGE_CONTENT',
206
+ AUTOMATIONS: 'AUTOMATIONS'
206
207
  } as const;
207
208
  export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
208
209
 
@@ -149,11 +149,29 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
149
149
  */
150
150
  customDisplayName: string | null;
151
151
  /**
152
- * Owner's short description shown on the domain's landing page.
152
+ * Owner's short description shown on the domain's landing page, the same in every language.
153
153
  * @type {string}
154
154
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
155
155
  */
156
156
  ownerDescription: string | null;
157
+ /**
158
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
159
+ * @type {{ [key: string]: string; }}
160
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
161
+ */
162
+ ownerDescriptions: { [key: string]: string; } | null;
163
+ /**
164
+ * Whether the landing page shows the owner's description by locale instead of the single one.
165
+ * @type {boolean}
166
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
167
+ */
168
+ ownerDescriptionByLocale: boolean;
169
+ /**
170
+ * Whether the domain's landing page shows the owner's description; null follows the account.
171
+ * @type {boolean}
172
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
173
+ */
174
+ showOwnerDescription: boolean | null;
157
175
  /**
158
176
  * ISO 4217 currency code used for domain pricing.
159
177
  * @type {string}
@@ -326,6 +344,9 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
326
344
  if (!('displayName' in value) || value['displayName'] === undefined) return false;
327
345
  if (!('customDisplayName' in value) || value['customDisplayName'] === undefined) return false;
328
346
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined) return false;
347
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined) return false;
348
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined) return false;
349
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined) return false;
329
350
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
330
351
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
331
352
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
@@ -375,6 +396,9 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
375
396
  'displayName': json['displayName'],
376
397
  'customDisplayName': json['customDisplayName'],
377
398
  'ownerDescription': json['ownerDescription'],
399
+ 'ownerDescriptions': json['ownerDescriptions'],
400
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
401
+ 'showOwnerDescription': json['showOwnerDescription'],
378
402
  'currencyCode': json['currencyCode'],
379
403
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
380
404
  'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
@@ -425,6 +449,9 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
425
449
  'displayName': value['displayName'],
426
450
  'customDisplayName': value['customDisplayName'],
427
451
  'ownerDescription': value['ownerDescription'],
452
+ 'ownerDescriptions': value['ownerDescriptions'],
453
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
454
+ 'showOwnerDescription': value['showOwnerDescription'],
428
455
  'currencyCode': value['currencyCode'],
429
456
  'buyNow': MoneyDtoToJSON(value['buyNow']),
430
457
  'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
@@ -149,11 +149,29 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
149
149
  */
150
150
  customDisplayName: string | null;
151
151
  /**
152
- * Owner's short description shown on the domain's landing page.
152
+ * Owner's short description shown on the domain's landing page, the same in every language.
153
153
  * @type {string}
154
154
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
155
155
  */
156
156
  ownerDescription: string | null;
157
+ /**
158
+ * Owner's short description by landing page locale (en-gb, nl-be, …).
159
+ * @type {{ [key: string]: string; }}
160
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
161
+ */
162
+ ownerDescriptions: { [key: string]: string; } | null;
163
+ /**
164
+ * Whether the landing page shows the owner's description by locale instead of the single one.
165
+ * @type {boolean}
166
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
167
+ */
168
+ ownerDescriptionByLocale: boolean;
169
+ /**
170
+ * Whether the domain's landing page shows the owner's description; null follows the account.
171
+ * @type {boolean}
172
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
173
+ */
174
+ showOwnerDescription: boolean | null;
157
175
  /**
158
176
  * ISO 4217 currency code used for domain pricing.
159
177
  * @type {string}
@@ -326,6 +344,9 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
326
344
  if (!('displayName' in value) || value['displayName'] === undefined) return false;
327
345
  if (!('customDisplayName' in value) || value['customDisplayName'] === undefined) return false;
328
346
  if (!('ownerDescription' in value) || value['ownerDescription'] === undefined) return false;
347
+ if (!('ownerDescriptions' in value) || value['ownerDescriptions'] === undefined) return false;
348
+ if (!('ownerDescriptionByLocale' in value) || value['ownerDescriptionByLocale'] === undefined) return false;
349
+ if (!('showOwnerDescription' in value) || value['showOwnerDescription'] === undefined) return false;
329
350
  if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
330
351
  if (!('buyNow' in value) || value['buyNow'] === undefined) return false;
331
352
  if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
@@ -375,6 +396,9 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
375
396
  'displayName': json['displayName'],
376
397
  'customDisplayName': json['customDisplayName'],
377
398
  'ownerDescription': json['ownerDescription'],
399
+ 'ownerDescriptions': json['ownerDescriptions'],
400
+ 'ownerDescriptionByLocale': json['ownerDescriptionByLocale'],
401
+ 'showOwnerDescription': json['showOwnerDescription'],
378
402
  'currencyCode': json['currencyCode'],
379
403
  'buyNow': MoneyDtoFromJSON(json['buyNow']),
380
404
  'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
@@ -425,6 +449,9 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
425
449
  'displayName': value['displayName'],
426
450
  'customDisplayName': value['customDisplayName'],
427
451
  'ownerDescription': value['ownerDescription'],
452
+ 'ownerDescriptions': value['ownerDescriptions'],
453
+ 'ownerDescriptionByLocale': value['ownerDescriptionByLocale'],
454
+ 'showOwnerDescription': value['showOwnerDescription'],
428
455
  'currencyCode': value['currencyCode'],
429
456
  'buyNow': MoneyDtoToJSON(value['buyNow']),
430
457
  'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),