@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,101 @@
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.AccountPaymentDtoStatusEnum = void 0;
17
+ exports.instanceOfAccountPaymentDto = instanceOfAccountPaymentDto;
18
+ exports.AccountPaymentDtoFromJSON = AccountPaymentDtoFromJSON;
19
+ exports.AccountPaymentDtoFromJSONTyped = AccountPaymentDtoFromJSONTyped;
20
+ exports.AccountPaymentDtoToJSON = AccountPaymentDtoToJSON;
21
+ exports.AccountPaymentDtoToJSONTyped = AccountPaymentDtoToJSONTyped;
22
+ var AccountPaymentMethodProfileDto_1 = require("./AccountPaymentMethodProfileDto");
23
+ var InvoiceItemDto_1 = require("./InvoiceItemDto");
24
+ var InvoiceTransactionDto_1 = require("./InvoiceTransactionDto");
25
+ var MoneyDto_1 = require("./MoneyDto");
26
+ /**
27
+ * @export
28
+ */
29
+ exports.AccountPaymentDtoStatusEnum = {
30
+ DRAFT: 'draft',
31
+ PENDING_PAYMENT: 'pending_payment',
32
+ PAID: 'paid',
33
+ CANCELLED: 'cancelled'
34
+ };
35
+ /**
36
+ * Check if a given object implements the AccountPaymentDto interface.
37
+ */
38
+ function instanceOfAccountPaymentDto(value) {
39
+ if (!('id' in value) || value['id'] === undefined)
40
+ return false;
41
+ if (!('status' in value) || value['status'] === undefined)
42
+ return false;
43
+ if (!('paymentMethodProfiles' in value) || value['paymentMethodProfiles'] === undefined)
44
+ return false;
45
+ if (!('basePrice' in value) || value['basePrice'] === undefined)
46
+ return false;
47
+ if (!('totalPrice' in value) || value['totalPrice'] === undefined)
48
+ return false;
49
+ if (!('totalTaxPrice' in value) || value['totalTaxPrice'] === undefined)
50
+ return false;
51
+ if (!('items' in value) || value['items'] === undefined)
52
+ return false;
53
+ if (!('allowedPaymentMethods' in value) || value['allowedPaymentMethods'] === undefined)
54
+ return false;
55
+ if (!('transaction' in value) || value['transaction'] === undefined)
56
+ return false;
57
+ if (!('hasPendingTransaction' in value) || value['hasPendingTransaction'] === undefined)
58
+ return false;
59
+ return true;
60
+ }
61
+ function AccountPaymentDtoFromJSON(json) {
62
+ return AccountPaymentDtoFromJSONTyped(json, false);
63
+ }
64
+ function AccountPaymentDtoFromJSONTyped(json, ignoreDiscriminator) {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+ 'id': json['id'],
70
+ 'status': json['status'],
71
+ 'paymentMethodProfiles': (json['paymentMethodProfiles'].map(AccountPaymentMethodProfileDto_1.AccountPaymentMethodProfileDtoFromJSON)),
72
+ 'basePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['basePrice']),
73
+ 'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
74
+ 'totalTaxPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalTaxPrice']),
75
+ 'items': (json['items'].map(InvoiceItemDto_1.InvoiceItemDtoFromJSON)),
76
+ 'allowedPaymentMethods': json['allowedPaymentMethods'],
77
+ 'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoFromJSON)(json['transaction']),
78
+ 'hasPendingTransaction': json['hasPendingTransaction'],
79
+ };
80
+ }
81
+ function AccountPaymentDtoToJSON(json) {
82
+ return AccountPaymentDtoToJSONTyped(json, false);
83
+ }
84
+ function AccountPaymentDtoToJSONTyped(value, ignoreDiscriminator) {
85
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+ return {
90
+ 'id': value['id'],
91
+ 'status': value['status'],
92
+ 'paymentMethodProfiles': (value['paymentMethodProfiles'].map(AccountPaymentMethodProfileDto_1.AccountPaymentMethodProfileDtoToJSON)),
93
+ 'basePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['basePrice']),
94
+ 'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
95
+ 'totalTaxPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalTaxPrice']),
96
+ 'items': (value['items'].map(InvoiceItemDto_1.InvoiceItemDtoToJSON)),
97
+ 'allowedPaymentMethods': value['allowedPaymentMethods'],
98
+ 'transaction': (0, InvoiceTransactionDto_1.InvoiceTransactionDtoToJSON)(value['transaction']),
99
+ 'hasPendingTransaction': value['hasPendingTransaction'],
100
+ };
101
+ }
@@ -0,0 +1,80 @@
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 AccountPaymentMethodDto
16
+ */
17
+ export interface AccountPaymentMethodDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof AccountPaymentMethodDto
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof AccountPaymentMethodDto
28
+ */
29
+ gatewayId: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof AccountPaymentMethodDto
34
+ */
35
+ createdAt: Date;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof AccountPaymentMethodDto
40
+ */
41
+ updatedAt: Date;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AccountPaymentMethodDto
46
+ */
47
+ lastFourDigits: string;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof AccountPaymentMethodDto
52
+ */
53
+ expirationYear: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof AccountPaymentMethodDto
58
+ */
59
+ expirationMonth: number;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof AccountPaymentMethodDto
64
+ */
65
+ country: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof AccountPaymentMethodDto
70
+ */
71
+ brand: string;
72
+ }
73
+ /**
74
+ * Check if a given object implements the AccountPaymentMethodDto interface.
75
+ */
76
+ export declare function instanceOfAccountPaymentMethodDto(value: object): value is AccountPaymentMethodDto;
77
+ export declare function AccountPaymentMethodDtoFromJSON(json: any): AccountPaymentMethodDto;
78
+ export declare function AccountPaymentMethodDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountPaymentMethodDto;
79
+ export declare function AccountPaymentMethodDtoToJSON(json: any): AccountPaymentMethodDto;
80
+ export declare function AccountPaymentMethodDtoToJSONTyped(value?: AccountPaymentMethodDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,83 @@
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.instanceOfAccountPaymentMethodDto = instanceOfAccountPaymentMethodDto;
17
+ exports.AccountPaymentMethodDtoFromJSON = AccountPaymentMethodDtoFromJSON;
18
+ exports.AccountPaymentMethodDtoFromJSONTyped = AccountPaymentMethodDtoFromJSONTyped;
19
+ exports.AccountPaymentMethodDtoToJSON = AccountPaymentMethodDtoToJSON;
20
+ exports.AccountPaymentMethodDtoToJSONTyped = AccountPaymentMethodDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AccountPaymentMethodDto interface.
23
+ */
24
+ function instanceOfAccountPaymentMethodDto(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('gatewayId' in value) || value['gatewayId'] === undefined)
28
+ return false;
29
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
30
+ return false;
31
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
32
+ return false;
33
+ if (!('lastFourDigits' in value) || value['lastFourDigits'] === undefined)
34
+ return false;
35
+ if (!('expirationYear' in value) || value['expirationYear'] === undefined)
36
+ return false;
37
+ if (!('expirationMonth' in value) || value['expirationMonth'] === undefined)
38
+ return false;
39
+ if (!('country' in value) || value['country'] === undefined)
40
+ return false;
41
+ if (!('brand' in value) || value['brand'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function AccountPaymentMethodDtoFromJSON(json) {
46
+ return AccountPaymentMethodDtoFromJSONTyped(json, false);
47
+ }
48
+ function AccountPaymentMethodDtoFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'id': json['id'],
54
+ 'gatewayId': json['gatewayId'],
55
+ 'createdAt': (new Date(json['createdAt'])),
56
+ 'updatedAt': (new Date(json['updatedAt'])),
57
+ 'lastFourDigits': json['lastFourDigits'],
58
+ 'expirationYear': json['expirationYear'],
59
+ 'expirationMonth': json['expirationMonth'],
60
+ 'country': json['country'],
61
+ 'brand': json['brand'],
62
+ };
63
+ }
64
+ function AccountPaymentMethodDtoToJSON(json) {
65
+ return AccountPaymentMethodDtoToJSONTyped(json, false);
66
+ }
67
+ function AccountPaymentMethodDtoToJSONTyped(value, ignoreDiscriminator) {
68
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'id': value['id'],
74
+ 'gatewayId': value['gatewayId'],
75
+ 'createdAt': ((value['createdAt']).toISOString()),
76
+ 'updatedAt': ((value['updatedAt']).toISOString()),
77
+ 'lastFourDigits': value['lastFourDigits'],
78
+ 'expirationYear': value['expirationYear'],
79
+ 'expirationMonth': value['expirationMonth'],
80
+ 'country': value['country'],
81
+ 'brand': value['brand'],
82
+ };
83
+ }
@@ -0,0 +1,71 @@
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 { AccountPaymentMethodDto } from './AccountPaymentMethodDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface AccountPaymentMethodProfileDto
17
+ */
18
+ export interface AccountPaymentMethodProfileDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof AccountPaymentMethodProfileDto
23
+ */
24
+ id: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof AccountPaymentMethodProfileDto
29
+ */
30
+ gateway: AccountPaymentMethodProfileDtoGatewayEnum;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof AccountPaymentMethodProfileDto
35
+ */
36
+ gatewayId: string;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof AccountPaymentMethodProfileDto
41
+ */
42
+ createdAt: Date;
43
+ /**
44
+ *
45
+ * @type {Date}
46
+ * @memberof AccountPaymentMethodProfileDto
47
+ */
48
+ updatedAt: Date;
49
+ /**
50
+ *
51
+ * @type {Array<AccountPaymentMethodDto>}
52
+ * @memberof AccountPaymentMethodProfileDto
53
+ */
54
+ paymentMethods: Array<AccountPaymentMethodDto>;
55
+ }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const AccountPaymentMethodProfileDtoGatewayEnum: {
60
+ readonly STRIPE: "stripe";
61
+ readonly NICKY: "nicky";
62
+ };
63
+ export type AccountPaymentMethodProfileDtoGatewayEnum = typeof AccountPaymentMethodProfileDtoGatewayEnum[keyof typeof AccountPaymentMethodProfileDtoGatewayEnum];
64
+ /**
65
+ * Check if a given object implements the AccountPaymentMethodProfileDto interface.
66
+ */
67
+ export declare function instanceOfAccountPaymentMethodProfileDto(value: object): value is AccountPaymentMethodProfileDto;
68
+ export declare function AccountPaymentMethodProfileDtoFromJSON(json: any): AccountPaymentMethodProfileDto;
69
+ export declare function AccountPaymentMethodProfileDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountPaymentMethodProfileDto;
70
+ export declare function AccountPaymentMethodProfileDtoToJSON(json: any): AccountPaymentMethodProfileDto;
71
+ export declare function AccountPaymentMethodProfileDtoToJSONTyped(value?: AccountPaymentMethodProfileDto | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,80 @@
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.AccountPaymentMethodProfileDtoGatewayEnum = void 0;
17
+ exports.instanceOfAccountPaymentMethodProfileDto = instanceOfAccountPaymentMethodProfileDto;
18
+ exports.AccountPaymentMethodProfileDtoFromJSON = AccountPaymentMethodProfileDtoFromJSON;
19
+ exports.AccountPaymentMethodProfileDtoFromJSONTyped = AccountPaymentMethodProfileDtoFromJSONTyped;
20
+ exports.AccountPaymentMethodProfileDtoToJSON = AccountPaymentMethodProfileDtoToJSON;
21
+ exports.AccountPaymentMethodProfileDtoToJSONTyped = AccountPaymentMethodProfileDtoToJSONTyped;
22
+ var AccountPaymentMethodDto_1 = require("./AccountPaymentMethodDto");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.AccountPaymentMethodProfileDtoGatewayEnum = {
27
+ STRIPE: 'stripe',
28
+ NICKY: 'nicky'
29
+ };
30
+ /**
31
+ * Check if a given object implements the AccountPaymentMethodProfileDto interface.
32
+ */
33
+ function instanceOfAccountPaymentMethodProfileDto(value) {
34
+ if (!('id' in value) || value['id'] === undefined)
35
+ return false;
36
+ if (!('gateway' in value) || value['gateway'] === undefined)
37
+ return false;
38
+ if (!('gatewayId' in value) || value['gatewayId'] === undefined)
39
+ return false;
40
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
41
+ return false;
42
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
43
+ return false;
44
+ if (!('paymentMethods' in value) || value['paymentMethods'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function AccountPaymentMethodProfileDtoFromJSON(json) {
49
+ return AccountPaymentMethodProfileDtoFromJSONTyped(json, false);
50
+ }
51
+ function AccountPaymentMethodProfileDtoFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'],
57
+ 'gateway': json['gateway'],
58
+ 'gatewayId': json['gatewayId'],
59
+ 'createdAt': (new Date(json['createdAt'])),
60
+ 'updatedAt': (new Date(json['updatedAt'])),
61
+ 'paymentMethods': (json['paymentMethods'].map(AccountPaymentMethodDto_1.AccountPaymentMethodDtoFromJSON)),
62
+ };
63
+ }
64
+ function AccountPaymentMethodProfileDtoToJSON(json) {
65
+ return AccountPaymentMethodProfileDtoToJSONTyped(json, false);
66
+ }
67
+ function AccountPaymentMethodProfileDtoToJSONTyped(value, ignoreDiscriminator) {
68
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'id': value['id'],
74
+ 'gateway': value['gateway'],
75
+ 'gatewayId': value['gatewayId'],
76
+ 'createdAt': ((value['createdAt']).toISOString()),
77
+ 'updatedAt': ((value['updatedAt']).toISOString()),
78
+ 'paymentMethods': (value['paymentMethods'].map(AccountPaymentMethodDto_1.AccountPaymentMethodDtoToJSON)),
79
+ };
80
+ }
@@ -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 AuctionConfigurationDto {
28
29
  * @memberof AuctionConfigurationDto
29
30
  */
30
31
  defaultInitialBidAmount: number;
32
+ /**
33
+ *
34
+ * @type {MoneyDto}
35
+ * @memberof AuctionConfigurationDto
36
+ */
37
+ paidAuctionPrice: MoneyDto;
31
38
  }
32
39
  /**
33
40
  * Check if a given object implements the AuctionConfigurationDto interface.
@@ -19,6 +19,7 @@ exports.AuctionConfigurationDtoFromJSONTyped = AuctionConfigurationDtoFromJSONTy
19
19
  exports.AuctionConfigurationDtoToJSON = AuctionConfigurationDtoToJSON;
20
20
  exports.AuctionConfigurationDtoToJSONTyped = AuctionConfigurationDtoToJSONTyped;
21
21
  var AuctionDurationDto_1 = require("./AuctionDurationDto");
22
+ var MoneyDto_1 = require("./MoneyDto");
22
23
  /**
23
24
  * Check if a given object implements the AuctionConfigurationDto interface.
24
25
  */
@@ -27,6 +28,8 @@ function instanceOfAuctionConfigurationDto(value) {
27
28
  return false;
28
29
  if (!('defaultInitialBidAmount' in value) || value['defaultInitialBidAmount'] === undefined)
29
30
  return false;
31
+ if (!('paidAuctionPrice' in value) || value['paidAuctionPrice'] === undefined)
32
+ return false;
30
33
  return true;
31
34
  }
32
35
  function AuctionConfigurationDtoFromJSON(json) {
@@ -39,6 +42,7 @@ function AuctionConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
39
42
  return {
40
43
  'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoFromJSON)(json['defaultDurationFromLead']),
41
44
  'defaultInitialBidAmount': json['defaultInitialBidAmount'],
45
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['paidAuctionPrice']),
42
46
  };
43
47
  }
