@randock/nameshift-api-client 0.0.484 → 0.0.485
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.485
|
|
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.485 --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
|
+
b341a19b31c15865c8f475c67ff6b199f5ae86c79742266463fb285c8ff53ec84c2d9d9be8c392df664c51fd787f993a
|
|
@@ -22,6 +22,12 @@ export interface ListLeadMessagesDto {
|
|
|
22
22
|
* @memberof ListLeadMessagesDto
|
|
23
23
|
*/
|
|
24
24
|
messages: Array<LeadMessageDto>;
|
|
25
|
+
/**
|
|
26
|
+
* How many more messages the seller can still send in a row before the buyer has to reply. At 0, new messages, offers and offer acceptances are rejected with MESSAGE_LIMIT_REACHED; only withdrawing or rejecting an offer is still allowed.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListLeadMessagesDto
|
|
29
|
+
*/
|
|
30
|
+
messagesInRowRemaining: number;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the ListLeadMessagesDto interface.
|
|
@@ -25,6 +25,8 @@ var LeadMessageDto_1 = require("./LeadMessageDto");
|
|
|
25
25
|
function instanceOfListLeadMessagesDto(value) {
|
|
26
26
|
if (!('messages' in value) || value['messages'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('messagesInRowRemaining' in value) || value['messagesInRowRemaining'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
return true;
|
|
29
31
|
}
|
|
30
32
|
function ListLeadMessagesDtoFromJSON(json) {
|
|
@@ -36,6 +38,7 @@ function ListLeadMessagesDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
38
|
}
|
|
37
39
|
return {
|
|
38
40
|
'messages': (json['messages'].map(LeadMessageDto_1.LeadMessageDtoFromJSON)),
|
|
41
|
+
'messagesInRowRemaining': json['messagesInRowRemaining'],
|
|
39
42
|
};
|
|
40
43
|
}
|
|
41
44
|
function ListLeadMessagesDtoToJSON(json) {
|
|
@@ -48,5 +51,6 @@ function ListLeadMessagesDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
51
|
}
|
|
49
52
|
return {
|
|
50
53
|
'messages': (value['messages'].map(LeadMessageDto_1.LeadMessageDtoToJSON)),
|
|
54
|
+
'messagesInRowRemaining': value['messagesInRowRemaining'],
|
|
51
55
|
};
|
|
52
56
|
}
|
package/package.json
CHANGED
|
@@ -33,6 +33,12 @@ export interface ListLeadMessagesDto {
|
|
|
33
33
|
* @memberof ListLeadMessagesDto
|
|
34
34
|
*/
|
|
35
35
|
messages: Array<LeadMessageDto>;
|
|
36
|
+
/**
|
|
37
|
+
* How many more messages the seller can still send in a row before the buyer has to reply. At 0, new messages, offers and offer acceptances are rejected with MESSAGE_LIMIT_REACHED; only withdrawing or rejecting an offer is still allowed.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListLeadMessagesDto
|
|
40
|
+
*/
|
|
41
|
+
messagesInRowRemaining: number;
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
/**
|
|
@@ -40,6 +46,7 @@ export interface ListLeadMessagesDto {
|
|
|
40
46
|
*/
|
|
41
47
|
export function instanceOfListLeadMessagesDto(value: object): value is ListLeadMessagesDto {
|
|
42
48
|
if (!('messages' in value) || value['messages'] === undefined) return false;
|
|
49
|
+
if (!('messagesInRowRemaining' in value) || value['messagesInRowRemaining'] === undefined) return false;
|
|
43
50
|
return true;
|
|
44
51
|
}
|
|
45
52
|
|
|
@@ -54,6 +61,7 @@ export function ListLeadMessagesDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
54
61
|
return {
|
|
55
62
|
|
|
56
63
|
'messages': ((json['messages'] as Array<any>).map(LeadMessageDtoFromJSON)),
|
|
64
|
+
'messagesInRowRemaining': json['messagesInRowRemaining'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -69,6 +77,7 @@ export function ListLeadMessagesDtoToJSONTyped(value?: ListLeadMessagesDto | nul
|
|
|
69
77
|
return {
|
|
70
78
|
|
|
71
79
|
'messages': ((value['messages'] as Array<any>).map(LeadMessageDtoToJSON)),
|
|
80
|
+
'messagesInRowRemaining': value['messagesInRowRemaining'],
|
|
72
81
|
};
|
|
73
82
|
}
|
|
74
83
|
|