@proxyrequest/sdk 1.0.0 → 2.0.0
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/CHANGELOG.md +24 -0
- package/README.md +42 -8
- package/SECURITY.md +1 -1
- package/dist/index.cjs +631 -257
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +218 -59
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +218 -59
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +632 -256
- package/dist/index.js.map +1 -1
- package/dist/{models-VMmyyuf_.d.cts → models-BDeknFzS.d.cts} +12 -9
- package/dist/models-BDeknFzS.d.cts.map +1 -0
- package/dist/{models-ECy_bhdn.d.ts → models-CNN_LuGV.d.ts} +12 -9
- package/dist/models-CNN_LuGV.d.ts.map +1 -0
- package/dist/models.d.cts +2 -2
- package/dist/models.d.ts +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.ts +1 -1
- package/dist/{schema-CvCxeox5.d.cts → schema-BNl4txEF.d.cts} +757 -402
- package/dist/schema-BNl4txEF.d.cts.map +1 -0
- package/dist/{schema-CvCxeox5.d.ts → schema-BNl4txEF.d.ts} +757 -402
- package/dist/schema-BNl4txEF.d.ts.map +1 -0
- package/docs/SDK-AUDIT.md +273 -0
- package/docs/backend-compatibility.md +66 -0
- package/docs/errors-and-pagination.md +1 -1
- package/docs/getting-started.md +1 -2
- package/docs/releasing.md +13 -3
- package/docs/reseller-workflow.md +1 -1
- package/docs/webhooks.md +4 -7
- package/package.json +3 -2
- package/dist/models-ECy_bhdn.d.ts.map +0 -1
- package/dist/models-VMmyyuf_.d.cts.map +0 -1
- package/dist/schema-CvCxeox5.d.cts.map +0 -1
- package/dist/schema-CvCxeox5.d.ts.map +0 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
//#region src/generated/schema.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by openapi-typescript.
|
|
4
|
-
* Do not make direct changes to the file.
|
|
5
|
-
*/
|
|
6
2
|
interface paths {
|
|
7
3
|
"/affiliates": {
|
|
8
4
|
parameters: {
|
|
@@ -372,46 +368,6 @@ interface paths {
|
|
|
372
368
|
patch?: never;
|
|
373
369
|
trace?: never;
|
|
374
370
|
};
|
|
375
|
-
"/integrations/telegram/link/consume": {
|
|
376
|
-
parameters: {
|
|
377
|
-
query?: never;
|
|
378
|
-
header?: never;
|
|
379
|
-
path?: never;
|
|
380
|
-
cookie?: never;
|
|
381
|
-
};
|
|
382
|
-
get?: never;
|
|
383
|
-
put?: never;
|
|
384
|
-
/**
|
|
385
|
-
* Consume a Telegram account link
|
|
386
|
-
* @description Links a private Telegram chat after validating the single-use token.
|
|
387
|
-
*/
|
|
388
|
-
post: operations["integrations_telegram_link_consume_create"];
|
|
389
|
-
delete?: never;
|
|
390
|
-
options?: never;
|
|
391
|
-
head?: never;
|
|
392
|
-
patch?: never;
|
|
393
|
-
trace?: never;
|
|
394
|
-
};
|
|
395
|
-
"/integrations/telegram/session": {
|
|
396
|
-
parameters: {
|
|
397
|
-
query?: never;
|
|
398
|
-
header?: never;
|
|
399
|
-
path?: never;
|
|
400
|
-
cookie?: never;
|
|
401
|
-
};
|
|
402
|
-
get?: never;
|
|
403
|
-
put?: never;
|
|
404
|
-
/**
|
|
405
|
-
* Create a Telegram API session
|
|
406
|
-
* @description Returns a two-minute access token for an already linked private chat.
|
|
407
|
-
*/
|
|
408
|
-
post: operations["integrations_telegram_session_create"];
|
|
409
|
-
delete?: never;
|
|
410
|
-
options?: never;
|
|
411
|
-
head?: never;
|
|
412
|
-
patch?: never;
|
|
413
|
-
trace?: never;
|
|
414
|
-
};
|
|
415
371
|
"/invoices": {
|
|
416
372
|
parameters: {
|
|
417
373
|
query?: never;
|
|
@@ -427,7 +383,7 @@ interface paths {
|
|
|
427
383
|
put?: never;
|
|
428
384
|
/**
|
|
429
385
|
* Create an invoice
|
|
430
|
-
* @description Calculates package pricing
|
|
386
|
+
* @description Calculates package pricing and initializes the selected payment provider when required. The status defaults to `pending`. Only superusers may create an already-paid invoice by setting `status` to `paid`; other authenticated users receive a 403 response. For wallet payments, omit `status`: the invoice is created as pending and becomes paid after the balance is debited successfully.
|
|
431
387
|
*/
|
|
432
388
|
post: operations["invoices_create"];
|
|
433
389
|
delete?: never;
|
|
@@ -740,6 +696,26 @@ interface paths {
|
|
|
740
696
|
patch?: never;
|
|
741
697
|
trace?: never;
|
|
742
698
|
};
|
|
699
|
+
"/login/otp": {
|
|
700
|
+
parameters: {
|
|
701
|
+
query?: never;
|
|
702
|
+
header?: never;
|
|
703
|
+
path?: never;
|
|
704
|
+
cookie?: never;
|
|
705
|
+
};
|
|
706
|
+
get?: never;
|
|
707
|
+
put?: never;
|
|
708
|
+
/**
|
|
709
|
+
* Complete two-factor sign-in
|
|
710
|
+
* @description Exchanges a single-use sign-in challenge and authenticator code for account tokens.
|
|
711
|
+
*/
|
|
712
|
+
post: operations["login_otp_create"];
|
|
713
|
+
delete?: never;
|
|
714
|
+
options?: never;
|
|
715
|
+
head?: never;
|
|
716
|
+
patch?: never;
|
|
717
|
+
trace?: never;
|
|
718
|
+
};
|
|
743
719
|
"/news": {
|
|
744
720
|
parameters: {
|
|
745
721
|
query?: never;
|
|
@@ -886,8 +862,8 @@ interface paths {
|
|
|
886
862
|
get?: never;
|
|
887
863
|
put?: never;
|
|
888
864
|
/**
|
|
889
|
-
* Confirm two-factor
|
|
890
|
-
* @description
|
|
865
|
+
* Confirm two-factor authentication
|
|
866
|
+
* @description Activates the pending authenticator after verifying its code and revokes previous JWTs.
|
|
891
867
|
*/
|
|
892
868
|
post: operations["profile_2fa_confirm_create"];
|
|
893
869
|
delete?: never;
|
|
@@ -907,7 +883,7 @@ interface paths {
|
|
|
907
883
|
put?: never;
|
|
908
884
|
/**
|
|
909
885
|
* Disable two-factor authentication
|
|
910
|
-
* @description
|
|
886
|
+
* @description Requires the primary factor and current authenticator code, then revokes previous JWTs.
|
|
911
887
|
*/
|
|
912
888
|
post: operations["profile_2fa_disable_create"];
|
|
913
889
|
delete?: never;
|
|
@@ -926,8 +902,8 @@ interface paths {
|
|
|
926
902
|
get?: never;
|
|
927
903
|
put?: never;
|
|
928
904
|
/**
|
|
929
|
-
*
|
|
930
|
-
* @description
|
|
905
|
+
* Prepare two-factor authentication
|
|
906
|
+
* @description Confirms the primary factor and prepares a pending secret without disabling current protection.
|
|
931
907
|
*/
|
|
932
908
|
post: operations["profile_2fa_setup_create"];
|
|
933
909
|
delete?: never;
|
|
@@ -1096,46 +1072,6 @@ interface paths {
|
|
|
1096
1072
|
patch?: never;
|
|
1097
1073
|
trace?: never;
|
|
1098
1074
|
};
|
|
1099
|
-
"/sessions": {
|
|
1100
|
-
parameters: {
|
|
1101
|
-
query?: never;
|
|
1102
|
-
header?: never;
|
|
1103
|
-
path?: never;
|
|
1104
|
-
cookie?: never;
|
|
1105
|
-
};
|
|
1106
|
-
/**
|
|
1107
|
-
* List active proxy sessions
|
|
1108
|
-
* @description Returns sticky proxy session identifiers owned by the authenticated username. At most the configured safety limit is returned.
|
|
1109
|
-
*/
|
|
1110
|
-
get: operations["sessions_list"];
|
|
1111
|
-
put?: never;
|
|
1112
|
-
post?: never;
|
|
1113
|
-
delete?: never;
|
|
1114
|
-
options?: never;
|
|
1115
|
-
head?: never;
|
|
1116
|
-
patch?: never;
|
|
1117
|
-
trace?: never;
|
|
1118
|
-
};
|
|
1119
|
-
"/sessions/{id}": {
|
|
1120
|
-
parameters: {
|
|
1121
|
-
query?: never;
|
|
1122
|
-
header?: never;
|
|
1123
|
-
path?: never;
|
|
1124
|
-
cookie?: never;
|
|
1125
|
-
};
|
|
1126
|
-
get?: never;
|
|
1127
|
-
put?: never;
|
|
1128
|
-
post?: never;
|
|
1129
|
-
/**
|
|
1130
|
-
* Revoke a proxy session
|
|
1131
|
-
* @description Deletes matching sticky-session keys owned by the authenticated username. The path value is treated as the session identifier fragment.
|
|
1132
|
-
*/
|
|
1133
|
-
delete: operations["sessions_destroy"];
|
|
1134
|
-
options?: never;
|
|
1135
|
-
head?: never;
|
|
1136
|
-
patch?: never;
|
|
1137
|
-
trace?: never;
|
|
1138
|
-
};
|
|
1139
1075
|
"/settings": {
|
|
1140
1076
|
parameters: {
|
|
1141
1077
|
query?: never;
|
|
@@ -1437,6 +1373,11 @@ interface components {
|
|
|
1437
1373
|
new_password2: string;
|
|
1438
1374
|
old_password: string;
|
|
1439
1375
|
};
|
|
1376
|
+
/**
|
|
1377
|
+
* @description * `not_required` - Not required * `initializing` - Initializing * `ready` - Ready * `failed` - Failed
|
|
1378
|
+
* @enum {string}
|
|
1379
|
+
*/
|
|
1380
|
+
CheckoutStatusEnum: "not_required" | "initializing" | "ready" | "failed";
|
|
1440
1381
|
City: {
|
|
1441
1382
|
readonly asns: components["schemas"]["LocationCodeName"][];
|
|
1442
1383
|
/** @description Raw city code as it appears in the source data. los_angeles paris */
|
|
@@ -1798,10 +1739,7 @@ interface components {
|
|
|
1798
1739
|
* @description The balance to top up for the user. Must be zero or positive.
|
|
1799
1740
|
*/
|
|
1800
1741
|
balance?: number;
|
|
1801
|
-
|
|
1802
|
-
coinbase_charge_id?: string;
|
|
1803
|
-
/** @description The Coingate order token for the payment. Optional field with a maximum length of 255 characters. */
|
|
1804
|
-
coingate_order_token?: string;
|
|
1742
|
+
checkout_status?: components["schemas"]["CheckoutStatusEnum"];
|
|
1805
1743
|
company_address?: string;
|
|
1806
1744
|
company_city?: string;
|
|
1807
1745
|
company_name?: string;
|
|
@@ -1810,10 +1748,15 @@ interface components {
|
|
|
1810
1748
|
company_vat_number?: string;
|
|
1811
1749
|
/** @description The maximum number of concurrent connections allowed for this package. */
|
|
1812
1750
|
connection_limit?: number;
|
|
1813
|
-
readonly country: components["schemas"]["Country"];
|
|
1814
|
-
readonly coupon: components["schemas"]["CouponShort"];
|
|
1751
|
+
readonly country: components["schemas"]["Country"] | null;
|
|
1752
|
+
readonly coupon: components["schemas"]["CouponShort"] | null;
|
|
1815
1753
|
/** Format: date-time */
|
|
1816
1754
|
readonly created: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* Billing Currency
|
|
1757
|
+
* @description ISO 4217 currency captured when the invoice is created.
|
|
1758
|
+
*/
|
|
1759
|
+
currency?: string;
|
|
1817
1760
|
/**
|
|
1818
1761
|
* Data (bytes)
|
|
1819
1762
|
* Format: int64
|
|
@@ -1822,9 +1765,14 @@ interface components {
|
|
|
1822
1765
|
data?: number;
|
|
1823
1766
|
/** @description A description of the invoice. This field is optional and can be left blank. */
|
|
1824
1767
|
description?: string;
|
|
1768
|
+
readonly fx_effective_rate: string;
|
|
1769
|
+
readonly fx_market_rate: string;
|
|
1770
|
+
readonly fx_markup_percent: string;
|
|
1771
|
+
/** Format: date-time */
|
|
1772
|
+
readonly fx_quoted_at: string | null;
|
|
1825
1773
|
/**
|
|
1826
1774
|
* Payment Gateway
|
|
1827
|
-
* @description The payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual
|
|
1775
|
+
* @description The payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
|
|
1828
1776
|
*/
|
|
1829
1777
|
gateway?: components["schemas"]["InvoiceGatewayEnum"];
|
|
1830
1778
|
id?: string;
|
|
@@ -1840,12 +1788,14 @@ interface components {
|
|
|
1840
1788
|
* @description Indicates whether this invoice is a payout to the marketer. Default is False.
|
|
1841
1789
|
*/
|
|
1842
1790
|
is_payout?: boolean;
|
|
1843
|
-
readonly package: components["schemas"]["PackageShort"];
|
|
1791
|
+
readonly package: components["schemas"]["PackageShort"] | null;
|
|
1844
1792
|
/**
|
|
1845
1793
|
* Format: date-time
|
|
1846
1794
|
* @description The date and time when the invoice was paid.
|
|
1847
1795
|
*/
|
|
1848
1796
|
paid?: string | null;
|
|
1797
|
+
readonly payment_amount: number;
|
|
1798
|
+
readonly payment_currency: string;
|
|
1849
1799
|
/**
|
|
1850
1800
|
* Format: uri
|
|
1851
1801
|
* @description The URL for making the payment. Optional field with a maximum length of 500 characters.
|
|
@@ -1857,6 +1807,10 @@ interface components {
|
|
|
1857
1807
|
* @description The total price of the invoice, including any discounts. Must be at least 1 cent.
|
|
1858
1808
|
*/
|
|
1859
1809
|
price_total?: number;
|
|
1810
|
+
/** @description Provider-side hosted checkout identifier used for reconciliation. */
|
|
1811
|
+
provider_checkout_id?: string;
|
|
1812
|
+
/** @description Provider-side payment or transaction identifier used for reconciliation. */
|
|
1813
|
+
provider_payment_id?: string;
|
|
1860
1814
|
/** @description The number of proxies to assign. */
|
|
1861
1815
|
quantity?: number;
|
|
1862
1816
|
/** @description After changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error */
|
|
@@ -1875,10 +1829,10 @@ interface components {
|
|
|
1875
1829
|
vat?: number;
|
|
1876
1830
|
};
|
|
1877
1831
|
/**
|
|
1878
|
-
* @description * `crypto` - crypto * `wallet` - wallet * `manual` - manual * `stripe` - stripe
|
|
1832
|
+
* @description * `crypto` - crypto * `credit_card` - credit_card * `wallet` - wallet * `manual` - manual * `stripe` - stripe * `coinbase` - coinbase * `cryptomus` - cryptomus * `coingate` - coingate * `whitepay` - whitepay * `wayforpay` - wayforpay * `usegateway` - usegateway * `binance` - binance * `anymoney` - anymoney * `coinpayments` - coinpayments * `checkoutcom` - checkoutcom * `nowpayments` - nowpayments * `btcpay` - btcpay * `braintree` - braintree * `monobank` - monobank * `liqpay` - liqpay * `iyzico` - iyzico * `paytr` - paytr * `payu` - payu * `tpay` - tpay * `przelewy24` - przelewy24 * `gopay` - gopay * `comgate` - comgate * `monei` - monei * `redsys` - redsys * `payplug` - payplug * `mollie` - mollie * `unzer` - unzer * `payone` - payone * `nexi_xpay` - nexi_xpay * `halyk_epay` - halyk_epay * `kaspi_pay` - kaspi_pay * `vipps_mobilepay` - vipps_mobilepay * `paytrail` - paytrail
|
|
1879
1833
|
* @enum {string}
|
|
1880
1834
|
*/
|
|
1881
|
-
InvoiceCreateRequestGatewayEnum: "crypto" | "wallet" | "manual" | "stripe";
|
|
1835
|
+
InvoiceCreateRequestGatewayEnum: "crypto" | "credit_card" | "wallet" | "manual" | "stripe" | "coinbase" | "cryptomus" | "coingate" | "whitepay" | "wayforpay" | "usegateway" | "binance" | "anymoney" | "coinpayments" | "checkoutcom" | "nowpayments" | "btcpay" | "braintree" | "monobank" | "liqpay" | "iyzico" | "paytr" | "payu" | "tpay" | "przelewy24" | "gopay" | "comgate" | "monei" | "redsys" | "payplug" | "mollie" | "unzer" | "payone" | "nexi_xpay" | "halyk_epay" | "kaspi_pay" | "vipps_mobilepay" | "paytrail" | (string & {});
|
|
1882
1836
|
InvoiceCreateRequestRequest: {
|
|
1883
1837
|
/** @description Account balance amount to purchase, in the smallest currency unit. */
|
|
1884
1838
|
amount?: number;
|
|
@@ -1899,8 +1853,15 @@ interface components {
|
|
|
1899
1853
|
* @description Package to purchase. Required for package purchases.
|
|
1900
1854
|
*/
|
|
1901
1855
|
package_id?: string;
|
|
1856
|
+
/** @description ISO 4217 currency charged by a regional fiat provider. */
|
|
1857
|
+
payment_currency?: string;
|
|
1902
1858
|
/** @description Number of static proxies to purchase. */
|
|
1903
1859
|
quantity?: number;
|
|
1860
|
+
/**
|
|
1861
|
+
* @description Initial invoice status. Defaults to pending. Only superusers may set paid; other authenticated users receive a 403 response. * `pending` - pending * `paid` - paid
|
|
1862
|
+
* @default pending
|
|
1863
|
+
*/
|
|
1864
|
+
status?: components["schemas"]["InvoiceCreateRequestStatusEnum"];
|
|
1904
1865
|
/**
|
|
1905
1866
|
* Format: uuid
|
|
1906
1867
|
* @description Managed sub-user that should receive the purchase.
|
|
@@ -1908,10 +1869,99 @@ interface components {
|
|
|
1908
1869
|
user_id?: string;
|
|
1909
1870
|
};
|
|
1910
1871
|
/**
|
|
1911
|
-
* @description * `
|
|
1872
|
+
* @description * `pending` - pending * `paid` - paid
|
|
1873
|
+
* @enum {string}
|
|
1874
|
+
*/
|
|
1875
|
+
InvoiceCreateRequestStatusEnum: "pending" | "paid";
|
|
1876
|
+
/**
|
|
1877
|
+
* @description * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
|
|
1912
1878
|
* @enum {string}
|
|
1913
1879
|
*/
|
|
1914
|
-
InvoiceGatewayEnum: "coinbase" | "cryptomus" | "stripe" | "coingate" | "wallet" | "manual";
|
|
1880
|
+
InvoiceGatewayEnum: "coinbase" | "cryptomus" | "stripe" | "coingate" | "wallet" | "manual" | "whitepay" | "wayforpay" | "usegateway" | "binance" | "anymoney" | "coinpayments" | "checkoutcom" | "nowpayments" | "btcpay" | "braintree" | "monobank" | "liqpay" | "iyzico" | "paytr" | "payu" | "tpay" | "przelewy24" | "gopay" | "comgate" | "monei" | "redsys" | "payplug" | "mollie" | "unzer" | "payone" | "nexi_xpay" | "halyk_epay" | "kaspi_pay" | "vipps_mobilepay" | "paytrail" | (string & {});
|
|
1881
|
+
/** @description Full invoice in package-based deployments; short invoice otherwise. Invoice creation always returns the full Invoice representation. */
|
|
1882
|
+
InvoiceRead: components["schemas"]["Invoice"] | components["schemas"]["InvoiceShort"];
|
|
1883
|
+
InvoiceShort: {
|
|
1884
|
+
/**
|
|
1885
|
+
* Balance Top Up (cents)
|
|
1886
|
+
* Format: int64
|
|
1887
|
+
* @description The balance to top up for the user. Must be zero or positive.
|
|
1888
|
+
*/
|
|
1889
|
+
balance?: number;
|
|
1890
|
+
checkout_status?: components["schemas"]["CheckoutStatusEnum"];
|
|
1891
|
+
company_address?: string;
|
|
1892
|
+
company_city?: string;
|
|
1893
|
+
company_name?: string;
|
|
1894
|
+
company_postal_code?: string;
|
|
1895
|
+
company_registration_number?: string;
|
|
1896
|
+
company_vat_number?: string;
|
|
1897
|
+
/** @description The maximum number of concurrent connections allowed for this package. */
|
|
1898
|
+
connection_limit?: number;
|
|
1899
|
+
readonly country: components["schemas"]["Country"] | null;
|
|
1900
|
+
readonly coupon: components["schemas"]["Coupon"] | null;
|
|
1901
|
+
/** Format: date-time */
|
|
1902
|
+
readonly created: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* Billing Currency
|
|
1905
|
+
* @description ISO 4217 currency captured when the invoice is created.
|
|
1906
|
+
*/
|
|
1907
|
+
currency?: string;
|
|
1908
|
+
/**
|
|
1909
|
+
* Data (bytes)
|
|
1910
|
+
* Format: int64
|
|
1911
|
+
* @description The amount of data in bytes.
|
|
1912
|
+
*/
|
|
1913
|
+
data?: number;
|
|
1914
|
+
/** @description A description of the invoice. This field is optional and can be left blank. */
|
|
1915
|
+
description?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
* Format: date-time
|
|
1918
|
+
* @description The date and time when the invoice expires. If not set, the invoice does not expire.
|
|
1919
|
+
*/
|
|
1920
|
+
expires?: string | null;
|
|
1921
|
+
/**
|
|
1922
|
+
* Payment Gateway
|
|
1923
|
+
* @description The payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail
|
|
1924
|
+
*/
|
|
1925
|
+
gateway?: components["schemas"]["InvoiceGatewayEnum"];
|
|
1926
|
+
id?: string;
|
|
1927
|
+
/** @description A unique identifier for the invoice, generated automatically. */
|
|
1928
|
+
internal_id?: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* One-Time Purchase
|
|
1931
|
+
* @description Indicates whether this invoice is for a one-time purchase. Default is False, meaning it is a recurring invoice.
|
|
1932
|
+
*/
|
|
1933
|
+
is_one_time?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* Payout
|
|
1936
|
+
* @description Indicates whether this invoice is a payout to the marketer. Default is False.
|
|
1937
|
+
*/
|
|
1938
|
+
is_payout?: boolean;
|
|
1939
|
+
/**
|
|
1940
|
+
* Format: date-time
|
|
1941
|
+
* @description The date and time when the invoice was paid.
|
|
1942
|
+
*/
|
|
1943
|
+
paid?: string | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* Price (cents)
|
|
1946
|
+
* Format: int64
|
|
1947
|
+
* @description The total price of the invoice, including any discounts. Must be at least 1 cent.
|
|
1948
|
+
*/
|
|
1949
|
+
price_total?: number;
|
|
1950
|
+
/** @description Provider-side hosted checkout identifier used for reconciliation. */
|
|
1951
|
+
provider_checkout_id?: string;
|
|
1952
|
+
/** @description Provider-side payment or transaction identifier used for reconciliation. */
|
|
1953
|
+
provider_payment_id?: string;
|
|
1954
|
+
/** @description After changing invoice status to PAID, the invoice will be processed and user package created in case none exists. If you need to cancel the invoice, make sure to subtract data from the user package after changing the invoice status. Changing the status from PAID to any other will not affect the user package's data or proxies. * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error */
|
|
1955
|
+
status?: components["schemas"]["InvoiceStatusEnum"];
|
|
1956
|
+
/** Format: date-time */
|
|
1957
|
+
readonly updated: string;
|
|
1958
|
+
/**
|
|
1959
|
+
* VAT (%)
|
|
1960
|
+
* Format: double
|
|
1961
|
+
* @description The VAT percentage applied to the invoice. Must be between 0 and 100.
|
|
1962
|
+
*/
|
|
1963
|
+
vat?: number;
|
|
1964
|
+
};
|
|
1915
1965
|
/**
|
|
1916
1966
|
* @description * `pending` - Pending * `paid` - Paid * `unpaid` - Unpaid * `error` - Error
|
|
1917
1967
|
* @enum {string}
|
|
@@ -2166,6 +2216,11 @@ interface components {
|
|
|
2166
2216
|
/** Format: uuid */
|
|
2167
2217
|
user_id: string;
|
|
2168
2218
|
};
|
|
2219
|
+
OTPChallenge: {
|
|
2220
|
+
challenge: string;
|
|
2221
|
+
expires_in: number;
|
|
2222
|
+
status: string;
|
|
2223
|
+
};
|
|
2169
2224
|
OverallPoint: {
|
|
2170
2225
|
data: number;
|
|
2171
2226
|
requests: number;
|
|
@@ -2391,7 +2446,7 @@ interface components {
|
|
|
2391
2446
|
previous?: string | null;
|
|
2392
2447
|
results: components["schemas"]["CouponShort"][];
|
|
2393
2448
|
};
|
|
2394
|
-
|
|
2449
|
+
PaginatedInvoiceReadList: {
|
|
2395
2450
|
/** @example 1 */
|
|
2396
2451
|
count: number;
|
|
2397
2452
|
/**
|
|
@@ -2404,7 +2459,7 @@ interface components {
|
|
|
2404
2459
|
* @example null
|
|
2405
2460
|
*/
|
|
2406
2461
|
previous?: string | null;
|
|
2407
|
-
results: components["schemas"]["
|
|
2462
|
+
results: components["schemas"]["InvoiceRead"][];
|
|
2408
2463
|
};
|
|
2409
2464
|
PaginatedISPList: {
|
|
2410
2465
|
/** @example 1 */
|
|
@@ -2676,6 +2731,14 @@ interface components {
|
|
|
2676
2731
|
/** @description User's postal/ZIP code. */
|
|
2677
2732
|
zip?: string;
|
|
2678
2733
|
};
|
|
2734
|
+
PaymentGateway: {
|
|
2735
|
+
code: string;
|
|
2736
|
+
kind: string;
|
|
2737
|
+
name: string;
|
|
2738
|
+
requires_crypto_currency: boolean;
|
|
2739
|
+
supported_crypto_currencies: string[];
|
|
2740
|
+
supported_currencies: string[];
|
|
2741
|
+
};
|
|
2679
2742
|
PaymentLinkResponse: {
|
|
2680
2743
|
/**
|
|
2681
2744
|
* Format: uri
|
|
@@ -2809,13 +2872,6 @@ interface components {
|
|
|
2809
2872
|
* @enum {string}
|
|
2810
2873
|
*/
|
|
2811
2874
|
RewardStatusEnum: "pending" | "paid" | "review" | "cancelled";
|
|
2812
|
-
SessionDeleteResponse: {
|
|
2813
|
-
deleted: boolean;
|
|
2814
|
-
};
|
|
2815
|
-
SessionListResponse: {
|
|
2816
|
-
count: number;
|
|
2817
|
-
results: string[];
|
|
2818
|
-
};
|
|
2819
2875
|
SettingsCrypto: {
|
|
2820
2876
|
currencies: string[];
|
|
2821
2877
|
};
|
|
@@ -2848,6 +2904,7 @@ interface components {
|
|
|
2848
2904
|
gateways: components["schemas"]["SettingsGateway"][];
|
|
2849
2905
|
orders_active: number;
|
|
2850
2906
|
orders_total: number;
|
|
2907
|
+
payment_gateways: components["schemas"]["PaymentGateway"][];
|
|
2851
2908
|
payment_methods: string[];
|
|
2852
2909
|
referrals: components["schemas"]["SettingsReferral"];
|
|
2853
2910
|
/** Format: double */
|
|
@@ -2913,13 +2970,6 @@ interface components {
|
|
|
2913
2970
|
telegram_username?: string;
|
|
2914
2971
|
timezone: string;
|
|
2915
2972
|
};
|
|
2916
|
-
TelegramLinkConsumeRequest: {
|
|
2917
|
-
chat_id: number;
|
|
2918
|
-
language_code?: string;
|
|
2919
|
-
telegram_user_id: number;
|
|
2920
|
-
token: string;
|
|
2921
|
-
username?: string;
|
|
2922
|
-
};
|
|
2923
2973
|
TelegramLinkResponse: {
|
|
2924
2974
|
/** Format: uri */
|
|
2925
2975
|
bot_url: string;
|
|
@@ -2927,19 +2977,6 @@ interface components {
|
|
|
2927
2977
|
expires_at: string;
|
|
2928
2978
|
status: string;
|
|
2929
2979
|
};
|
|
2930
|
-
TelegramSessionRequest: {
|
|
2931
|
-
chat_id: number;
|
|
2932
|
-
telegram_user_id: number;
|
|
2933
|
-
};
|
|
2934
|
-
TelegramSessionResponse: {
|
|
2935
|
-
access: string;
|
|
2936
|
-
expires_in: number;
|
|
2937
|
-
locale: string;
|
|
2938
|
-
timezone: string;
|
|
2939
|
-
user: {
|
|
2940
|
-
[key: string]: unknown;
|
|
2941
|
-
};
|
|
2942
|
-
};
|
|
2943
2980
|
TokenPairResponse: {
|
|
2944
2981
|
/** @description Long-lived token used to request a new access token. */
|
|
2945
2982
|
refresh: string;
|
|
@@ -2984,6 +3021,13 @@ interface components {
|
|
|
2984
3021
|
};
|
|
2985
3022
|
TwoFactorDisableRequest: {
|
|
2986
3023
|
code: string;
|
|
3024
|
+
credential?: string;
|
|
3025
|
+
password?: string;
|
|
3026
|
+
};
|
|
3027
|
+
TwoFactorSetupRequestRequest: {
|
|
3028
|
+
code?: string;
|
|
3029
|
+
credential?: string;
|
|
3030
|
+
password?: string;
|
|
2987
3031
|
};
|
|
2988
3032
|
TwoFactorSetupResponse: {
|
|
2989
3033
|
otpauth_url: string;
|
|
@@ -3016,15 +3060,15 @@ interface components {
|
|
|
3016
3060
|
readonly currency: {
|
|
3017
3061
|
[key: string]: string;
|
|
3018
3062
|
};
|
|
3019
|
-
/** @description
|
|
3020
|
-
readonly data
|
|
3021
|
-
/** @description
|
|
3022
|
-
readonly data_spent
|
|
3063
|
+
/** @description Present only when SITE_PACKAGE_BASED_AUTH is disabled. */
|
|
3064
|
+
readonly data?: number | null;
|
|
3065
|
+
/** @description Present only when SITE_PACKAGE_BASED_AUTH is disabled. */
|
|
3066
|
+
readonly data_spent?: number | null;
|
|
3023
3067
|
/**
|
|
3024
3068
|
* Format: date-time
|
|
3025
|
-
* @description
|
|
3069
|
+
* @description Present only when SITE_PACKAGE_BASED_AUTH is disabled.
|
|
3026
3070
|
*/
|
|
3027
|
-
readonly data_updated
|
|
3071
|
+
readonly data_updated?: string | null;
|
|
3028
3072
|
/** Format: date-time */
|
|
3029
3073
|
readonly date_joined: string;
|
|
3030
3074
|
/** @description Timestamp of when the user joined */
|
|
@@ -3051,15 +3095,17 @@ interface components {
|
|
|
3051
3095
|
is_superuser?: boolean;
|
|
3052
3096
|
language?: components["schemas"]["LanguageEnum"];
|
|
3053
3097
|
last_name?: string;
|
|
3098
|
+
/** @description Present only when SITE_PACKAGE_BASED_AUTH is enabled. */
|
|
3099
|
+
readonly orders?: components["schemas"]["Order"][];
|
|
3054
3100
|
/** @description ID of the parent user (for sub-accounts) */
|
|
3055
3101
|
readonly parent_id: string;
|
|
3056
|
-
/** @description
|
|
3057
|
-
readonly proxy_password
|
|
3102
|
+
/** @description Present only when SITE_PACKAGE_BASED_AUTH is disabled. */
|
|
3103
|
+
readonly proxy_password?: string | null;
|
|
3058
3104
|
/**
|
|
3059
3105
|
* Format: date-time
|
|
3060
|
-
* @description
|
|
3106
|
+
* @description Present only when SITE_PACKAGE_BASED_AUTH is disabled.
|
|
3061
3107
|
*/
|
|
3062
|
-
readonly proxy_password_reset
|
|
3108
|
+
readonly proxy_password_reset?: string | null;
|
|
3063
3109
|
readonly referral_balance_earned: number;
|
|
3064
3110
|
readonly referral_balance_pending: number;
|
|
3065
3111
|
readonly referral_code: string;
|
|
@@ -3135,6 +3181,10 @@ interface components {
|
|
|
3135
3181
|
*/
|
|
3136
3182
|
package_id?: string;
|
|
3137
3183
|
};
|
|
3184
|
+
VerifyOTPRequest: {
|
|
3185
|
+
challenge: string;
|
|
3186
|
+
code: string;
|
|
3187
|
+
};
|
|
3138
3188
|
WebhookCreated: {
|
|
3139
3189
|
/** Format: date-time */
|
|
3140
3190
|
readonly created: string;
|
|
@@ -4238,6 +4288,8 @@ interface operations {
|
|
|
4238
4288
|
header?: {
|
|
4239
4289
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
4240
4290
|
"Accept-Language"?: string;
|
|
4291
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
4292
|
+
"Idempotency-Key"?: string;
|
|
4241
4293
|
};
|
|
4242
4294
|
path: {
|
|
4243
4295
|
/** @description A unique value identifying this API Key. */
|
|
@@ -4250,6 +4302,8 @@ interface operations {
|
|
|
4250
4302
|
/** @description No response body */
|
|
4251
4303
|
204: {
|
|
4252
4304
|
headers: {
|
|
4305
|
+
/** @description True when the response was replayed from a prior request. */
|
|
4306
|
+
"Idempotency-Replayed"?: "true";
|
|
4253
4307
|
[name: string]: unknown;
|
|
4254
4308
|
};
|
|
4255
4309
|
content?: never;
|
|
@@ -4314,6 +4368,21 @@ interface operations {
|
|
|
4314
4368
|
};
|
|
4315
4369
|
};
|
|
4316
4370
|
};
|
|
4371
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
4372
|
+
409: {
|
|
4373
|
+
headers: {
|
|
4374
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4375
|
+
[name: string]: unknown;
|
|
4376
|
+
};
|
|
4377
|
+
content: {
|
|
4378
|
+
"application/json": {
|
|
4379
|
+
detail?: string;
|
|
4380
|
+
non_field_errors?: string[];
|
|
4381
|
+
} & {
|
|
4382
|
+
[key: string]: string | string[];
|
|
4383
|
+
};
|
|
4384
|
+
};
|
|
4385
|
+
};
|
|
4317
4386
|
};
|
|
4318
4387
|
};
|
|
4319
4388
|
coupons_list: {
|
|
@@ -4402,6 +4471,8 @@ interface operations {
|
|
|
4402
4471
|
header?: {
|
|
4403
4472
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
4404
4473
|
"Accept-Language"?: string;
|
|
4474
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
4475
|
+
"Idempotency-Key"?: string;
|
|
4405
4476
|
};
|
|
4406
4477
|
path?: never;
|
|
4407
4478
|
cookie?: never;
|
|
@@ -4417,6 +4488,10 @@ interface operations {
|
|
|
4417
4488
|
/** @description The resource or action result was created successfully. */
|
|
4418
4489
|
201: {
|
|
4419
4490
|
headers: {
|
|
4491
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4492
|
+
ETag?: string;
|
|
4493
|
+
/** @description True when the response was replayed from a prior request. */
|
|
4494
|
+
"Idempotency-Replayed"?: "true";
|
|
4420
4495
|
[name: string]: unknown;
|
|
4421
4496
|
};
|
|
4422
4497
|
content: {
|
|
@@ -4468,6 +4543,21 @@ interface operations {
|
|
|
4468
4543
|
};
|
|
4469
4544
|
};
|
|
4470
4545
|
};
|
|
4546
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
4547
|
+
409: {
|
|
4548
|
+
headers: {
|
|
4549
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4550
|
+
[name: string]: unknown;
|
|
4551
|
+
};
|
|
4552
|
+
content: {
|
|
4553
|
+
"application/json": {
|
|
4554
|
+
detail?: string;
|
|
4555
|
+
non_field_errors?: string[];
|
|
4556
|
+
} & {
|
|
4557
|
+
[key: string]: string | string[];
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4560
|
+
};
|
|
4471
4561
|
};
|
|
4472
4562
|
};
|
|
4473
4563
|
coupons_retrieve: {
|
|
@@ -4488,6 +4578,8 @@ interface operations {
|
|
|
4488
4578
|
/** @description The operation completed successfully. */
|
|
4489
4579
|
200: {
|
|
4490
4580
|
headers: {
|
|
4581
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4582
|
+
ETag?: string;
|
|
4491
4583
|
[name: string]: unknown;
|
|
4492
4584
|
};
|
|
4493
4585
|
content: {
|
|
@@ -4562,6 +4654,8 @@ interface operations {
|
|
|
4562
4654
|
header?: {
|
|
4563
4655
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
4564
4656
|
"Accept-Language"?: string;
|
|
4657
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
4658
|
+
"If-Match"?: string;
|
|
4565
4659
|
};
|
|
4566
4660
|
path: {
|
|
4567
4661
|
/** @description A unique value identifying this Coupon. */
|
|
@@ -4580,6 +4674,8 @@ interface operations {
|
|
|
4580
4674
|
/** @description The operation completed successfully. */
|
|
4581
4675
|
200: {
|
|
4582
4676
|
headers: {
|
|
4677
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4678
|
+
ETag?: string;
|
|
4583
4679
|
[name: string]: unknown;
|
|
4584
4680
|
};
|
|
4585
4681
|
content: {
|
|
@@ -4646,6 +4742,23 @@ interface operations {
|
|
|
4646
4742
|
};
|
|
4647
4743
|
};
|
|
4648
4744
|
};
|
|
4745
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
4746
|
+
412: {
|
|
4747
|
+
headers: {
|
|
4748
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4749
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4750
|
+
ETag?: string;
|
|
4751
|
+
[name: string]: unknown;
|
|
4752
|
+
};
|
|
4753
|
+
content: {
|
|
4754
|
+
"application/json": {
|
|
4755
|
+
detail?: string;
|
|
4756
|
+
non_field_errors?: string[];
|
|
4757
|
+
} & {
|
|
4758
|
+
[key: string]: string | string[];
|
|
4759
|
+
};
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4649
4762
|
};
|
|
4650
4763
|
};
|
|
4651
4764
|
coupons_destroy: {
|
|
@@ -4654,6 +4767,10 @@ interface operations {
|
|
|
4654
4767
|
header?: {
|
|
4655
4768
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
4656
4769
|
"Accept-Language"?: string;
|
|
4770
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
4771
|
+
"Idempotency-Key"?: string;
|
|
4772
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
4773
|
+
"If-Match"?: string;
|
|
4657
4774
|
};
|
|
4658
4775
|
path: {
|
|
4659
4776
|
/** @description A unique value identifying this Coupon. */
|
|
@@ -4666,6 +4783,8 @@ interface operations {
|
|
|
4666
4783
|
/** @description No response body */
|
|
4667
4784
|
204: {
|
|
4668
4785
|
headers: {
|
|
4786
|
+
/** @description True when the response was replayed from a prior request. */
|
|
4787
|
+
"Idempotency-Replayed"?: "true";
|
|
4669
4788
|
[name: string]: unknown;
|
|
4670
4789
|
};
|
|
4671
4790
|
content?: never;
|
|
@@ -4730,6 +4849,38 @@ interface operations {
|
|
|
4730
4849
|
};
|
|
4731
4850
|
};
|
|
4732
4851
|
};
|
|
4852
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
4853
|
+
409: {
|
|
4854
|
+
headers: {
|
|
4855
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4856
|
+
[name: string]: unknown;
|
|
4857
|
+
};
|
|
4858
|
+
content: {
|
|
4859
|
+
"application/json": {
|
|
4860
|
+
detail?: string;
|
|
4861
|
+
non_field_errors?: string[];
|
|
4862
|
+
} & {
|
|
4863
|
+
[key: string]: string | string[];
|
|
4864
|
+
};
|
|
4865
|
+
};
|
|
4866
|
+
};
|
|
4867
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
4868
|
+
412: {
|
|
4869
|
+
headers: {
|
|
4870
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4871
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4872
|
+
ETag?: string;
|
|
4873
|
+
[name: string]: unknown;
|
|
4874
|
+
};
|
|
4875
|
+
content: {
|
|
4876
|
+
"application/json": {
|
|
4877
|
+
detail?: string;
|
|
4878
|
+
non_field_errors?: string[];
|
|
4879
|
+
} & {
|
|
4880
|
+
[key: string]: string | string[];
|
|
4881
|
+
};
|
|
4882
|
+
};
|
|
4883
|
+
};
|
|
4733
4884
|
};
|
|
4734
4885
|
};
|
|
4735
4886
|
coupons_partial_update: {
|
|
@@ -4738,6 +4889,8 @@ interface operations {
|
|
|
4738
4889
|
header?: {
|
|
4739
4890
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
4740
4891
|
"Accept-Language"?: string;
|
|
4892
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
4893
|
+
"If-Match"?: string;
|
|
4741
4894
|
};
|
|
4742
4895
|
path: {
|
|
4743
4896
|
/** @description A unique value identifying this Coupon. */
|
|
@@ -4756,6 +4909,8 @@ interface operations {
|
|
|
4756
4909
|
/** @description The operation completed successfully. */
|
|
4757
4910
|
200: {
|
|
4758
4911
|
headers: {
|
|
4912
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4913
|
+
ETag?: string;
|
|
4759
4914
|
[name: string]: unknown;
|
|
4760
4915
|
};
|
|
4761
4916
|
content: {
|
|
@@ -4822,12 +4977,29 @@ interface operations {
|
|
|
4822
4977
|
};
|
|
4823
4978
|
};
|
|
4824
4979
|
};
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4980
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
4981
|
+
412: {
|
|
4982
|
+
headers: {
|
|
4983
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
4984
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
4985
|
+
ETag?: string;
|
|
4986
|
+
[name: string]: unknown;
|
|
4987
|
+
};
|
|
4988
|
+
content: {
|
|
4989
|
+
"application/json": {
|
|
4990
|
+
detail?: string;
|
|
4991
|
+
non_field_errors?: string[];
|
|
4992
|
+
} & {
|
|
4993
|
+
[key: string]: string | string[];
|
|
4994
|
+
};
|
|
4995
|
+
};
|
|
4996
|
+
};
|
|
4997
|
+
};
|
|
4998
|
+
};
|
|
4999
|
+
coupons_redeems_list: {
|
|
5000
|
+
parameters: {
|
|
5001
|
+
query?: {
|
|
5002
|
+
code?: string;
|
|
4831
5003
|
/** @description Number of results to return per page. */
|
|
4832
5004
|
limit?: number;
|
|
4833
5005
|
/** @description The initial index from which to return the results. */
|
|
@@ -5270,103 +5442,11 @@ interface operations {
|
|
|
5270
5442
|
};
|
|
5271
5443
|
};
|
|
5272
5444
|
};
|
|
5273
|
-
integrations_telegram_link_consume_create: {
|
|
5274
|
-
parameters: {
|
|
5275
|
-
query?: never;
|
|
5276
|
-
header: {
|
|
5277
|
-
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
5278
|
-
"Accept-Language"?: string;
|
|
5279
|
-
/** @description Shared service credential configured on the ProxyRequest bot runtime. */
|
|
5280
|
-
"X-ProxyRequest-Telegram-Secret": string;
|
|
5281
|
-
};
|
|
5282
|
-
path?: never;
|
|
5283
|
-
cookie?: never;
|
|
5284
|
-
};
|
|
5285
|
-
requestBody: {
|
|
5286
|
-
content: {
|
|
5287
|
-
"application/json": components["schemas"]["TelegramLinkConsumeRequest"];
|
|
5288
|
-
"application/x-www-form-urlencoded": components["schemas"]["TelegramLinkConsumeRequest"];
|
|
5289
|
-
"multipart/form-data": components["schemas"]["TelegramLinkConsumeRequest"];
|
|
5290
|
-
};
|
|
5291
|
-
};
|
|
5292
|
-
responses: {
|
|
5293
|
-
/** @description The operation completed successfully. */
|
|
5294
|
-
200: {
|
|
5295
|
-
headers: {
|
|
5296
|
-
[name: string]: unknown;
|
|
5297
|
-
};
|
|
5298
|
-
content: {
|
|
5299
|
-
"application/json": components["schemas"]["TelegramConnectionResponse"];
|
|
5300
|
-
};
|
|
5301
|
-
};
|
|
5302
|
-
/** @description The request is malformed or violates a business rule. */
|
|
5303
|
-
400: {
|
|
5304
|
-
headers: {
|
|
5305
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5306
|
-
[name: string]: unknown;
|
|
5307
|
-
};
|
|
5308
|
-
content: {
|
|
5309
|
-
"application/json": {
|
|
5310
|
-
detail?: string;
|
|
5311
|
-
non_field_errors?: string[];
|
|
5312
|
-
} & {
|
|
5313
|
-
[key: string]: string | string[];
|
|
5314
|
-
};
|
|
5315
|
-
};
|
|
5316
|
-
};
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
integrations_telegram_session_create: {
|
|
5320
|
-
parameters: {
|
|
5321
|
-
query?: never;
|
|
5322
|
-
header: {
|
|
5323
|
-
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
5324
|
-
"Accept-Language"?: string;
|
|
5325
|
-
/** @description Shared service credential configured on the ProxyRequest bot runtime. */
|
|
5326
|
-
"X-ProxyRequest-Telegram-Secret": string;
|
|
5327
|
-
};
|
|
5328
|
-
path?: never;
|
|
5329
|
-
cookie?: never;
|
|
5330
|
-
};
|
|
5331
|
-
requestBody: {
|
|
5332
|
-
content: {
|
|
5333
|
-
"application/json": components["schemas"]["TelegramSessionRequest"];
|
|
5334
|
-
"application/x-www-form-urlencoded": components["schemas"]["TelegramSessionRequest"];
|
|
5335
|
-
"multipart/form-data": components["schemas"]["TelegramSessionRequest"];
|
|
5336
|
-
};
|
|
5337
|
-
};
|
|
5338
|
-
responses: {
|
|
5339
|
-
/** @description The operation completed successfully. */
|
|
5340
|
-
200: {
|
|
5341
|
-
headers: {
|
|
5342
|
-
[name: string]: unknown;
|
|
5343
|
-
};
|
|
5344
|
-
content: {
|
|
5345
|
-
"application/json": components["schemas"]["TelegramSessionResponse"];
|
|
5346
|
-
};
|
|
5347
|
-
};
|
|
5348
|
-
/** @description The request is malformed or violates a business rule. */
|
|
5349
|
-
400: {
|
|
5350
|
-
headers: {
|
|
5351
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5352
|
-
[name: string]: unknown;
|
|
5353
|
-
};
|
|
5354
|
-
content: {
|
|
5355
|
-
"application/json": {
|
|
5356
|
-
detail?: string;
|
|
5357
|
-
non_field_errors?: string[];
|
|
5358
|
-
} & {
|
|
5359
|
-
[key: string]: string | string[];
|
|
5360
|
-
};
|
|
5361
|
-
};
|
|
5362
|
-
};
|
|
5363
|
-
};
|
|
5364
|
-
};
|
|
5365
5445
|
invoices_list: {
|
|
5366
5446
|
parameters: {
|
|
5367
5447
|
query?: {
|
|
5368
|
-
/** @description The payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual */
|
|
5369
|
-
gateway?: "coinbase" | "coingate" | "cryptomus" | "manual" | "stripe" | "wallet";
|
|
5448
|
+
/** @description The payment gateway used for processing the payment. * `coinbase` - Coinbase * `cryptomus` - Cryptomus * `stripe` - Stripe * `coingate` - Coingate * `wallet` - Wallet * `manual` - Manual * `whitepay` - Whitepay * `wayforpay` - WayForPay * `usegateway` - UseGateway * `binance` - Binance Pay * `anymoney` - Any.Money * `coinpayments` - CoinPayments * `checkoutcom` - Checkout.com * `nowpayments` - NOWPayments * `btcpay` - BTCPay Server * `braintree` - Braintree * `monobank` - monobank * `liqpay` - LiqPay * `iyzico` - iyzico * `paytr` - PayTR * `payu` - PayU * `tpay` - Tpay * `przelewy24` - Przelewy24 * `gopay` - GoPay * `comgate` - Comgate * `monei` - MONEI * `redsys` - Redsys * `payplug` - PayPlug * `mollie` - Mollie * `unzer` - Unzer * `payone` - PAYONE * `nexi_xpay` - Nexi XPay * `halyk_epay` - Halyk ePay * `kaspi_pay` - Kaspi Pay * `vipps_mobilepay` - Vipps MobilePay * `paytrail` - Paytrail */
|
|
5449
|
+
gateway?: "anymoney" | "binance" | "braintree" | "btcpay" | "checkoutcom" | "coinbase" | "coingate" | "coinpayments" | "comgate" | "cryptomus" | "gopay" | "halyk_epay" | "iyzico" | "kaspi_pay" | "liqpay" | "manual" | "mollie" | "monei" | "monobank" | "nexi_xpay" | "nowpayments" | "payone" | "payplug" | "paytr" | "paytrail" | "payu" | "przelewy24" | "redsys" | "stripe" | "tpay" | "unzer" | "usegateway" | "vipps_mobilepay" | "wallet" | "wayforpay" | "whitepay";
|
|
5370
5450
|
internal_id?: string;
|
|
5371
5451
|
/** @description Number of results to return per page. */
|
|
5372
5452
|
limit?: number;
|
|
@@ -5399,7 +5479,7 @@ interface operations {
|
|
|
5399
5479
|
[name: string]: unknown;
|
|
5400
5480
|
};
|
|
5401
5481
|
content: {
|
|
5402
|
-
"application/json": components["schemas"]["
|
|
5482
|
+
"application/json": components["schemas"]["PaginatedInvoiceReadList"];
|
|
5403
5483
|
};
|
|
5404
5484
|
};
|
|
5405
5485
|
/** @description The request is malformed or violates a business rule. */
|
|
@@ -5455,6 +5535,8 @@ interface operations {
|
|
|
5455
5535
|
header?: {
|
|
5456
5536
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
5457
5537
|
"Accept-Language"?: string;
|
|
5538
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
5539
|
+
"Idempotency-Key"?: string;
|
|
5458
5540
|
};
|
|
5459
5541
|
path?: never;
|
|
5460
5542
|
cookie?: never;
|
|
@@ -5470,6 +5552,10 @@ interface operations {
|
|
|
5470
5552
|
/** @description The resource or action result was created successfully. */
|
|
5471
5553
|
201: {
|
|
5472
5554
|
headers: {
|
|
5555
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
5556
|
+
ETag?: string;
|
|
5557
|
+
/** @description True when the response was replayed from a prior request. */
|
|
5558
|
+
"Idempotency-Replayed"?: "true";
|
|
5473
5559
|
[name: string]: unknown;
|
|
5474
5560
|
};
|
|
5475
5561
|
content: {
|
|
@@ -5521,6 +5607,37 @@ interface operations {
|
|
|
5521
5607
|
};
|
|
5522
5608
|
};
|
|
5523
5609
|
};
|
|
5610
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
5611
|
+
409: {
|
|
5612
|
+
headers: {
|
|
5613
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5614
|
+
[name: string]: unknown;
|
|
5615
|
+
};
|
|
5616
|
+
content: {
|
|
5617
|
+
"application/json": {
|
|
5618
|
+
detail?: string;
|
|
5619
|
+
non_field_errors?: string[];
|
|
5620
|
+
} & {
|
|
5621
|
+
[key: string]: string | string[];
|
|
5622
|
+
};
|
|
5623
|
+
};
|
|
5624
|
+
};
|
|
5625
|
+
/** @description The upstream payment provider could not initialize checkout. */
|
|
5626
|
+
502: {
|
|
5627
|
+
headers: {
|
|
5628
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5629
|
+
[name: string]: unknown;
|
|
5630
|
+
};
|
|
5631
|
+
content: {
|
|
5632
|
+
"application/json": {
|
|
5633
|
+
gateway: string;
|
|
5634
|
+
/** Format: uuid */
|
|
5635
|
+
invoice_id: string;
|
|
5636
|
+
non_field_errors: string[];
|
|
5637
|
+
retryable: boolean;
|
|
5638
|
+
};
|
|
5639
|
+
};
|
|
5640
|
+
};
|
|
5524
5641
|
};
|
|
5525
5642
|
};
|
|
5526
5643
|
invoices_retrieve: {
|
|
@@ -5541,10 +5658,12 @@ interface operations {
|
|
|
5541
5658
|
/** @description The operation completed successfully. */
|
|
5542
5659
|
200: {
|
|
5543
5660
|
headers: {
|
|
5661
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
5662
|
+
ETag?: string;
|
|
5544
5663
|
[name: string]: unknown;
|
|
5545
5664
|
};
|
|
5546
5665
|
content: {
|
|
5547
|
-
"application/json": components["schemas"]["
|
|
5666
|
+
"application/json": components["schemas"]["InvoiceRead"];
|
|
5548
5667
|
};
|
|
5549
5668
|
};
|
|
5550
5669
|
/** @description The request is malformed or violates a business rule. */
|
|
@@ -5615,6 +5734,10 @@ interface operations {
|
|
|
5615
5734
|
header?: {
|
|
5616
5735
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
5617
5736
|
"Accept-Language"?: string;
|
|
5737
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
5738
|
+
"Idempotency-Key"?: string;
|
|
5739
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
5740
|
+
"If-Match"?: string;
|
|
5618
5741
|
};
|
|
5619
5742
|
path: {
|
|
5620
5743
|
/** @description A unique value identifying this Invoice. */
|
|
@@ -5627,6 +5750,8 @@ interface operations {
|
|
|
5627
5750
|
/** @description No response body */
|
|
5628
5751
|
204: {
|
|
5629
5752
|
headers: {
|
|
5753
|
+
/** @description True when the response was replayed from a prior request. */
|
|
5754
|
+
"Idempotency-Replayed"?: "true";
|
|
5630
5755
|
[name: string]: unknown;
|
|
5631
5756
|
};
|
|
5632
5757
|
content?: never;
|
|
@@ -5691,6 +5816,38 @@ interface operations {
|
|
|
5691
5816
|
};
|
|
5692
5817
|
};
|
|
5693
5818
|
};
|
|
5819
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
5820
|
+
409: {
|
|
5821
|
+
headers: {
|
|
5822
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5823
|
+
[name: string]: unknown;
|
|
5824
|
+
};
|
|
5825
|
+
content: {
|
|
5826
|
+
"application/json": {
|
|
5827
|
+
detail?: string;
|
|
5828
|
+
non_field_errors?: string[];
|
|
5829
|
+
} & {
|
|
5830
|
+
[key: string]: string | string[];
|
|
5831
|
+
};
|
|
5832
|
+
};
|
|
5833
|
+
};
|
|
5834
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
5835
|
+
412: {
|
|
5836
|
+
headers: {
|
|
5837
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
5838
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
5839
|
+
ETag?: string;
|
|
5840
|
+
[name: string]: unknown;
|
|
5841
|
+
};
|
|
5842
|
+
content: {
|
|
5843
|
+
"application/json": {
|
|
5844
|
+
detail?: string;
|
|
5845
|
+
non_field_errors?: string[];
|
|
5846
|
+
} & {
|
|
5847
|
+
[key: string]: string | string[];
|
|
5848
|
+
};
|
|
5849
|
+
};
|
|
5850
|
+
};
|
|
5694
5851
|
};
|
|
5695
5852
|
};
|
|
5696
5853
|
invoices_download_pdf_retrieve: {
|
|
@@ -6725,6 +6882,15 @@ interface operations {
|
|
|
6725
6882
|
"application/json": components["schemas"]["TokenPairResponse"];
|
|
6726
6883
|
};
|
|
6727
6884
|
};
|
|
6885
|
+
/** @description The request was accepted and the updated resource is returned. */
|
|
6886
|
+
202: {
|
|
6887
|
+
headers: {
|
|
6888
|
+
[name: string]: unknown;
|
|
6889
|
+
};
|
|
6890
|
+
content: {
|
|
6891
|
+
"application/json": components["schemas"]["OTPChallenge"];
|
|
6892
|
+
};
|
|
6893
|
+
};
|
|
6728
6894
|
/** @description The request is malformed or violates a business rule. */
|
|
6729
6895
|
400: {
|
|
6730
6896
|
headers: {
|
|
@@ -6769,6 +6935,15 @@ interface operations {
|
|
|
6769
6935
|
"application/json": components["schemas"]["TokenPairResponse"];
|
|
6770
6936
|
};
|
|
6771
6937
|
};
|
|
6938
|
+
/** @description The request was accepted and the updated resource is returned. */
|
|
6939
|
+
202: {
|
|
6940
|
+
headers: {
|
|
6941
|
+
[name: string]: unknown;
|
|
6942
|
+
};
|
|
6943
|
+
content: {
|
|
6944
|
+
"application/json": components["schemas"]["OTPChallenge"];
|
|
6945
|
+
};
|
|
6946
|
+
};
|
|
6772
6947
|
/** @description The request is malformed or violates a business rule. */
|
|
6773
6948
|
400: {
|
|
6774
6949
|
headers: {
|
|
@@ -6801,6 +6976,50 @@ interface operations {
|
|
|
6801
6976
|
};
|
|
6802
6977
|
};
|
|
6803
6978
|
};
|
|
6979
|
+
login_otp_create: {
|
|
6980
|
+
parameters: {
|
|
6981
|
+
query?: never;
|
|
6982
|
+
header?: {
|
|
6983
|
+
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
6984
|
+
"Accept-Language"?: string;
|
|
6985
|
+
};
|
|
6986
|
+
path?: never;
|
|
6987
|
+
cookie?: never;
|
|
6988
|
+
};
|
|
6989
|
+
requestBody: {
|
|
6990
|
+
content: {
|
|
6991
|
+
"application/json": components["schemas"]["VerifyOTPRequest"];
|
|
6992
|
+
"application/x-www-form-urlencoded": components["schemas"]["VerifyOTPRequest"];
|
|
6993
|
+
"multipart/form-data": components["schemas"]["VerifyOTPRequest"];
|
|
6994
|
+
};
|
|
6995
|
+
};
|
|
6996
|
+
responses: {
|
|
6997
|
+
/** @description The operation completed successfully. */
|
|
6998
|
+
200: {
|
|
6999
|
+
headers: {
|
|
7000
|
+
[name: string]: unknown;
|
|
7001
|
+
};
|
|
7002
|
+
content: {
|
|
7003
|
+
"application/json": components["schemas"]["TokenPairResponse"];
|
|
7004
|
+
};
|
|
7005
|
+
};
|
|
7006
|
+
/** @description The request is malformed or violates a business rule. */
|
|
7007
|
+
400: {
|
|
7008
|
+
headers: {
|
|
7009
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7010
|
+
[name: string]: unknown;
|
|
7011
|
+
};
|
|
7012
|
+
content: {
|
|
7013
|
+
"application/json": {
|
|
7014
|
+
detail?: string;
|
|
7015
|
+
non_field_errors?: string[];
|
|
7016
|
+
} & {
|
|
7017
|
+
[key: string]: string | string[];
|
|
7018
|
+
};
|
|
7019
|
+
};
|
|
7020
|
+
};
|
|
7021
|
+
};
|
|
7022
|
+
};
|
|
6804
7023
|
news_list: {
|
|
6805
7024
|
parameters: {
|
|
6806
7025
|
query?: {
|
|
@@ -6979,6 +7198,8 @@ interface operations {
|
|
|
6979
7198
|
/** @description The operation completed successfully. */
|
|
6980
7199
|
200: {
|
|
6981
7200
|
headers: {
|
|
7201
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7202
|
+
ETag?: string;
|
|
6982
7203
|
[name: string]: unknown;
|
|
6983
7204
|
};
|
|
6984
7205
|
content: {
|
|
@@ -7053,6 +7274,10 @@ interface operations {
|
|
|
7053
7274
|
header?: {
|
|
7054
7275
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
7055
7276
|
"Accept-Language"?: string;
|
|
7277
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
7278
|
+
"Idempotency-Key"?: string;
|
|
7279
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
7280
|
+
"If-Match"?: string;
|
|
7056
7281
|
};
|
|
7057
7282
|
path: {
|
|
7058
7283
|
/** @description A unique value identifying this Order. */
|
|
@@ -7065,6 +7290,8 @@ interface operations {
|
|
|
7065
7290
|
/** @description No response body */
|
|
7066
7291
|
204: {
|
|
7067
7292
|
headers: {
|
|
7293
|
+
/** @description True when the response was replayed from a prior request. */
|
|
7294
|
+
"Idempotency-Replayed"?: "true";
|
|
7068
7295
|
[name: string]: unknown;
|
|
7069
7296
|
};
|
|
7070
7297
|
content?: never;
|
|
@@ -7129,6 +7356,38 @@ interface operations {
|
|
|
7129
7356
|
};
|
|
7130
7357
|
};
|
|
7131
7358
|
};
|
|
7359
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
7360
|
+
409: {
|
|
7361
|
+
headers: {
|
|
7362
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7363
|
+
[name: string]: unknown;
|
|
7364
|
+
};
|
|
7365
|
+
content: {
|
|
7366
|
+
"application/json": {
|
|
7367
|
+
detail?: string;
|
|
7368
|
+
non_field_errors?: string[];
|
|
7369
|
+
} & {
|
|
7370
|
+
[key: string]: string | string[];
|
|
7371
|
+
};
|
|
7372
|
+
};
|
|
7373
|
+
};
|
|
7374
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
7375
|
+
412: {
|
|
7376
|
+
headers: {
|
|
7377
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7378
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7379
|
+
ETag?: string;
|
|
7380
|
+
[name: string]: unknown;
|
|
7381
|
+
};
|
|
7382
|
+
content: {
|
|
7383
|
+
"application/json": {
|
|
7384
|
+
detail?: string;
|
|
7385
|
+
non_field_errors?: string[];
|
|
7386
|
+
} & {
|
|
7387
|
+
[key: string]: string | string[];
|
|
7388
|
+
};
|
|
7389
|
+
};
|
|
7390
|
+
};
|
|
7132
7391
|
};
|
|
7133
7392
|
};
|
|
7134
7393
|
orders_partial_update: {
|
|
@@ -7137,6 +7396,8 @@ interface operations {
|
|
|
7137
7396
|
header?: {
|
|
7138
7397
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
7139
7398
|
"Accept-Language"?: string;
|
|
7399
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
7400
|
+
"If-Match"?: string;
|
|
7140
7401
|
};
|
|
7141
7402
|
path: {
|
|
7142
7403
|
/** @description A unique value identifying this Order. */
|
|
@@ -7155,6 +7416,8 @@ interface operations {
|
|
|
7155
7416
|
/** @description The operation completed successfully. */
|
|
7156
7417
|
200: {
|
|
7157
7418
|
headers: {
|
|
7419
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7420
|
+
ETag?: string;
|
|
7158
7421
|
[name: string]: unknown;
|
|
7159
7422
|
};
|
|
7160
7423
|
content: {
|
|
@@ -7221,6 +7484,23 @@ interface operations {
|
|
|
7221
7484
|
};
|
|
7222
7485
|
};
|
|
7223
7486
|
};
|
|
7487
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
7488
|
+
412: {
|
|
7489
|
+
headers: {
|
|
7490
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7491
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7492
|
+
ETag?: string;
|
|
7493
|
+
[name: string]: unknown;
|
|
7494
|
+
};
|
|
7495
|
+
content: {
|
|
7496
|
+
"application/json": {
|
|
7497
|
+
detail?: string;
|
|
7498
|
+
non_field_errors?: string[];
|
|
7499
|
+
} & {
|
|
7500
|
+
[key: string]: string | string[];
|
|
7501
|
+
};
|
|
7502
|
+
};
|
|
7503
|
+
};
|
|
7224
7504
|
};
|
|
7225
7505
|
};
|
|
7226
7506
|
packages_list: {
|
|
@@ -7400,6 +7680,8 @@ interface operations {
|
|
|
7400
7680
|
/** @description The operation completed successfully. */
|
|
7401
7681
|
200: {
|
|
7402
7682
|
headers: {
|
|
7683
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7684
|
+
ETag?: string;
|
|
7403
7685
|
[name: string]: unknown;
|
|
7404
7686
|
};
|
|
7405
7687
|
content: {
|
|
@@ -7459,6 +7741,8 @@ interface operations {
|
|
|
7459
7741
|
header?: {
|
|
7460
7742
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
7461
7743
|
"Accept-Language"?: string;
|
|
7744
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
7745
|
+
"If-Match"?: string;
|
|
7462
7746
|
};
|
|
7463
7747
|
path?: never;
|
|
7464
7748
|
cookie?: never;
|
|
@@ -7517,6 +7801,23 @@ interface operations {
|
|
|
7517
7801
|
};
|
|
7518
7802
|
};
|
|
7519
7803
|
};
|
|
7804
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
7805
|
+
412: {
|
|
7806
|
+
headers: {
|
|
7807
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7808
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7809
|
+
ETag?: string;
|
|
7810
|
+
[name: string]: unknown;
|
|
7811
|
+
};
|
|
7812
|
+
content: {
|
|
7813
|
+
"application/json": {
|
|
7814
|
+
detail?: string;
|
|
7815
|
+
non_field_errors?: string[];
|
|
7816
|
+
} & {
|
|
7817
|
+
[key: string]: string | string[];
|
|
7818
|
+
};
|
|
7819
|
+
};
|
|
7820
|
+
};
|
|
7520
7821
|
};
|
|
7521
7822
|
};
|
|
7522
7823
|
profile_partial_update: {
|
|
@@ -7525,6 +7826,8 @@ interface operations {
|
|
|
7525
7826
|
header?: {
|
|
7526
7827
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
7527
7828
|
"Accept-Language"?: string;
|
|
7829
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
7830
|
+
"If-Match"?: string;
|
|
7528
7831
|
};
|
|
7529
7832
|
path?: never;
|
|
7530
7833
|
cookie?: never;
|
|
@@ -7540,6 +7843,8 @@ interface operations {
|
|
|
7540
7843
|
/** @description The request was accepted and the updated resource is returned. */
|
|
7541
7844
|
202: {
|
|
7542
7845
|
headers: {
|
|
7846
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7847
|
+
ETag?: string;
|
|
7543
7848
|
[name: string]: unknown;
|
|
7544
7849
|
};
|
|
7545
7850
|
content: {
|
|
@@ -7591,9 +7896,26 @@ interface operations {
|
|
|
7591
7896
|
};
|
|
7592
7897
|
};
|
|
7593
7898
|
};
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7899
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
7900
|
+
412: {
|
|
7901
|
+
headers: {
|
|
7902
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
7903
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
7904
|
+
ETag?: string;
|
|
7905
|
+
[name: string]: unknown;
|
|
7906
|
+
};
|
|
7907
|
+
content: {
|
|
7908
|
+
"application/json": {
|
|
7909
|
+
detail?: string;
|
|
7910
|
+
non_field_errors?: string[];
|
|
7911
|
+
} & {
|
|
7912
|
+
[key: string]: string | string[];
|
|
7913
|
+
};
|
|
7914
|
+
};
|
|
7915
|
+
};
|
|
7916
|
+
};
|
|
7917
|
+
};
|
|
7918
|
+
profile_2fa_confirm_create: {
|
|
7597
7919
|
parameters: {
|
|
7598
7920
|
query?: never;
|
|
7599
7921
|
header?: {
|
|
@@ -7751,7 +8073,13 @@ interface operations {
|
|
|
7751
8073
|
path?: never;
|
|
7752
8074
|
cookie?: never;
|
|
7753
8075
|
};
|
|
7754
|
-
requestBody?:
|
|
8076
|
+
requestBody?: {
|
|
8077
|
+
content: {
|
|
8078
|
+
"application/json": components["schemas"]["TwoFactorSetupRequestRequest"];
|
|
8079
|
+
"application/x-www-form-urlencoded": components["schemas"]["TwoFactorSetupRequestRequest"];
|
|
8080
|
+
"multipart/form-data": components["schemas"]["TwoFactorSetupRequestRequest"];
|
|
8081
|
+
};
|
|
8082
|
+
};
|
|
7755
8083
|
responses: {
|
|
7756
8084
|
/** @description The operation completed successfully. */
|
|
7757
8085
|
200: {
|
|
@@ -8353,160 +8681,6 @@ interface operations {
|
|
|
8353
8681
|
};
|
|
8354
8682
|
};
|
|
8355
8683
|
};
|
|
8356
|
-
sessions_list: {
|
|
8357
|
-
parameters: {
|
|
8358
|
-
query?: never;
|
|
8359
|
-
header?: {
|
|
8360
|
-
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
8361
|
-
"Accept-Language"?: string;
|
|
8362
|
-
};
|
|
8363
|
-
path?: never;
|
|
8364
|
-
cookie?: never;
|
|
8365
|
-
};
|
|
8366
|
-
requestBody?: never;
|
|
8367
|
-
responses: {
|
|
8368
|
-
/** @description The operation completed successfully. */
|
|
8369
|
-
200: {
|
|
8370
|
-
headers: {
|
|
8371
|
-
[name: string]: unknown;
|
|
8372
|
-
};
|
|
8373
|
-
content: {
|
|
8374
|
-
"application/json": components["schemas"]["SessionListResponse"][];
|
|
8375
|
-
};
|
|
8376
|
-
};
|
|
8377
|
-
/** @description The request is malformed or violates a business rule. */
|
|
8378
|
-
400: {
|
|
8379
|
-
headers: {
|
|
8380
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8381
|
-
[name: string]: unknown;
|
|
8382
|
-
};
|
|
8383
|
-
content: {
|
|
8384
|
-
"application/json": {
|
|
8385
|
-
detail?: string;
|
|
8386
|
-
non_field_errors?: string[];
|
|
8387
|
-
} & {
|
|
8388
|
-
[key: string]: string | string[];
|
|
8389
|
-
};
|
|
8390
|
-
};
|
|
8391
|
-
};
|
|
8392
|
-
/** @description Authentication credentials are missing, expired, or invalid. */
|
|
8393
|
-
401: {
|
|
8394
|
-
headers: {
|
|
8395
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8396
|
-
[name: string]: unknown;
|
|
8397
|
-
};
|
|
8398
|
-
content: {
|
|
8399
|
-
"application/json": {
|
|
8400
|
-
detail?: string;
|
|
8401
|
-
non_field_errors?: string[];
|
|
8402
|
-
} & {
|
|
8403
|
-
[key: string]: string | string[];
|
|
8404
|
-
};
|
|
8405
|
-
};
|
|
8406
|
-
};
|
|
8407
|
-
/** @description The authenticated account cannot perform this operation. */
|
|
8408
|
-
403: {
|
|
8409
|
-
headers: {
|
|
8410
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8411
|
-
[name: string]: unknown;
|
|
8412
|
-
};
|
|
8413
|
-
content: {
|
|
8414
|
-
"application/json": {
|
|
8415
|
-
detail?: string;
|
|
8416
|
-
non_field_errors?: string[];
|
|
8417
|
-
} & {
|
|
8418
|
-
[key: string]: string | string[];
|
|
8419
|
-
};
|
|
8420
|
-
};
|
|
8421
|
-
};
|
|
8422
|
-
};
|
|
8423
|
-
};
|
|
8424
|
-
sessions_destroy: {
|
|
8425
|
-
parameters: {
|
|
8426
|
-
query?: never;
|
|
8427
|
-
header?: {
|
|
8428
|
-
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
8429
|
-
"Accept-Language"?: string;
|
|
8430
|
-
};
|
|
8431
|
-
path: {
|
|
8432
|
-
/** @description Sticky session identifier or unique suffix. */
|
|
8433
|
-
id: string;
|
|
8434
|
-
};
|
|
8435
|
-
cookie?: never;
|
|
8436
|
-
};
|
|
8437
|
-
requestBody?: never;
|
|
8438
|
-
responses: {
|
|
8439
|
-
/** @description The operation completed successfully. */
|
|
8440
|
-
200: {
|
|
8441
|
-
headers: {
|
|
8442
|
-
[name: string]: unknown;
|
|
8443
|
-
};
|
|
8444
|
-
content: {
|
|
8445
|
-
"application/json": components["schemas"]["SessionDeleteResponse"];
|
|
8446
|
-
};
|
|
8447
|
-
};
|
|
8448
|
-
/** @description The request is malformed or violates a business rule. */
|
|
8449
|
-
400: {
|
|
8450
|
-
headers: {
|
|
8451
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8452
|
-
[name: string]: unknown;
|
|
8453
|
-
};
|
|
8454
|
-
content: {
|
|
8455
|
-
"application/json": {
|
|
8456
|
-
detail?: string;
|
|
8457
|
-
non_field_errors?: string[];
|
|
8458
|
-
} & {
|
|
8459
|
-
[key: string]: string | string[];
|
|
8460
|
-
};
|
|
8461
|
-
};
|
|
8462
|
-
};
|
|
8463
|
-
/** @description Authentication credentials are missing, expired, or invalid. */
|
|
8464
|
-
401: {
|
|
8465
|
-
headers: {
|
|
8466
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8467
|
-
[name: string]: unknown;
|
|
8468
|
-
};
|
|
8469
|
-
content: {
|
|
8470
|
-
"application/json": {
|
|
8471
|
-
detail?: string;
|
|
8472
|
-
non_field_errors?: string[];
|
|
8473
|
-
} & {
|
|
8474
|
-
[key: string]: string | string[];
|
|
8475
|
-
};
|
|
8476
|
-
};
|
|
8477
|
-
};
|
|
8478
|
-
/** @description The authenticated account cannot perform this operation. */
|
|
8479
|
-
403: {
|
|
8480
|
-
headers: {
|
|
8481
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8482
|
-
[name: string]: unknown;
|
|
8483
|
-
};
|
|
8484
|
-
content: {
|
|
8485
|
-
"application/json": {
|
|
8486
|
-
detail?: string;
|
|
8487
|
-
non_field_errors?: string[];
|
|
8488
|
-
} & {
|
|
8489
|
-
[key: string]: string | string[];
|
|
8490
|
-
};
|
|
8491
|
-
};
|
|
8492
|
-
};
|
|
8493
|
-
/** @description The requested resource does not exist in the current account scope. */
|
|
8494
|
-
404: {
|
|
8495
|
-
headers: {
|
|
8496
|
-
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8497
|
-
[name: string]: unknown;
|
|
8498
|
-
};
|
|
8499
|
-
content: {
|
|
8500
|
-
"application/json": {
|
|
8501
|
-
detail?: string;
|
|
8502
|
-
non_field_errors?: string[];
|
|
8503
|
-
} & {
|
|
8504
|
-
[key: string]: string | string[];
|
|
8505
|
-
};
|
|
8506
|
-
};
|
|
8507
|
-
};
|
|
8508
|
-
};
|
|
8509
|
-
};
|
|
8510
8684
|
settings_retrieve: {
|
|
8511
8685
|
parameters: {
|
|
8512
8686
|
query?: never;
|
|
@@ -8737,6 +8911,8 @@ interface operations {
|
|
|
8737
8911
|
header?: {
|
|
8738
8912
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
8739
8913
|
"Accept-Language"?: string;
|
|
8914
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
8915
|
+
"Idempotency-Key"?: string;
|
|
8740
8916
|
};
|
|
8741
8917
|
path?: never;
|
|
8742
8918
|
cookie?: never;
|
|
@@ -8752,6 +8928,10 @@ interface operations {
|
|
|
8752
8928
|
/** @description The resource or action result was created successfully. */
|
|
8753
8929
|
201: {
|
|
8754
8930
|
headers: {
|
|
8931
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
8932
|
+
ETag?: string;
|
|
8933
|
+
/** @description True when the response was replayed from a prior request. */
|
|
8934
|
+
"Idempotency-Replayed"?: "true";
|
|
8755
8935
|
[name: string]: unknown;
|
|
8756
8936
|
};
|
|
8757
8937
|
content: {
|
|
@@ -8803,6 +8983,21 @@ interface operations {
|
|
|
8803
8983
|
};
|
|
8804
8984
|
};
|
|
8805
8985
|
};
|
|
8986
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
8987
|
+
409: {
|
|
8988
|
+
headers: {
|
|
8989
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
8990
|
+
[name: string]: unknown;
|
|
8991
|
+
};
|
|
8992
|
+
content: {
|
|
8993
|
+
"application/json": {
|
|
8994
|
+
detail?: string;
|
|
8995
|
+
non_field_errors?: string[];
|
|
8996
|
+
} & {
|
|
8997
|
+
[key: string]: string | string[];
|
|
8998
|
+
};
|
|
8999
|
+
};
|
|
9000
|
+
};
|
|
8806
9001
|
};
|
|
8807
9002
|
};
|
|
8808
9003
|
users_retrieve: {
|
|
@@ -8823,6 +9018,8 @@ interface operations {
|
|
|
8823
9018
|
/** @description The operation completed successfully. */
|
|
8824
9019
|
200: {
|
|
8825
9020
|
headers: {
|
|
9021
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9022
|
+
ETag?: string;
|
|
8826
9023
|
[name: string]: unknown;
|
|
8827
9024
|
};
|
|
8828
9025
|
content: {
|
|
@@ -8897,6 +9094,10 @@ interface operations {
|
|
|
8897
9094
|
header?: {
|
|
8898
9095
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
8899
9096
|
"Accept-Language"?: string;
|
|
9097
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
9098
|
+
"Idempotency-Key"?: string;
|
|
9099
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
9100
|
+
"If-Match"?: string;
|
|
8900
9101
|
};
|
|
8901
9102
|
path: {
|
|
8902
9103
|
/** @description A UUID string identifying this user. */
|
|
@@ -8909,6 +9110,8 @@ interface operations {
|
|
|
8909
9110
|
/** @description No response body */
|
|
8910
9111
|
204: {
|
|
8911
9112
|
headers: {
|
|
9113
|
+
/** @description True when the response was replayed from a prior request. */
|
|
9114
|
+
"Idempotency-Replayed"?: "true";
|
|
8912
9115
|
[name: string]: unknown;
|
|
8913
9116
|
};
|
|
8914
9117
|
content?: never;
|
|
@@ -8973,6 +9176,38 @@ interface operations {
|
|
|
8973
9176
|
};
|
|
8974
9177
|
};
|
|
8975
9178
|
};
|
|
9179
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
9180
|
+
409: {
|
|
9181
|
+
headers: {
|
|
9182
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9183
|
+
[name: string]: unknown;
|
|
9184
|
+
};
|
|
9185
|
+
content: {
|
|
9186
|
+
"application/json": {
|
|
9187
|
+
detail?: string;
|
|
9188
|
+
non_field_errors?: string[];
|
|
9189
|
+
} & {
|
|
9190
|
+
[key: string]: string | string[];
|
|
9191
|
+
};
|
|
9192
|
+
};
|
|
9193
|
+
};
|
|
9194
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
9195
|
+
412: {
|
|
9196
|
+
headers: {
|
|
9197
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9198
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9199
|
+
ETag?: string;
|
|
9200
|
+
[name: string]: unknown;
|
|
9201
|
+
};
|
|
9202
|
+
content: {
|
|
9203
|
+
"application/json": {
|
|
9204
|
+
detail?: string;
|
|
9205
|
+
non_field_errors?: string[];
|
|
9206
|
+
} & {
|
|
9207
|
+
[key: string]: string | string[];
|
|
9208
|
+
};
|
|
9209
|
+
};
|
|
9210
|
+
};
|
|
8976
9211
|
};
|
|
8977
9212
|
};
|
|
8978
9213
|
users_partial_update: {
|
|
@@ -8981,6 +9216,8 @@ interface operations {
|
|
|
8981
9216
|
header?: {
|
|
8982
9217
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
8983
9218
|
"Accept-Language"?: string;
|
|
9219
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
9220
|
+
"If-Match"?: string;
|
|
8984
9221
|
};
|
|
8985
9222
|
path: {
|
|
8986
9223
|
/** @description A UUID string identifying this user. */
|
|
@@ -8999,6 +9236,8 @@ interface operations {
|
|
|
8999
9236
|
/** @description The request was accepted and the updated resource is returned. */
|
|
9000
9237
|
202: {
|
|
9001
9238
|
headers: {
|
|
9239
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9240
|
+
ETag?: string;
|
|
9002
9241
|
[name: string]: unknown;
|
|
9003
9242
|
};
|
|
9004
9243
|
content: {
|
|
@@ -9065,6 +9304,23 @@ interface operations {
|
|
|
9065
9304
|
};
|
|
9066
9305
|
};
|
|
9067
9306
|
};
|
|
9307
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
9308
|
+
412: {
|
|
9309
|
+
headers: {
|
|
9310
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9311
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9312
|
+
ETag?: string;
|
|
9313
|
+
[name: string]: unknown;
|
|
9314
|
+
};
|
|
9315
|
+
content: {
|
|
9316
|
+
"application/json": {
|
|
9317
|
+
detail?: string;
|
|
9318
|
+
non_field_errors?: string[];
|
|
9319
|
+
} & {
|
|
9320
|
+
[key: string]: string | string[];
|
|
9321
|
+
};
|
|
9322
|
+
};
|
|
9323
|
+
};
|
|
9068
9324
|
};
|
|
9069
9325
|
};
|
|
9070
9326
|
users_data_add_create: {
|
|
@@ -9073,6 +9329,8 @@ interface operations {
|
|
|
9073
9329
|
header?: {
|
|
9074
9330
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
9075
9331
|
"Accept-Language"?: string;
|
|
9332
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
9333
|
+
"Idempotency-Key"?: string;
|
|
9076
9334
|
};
|
|
9077
9335
|
path: {
|
|
9078
9336
|
/** @description A UUID string identifying this user. */
|
|
@@ -9091,6 +9349,8 @@ interface operations {
|
|
|
9091
9349
|
/** @description The request was accepted and the updated resource is returned. */
|
|
9092
9350
|
202: {
|
|
9093
9351
|
headers: {
|
|
9352
|
+
/** @description True when the response was replayed from a prior request. */
|
|
9353
|
+
"Idempotency-Replayed"?: "true";
|
|
9094
9354
|
[name: string]: unknown;
|
|
9095
9355
|
};
|
|
9096
9356
|
content: {
|
|
@@ -9157,6 +9417,21 @@ interface operations {
|
|
|
9157
9417
|
};
|
|
9158
9418
|
};
|
|
9159
9419
|
};
|
|
9420
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
9421
|
+
409: {
|
|
9422
|
+
headers: {
|
|
9423
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9424
|
+
[name: string]: unknown;
|
|
9425
|
+
};
|
|
9426
|
+
content: {
|
|
9427
|
+
"application/json": {
|
|
9428
|
+
detail?: string;
|
|
9429
|
+
non_field_errors?: string[];
|
|
9430
|
+
} & {
|
|
9431
|
+
[key: string]: string | string[];
|
|
9432
|
+
};
|
|
9433
|
+
};
|
|
9434
|
+
};
|
|
9160
9435
|
};
|
|
9161
9436
|
};
|
|
9162
9437
|
users_data_subtract_create: {
|
|
@@ -9165,6 +9440,8 @@ interface operations {
|
|
|
9165
9440
|
header?: {
|
|
9166
9441
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
9167
9442
|
"Accept-Language"?: string;
|
|
9443
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
9444
|
+
"Idempotency-Key"?: string;
|
|
9168
9445
|
};
|
|
9169
9446
|
path: {
|
|
9170
9447
|
/** @description A UUID string identifying this user. */
|
|
@@ -9183,6 +9460,8 @@ interface operations {
|
|
|
9183
9460
|
/** @description The request was accepted and the updated resource is returned. */
|
|
9184
9461
|
202: {
|
|
9185
9462
|
headers: {
|
|
9463
|
+
/** @description True when the response was replayed from a prior request. */
|
|
9464
|
+
"Idempotency-Replayed"?: "true";
|
|
9186
9465
|
[name: string]: unknown;
|
|
9187
9466
|
};
|
|
9188
9467
|
content: {
|
|
@@ -9249,6 +9528,21 @@ interface operations {
|
|
|
9249
9528
|
};
|
|
9250
9529
|
};
|
|
9251
9530
|
};
|
|
9531
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
9532
|
+
409: {
|
|
9533
|
+
headers: {
|
|
9534
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9535
|
+
[name: string]: unknown;
|
|
9536
|
+
};
|
|
9537
|
+
content: {
|
|
9538
|
+
"application/json": {
|
|
9539
|
+
detail?: string;
|
|
9540
|
+
non_field_errors?: string[];
|
|
9541
|
+
} & {
|
|
9542
|
+
[key: string]: string | string[];
|
|
9543
|
+
};
|
|
9544
|
+
};
|
|
9545
|
+
};
|
|
9252
9546
|
};
|
|
9253
9547
|
};
|
|
9254
9548
|
users_orders_list: {
|
|
@@ -9518,6 +9812,8 @@ interface operations {
|
|
|
9518
9812
|
header?: {
|
|
9519
9813
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
9520
9814
|
"Accept-Language"?: string;
|
|
9815
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
9816
|
+
"Idempotency-Key"?: string;
|
|
9521
9817
|
};
|
|
9522
9818
|
path?: never;
|
|
9523
9819
|
cookie?: never;
|
|
@@ -9533,6 +9829,10 @@ interface operations {
|
|
|
9533
9829
|
/** @description The resource or action result was created successfully. */
|
|
9534
9830
|
201: {
|
|
9535
9831
|
headers: {
|
|
9832
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9833
|
+
ETag?: string;
|
|
9834
|
+
/** @description True when the response was replayed from a prior request. */
|
|
9835
|
+
"Idempotency-Replayed"?: "true";
|
|
9536
9836
|
[name: string]: unknown;
|
|
9537
9837
|
};
|
|
9538
9838
|
content: {
|
|
@@ -9584,6 +9884,21 @@ interface operations {
|
|
|
9584
9884
|
};
|
|
9585
9885
|
};
|
|
9586
9886
|
};
|
|
9887
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
9888
|
+
409: {
|
|
9889
|
+
headers: {
|
|
9890
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
9891
|
+
[name: string]: unknown;
|
|
9892
|
+
};
|
|
9893
|
+
content: {
|
|
9894
|
+
"application/json": {
|
|
9895
|
+
detail?: string;
|
|
9896
|
+
non_field_errors?: string[];
|
|
9897
|
+
} & {
|
|
9898
|
+
[key: string]: string | string[];
|
|
9899
|
+
};
|
|
9900
|
+
};
|
|
9901
|
+
};
|
|
9587
9902
|
};
|
|
9588
9903
|
};
|
|
9589
9904
|
webhooks_retrieve: {
|
|
@@ -9604,6 +9919,8 @@ interface operations {
|
|
|
9604
9919
|
/** @description The operation completed successfully. */
|
|
9605
9920
|
200: {
|
|
9606
9921
|
headers: {
|
|
9922
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
9923
|
+
ETag?: string;
|
|
9607
9924
|
[name: string]: unknown;
|
|
9608
9925
|
};
|
|
9609
9926
|
content: {
|
|
@@ -9678,6 +9995,10 @@ interface operations {
|
|
|
9678
9995
|
header?: {
|
|
9679
9996
|
/** @description Preferred language for human-readable API errors. Supported languages: en, ru, uk, de, it, fr, es, zh-hans, ja. Regional language tags and quality weights are accepted; unsupported or omitted values use English. */
|
|
9680
9997
|
"Accept-Language"?: string;
|
|
9998
|
+
/** @description Stable key for one logical mutation. Successful responses are replayable for 24 hours; reusing a key with a different request returns 409. */
|
|
9999
|
+
"Idempotency-Key"?: string;
|
|
10000
|
+
/** @description Strong ETag from the latest representation of this resource. */
|
|
10001
|
+
"If-Match"?: string;
|
|
9681
10002
|
};
|
|
9682
10003
|
path: {
|
|
9683
10004
|
/** @description A unique value identifying this Webhook. */
|
|
@@ -9690,6 +10011,8 @@ interface operations {
|
|
|
9690
10011
|
/** @description No response body */
|
|
9691
10012
|
204: {
|
|
9692
10013
|
headers: {
|
|
10014
|
+
/** @description True when the response was replayed from a prior request. */
|
|
10015
|
+
"Idempotency-Replayed"?: "true";
|
|
9693
10016
|
[name: string]: unknown;
|
|
9694
10017
|
};
|
|
9695
10018
|
content?: never;
|
|
@@ -9754,9 +10077,41 @@ interface operations {
|
|
|
9754
10077
|
};
|
|
9755
10078
|
};
|
|
9756
10079
|
};
|
|
10080
|
+
/** @description The idempotency key is in progress or was reused for a different request. */
|
|
10081
|
+
409: {
|
|
10082
|
+
headers: {
|
|
10083
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
10084
|
+
[name: string]: unknown;
|
|
10085
|
+
};
|
|
10086
|
+
content: {
|
|
10087
|
+
"application/json": {
|
|
10088
|
+
detail?: string;
|
|
10089
|
+
non_field_errors?: string[];
|
|
10090
|
+
} & {
|
|
10091
|
+
[key: string]: string | string[];
|
|
10092
|
+
};
|
|
10093
|
+
};
|
|
10094
|
+
};
|
|
10095
|
+
/** @description The resource no longer matches the supplied ETag. */
|
|
10096
|
+
412: {
|
|
10097
|
+
headers: {
|
|
10098
|
+
"Content-Language": components["headers"]["ContentLanguage"];
|
|
10099
|
+
/** @description Strong entity tag for optimistic concurrency control. */
|
|
10100
|
+
ETag?: string;
|
|
10101
|
+
[name: string]: unknown;
|
|
10102
|
+
};
|
|
10103
|
+
content: {
|
|
10104
|
+
"application/json": {
|
|
10105
|
+
detail?: string;
|
|
10106
|
+
non_field_errors?: string[];
|
|
10107
|
+
} & {
|
|
10108
|
+
[key: string]: string | string[];
|
|
10109
|
+
};
|
|
10110
|
+
};
|
|
10111
|
+
};
|
|
9757
10112
|
};
|
|
9758
10113
|
};
|
|
9759
10114
|
}
|
|
9760
10115
|
//#endregion
|
|
9761
10116
|
export { webhooks as i, operations as n, paths as r, components as t };
|
|
9762
|
-
//# sourceMappingURL=schema-
|
|
10117
|
+
//# sourceMappingURL=schema-BNl4txEF.d.cts.map
|