44
48
  function AuctionConfigurationDtoToJSON(json) {
@@ -52,5 +56,6 @@ function AuctionConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
52
56
  return {
53
57
  'defaultDurationFromLead': (0, AuctionDurationDto_1.AuctionDurationDtoToJSON)(value['defaultDurationFromLead']),
54
58
  'defaultInitialBidAmount': value['defaultInitialBidAmount'],
59
+ 'paidAuctionPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['paidAuctionPrice']),
55
60
  };
56
61
  }
@@ -122,6 +122,7 @@ export declare const BuyerNotificationDtoTypeEnum: {
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.BuyerNotificationDtoTypeEnum = {
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 BuyerNotificationListItemDtoTypeEnum: {
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.BuyerNotificationListItemDtoTypeEnum = {
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',
@@ -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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateAccountPaymentInput
16
+ */
17
+ export interface CreateAccountPaymentInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateAccountPaymentInput
22
+ */
23
+ type: CreateAccountPaymentInputTypeEnum;
24
+ /**
25
+ * ID of the object this payment is for
26
+ * @type {string}
27
+ * @memberof CreateAccountPaymentInput
28
+ */
29
+ domainId?: string | null;
30
+ /**
31
+ * Additional payment data
32
+ * @type {object}
33
+ * @memberof CreateAccountPaymentInput
34
+ */
35
+ payload?: object;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const CreateAccountPaymentInputTypeEnum: {
41
+ readonly PAID_AUCTION: "PAID_AUCTION";
42
+ };
43
+ export type CreateAccountPaymentInputTypeEnum = typeof CreateAccountPaymentInputTypeEnum[keyof typeof CreateAccountPaymentInputTypeEnum];
44
+ /**
45
+ * Check if a given object implements the CreateAccountPaymentInput interface.
46
+ */
47
+ export declare function instanceOfCreateAccountPaymentInput(value: object): value is CreateAccountPaymentInput;
48
+ export declare function CreateAccountPaymentInputFromJSON(json: any): CreateAccountPaymentInput;
49
+ export declare function CreateAccountPaymentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountPaymentInput;
50
+ export declare function CreateAccountPaymentInputToJSON(json: any): CreateAccountPaymentInput;
51
+ export declare function CreateAccountPaymentInputToJSONTyped(value?: CreateAccountPaymentInput | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.CreateAccountPaymentInputTypeEnum = void 0;
17
+ exports.instanceOfCreateAccountPaymentInput = instanceOfCreateAccountPaymentInput;
18
+ exports.CreateAccountPaymentInputFromJSON = CreateAccountPaymentInputFromJSON;
19
+ exports.CreateAccountPaymentInputFromJSONTyped = CreateAccountPaymentInputFromJSONTyped;
20
+ exports.CreateAccountPaymentInputToJSON = CreateAccountPaymentInputToJSON;
21
+ exports.CreateAccountPaymentInputToJSONTyped = CreateAccountPaymentInputToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateAccountPaymentInputTypeEnum = {
26
+ PAID_AUCTION: 'PAID_AUCTION'
27
+ };
28
+ /**
29
+ * Check if a given object implements the CreateAccountPaymentInput interface.
30
+ */
31
+ function instanceOfCreateAccountPaymentInput(value) {
32
+ if (!('type' in value) || value['type'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreateAccountPaymentInputFromJSON(json) {
37
+ return CreateAccountPaymentInputFromJSONTyped(json, false);
38
+ }
39
+ function CreateAccountPaymentInputFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'type': json['type'],
45
+ 'domainId': json['domainId'] == null ? undefined : json['domainId'],
46
+ 'payload': json['payload'] == null ? undefined : json['payload'],
47
+ };
48
+ }
49
+ function CreateAccountPaymentInputToJSON(json) {
50
+ return CreateAccountPaymentInputToJSONTyped(json, false);
51
+ }
52
+ function CreateAccountPaymentInputToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'type': value['type'],
59
+ 'domainId': value['domainId'],
60
+ 'payload': value['payload'],
61
+ };
62
+ }
@@ -0,0 +1,58 @@
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 CreateAccountPaymentManualTransactionInput
16
+ */
17
+ export interface CreateAccountPaymentManualTransactionInput {
18
+ /**
19
+ * Payment gateway to use for the transaction
20
+ * @type {string}
21
+ * @memberof CreateAccountPaymentManualTransactionInput
22
+ */
23
+ gateway?: CreateAccountPaymentManualTransactionInputGatewayEnum;
24
+ /**
25
+ * URL to redirect to when payment is successful
26
+ * @type {string}
27
+ * @memberof CreateAccountPaymentManualTransactionInput
28
+ */
29
+ successUrl?: string;
30
+ /**
31
+ * URL to redirect to when payment is cancelled
32
+ * @type {string}
33
+ * @memberof CreateAccountPaymentManualTransactionInput
34
+ */
35
+ cancelUrl?: string;
36
+ /**
37
+ * Payment method string to use for this transaction
38
+ * @type {string}
39
+ * @memberof CreateAccountPaymentManualTransactionInput
40
+ */
41
+ paymentMethodType: string;
42
+ }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const CreateAccountPaymentManualTransactionInputGatewayEnum: {
47
+ readonly COMMON: "common";
48
+ readonly CRYPTO: "crypto";
49
+ };
50
+ export type CreateAccountPaymentManualTransactionInputGatewayEnum = typeof CreateAccountPaymentManualTransactionInputGatewayEnum[keyof typeof CreateAccountPaymentManualTransactionInputGatewayEnum];
51
+ /**
52
+ * Check if a given object implements the CreateAccountPaymentManualTransactionInput interface.
53
+ */
54
+ export declare function instanceOfCreateAccountPaymentManualTransactionInput(value: object): value is CreateAccountPaymentManualTransactionInput;
55
+ export declare function CreateAccountPaymentManualTransactionInputFromJSON(json: any): CreateAccountPaymentManualTransactionInput;
56
+ export declare function CreateAccountPaymentManualTransactionInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAccountPaymentManualTransactionInput;
57
+ export declare function CreateAccountPaymentManualTransactionInputToJSON(json: any): CreateAccountPaymentManualTransactionInput;
58
+ export declare function CreateAccountPaymentManualTransactionInputToJSONTyped(value?: CreateAccountPaymentManualTransactionInput | null, ignoreDiscriminator?: boolean): any;