@randock/nameshift-api-client 0.0.316 → 0.0.318
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/AccountsApi.d.ts +3 -3
- package/dist/apis/AccountsApi.js +1 -1
- package/dist/apis/NotificationsApi.d.ts +70 -0
- package/dist/apis/NotificationsApi.js +309 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/BulkMarkNotificationsAsReadInputDto.d.ts +38 -0
- package/dist/models/BulkMarkNotificationsAsReadInputDto.js +55 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/ListNotifications200Response.d.ts +47 -0
- package/dist/models/ListNotifications200Response.js +62 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +122 -0
- package/dist/models/PrivateAccountGetMeResponse.js +119 -0
- package/dist/models/UserNotificationAttachmentDto.d.ts +44 -0
- package/dist/models/UserNotificationAttachmentDto.js +59 -0
- package/dist/models/UserNotificationDto.d.ts +132 -0
- package/dist/models/UserNotificationDto.js +139 -0
- package/dist/models/UserNotificationListItemDto.d.ts +125 -0
- package/dist/models/UserNotificationListItemDto.js +134 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +6 -6
- package/src/apis/NotificationsApi.ts +251 -0
- package/src/apis/index.ts +1 -0
- package/src/models/BulkMarkNotificationsAsReadInputDto.ts +75 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/ListNotifications200Response.ts +106 -0
- package/src/models/PrivateAccountGetMeResponse.ts +229 -0
- package/src/models/UserNotificationAttachmentDto.ts +84 -0
- package/src/models/UserNotificationDto.ts +194 -0
- package/src/models/UserNotificationListItemDto.ts +177 -0
- package/src/models/index.ts +6 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserNotificationDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfUserNotificationDto = instanceOfUserNotificationDto;
|
|
18
|
+
exports.UserNotificationDtoFromJSON = UserNotificationDtoFromJSON;
|
|
19
|
+
exports.UserNotificationDtoFromJSONTyped = UserNotificationDtoFromJSONTyped;
|
|
20
|
+
exports.UserNotificationDtoToJSON = UserNotificationDtoToJSON;
|
|
21
|
+
exports.UserNotificationDtoToJSONTyped = UserNotificationDtoToJSONTyped;
|
|
22
|
+
var UserNotificationAttachmentDto_1 = require("./UserNotificationAttachmentDto");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.UserNotificationDtoTypeEnum = {
|
|
27
|
+
DOMAIN_OFFER_EMAIL_VERIFICATION: 'domain_offer_email_verification',
|
|
28
|
+
ACCOUNT_REGISTERED: 'account_registered',
|
|
29
|
+
ACCOUNT_ONBOARDING_FINISHED: 'account_onboarding_finished',
|
|
30
|
+
ACCOUNT_ONBOARDING_REJECTED: 'account_onboarding_rejected',
|
|
31
|
+
BUYER_ACCESS_TOKEN: 'buyer_access_token',
|
|
32
|
+
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
33
|
+
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
34
|
+
DOMAIN_SOLD_SELLER_NOTIFICATION: 'domain_sold_seller_notification',
|
|
35
|
+
DOMAIN_SOLD_BY_LEASE_TO_OWN_SELLER_NOTIFICATION: 'domain_sold_by_lease_to_own_seller_notification',
|
|
36
|
+
DOMAIN_SOLD_BY_RENT_SELLER_NOTIFICATION: 'domain_sold_by_rent_seller_notification',
|
|
37
|
+
DOMAIN_TRANSFER_VALIDATION_AUTO_CONFIRMED_EMAIL: 'domain_transfer_validation_auto_confirmed_email',
|
|
38
|
+
DOMAIN_TRANSFER_VALIDATION_REQUIRED_BY_BUYER_EMAIL: 'domain_transfer_validation_required_by_buyer_email',
|
|
39
|
+
DOMAIN_TRANSFER_COMPLETED_FOR_SELLER: 'domain_transfer.completed_for_seller',
|
|
40
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER: 'domain_transfer.request_auth_code_to_seller',
|
|
41
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_REMINDER: 'domain_transfer.request_auth_code_to_seller.reminder',
|
|
42
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_AUTH_CODE_INVALID: 'domain_transfer.request_auth_code_to_seller_auth_code_invalid',
|
|
43
|
+
DOMAIN_TRANSFER_DOMAIN_TRANSFER_REQUIRES_UNLOCK_DOMAIN: 'domain_transfer.domain_transfer_requires_unlock_domain',
|
|
44
|
+
DOMAIN_TRANSFER_NOTIFY_BUYER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_buyer_to_initialize_transfer',
|
|
45
|
+
DOMAIN_TRANSFER_NOTIFY_SELLER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_seller_to_initialize_transfer',
|
|
46
|
+
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
47
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
48
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
49
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
50
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
51
|
+
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
52
|
+
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',
|
|
53
|
+
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
54
|
+
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
55
|
+
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
56
|
+
LEAD_CLOSED_BUYER: 'lead.closed.buyer',
|
|
57
|
+
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
58
|
+
EXPORT_COMPLETED: 'export_completed',
|
|
59
|
+
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
60
|
+
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
61
|
+
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
62
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
63
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
64
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
65
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
66
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED: 'lease_to_own_subscription_renew_failed',
|
|
67
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'lease_to_own_subscription_renew_failed_require_customer_action',
|
|
68
|
+
RENT_SUBSCRIPTION_RENEW_FAILED: 'rent_subscription_renew_failed',
|
|
69
|
+
RENT_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'rent_subscription_renew_failed_require_customer_action',
|
|
70
|
+
LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'lease_to_own_subscription_cancelled',
|
|
71
|
+
RENT_SUBSCRIPTION_CANCELLED: 'rent_subscription_cancelled',
|
|
72
|
+
SELLER_LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'seller_lease_to_own_subscription_cancelled',
|
|
73
|
+
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
74
|
+
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
75
|
+
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
76
|
+
PASSWORD_RESET: 'password_reset',
|
|
77
|
+
BUYER_INVOICE: 'buyer_invoice',
|
|
78
|
+
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
79
|
+
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
80
|
+
SELLER_INVOICE: 'seller_invoice',
|
|
81
|
+
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
82
|
+
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
83
|
+
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice'
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the UserNotificationDto interface.
|
|
87
|
+
*/
|
|
88
|
+
function instanceOfUserNotificationDto(value) {
|
|
89
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
90
|
+
return false;
|
|
91
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
92
|
+
return false;
|
|
93
|
+
if (!('isRead' in value) || value['isRead'] === undefined)
|
|
94
|
+
return false;
|
|
95
|
+
if (!('sentAt' in value) || value['sentAt'] === undefined)
|
|
96
|
+
return false;
|
|
97
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
98
|
+
return false;
|
|
99
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
100
|
+
return false;
|
|
101
|
+
if (!('attachments' in value) || value['attachments'] === undefined)
|
|
102
|
+
return false;
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
function UserNotificationDtoFromJSON(json) {
|
|
106
|
+
return UserNotificationDtoFromJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
function UserNotificationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
109
|
+
if (json == null) {
|
|
110
|
+
return json;
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
'id': json['id'],
|
|
114
|
+
'type': json['type'],
|
|
115
|
+
'isRead': json['isRead'],
|
|
116
|
+
'sentAt': (new Date(json['sentAt'])),
|
|
117
|
+
'subject': json['subject'],
|
|
118
|
+
'body': json['body'],
|
|
119
|
+
'attachments': (json['attachments'].map(UserNotificationAttachmentDto_1.UserNotificationAttachmentDtoFromJSON)),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function UserNotificationDtoToJSON(json) {
|
|
123
|
+
return UserNotificationDtoToJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
function UserNotificationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
126
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
127
|
+
if (value == null) {
|
|
128
|
+
return value;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
'id': value['id'],
|
|
132
|
+
'type': value['type'],
|
|
133
|
+
'isRead': value['isRead'],
|
|
134
|
+
'sentAt': ((value['sentAt']).toISOString()),
|
|
135
|
+
'subject': value['subject'],
|
|
136
|
+
'body': value['body'],
|
|
137
|
+
'attachments': (value['attachments'].map(UserNotificationAttachmentDto_1.UserNotificationAttachmentDtoToJSON)),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserNotificationListItemDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UserNotificationListItemDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserNotificationListItemDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserNotificationListItemDto
|
|
28
|
+
*/
|
|
29
|
+
type: UserNotificationListItemDtoTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UserNotificationListItemDto
|
|
34
|
+
*/
|
|
35
|
+
isRead: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof UserNotificationListItemDto
|
|
40
|
+
*/
|
|
41
|
+
sentAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UserNotificationListItemDto
|
|
46
|
+
*/
|
|
47
|
+
subject: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof UserNotificationListItemDto
|
|
52
|
+
*/
|
|
53
|
+
hasAttachments: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const UserNotificationListItemDtoTypeEnum: {
|
|
59
|
+
readonly DOMAIN_OFFER_EMAIL_VERIFICATION: "domain_offer_email_verification";
|
|
60
|
+
readonly ACCOUNT_REGISTERED: "account_registered";
|
|
61
|
+
readonly ACCOUNT_ONBOARDING_FINISHED: "account_onboarding_finished";
|
|
62
|
+
readonly ACCOUNT_ONBOARDING_REJECTED: "account_onboarding_rejected";
|
|
63
|
+
readonly BUYER_ACCESS_TOKEN: "buyer_access_token";
|
|
64
|
+
readonly PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: "purchases_are_closed_due_domains_is_sold_or_deleted";
|
|
65
|
+
readonly DOMAIN_OWNER_CHANGED: "domain_owner_changed";
|
|
66
|
+
readonly DOMAIN_SOLD_SELLER_NOTIFICATION: "domain_sold_seller_notification";
|
|
67
|
+
readonly DOMAIN_SOLD_BY_LEASE_TO_OWN_SELLER_NOTIFICATION: "domain_sold_by_lease_to_own_seller_notification";
|
|
68
|
+
readonly DOMAIN_SOLD_BY_RENT_SELLER_NOTIFICATION: "domain_sold_by_rent_seller_notification";
|
|
69
|
+
readonly DOMAIN_TRANSFER_VALIDATION_AUTO_CONFIRMED_EMAIL: "domain_transfer_validation_auto_confirmed_email";
|
|
70
|
+
readonly DOMAIN_TRANSFER_VALIDATION_REQUIRED_BY_BUYER_EMAIL: "domain_transfer_validation_required_by_buyer_email";
|
|
71
|
+
readonly DOMAIN_TRANSFER_COMPLETED_FOR_SELLER: "domain_transfer.completed_for_seller";
|
|
72
|
+
readonly DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER: "domain_transfer.request_auth_code_to_seller";
|
|
73
|
+
readonly DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_REMINDER: "domain_transfer.request_auth_code_to_seller.reminder";
|
|
74
|
+
readonly DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_AUTH_CODE_INVALID: "domain_transfer.request_auth_code_to_seller_auth_code_invalid";
|
|
75
|
+
readonly DOMAIN_TRANSFER_DOMAIN_TRANSFER_REQUIRES_UNLOCK_DOMAIN: "domain_transfer.domain_transfer_requires_unlock_domain";
|
|
76
|
+
readonly DOMAIN_TRANSFER_NOTIFY_BUYER_TO_INITIALIZE_TRANSFER: "domain_transfer.notify_buyer_to_initialize_transfer";
|
|
77
|
+
readonly DOMAIN_TRANSFER_NOTIFY_SELLER_TO_INITIALIZE_TRANSFER: "domain_transfer.notify_seller_to_initialize_transfer";
|
|
78
|
+
readonly DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: "domain_transfer.recreate_domain_in_seller_account_error";
|
|
79
|
+
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_seller";
|
|
80
|
+
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: "domain_transfer.send_ips_tag_instructions_to_seller_reminder";
|
|
81
|
+
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: "domain_transfer.send_ips_tag_instructions_to_buyer";
|
|
82
|
+
readonly DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: "domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller";
|
|
83
|
+
readonly DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: "domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller";
|
|
84
|
+
readonly 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
|
+
readonly REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: "request_ips_tag_to_buyer_ips_tag_invalid";
|
|
86
|
+
readonly REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: "request_ips_tag_to_seller_ips_tag_invalid";
|
|
87
|
+
readonly LEAD_CLOSED_SELLER: "lead.closed.seller";
|
|
88
|
+
readonly LEAD_CLOSED_BUYER: "lead.closed.buyer";
|
|
89
|
+
readonly ORDER_HAS_BEEN_PAID: "order_has_been_paid";
|
|
90
|
+
readonly EXPORT_COMPLETED: "export_completed";
|
|
91
|
+
readonly DOMAIN_IMPORT_FINISHED: "domain_import_finished";
|
|
92
|
+
readonly SELLER_PAYOUT_WAS_PAID: "seller_payout_was_paid";
|
|
93
|
+
readonly DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: "domain_offer_verified_buyer_access_link_email";
|
|
94
|
+
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: "domain_offer_accepted_continue_order_email";
|
|
95
|
+
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: "domain_offer_accepted_continue_lease_to_own_email";
|
|
96
|
+
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: "domain_offer_accepted_continue_lease_to_own_email_installments_range";
|
|
97
|
+
readonly DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: "domain_offer_accepted_continue_rent_email";
|
|
98
|
+
readonly LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED: "lease_to_own_subscription_renew_failed";
|
|
99
|
+
readonly LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: "lease_to_own_subscription_renew_failed_require_customer_action";
|
|
100
|
+
readonly RENT_SUBSCRIPTION_RENEW_FAILED: "rent_subscription_renew_failed";
|
|
101
|
+
readonly RENT_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: "rent_subscription_renew_failed_require_customer_action";
|
|
102
|
+
readonly LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: "lease_to_own_subscription_cancelled";
|
|
103
|
+
readonly RENT_SUBSCRIPTION_CANCELLED: "rent_subscription_cancelled";
|
|
104
|
+
readonly SELLER_LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: "seller_lease_to_own_subscription_cancelled";
|
|
105
|
+
readonly SELLER_RENT_SUBSCRIPTION_CANCELLED: "seller_rent_subscription_cancelled";
|
|
106
|
+
readonly LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: "lease_to_own_subscription_has_been_activated_for_first_time";
|
|
107
|
+
readonly RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: "rent_subscription_has_been_activated_for_first_time";
|
|
108
|
+
readonly PASSWORD_RESET: "password_reset";
|
|
109
|
+
readonly BUYER_INVOICE: "buyer_invoice";
|
|
110
|
+
readonly BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "buyer_lease_to_own_installment_invoice";
|
|
111
|
+
readonly BUYER_RENT_INSTALLMENT_INVOICE: "buyer_rent_installment_invoice";
|
|
112
|
+
readonly SELLER_INVOICE: "seller_invoice";
|
|
113
|
+
readonly SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: "seller_lease_to_own_installment_invoice";
|
|
114
|
+
readonly SELLER_RENT_INSTALLMENT_INVOICE: "seller_rent_installment_invoice";
|
|
115
|
+
readonly AFFILIATE_COMMISSIONS_INVOICE: "affiliate_commissions_invoice";
|
|
116
|
+
};
|
|
117
|
+
export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
|
|
118
|
+
/**
|
|
119
|
+
* Check if a given object implements the UserNotificationListItemDto interface.
|
|
120
|
+
*/
|
|
121
|
+
export declare function instanceOfUserNotificationListItemDto(value: object): value is UserNotificationListItemDto;
|
|
122
|
+
export declare function UserNotificationListItemDtoFromJSON(json: any): UserNotificationListItemDto;
|
|
123
|
+
export declare function UserNotificationListItemDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserNotificationListItemDto;
|
|
124
|
+
export declare function UserNotificationListItemDtoToJSON(json: any): UserNotificationListItemDto;
|
|
125
|
+
export declare function UserNotificationListItemDtoToJSONTyped(value?: UserNotificationListItemDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserNotificationListItemDtoTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfUserNotificationListItemDto = instanceOfUserNotificationListItemDto;
|
|
18
|
+
exports.UserNotificationListItemDtoFromJSON = UserNotificationListItemDtoFromJSON;
|
|
19
|
+
exports.UserNotificationListItemDtoFromJSONTyped = UserNotificationListItemDtoFromJSONTyped;
|
|
20
|
+
exports.UserNotificationListItemDtoToJSON = UserNotificationListItemDtoToJSON;
|
|
21
|
+
exports.UserNotificationListItemDtoToJSONTyped = UserNotificationListItemDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.UserNotificationListItemDtoTypeEnum = {
|
|
26
|
+
DOMAIN_OFFER_EMAIL_VERIFICATION: 'domain_offer_email_verification',
|
|
27
|
+
ACCOUNT_REGISTERED: 'account_registered',
|
|
28
|
+
ACCOUNT_ONBOARDING_FINISHED: 'account_onboarding_finished',
|
|
29
|
+
ACCOUNT_ONBOARDING_REJECTED: 'account_onboarding_rejected',
|
|
30
|
+
BUYER_ACCESS_TOKEN: 'buyer_access_token',
|
|
31
|
+
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
32
|
+
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
33
|
+
DOMAIN_SOLD_SELLER_NOTIFICATION: 'domain_sold_seller_notification',
|
|
34
|
+
DOMAIN_SOLD_BY_LEASE_TO_OWN_SELLER_NOTIFICATION: 'domain_sold_by_lease_to_own_seller_notification',
|
|
35
|
+
DOMAIN_SOLD_BY_RENT_SELLER_NOTIFICATION: 'domain_sold_by_rent_seller_notification',
|
|
36
|
+
DOMAIN_TRANSFER_VALIDATION_AUTO_CONFIRMED_EMAIL: 'domain_transfer_validation_auto_confirmed_email',
|
|
37
|
+
DOMAIN_TRANSFER_VALIDATION_REQUIRED_BY_BUYER_EMAIL: 'domain_transfer_validation_required_by_buyer_email',
|
|
38
|
+
DOMAIN_TRANSFER_COMPLETED_FOR_SELLER: 'domain_transfer.completed_for_seller',
|
|
39
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER: 'domain_transfer.request_auth_code_to_seller',
|
|
40
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_REMINDER: 'domain_transfer.request_auth_code_to_seller.reminder',
|
|
41
|
+
DOMAIN_TRANSFER_REQUEST_AUTH_CODE_TO_SELLER_AUTH_CODE_INVALID: 'domain_transfer.request_auth_code_to_seller_auth_code_invalid',
|
|
42
|
+
DOMAIN_TRANSFER_DOMAIN_TRANSFER_REQUIRES_UNLOCK_DOMAIN: 'domain_transfer.domain_transfer_requires_unlock_domain',
|
|
43
|
+
DOMAIN_TRANSFER_NOTIFY_BUYER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_buyer_to_initialize_transfer',
|
|
44
|
+
DOMAIN_TRANSFER_NOTIFY_SELLER_TO_INITIALIZE_TRANSFER: 'domain_transfer.notify_seller_to_initialize_transfer',
|
|
45
|
+
DOMAIN_TRANSFER_RECREATE_DOMAIN_IN_SELLER_ACCOUNT_ERROR: 'domain_transfer.recreate_domain_in_seller_account_error',
|
|
46
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_seller',
|
|
47
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_SELLER_REMINDER: 'domain_transfer.send_ips_tag_instructions_to_seller_reminder',
|
|
48
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_BUYER: 'domain_transfer.send_ips_tag_instructions_to_buyer',
|
|
49
|
+
DOMAIN_TRANSFER_SEND_IPS_TAG_INSTRUCTIONS_TO_START_TRANSFER_TO_SELLER: 'domain_transfer.send_ips_tag_instructions_to_start_transfer_to_seller',
|
|
50
|
+
DOMAIN_TRANSFER_RENT_SUBSCRIPTION_SEND_OWNED_DOMAIN_AUTH_CODE_TO_SELLER: 'domain_transfer.rent_subscription_send_owned_domain_auth_code_to_seller',
|
|
51
|
+
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',
|
|
52
|
+
REQUEST_IPS_TAG_TO_BUYER_IPS_TAG_INVALID: 'request_ips_tag_to_buyer_ips_tag_invalid',
|
|
53
|
+
REQUEST_IPS_TAG_TO_SELLER_IPS_TAG_INVALID: 'request_ips_tag_to_seller_ips_tag_invalid',
|
|
54
|
+
LEAD_CLOSED_SELLER: 'lead.closed.seller',
|
|
55
|
+
LEAD_CLOSED_BUYER: 'lead.closed.buyer',
|
|
56
|
+
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
57
|
+
EXPORT_COMPLETED: 'export_completed',
|
|
58
|
+
DOMAIN_IMPORT_FINISHED: 'domain_import_finished',
|
|
59
|
+
SELLER_PAYOUT_WAS_PAID: 'seller_payout_was_paid',
|
|
60
|
+
DOMAIN_OFFER_VERIFIED_BUYER_ACCESS_LINK_EMAIL: 'domain_offer_verified_buyer_access_link_email',
|
|
61
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_ORDER_EMAIL: 'domain_offer_accepted_continue_order_email',
|
|
62
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL: 'domain_offer_accepted_continue_lease_to_own_email',
|
|
63
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_LEASE_TO_OWN_EMAIL_INSTALLMENTS_RANGE: 'domain_offer_accepted_continue_lease_to_own_email_installments_range',
|
|
64
|
+
DOMAIN_OFFER_ACCEPTED_CONTINUE_RENT_EMAIL: 'domain_offer_accepted_continue_rent_email',
|
|
65
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED: 'lease_to_own_subscription_renew_failed',
|
|
66
|
+
LEASE_TO_OWN_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'lease_to_own_subscription_renew_failed_require_customer_action',
|
|
67
|
+
RENT_SUBSCRIPTION_RENEW_FAILED: 'rent_subscription_renew_failed',
|
|
68
|
+
RENT_SUBSCRIPTION_RENEW_FAILED_REQUIRE_CUSTOMER_ACTION: 'rent_subscription_renew_failed_require_customer_action',
|
|
69
|
+
LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'lease_to_own_subscription_cancelled',
|
|
70
|
+
RENT_SUBSCRIPTION_CANCELLED: 'rent_subscription_cancelled',
|
|
71
|
+
SELLER_LEASE_TO_OWN_SUBSCRIPTION_CANCELLED: 'seller_lease_to_own_subscription_cancelled',
|
|
72
|
+
SELLER_RENT_SUBSCRIPTION_CANCELLED: 'seller_rent_subscription_cancelled',
|
|
73
|
+
LEASE_TO_OWN_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'lease_to_own_subscription_has_been_activated_for_first_time',
|
|
74
|
+
RENT_SUBSCRIPTION_HAS_BEEN_ACTIVATED_FOR_FIRST_TIME: 'rent_subscription_has_been_activated_for_first_time',
|
|
75
|
+
PASSWORD_RESET: 'password_reset',
|
|
76
|
+
BUYER_INVOICE: 'buyer_invoice',
|
|
77
|
+
BUYER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'buyer_lease_to_own_installment_invoice',
|
|
78
|
+
BUYER_RENT_INSTALLMENT_INVOICE: 'buyer_rent_installment_invoice',
|
|
79
|
+
SELLER_INVOICE: 'seller_invoice',
|
|
80
|
+
SELLER_LEASE_TO_OWN_INSTALLMENT_INVOICE: 'seller_lease_to_own_installment_invoice',
|
|
81
|
+
SELLER_RENT_INSTALLMENT_INVOICE: 'seller_rent_installment_invoice',
|
|
82
|
+
AFFILIATE_COMMISSIONS_INVOICE: 'affiliate_commissions_invoice'
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Check if a given object implements the UserNotificationListItemDto interface.
|
|
86
|
+
*/
|
|
87
|
+
function instanceOfUserNotificationListItemDto(value) {
|
|
88
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
89
|
+
return false;
|
|
90
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
91
|
+
return false;
|
|
92
|
+
if (!('isRead' in value) || value['isRead'] === undefined)
|
|
93
|
+
return false;
|
|
94
|
+
if (!('sentAt' in value) || value['sentAt'] === undefined)
|
|
95
|
+
return false;
|
|
96
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
97
|
+
return false;
|
|
98
|
+
if (!('hasAttachments' in value) || value['hasAttachments'] === undefined)
|
|
99
|
+
return false;
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
function UserNotificationListItemDtoFromJSON(json) {
|
|
103
|
+
return UserNotificationListItemDtoFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
function UserNotificationListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
'id': json['id'],
|
|
111
|
+
'type': json['type'],
|
|
112
|
+
'isRead': json['isRead'],
|
|
113
|
+
'sentAt': (new Date(json['sentAt'])),
|
|
114
|
+
'subject': json['subject'],
|
|
115
|
+
'hasAttachments': json['hasAttachments'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
function UserNotificationListItemDtoToJSON(json) {
|
|
119
|
+
return UserNotificationListItemDtoToJSONTyped(json, false);
|
|
120
|
+
}
|
|
121
|
+
function UserNotificationListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
122
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
123
|
+
if (value == null) {
|
|
124
|
+
return value;
|
|
125
|
+
}
|
|
126
|
+
return {
|
|
127
|
+
'id': value['id'],
|
|
128
|
+
'type': value['type'],
|
|
129
|
+
'isRead': value['isRead'],
|
|
130
|
+
'sentAt': ((value['sentAt']).toISOString()),
|
|
131
|
+
'subject': value['subject'],
|
|
132
|
+
'hasAttachments': value['hasAttachments'],
|
|
133
|
+
};
|
|
134
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export * from './BatchReadSellerLeadMessageInput';
|
|
|
45
45
|
export * from './BatchUpdateDomainsInput';
|
|
46
46
|
export * from './BatchVerifyBuyerLeadsInput';
|
|
47
47
|
export * from './BillingInformationDto';
|
|
48
|
+
export * from './BulkMarkNotificationsAsReadInputDto';
|
|
48
49
|
export * from './BuyerDomainTransferAuthCodeDto';
|
|
49
50
|
export * from './BuyerDomainTransferListItemDomainDto';
|
|
50
51
|
export * from './BuyerDomainTransferListItemDto';
|
|
@@ -168,6 +169,7 @@ export * from './ListAccounts200Response';
|
|
|
168
169
|
export * from './ListBankAccounts200Response';
|
|
169
170
|
export * from './ListDomains200Response';
|
|
170
171
|
export * from './ListLeadMessagesDto';
|
|
172
|
+
export * from './ListNotifications200Response';
|
|
171
173
|
export * from './LoginDto';
|
|
172
174
|
export * from './LoginInput';
|
|
173
175
|
export * from './MajesticMetrics';
|
|
@@ -194,6 +196,7 @@ export * from './PaginateResponse';
|
|
|
194
196
|
export * from './PaginateResponseLinks';
|
|
195
197
|
export * from './PaginateResponseMeta';
|
|
196
198
|
export * from './ParsedDomainDto';
|
|
199
|
+
export * from './PrivateAccountGetMeResponse';
|
|
197
200
|
export * from './PublicAccountInformationDto';
|
|
198
201
|
export * from './PublicDomainDto';
|
|
199
202
|
export * from './PublicDomainDtoSeo';
|
|
@@ -279,6 +282,9 @@ export * from './UpdateOrderInput';
|
|
|
279
282
|
export * from './UpdateSubscriptionBillingPeriodicityInput';
|
|
280
283
|
export * from './UpdateSubscriptionInput';
|
|
281
284
|
export * from './UsBankAccountDetails';
|
|
285
|
+
export * from './UserNotificationAttachmentDto';
|
|
286
|
+
export * from './UserNotificationDto';
|
|
287
|
+
export * from './UserNotificationListItemDto';
|
|
282
288
|
export * from './UserPasswordResetDto';
|
|
283
289
|
export * from './ValidateTaxNumberDto';
|
|
284
290
|
export * from './ValidateTaxNumberInput';
|
package/dist/models/index.js
CHANGED
|
@@ -63,6 +63,7 @@ __exportStar(require("./BatchReadSellerLeadMessageInput"), exports);
|
|
|
63
63
|
__exportStar(require("./BatchUpdateDomainsInput"), exports);
|
|
64
64
|
__exportStar(require("./BatchVerifyBuyerLeadsInput"), exports);
|
|
65
65
|
__exportStar(require("./BillingInformationDto"), exports);
|
|
66
|
+
__exportStar(require("./BulkMarkNotificationsAsReadInputDto"), exports);
|
|
66
67
|
__exportStar(require("./BuyerDomainTransferAuthCodeDto"), exports);
|
|
67
68
|
__exportStar(require("./BuyerDomainTransferListItemDomainDto"), exports);
|
|
68
69
|
__exportStar(require("./BuyerDomainTransferListItemDto"), exports);
|
|
@@ -186,6 +187,7 @@ __exportStar(require("./ListAccounts200Response"), exports);
|
|
|
186
187
|
__exportStar(require("./ListBankAccounts200Response"), exports);
|
|
187
188
|
__exportStar(require("./ListDomains200Response"), exports);
|
|
188
189
|
__exportStar(require("./ListLeadMessagesDto"), exports);
|
|
190
|
+
__exportStar(require("./ListNotifications200Response"), exports);
|
|
189
191
|
__exportStar(require("./LoginDto"), exports);
|
|
190
192
|
__exportStar(require("./LoginInput"), exports);
|
|
191
193
|
__exportStar(require("./MajesticMetrics"), exports);
|
|
@@ -212,6 +214,7 @@ __exportStar(require("./PaginateResponse"), exports);
|
|
|
212
214
|
__exportStar(require("./PaginateResponseLinks"), exports);
|
|
213
215
|
__exportStar(require("./PaginateResponseMeta"), exports);
|
|
214
216
|
__exportStar(require("./ParsedDomainDto"), exports);
|
|
217
|
+
__exportStar(require("./PrivateAccountGetMeResponse"), exports);
|
|
215
218
|
__exportStar(require("./PublicAccountInformationDto"), exports);
|
|
216
219
|
__exportStar(require("./PublicDomainDto"), exports);
|
|
217
220
|
__exportStar(require("./PublicDomainDtoSeo"), exports);
|
|
@@ -297,6 +300,9 @@ __exportStar(require("./UpdateOrderInput"), exports);
|
|
|
297
300
|
__exportStar(require("./UpdateSubscriptionBillingPeriodicityInput"), exports);
|
|
298
301
|
__exportStar(require("./UpdateSubscriptionInput"), exports);
|
|
299
302
|
__exportStar(require("./UsBankAccountDetails"), exports);
|
|
303
|
+
__exportStar(require("./UserNotificationAttachmentDto"), exports);
|
|
304
|
+
__exportStar(require("./UserNotificationDto"), exports);
|
|
305
|
+
__exportStar(require("./UserNotificationListItemDto"), exports);
|
|
300
306
|
__exportStar(require("./UserPasswordResetDto"), exports);
|
|
301
307
|
__exportStar(require("./ValidateTaxNumberDto"), exports);
|
|
302
308
|
__exportStar(require("./ValidateTaxNumberInput"), exports);
|
package/package.json
CHANGED
package/src/apis/AccountsApi.ts
CHANGED
|
@@ -21,9 +21,9 @@ import type {
|
|
|
21
21
|
BadRequestException,
|
|
22
22
|
GetAllAffiliateCommissions200Response,
|
|
23
23
|
GetAllReferrals200Response,
|
|
24
|
-
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto,
|
|
25
24
|
MoneyDto,
|
|
26
25
|
NotFoundException,
|
|
26
|
+
PrivateAccountGetMeResponse,
|
|
27
27
|
SetPayoutProviderInput,
|
|
28
28
|
ThrottlerException,
|
|
29
29
|
UpdateAccountBillingInformationInput,
|
|
@@ -42,12 +42,12 @@ import {
|
|
|
42
42
|
GetAllAffiliateCommissions200ResponseToJSON,
|
|
43
43
|
GetAllReferrals200ResponseFromJSON,
|
|
44
44
|
GetAllReferrals200ResponseToJSON,
|
|
45
|
-
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoFromJSON,
|
|
46
|
-
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoToJSON,
|
|
47
45
|
MoneyDtoFromJSON,
|
|
48
46
|
MoneyDtoToJSON,
|
|
49
47
|
NotFoundExceptionFromJSON,
|
|
50
48
|
NotFoundExceptionToJSON,
|
|
49
|
+
PrivateAccountGetMeResponseFromJSON,
|
|
50
|
+
PrivateAccountGetMeResponseToJSON,
|
|
51
51
|
SetPayoutProviderInputFromJSON,
|
|
52
52
|
SetPayoutProviderInputToJSON,
|
|
53
53
|
ThrottlerExceptionFromJSON,
|
|
@@ -378,7 +378,7 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
378
378
|
/**
|
|
379
379
|
*
|
|
380
380
|
*/
|
|
381
|
-
async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
381
|
+
async meRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PrivateAccountGetMeResponse>> {
|
|
382
382
|
const queryParameters: any = {};
|
|
383
383
|
|
|
384
384
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -398,13 +398,13 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
398
398
|
query: queryParameters,
|
|
399
399
|
}, initOverrides);
|
|
400
400
|
|
|
401
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
401
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PrivateAccountGetMeResponseFromJSON(jsonValue));
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
405
|
*
|
|
406
406
|
*/
|
|
407
|
-
async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
407
|
+
async me(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PrivateAccountGetMeResponse> {
|
|
408
408
|
const response = await this.meRaw(initOverrides);
|
|
409
409
|
return await response.value();
|
|
410
410
|
}
|