@randock/nameshift-api-client 0.0.114 → 0.0.116

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 (35) hide show
  1. package/README.md +3 -3
  2. package/dist/models/AccountDto.d.ts +0 -6
  3. package/dist/models/AccountDto.js +0 -4
  4. package/dist/models/AccountSettingsInput.d.ts +0 -6
  5. package/dist/models/AccountSettingsInput.js +0 -2
  6. package/dist/models/BuyerDomainTransferListItemDto.d.ts +4 -4
  7. package/dist/models/BuyerDomainTransferListItemDto.js +6 -6
  8. package/dist/models/ChangeOrderStatusInput.d.ts +1 -1
  9. package/dist/models/ChangeOrderStatusInput.js +1 -1
  10. package/dist/models/DomainSellerDto.d.ts +0 -6
  11. package/dist/models/DomainSellerDto.js +0 -4
  12. package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -6
  13. package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -4
  14. package/dist/models/LeadMessageDto.d.ts +0 -6
  15. package/dist/models/LeadMessageDto.js +0 -4
  16. package/dist/models/ListAccountDto.d.ts +2 -2
  17. package/dist/models/ListAccountDto.js +3 -3
  18. package/dist/models/OrderDto.d.ts +3 -3
  19. package/dist/models/OrderDto.js +7 -7
  20. package/dist/models/OrderListItemDto.d.ts +1 -1
  21. package/dist/models/OrderListItemDto.js +1 -1
  22. package/dist/models/SellerSecurityUserAccountDto.d.ts +0 -6
  23. package/dist/models/SellerSecurityUserAccountDto.js +0 -4
  24. package/package.json +1 -1
  25. package/src/models/AccountDto.ts +0 -9
  26. package/src/models/AccountSettingsInput.ts +0 -8
  27. package/src/models/BuyerDomainTransferListItemDto.ts +7 -7
  28. package/src/models/ChangeOrderStatusInput.ts +1 -1
  29. package/src/models/DomainSellerDto.ts +0 -9
  30. package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -9
  31. package/src/models/LeadMessageDto.ts +0 -9
  32. package/src/models/ListAccountDto.ts +5 -5
  33. package/src/models/OrderDto.ts +9 -9
  34. package/src/models/OrderListItemDto.ts +1 -1
  35. package/src/models/SellerSecurityUserAccountDto.ts +0 -9
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.114
1
+ ## @randock/nameshift-api-client@0.0.116
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @randock/nameshift-api-client@0.0.114 --save
39
+ npm install @randock/nameshift-api-client@0.0.116 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
44
44
  ```
45
45
  npm install PATH_TO_GENERATED_PACKAGE --save
46
46
  ```
