@randock/nameshift-api-client 0.0.353 → 0.0.355

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 (69) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +3 -3
  3. package/dist/apis/AccountsApi.d.ts +75 -1
  4. package/dist/apis/AccountsApi.js +300 -1
  5. package/dist/apis/SubscriptionsPublicApi.d.ts +2 -2
  6. package/dist/apis/SubscriptionsPublicApi.js +5 -3
  7. package/dist/models/AccountPaymentDto.d.ts +100 -0
  8. package/dist/models/AccountPaymentDto.js +101 -0
  9. package/dist/models/AccountPaymentMethodDto.d.ts +80 -0
  10. package/dist/models/AccountPaymentMethodDto.js +83 -0
  11. package/dist/models/AccountPaymentMethodProfileDto.d.ts +71 -0
  12. package/dist/models/AccountPaymentMethodProfileDto.js +80 -0
  13. package/dist/models/AuctionConfigurationDto.d.ts +7 -0
  14. package/dist/models/AuctionConfigurationDto.js +5 -0
  15. package/dist/models/BuyerNotificationDto.d.ts +1 -0
  16. package/dist/models/BuyerNotificationDto.js +1 -0
  17. package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
  18. package/dist/models/BuyerNotificationListItemDto.js +1 -0
  19. package/dist/models/CreateAccountPaymentInput.d.ts +51 -0
  20. package/dist/models/CreateAccountPaymentInput.js +62 -0
  21. package/dist/models/CreateAccountPaymentManualTransactionInput.d.ts +58 -0
  22. package/dist/models/CreateAccountPaymentManualTransactionInput.js +65 -0
  23. package/dist/models/CreateSubscriptionManualTransactionInput.d.ts +32 -0
  24. package/dist/models/CreateSubscriptionManualTransactionInput.js +49 -0
  25. package/dist/models/DomainAuctionDto.d.ts +6 -0
  26. package/dist/models/DomainAuctionDto.js +4 -0
  27. package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
  28. package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
  29. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
  30. package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
  31. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
  32. package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
  33. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
  34. package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
  35. package/dist/models/PayAccountPaymentInput.d.ts +32 -0
  36. package/dist/models/PayAccountPaymentInput.js +51 -0
  37. package/dist/models/StartAuctionInput.d.ts +6 -13
  38. package/dist/models/StartAuctionInput.js +2 -5
  39. package/dist/models/UpdateAuctionConfigurationDto.d.ts +7 -0
  40. package/dist/models/UpdateAuctionConfigurationDto.js +3 -0
  41. package/dist/models/UserNotificationDto.d.ts +1 -0
  42. package/dist/models/UserNotificationDto.js +1 -0
  43. package/dist/models/UserNotificationListItemDto.d.ts +1 -0
  44. package/dist/models/UserNotificationListItemDto.js +1 -0
  45. package/dist/models/index.d.ts +7 -0
  46. package/dist/models/index.js +7 -0
  47. package/package.json +1 -1
  48. package/src/apis/AccountsApi.ts +319 -0
  49. package/src/apis/SubscriptionsPublicApi.ts +11 -5
  50. package/src/models/AccountPaymentDto.ts +189 -0
  51. package/src/models/AccountPaymentMethodDto.ts +138 -0
  52. package/src/models/AccountPaymentMethodProfileDto.ts +130 -0
  53. package/src/models/AuctionConfigurationDto.ts +16 -0
  54. package/src/models/BuyerNotificationDto.ts +1 -0
  55. package/src/models/BuyerNotificationListItemDto.ts +1 -0
  56. package/src/models/CreateAccountPaymentInput.ts +92 -0
  57. package/src/models/CreateAccountPaymentManualTransactionInput.ts +101 -0
  58. package/src/models/CreateSubscriptionManualTransactionInput.ts +65 -0
  59. package/src/models/DomainAuctionDto.ts +9 -0
  60. package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
  61. package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
  62. package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
  63. package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
  64. package/src/models/PayAccountPaymentInput.ts +66 -0
  65. package/src/models/StartAuctionInput.ts +8 -24
  66. package/src/models/UpdateAuctionConfigurationDto.ts +15 -0
  67. package/src/models/UserNotificationDto.ts +1 -0
  68. package/src/models/UserNotificationListItemDto.ts +1 -0
  69. package/src/models/index.ts +7 -0
