@randock/nameshift-api-client 0.0.498 → 0.0.500
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 +15 -1
- package/dist/apis/AccountsApi.js +66 -0
- package/dist/apis/AdminApi.d.ts +27 -15
- package/dist/apis/AdminApi.js +78 -22
- package/dist/models/AccountBankAccountDto.d.ts +21 -0
- package/dist/models/AccountBankAccountDto.js +17 -1
- package/dist/models/AccountPayoutDto.d.ts +13 -0
- package/dist/models/AccountPayoutDto.js +9 -0
- package/dist/models/ApiKeyDto.d.ts +1 -0
- package/dist/models/ApiKeyDto.js +1 -0
- package/dist/models/ApiKeyScopeDto.d.ts +1 -0
- package/dist/models/ApiKeyScopeDto.js +1 -0
- package/dist/models/BankAccountFormatCountryDto.d.ts +7 -1
- package/dist/models/BankAccountFormatCountryDto.js +4 -0
- package/dist/models/BankAccountFormatDto.d.ts +14 -0
- package/dist/models/BankAccountFormatDto.js +10 -0
- package/dist/models/BankAccountTransferMethod.d.ts +25 -0
- package/dist/models/BankAccountTransferMethod.js +51 -0
- package/dist/models/CreateApiKeyInput.d.ts +1 -0
- package/dist/models/CreateApiKeyInput.js +1 -0
- package/dist/models/CreatedApiKeyDto.d.ts +1 -0
- package/dist/models/CreatedApiKeyDto.js +1 -0
- package/dist/models/InvoiceDto.d.ts +13 -0
- package/dist/models/InvoiceDto.js +9 -0
- package/dist/models/InvoicePayoutDto.d.ts +71 -0
- package/dist/models/InvoicePayoutDto.js +78 -0
- package/dist/models/InvoiceSellerAccountDto.d.ts +13 -0
- package/dist/models/InvoiceSellerAccountDto.js +9 -0
- package/dist/models/PaySellerInvoicesInput.d.ts +32 -0
- package/dist/models/PaySellerInvoicesInput.js +51 -0
- package/dist/models/PayoutFrequency.d.ts +28 -0
- package/dist/models/PayoutFrequency.js +54 -0
- package/dist/models/SellerInvoiceDto.d.ts +13 -0
- package/dist/models/SellerInvoiceDto.js +9 -0
- package/dist/models/SellerPayoutPreviewDto.d.ts +60 -0
- package/dist/models/SellerPayoutPreviewDto.js +73 -0
- package/dist/models/SellerPayoutStatus.d.ts +26 -0
- package/dist/models/SellerPayoutStatus.js +52 -0
- package/dist/models/SetPayoutFrequencyInput.d.ts +39 -0
- package/dist/models/SetPayoutFrequencyInput.js +54 -0
- package/dist/models/UpdateApiKeyInput.d.ts +1 -0
- package/dist/models/UpdateApiKeyInput.js +1 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/apis/AccountsApi.ts +64 -0
- package/src/apis/AdminApi.ts +82 -31
- package/src/models/AccountBankAccountDto.ts +34 -0
- package/src/models/AccountPayoutDto.ts +26 -0
- package/src/models/ApiKeyDto.ts +1 -0
- package/src/models/ApiKeyScopeDto.ts +1 -0
- package/src/models/BankAccountFormatCountryDto.ts +10 -1
- package/src/models/BankAccountFormatDto.ts +34 -0
- package/src/models/BankAccountTransferMethod.ts +53 -0
- package/src/models/CreateApiKeyInput.ts +1 -0
- package/src/models/CreatedApiKeyDto.ts +1 -0
- package/src/models/InvoiceDto.ts +25 -0
- package/src/models/InvoicePayoutDto.ts +144 -0
- package/src/models/InvoiceSellerAccountDto.ts +26 -0
- package/src/models/PaySellerInvoicesInput.ts +66 -0
- package/src/models/PayoutFrequency.ts +56 -0
- package/src/models/SellerInvoiceDto.ts +25 -0
- package/src/models/SellerPayoutPreviewDto.ts +119 -0
- package/src/models/SellerPayoutStatus.ts +54 -0
- package/src/models/SetPayoutFrequencyInput.ts +84 -0
- package/src/models/UpdateApiKeyInput.ts +1 -0
- package/src/models/index.ts +7 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.PayoutFrequency = void 0;
|
|
17
|
+
exports.instanceOfPayoutFrequency = instanceOfPayoutFrequency;
|
|
18
|
+
exports.PayoutFrequencyFromJSON = PayoutFrequencyFromJSON;
|
|
19
|
+
exports.PayoutFrequencyFromJSONTyped = PayoutFrequencyFromJSONTyped;
|
|
20
|
+
exports.PayoutFrequencyToJSON = PayoutFrequencyToJSON;
|
|
21
|
+
exports.PayoutFrequencyToJSONTyped = PayoutFrequencyToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* How often the seller is paid out when they are paid out automatically: each invoice as soon as it can be (immediate), or what came in during a week, two weeks, month or quarter when the next one starts. An admin pays out the others, whatever this says.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.PayoutFrequency = {
|
|
27
|
+
IMMEDIATE: 'immediate',
|
|
28
|
+
WEEKLY: 'weekly',
|
|
29
|
+
BIWEEKLY: 'biweekly',
|
|
30
|
+
MONTHLY: 'monthly',
|
|
31
|
+
QUARTERLY: 'quarterly'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfPayoutFrequency(value) {
|
|
34
|
+
for (var key in exports.PayoutFrequency) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.PayoutFrequency, key)) {
|
|
36
|
+
if (exports.PayoutFrequency[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function PayoutFrequencyFromJSON(json) {
|
|
44
|
+
return PayoutFrequencyFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PayoutFrequencyFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function PayoutFrequencyToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
function PayoutFrequencyToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { SellerInvoiceDomainDto } from './SellerInvoiceDomainDto';
|
|
13
13
|
import type { SellerInvoiceSellerAccountDto } from './SellerInvoiceSellerAccountDto';
|
|
14
|
+
import type { InvoicePayoutDto } from './InvoicePayoutDto';
|
|
14
15
|
import type { MoneyDto } from './MoneyDto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -84,6 +85,18 @@ export interface SellerInvoiceDto {
|
|
|
84
85
|
* @memberof SellerInvoiceDto
|
|
85
86
|
*/
|
|
86
87
|
isAffiliateCommission: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* For an invoice awaiting its payout: when it is due, by the payout frequency of the account. A payout that costs the account nothing is due right away, unless it wants those to wait too, and so is every invoice of an account that is not paid out automatically. Null when it awaits no payout.
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof SellerInvoiceDto
|
|
92
|
+
*/
|
|
93
|
+
payoutDueAt: Date | null;
|
|
94
|
+
/**
|
|
95
|
+
* The bank transfer the invoice is or was last paid out with, which tells the transfer fee taken out of it. Null when it was in none.
|
|
96
|
+
* @type {InvoicePayoutDto}
|
|
97
|
+
* @memberof SellerInvoiceDto
|
|
98
|
+
*/
|
|
99
|
+
payout: InvoicePayoutDto | null;
|
|
87
100
|
}
|
|
88
101
|
/**
|
|
89
102
|
* @export
|
|
@@ -21,6 +21,7 @@ exports.SellerInvoiceDtoToJSON = SellerInvoiceDtoToJSON;
|
|
|
21
21
|
exports.SellerInvoiceDtoToJSONTyped = SellerInvoiceDtoToJSONTyped;
|
|
22
22
|
var SellerInvoiceDomainDto_1 = require("./SellerInvoiceDomainDto");
|
|
23
23
|
var SellerInvoiceSellerAccountDto_1 = require("./SellerInvoiceSellerAccountDto");
|
|
24
|
+
var InvoicePayoutDto_1 = require("./InvoicePayoutDto");
|
|
24
25
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
26
|
/**
|
|
26
27
|
* @export
|
|
@@ -64,6 +65,10 @@ function instanceOfSellerInvoiceDto(value) {
|
|
|
64
65
|
return false;
|
|
65
66
|
if (!('isAffiliateCommission' in value) || value['isAffiliateCommission'] === undefined)
|
|
66
67
|
return false;
|
|
68
|
+
if (!('payoutDueAt' in value) || value['payoutDueAt'] === undefined)
|
|
69
|
+
return false;
|
|
70
|
+
if (!('payout' in value) || value['payout'] === undefined)
|
|
71
|
+
return false;
|
|
67
72
|
return true;
|
|
68
73
|
}
|
|
69
74
|
function SellerInvoiceDtoFromJSON(json) {
|
|
@@ -85,6 +90,8 @@ function SellerInvoiceDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
90
|
'parent': json['parent'],
|
|
86
91
|
'hasChildren': json['hasChildren'],
|
|
87
92
|
'isAffiliateCommission': json['isAffiliateCommission'],
|
|
93
|
+
'payoutDueAt': (json['payoutDueAt'] == null ? null : new Date(json['payoutDueAt'])),
|
|
94
|
+
'payout': (0, InvoicePayoutDto_1.InvoicePayoutDtoFromJSON)(json['payout']),
|
|
88
95
|
};
|
|
89
96
|
}
|
|
90
97
|
function SellerInvoiceDtoToJSON(json) {
|
|
@@ -107,5 +114,7 @@ function SellerInvoiceDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
107
114
|
'parent': value['parent'],
|
|
108
115
|
'hasChildren': value['hasChildren'],
|
|
109
116
|
'isAffiliateCommission': value['isAffiliateCommission'],
|
|
117
|
+
'payoutDueAt': (value['payoutDueAt'] == null ? null : value['payoutDueAt'].toISOString()),
|
|
118
|
+
'payout': (0, InvoicePayoutDto_1.InvoicePayoutDtoToJSON)(value['payout']),
|
|
110
119
|
};
|
|
111
120
|
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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
|
+
import type { AccountBankAccountDto } from './AccountBankAccountDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SellerPayoutPreviewDto
|
|
18
|
+
*/
|
|
19
|
+
export interface SellerPayoutPreviewDto {
|
|
20
|
+
/**
|
|
21
|
+
* How the seller is paid out: to their bank account in one transfer, or through Stripe, each invoice apart.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SellerPayoutPreviewDto
|
|
24
|
+
*/
|
|
25
|
+
provider: SellerPayoutPreviewDtoProviderEnum;
|
|
26
|
+
/**
|
|
27
|
+
* What the invoices come to together, in their currency. Null through Stripe.
|
|
28
|
+
* @type {MoneyDto}
|
|
29
|
+
* @memberof SellerPayoutPreviewDto
|
|
30
|
+
*/
|
|
31
|
+
amount: MoneyDto | null;
|
|
32
|
+
/**
|
|
33
|
+
* The bank account the transfer goes to, with how it is paid out to. When its currency is not that of the invoices, the payout provider converts the amount. Null through Stripe.
|
|
34
|
+
* @type {AccountBankAccountDto}
|
|
35
|
+
* @memberof SellerPayoutPreviewDto
|
|
36
|
+
*/
|
|
37
|
+
bankAccount: AccountBankAccountDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* The transfer fee taken out of what the seller receives, as an indication in the currency of the invoices: the configured SWIFT fee at today's rate. Null when the transfer costs the seller nothing, or no fee is configured.
|
|
40
|
+
* @type {MoneyDto}
|
|
41
|
+
* @memberof SellerPayoutPreviewDto
|
|
42
|
+
*/
|
|
43
|
+
fee: MoneyDto | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const SellerPayoutPreviewDtoProviderEnum: {
|
|
49
|
+
readonly STRIPE: "stripe";
|
|
50
|
+
readonly BANK_ACCOUNT: "bank_account";
|
|
51
|
+
};
|
|
52
|
+
export type SellerPayoutPreviewDtoProviderEnum = typeof SellerPayoutPreviewDtoProviderEnum[keyof typeof SellerPayoutPreviewDtoProviderEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SellerPayoutPreviewDto interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfSellerPayoutPreviewDto(value: object): value is SellerPayoutPreviewDto;
|
|
57
|
+
export declare function SellerPayoutPreviewDtoFromJSON(json: any): SellerPayoutPreviewDto;
|
|
58
|
+
export declare function SellerPayoutPreviewDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerPayoutPreviewDto;
|
|
59
|
+
export declare function SellerPayoutPreviewDtoToJSON(json: any): SellerPayoutPreviewDto;
|
|
60
|
+
export declare function SellerPayoutPreviewDtoToJSONTyped(value?: SellerPayoutPreviewDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.SellerPayoutPreviewDtoProviderEnum = void 0;
|
|
17
|
+
exports.instanceOfSellerPayoutPreviewDto = instanceOfSellerPayoutPreviewDto;
|
|
18
|
+
exports.SellerPayoutPreviewDtoFromJSON = SellerPayoutPreviewDtoFromJSON;
|
|
19
|
+
exports.SellerPayoutPreviewDtoFromJSONTyped = SellerPayoutPreviewDtoFromJSONTyped;
|
|
20
|
+
exports.SellerPayoutPreviewDtoToJSON = SellerPayoutPreviewDtoToJSON;
|
|
21
|
+
exports.SellerPayoutPreviewDtoToJSONTyped = SellerPayoutPreviewDtoToJSONTyped;
|
|
22
|
+
var AccountBankAccountDto_1 = require("./AccountBankAccountDto");
|
|
23
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.SellerPayoutPreviewDtoProviderEnum = {
|
|
28
|
+
STRIPE: 'stripe',
|
|
29
|
+
BANK_ACCOUNT: 'bank_account'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SellerPayoutPreviewDto interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfSellerPayoutPreviewDto(value) {
|
|
35
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('bankAccount' in value) || value['bankAccount'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('fee' in value) || value['fee'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function SellerPayoutPreviewDtoFromJSON(json) {
|
|
46
|
+
return SellerPayoutPreviewDtoFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function SellerPayoutPreviewDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'provider': json['provider'],
|
|
54
|
+
'amount': (0, MoneyDto_1.MoneyDtoFromJSON)(json['amount']),
|
|
55
|
+
'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoFromJSON)(json['bankAccount']),
|
|
56
|
+
'fee': (0, MoneyDto_1.MoneyDtoFromJSON)(json['fee']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function SellerPayoutPreviewDtoToJSON(json) {
|
|
60
|
+
return SellerPayoutPreviewDtoToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function SellerPayoutPreviewDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'provider': value['provider'],
|
|
69
|
+
'amount': (0, MoneyDto_1.MoneyDtoToJSON)(value['amount']),
|
|
70
|
+
'bankAccount': (0, AccountBankAccountDto_1.AccountBankAccountDtoToJSON)(value['bankAccount']),
|
|
71
|
+
'fee': (0, MoneyDto_1.MoneyDtoToJSON)(value['fee']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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
|
+
* pending while the transfer is being made, paid once it is, failed when the payout provider refused it: the invoice then awaits another payout.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const SellerPayoutStatus: {
|
|
17
|
+
readonly PENDING: "pending";
|
|
18
|
+
readonly PAID: "paid";
|
|
19
|
+
readonly FAILED: "failed";
|
|
20
|
+
};
|
|
21
|
+
export type SellerPayoutStatus = typeof SellerPayoutStatus[keyof typeof SellerPayoutStatus];
|
|
22
|
+
export declare function instanceOfSellerPayoutStatus(value: any): boolean;
|
|
23
|
+
export declare function SellerPayoutStatusFromJSON(json: any): SellerPayoutStatus;
|
|
24
|
+
export declare function SellerPayoutStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerPayoutStatus;
|
|
25
|
+
export declare function SellerPayoutStatusToJSON(value?: SellerPayoutStatus | null): any;
|
|
26
|
+
export declare function SellerPayoutStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SellerPayoutStatus;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.SellerPayoutStatus = void 0;
|
|
17
|
+
exports.instanceOfSellerPayoutStatus = instanceOfSellerPayoutStatus;
|
|
18
|
+
exports.SellerPayoutStatusFromJSON = SellerPayoutStatusFromJSON;
|
|
19
|
+
exports.SellerPayoutStatusFromJSONTyped = SellerPayoutStatusFromJSONTyped;
|
|
20
|
+
exports.SellerPayoutStatusToJSON = SellerPayoutStatusToJSON;
|
|
21
|
+
exports.SellerPayoutStatusToJSONTyped = SellerPayoutStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* pending while the transfer is being made, paid once it is, failed when the payout provider refused it: the invoice then awaits another payout.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SellerPayoutStatus = {
|
|
27
|
+
PENDING: 'pending',
|
|
28
|
+
PAID: 'paid',
|
|
29
|
+
FAILED: 'failed'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfSellerPayoutStatus(value) {
|
|
32
|
+
for (var key in exports.SellerPayoutStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.SellerPayoutStatus, key)) {
|
|
34
|
+
if (exports.SellerPayoutStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function SellerPayoutStatusFromJSON(json) {
|
|
42
|
+
return SellerPayoutStatusFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function SellerPayoutStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function SellerPayoutStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function SellerPayoutStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
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
|
+
import type { PayoutFrequency } from './PayoutFrequency';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SetPayoutFrequencyInput
|
|
17
|
+
*/
|
|
18
|
+
export interface SetPayoutFrequencyInput {
|
|
19
|
+
/**
|
|
20
|
+
* How often to be paid out: each invoice as soon as it can be (immediate), or what came in during a week, two weeks, month or quarter when the next one starts.
|
|
21
|
+
* @type {PayoutFrequency}
|
|
22
|
+
* @memberof SetPayoutFrequencyInput
|
|
23
|
+
*/
|
|
24
|
+
frequency: PayoutFrequency;
|
|
25
|
+
/**
|
|
26
|
+
* Whether payouts that cost the seller nothing (a local transfer to their bank account) wait for the frequency too. When false, those are made as soon as they can be, and only payouts with a transfer fee wait, to go out together. Left as it is when not given.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof SetPayoutFrequencyInput
|
|
29
|
+
*/
|
|
30
|
+
batchFreePayouts?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SetPayoutFrequencyInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfSetPayoutFrequencyInput(value: object): value is SetPayoutFrequencyInput;
|
|
36
|
+
export declare function SetPayoutFrequencyInputFromJSON(json: any): SetPayoutFrequencyInput;
|
|
37
|
+
export declare function SetPayoutFrequencyInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetPayoutFrequencyInput;
|
|
38
|
+
export declare function SetPayoutFrequencyInputToJSON(json: any): SetPayoutFrequencyInput;
|
|
39
|
+
export declare function SetPayoutFrequencyInputToJSONTyped(value?: SetPayoutFrequencyInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
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.instanceOfSetPayoutFrequencyInput = instanceOfSetPayoutFrequencyInput;
|
|
17
|
+
exports.SetPayoutFrequencyInputFromJSON = SetPayoutFrequencyInputFromJSON;
|
|
18
|
+
exports.SetPayoutFrequencyInputFromJSONTyped = SetPayoutFrequencyInputFromJSONTyped;
|
|
19
|
+
exports.SetPayoutFrequencyInputToJSON = SetPayoutFrequencyInputToJSON;
|
|
20
|
+
exports.SetPayoutFrequencyInputToJSONTyped = SetPayoutFrequencyInputToJSONTyped;
|
|
21
|
+
var PayoutFrequency_1 = require("./PayoutFrequency");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SetPayoutFrequencyInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSetPayoutFrequencyInput(value) {
|
|
26
|
+
if (!('frequency' in value) || value['frequency'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function SetPayoutFrequencyInputFromJSON(json) {
|
|
31
|
+
return SetPayoutFrequencyInputFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function SetPayoutFrequencyInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'frequency': (0, PayoutFrequency_1.PayoutFrequencyFromJSON)(json['frequency']),
|
|
39
|
+
'batchFreePayouts': json['batchFreePayouts'] == null ? undefined : json['batchFreePayouts'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function SetPayoutFrequencyInputToJSON(json) {
|
|
43
|
+
return SetPayoutFrequencyInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SetPayoutFrequencyInputToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'frequency': (0, PayoutFrequency_1.PayoutFrequencyToJSON)(value['frequency']),
|
|
52
|
+
'batchFreePayouts': value['batchFreePayouts'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -36,6 +36,7 @@ export declare const UpdateApiKeyInputScopeEnum: {
|
|
|
36
36
|
readonly DOMAINS_FIND: "DOMAINS_FIND";
|
|
37
37
|
readonly AUCTION_LIST: "AUCTION_LIST";
|
|
38
38
|
readonly MARKET_DATA: "MARKET_DATA";
|
|
39
|
+
readonly DOMAIN_SEO_METRICS: "DOMAIN_SEO_METRICS";
|
|
39
40
|
readonly DOMAINS_READ: "DOMAINS_READ";
|
|
40
41
|
readonly DOMAINS_WRITE: "DOMAINS_WRITE";
|
|
41
42
|
readonly EPP_WRITE: "EPP_WRITE";
|
|
@@ -27,6 +27,7 @@ exports.UpdateApiKeyInputScopeEnum = {
|
|
|
27
27
|
DOMAINS_FIND: 'DOMAINS_FIND',
|
|
28
28
|
AUCTION_LIST: 'AUCTION_LIST',
|
|
29
29
|
MARKET_DATA: 'MARKET_DATA',
|
|
30
|
+
DOMAIN_SEO_METRICS: 'DOMAIN_SEO_METRICS',
|
|
30
31
|
DOMAINS_READ: 'DOMAINS_READ',
|
|
31
32
|
DOMAINS_WRITE: 'DOMAINS_WRITE',
|
|
32
33
|
EPP_WRITE: 'EPP_WRITE',
|
package/dist/models/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ export * from './BankAccountFormatFieldDto';
|
|
|
103
103
|
export * from './BankAccountFormatFieldOptionDto';
|
|
104
104
|
export * from './BankAccountFormatFieldType';
|
|
105
105
|
export * from './BankAccountFormatsDto';
|
|
106
|
+
export * from './BankAccountTransferMethod';
|
|
106
107
|
export * from './BatchDeleteBuyerLeadsInput';
|
|
107
108
|
export * from './BatchImportPreviewDto';
|
|
108
109
|
export * from './BatchReadBuyerLeadMessageInput';
|
|
@@ -303,6 +304,7 @@ export * from './InvoiceDto';
|
|
|
303
304
|
export * from './InvoiceDtoTransaction';
|
|
304
305
|
export * from './InvoiceItemDto';
|
|
305
306
|
export * from './InvoiceItemTaxDto';
|
|
307
|
+
export * from './InvoicePayoutDto';
|
|
306
308
|
export * from './InvoiceSellerAccountDto';
|
|
307
309
|
export * from './InvoiceTransactionDto';
|
|
308
310
|
export * from './JobDto';
|
|
@@ -423,7 +425,9 @@ export * from './ParsedDomainDto';
|
|
|
423
425
|
export * from './PartnerAuctionDto';
|
|
424
426
|
export * from './PartnerDomainFindDto';
|
|
425
427
|
export * from './PayAccountPaymentInput';
|
|
428
|
+
export * from './PaySellerInvoicesInput';
|
|
426
429
|
export * from './PaymentMethodsStatsDto';
|
|
430
|
+
export * from './PayoutFrequency';
|
|
427
431
|
export * from './PopularCategoryDto';
|
|
428
432
|
export * from './PreviewDomainEditInput';
|
|
429
433
|
export * from './PrivateAccountGetMeResponse';
|
|
@@ -481,6 +485,8 @@ export * from './SellerInvoiceDomainDto';
|
|
|
481
485
|
export * from './SellerInvoiceDto';
|
|
482
486
|
export * from './SellerInvoiceSellerAccountDto';
|
|
483
487
|
export * from './SellerLeadDetails';
|
|
488
|
+
export * from './SellerPayoutPreviewDto';
|
|
489
|
+
export * from './SellerPayoutStatus';
|
|
484
490
|
export * from './SellerPendingPayoutsByCurrencyStatsItemDto';
|
|
485
491
|
export * from './SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto';
|
|
486
492
|
export * from './SellerSalesByTldStatsItemDto';
|
|
@@ -500,6 +506,7 @@ export * from './SeoMetricsDto';
|
|
|
500
506
|
export * from './SetAccountMarketplaceInput';
|
|
501
507
|
export * from './SetDomainTransferConfirmationInput';
|
|
502
508
|
export * from './SetNewPasswordInput';
|
|
509
|
+
export * from './SetPayoutFrequencyInput';
|
|
503
510
|
export * from './SetPayoutProviderInput';
|
|
504
511
|
export * from './SimulateCommissionInput';
|
|
505
512
|
export * from './StartAuctionInput';
|
package/dist/models/index.js
CHANGED
|
@@ -121,6 +121,7 @@ __exportStar(require("./BankAccountFormatFieldDto"), exports);
|
|
|
121
121
|
__exportStar(require("./BankAccountFormatFieldOptionDto"), exports);
|
|
122
122
|
__exportStar(require("./BankAccountFormatFieldType"), exports);
|
|
123
123
|
__exportStar(require("./BankAccountFormatsDto"), exports);
|
|
124
|
+
__exportStar(require("./BankAccountTransferMethod"), exports);
|
|
124
125
|
__exportStar(require("./BatchDeleteBuyerLeadsInput"), exports);
|
|
125
126
|
__exportStar(require("./BatchImportPreviewDto"), exports);
|
|
126
127
|
__exportStar(require("./BatchReadBuyerLeadMessageInput"), exports);
|
|
@@ -321,6 +322,7 @@ __exportStar(require("./InvoiceDto"), exports);
|
|
|
321
322
|
__exportStar(require("./InvoiceDtoTransaction"), exports);
|
|
322
323
|
__exportStar(require("./InvoiceItemDto"), exports);
|
|
323
324
|
__exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
325
|
+
__exportStar(require("./InvoicePayoutDto"), exports);
|
|
324
326
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
325
327
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
326
328
|
__exportStar(require("./JobDto"), exports);
|
|
@@ -441,7 +443,9 @@ __exportStar(require("./ParsedDomainDto"), exports);
|
|
|
441
443
|
__exportStar(require("./PartnerAuctionDto"), exports);
|
|
442
444
|
__exportStar(require("./PartnerDomainFindDto"), exports);
|
|
443
445
|
__exportStar(require("./PayAccountPaymentInput"), exports);
|
|
446
|
+
__exportStar(require("./PaySellerInvoicesInput"), exports);
|
|
444
447
|
__exportStar(require("./PaymentMethodsStatsDto"), exports);
|
|
448
|
+
__exportStar(require("./PayoutFrequency"), exports);
|
|
445
449
|
__exportStar(require("./PopularCategoryDto"), exports);
|
|
446
450
|
__exportStar(require("./PreviewDomainEditInput"), exports);
|
|
447
451
|
__exportStar(require("./PrivateAccountGetMeResponse"), exports);
|
|
@@ -499,6 +503,8 @@ __exportStar(require("./SellerInvoiceDomainDto"), exports);
|
|
|
499
503
|
__exportStar(require("./SellerInvoiceDto"), exports);
|
|
500
504
|
__exportStar(require("./SellerInvoiceSellerAccountDto"), exports);
|
|
501
505
|
__exportStar(require("./SellerLeadDetails"), exports);
|
|
506
|
+
__exportStar(require("./SellerPayoutPreviewDto"), exports);
|
|
507
|
+
__exportStar(require("./SellerPayoutStatus"), exports);
|
|
502
508
|
__exportStar(require("./SellerPendingPayoutsByCurrencyStatsItemDto"), exports);
|
|
503
509
|
__exportStar(require("./SellerRemainingAndTotalLeaseToOwnByCurrencyStatsItemDto"), exports);
|
|
504
510
|
__exportStar(require("./SellerSalesByTldStatsItemDto"), exports);
|
|
@@ -518,6 +524,7 @@ __exportStar(require("./SeoMetricsDto"), exports);
|
|
|
518
524
|
__exportStar(require("./SetAccountMarketplaceInput"), exports);
|
|
519
525
|
__exportStar(require("./SetDomainTransferConfirmationInput"), exports);
|
|
520
526
|
__exportStar(require("./SetNewPasswordInput"), exports);
|
|
527
|
+
__exportStar(require("./SetPayoutFrequencyInput"), exports);
|
|
521
528
|
__exportStar(require("./SetPayoutProviderInput"), exports);
|
|
522
529
|
__exportStar(require("./SimulateCommissionInput"), exports);
|
|
523
530
|
__exportStar(require("./StartAuctionInput"), exports);
|
package/package.json
CHANGED
package/src/apis/AccountsApi.ts
CHANGED
|
@@ -32,6 +32,7 @@ import type {
|
|
|
32
32
|
ObjectId,
|
|
33
33
|
PayAccountPaymentInput,
|
|
34
34
|
PrivateAccountGetMeResponse,
|
|
35
|
+
SetPayoutFrequencyInput,
|
|
35
36
|
SetPayoutProviderInput,
|
|
36
37
|
UpdateAccountBillingInformationInput,
|
|
37
38
|
ValidationException,
|
|
@@ -71,6 +72,8 @@ import {
|
|
|
71
72
|
PayAccountPaymentInputToJSON,
|
|
72
73
|
PrivateAccountGetMeResponseFromJSON,
|
|
73
74
|
PrivateAccountGetMeResponseToJSON,
|
|
75
|
+
SetPayoutFrequencyInputFromJSON,
|
|
76
|
+
SetPayoutFrequencyInputToJSON,
|
|
74
77
|
SetPayoutProviderInputFromJSON,
|
|
75
78
|
SetPayoutProviderInputToJSON,
|
|
76
79
|
UpdateAccountBillingInformationInputFromJSON,
|
|
@@ -147,6 +150,11 @@ export interface AccountsApiPutAvatarRequest {
|
|
|
147
150
|
file?: Blob | null;
|
|
148
151
|
}
|
|
149
152
|
|
|
153
|
+
export interface AccountsApiSetPayoutFrequencyRequest {
|
|
154
|
+
accountId: string;
|
|
155
|
+
setPayoutFrequencyInput: SetPayoutFrequencyInput;
|
|
156
|
+
}
|
|
157
|
+
|
|
150
158
|
export interface AccountsApiSetPayoutProviderRequest {
|
|
151
159
|
accountId: string;
|
|
152
160
|
setPayoutProviderInput: SetPayoutProviderInput;
|
|
@@ -1016,6 +1024,62 @@ export class AccountsApi extends runtime.BaseAPI {
|
|
|
1016
1024
|
await this.putAvatarRaw(requestParameters, initOverrides);
|
|
1017
1025
|
}
|
|
1018
1026
|
|
|
1027
|
+
/**
|
|
1028
|
+
* Sets how often the current seller account is paid out, for an account that is paid out automatically. Invoices that came in during a period are paid out together when the next one starts, which saves the fee per payout of an international transfer. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1029
|
+
* Set payout frequency
|
|
1030
|
+
*/
|
|
1031
|
+
async setPayoutFrequencyRaw(requestParameters: AccountsApiSetPayoutFrequencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1032
|
+
if (requestParameters['accountId'] == null) {
|
|
1033
|
+
throw new runtime.RequiredError(
|
|
1034
|
+
'accountId',
|
|
1035
|
+
'Required parameter "accountId" was null or undefined when calling setPayoutFrequency().'
|
|
1036
|
+
);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
if (requestParameters['setPayoutFrequencyInput'] == null) {
|
|
1040
|
+
throw new runtime.RequiredError(
|
|
1041
|
+
'setPayoutFrequencyInput',
|
|
1042
|
+
'Required parameter "setPayoutFrequencyInput" was null or undefined when calling setPayoutFrequency().'
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
const queryParameters: any = {};
|
|
1047
|
+
|
|
1048
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
1049
|
+
|
|
1050
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1051
|
+
|
|
1052
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
1053
|
+
headerParameters["apikey"] = await this.configuration.apiKey("apikey"); // api_key authentication
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1057
|
+
const token = this.configuration.accessToken;
|
|
1058
|
+
const tokenString = await token("bearer", []);
|
|
1059
|
+
|
|
1060
|
+
if (tokenString) {
|
|
1061
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
const response = await this.request({
|
|
1065
|
+
path: `/private/accounts/{accountId}/payout-frequency`.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId']))),
|
|
1066
|
+
method: 'POST',
|
|
1067
|
+
headers: headerParameters,
|
|
1068
|
+
query: queryParameters,
|
|
1069
|
+
body: SetPayoutFrequencyInputToJSON(requestParameters['setPayoutFrequencyInput']),
|
|
1070
|
+
}, initOverrides);
|
|
1071
|
+
|
|
1072
|
+
return new runtime.VoidApiResponse(response);
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* Sets how often the current seller account is paid out, for an account that is paid out automatically. Invoices that came in during a period are paid out together when the next one starts, which saves the fee per payout of an international transfer. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1077
|
+
* Set payout frequency
|
|
1078
|
+
*/
|
|
1079
|
+
async setPayoutFrequency(requestParameters: AccountsApiSetPayoutFrequencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1080
|
+
await this.setPayoutFrequencyRaw(requestParameters, initOverrides);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1019
1083
|
/**
|
|
1020
1084
|
* Sets the payout provider for the current seller account. **API key scope required:** `PAYOUTS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1021
1085
|
* Set payout provider
|