47
- bc6cf98a778057fda47922f7b3fb90a3956575c2d816adb04a3dd546fb177d0dfd0bc5d4a22a265f8513d2ea3e3df6bd
47
+ cbbd0e650b9c673b37785a0651452aff898d45b6210149c2cdb464f3902b2e45451b8bfebd9b521d65904e36b8743310
@@ -30,12 +30,6 @@ export interface AccountDto {
30
30
  * @memberof AccountDto
31
31
  */
32
32
  identifier: string;
33
- /**
34
- *
35
- * @type {string}
36
- * @memberof AccountDto
37
- */
38
- name: string;
39
33
  /**
40
34
  *
41
35
  * @type {AccountMetricsDto}
@@ -28,8 +28,6 @@ function instanceOfAccountDto(value) {
28
28
  return false;
29
29
  if (!('identifier' in value) || value['identifier'] === undefined)
30
30
  return false;
31
- if (!('name' in value) || value['name'] === undefined)
32
- return false;
33
31
  if (!('metrics' in value) || value['metrics'] === undefined)
34
32
  return false;
35
33
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined)
@@ -48,7 +46,6 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
48
46
  return {
49
47
  'id': json['id'],
50
48
  'identifier': json['identifier'],
51
- 'name': json['name'],
52
49
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoFromJSON)(json['metrics']),
53
50
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoFromJSON)(json['paymentProvider']),
54
51
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
@@ -61,7 +58,6 @@ function AccountDtoToJSON(value) {
61
58
  return {
62
59
  'id': value['id'],
63
60
  'identifier': value['identifier'],
64
- 'name': value['name'],
65
61
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoToJSON)(value['metrics']),
66
62
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoToJSON)(value['paymentProvider']),
67
63
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
@@ -16,12 +16,6 @@ import type { MoneyDto } from './MoneyDto';
16
16
  * @interface AccountSettingsInput
17
17
  */
18
18
  export interface AccountSettingsInput {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof AccountSettingsInput
23
- */
24
- name?: string;
25
19
  /**
26
20
  *
27
21
  * @type {MoneyDto}
@@ -32,7 +32,6 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'name': json['name'] == null ? undefined : json['name'],
36
35
  'defaultStartingOffer': json['defaultStartingOffer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
37
36
  'defaultCurrencyCode': json['defaultCurrencyCode'] == null ? undefined : json['defaultCurrencyCode'],
38
37
  };
@@ -42,7 +41,6 @@ function AccountSettingsInputToJSON(value) {
42
41
  return value;
43
42
  }
44
43
  return {
45
- 'name': value['name'],
46
44
  'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
47
45
  'defaultCurrencyCode': value['defaultCurrencyCode'],
48
46
  };
@@ -21,7 +21,7 @@ export interface BuyerDomainTransferListItemDto {
21
21
  * @type {string}
22
22
  * @memberof BuyerDomainTransferListItemDto
23
23
  */
24
- orderStatus: BuyerDomainTransferListItemDtoOrderStatusEnum;
24
+ invoiceStatus: BuyerDomainTransferListItemDtoInvoiceStatusEnum;
25
25
  /**
26
26
  * The buyer domain transfer status
27
27
  * @type {string}
@@ -62,12 +62,12 @@ export interface BuyerDomainTransferListItemDto {
62
62
  /**
63
63
  * @export
64
64
  */
65
- export declare const BuyerDomainTransferListItemDtoOrderStatusEnum: {
66
- readonly OPEN: "open";
65
+ export declare const BuyerDomainTransferListItemDtoInvoiceStatusEnum: {
66
+ readonly DRAFT: "draft";
67
67
  readonly PAID: "paid";
68
68
  readonly CANCELLED: "cancelled";
69
69
  };
70
- export type BuyerDomainTransferListItemDtoOrderStatusEnum = typeof BuyerDomainTransferListItemDtoOrderStatusEnum[keyof typeof BuyerDomainTransferListItemDtoOrderStatusEnum];
70
+ export type BuyerDomainTransferListItemDtoInvoiceStatusEnum = typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum[keyof typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum];
71
71
  /**
72
72
  * @export
73
73
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.BuyerDomainTransferListItemDtoDomainTransferStatusEnum = exports.BuyerDomainTransferListItemDtoOrderStatusEnum = void 0;
16
+ exports.BuyerDomainTransferListItemDtoDomainTransferStatusEnum = exports.BuyerDomainTransferListItemDtoInvoiceStatusEnum = void 0;
17
17
  exports.instanceOfBuyerDomainTransferListItemDto = instanceOfBuyerDomainTransferListItemDto;
18
18
  exports.BuyerDomainTransferListItemDtoFromJSON = BuyerDomainTransferListItemDtoFromJSON;
19
19
  exports.BuyerDomainTransferListItemDtoFromJSONTyped = BuyerDomainTransferListItemDtoFromJSONTyped;
@@ -22,8 +22,8 @@ var BuyerDomainTransferListItemDomainDto_1 = require("./BuyerDomainTransferListI
22
22
  /**
23
23
  * @export
24
24
  */
25
- exports.BuyerDomainTransferListItemDtoOrderStatusEnum = {
26
- OPEN: 'open',
25
+ exports.BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
26
+ DRAFT: 'draft',
27
27
  PAID: 'paid',
28
28
  CANCELLED: 'cancelled'
29
29
  };
@@ -41,7 +41,7 @@ exports.BuyerDomainTransferListItemDtoDomainTransferStatusEnum = {
41
41
  * Check if a given object implements the BuyerDomainTransferListItemDto interface.
42
42
  */
43
43
  function instanceOfBuyerDomainTransferListItemDto(value) {
44
- if (!('orderStatus' in value) || value['orderStatus'] === undefined)
44
+ if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined)
45
45
  return false;
46
46
  if (!('domainTransferStatus' in value) || value['domainTransferStatus'] === undefined)
47
47
  return false;
@@ -65,7 +65,7 @@ function BuyerDomainTransferListItemDtoFromJSONTyped(json, ignoreDiscriminator)
65
65
  return json;
66
66
  }
67
67
  return {
68
- 'orderStatus': json['orderStatus'],
68
+ 'invoiceStatus': json['invoiceStatus'],
69
69
  'domainTransferStatus': json['domainTransferStatus'],
70
70
  'requirements': json['requirements'],
71
71
  'orderId': json['orderId'],
@@ -79,7 +79,7 @@ function BuyerDomainTransferListItemDtoToJSON(value) {
79
79
  return value;
80
80
  }
81
81
  return {
82
- 'orderStatus': value['orderStatus'],
82
+ 'invoiceStatus': value['invoiceStatus'],
83
83
  'domainTransferStatus': value['domainTransferStatus'],
84
84
  'requirements': value['requirements'],
85
85
  'orderId': value['orderId'],
@@ -26,7 +26,7 @@ export interface ChangeOrderStatusInput {
26
26
  * @export
27
27
  */
28
28
  export declare const ChangeOrderStatusInputStatusEnum: {
29
- readonly OPEN: "open";
29
+ readonly DRAFT: "draft";
30
30
  readonly PAID: "paid";
31
31
  readonly CANCELLED: "cancelled";
32
32
  };
@@ -22,7 +22,7 @@ exports.ChangeOrderStatusInputToJSON = ChangeOrderStatusInputToJSON;
22
22
  * @export
23
23
  */
24
24
  exports.ChangeOrderStatusInputStatusEnum = {
25
- OPEN: 'open',
25
+ DRAFT: 'draft',
26
26
  PAID: 'paid',
27
27
  CANCELLED: 'cancelled'
28
28
  };
@@ -28,12 +28,6 @@ export interface DomainSellerDto {
28
28
  * @memberof DomainSellerDto
29
29
  */
30
30
  verified: boolean;
31
- /**
32
- * Seller name
33
- * @type {string}
34
- * @memberof DomainSellerDto
35
- */
36
- name: string;
37
31
  /**
38
32
  * Last online, formatted
39
33
  * @type {string}
@@ -26,8 +26,6 @@ function instanceOfDomainSellerDto(value) {
26
26
  return false;
27
27
  if (!('verified' in value) || value['verified'] === undefined)
28
28
  return false;
29
- if (!('name' in value) || value['name'] === undefined)
30
- return false;
31
29
  if (!('lastOnline' in value) || value['lastOnline'] === undefined)
32
30
  return false;
33
31
  if (!('deliversIn' in value) || value['deliversIn'] === undefined)
@@ -46,7 +44,6 @@ function DomainSellerDtoFromJSONTyped(json, ignoreDiscriminator) {
46
44
  return {
47
45
  'createdAt': (new Date(json['createdAt'])),
48
46
  'verified': json['verified'],
49
- 'name': json['name'],
50
47
  'lastOnline': json['lastOnline'],
51
48
  'deliversIn': json['deliversIn'],
52
49
  'relatedDomains': (json['relatedDomains'] == null ? null : json['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainFromJSON)),
@@ -59,7 +56,6 @@ function DomainSellerDtoToJSON(value) {
59
56
  return {
60
57
  'createdAt': ((value['createdAt']).toISOString()),
61
58
  'verified': value['verified'],
62
- 'name': value['name'],
63
59
  'lastOnline': value['lastOnline'],
64
60
  'deliversIn': value['deliversIn'],
65
61
  'relatedDomains': (value['relatedDomains'] == null ? null : value['relatedDomains'].map(RelatedSellerDomain_1.RelatedSellerDomainToJSON)),
@@ -31,12 +31,6 @@ export interface IntersectionAccountDtoWithSettingsDto {
31
31
  * @memberof IntersectionAccountDtoWithSettingsDto
32
32
  */
33
33
  identifier: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IntersectionAccountDtoWithSettingsDto
38
- */
39
- name: string;
40
34
  /**
41
35
  *
42
36
  * @type {AccountMetricsDto}
@@ -29,8 +29,6 @@ function instanceOfIntersectionAccountDtoWithSettingsDto(value) {
29
29
  return false;
30
30
  if (!('identifier' in value) || value['identifier'] === undefined)
31
31
  return false;
32
- if (!('name' in value) || value['name'] === undefined)
33
- return false;
34
32
  if (!('metrics' in value) || value['metrics'] === undefined)
35
33
  return false;
36
34
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined)
@@ -51,7 +49,6 @@ function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json, ignoreDiscrimi
51
49
  return {
52
50
  'id': json['id'],
53
51
  'identifier': json['identifier'],
54
- 'name': json['name'],
55
52
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoFromJSON)(json['metrics']),
56
53
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoFromJSON)(json['paymentProvider']),
57
54
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
@@ -65,7 +62,6 @@ function IntersectionAccountDtoWithSettingsDtoToJSON(value) {
65
62
  return {
66
63
  'id': value['id'],
67
64
  'identifier': value['identifier'],
68
- 'name': value['name'],
69
65
  'metrics': (0, AccountMetricsDto_1.AccountMetricsDtoToJSON)(value['metrics']),
70
66
  'paymentProvider': (0, PaymentProviderDto_1.PaymentProviderDtoToJSON)(value['paymentProvider']),
71
67
  'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
@@ -52,12 +52,6 @@ export interface LeadMessageDto {
52
52
  * @memberof LeadMessageDto
53
53
  */
54
54
  createdAt: Date;
55
- /**
56
- * Initials of the buyer/seller *
57
- * @type {string}
58
- * @memberof LeadMessageDto
59
- */
60
- initials: string;
61
55
  /**
62
56
  * Seller read indicator *
63
57
  * @type {boolean}
@@ -53,8 +53,6 @@ function instanceOfLeadMessageDto(value) {
53
53
  return false;
54
54
  if (!('createdAt' in value) || value['createdAt'] === undefined)
55
55
  return false;
56
- if (!('initials' in value) || value['initials'] === undefined)
57
- return false;
58
56
  if (!('readBySeller' in value) || value['readBySeller'] === undefined)
59
57
  return false;
60
58
  if (!('readByBuyer' in value) || value['readByBuyer'] === undefined)
@@ -75,7 +73,6 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
75
73
  'data': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['data']),
76
74
  'message': json['message'],
77
75
  'createdAt': (new Date(json['createdAt'])),
78
- 'initials': json['initials'],
79
76
  'readBySeller': json['readBySeller'],
80
77
  'readByBuyer': json['readByBuyer'],
81
78
  };
@@ -91,7 +88,6 @@ function LeadMessageDtoToJSON(value) {
91
88
  'data': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['data']),
92
89
  'message': value['message'],
93
90
  'createdAt': ((value['createdAt']).toISOString()),
94
- 'initials': value['initials'],
95
91
  'readBySeller': value['readBySeller'],
96
92
  'readByBuyer': value['readByBuyer'],
97
93
  };
@@ -32,13 +32,13 @@ export interface ListAccountDto {
32
32
  * @type {string}
33
33
  * @memberof ListAccountDto
34
34
  */
35
- name: string;
35
+ name: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof ListAccountDto
40
40
  */
41
- companyName: string | null;
41
+ type: string | null;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the ListAccountDto interface.
@@ -27,7 +27,7 @@ function instanceOfListAccountDto(value) {
27
27
  return false;
28
28
  if (!('name' in value) || value['name'] === undefined)
29
29
  return false;
30
- if (!('companyName' in value) || value['companyName'] === undefined)
30
+ if (!('type' in value) || value['type'] === undefined)
31
31
  return false;
32
32
  return true;
33
33
  }
@@ -42,7 +42,7 @@ function ListAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'id': json['id'],
43
43
  'createdAt': (new Date(json['createdAt'])),
44
44
  'name': json['name'],
45
- 'companyName': json['companyName'],
45
+ 'type': json['type'],
46
46
  };
47
47
  }
48
48
  function ListAccountDtoToJSON(value) {
@@ -53,6 +53,6 @@ function ListAccountDtoToJSON(value) {
53
53
  'id': value['id'],
54
54
  'createdAt': ((value['createdAt']).toISOString()),
55
55
  'name': value['name'],
56
- 'companyName': value['companyName'],
56
+ 'type': value['type'],
57
57
  };
58
58
  }
@@ -61,13 +61,13 @@ export interface OrderDto {
61
61
  * @type {string}
62
62
  * @memberof OrderDto
63
63
  */
64
- firstname: string;
64
+ firstName: string;
65
65
  /**
66
66
  *
67
67
  * @type {string}
68
68
  * @memberof OrderDto
69
69
  */
70
- lastname: string;
70
+ lastName: string;
71
71
  /**
72
72
  *
73
73
  * @type {string}
@@ -109,7 +109,7 @@ export interface OrderDto {
109
109
  * @export
110
110
  */
111
111
  export declare const OrderDtoStatusEnum: {
112
- readonly OPEN: "open";
112
+ readonly DRAFT: "draft";
113
113
  readonly PAID: "paid";
114
114
  readonly CANCELLED: "cancelled";
115
115
  };
@@ -27,7 +27,7 @@ var AddressDto_1 = require("./AddressDto");
27
27
  * @export
28
28
  */
29
29
  exports.OrderDtoStatusEnum = {
30
- OPEN: 'open',
30
+ DRAFT: 'draft',
31
31
  PAID: 'paid',
32
32
  CANCELLED: 'cancelled'
33
33
  };
@@ -47,9 +47,9 @@ function instanceOfOrderDto(value) {
47
47
  return false;
48
48
  if (!('items' in value) || value['items'] === undefined)
49
49
  return false;
50
- if (!('firstname' in value) || value['firstname'] === undefined)
50
+ if (!('firstName' in value) || value['firstName'] === undefined)
51
51
  return false;
52
- if (!('lastname' in value) || value['lastname'] === undefined)
52
+ if (!('lastName' in value) || value['lastName'] === undefined)
53
53
  return false;
54
54
  if (!('email' in value) || value['email'] === undefined)
55
55
  return false;
@@ -79,8 +79,8 @@ function OrderDtoFromJSONTyped(json, ignoreDiscriminator) {
79
79
  'totalPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalPrice']),
80
80
  'totalTaxPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['totalTaxPrice']),
81
81
  'items': (json['items'].map(InvoiceItemDto_1.InvoiceItemDtoFromJSON)),
82
- 'firstname': json['firstname'],
83
- 'lastname': json['lastname'],
82
+ 'firstName': json['firstName'],
83
+ 'lastName': json['lastName'],
84
84
  'email': json['email'],
85
85
  'phone': json['phone'],
86
86
  'address': (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
@@ -100,8 +100,8 @@ function OrderDtoToJSON(value) {
100
100
  'totalPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalPrice']),
101
101
  'totalTaxPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['totalTaxPrice']),
102
102
  'items': (value['items'].map(InvoiceItemDto_1.InvoiceItemDtoToJSON)),
103
- 'firstname': value['firstname'],
104
- 'lastname': value['lastname'],
103
+ 'firstName': value['firstName'],
104
+ 'lastName': value['lastName'],
105
105
  'email': value['email'],
106
106
  'phone': value['phone'],
107
107
  'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
@@ -66,7 +66,7 @@ export interface OrderListItemDto {
66
66
  * @export
67
67
  */
68
68
  export declare const OrderListItemDtoStatusEnum: {
69
- readonly OPEN: "open";
69
+ readonly DRAFT: "draft";
70
70
  readonly PAID: "paid";
71
71
  readonly CANCELLED: "cancelled";
72
72
  };
@@ -26,7 +26,7 @@ var OrderListItemDtoSellerAccount_1 = require("./OrderListItemDtoSellerAccount")
26
26
  * @export
27
27
  */
28
28
  exports.OrderListItemDtoStatusEnum = {
29
- OPEN: 'open',
29
+ DRAFT: 'draft',
30
30
  PAID: 'paid',
31
31
  CANCELLED: 'cancelled'
32
32
  };
@@ -21,12 +21,6 @@ export interface SellerSecurityUserAccountDto {
21
21
  * @memberof SellerSecurityUserAccountDto
22
22
  */
23
23
  id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SellerSecurityUserAccountDto
28
- */
29
- name: string;
30
24
  }
31
25
  /**
32
26
  * Check if a given object implements the SellerSecurityUserAccountDto interface.
@@ -23,8 +23,6 @@ exports.SellerSecurityUserAccountDtoToJSON = SellerSecurityUserAccountDtoToJSON;
23
23
  function instanceOfSellerSecurityUserAccountDto(value) {
24
24
  if (!('id' in value) || value['id'] === undefined)
25
25
  return false;
26
- if (!('name' in value) || value['name'] === undefined)
27
- return false;
28
26
  return true;
29
27
  }
30
28
  function SellerSecurityUserAccountDtoFromJSON(json) {
@@ -36,7 +34,6 @@ function SellerSecurityUserAccountDtoFromJSONTyped(json, ignoreDiscriminator) {
36
34
  }
37
35
  return {
38
36
  'id': json['id'],
39
- 'name': json['name'],
40
37
  };
41
38
  }
42
39
  function SellerSecurityUserAccountDtoToJSON(value) {
@@ -45,6 +42,5 @@ function SellerSecurityUserAccountDtoToJSON(value) {
45
42
  }
46
43
  return {
47
44
  'id': value['id'],
48
- 'name': value['name'],
49
45
  };
50
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.114",
3
+ "version": "0.0.116",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -50,12 +50,6 @@ export interface AccountDto {
50
50
  * @memberof AccountDto
51
51
  */
52
52
  identifier: string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof AccountDto
57
- */
58
- name: string;
59
53
  /**
60
54
  *
61
55
  * @type {AccountMetricsDto}
@@ -82,7 +76,6 @@ export interface AccountDto {
82
76
  export function instanceOfAccountDto(value: object): value is AccountDto {
83
77
  if (!('id' in value) || value['id'] === undefined) return false;
84
78
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
85
- if (!('name' in value) || value['name'] === undefined) return false;
86
79
  if (!('metrics' in value) || value['metrics'] === undefined) return false;
87
80
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined) return false;
88
81
  if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
@@ -101,7 +94,6 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
101
94
 
102
95
  'id': json['id'],
103
96
  'identifier': json['identifier'],
104
- 'name': json['name'],
105
97
  'metrics': AccountMetricsDtoFromJSON(json['metrics']),
106
98
  'paymentProvider': PaymentProviderDtoFromJSON(json['paymentProvider']),
107
99
  'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
@@ -116,7 +108,6 @@ export function AccountDtoToJSON(value?: AccountDto | null): any {
116
108
 
117
109
  'id': value['id'],
118
110
  'identifier': value['identifier'],
119
- 'name': value['name'],
120
111
  'metrics': AccountMetricsDtoToJSON(value['metrics']),
121
112
  'paymentProvider': PaymentProviderDtoToJSON(value['paymentProvider']),
122
113
  'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
@@ -26,12 +26,6 @@ import {
26
26
  * @interface AccountSettingsInput
27
27
  */
28
28
  export interface AccountSettingsInput {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof AccountSettingsInput
33
- */
34
- name?: string;
35
29
  /**
36
30
  *
37
31
  * @type {MoneyDto}
@@ -63,7 +57,6 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
63
57
  }
64
58
  return {
65
59
 
66
- 'name': json['name'] == null ? undefined : json['name'],
67
60
  'defaultStartingOffer': json['defaultStartingOffer'] == null ? undefined : MoneyDtoFromJSON(json['defaultStartingOffer']),
68
61
  'defaultCurrencyCode': json['defaultCurrencyCode'] == null ? undefined : json['defaultCurrencyCode'],
69
62
  };
@@ -75,7 +68,6 @@ export function AccountSettingsInputToJSON(value?: AccountSettingsInput | null):
75
68
  }
76
69
  return {
77
70
 
78
- 'name': value['name'],
79
71
  'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
80
72
  'defaultCurrencyCode': value['defaultCurrencyCode'],
81
73
  };
@@ -31,7 +31,7 @@ export interface BuyerDomainTransferListItemDto {
31
31
  * @type {string}
32
32
  * @memberof BuyerDomainTransferListItemDto
33
33
  */
34
- orderStatus: BuyerDomainTransferListItemDtoOrderStatusEnum;
34
+ invoiceStatus: BuyerDomainTransferListItemDtoInvoiceStatusEnum;
35
35
  /**
36
36
  * The buyer domain transfer status
37
37
  * @type {string}
@@ -74,12 +74,12 @@ export interface BuyerDomainTransferListItemDto {
74
74
  /**
75
75
  * @export
76
76
  */
77
- export const BuyerDomainTransferListItemDtoOrderStatusEnum = {
78
- OPEN: 'open',
77
+ export const BuyerDomainTransferListItemDtoInvoiceStatusEnum = {
78
+ DRAFT: 'draft',
79
79
  PAID: 'paid',
80
80
  CANCELLED: 'cancelled'
81
81
  } as const;
82
- export type BuyerDomainTransferListItemDtoOrderStatusEnum = typeof BuyerDomainTransferListItemDtoOrderStatusEnum[keyof typeof BuyerDomainTransferListItemDtoOrderStatusEnum];
82
+ export type BuyerDomainTransferListItemDtoInvoiceStatusEnum = typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum[keyof typeof BuyerDomainTransferListItemDtoInvoiceStatusEnum];
83
83
 
84
84
  /**
85
85
  * @export
@@ -98,7 +98,7 @@ export type BuyerDomainTransferListItemDtoDomainTransferStatusEnum = typeof Buye
98
98
  * Check if a given object implements the BuyerDomainTransferListItemDto interface.
99
99
  */
100
100
  export function instanceOfBuyerDomainTransferListItemDto(value: object): value is BuyerDomainTransferListItemDto {
101
- if (!('orderStatus' in value) || value['orderStatus'] === undefined) return false;
101
+ if (!('invoiceStatus' in value) || value['invoiceStatus'] === undefined) return false;
102
102
  if (!('domainTransferStatus' in value) || value['domainTransferStatus'] === undefined) return false;
103
103
  if (!('requirements' in value) || value['requirements'] === undefined) return false;
104
104
  if (!('orderId' in value) || value['orderId'] === undefined) return false;
@@ -118,7 +118,7 @@ export function BuyerDomainTransferListItemDtoFromJSONTyped(json: any, ignoreDis
118
118
  }
119
119
  return {
120
120
 
121
- 'orderStatus': json['orderStatus'],
121
+ 'invoiceStatus': json['invoiceStatus'],
122
122
  'domainTransferStatus': json['domainTransferStatus'],
123
123
  'requirements': json['requirements'],
124
124
  'orderId': json['orderId'],
@@ -134,7 +134,7 @@ export function BuyerDomainTransferListItemDtoToJSON(value?: BuyerDomainTransfer
134
134
  }
135
135
  return {
136
136
 
137
- 'orderStatus': value['orderStatus'],
137
+ 'invoiceStatus': value['invoiceStatus'],
138
138
  'domainTransferStatus': value['domainTransferStatus'],
139
139
  'requirements': value['requirements'],
140
140
  'orderId': value['orderId'],
@@ -32,7 +32,7 @@ export interface ChangeOrderStatusInput {
32
32
  * @export
33
33
  */
34
34
  export const ChangeOrderStatusInputStatusEnum = {
35
- OPEN: 'open',
35
+ DRAFT: 'draft',
36
36
  PAID: 'paid',
37
37
  CANCELLED: 'cancelled'
38
38
  } as const;
@@ -38,12 +38,6 @@ export interface DomainSellerDto {
38
38
  * @memberof DomainSellerDto
39
39
  */
40
40
  verified: boolean;
41
- /**
42
- * Seller name
43
- * @type {string}
44
- * @memberof DomainSellerDto
45
- */
46
- name: string;
47
41
  /**
48
42
  * Last online, formatted
49
43
  * @type {string}
@@ -70,7 +64,6 @@ export interface DomainSellerDto {
70
64
  export function instanceOfDomainSellerDto(value: object): value is DomainSellerDto {
71
65
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
72
66
  if (!('verified' in value) || value['verified'] === undefined) return false;
73
- if (!('name' in value) || value['name'] === undefined) return false;
74
67
  if (!('lastOnline' in value) || value['lastOnline'] === undefined) return false;
75
68
  if (!('deliversIn' in value) || value['deliversIn'] === undefined) return false;
76
69
  if (!('relatedDomains' in value) || value['relatedDomains'] === undefined) return false;
@@ -89,7 +82,6 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
89
82
 
90
83
  'createdAt': (new Date(json['createdAt'])),
91
84
  'verified': json['verified'],
92
- 'name': json['name'],
93
85
  'lastOnline': json['lastOnline'],
94
86
  'deliversIn': json['deliversIn'],
95
87
  'relatedDomains': (json['relatedDomains'] == null ? null : (json['relatedDomains'] as Array<any>).map(RelatedSellerDomainFromJSON)),
@@ -104,7 +96,6 @@ export function DomainSellerDtoToJSON(value?: DomainSellerDto | null): any {
104
96
 
105
97
  'createdAt': ((value['createdAt']).toISOString()),
106
98
  'verified': value['verified'],
107
- 'name': value['name'],
108
99
  'lastOnline': value['lastOnline'],
109
100
  'deliversIn': value['deliversIn'],
110
101
  'relatedDomains': (value['relatedDomains'] == null ? null : (value['relatedDomains'] as Array<any>).map(RelatedSellerDomainToJSON)),
@@ -56,12 +56,6 @@ export interface IntersectionAccountDtoWithSettingsDto {
56
56
  * @memberof IntersectionAccountDtoWithSettingsDto
57
57
  */
58
58
  identifier: string;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof IntersectionAccountDtoWithSettingsDto
63
- */
64
- name: string;
65
59
  /**
66
60
  *
67
61
  * @type {AccountMetricsDto}
@@ -94,7 +88,6 @@ export interface IntersectionAccountDtoWithSettingsDto {
94
88
  export function instanceOfIntersectionAccountDtoWithSettingsDto(value: object): value is IntersectionAccountDtoWithSettingsDto {
95
89
  if (!('id' in value) || value['id'] === undefined) return false;
96
90
  if (!('identifier' in value) || value['identifier'] === undefined) return false;
97
- if (!('name' in value) || value['name'] === undefined) return false;
98
91
  if (!('metrics' in value) || value['metrics'] === undefined) return false;
99
92
  if (!('paymentProvider' in value) || value['paymentProvider'] === undefined) return false;
100
93
  if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
@@ -114,7 +107,6 @@ export function IntersectionAccountDtoWithSettingsDtoFromJSONTyped(json: any, ig
114
107
 
115
108
  'id': json['id'],
116
109
  'identifier': json['identifier'],
117
- 'name': json['name'],
118
110
  'metrics': AccountMetricsDtoFromJSON(json['metrics']),
119
111
  'paymentProvider': PaymentProviderDtoFromJSON(json['paymentProvider']),
120
112
  'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
@@ -130,7 +122,6 @@ export function IntersectionAccountDtoWithSettingsDtoToJSON(value?: Intersection
130
122
 
131
123
  'id': value['id'],
132
124
  'identifier': value['identifier'],
133
- 'name': value['name'],
134
125
  'metrics': AccountMetricsDtoToJSON(value['metrics']),
135
126
  'paymentProvider': PaymentProviderDtoToJSON(value['paymentProvider']),
136
127
  'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
@@ -62,12 +62,6 @@ export interface LeadMessageDto {
62
62
  * @memberof LeadMessageDto
63
63
  */
64
64
  createdAt: Date;
65
- /**
66
- * Initials of the buyer/seller *
67
- * @type {string}
68
- * @memberof LeadMessageDto
69
- */
70
- initials: string;
71
65
  /**
72
66
  * Seller read indicator *
73
67
  * @type {boolean}
@@ -116,7 +110,6 @@ export function instanceOfLeadMessageDto(value: object): value is LeadMessageDto
116
110
  if (!('data' in value) || value['data'] === undefined) return false;
117
111
  if (!('message' in value) || value['message'] === undefined) return false;
118
112
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
119
- if (!('initials' in value) || value['initials'] === undefined) return false;
120
113
  if (!('readBySeller' in value) || value['readBySeller'] === undefined) return false;
121
114
  if (!('readByBuyer' in value) || value['readByBuyer'] === undefined) return false;
122
115
  return true;
@@ -138,7 +131,6 @@ export function LeadMessageDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
138
131
  'data': LeadMessageDataFromJSON(json['data']),
139
132
  'message': json['message'],
140
133
  'createdAt': (new Date(json['createdAt'])),
141
- 'initials': json['initials'],
142
134
  'readBySeller': json['readBySeller'],
143
135
  'readByBuyer': json['readByBuyer'],
144
136
  };
@@ -156,7 +148,6 @@ export function LeadMessageDtoToJSON(value?: LeadMessageDto | null): any {
156
148
  'data': LeadMessageDataToJSON(value['data']),
157
149
  'message': value['message'],
158
150
  'createdAt': ((value['createdAt']).toISOString()),
159
- 'initials': value['initials'],
160
151
  'readBySeller': value['readBySeller'],
161
152
  'readByBuyer': value['readByBuyer'],
162
153
  };
@@ -36,13 +36,13 @@ export interface ListAccountDto {
36
36
  * @type {string}
37
37
  * @memberof ListAccountDto
38
38
  */
39
- name: string;
39
+ name: string | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof ListAccountDto
44
44
  */
45
- companyName: string | null;
45
+ type: string | null;
46
46
  }
47
47
 
48
48
  /**
@@ -52,7 +52,7 @@ export function instanceOfListAccountDto(value: object): value is ListAccountDto
52
52
  if (!('id' in value) || value['id'] === undefined) return false;
53
53
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
54
54
  if (!('name' in value) || value['name'] === undefined) return false;
55
- if (!('companyName' in value) || value['companyName'] === undefined) return false;
55
+ if (!('type' in value) || value['type'] === undefined) return false;
56
56
  return true;
57
57
  }
58
58
 
@@ -69,7 +69,7 @@ export function ListAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: bool
69
69
  'id': json['id'],
70
70
  'createdAt': (new Date(json['createdAt'])),
71
71
  'name': json['name'],
72
- 'companyName': json['companyName'],
72
+ 'type': json['type'],
73
73
  };
74
74
  }
75
75
 
@@ -82,7 +82,7 @@ export function ListAccountDtoToJSON(value?: ListAccountDto | null): any {
82
82
  'id': value['id'],
83
83
  'createdAt': ((value['createdAt']).toISOString()),
84
84
  'name': value['name'],
85
- 'companyName': value['companyName'],
85
+ 'type': value['type'],
86
86
  };
87
87
  }
88
88
 
@@ -91,13 +91,13 @@ export interface OrderDto {
91
91
  * @type {string}
92
92
  * @memberof OrderDto
93
93
  */
94
- firstname: string;
94
+ firstName: string;
95
95
  /**
96
96
  *
97
97
  * @type {string}
98
98
  * @memberof OrderDto
99
99
  */
100
- lastname: string;
100
+ lastName: string;
101
101
  /**
102
102
  *
103
103
  * @type {string}
@@ -141,7 +141,7 @@ export interface OrderDto {
141
141
  * @export
142
142
  */
143
143
  export const OrderDtoStatusEnum = {
144
- OPEN: 'open',
144
+ DRAFT: 'draft',
145
145
  PAID: 'paid',
146
146
  CANCELLED: 'cancelled'
147
147
  } as const;
@@ -158,8 +158,8 @@ export function instanceOfOrderDto(value: object): value is OrderDto {
158
158
  if (!('totalPrice' in value) || value['totalPrice'] === undefined) return false;
159
159
  if (!('totalTaxPrice' in value) || value['totalTaxPrice'] === undefined) return false;
160
160
  if (!('items' in value) || value['items'] === undefined) return false;
161
- if (!('firstname' in value) || value['firstname'] === undefined) return false;
162
- if (!('lastname' in value) || value['lastname'] === undefined) return false;
161
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
162
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
163
163
  if (!('email' in value) || value['email'] === undefined) return false;
164
164
  if (!('phone' in value) || value['phone'] === undefined) return false;
165
165
  if (!('address' in value) || value['address'] === undefined) return false;
@@ -185,8 +185,8 @@ export function OrderDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
185
185
  'totalPrice': MoneyDtoFromJSON(json['totalPrice']),
186
186
  'totalTaxPrice': MoneyDtoFromJSON(json['totalTaxPrice']),
187
187
  'items': ((json['items'] as Array<any>).map(InvoiceItemDtoFromJSON)),
188
- 'firstname': json['firstname'],
189
- 'lastname': json['lastname'],
188
+ 'firstName': json['firstName'],
189
+ 'lastName': json['lastName'],
190
190
  'email': json['email'],
191
191
  'phone': json['phone'],
192
192
  'address': AddressDtoFromJSON(json['address']),
@@ -208,8 +208,8 @@ export function OrderDtoToJSON(value?: OrderDto | null): any {
208
208
  'totalPrice': MoneyDtoToJSON(value['totalPrice']),
209
209
  'totalTaxPrice': MoneyDtoToJSON(value['totalTaxPrice']),
210
210
  'items': ((value['items'] as Array<any>).map(InvoiceItemDtoToJSON)),
211
- 'firstname': value['firstname'],
212
- 'lastname': value['lastname'],
211
+ 'firstName': value['firstName'],
212
+ 'lastName': value['lastName'],
213
213
  'email': value['email'],
214
214
  'phone': value['phone'],
215
215
  'address': AddressDtoToJSON(value['address']),
@@ -93,7 +93,7 @@ export interface OrderListItemDto {
93
93
  * @export
94
94
  */
95
95
  export const OrderListItemDtoStatusEnum = {
96
- OPEN: 'open',
96
+ DRAFT: 'draft',
97
97
  PAID: 'paid',
98
98
  CANCELLED: 'cancelled'
99
99
  } as const;
@@ -25,12 +25,6 @@ export interface SellerSecurityUserAccountDto {
25
25
  * @memberof SellerSecurityUserAccountDto
26
26
  */
27
27
  id: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof SellerSecurityUserAccountDto
32
- */
33
- name: string;
34
28
  }
35
29
 
36
30
  /**
@@ -38,7 +32,6 @@ export interface SellerSecurityUserAccountDto {
38
32
  */
39
33
  export function instanceOfSellerSecurityUserAccountDto(value: object): value is SellerSecurityUserAccountDto {
40
34
  if (!('id' in value) || value['id'] === undefined) return false;
41
- if (!('name' in value) || value['name'] === undefined) return false;
42
35
  return true;
43
36
  }
44
37
 
@@ -53,7 +46,6 @@ export function SellerSecurityUserAccountDtoFromJSONTyped(json: any, ignoreDiscr
53
46
  return {
54
47
 
55
48
  'id': json['id'],
56
- 'name': json['name'],
57
49
  };
58
50
  }
59
51
 
@@ -64,7 +56,6 @@ export function SellerSecurityUserAccountDtoToJSON(value?: SellerSecurityUserAcc
64
56
  return {
65
57
 
66
58
  'id': value['id'],
67
- 'name': value['name'],
68
59
  };
69
60
  }
70
61