@randock/nameshift-api-client 0.0.114 → 0.0.115
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.
- package/README.md +3 -3
- package/dist/models/AccountDto.d.ts +0 -6
- package/dist/models/AccountDto.js +0 -4
- package/dist/models/AccountSettingsInput.d.ts +0 -6
- package/dist/models/AccountSettingsInput.js +0 -2
- package/dist/models/DomainSellerDto.d.ts +0 -6
- package/dist/models/DomainSellerDto.js +0 -4
- package/dist/models/IntersectionAccountDtoWithSettingsDto.d.ts +0 -6
- package/dist/models/IntersectionAccountDtoWithSettingsDto.js +0 -4
- package/dist/models/LeadMessageDto.d.ts +0 -6
- package/dist/models/LeadMessageDto.js +0 -4
- package/dist/models/ListAccountDto.d.ts +2 -2
- package/dist/models/ListAccountDto.js +3 -3
- package/dist/models/SellerSecurityUserAccountDto.d.ts +0 -6
- package/dist/models/SellerSecurityUserAccountDto.js +0 -4
- package/package.json +1 -1
- package/src/models/AccountDto.ts +0 -9
- package/src/models/AccountSettingsInput.ts +0 -8
- package/src/models/DomainSellerDto.ts +0 -9
- package/src/models/IntersectionAccountDtoWithSettingsDto.ts +0 -9
- package/src/models/LeadMessageDto.ts +0 -9
- package/src/models/ListAccountDto.ts +5 -5
- package/src/models/SellerSecurityUserAccountDto.ts +0 -9
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.115
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.115 --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
|
-
|
|
47
|
+
e9cc9da18835c3f263790e4ad92a1c69b114f57a6a833715aa1e0793e3ea4c626ebbb619f8aa7918e35ce07592605122
|
|
@@ -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
|
};
|
|
@@ -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
|
-
|
|
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 (!('
|
|
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
|
-
'
|
|
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
|
-
'
|
|
56
|
+
'type': value['type'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
@@ -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
package/src/models/AccountDto.ts
CHANGED
|
@@ -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
|
};
|
|
@@ -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
|
-
|
|
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 (!('
|
|
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
|
-
'
|
|
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
|
-
'
|
|
85
|
+
'type': value['type'],
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -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
|
|