@@ -0,0 +1,65 @@
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.CreateAccountPaymentManualTransactionInputGatewayEnum = void 0;
17
+ exports.instanceOfCreateAccountPaymentManualTransactionInput = instanceOfCreateAccountPaymentManualTransactionInput;
18
+ exports.CreateAccountPaymentManualTransactionInputFromJSON = CreateAccountPaymentManualTransactionInputFromJSON;
19
+ exports.CreateAccountPaymentManualTransactionInputFromJSONTyped = CreateAccountPaymentManualTransactionInputFromJSONTyped;
20
+ exports.CreateAccountPaymentManualTransactionInputToJSON = CreateAccountPaymentManualTransactionInputToJSON;
21
+ exports.CreateAccountPaymentManualTransactionInputToJSONTyped = CreateAccountPaymentManualTransactionInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateAccountPaymentManualTransactionInputGatewayEnum = {
26
+ COMMON: 'common',
27
+ CRYPTO: 'crypto'
28
+ };
29
+ /**
30
+ * Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
31
+ */
32
+ function instanceOfCreateAccountPaymentManualTransactionInput(value) {
33
+ if (!('paymentMethodType' in value) || value['paymentMethodType'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function CreateAccountPaymentManualTransactionInputFromJSON(json) {
38
+ return CreateAccountPaymentManualTransactionInputFromJSONTyped(json, false);
39
+ }
40
+ function CreateAccountPaymentManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'gateway': json['gateway'] == null ? undefined : json['gateway'],
46
+ 'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
47
+ 'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
48
+ 'paymentMethodType': json['paymentMethodType'],
49
+ };
50
+ }
51
+ function CreateAccountPaymentManualTransactionInputToJSON(json) {
52
+ return CreateAccountPaymentManualTransactionInputToJSONTyped(json, false);
53
+ }
54
+ function CreateAccountPaymentManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'gateway': value['gateway'],
61
+ 'successUrl': value['successUrl'],
62
+ 'cancelUrl': value['cancelUrl'],
63
+ 'paymentMethodType': value['paymentMethodType'],
64
+ };
65
+ }
@@ -0,0 +1,32 @@
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 CreateSubscriptionManualTransactionInput
16
+ */
17
+ export interface CreateSubscriptionManualTransactionInput {
18
+ /**
19
+ * Optional invoice ID. If not provided, the active buyer invoice will be used.
20
+ * @type {string}
21
+ * @memberof CreateSubscriptionManualTransactionInput
22
+ */
23
+ invoiceId?: string | null;
24
+ }
25
+ /**
26
+ * Check if a given object implements the CreateSubscriptionManualTransactionInput interface.
27
+ */
28
+ export declare function instanceOfCreateSubscriptionManualTransactionInput(value: object): value is CreateSubscriptionManualTransactionInput;
29
+ export declare function CreateSubscriptionManualTransactionInputFromJSON(json: any): CreateSubscriptionManualTransactionInput;
30
+ export declare function CreateSubscriptionManualTransactionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSubscriptionManualTransactionInput;
31
+ export declare function CreateSubscriptionManualTransactionInputToJSON(json: any): CreateSubscriptionManualTransactionInput;
32
+ export declare function CreateSubscriptionManualTransactionInputToJSONTyped(value?: CreateSubscriptionManualTransactionInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.instanceOfCreateSubscriptionManualTransactionInput = instanceOfCreateSubscriptionManualTransactionInput;
17
+ exports.CreateSubscriptionManualTransactionInputFromJSON = CreateSubscriptionManualTransactionInputFromJSON;
18
+ exports.CreateSubscriptionManualTransactionInputFromJSONTyped = CreateSubscriptionManualTransactionInputFromJSONTyped;
19
+ exports.CreateSubscriptionManualTransactionInputToJSON = CreateSubscriptionManualTransactionInputToJSON;
20
+ exports.CreateSubscriptionManualTransactionInputToJSONTyped = CreateSubscriptionManualTransactionInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateSubscriptionManualTransactionInput interface.
23
+ */
24
+ function instanceOfCreateSubscriptionManualTransactionInput(value) {
25
+ return true;
26
+ }
27
+ function CreateSubscriptionManualTransactionInputFromJSON(json) {
28
+ return CreateSubscriptionManualTransactionInputFromJSONTyped(json, false);
29
+ }
30
+ function CreateSubscriptionManualTransactionInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'invoiceId': json['invoiceId'] == null ? undefined : json['invoiceId'],
36
+ };
37
+ }
38
+ function CreateSubscriptionManualTransactionInputToJSON(json) {
39
+ return CreateSubscriptionManualTransactionInputToJSONTyped(json, false);
40
+ }
41
+ function CreateSubscriptionManualTransactionInputToJSONTyped(value, ignoreDiscriminator) {
42
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'invoiceId': value['invoiceId'],
48
+ };
49
+ }
@@ -58,6 +58,12 @@ export interface DomainAuctionDto {
58
58
  * @memberof DomainAuctionDto
59
59
  */
60
60
  status: DomainAuctionDtoStatusEnum;
61
+ /**
62
+ * The account payment id
63
+ * @type {object}
64
+ * @memberof DomainAuctionDto
65
+ */
66
+ accountPaymentId: object | null;
61
67
  }
