@randock/nameshift-api-client 0.0.356 → 0.0.357
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 +6 -0
- package/dist/models/AccountDto.js +4 -0
- package/dist/models/BuyerNotificationDto.d.ts +2 -0
- package/dist/models/BuyerNotificationDto.js +3 -1
- package/dist/models/BuyerNotificationListItemDto.d.ts +2 -0
- package/dist/models/BuyerNotificationListItemDto.js +3 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +6 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +4 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +6 -0
- package/dist/models/PrivateAccountGetMeResponse.js +4 -0
- package/dist/models/UserNotificationDto.d.ts +2 -0
- package/dist/models/UserNotificationDto.js +3 -1
- package/dist/models/UserNotificationListItemDto.d.ts +2 -0
- package/dist/models/UserNotificationListItemDto.js +3 -1
- package/package.json +1 -1
- package/src/models/AccountDto.ts +9 -0
- package/src/models/BuyerNotificationDto.ts +3 -1
- package/src/models/BuyerNotificationListItemDto.ts +3 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +9 -0
- package/src/models/PrivateAccountGetMeResponse.ts +9 -0
- package/src/models/UserNotificationDto.ts +3 -1
- package/src/models/UserNotificationListItemDto.ts +3 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.357
|
|
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.357 --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
|
+
f0638cedbbd380a3234dd7e7ad6a4fa850b891418b47dde289d0f57e55e1f53dc4f126f9a96cade95c994a6f049af234
|
|
@@ -67,6 +67,12 @@ export interface AccountDto {
|
|
|
67
67
|
* @memberof AccountDto
|
|
68
68
|
*/
|
|
69
69
|
leaseToOwnKickbackPercentage: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {boolean}
|
|
73
|
+
* @memberof AccountDto
|
|
74
|
+
*/
|
|
75
|
+
canSell: boolean;
|
|
70
76
|
}
|
|
71
77
|
/**
|
|
72
78
|
* Check if a given object implements the AccountDto interface.
|
|
@@ -42,6 +42,8 @@ function instanceOfAccountDto(value) {
|
|
|
42
42
|
return false;
|
|
43
43
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
+
if (!('canSell' in value) || value['canSell'] === undefined)
|
|
46
|
+
return false;
|
|
45
47
|
return true;
|
|
46
48
|
}
|
|
47
49
|
function AccountDtoFromJSON(json) {
|
|
@@ -60,6 +62,7 @@ function AccountDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoFromJSON)(json['payout']),
|
|
61
63
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
62
64
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
65
|
+
'canSell': json['canSell'],
|
|
63
66
|
};
|
|
64
67
|
}
|
|
65
68
|
function AccountDtoToJSON(json) {
|
|
@@ -79,5 +82,6 @@ function AccountDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
82
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoToJSON)(value['payout']),
|
|
80
83
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
81
84
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
85
|
+
'canSell': value['canSell'],
|
|
82
86
|
};
|
|
83
87
|
}
|
|
@@ -139,6 +139,8 @@ export declare const BuyerNotificationDtoTypeEnum: {
|
|
|
139
139
|
readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
|
|
140
140
|
readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
|
|
141
141
|
readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
|
|
142
|
+
readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
|
|
143
|
+
readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
|
|
142
144
|
};
|
|
143
145
|
export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
|
|
144
146
|
/**
|
|
@@ -99,7 +99,9 @@ exports.BuyerNotificationDtoTypeEnum = {
|
|
|
99
99
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
100
100
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
101
101
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
102
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
102
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
103
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
104
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
103
105
|
};
|
|
104
106
|
/**
|
|
105
107
|
* Check if a given object implements the BuyerNotificationDto interface.
|
|
@@ -132,6 +132,8 @@ export declare const BuyerNotificationListItemDtoTypeEnum: {
|
|
|
132
132
|
readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
|
|
133
133
|
readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
|
|
134
134
|
readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
|
|
135
|
+
readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
|
|
136
|
+
readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
|
|
135
137
|
};
|
|
136
138
|
export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
|
|
137
139
|
/**
|
|
@@ -98,7 +98,9 @@ exports.BuyerNotificationListItemDtoTypeEnum = {
|
|
|
98
98
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
99
99
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
100
100
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
101
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
101
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
102
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
103
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
102
104
|
};
|
|
103
105
|
/**
|
|
104
106
|
* Check if a given object implements the BuyerNotificationListItemDto interface.
|
|
@@ -69,6 +69,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
69
69
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
70
70
|
*/
|
|
71
71
|
leaseToOwnKickbackPercentage: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
76
|
+
*/
|
|
77
|
+
canSell: boolean;
|
|
72
78
|
/**
|
|
73
79
|
*
|
|
74
80
|
* @type {WithSettingsInner}
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -64,6 +64,8 @@ function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWith
|
|
|
64
64
|
return false;
|
|
65
65
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined)
|
|
66
66
|
return false;
|
|
67
|
+
if (!('canSell' in value) || value['canSell'] === undefined)
|
|
68
|
+
return false;
|
|
67
69
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
68
70
|
return false;
|
|
69
71
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
@@ -88,6 +90,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
88
90
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoFromJSON)(json['payout']),
|
|
89
91
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
90
92
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
93
|
+
'canSell': json['canSell'],
|
|
91
94
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
92
95
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
93
96
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -110,6 +113,7 @@ function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFla
|
|
|
110
113
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoToJSON)(value['payout']),
|
|
111
114
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
112
115
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
116
|
+
'canSell': value['canSell'],
|
|
113
117
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
114
118
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
115
119
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -69,6 +69,12 @@ export interface PrivateAccountGetMeResponse {
|
|
|
69
69
|
* @memberof PrivateAccountGetMeResponse
|
|
70
70
|
*/
|
|
71
71
|
leaseToOwnKickbackPercentage: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof PrivateAccountGetMeResponse
|
|
76
|
+
*/
|
|
77
|
+
canSell: boolean;
|
|
72
78
|
/**
|
|
73
79
|
*
|
|
74
80
|
* @type {WithSettingsInner}
|
|
@@ -64,6 +64,8 @@ function instanceOfPrivateAccountGetMeResponse(value) {
|
|
|
64
64
|
return false;
|
|
65
65
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined)
|
|
66
66
|
return false;
|
|
67
|
+
if (!('canSell' in value) || value['canSell'] === undefined)
|
|
68
|
+
return false;
|
|
67
69
|
if (!('settings' in value) || value['settings'] === undefined)
|
|
68
70
|
return false;
|
|
69
71
|
if (!('notifications' in value) || value['notifications'] === undefined)
|
|
@@ -90,6 +92,7 @@ function PrivateAccountGetMeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
92
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoFromJSON)(json['payout']),
|
|
91
93
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoFromJSON)(json['billingInformation']),
|
|
92
94
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
95
|
+
'canSell': json['canSell'],
|
|
93
96
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerFromJSON)(json['settings']),
|
|
94
97
|
'notifications': (json['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoFromJSON)),
|
|
95
98
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -113,6 +116,7 @@ function PrivateAccountGetMeResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
|
113
116
|
'payout': (0, AccountPayoutDto_1.AccountPayoutDtoToJSON)(value['payout']),
|
|
114
117
|
'billingInformation': (0, BillingInformationDto_1.BillingInformationDtoToJSON)(value['billingInformation']),
|
|
115
118
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
119
|
+
'canSell': value['canSell'],
|
|
116
120
|
'settings': (0, WithSettingsInner_1.WithSettingsInnerToJSON)(value['settings']),
|
|
117
121
|
'notifications': (value['notifications'].map(AccountNotificationDto_1.AccountNotificationDtoToJSON)),
|
|
118
122
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -139,6 +139,8 @@ export declare const UserNotificationDtoTypeEnum: {
|
|
|
139
139
|
readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
|
|
140
140
|
readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
|
|
141
141
|
readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
|
|
142
|
+
readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
|
|
143
|
+
readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
|
|
142
144
|
};
|
|
143
145
|
export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
|
|
144
146
|
/**
|
|
@@ -99,7 +99,9 @@ exports.UserNotificationDtoTypeEnum = {
|
|
|
99
99
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
100
100
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
101
101
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
102
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
102
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
103
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
104
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
103
105
|
};
|
|
104
106
|
/**
|
|
105
107
|
* Check if a given object implements the UserNotificationDto interface.
|
|
@@ -132,6 +132,8 @@ export declare const UserNotificationListItemDtoTypeEnum: {
|
|
|
132
132
|
readonly AUCTION_BUYER_OUTBID: "auction.buyer_outbid";
|
|
133
133
|
readonly AUCTION_BID_CREATED_FOR_BIDDER: "auction.bid_created_for_bidder";
|
|
134
134
|
readonly AUCTION_WINNER_CONTINUE_ORDER_EMAIL: "auction.winner_continue_order_email";
|
|
135
|
+
readonly AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: "auction.finished_with_winner_seller_notification";
|
|
136
|
+
readonly AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: "auction.finished_without_winner_seller_notification";
|
|
135
137
|
};
|
|
136
138
|
export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
|
|
137
139
|
/**
|
|
@@ -98,7 +98,9 @@ exports.UserNotificationListItemDtoTypeEnum = {
|
|
|
98
98
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
99
99
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
100
100
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
101
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
101
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
102
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
103
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
102
104
|
};
|
|
103
105
|
/**
|
|
104
106
|
* Check if a given object implements the UserNotificationListItemDto interface.
|
package/package.json
CHANGED
package/src/models/AccountDto.ts
CHANGED
|
@@ -96,6 +96,12 @@ export interface AccountDto {
|
|
|
96
96
|
* @memberof AccountDto
|
|
97
97
|
*/
|
|
98
98
|
leaseToOwnKickbackPercentage: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof AccountDto
|
|
103
|
+
*/
|
|
104
|
+
canSell: boolean;
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
/**
|
|
@@ -110,6 +116,7 @@ export function instanceOfAccountDto(value: object): value is AccountDto {
|
|
|
110
116
|
if (!('payout' in value) || value['payout'] === undefined) return false;
|
|
111
117
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
112
118
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
|
|
119
|
+
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
113
120
|
return true;
|
|
114
121
|
}
|
|
115
122
|
|
|
@@ -131,6 +138,7 @@ export function AccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
131
138
|
'payout': AccountPayoutDtoFromJSON(json['payout']),
|
|
132
139
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
133
140
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
141
|
+
'canSell': json['canSell'],
|
|
134
142
|
};
|
|
135
143
|
}
|
|
136
144
|
|
|
@@ -153,6 +161,7 @@ export function AccountDtoToJSONTyped(value?: AccountDto | null, ignoreDiscrimin
|
|
|
153
161
|
'payout': AccountPayoutDtoToJSON(value['payout']),
|
|
154
162
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
155
163
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
164
|
+
'canSell': value['canSell'],
|
|
156
165
|
};
|
|
157
166
|
}
|
|
158
167
|
|
|
@@ -151,7 +151,9 @@ export const BuyerNotificationDtoTypeEnum = {
|
|
|
151
151
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
152
152
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
153
153
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
154
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
154
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
155
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
156
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
155
157
|
} as const;
|
|
156
158
|
export type BuyerNotificationDtoTypeEnum = typeof BuyerNotificationDtoTypeEnum[keyof typeof BuyerNotificationDtoTypeEnum];
|
|
157
159
|
|
|
@@ -137,7 +137,9 @@ export const BuyerNotificationListItemDtoTypeEnum = {
|
|
|
137
137
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
138
138
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
139
139
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
140
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
140
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
141
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
142
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
141
143
|
} as const;
|
|
142
144
|
export type BuyerNotificationListItemDtoTypeEnum = typeof BuyerNotificationListItemDtoTypeEnum[keyof typeof BuyerNotificationListItemDtoTypeEnum];
|
|
143
145
|
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -110,6 +110,12 @@ export interface IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
110
110
|
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
111
111
|
*/
|
|
112
112
|
leaseToOwnKickbackPercentage: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto
|
|
117
|
+
*/
|
|
118
|
+
canSell: boolean;
|
|
113
119
|
/**
|
|
114
120
|
*
|
|
115
121
|
* @type {WithSettingsInner}
|
|
@@ -165,6 +171,7 @@ export function instanceOfIntersectionAccountDtoWithSettingsDtoWithNotifications
|
|
|
165
171
|
if (!('payout' in value) || value['payout'] === undefined) return false;
|
|
166
172
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
167
173
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
|
|
174
|
+
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
168
175
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
169
176
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
170
177
|
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
@@ -189,6 +196,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
189
196
|
'payout': AccountPayoutDtoFromJSON(json['payout']),
|
|
190
197
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
191
198
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
199
|
+
'canSell': json['canSell'],
|
|
192
200
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
193
201
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
194
202
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -214,6 +222,7 @@ export function IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFea
|
|
|
214
222
|
'payout': AccountPayoutDtoToJSON(value['payout']),
|
|
215
223
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
216
224
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
225
|
+
'canSell': value['canSell'],
|
|
217
226
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
218
227
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
219
228
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -110,6 +110,12 @@ export interface PrivateAccountGetMeResponse {
|
|
|
110
110
|
* @memberof PrivateAccountGetMeResponse
|
|
111
111
|
*/
|
|
112
112
|
leaseToOwnKickbackPercentage: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof PrivateAccountGetMeResponse
|
|
117
|
+
*/
|
|
118
|
+
canSell: boolean;
|
|
113
119
|
/**
|
|
114
120
|
*
|
|
115
121
|
* @type {WithSettingsInner}
|
|
@@ -171,6 +177,7 @@ export function instanceOfPrivateAccountGetMeResponse(value: object): value is P
|
|
|
171
177
|
if (!('payout' in value) || value['payout'] === undefined) return false;
|
|
172
178
|
if (!('billingInformation' in value) || value['billingInformation'] === undefined) return false;
|
|
173
179
|
if (!('leaseToOwnKickbackPercentage' in value) || value['leaseToOwnKickbackPercentage'] === undefined) return false;
|
|
180
|
+
if (!('canSell' in value) || value['canSell'] === undefined) return false;
|
|
174
181
|
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
175
182
|
if (!('notifications' in value) || value['notifications'] === undefined) return false;
|
|
176
183
|
if (!('enabledFeatures' in value) || value['enabledFeatures'] === undefined) return false;
|
|
@@ -196,6 +203,7 @@ export function PrivateAccountGetMeResponseFromJSONTyped(json: any, ignoreDiscri
|
|
|
196
203
|
'payout': AccountPayoutDtoFromJSON(json['payout']),
|
|
197
204
|
'billingInformation': BillingInformationDtoFromJSON(json['billingInformation']),
|
|
198
205
|
'leaseToOwnKickbackPercentage': json['leaseToOwnKickbackPercentage'],
|
|
206
|
+
'canSell': json['canSell'],
|
|
199
207
|
'settings': WithSettingsInnerFromJSON(json['settings']),
|
|
200
208
|
'notifications': ((json['notifications'] as Array<any>).map(AccountNotificationDtoFromJSON)),
|
|
201
209
|
'enabledFeatures': json['enabledFeatures'],
|
|
@@ -222,6 +230,7 @@ export function PrivateAccountGetMeResponseToJSONTyped(value?: PrivateAccountGet
|
|
|
222
230
|
'payout': AccountPayoutDtoToJSON(value['payout']),
|
|
223
231
|
'billingInformation': BillingInformationDtoToJSON(value['billingInformation']),
|
|
224
232
|
'leaseToOwnKickbackPercentage': value['leaseToOwnKickbackPercentage'],
|
|
233
|
+
'canSell': value['canSell'],
|
|
225
234
|
'settings': WithSettingsInnerToJSON(value['settings']),
|
|
226
235
|
'notifications': ((value['notifications'] as Array<any>).map(AccountNotificationDtoToJSON)),
|
|
227
236
|
'enabledFeatures': value['enabledFeatures'],
|
|
@@ -151,7 +151,9 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
151
151
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
152
152
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
153
153
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
154
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
154
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
155
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
156
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
155
157
|
} as const;
|
|
156
158
|
export type UserNotificationDtoTypeEnum = typeof UserNotificationDtoTypeEnum[keyof typeof UserNotificationDtoTypeEnum];
|
|
157
159
|
|
|
@@ -137,7 +137,9 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
137
137
|
TASKS_REMINDER_ORDER: 'tasks.reminder.order',
|
|
138
138
|
AUCTION_BUYER_OUTBID: 'auction.buyer_outbid',
|
|
139
139
|
AUCTION_BID_CREATED_FOR_BIDDER: 'auction.bid_created_for_bidder',
|
|
140
|
-
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email'
|
|
140
|
+
AUCTION_WINNER_CONTINUE_ORDER_EMAIL: 'auction.winner_continue_order_email',
|
|
141
|
+
AUCTION_FINISHED_WITH_WINNER_SELLER_NOTIFICATION: 'auction.finished_with_winner_seller_notification',
|
|
142
|
+
AUCTION_FINISHED_WITHOUT_WINNER_SELLER_NOTIFICATION: 'auction.finished_without_winner_seller_notification'
|
|
141
143
|
} as const;
|
|
142
144
|
export type UserNotificationListItemDtoTypeEnum = typeof UserNotificationListItemDtoTypeEnum[keyof typeof UserNotificationListItemDtoTypeEnum];
|
|
143
145
|
|