@randock/nameshift-api-client 0.0.322 → 0.0.323
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/UpdateUserNotificationSettingsInput.d.ts +6 -0
- package/dist/models/UpdateUserNotificationSettingsInput.js +2 -0
- package/dist/models/UserNotificationDto.d.ts +2 -1
- package/dist/models/UserNotificationDto.js +2 -1
- package/dist/models/UserNotificationListItemDto.d.ts +2 -1
- package/dist/models/UserNotificationListItemDto.js +2 -1
- package/dist/models/UserNotificationSettingsDto.d.ts +6 -0
- package/dist/models/UserNotificationSettingsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/UpdateUserNotificationSettingsInput.ts +8 -0
- package/src/models/UserNotificationDto.ts +2 -1
- package/src/models/UserNotificationListItemDto.ts +2 -1
- package/src/models/UserNotificationSettingsDto.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.323
|
|
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.323 --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
|
+
265d391b03f6472fcc1cb82f878e2a8e70aef5ee54cd63c8339f75447295d20ea817ee959149c24be48d4601f3c725a4
|
|
@@ -57,6 +57,12 @@ export interface UpdateUserNotificationSettingsInput {
|
|
|
57
57
|
* @memberof UpdateUserNotificationSettingsInput
|
|
58
58
|
*/
|
|
59
59
|
tasksFrequency?: UpdateUserNotificationSettingsInputTasksFrequencyEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Time of day for DAILY task reminder notifications
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
64
|
+
*/
|
|
65
|
+
taskDailyTime?: string;
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
68
|
* @export
|
|
@@ -47,6 +47,7 @@ function UpdateUserNotificationSettingsInputFromJSONTyped(json, ignoreDiscrimina
|
|
|
47
47
|
'payouts': json['payouts'] == null ? undefined : json['payouts'],
|
|
48
48
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'] == null ? undefined : json['leadMessagesFrequencyInMinutes'],
|
|
49
49
|
'tasksFrequency': json['tasksFrequency'] == null ? undefined : json['tasksFrequency'],
|
|
50
|
+
'taskDailyTime': json['taskDailyTime'] == null ? undefined : json['taskDailyTime'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
function UpdateUserNotificationSettingsInputToJSON(json) {
|
|
@@ -65,5 +66,6 @@ function UpdateUserNotificationSettingsInputToJSONTyped(value, ignoreDiscriminat
|
|
|
65
66
|
'payouts': value['payouts'],
|
|
66
67
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
67
68
|
'tasksFrequency': value['tasksFrequency'],
|
|
69
|
+
'taskDailyTime': value['taskDailyTime'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
@@ -123,12 +123,13 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
123
123
|
readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
|
|
124
124
|
readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
|
|
125
125
|
readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
|
|
126
|
+
readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
|
|
127
|
+
readonly TASKS_REMINDER_BATCH: "tasks.reminder.batch";
|
|
126
128
|
readonly LEAD_MESSAGE_OFFER: "lead_message.offer";
|
|
127
129
|
readonly LEAD_MESSAGE_OFFER_ACCEPTED: "lead_message.offer_accepted";
|
|
128
130
|
readonly LEAD_MESSAGE_OFFER_WITHDRAWN: "lead_message.offer_withdrawn";
|
|
129
131
|
readonly LEAD_MESSAGE_OFFER_REJECTED: "lead_message.offer_rejected";
|
|
130
132
|
readonly LEAD_MESSAGE_MESSAGE: "lead_message.message";
|
|
131
|
-
readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
|
|
132
133
|
readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
|
|
133
134
|
readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
|
|
134
135
|
readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
|
|
@@ -84,12 +84,13 @@ exports.UserNotificationDtoTypeEnum = {
|
|
|
84
84
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
85
85
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
86
86
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
87
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
88
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
87
89
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
88
90
|
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
89
91
|
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
90
92
|
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
91
93
|
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
92
|
-
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
93
94
|
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
94
95
|
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
95
96
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
@@ -116,12 +116,13 @@ export declare const UserNotificationListItemDtoTypeEnum: {
|
|
|
116
116
|
readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
|
|
117
117
|
readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
|
|
118
118
|
readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
|
|
119
|
+
readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
|
|
120
|
+
readonly TASKS_REMINDER_BATCH: "tasks.reminder.batch";
|
|
119
121
|
readonly LEAD_MESSAGE_OFFER: "lead_message.offer";
|
|
120
122
|
readonly LEAD_MESSAGE_OFFER_ACCEPTED: "lead_message.offer_accepted";
|
|
121
123
|
readonly LEAD_MESSAGE_OFFER_WITHDRAWN: "lead_message.offer_withdrawn";
|
|
122
124
|
readonly LEAD_MESSAGE_OFFER_REJECTED: "lead_message.offer_rejected";
|
|
123
125
|
readonly LEAD_MESSAGE_MESSAGE: "lead_message.message";
|
|
124
|
-
readonly LEAD_MESSAGE_BATCH: "lead_message.batch";
|
|
125
126
|
readonly TASKS_REMINDER_LEAD: "tasks.reminder.lead";
|
|
126
127
|
readonly TASKS_REMINDER_DOMAIN_TRANSFER: "tasks.reminder.domain_transfer";
|
|
127
128
|
readonly TASKS_REMINDER_ORDER: "tasks.reminder.order";
|
|
@@ -83,12 +83,13 @@ exports.UserNotificationListItemDtoTypeEnum = {
|
|
|
83
83
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
84
84
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
85
85
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
86
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
87
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
86
88
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
87
89
|
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
88
90
|
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
89
91
|
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
90
92
|
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
91
|
-
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
92
93
|
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
93
94
|
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
94
95
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
@@ -57,6 +57,12 @@ export interface UserNotificationSettingsDto {
|
|
|
57
57
|
* @memberof UserNotificationSettingsDto
|
|
58
58
|
*/
|
|
59
59
|
tasksFrequency: UserNotificationSettingsDtoTasksFrequencyEnum;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UserNotificationSettingsDto
|
|
64
|
+
*/
|
|
65
|
+
taskDailyTime: string | null;
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
68
|
* @export
|
|
@@ -44,6 +44,8 @@ function instanceOfUserNotificationSettingsDto(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('tasksFrequency' in value) || value['tasksFrequency'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
+
if (!('taskDailyTime' in value) || value['taskDailyTime'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
return true;
|
|
48
50
|
}
|
|
49
51
|
function UserNotificationSettingsDtoFromJSON(json) {
|
|
@@ -61,6 +63,7 @@ function UserNotificationSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
63
|
'payouts': json['payouts'],
|
|
62
64
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'],
|
|
63
65
|
'tasksFrequency': json['tasksFrequency'],
|
|
66
|
+
'taskDailyTime': json['taskDailyTime'],
|
|
64
67
|
};
|
|
65
68
|
}
|
|
66
69
|
function UserNotificationSettingsDtoToJSON(json) {
|
|
@@ -79,5 +82,6 @@ function UserNotificationSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
82
|
'payouts': value['payouts'],
|
|
80
83
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
81
84
|
'tasksFrequency': value['tasksFrequency'],
|
|
85
|
+
'taskDailyTime': value['taskDailyTime'],
|
|
82
86
|
};
|
|
83
87
|
}
|
package/package.json
CHANGED
|
@@ -61,6 +61,12 @@ export interface UpdateUserNotificationSettingsInput {
|
|
|
61
61
|
* @memberof UpdateUserNotificationSettingsInput
|
|
62
62
|
*/
|
|
63
63
|
tasksFrequency?: UpdateUserNotificationSettingsInputTasksFrequencyEnum;
|
|
64
|
+
/**
|
|
65
|
+
* Time of day for DAILY task reminder notifications
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UpdateUserNotificationSettingsInput
|
|
68
|
+
*/
|
|
69
|
+
taskDailyTime?: string;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
|
|
@@ -98,6 +104,7 @@ export function UpdateUserNotificationSettingsInputFromJSONTyped(json: any, igno
|
|
|
98
104
|
'payouts': json['payouts'] == null ? undefined : json['payouts'],
|
|
99
105
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'] == null ? undefined : json['leadMessagesFrequencyInMinutes'],
|
|
100
106
|
'tasksFrequency': json['tasksFrequency'] == null ? undefined : json['tasksFrequency'],
|
|
107
|
+
'taskDailyTime': json['taskDailyTime'] == null ? undefined : json['taskDailyTime'],
|
|
101
108
|
};
|
|
102
109
|
}
|
|
103
110
|
|
|
@@ -119,6 +126,7 @@ export function UpdateUserNotificationSettingsInputToJSONTyped(value?: UpdateUse
|
|
|
119
126
|
'payouts': value['payouts'],
|
|
120
127
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
121
128
|
'tasksFrequency': value['tasksFrequency'],
|
|
129
|
+
'taskDailyTime': value['taskDailyTime'],
|
|
122
130
|
};
|
|
123
131
|
}
|
|
124
132
|
|
|
@@ -136,12 +136,13 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
136
136
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
137
137
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
138
138
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
139
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
140
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
139
141
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
140
142
|
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
141
143
|
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
142
144
|
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
143
145
|
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
144
|
-
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
145
146
|
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
146
147
|
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
147
148
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
@@ -122,12 +122,13 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
122
122
|
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
123
123
|
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
124
124
|
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
125
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
126
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
125
127
|
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
126
128
|
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
127
129
|
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
128
130
|
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
129
131
|
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
130
|
-
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
131
132
|
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
132
133
|
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
133
134
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
@@ -61,6 +61,12 @@ export interface UserNotificationSettingsDto {
|
|
|
61
61
|
* @memberof UserNotificationSettingsDto
|
|
62
62
|
*/
|
|
63
63
|
tasksFrequency: UserNotificationSettingsDtoTasksFrequencyEnum;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UserNotificationSettingsDto
|
|
68
|
+
*/
|
|
69
|
+
taskDailyTime: string | null;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
|
|
@@ -85,6 +91,7 @@ export function instanceOfUserNotificationSettingsDto(value: object): value is U
|
|
|
85
91
|
if (!('payouts' in value) || value['payouts'] === undefined) return false;
|
|
86
92
|
if (!('leadMessagesFrequencyInMinutes' in value) || value['leadMessagesFrequencyInMinutes'] === undefined) return false;
|
|
87
93
|
if (!('tasksFrequency' in value) || value['tasksFrequency'] === undefined) return false;
|
|
94
|
+
if (!('taskDailyTime' in value) || value['taskDailyTime'] === undefined) return false;
|
|
88
95
|
return true;
|
|
89
96
|
}
|
|
90
97
|
|
|
@@ -105,6 +112,7 @@ export function UserNotificationSettingsDtoFromJSONTyped(json: any, ignoreDiscri
|
|
|
105
112
|
'payouts': json['payouts'],
|
|
106
113
|
'leadMessagesFrequencyInMinutes': json['leadMessagesFrequencyInMinutes'],
|
|
107
114
|
'tasksFrequency': json['tasksFrequency'],
|
|
115
|
+
'taskDailyTime': json['taskDailyTime'],
|
|
108
116
|
};
|
|
109
117
|
}
|
|
110
118
|
|
|
@@ -126,6 +134,7 @@ export function UserNotificationSettingsDtoToJSONTyped(value?: UserNotificationS
|
|
|
126
134
|
'payouts': value['payouts'],
|
|
127
135
|
'leadMessagesFrequencyInMinutes': value['leadMessagesFrequencyInMinutes'],
|
|
128
136
|
'tasksFrequency': value['tasksFrequency'],
|
|
137
|
+
'taskDailyTime': value['taskDailyTime'],
|
|
129
138
|
};
|
|
130
139
|
}
|
|
131
140
|
|