62
68
  /**
63
69
  * @export
@@ -48,6 +48,8 @@ function instanceOfDomainAuctionDto(value) {
48
48
  return false;
49
49
  if (!('status' in value) || value['status'] === undefined)
50
50
  return false;
51
+ if (!('accountPaymentId' in value) || value['accountPaymentId'] === undefined)
52
+ return false;
51
53
  return true;
52
54
  }
53
55
  function DomainAuctionDtoFromJSON(json) {
@@ -65,6 +67,7 @@ function DomainAuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
65
67
  'endDate': (new Date(json['endDate'])),
66
68
  'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
67
69
  'status': json['status'],
70
+ 'accountPaymentId': json['accountPaymentId'],
68
71
  };
69
72
  }
70
73
  function DomainAuctionDtoToJSON(json) {
@@ -83,5 +86,6 @@ function DomainAuctionDtoToJSONTyped(value, ignoreDiscriminator) {
83
86
  'endDate': ((value['endDate']).toISOString()),
84
87
  'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
85
88
  'status': value['status'],
89
+ 'accountPaymentId': value['accountPaymentId'],
86
90
  };
87
91
  }
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithAccountDto {
143
143
  * @memberof IntersectionDomainDtoWithAccountDto
144
144
  */
145
145
  auction: DomainAuctionDto | null;
146
+ /**
147
+ * The paid auction price
148
+ * @type {MoneyDto}
149
+ * @memberof IntersectionDomainDtoWithAccountDto
150
+ */
151
+ paidAuctionPrice: MoneyDto;
146
152
  /**
147
153
  * Whether the domain has an open lead
148
154
  * @type {boolean}
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
69
69
  return false;
70
70
  if (!('auction' in value) || value['auction'] === undefined)
71
71
  return false;
72
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
73
+ return false;
72
74
  if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
73
75
  return false;
74
76
  if (!('account' in value) || value['account'] === undefined)
@@ -103,6 +105,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
103
105
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
104
106
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
105
107
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
108
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
106
109
  'hasAcceptedLead': json['hasAcceptedLead'],
107
110
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
108
111
  };
@@ -136,6 +139,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
136
139
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
137
140
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
138
141
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
142
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
139
143
  'hasAcceptedLead': value['hasAcceptedLead'],
140
144
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
141
145
  };
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
143
143
  * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
144
144
  */
145
145
  auction: DomainAuctionDto | null;
146
+ /**
147
+ * The paid auction price
148
+ * @type {MoneyDto}
149
+ * @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
150
+ */
151
+ paidAuctionPrice: MoneyDto;
146
152
  /**
147
153
  * Whether the domain has an open lead
148
154
  * @type {boolean}
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
69
69
  return false;
70
70
  if (!('auction' in value) || value['auction'] === undefined)
71
71
  return false;
72
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
73
+ return false;
72
74
  if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
73
75
  return false;
74
76
  if (!('account' in value) || value['account'] === undefined)
@@ -105,6 +107,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
105
107
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
106
108
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
107
109
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
110
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
108
111
  'hasAcceptedLead': json['hasAcceptedLead'],
109
112
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
110
113
  'hasAuction': json['hasAuction'],
@@ -139,6 +142,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
139
142
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
140
143
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
141
144
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
145
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
142
146
  'hasAcceptedLead': value['hasAcceptedLead'],
143
147
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
144
148
  'hasAuction': value['hasAuction'],
@@ -143,6 +143,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
143
143
  * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
144
144
  */
