@randock/nameshift-api-client 0.0.327 → 0.0.328
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/.openapi-generator/FILES +7 -0
- package/README.md +3 -3
- package/dist/apis/BuyersApi.d.ts +72 -1
- package/dist/apis/BuyersApi.js +332 -0
- package/dist/models/BulkMarkBuyerNotificationsAsReadInputDto.d.ts +38 -0
- package/dist/models/BulkMarkBuyerNotificationsAsReadInputDto.js +55 -0
- package/dist/models/BuyerNotificationAttachmentDto.d.ts +44 -0
- package/dist/models/BuyerNotificationAttachmentDto.js +59 -0
- package/dist/models/BuyerNotificationDto.d.ts +145 -0
- package/dist/models/BuyerNotificationDto.js +152 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +138 -0
- package/dist/models/BuyerNotificationListItemDto.js +147 -0
- package/dist/models/BuyerNotificationSettingsDto.d.ts +32 -0
- package/dist/models/BuyerNotificationSettingsDto.js +51 -0
- package/dist/models/BuyerSessionDto.d.ts +6 -0
- package/dist/models/BuyerSessionDto.js +4 -0
- package/dist/models/ListBuyerNotifications200Response.d.ts +47 -0
- package/dist/models/ListBuyerNotifications200Response.js +62 -0
- package/dist/models/UpdateBuyerNotificationSettingsInput.d.ts +32 -0
- package/dist/models/UpdateBuyerNotificationSettingsInput.js +49 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/BuyersApi.ts +302 -0
- package/src/models/BulkMarkBuyerNotificationsAsReadInputDto.ts +75 -0
- package/src/models/BuyerNotificationAttachmentDto.ts +84 -0
- package/src/models/BuyerNotificationDto.ts +207 -0
- package/src/models/BuyerNotificationListItemDto.ts +190 -0
- package/src/models/BuyerNotificationSettingsDto.ts +66 -0
- package/src/models/BuyerSessionDto.ts +9 -0
- package/src/models/ListBuyerNotifications200Response.ts +106 -0
- package/src/models/UpdateBuyerNotificationSettingsInput.ts +65 -0
- package/src/models/index.ts +7 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { BuyerNotificationAttachmentDto } from './BuyerNotificationAttachmentDto';
|
|
17
|
+
import {
|
|
18
|
+
BuyerNotificationAttachmentDtoFromJSON,
|
|
19
|
+
BuyerNotificationAttachmentDtoFromJSONTyped,
|
|
20
|
+
BuyerNotificationAttachmentDtoToJSON,
|
|
21
|
+
BuyerNotificationAttachmentDtoToJSONTyped,
|
|
22
|
+
} from './BuyerNotificationAttachmentDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface BuyerNotificationDto
|
|
28
|
+
*/
|
|
29
|
+
export interface BuyerNotificationDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BuyerNotificationDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BuyerNotificationDto
|
|
40
|
+
*/
|
|
41
|
+
type: BuyerNotificationDtoTypeEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof BuyerNotificationDto
|
|
46
|
+
*/
|
|
47
|
+
isRead: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof BuyerNotificationDto
|
|
52
|
+
*/
|
|
53
|
+
sentAt: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BuyerNotificationDto
|
|
58
|
+
*/
|
|
59
|
+
subject: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BuyerNotificationDto
|
|
64
|
+
*/
|
|
65
|
+
body: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<BuyerNotificationAttachmentDto>}
|
|
69
|
+
* @memberof BuyerNotificationDto
|
|
70
|
+
*/
|
|
71
|
+
attachments: Array<BuyerNotificationAttachmentDto>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export const BuyerNotificationDtoTypeEnum = {
|
|
79
|
+
DOMAIN_OFFER_EMAIL_VERIFICATION: 'domain_offer_email_verification',
|
|
80
|
+
ACCOUNT_REGISTERED: 'account_registered',
|
|
81
|
+
ACCOUNT_ONBOARDING_FINISHED: 'account_onboarding_finished',
|
|
82
|
+
ACCOUNT_ONBOARDING_REJECTED: 'account_onboarding_rejected',
|
|
83
|
+
BUYER_ACCESS_TOKEN: 'buyer_access_token',
|
|
84
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER: 'domain_transfer.request_auth_code_to_seller',
|
|
85
|
+
DOMAIN_TRANSFER_VALIDATION_REQUIRED_BY_BUYER_EMAIL: 'domain_transfer_validation_required_by_buyer_email',
|
|
86
|
+
DOMAIN_TRANSFER_VALIDATION_AUTO_CONFIRMED_EMAIL: 'domain_transfer_validation_auto_confirmed_email',
|
|
87
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_REMINDER: 'domain_transfer.request_auth_code_to_seller.reminder',
|
|
88
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_AUTH_CODE_INVALID: 'domain_transfer.request_auth_code_to_seller_auth_code_invalid',
|
|
89
|
+
DOMAIN_TRANSFER_DOMAIN_TRANSFER_REQUIRES_UNLOCK_DOMAIN: 'domain_transfer.domain_transfer_requires_unlock_domain',
|
|
90
|
+
DOMAIN_TRANSFER_NOTIFY_BUYER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_buyer_to_initialize_transfer',
|
|
91
|
+
DOMAIN_TRANSFER_NOTIFY_SELLER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_seller_to_initialize_transfer',
|
|
92
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
93
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
94
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
95
|
+
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
96
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
97
|
+
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
98
|
+
DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller',
|
|
99
|
+
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: 'domain_transfer.send_auth_code_to_buyer',
|
|
100
|
+
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: 'domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file',
|
|
101
|
+
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
102
|
+
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
103
|
+
EXPORT_COMPLETED: 'export_completed',
|
|
104
|
+
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
105
|
+
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
106
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
107
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
108
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
109
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
110
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED: 'lease_to_own_subscription_renew_failed',
|
|
111
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'lease_to_own_subscription_renew_failed_require_customer_action',
|
|
112
|
+
RENT_SUBSCRIPTION_RENEW_FAILED: 'rent_subscription_renew_failed',
|
|
113
|
+
RENT_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'rent_subscription_renew_failed_require_customer_action',
|
|
114
|
+
LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'lease_to_own_subscription_cancelled',
|
|
115
|
+
RENT_SUBSCRIPTION_CANCELLED: 'rent_subscription_cancelled',
|
|
116
|
+
SELLER_LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'seller_lease_to_own_subscription_cancelled',
|
|
117
|
+
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
118
|
+
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
119
|
+
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
120
|
+
PASSWORD_RESET: 'password_reset',
|
|
121
|
+
BUYER_INVOICE: 'buyer_invoice',
|
|
122
|
+
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
123
|
+
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
124
|
+
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
125
|
+
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
126
|
+
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
127
|
+
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
128
|
+
LEAD_CLOSED_BUYER: 'lead.closed.buyer',
|
|
129
|
+
DOMAIN_SOLD_SELLER_NOTIFICATION: 'domain_sold_seller_notification',
|
|
130
|
+
DOMAIN_SOLD_BY_LEASE_TO_OWN_SELLER_NOTIFICATION: 'domain_sold_by_lease_to_own_seller_notification',
|
|
131
|
+
DOMAIN_SOLD_BY_RENT_SELLER_NOTIFICATION: 'domain_sold_by_rent_seller_notification',
|
|
132
|
+
DOMAIN_TRANSFER_COMPLETED_FOR_SELLER: 'domain_transfer.completed_for_seller',
|
|
133
|
+
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
134
|
+
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
135
|
+
SELLER_INVOICE: 'seller_invoice',
|
|
136
|
+
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
137
|
+
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
138
|
+
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
139
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
140
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
141
|
+
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
142
|
+
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
143
|
+
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
144
|
+
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
145
|
+
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
146
|
+
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
147
|
+
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
148
|
+
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
149
|
+
} as const;
|
|
150
|
+
export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Check if a given object implements the BuyerNotificationDto interface.
|
|
155
|
+
*/
|
|
156
|
+
export function instanceOfBuyerNotificationDto(value: object): value is BuyerNotificationDto {
|
|
157
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
158
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
159
|
+
if (!('isRead' in value) || value['isRead'] === undefined) return false;
|
|
160
|
+
if (!('sentAt' in value) || value['sentAt'] === undefined) return false;
|
|
161
|
+
if (!('subject' in value) || value['subject'] === undefined) return false;
|
|
162
|
+
if (!('body' in value) || value['body'] === undefined) return false;
|
|
163
|
+
if (!('attachments' in value) || value['attachments'] === undefined) return false;
|
|
164
|
+
return true;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export function BuyerNotificationDtoFromJSON(json: any): BuyerNotificationDto {
|
|
168
|
+
return BuyerNotificationDtoFromJSONTyped(json, false);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function BuyerNotificationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerNotificationDto {
|
|
172
|
+
if (json == null) {
|
|
173
|
+
return json;
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
|
|
177
|
+
'id': json['id'],
|
|
178
|
+
'type': json['type'],
|
|
179
|
+
'isRead': json['isRead'],
|
|
180
|
+
'sentAt': (new Date(json['sentAt'])),
|
|
181
|
+
'subject': json['subject'],
|
|
182
|
+
'body': json['body'],
|
|
183
|
+
'attachments': ((json['attachments'] as Array<any>).map(BuyerNotificationAttachmentDtoFromJSON)),
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function BuyerNotificationDtoToJSON(json: any): BuyerNotificationDto {
|
|
188
|
+
return BuyerNotificationDtoToJSONTyped(json, false);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export function BuyerNotificationDtoToJSONTyped(value?: BuyerNotificationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
192
|
+
if (value == null) {
|
|
193
|
+
return value;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
return {
|
|
197
|
+
|
|
198
|
+
'id': value['id'],
|
|
199
|
+
'type': value['type'],
|
|
200
|
+
'isRead': value['isRead'],
|
|
201
|
+
'sentAt': ((value['sentAt']).toISOString()),
|
|
202
|
+
'subject': value['subject'],
|
|
203
|
+
'body': value['body'],
|
|
204
|
+
'attachments': ((value['attachments'] as Array<any>).map(BuyerNotificationAttachmentDtoToJSON)),
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface BuyerNotificationListItemDto
|
|
20
|
+
*/
|
|
21
|
+
export interface BuyerNotificationListItemDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof BuyerNotificationListItemDto
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BuyerNotificationListItemDto
|
|
32
|
+
*/
|
|
33
|
+
type: BuyerNotificationListItemDtoTypeEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof BuyerNotificationListItemDto
|
|
38
|
+
*/
|
|
39
|
+
isRead: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof BuyerNotificationListItemDto
|
|
44
|
+
*/
|
|
45
|
+
sentAt: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof BuyerNotificationListItemDto
|
|
50
|
+
*/
|
|
51
|
+
subject: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof BuyerNotificationListItemDto
|
|
56
|
+
*/
|
|
57
|
+
hasAttachments: boolean;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const BuyerNotificationListItemDtoTypeEnum = {
|
|
65
|
+
DOMAIN_OFFER_EMAIL_VERIFICATION: 'domain_offer_email_verification',
|
|
66
|
+
ACCOUNT_REGISTERED: 'account_registered',
|
|
67
|
+
ACCOUNT_ONBOARDING_FINISHED: 'account_onboarding_finished',
|
|
68
|
+
ACCOUNT_ONBOARDING_REJECTED: 'account_onboarding_rejected',
|
|
69
|
+
BUYER_ACCESS_TOKEN: 'buyer_access_token',
|
|
70
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER: 'domain_transfer.request_auth_code_to_seller',
|
|
71
|
+
DOMAIN_TRANSFER_VALIDATION_REQUIRED_BY_BUYER_EMAIL: 'domain_transfer_validation_required_by_buyer_email',
|
|
72
|
+
DOMAIN_TRANSFER_VALIDATION_AUTO_CONFIRMED_EMAIL: 'domain_transfer_validation_auto_confirmed_email',
|
|
73
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_REMINDER: 'domain_transfer.request_auth_code_to_seller.reminder',
|
|
74
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_AUTH_CODE_INVALID: 'domain_transfer.request_auth_code_to_seller_auth_code_invalid',
|
|
75
|
+
DOMAIN_TRANSFER_DOMAIN_TRANSFER_REQUIRES_UNLOCK_DOMAIN: 'domain_transfer.domain_transfer_requires_unlock_domain',
|
|
76
|
+
DOMAIN_TRANSFER_NOTIFY_BUYER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_buyer_to_initialize_transfer',
|
|
77
|
+
DOMAIN_TRANSFER_NOTIFY_SELLER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_seller_to_initialize_transfer',
|
|
78
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
79
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
80
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
81
|
+
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
82
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
83
|
+
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
84
|
+
DOMAIN_TRANSFER_LEASE_TO_OWN_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.lease_to_own_subscription_send_owned_domain_auth_code_to_seller',
|
|
85
|
+
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER: 'domain_transfer.send_auth_code_to_buyer',
|
|
86
|
+
DOMAIN_TRANSFER_SEND_AUTH_CODE_TO_BUYER_WITH_HOLDERCHANGE_SE_NU_FILE: 'domain_transfer.send_auth_code_to_buyer_with_holderchange_se_nu_file',
|
|
87
|
+
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
88
|
+
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
89
|
+
EXPORT_COMPLETED: 'export_completed',
|
|
90
|
+
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
91
|
+
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
92
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
93
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
94
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
95
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
96
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED: 'lease_to_own_subscription_renew_failed',
|
|
97
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'lease_to_own_subscription_renew_failed_require_customer_action',
|
|
98
|
+
RENT_SUBSCRIPTION_RENEW_FAILED: 'rent_subscription_renew_failed',
|
|
99
|
+
RENT_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'rent_subscription_renew_failed_require_customer_action',
|
|
100
|
+
LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'lease_to_own_subscription_cancelled',
|
|
101
|
+
RENT_SUBSCRIPTION_CANCELLED: 'rent_subscription_cancelled',
|
|
102
|
+
SELLER_LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'seller_lease_to_own_subscription_cancelled',
|
|
103
|
+
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
104
|
+
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
105
|
+
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
106
|
+
PASSWORD_RESET: 'password_reset',
|
|
107
|
+
BUYER_INVOICE: 'buyer_invoice',
|
|
108
|
+
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
109
|
+
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
110
|
+
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
111
|
+
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
112
|
+
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
113
|
+
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
114
|
+
LEAD_CLOSED_BUYER: 'lead.closed.buyer',
|
|
115
|
+
DOMAIN_SOLD_SELLER_NOTIFICATION: 'domain_sold_seller_notification',
|
|
116
|
+
DOMAIN_SOLD_BY_LEASE_TO_OWN_SELLER_NOTIFICATION: 'domain_sold_by_lease_to_own_seller_notification',
|
|
117
|
+
DOMAIN_SOLD_BY_RENT_SELLER_NOTIFICATION: 'domain_sold_by_rent_seller_notification',
|
|
118
|
+
DOMAIN_TRANSFER_COMPLETED_FOR_SELLER: 'domain_transfer.completed_for_seller',
|
|
119
|
+
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
120
|
+
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
121
|
+
SELLER_INVOICE: 'seller_invoice',
|
|
122
|
+
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
123
|
+
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
124
|
+
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice',
|
|
125
|
+
LEAD_MESSAGE_BATCH: 'lead_message.batch',
|
|
126
|
+
TASKS_REMINDER_BATCH: 'tasks.reminder.batch',
|
|
127
|
+
LEAD_MESSAGE_OFFER: 'lead_message.offer',
|
|
128
|
+
LEAD_MESSAGE_OFFER_ACCEPTED: 'lead_message.offer_accepted',
|
|
129
|
+
LEAD_MESSAGE_OFFER_WITHDRAWN: 'lead_message.offer_withdrawn',
|
|
130
|
+
LEAD_MESSAGE_OFFER_REJECTED: 'lead_message.offer_rejected',
|
|
131
|
+
LEAD_MESSAGE_MESSAGE: 'lead_message.message',
|
|
132
|
+
TASKS_REMINDER_LEAD: 'tasks.reminder.lead',
|
|
133
|
+
TASKS_REMINDER_DOMAIN_TRANSFER: 'tasks.reminder.domain_transfer',
|
|
134
|
+
TASKS_REMINDER_ORDER: 'tasks.reminder.order'
|
|
135
|
+
} as const;
|
|
136
|
+
export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Check if a given object implements the BuyerNotificationListItemDto interface.
|
|
141
|
+
*/
|
|
142
|
+
export function instanceOfBuyerNotificationListItemDto(value: object): value is BuyerNotificationListItemDto {
|
|
143
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
144
|
+
if (!('type' in value) || value['type'] === undefined) return false;
|
|
145
|
+
if (!('isRead' in value) || value['isRead'] === undefined) return false;
|
|
146
|
+
if (!('sentAt' in value) || value['sentAt'] === undefined) return false;
|
|
147
|
+
if (!('subject' in value) || value['subject'] === undefined) return false;
|
|
148
|
+
if (!('hasAttachments' in value) || value['hasAttachments'] === undefined) return false;
|
|
149
|
+
return true;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function BuyerNotificationListItemDtoFromJSON(json: any): BuyerNotificationListItemDto {
|
|
153
|
+
return BuyerNotificationListItemDtoFromJSONTyped(json, false);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function BuyerNotificationListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerNotificationListItemDto {
|
|
157
|
+
if (json == null) {
|
|
158
|
+
return json;
|
|
159
|
+
}
|
|
160
|
+
return {
|
|
161
|
+
|
|
162
|
+
'id': json['id'],
|
|
163
|
+
'type': json['type'],
|
|
164
|
+
'isRead': json['isRead'],
|
|
165
|
+
'sentAt': (new Date(json['sentAt'])),
|
|
166
|
+
'subject': json['subject'],
|
|
167
|
+
'hasAttachments': json['hasAttachments'],
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function BuyerNotificationListItemDtoToJSON(json: any): BuyerNotificationListItemDto {
|
|
172
|
+
return BuyerNotificationListItemDtoToJSONTyped(json, false);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function BuyerNotificationListItemDtoToJSONTyped(value?: BuyerNotificationListItemDto | null, ignoreDiscriminator: boolean = false): any {
|
|
176
|
+
if (value == null) {
|
|
177
|
+
return value;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
|
|
182
|
+
'id': value['id'],
|
|
183
|
+
'type': value['type'],
|
|
184
|
+
'isRead': value['isRead'],
|
|
185
|
+
'sentAt': ((value['sentAt']).toISOString()),
|
|
186
|
+
'subject': value['subject'],
|
|
187
|
+
'hasAttachments': value['hasAttachments'],
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface BuyerNotificationSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface BuyerNotificationSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof BuyerNotificationSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
allDisabled: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the BuyerNotificationSettingsDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfBuyerNotificationSettingsDto(value: object): value is BuyerNotificationSettingsDto {
|
|
34
|
+
if (!('allDisabled' in value) || value['allDisabled'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function BuyerNotificationSettingsDtoFromJSON(json: any): BuyerNotificationSettingsDto {
|
|
39
|
+
return BuyerNotificationSettingsDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function BuyerNotificationSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): BuyerNotificationSettingsDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'allDisabled': json['allDisabled'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function BuyerNotificationSettingsDtoToJSON(json: any): BuyerNotificationSettingsDto {
|
|
53
|
+
return BuyerNotificationSettingsDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function BuyerNotificationSettingsDtoToJSONTyped(value?: BuyerNotificationSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'allDisabled': value['allDisabled'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -61,6 +61,12 @@ export interface BuyerSessionDto {
|
|
|
61
61
|
* @memberof BuyerSessionDto
|
|
62
62
|
*/
|
|
63
63
|
hasSubscriptions: boolean;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof BuyerSessionDto
|
|
68
|
+
*/
|
|
69
|
+
unreadNotificationsNumber: number;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
|
|
@@ -85,6 +91,7 @@ export function instanceOfBuyerSessionDto(value: object): value is BuyerSessionD
|
|
|
85
91
|
if (!('roles' in value) || value['roles'] === undefined) return false;
|
|
86
92
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
87
93
|
if (!('hasSubscriptions' in value) || value['hasSubscriptions'] === undefined) return false;
|
|
94
|
+
if (!('unreadNotificationsNumber' in value) || value['unreadNotificationsNumber'] === undefined) return false;
|
|
88
95
|
return true;
|
|
89
96
|
}
|
|
90
97
|
|
|
@@ -105,6 +112,7 @@ export function BuyerSessionDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
105
112
|
'roles': json['roles'],
|
|
106
113
|
'type': json['type'],
|
|
107
114
|
'hasSubscriptions': json['hasSubscriptions'],
|
|
115
|
+
'unreadNotificationsNumber': json['unreadNotificationsNumber'],
|
|
108
116
|
};
|
|
109
117
|
}
|
|
110
118
|
|
|
@@ -126,6 +134,7 @@ export function BuyerSessionDtoToJSONTyped(value?: BuyerSessionDto | null, ignor
|
|
|
126
134
|
'roles': value['roles'],
|
|
127
135
|
'type': value['type'],
|
|
128
136
|
'hasSubscriptions': value['hasSubscriptions'],
|
|
137
|
+
'unreadNotificationsNumber': value['unreadNotificationsNumber'],
|
|
129
138
|
};
|
|
130
139
|
}
|
|
131
140
|
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { BuyerNotificationListItemDto } from './BuyerNotificationListItemDto';
|
|
24
|
+
import {
|
|
25
|
+
BuyerNotificationListItemDtoFromJSON,
|
|
26
|
+
BuyerNotificationListItemDtoFromJSONTyped,
|
|
27
|
+
BuyerNotificationListItemDtoToJSON,
|
|
28
|
+
BuyerNotificationListItemDtoToJSONTyped,
|
|
29
|
+
} from './BuyerNotificationListItemDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ListBuyerNotifications200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface ListBuyerNotifications200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<BuyerNotificationListItemDto>}
|
|
47
|
+
* @memberof ListBuyerNotifications200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<BuyerNotificationListItemDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof ListBuyerNotifications200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof ListBuyerNotifications200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ListBuyerNotifications200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfListBuyerNotifications200Response(value: object): value is ListBuyerNotifications200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ListBuyerNotifications200ResponseFromJSON(json: any): ListBuyerNotifications200Response {
|
|
75
|
+
return ListBuyerNotifications200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ListBuyerNotifications200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBuyerNotifications200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(BuyerNotificationListItemDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ListBuyerNotifications200ResponseToJSON(json: any): ListBuyerNotifications200Response {
|
|
91
|
+
return ListBuyerNotifications200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ListBuyerNotifications200ResponseToJSONTyped(value?: ListBuyerNotifications200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(BuyerNotificationListItemDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateBuyerNotificationSettingsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateBuyerNotificationSettingsInput {
|
|
22
|
+
/**
|
|
23
|
+
* Disable all notifications
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof UpdateBuyerNotificationSettingsInput
|
|
26
|
+
*/
|
|
27
|
+
allDisabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateBuyerNotificationSettingsInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateBuyerNotificationSettingsInput(value: object): value is UpdateBuyerNotificationSettingsInput {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function UpdateBuyerNotificationSettingsInputFromJSON(json: any): UpdateBuyerNotificationSettingsInput {
|
|
38
|
+
return UpdateBuyerNotificationSettingsInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function UpdateBuyerNotificationSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBuyerNotificationSettingsInput {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'allDisabled': json['allDisabled'] == null ? undefined : json['allDisabled'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function UpdateBuyerNotificationSettingsInputToJSON(json: any): UpdateBuyerNotificationSettingsInput {
|
|
52
|
+
return UpdateBuyerNotificationSettingsInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpdateBuyerNotificationSettingsInputToJSONTyped(value?: UpdateBuyerNotificationSettingsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'allDisabled': value['allDisabled'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|