@randock/nameshift-api-client 0.0.441 → 0.0.443
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 +20 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +49 -1
- package/dist/apis/AdminApi.js +187 -0
- package/dist/models/AdminBankDepositAccountBankAccountDto.d.ts +39 -0
- package/dist/models/AdminBankDepositAccountBankAccountDto.js +56 -0
- package/dist/models/AdminBankDepositAccountDto.d.ts +38 -0
- package/dist/models/AdminBankDepositAccountDto.js +55 -0
- package/dist/models/AdminBankDepositDto.d.ts +76 -0
- package/dist/models/AdminBankDepositDto.js +81 -0
- package/dist/models/AdminBankDepositInvoiceDto.d.ts +54 -0
- package/dist/models/AdminBankDepositInvoiceDto.js +69 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.d.ts +39 -0
- package/dist/models/AdminBankDepositInvoiceTransactionDto.js +56 -0
- package/dist/models/AirwallexBankAccountDetailsDto.d.ts +1 -1
- package/dist/models/DomainMinimalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainModernLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainModernLandingPageDesignDto.js +63 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -24
- package/dist/models/DomainSalesInformationDto.js +5 -16
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.d.ts +30 -0
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.js +59 -0
- package/dist/models/DomainSellerDto.d.ts +0 -6
- package/dist/models/DomainSellerDto.js +0 -4
- package/dist/models/LandingPageDesignSettingsDto.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsDto.js +62 -0
- package/dist/models/LandingPageDesignSettingsInput.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsInput.js +56 -0
- package/dist/models/LandingPageInput.d.ts +6 -47
- package/dist/models/LandingPageInput.js +3 -16
- package/dist/models/LandingPageMinimalDesignSettingsDto.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsDto.js +51 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.js +49 -0
- package/dist/models/LandingPageModernDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageModernDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -47
- package/dist/models/LandingPageSettingsDto.js +5 -32
- package/dist/models/LinkBankDepositToBankAccountInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToBankAccountInput.js +51 -0
- package/dist/models/LinkBankDepositToInvoiceInput.d.ts +32 -0
- package/dist/models/LinkBankDepositToInvoiceInput.js +51 -0
- package/dist/models/ListBankDeposits200Response.d.ts +47 -0
- package/dist/models/ListBankDeposits200Response.js +62 -0
- package/dist/models/OrderListItemDto.d.ts +1 -1
- package/dist/models/OrderListItemDtoTransaction.d.ts +95 -6
- package/dist/models/OrderListItemDtoTransaction.js +93 -8
- package/dist/models/WithSettingsInner.d.ts +0 -24
- package/dist/models/WithSettingsInner.js +0 -16
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +20 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +192 -0
- package/src/models/AdminBankDepositAccountBankAccountDto.ts +83 -0
- package/src/models/AdminBankDepositAccountDto.ts +75 -0
- package/src/models/AdminBankDepositDto.ts +144 -0
- package/src/models/AdminBankDepositInvoiceDto.ts +97 -0
- package/src/models/AdminBankDepositInvoiceTransactionDto.ts +83 -0
- package/src/models/AirwallexBankAccountDetailsDto.ts +1 -1
- package/src/models/DomainMinimalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainModernLandingPageDesignDto.ts +93 -0
- package/src/models/DomainOriginalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainSalesInformationDto.ts +16 -36
- package/src/models/DomainSalesInformationDtoLandingPageDesign.ts +84 -0
- package/src/models/DomainSellerDto.ts +0 -9
- package/src/models/LandingPageDesignSettingsDto.ts +106 -0
- package/src/models/LandingPageDesignSettingsInput.ts +103 -0
- package/src/models/LandingPageInput.ts +15 -63
- package/src/models/LandingPageMinimalDesignSettingsDto.ts +66 -0
- package/src/models/LandingPageMinimalDesignSettingsInput.ts +65 -0
- package/src/models/LandingPageModernDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageModernDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageSettingsDto.ts +16 -71
- package/src/models/LinkBankDepositToBankAccountInput.ts +66 -0
- package/src/models/LinkBankDepositToInvoiceInput.ts +66 -0
- package/src/models/ListBankDeposits200Response.ts +106 -0
- package/src/models/OrderListItemDto.ts +1 -1
- package/src/models/OrderListItemDtoTransaction.ts +106 -19
- package/src/models/WithSettingsInner.ts +0 -36
- package/src/models/index.ts +20 -0
|
@@ -13,13 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrderListItemDtoTransactionGatewayEnum = void 0;
|
|
16
|
+
exports.OrderListItemDtoTransactionPaymentMethodEnum = exports.OrderListItemDtoTransactionGatewayEnum = exports.OrderListItemDtoTransactionStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfOrderListItemDtoTransaction = instanceOfOrderListItemDtoTransaction;
|
|
18
18
|
exports.OrderListItemDtoTransactionFromJSON = OrderListItemDtoTransactionFromJSON;
|
|
19
19
|
exports.OrderListItemDtoTransactionFromJSONTyped = OrderListItemDtoTransactionFromJSONTyped;
|
|
20
20
|
exports.OrderListItemDtoTransactionToJSON = OrderListItemDtoTransactionToJSON;
|
|
21
21
|
exports.OrderListItemDtoTransactionToJSONTyped = OrderListItemDtoTransactionToJSONTyped;
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.OrderListItemDtoTransactionStatusEnum = {
|
|
26
|
+
OPEN: 'open',
|
|
27
|
+
PAID: 'paid',
|
|
28
|
+
PENDING: 'pending',
|
|
29
|
+
ERROR: 'error',
|
|
30
|
+
CANCELLED: 'cancelled',
|
|
31
|
+
REFUNDED: 'refunded'
|
|
32
|
+
};
|
|
23
33
|
/**
|
|
24
34
|
* @export
|
|
25
35
|
*/
|
|
@@ -29,17 +39,90 @@ exports.OrderListItemDtoTransactionGatewayEnum = {
|
|
|
29
39
|
NICKY: 'nicky',
|
|
30
40
|
AIRWALLEX: 'airwallex'
|
|
31
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
exports.OrderListItemDtoTransactionPaymentMethodEnum = {
|
|
46
|
+
ACSS_DEBIT: 'acss_debit',
|
|
47
|
+
AFFIRM: 'affirm',
|
|
48
|
+
AFTERPAY_CLEARPAY: 'afterpay_clearpay',
|
|
49
|
+
ALIPAY: 'alipay',
|
|
50
|
+
ALMA: 'alma',
|
|
51
|
+
AMAZON_PAY: 'amazon_pay',
|
|
52
|
+
APPLE_PAY: 'apple_pay',
|
|
53
|
+
AU_BECS_DEBIT: 'au_becs_debit',
|
|
54
|
+
BACS_DEBIT: 'bacs_debit',
|
|
55
|
+
BANCOMAT_PAY: 'bancomat_pay',
|
|
56
|
+
BANCONTACT: 'bancontact',
|
|
57
|
+
BELFIUS: 'belfius',
|
|
58
|
+
BILLIE: 'billie',
|
|
59
|
+
BLIK: 'blik',
|
|
60
|
+
BOLETO: 'boleto',
|
|
61
|
+
BANK_TRANSFER: 'bank_transfer',
|
|
62
|
+
CARD: 'card',
|
|
63
|
+
CARD_PRESENT: 'card_present',
|
|
64
|
+
CASHAPP: 'cashapp',
|
|
65
|
+
CUSTOMER_BALANCE: 'customer_balance',
|
|
66
|
+
EPS: 'eps',
|
|
67
|
+
FPX: 'fpx',
|
|
68
|
+
GIFTCARD: 'giftcard',
|
|
69
|
+
GIROPAY: 'giropay',
|
|
70
|
+
GOOGLE_PAY: 'google_pay',
|
|
71
|
+
GOPAY: 'gopay',
|
|
72
|
+
GRABPAY: 'grabpay',
|
|
73
|
+
ID_BANK_TRANSFER: 'id_bank_transfer',
|
|
74
|
+
IDEAL: 'ideal',
|
|
75
|
+
IN3: 'in3',
|
|
76
|
+
INTERAC_PRESENT: 'interac_present',
|
|
77
|
+
KAKAO_PAY: 'kakao_pay',
|
|
78
|
+
KBC: 'kbc',
|
|
79
|
+
KLARNA: 'klarna',
|
|
80
|
+
KONBINI: 'konbini',
|
|
81
|
+
KR_CARD: 'kr_card',
|
|
82
|
+
LINK: 'link',
|
|
83
|
+
MB_WAY: 'mb_way',
|
|
84
|
+
MOBILEPAY: 'mobilepay',
|
|
85
|
+
MULTIBANCO: 'multibanco',
|
|
86
|
+
NAVER_PAY: 'naver_pay',
|
|
87
|
+
NZ_BANK_ACCOUNT: 'nz_bank_account',
|
|
88
|
+
OXXO: 'oxxo',
|
|
89
|
+
PAY_BY_BANK: 'pay_by_bank',
|
|
90
|
+
PAYCO: 'payco',
|
|
91
|
+
PAYNOW: 'paynow',
|
|
92
|
+
PAYPAL: 'paypal',
|
|
93
|
+
PAYTO: 'payto',
|
|
94
|
+
PIX: 'pix',
|
|
95
|
+
PROMPTPAY: 'promptpay',
|
|
96
|
+
PRZELEWY24: 'przelewy24',
|
|
97
|
+
QRIS: 'qris',
|
|
98
|
+
RECHNUNG: 'rechnung',
|
|
99
|
+
REVOLUT_PAY: 'revolut_pay',
|
|
100
|
+
SAMSUNG_PAY: 'samsung_pay',
|
|
101
|
+
SATISPAY: 'satispay',
|
|
102
|
+
SEPA_DEBIT: 'sepa_debit',
|
|
103
|
+
SHOPEEPAY: 'shopeepay',
|
|
104
|
+
SOFORT: 'sofort',
|
|
105
|
+
STRIPE_BALANCE: 'stripe_balance',
|
|
106
|
+
SWISH: 'swish',
|
|
107
|
+
TWINT: 'twint',
|
|
108
|
+
US_BANK_ACCOUNT: 'us_bank_account',
|
|
109
|
+
VOUCHER: 'voucher',
|
|
110
|
+
WECHAT_PAY: 'wechat_pay',
|
|
111
|
+
ZIP: 'zip'
|
|
112
|
+
};
|
|
32
113
|
/**
|
|
33
114
|
* Check if a given object implements the OrderListItemDtoTransaction interface.
|
|
34
115
|
*/
|
|
35
116
|
function instanceOfOrderListItemDtoTransaction(value) {
|
|
36
117
|
if (!('id' in value) || value['id'] === undefined)
|
|
37
118
|
return false;
|
|
119
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
120
|
+
return false;
|
|
38
121
|
if (!('gateway' in value) || value['gateway'] === undefined)
|
|
39
122
|
return false;
|
|
40
|
-
if (!('
|
|
123
|
+
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined)
|
|
41
124
|
return false;
|
|
42
|
-
if (!('
|
|
125
|
+
if (!('depositId' in value) || value['depositId'] === undefined)
|
|
43
126
|
return false;
|
|
44
127
|
return true;
|
|
45
128
|
}
|
|
@@ -52,9 +135,10 @@ function OrderListItemDtoTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
135
|
}
|
|
53
136
|
return {
|
|
54
137
|
'id': json['id'],
|
|
138
|
+
'status': json['status'],
|
|
55
139
|
'gateway': json['gateway'],
|
|
56
|
-
'
|
|
57
|
-
'
|
|
140
|
+
'paymentMethod': json['paymentMethod'],
|
|
141
|
+
'depositId': json['depositId'],
|
|
58
142
|
};
|
|
59
143
|
}
|
|
60
144
|
function OrderListItemDtoTransactionToJSON(json) {
|
|
@@ -67,8 +151,9 @@ function OrderListItemDtoTransactionToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
151
|
}
|
|
68
152
|
return {
|
|
69
153
|
'id': value['id'],
|
|
154
|
+
'status': value['status'],
|
|
70
155
|
'gateway': value['gateway'],
|
|
71
|
-
'
|
|
72
|
-
'
|
|
156
|
+
'paymentMethod': value['paymentMethod'],
|
|
157
|
+
'depositId': value['depositId'],
|
|
73
158
|
};
|
|
74
159
|
}
|
|
@@ -44,30 +44,6 @@ export interface WithSettingsInner {
|
|
|
44
44
|
* @memberof WithSettingsInner
|
|
45
45
|
*/
|
|
46
46
|
anonymous: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether related domains are shown on domain pages.
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @memberof WithSettingsInner
|
|
51
|
-
*/
|
|
52
|
-
showRelatedDomains: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether last-online status is shown publicly.
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof WithSettingsInner
|
|
57
|
-
*/
|
|
58
|
-
showLastOnline: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Whether delivery time is shown on domain pages.
|
|
61
|
-
* @type {boolean}
|
|
62
|
-
* @memberof WithSettingsInner
|
|
63
|
-
*/
|
|
64
|
-
showDeliversIn: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Whether Trustpilot widget is shown on domain pages.
|
|
67
|
-
* @type {boolean}
|
|
68
|
-
* @memberof WithSettingsInner
|
|
69
|
-
*/
|
|
70
|
-
showTrustpilot: boolean;
|
|
71
47
|
/**
|
|
72
48
|
* Whether DNSSEC is enabled for domains.
|
|
73
49
|
* @type {boolean}
|
|
@@ -39,14 +39,6 @@ function instanceOfWithSettingsInner(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
|
|
49
|
-
return false;
|
|
50
42
|
if (!('dnssec' in value) || value['dnssec'] === undefined)
|
|
51
43
|
return false;
|
|
52
44
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined)
|
|
@@ -94,10 +86,6 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
86
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
95
87
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
96
88
|
'anonymous': json['anonymous'],
|
|
97
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
98
|
-
'showLastOnline': json['showLastOnline'],
|
|
99
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
100
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
101
89
|
'dnssec': json['dnssec'],
|
|
102
90
|
'sidnIdcode': json['sidnIdcode'],
|
|
103
91
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
@@ -129,10 +117,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
117
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
130
118
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
|
|
131
119
|
'anonymous': value['anonymous'],
|
|
132
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
133
|
-
'showLastOnline': value['showLastOnline'],
|
|
134
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
135
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
136
120
|
'dnssec': value['dnssec'],
|
|
137
121
|
'sidnIdcode': value['sidnIdcode'],
|
|
138
122
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -43,6 +43,11 @@ export * from './AdminAccountSettingsInput';
|
|
|
43
43
|
export * from './AdminAuctionCommissionByDateRangeInput';
|
|
44
44
|
export * from './AdminAuctionConfigurationInput';
|
|
45
45
|
export * from './AdminBankAccountDto';
|
|
46
|
+
export * from './AdminBankDepositAccountBankAccountDto';
|
|
47
|
+
export * from './AdminBankDepositAccountDto';
|
|
48
|
+
export * from './AdminBankDepositDto';
|
|
49
|
+
export * from './AdminBankDepositInvoiceDto';
|
|
50
|
+
export * from './AdminBankDepositInvoiceTransactionDto';
|
|
46
51
|
export * from './AdminBuyerLoginDto';
|
|
47
52
|
export * from './AdminChallengeListDto';
|
|
48
53
|
export * from './AdminChallengeListItemDto';
|
|
@@ -171,8 +176,12 @@ export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
|
171
176
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
172
177
|
export * from './DomainLockConfigurationDto';
|
|
173
178
|
export * from './DomainLockDto';
|
|
179
|
+
export * from './DomainMinimalLandingPageDesignDto';
|
|
180
|
+
export * from './DomainModernLandingPageDesignDto';
|
|
181
|
+
export * from './DomainOriginalLandingPageDesignDto';
|
|
174
182
|
export * from './DomainPricesChangeDto';
|
|
175
183
|
export * from './DomainSalesInformationDto';
|
|
184
|
+
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
176
185
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
177
186
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
178
187
|
export * from './DomainSellerDto';
|
|
@@ -246,7 +255,15 @@ export * from './InvoiceItemDto';
|
|
|
246
255
|
export * from './InvoiceItemTaxDto';
|
|
247
256
|
export * from './InvoiceSellerAccountDto';
|
|
248
257
|
export * from './InvoiceTransactionDto';
|
|
258
|
+
export * from './LandingPageDesignSettingsDto';
|
|
259
|
+
export * from './LandingPageDesignSettingsInput';
|
|
249
260
|
export * from './LandingPageInput';
|
|
261
|
+
export * from './LandingPageMinimalDesignSettingsDto';
|
|
262
|
+
export * from './LandingPageMinimalDesignSettingsInput';
|
|
263
|
+
export * from './LandingPageModernDesignSettingsDto';
|
|
264
|
+
export * from './LandingPageModernDesignSettingsInput';
|
|
265
|
+
export * from './LandingPageOriginalDesignSettingsDto';
|
|
266
|
+
export * from './LandingPageOriginalDesignSettingsInput';
|
|
250
267
|
export * from './LandingPageSettingsDto';
|
|
251
268
|
export * from './LeadBuyerConfigDto';
|
|
252
269
|
export * from './LeadDomainDto';
|
|
@@ -271,6 +288,8 @@ export * from './LeaseToOwnDto';
|
|
|
271
288
|
export * from './LedgerMutationAttachmentDto';
|
|
272
289
|
export * from './LedgerMutationDto';
|
|
273
290
|
export * from './LedgerMutationsDto';
|
|
291
|
+
export * from './LinkBankDepositToBankAccountInput';
|
|
292
|
+
export * from './LinkBankDepositToInvoiceInput';
|
|
274
293
|
export * from './List200Response';
|
|
275
294
|
export * from './List200Response1';
|
|
276
295
|
export * from './List200Response2';
|
|
@@ -282,6 +301,7 @@ export * from './ListAccountUserDto';
|
|
|
282
301
|
export * from './ListAccounts200Response';
|
|
283
302
|
export * from './ListAuctions200Response';
|
|
284
303
|
export * from './ListBankAccounts200Response';
|
|
304
|
+
export * from './ListBankDeposits200Response';
|
|
285
305
|
export * from './ListBuyerNotifications200Response';
|
|
286
306
|
export * from './ListDomains200Response';
|
|
287
307
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -61,6 +61,11 @@ __exportStar(require("./AdminAccountSettingsInput"), exports);
|
|
|
61
61
|
__exportStar(require("./AdminAuctionCommissionByDateRangeInput"), exports);
|
|
62
62
|
__exportStar(require("./AdminAuctionConfigurationInput"), exports);
|
|
63
63
|
__exportStar(require("./AdminBankAccountDto"), exports);
|
|
64
|
+
__exportStar(require("./AdminBankDepositAccountBankAccountDto"), exports);
|
|
65
|
+
__exportStar(require("./AdminBankDepositAccountDto"), exports);
|
|
66
|
+
__exportStar(require("./AdminBankDepositDto"), exports);
|
|
67
|
+
__exportStar(require("./AdminBankDepositInvoiceDto"), exports);
|
|
68
|
+
__exportStar(require("./AdminBankDepositInvoiceTransactionDto"), exports);
|
|
64
69
|
__exportStar(require("./AdminBuyerLoginDto"), exports);
|
|
65
70
|
__exportStar(require("./AdminChallengeListDto"), exports);
|
|
66
71
|
__exportStar(require("./AdminChallengeListItemDto"), exports);
|
|
@@ -189,8 +194,12 @@ __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), expo
|
|
|
189
194
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
190
195
|
__exportStar(require("./DomainLockConfigurationDto"), exports);
|
|
191
196
|
__exportStar(require("./DomainLockDto"), exports);
|
|
197
|
+
__exportStar(require("./DomainMinimalLandingPageDesignDto"), exports);
|
|
198
|
+
__exportStar(require("./DomainModernLandingPageDesignDto"), exports);
|
|
199
|
+
__exportStar(require("./DomainOriginalLandingPageDesignDto"), exports);
|
|
192
200
|
__exportStar(require("./DomainPricesChangeDto"), exports);
|
|
193
201
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
202
|
+
__exportStar(require("./DomainSalesInformationDtoLandingPageDesign"), exports);
|
|
194
203
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
195
204
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
|
196
205
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
@@ -264,7 +273,15 @@ __exportStar(require("./InvoiceItemDto"), exports);
|
|
|
264
273
|
__exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
265
274
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
266
275
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
276
|
+
__exportStar(require("./LandingPageDesignSettingsDto"), exports);
|
|
277
|
+
__exportStar(require("./LandingPageDesignSettingsInput"), exports);
|
|
267
278
|
__exportStar(require("./LandingPageInput"), exports);
|
|
279
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsDto"), exports);
|
|
280
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsInput"), exports);
|
|
281
|
+
__exportStar(require("./LandingPageModernDesignSettingsDto"), exports);
|
|
282
|
+
__exportStar(require("./LandingPageModernDesignSettingsInput"), exports);
|
|
283
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsDto"), exports);
|
|
284
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsInput"), exports);
|
|
268
285
|
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
269
286
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
270
287
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
@@ -289,6 +306,8 @@ __exportStar(require("./LeaseToOwnDto"), exports);
|
|
|
289
306
|
__exportStar(require("./LedgerMutationAttachmentDto"), exports);
|
|
290
307
|
__exportStar(require("./LedgerMutationDto"), exports);
|
|
291
308
|
__exportStar(require("./LedgerMutationsDto"), exports);
|
|
309
|
+
__exportStar(require("./LinkBankDepositToBankAccountInput"), exports);
|
|
310
|
+
__exportStar(require("./LinkBankDepositToInvoiceInput"), exports);
|
|
292
311
|
__exportStar(require("./List200Response"), exports);
|
|
293
312
|
__exportStar(require("./List200Response1"), exports);
|
|
294
313
|
__exportStar(require("./List200Response2"), exports);
|
|
@@ -300,6 +319,7 @@ __exportStar(require("./ListAccountUserDto"), exports);
|
|
|
300
319
|
__exportStar(require("./ListAccounts200Response"), exports);
|
|
301
320
|
__exportStar(require("./ListAuctions200Response"), exports);
|
|
302
321
|
__exportStar(require("./ListBankAccounts200Response"), exports);
|
|
322
|
+
__exportStar(require("./ListBankDeposits200Response"), exports);
|
|
303
323
|
__exportStar(require("./ListBuyerNotifications200Response"), exports);
|
|
304
324
|
__exportStar(require("./ListDomains200Response"), exports);
|
|
305
325
|
__exportStar(require("./ListDomainsWithUpdatedPricing200Response"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -46,8 +46,11 @@ import type {
|
|
|
46
46
|
IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto,
|
|
47
47
|
LeadMessageDto,
|
|
48
48
|
LedgerMutationsDto,
|
|
49
|
+
LinkBankDepositToBankAccountInput,
|
|
50
|
+
LinkBankDepositToInvoiceInput,
|
|
49
51
|
ListAccounts200Response,
|
|
50
52
|
ListBankAccounts200Response,
|
|
53
|
+
ListBankDeposits200Response,
|
|
51
54
|
ListDomains200Response,
|
|
52
55
|
ListLeads200Response,
|
|
53
56
|
NotFoundException,
|
|
@@ -124,10 +127,16 @@ import {
|
|
|
124
127
|
LeadMessageDtoToJSON,
|
|
125
128
|
LedgerMutationsDtoFromJSON,
|
|
126
129
|
LedgerMutationsDtoToJSON,
|
|
130
|
+
LinkBankDepositToBankAccountInputFromJSON,
|
|
131
|
+
LinkBankDepositToBankAccountInputToJSON,
|
|
132
|
+
LinkBankDepositToInvoiceInputFromJSON,
|
|
133
|
+
LinkBankDepositToInvoiceInputToJSON,
|
|
127
134
|
ListAccounts200ResponseFromJSON,
|
|
128
135
|
ListAccounts200ResponseToJSON,
|
|
129
136
|
ListBankAccounts200ResponseFromJSON,
|
|
130
137
|
ListBankAccounts200ResponseToJSON,
|
|
138
|
+
ListBankDeposits200ResponseFromJSON,
|
|
139
|
+
ListBankDeposits200ResponseToJSON,
|
|
131
140
|
ListDomains200ResponseFromJSON,
|
|
132
141
|
ListDomains200ResponseToJSON,
|
|
133
142
|
ListLeads200ResponseFromJSON,
|
|
@@ -282,6 +291,7 @@ export interface AdminApiGetAllOrdersRequest {
|
|
|
282
291
|
sortBy?: Array<string>;
|
|
283
292
|
filterSearchTerm?: string;
|
|
284
293
|
filterStatus?: string;
|
|
294
|
+
filterNotLeadDrafts?: string;
|
|
285
295
|
}
|
|
286
296
|
|
|
287
297
|
export interface AdminApiGetAllOwnedDomainsRequest {
|
|
@@ -318,6 +328,16 @@ export interface AdminApiGetSubscriptionDetailsRequest {
|
|
|
318
328
|
subscriptionId: string;
|
|
319
329
|
}
|
|
320
330
|
|
|
331
|
+
export interface AdminApiLinkBankDepositToBankAccountRequest {
|
|
332
|
+
depositId: string;
|
|
333
|
+
linkBankDepositToBankAccountInput: LinkBankDepositToBankAccountInput;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export interface AdminApiLinkBankDepositToInvoiceRequest {
|
|
337
|
+
depositId: string;
|
|
338
|
+
linkBankDepositToInvoiceInput: LinkBankDepositToInvoiceInput;
|
|
339
|
+
}
|
|
340
|
+
|
|
321
341
|
export interface AdminApiListAccountsRequest {
|
|
322
342
|
filter?: { [key: string]: string; };
|
|
323
343
|
page?: number;
|
|
@@ -339,6 +359,14 @@ export interface AdminApiListBankAccountsRequest {
|
|
|
339
359
|
filterAccountId?: string;
|
|
340
360
|
}
|
|
341
361
|
|
|
362
|
+
export interface AdminApiListBankDepositsRequest {
|
|
363
|
+
filter?: { [key: string]: string; };
|
|
364
|
+
page?: number;
|
|
365
|
+
limit?: number;
|
|
366
|
+
sortBy?: Array<string>;
|
|
367
|
+
filterSearchTerm?: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
342
370
|
export interface AdminApiListDomainLocksRequest {
|
|
343
371
|
domainId: string;
|
|
344
372
|
}
|
|
@@ -1613,6 +1641,10 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1613
1641
|
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
1614
1642
|
}
|
|
1615
1643
|
|
|
1644
|
+
if (requestParameters['filterNotLeadDrafts'] != null) {
|
|
1645
|
+
queryParameters['filter[not_lead_drafts]'] = requestParameters['filterNotLeadDrafts'];
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1616
1648
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1617
1649
|
|
|
1618
1650
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -1931,6 +1963,110 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
1931
1963
|
return await response.value();
|
|
1932
1964
|
}
|
|
1933
1965
|
|
|
1966
|
+
/**
|
|
1967
|
+
* Links a bank deposit with an account bank account. Requires super admin role.
|
|
1968
|
+
* Link bank deposit to bank account
|
|
1969
|
+
*/
|
|
1970
|
+
async linkBankDepositToBankAccountRaw(requestParameters: AdminApiLinkBankDepositToBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1971
|
+
if (requestParameters['depositId'] == null) {
|
|
1972
|
+
throw new runtime.RequiredError(
|
|
1973
|
+
'depositId',
|
|
1974
|
+
'Required parameter "depositId" was null or undefined when calling linkBankDepositToBankAccount().'
|
|
1975
|
+
);
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
if (requestParameters['linkBankDepositToBankAccountInput'] == null) {
|
|
1979
|
+
throw new runtime.RequiredError(
|
|
1980
|
+
'linkBankDepositToBankAccountInput',
|
|
1981
|
+
'Required parameter "linkBankDepositToBankAccountInput" was null or undefined when calling linkBankDepositToBankAccount().'
|
|
1982
|
+
);
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
const queryParameters: any = {};
|
|
1986
|
+
|
|
1987
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1988
|
+
|
|
1989
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1990
|
+
|
|
1991
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1992
|
+
const token = this.configuration.accessToken;
|
|
1993
|
+
const tokenString = await token("bearer", []);
|
|
1994
|
+
|
|
1995
|
+
if (tokenString) {
|
|
1996
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
const response = await this.request({
|
|
2000
|
+
path: `/admin/bank-deposits/{depositId}/link-bank-account`.replace(`{${"depositId"}}`, encodeURIComponent(String(requestParameters['depositId']))),
|
|
2001
|
+
method: 'POST',
|
|
2002
|
+
headers: headerParameters,
|
|
2003
|
+
query: queryParameters,
|
|
2004
|
+
body: LinkBankDepositToBankAccountInputToJSON(requestParameters['linkBankDepositToBankAccountInput']),
|
|
2005
|
+
}, initOverrides);
|
|
2006
|
+
|
|
2007
|
+
return new runtime.VoidApiResponse(response);
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* Links a bank deposit with an account bank account. Requires super admin role.
|
|
2012
|
+
* Link bank deposit to bank account
|
|
2013
|
+
*/
|
|
2014
|
+
async linkBankDepositToBankAccount(requestParameters: AdminApiLinkBankDepositToBankAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2015
|
+
await this.linkBankDepositToBankAccountRaw(requestParameters, initOverrides);
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* Links a bank deposit with an invoice. Requires super admin role.
|
|
2020
|
+
* Link bank deposit to invoice
|
|
2021
|
+
*/
|
|
2022
|
+
async linkBankDepositToInvoiceRaw(requestParameters: AdminApiLinkBankDepositToInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
2023
|
+
if (requestParameters['depositId'] == null) {
|
|
2024
|
+
throw new runtime.RequiredError(
|
|
2025
|
+
'depositId',
|
|
2026
|
+
'Required parameter "depositId" was null or undefined when calling linkBankDepositToInvoice().'
|
|
2027
|
+
);
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
if (requestParameters['linkBankDepositToInvoiceInput'] == null) {
|
|
2031
|
+
throw new runtime.RequiredError(
|
|
2032
|
+
'linkBankDepositToInvoiceInput',
|
|
2033
|
+
'Required parameter "linkBankDepositToInvoiceInput" was null or undefined when calling linkBankDepositToInvoice().'
|
|
2034
|
+
);
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
const queryParameters: any = {};
|
|
2038
|
+
|
|
2039
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2040
|
+
|
|
2041
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
2042
|
+
|
|
2043
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2044
|
+
const token = this.configuration.accessToken;
|
|
2045
|
+
const tokenString = await token("bearer", []);
|
|
2046
|
+
|
|
2047
|
+
if (tokenString) {
|
|
2048
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
const response = await this.request({
|
|
2052
|
+
path: `/admin/bank-deposits/{depositId}/link-invoice`.replace(`{${"depositId"}}`, encodeURIComponent(String(requestParameters['depositId']))),
|
|
2053
|
+
method: 'POST',
|
|
2054
|
+
headers: headerParameters,
|
|
2055
|
+
query: queryParameters,
|
|
2056
|
+
body: LinkBankDepositToInvoiceInputToJSON(requestParameters['linkBankDepositToInvoiceInput']),
|
|
2057
|
+
}, initOverrides);
|
|
2058
|
+
|
|
2059
|
+
return new runtime.VoidApiResponse(response);
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* Links a bank deposit with an invoice. Requires super admin role.
|
|
2064
|
+
* Link bank deposit to invoice
|
|
2065
|
+
*/
|
|
2066
|
+
async linkBankDepositToInvoice(requestParameters: AdminApiLinkBankDepositToInvoiceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
2067
|
+
await this.linkBankDepositToInvoiceRaw(requestParameters, initOverrides);
|
|
2068
|
+
}
|
|
2069
|
+
|
|
1934
2070
|
/**
|
|
1935
2071
|
* Lists all seller accounts.
|
|
1936
2072
|
* List accounts
|
|
@@ -2123,6 +2259,62 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
2123
2259
|
return await response.value();
|
|
2124
2260
|
}
|
|
2125
2261
|
|
|
2262
|
+
/**
|
|
2263
|
+
* Lists Airwallex bank deposits across all bank accounts.
|
|
2264
|
+
* List all bank deposits
|
|
2265
|
+
*/
|
|
2266
|
+
async listBankDepositsRaw(requestParameters: AdminApiListBankDepositsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBankDeposits200Response>> {
|
|
2267
|
+
const queryParameters: any = {};
|
|
2268
|
+
|
|
2269
|
+
if (requestParameters['filter'] != null) {
|
|
2270
|
+
queryParameters['filter'] = requestParameters['filter'];
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
if (requestParameters['page'] != null) {
|
|
2274
|
+
queryParameters['page'] = requestParameters['page'];
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
if (requestParameters['limit'] != null) {
|
|
2278
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
if (requestParameters['sortBy'] != null) {
|
|
2282
|
+
queryParameters['sortBy'] = requestParameters['sortBy'];
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
if (requestParameters['filterSearchTerm'] != null) {
|
|
2286
|
+
queryParameters['filter[search_term]'] = requestParameters['filterSearchTerm'];
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
2290
|
+
|
|
2291
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2292
|
+
const token = this.configuration.accessToken;
|
|
2293
|
+
const tokenString = await token("bearer", []);
|
|
2294
|
+
|
|
2295
|
+
if (tokenString) {
|
|
2296
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
const response = await this.request({
|
|
2300
|
+
path: `/admin/bank-deposits`,
|
|
2301
|
+
method: 'GET',
|
|
2302
|
+
headers: headerParameters,
|
|
2303
|
+
query: queryParameters,
|
|
2304
|
+
}, initOverrides);
|
|
2305
|
+
|
|
2306
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListBankDeposits200ResponseFromJSON(jsonValue));
|
|
2307
|
+
}
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Lists Airwallex bank deposits across all bank accounts.
|
|
2311
|
+
* List all bank deposits
|
|
2312
|
+
*/
|
|
2313
|
+
async listBankDeposits(requestParameters: AdminApiListBankDepositsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBankDeposits200Response> {
|
|
2314
|
+
const response = await this.listBankDepositsRaw(requestParameters, initOverrides);
|
|
2315
|
+
return await response.value();
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2126
2318
|
/**
|
|
2127
2319
|
* Returns all active locks for the specified domain.
|
|
2128
2320
|
* List domain locks
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
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 { AdminBankDepositAccountDto } from './AdminBankDepositAccountDto';
|
|
17
|
+
import {
|
|
18
|
+
AdminBankDepositAccountDtoFromJSON,
|
|
19
|
+
AdminBankDepositAccountDtoFromJSONTyped,
|
|
20
|
+
AdminBankDepositAccountDtoToJSON,
|
|
21
|
+
AdminBankDepositAccountDtoToJSONTyped,
|
|
22
|
+
} from './AdminBankDepositAccountDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface AdminBankDepositAccountBankAccountDto
|
|
28
|
+
*/
|
|
29
|
+
export interface AdminBankDepositAccountBankAccountDto {
|
|
30
|
+
/**
|
|
31
|
+
* Bank account ID.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AdminBankDepositAccountBankAccountDto
|
|
34
|
+
*/
|
|
35
|
+
accountBankAccountId: string;
|
|
36
|
+
/**
|
|
37
|
+
* Seller account linked to the bank account.
|
|
38
|
+
* @type {AdminBankDepositAccountDto}
|
|
39
|
+
* @memberof AdminBankDepositAccountBankAccountDto
|
|
40
|
+
*/
|
|
41
|
+
account: AdminBankDepositAccountDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the AdminBankDepositAccountBankAccountDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfAdminBankDepositAccountBankAccountDto(value: object): value is AdminBankDepositAccountBankAccountDto {
|
|
48
|
+
if (!('accountBankAccountId' in value) || value['accountBankAccountId'] === undefined) return false;
|
|
49
|
+
if (!('account' in value) || value['account'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function AdminBankDepositAccountBankAccountDtoFromJSON(json: any): AdminBankDepositAccountBankAccountDto {
|
|
54
|
+
return AdminBankDepositAccountBankAccountDtoFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function AdminBankDepositAccountBankAccountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminBankDepositAccountBankAccountDto {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'accountBankAccountId': json['accountBankAccountId'],
|
|
64
|
+
'account': AdminBankDepositAccountDtoFromJSON(json['account']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function AdminBankDepositAccountBankAccountDtoToJSON(json: any): AdminBankDepositAccountBankAccountDto {
|
|
69
|
+
return AdminBankDepositAccountBankAccountDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function AdminBankDepositAccountBankAccountDtoToJSONTyped(value?: AdminBankDepositAccountBankAccountDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'accountBankAccountId': value['accountBankAccountId'],
|
|
80
|
+
'account': AdminBankDepositAccountDtoToJSON(value['account']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|