145
145
  auction: DomainAuctionDto | null;
146
+ /**
147
+ * The paid auction price
148
+ * @type {MoneyDto}
149
+ * @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
150
+ */
151
+ paidAuctionPrice: MoneyDto;
146
152
  /**
147
153
  * Whether the domain has an open lead
148
154
  * @type {boolean}
@@ -69,6 +69,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
69
69
  return false;
70
70
  if (!('auction' in value) || value['auction'] === undefined)
71
71
  return false;
72
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
73
+ return false;
72
74
  if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
73
75
  return false;
74
76
  if (!('hijacker' in value) || value['hijacker'] === undefined)
@@ -105,6 +107,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
105
107
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
106
108
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
107
109
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
110
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
108
111
  'hasAcceptedLead': json['hasAcceptedLead'],
109
112
  'hijacker': (0, AccountDto_1.AccountDtoFromJSON)(json['hijacker']),
110
113
  'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
@@ -139,6 +142,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
139
142
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
140
143
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
141
144
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
145
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
142
146
  'hasAcceptedLead': value['hasAcceptedLead'],
143
147
  'hijacker': (0, AccountDto_1.AccountDtoToJSON)(value['hijacker']),
144
148
  'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
@@ -149,6 +149,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
149
149
  * @memberof IntersectionDomainDtoWithSeoMetricsDto
150
150
  */
151
151
  auction: DomainAuctionDto | null;
152
+ /**
153
+ * The paid auction price
154
+ * @type {MoneyDto}
155
+ * @memberof IntersectionDomainDtoWithSeoMetricsDto
156
+ */
157
+ paidAuctionPrice: MoneyDto;
152
158
  /**
153
159
  * Whether the domain has an open lead
154
160
  * @type {boolean}
@@ -71,6 +71,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
71
71
  return false;
72
72
  if (!('auction' in value) || value['auction'] === undefined)
73
73
  return false;
74
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
75
+ return false;
74
76
  if (!('hasAcceptedLead' in value) || value['hasAcceptedLead'] === undefined)
75
77
  return false;
76
78
  return true;
@@ -104,6 +106,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
104
106
  'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
105
107
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
106
108
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
109
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
107
110
  'hasAcceptedLead': json['hasAcceptedLead'],
108
111
  };
109
112
  }
@@ -137,6 +140,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
137
140
  'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
138
141
  'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
139
142
  'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
143
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
140
144
  'hasAcceptedLead': value['hasAcceptedLead'],
141
145
  };
142
146
  }
@@ -0,0 +1,32 @@
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 PayAccountPaymentInput
16
+ */
17
+ export interface PayAccountPaymentInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PayAccountPaymentInput
22
+ */
23
+ paymentMethodId: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PayAccountPaymentInput interface.
27
+ */
28
+ export declare function instanceOfPayAccountPaymentInput(value: object): value is PayAccountPaymentInput;
29
+ export declare function PayAccountPaymentInputFromJSON(json: any): PayAccountPaymentInput;
30
+ export declare function PayAccountPaymentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PayAccountPaymentInput;
31
+ export declare function PayAccountPaymentInputToJSON(json: any): PayAccountPaymentInput;
32
+ export declare function PayAccountPaymentInputToJSONTyped(value?: PayAccountPaymentInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfPayAccountPaymentInput = instanceOfPayAccountPaymentInput;
17
+ exports.PayAccountPaymentInputFromJSON = PayAccountPaymentInputFromJSON;
18
+ exports.PayAccountPaymentInputFromJSONTyped = PayAccountPaymentInputFromJSONTyped;
19
+ exports.PayAccountPaymentInputToJSON = PayAccountPaymentInputToJSON;
20
+ exports.PayAccountPaymentInputToJSONTyped = PayAccountPaymentInputToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PayAccountPaymentInput interface.
23
+ */
24
+ function instanceOfPayAccountPaymentInput(value) {
25
+ if (!('paymentMethodId' in value) || value['paymentMethodId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PayAccountPaymentInputFromJSON(json) {
30
+ return PayAccountPaymentInputFromJSONTyped(json, false);
31
+ }
32
+ function PayAccountPaymentInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'paymentMethodId': json['paymentMethodId'],
38
+ };
39
+ }
40
+ function PayAccountPaymentInputToJSON(json) {
41
+ return PayAccountPaymentInputToJSONTyped(json, false);
42
+ }
43
+ function PayAccountPaymentInputToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'paymentMethodId': value['paymentMethodId'],
50
+ };
51
+ }
@@ -9,25 +9,12 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MoneyInput } from './MoneyInput';
13
12
  /**
14
13
  *
15
14
  * @export
16
15
  * @interface StartAuctionInput
17
16
  */
18
17
  export interface StartAuctionInput {
19
- /**
20
- * Minimum bid amount
21
- * @type {MoneyInput}
22
- * @memberof StartAuctionInput
23
- */
24
- minimumBid?: MoneyInput;
25
- /**
26
- * Reserve price (optional)
27
- * @type {MoneyInput}
28
- * @memberof StartAuctionInput
29
- */
30
- reservePrice?: MoneyInput;
31
18
  /**
32
19
  * Auction start date
33
20
  * @type {string}
@@ -40,6 +27,12 @@ export interface StartAuctionInput {
40
27
  * @memberof StartAuctionInput
41
28
  */
42
29
  endDate: string;
30
+ /**
31
+ * Initial bid amount in the smallest currency unit (e.g., cents for EUR)
32
+ * @type {number}
33
+ * @memberof StartAuctionInput
34
+ */
35
+ initialBidAmount?: number;
43
36
  }
44
37
  /**
45
38
  * Check if a given object implements the StartAuctionInput interface.
@@ -18,7 +18,6 @@ exports.StartAuctionInputFromJSON = StartAuctionInputFromJSON;
18
18
  exports.StartAuctionInputFromJSONTyped = StartAuctionInputFromJSONTyped;
19
19
  exports.StartAuctionInputToJSON = StartAuctionInputToJSON;
20
20
  exports.StartAuctionInputToJSONTyped = StartAuctionInputToJSONTyped;
21
- var MoneyInput_1 = require("./MoneyInput");
22
21
  /**
23
22
  * Check if a given object implements the StartAuctionInput interface.
24
23
  */
@@ -37,10 +36,9 @@ function StartAuctionInputFromJSONTyped(json, ignoreDiscriminator) {
37
36
  return json;
38
37
  }
39
38
  return {
40
- 'minimumBid': json['minimumBid'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['minimumBid']),
41
- 'reservePrice': json['reservePrice'] == null ? undefined : (0, MoneyInput_1.MoneyInputFromJSON)(json['reservePrice']),
42
39
  'startDate': json['startDate'],
43
40
  'endDate': json['endDate'],
41
+ 'initialBidAmount': json['initialBidAmount'] == null ? undefined : json['initialBidAmount'],
44
42
  };
45
43
  }
46
44
  function StartAuctionInputToJSON(json) {
@@ -52,9 +50,8 @@ function StartAuctionInputToJSONTyped(value, ignoreDiscriminator) {
52
50
  return value;
53
51
  }
54
52
  return {
55
- 'minimumBid': (0, MoneyInput_1.MoneyInputToJSON)(value['minimumBid']),
56
- 'reservePrice': (0, MoneyInput_1.MoneyInputToJSON)(value['reservePrice']),
57
53
  'startDate': value['startDate'],
58
54
  'endDate': value['endDate'],
55
+ 'initialBidAmount': value['initialBidAmount'],
59
56
  };
60
57
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { AuctionDurationDto } from './AuctionDurationDto';
13
+ import type { MoneyDto } from './MoneyDto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -28,6 +29,12 @@ export interface UpdateAuctionConfigurationDto {
28
29
  * @memberof UpdateAuctionConfigurationDto
29
30
  */
30
31
  defaultInitialBidAmount?: number;
32
+ /**
33
+ *
34
+ * @type {MoneyDto}
35
+ * @memberof UpdateAuctionConfigurationDto
36
+ */
37
+ paidAuctionPrice?: MoneyDto;
31
38
  }
32
39
  /**
33
40
  * Check if a given object implements the UpdateAuctionConfigurationDto interface.
@@ -19,6 +19,7 @@ exports.UpdateAuctionConfigurationDtoFromJSONTyped = UpdateAuctionConfigurationD
19
19
  exports.UpdateAuctionConfigurationDtoToJSON = UpdateAuctionConfigurationDtoToJSON;
20
20
  exports.UpdateAuctionConfigurationDtoToJSONTyped = UpdateAuctionConfigurationDtoToJSONTyped;
21
21
  var AuctionDurationDto_1 = require("./AuctionDurationDto");
22
+ var MoneyDto_1 = require("./MoneyDto");
22
23
  /**
23
24
  * Check if a given object implements the UpdateAuctionConfigurationDto interface.
24
25
  */
@@ -35,6 +36,7 @@ function UpdateAuctionConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
35
36
  return {
36
37
  'defaultDurationFromLead': json['defaultDurationFromLead'] == null ? undefined : (0, AuctionDurationDto_1.AuctionDurationDtoFromJSON)(json['defaultDurationFromLead']),
37
38
  'defaultInitialBidAmount': json['defaultInitialBidAmount'] == null ? undefined : json['defaultInitialBidAmount'],
39
+ 'paidAuctionPrice': json['paidAuctionPrice'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
38
40
  };
39
41
  }
40
42
  function UpdateAuctionConfigurationDtoToJSON(json) {
@@ -48,5 +50,6 @@ function UpdateAuctionConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
48
50
  return {
49
51
  'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoToJSON)(value['defaultDurationFromLead']),
50
52
  'defaultInitialBidAmount': value['defaultInitialBidAmount'],
53
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
51
54
  };
52
55
  }
@@ -122,6 +122,7 @@ export declare const UserNotificationDtoTypeEnum: {
122
122
  readonly LEAD_CLOSED_SELLER: "lead.closed.seller";
123
123
  readonly SELLER_PAYOUT_WAS_PAID: "seller_payout_was_paid";
124
124
  readonly SELLER_INVOICE: "seller_invoice";
125
+ readonly SELLER_ACCOUNT_PAYMENT_INVOICE: "seller_account_payment_invoice";
125
126
  readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
126
127
  readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
127
128
  readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
@@ -83,6 +83,7 @@ exports.UserNotificationDtoTypeEnum = {
83
83
  LEAD_CLOSED_SELLER: 'lead.closed.seller',
84
84
  SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
85
85
  SELLER_INVOICE: 'seller_invoice',
86
+ SELLER_ACCOUNT_PAYMENT_INVOICE: 'seller_account_payment_invoice',
86
87
  SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
87
88
  SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
88
89
  AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
@@ -115,6 +115,7 @@ export declare const UserNotificationListItemDtoTypeEnum: {
115
115
  readonly LEAD_CLOSED_SELLER: "lead.closed.seller";
116
116
  readonly SELLER_PAYOUT_WAS_PAID: "seller_payout_was_paid";
117
117
  readonly SELLER_INVOICE: "seller_invoice";
118
+ readonly SELLER_ACCOUNT_PAYMENT_INVOICE: "seller_account_payment_invoice";
118
119
  readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
119
120
  readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
120
121
  readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
@@ -82,6 +82,7 @@ exports.UserNotificationListItemDtoTypeEnum = {
82
82
  LEAD_CLOSED_SELLER: 'lead.closed.seller',
83
83
  SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
84
84
  SELLER_INVOICE: 'seller_invoice',
85
+ SELLER_ACCOUNT_PAYMENT_INVOICE: 'seller_account_payment_invoice',
85
86
  SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
86
87
  SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
87
88
  AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
@@ -9,6 +9,9 @@ export * from './AccountNotificationDto';
9
9
  export * from './AccountNotificationReadStatusDto';
10
10
  export * from './AccountOnboardingDto';
11
11
  export * from './AccountOnboardingSessionDto';
12
+ export * from './AccountPaymentDto';
13
+ export * from './AccountPaymentMethodDto';
14
+ export * from './AccountPaymentMethodProfileDto';
12
15
  export * from './AccountPayoutDto';
13
16
  export * from './AccountSettingsAffiliateCommissionDto';
14
17
  export * from './AccountSettingsAffiliateCommissionReferralDuration';
@@ -94,6 +97,8 @@ export * from './CompanyInformationDto';
94
97
  export * from './CompanyTaxIdDto';
95
98
  export * from './ConcreteDomainTransferTaskData';
96
99
  export * from './ConflictException';
100
+ export * from './CreateAccountPaymentInput';
101
+ export * from './CreateAccountPaymentManualTransactionInput';
97
102
  export * from './CreateBankAccountInput';
98
103
  export * from './CreateBuyerLeadMessageInput';
99
104
  export * from './CreateLeadInput';
@@ -103,6 +108,7 @@ export * from './CreateManualTransactionInput';
103
108
  export * from './CreateOrderInput';
104
109
  export * from './CreateSubscriptionBillingPeriodicityInput';
105
110
  export * from './CreateSubscriptionInput';
111
+ export * from './CreateSubscriptionManualTransactionInput';
106
112
  export * from './CursorBasedPageInfo';
107
113
  export * from './CursorBasedPaginationResponse';
108
114
  export * from './DeleteDomainsInput';
@@ -239,6 +245,7 @@ export * from './PaginateResponseLinks';
239
245
  export * from './PaginateResponseMeta';
240
246
  export * from './ParsedDomainDto';
241
247
  export * from './PartnerAuctionDto';
248
+ export * from './PayAccountPaymentInput';
242
249
  export * from './PrivateAccountGetMeResponse';
243
250
  export * from './PublicAccountInformationDto';
244
251
  export * from './PublicAuctionListItemDto';
@@ -27,6 +27,9 @@ __exportStar(require("./AccountNotificationDto"), exports);
27
27
  __exportStar(require("./AccountNotificationReadStatusDto"), exports);
28
28
  __exportStar(require("./AccountOnboardingDto"), exports);
29
29
  __exportStar(require("./AccountOnboardingSessionDto"), exports);
30
+ __exportStar(require("./AccountPaymentDto"), exports);
31
+ __exportStar(require("./AccountPaymentMethodDto"), exports);
32
+ __exportStar(require("./AccountPaymentMethodProfileDto"), exports);
30
33
  __exportStar(require("./AccountPayoutDto"), exports);
31
34
  __exportStar(require("./AccountSettingsAffiliateCommissionDto"), exports);
32
35
  __exportStar(require("./AccountSettingsAffiliateCommissionReferralDuration"), exports);
@@ -112,6 +115,8 @@ __exportStar(require("./CompanyInformationDto"), exports);
112
115
  __exportStar(require("./CompanyTaxIdDto"), exports);
113
116
  __exportStar(require("./ConcreteDomainTransferTaskData"), exports);
114
117
  __exportStar(require("./ConflictException"), exports);
118
+ __exportStar(require("./CreateAccountPaymentInput"), exports);
119
+ __exportStar(require("./CreateAccountPaymentManualTransactionInput"), exports);
115
120
  __exportStar(require("./CreateBankAccountInput"), exports);
116
121
  __exportStar(require("./CreateBuyerLeadMessageInput"), exports);
117
122
  __exportStar(require("./CreateLeadInput"), exports);
@@ -121,6 +126,7 @@ __exportStar(require("./CreateManualTransactionInput"), exports);
121
126
  __exportStar(require("./CreateOrderInput"), exports);
122
127
  __exportStar(require("./CreateSubscriptionBillingPeriodicityInput"), exports);
123
128
  __exportStar(require("./CreateSubscriptionInput"), exports);
129
+ __exportStar(require("./CreateSubscriptionManualTransactionInput"), exports);
124
130
  __exportStar(require("./CursorBasedPageInfo"), exports);
125
131
  __exportStar(require("./CursorBasedPaginationResponse"), exports);
126
132
  __exportStar(require("./DeleteDomainsInput"), exports);
@@ -257,6 +263,7 @@ __exportStar(require("./PaginateResponseLinks"), exports);
257
263
  __exportStar(require("./PaginateResponseMeta"), exports);
258
264
  __exportStar(require("./ParsedDomainDto"), exports);
259
265
  __exportStar(require("./PartnerAuctionDto"), exports);
266
+ __exportStar(require("./PayAccountPaymentInput"), exports);
260
267
  __exportStar(require("./PrivateAccountGetMeResponse"), exports);
261
268
  __exportStar(require("./PublicAccountInformationDto"), exports);
262
269
  __exportStar(require("./PublicAuctionListItemDto"), exports);