@proxyrequest/sdk 2.1.0 → 4.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 +25 -2
- package/README.md +3 -0
- package/dist/index.cjs +876 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +882 -4
- package/dist/index.js.map +1 -1
- package/dist/{models-Ci7ojtEW.d.cts → models-CqqQyGmO.d.ts} +6 -3
- package/dist/models-CqqQyGmO.d.ts.map +1 -0
- package/dist/{models-rpFTQLRE.d.ts → models-D20OBuAe.d.cts} +6 -3
- package/dist/models-D20OBuAe.d.cts.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-B2orTIrr.d.ts → schema-Dj3NSLe5.d.cts} +84 -57
- package/dist/schema-Dj3NSLe5.d.cts.map +1 -0
- package/dist/{schema-B2orTIrr.d.cts → schema-Dj3NSLe5.d.ts} +84 -57
- package/dist/schema-Dj3NSLe5.d.ts.map +1 -0
- package/docs/analytics.md +47 -0
- package/docs/reference/sdk-reference.json +16730 -0
- package/docs/third-party-notices.md +38 -0
- package/package.json +5 -3
- package/dist/models-Ci7ojtEW.d.cts.map +0 -1
- package/dist/models-rpFTQLRE.d.ts.map +0 -1
- package/dist/schema-B2orTIrr.d.cts.map +0 -1
- package/dist/schema-B2orTIrr.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as components } from "./schema-
|
|
1
|
+
import { t as components } from "./schema-Dj3NSLe5.js";
|
|
2
2
|
//#region src/generated/models.d.ts
|
|
3
3
|
type AddDataRequest = components["schemas"]["AddDataRequest"];
|
|
4
4
|
type Affiliate = components["schemas"]["Affiliate"];
|
|
@@ -22,8 +22,10 @@ type CouponCreateRequest = components["schemas"]["CouponCreateRequest"];
|
|
|
22
22
|
type CouponPriceResponse = components["schemas"]["CouponPriceResponse"];
|
|
23
23
|
type CouponRedeem = components["schemas"]["CouponRedeem"];
|
|
24
24
|
type CouponShort = components["schemas"]["CouponShort"];
|
|
25
|
+
type CouponStats = components["schemas"]["CouponStats"];
|
|
25
26
|
type CouponTypeEnum = components["schemas"]["CouponTypeEnum"];
|
|
26
27
|
type CouponUpdateRequest = components["schemas"]["CouponUpdateRequest"];
|
|
28
|
+
type DataLedger = components["schemas"]["DataLedger"];
|
|
27
29
|
type DomainRecord = components["schemas"]["DomainRecord"];
|
|
28
30
|
type DomainsResponse = components["schemas"]["DomainsResponse"];
|
|
29
31
|
type EnabledResponse = components["schemas"]["EnabledResponse"];
|
|
@@ -125,6 +127,7 @@ type TwoFactorSetupRequestRequest = components["schemas"]["TwoFactorSetupRequest
|
|
|
125
127
|
type TwoFactorSetupResponse = components["schemas"]["TwoFactorSetupResponse"];
|
|
126
128
|
type User = components["schemas"]["User"];
|
|
127
129
|
type UserCreateRequest = components["schemas"]["UserCreateRequest"];
|
|
130
|
+
type UserCurrency = components["schemas"]["UserCurrency"];
|
|
128
131
|
type UserPasswordResetRequestRequest = components["schemas"]["UserPasswordResetRequestRequest"];
|
|
129
132
|
type VerifyOTPRequest = components["schemas"]["VerifyOTPRequest"];
|
|
130
133
|
type WebhookCreated = components["schemas"]["WebhookCreated"];
|
|
@@ -132,5 +135,5 @@ type WebhookCreateRequest = components["schemas"]["WebhookCreateRequest"];
|
|
|
132
135
|
type WebhookList = components["schemas"]["WebhookList"];
|
|
133
136
|
type WebhookScopeEnum = components["schemas"]["WebhookScopeEnum"];
|
|
134
137
|
//#endregion
|
|
135
|
-
export {
|
|
136
|
-
//# sourceMappingURL=models-
|
|
138
|
+
export { LogRecord as $, RewardStatusEnum as $t, FeedRecord as A, PaginatedWebhookListList as At, InvoiceCreateRequestStatusEnum as B, PricingUnitEnum as Bt, CouponStats as C, WebhookCreateRequest as Cn, PaginatedNewsList as Ct, DomainRecord as D, PaginatedRegionList as Dt, DataLedger as E, WebhookScopeEnum as En, PaginatedPackageList as Et, GoogleAuthRequest as F, PatchedTelegramConnectionUpdateRequest as Ft, InvoiceTypeEnum as G, ProxyPasswordResetResponse as Gt, InvoiceRead as H, ProxyGenerationConnectionRequest as Ht, ISP as I, PatchedUserUpdateRequest as It, LocationASNGeoItem as J, Region as Jt, LanguageEnum as K, ProxyTypeEnum as Kt, Invoice as L, PaymentGateway as Lt, GenerateProxyRequest as M, PatchedCouponUpdateRequest as Mt, GenerateProxyResponse as N, PatchedOrderAutoRenewalRequest as Nt, DomainsResponse as O, PaginatedRewardList as Ot, GeneratedProxy as P, PatchedProfileUpdateRequest as Pt, LocationRegionSummary as Q, RewardClaimRequestRequest as Qt, InvoiceCreateRequestGatewayEnum as R, PaymentLinkResponse as Rt, CouponShort as S, VerifyOTPRequest as Sn, PaginatedLocationASNRecordList as St, CouponUpdateRequest as T, WebhookList as Tn, PaginatedPackageCommissionList as Tt, InvoiceShort as U, ProxyGenerationSessionRequest as Ut, InvoiceGatewayEnum as V, ProtocolEnum as Vt, InvoiceStatusEnum as W, ProxyGenerationTargetingRequest as Wt, LocationCodeName as X, ResetPasswordRequest as Xt, LocationASNRecord as Y, ResetDataRequest as Yt, LocationCountrySummary as Z, Reward as Zt, Coupon as _, TwoFactorSetupResponse as _n, PaginatedCountryList as _t, Affiliate as a, SubtractDataRequest as an, Order as at, CouponPriceResponse as b, UserCurrency as bn, PaginatedISPList as bt, AffiliateStatsResponse as c, TelegramLinkResponse as cn, OverallResponse as ct, City as d, TokenRefreshResponse as dn, PackageShort as dt, SettingsCrypto as en, LoginRequestRequest as et, CommissionTypeEnum as f, TransactionRecord as fn, PaginatedAPIKeyListList as ft, Country as g, TwoFactorSetupRequestRequest as gn, PaginatedContinentList as gt, Continent as h, TwoFactorDisableRequest as hn, PaginatedCityList as ht, AddDataRequest as i, SignUpRequest as in, OTPChallenge as it, FeedResponse as j, PasswordRecoveryResponse as jt, EnabledResponse as k, PaginatedUserList as kt, ChangePasswordRequest as l, TokenPairResponse as ln, Package as lt, ConnectionsResponse as m, TwoFactorConfirmRequest as mn, PaginatedAffiliateRewardList as mt, APIKeyCreateRequest as n, SettingsReferral as nn, MessageResponse as nt, AffiliateReward as o, TargetingOptions as on, OrderDetailed as ot, ConnectionRecord as p, TransactionsResponse as pn, PaginatedAffiliateList as pt, LevelEnum as q, RecoverPasswordRequest as qt, APIKeyList as r, SettingsResponse as rn, News as rt, AffiliateStatsPoint as s, TelegramConnectionResponse as sn, OverallPoint as st, APIKeyCreate as t, SettingsGateway as tn, LogsResponse as tt, CheckoutStatusEnum as u, TokenRefreshRequestRequest as un, PackageCommission as ut, CouponCalculatePriceRequest as v, User as vn, PaginatedCouponRedeemList as vt, CouponTypeEnum as w, WebhookCreated as wn, PaginatedOrderList as wt, CouponRedeem as x, UserPasswordResetRequestRequest as xn, PaginatedInvoiceReadList as xt, CouponCreateRequest as y, UserCreateRequest as yn, PaginatedCouponShortList as yt, InvoiceCreateRequestRequest as z, PricingEnum as zt };
|
|
139
|
+
//# sourceMappingURL=models-CqqQyGmO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-CqqQyGmO.d.ts","names":[],"sources":["../src/generated/models.ts"],"mappings":";;KAGY,iBAAiB;KACjB,YAAY;KACZ,kBAAkB;KAClB,sBAAsB;KACtB,yBAAyB;KACzB,eAAe;KACf,sBAAsB;KACtB,aAAa;KACb,wBAAwB;KACxB,qBAAqB;KACrB,OAAO;KACP,qBAAqB;KACrB,mBAAmB;KACnB,sBAAsB;KACtB,YAAY;KACZ,UAAU;KACV,SAAS;KACT,8BAA8B;KAC9B,sBAAsB;KACtB,sBAAsB;KACtB,eAAe;KACf,cAAc;KACd,cAAc;KACd,iBAAiB;KACjB,sBAAsB;KACtB,aAAa;KACb,eAAe;KACf,kBAAkB;KAClB,kBAAkB;KAClB,aAAa;KACb,eAAe;KACf,iBAAiB;KACjB,uBAAuB;KACvB,wBAAwB;KACxB,oBAAoB;KACpB,UAAU;KACV,kCACV;KACU,8BAA8B;KAC9B,iCACV;KACU,qBAAqB;KACrB,cAAc;KACd,eAAe;KACf,oBAAoB;KACpB,kBAAkB;KAClB,MAAM;KACN,eAAe;KACf,YAAY;KACZ,qBAAqB;KACrB,oBAAoB;KACpB,mBAAmB;KACnB,yBAAyB;KACzB,wBAAwB;KACxB,sBAAsB;KACtB,YAAY;KACZ,eAAe;KACf,kBAAkB;KAClB,OAAO;KACP,QAAQ;KACR,gBAAgB;KAChB,eAAe;KACf,eAAe;KACf,kBAAkB;KAClB,UAAU;KACV,oBAAoB;KACpB,eAAe;KACf,yBAAyB;KACzB,+BAA+B;KAC/B,0BAA0B;KAC1B,oBAAoB;KACpB,yBAAyB;KACzB,uBAAuB;KACvB,4BAA4B;KAC5B,2BAA2B;KAC3B,2BAA2B;KAC3B,mBAAmB;KACnB,iCACV;KACU,oBAAoB;KACpB,qBAAqB;KACrB,iCACV;KACU,uBAAuB;KACvB,sBAAsB;KACtB,sBAAsB;KACtB,oBAAoB;KACpB,2BAA2B;KAC3B,2BAA2B;KAC3B,6BAA6B;KAC7B,iCACV;KACU,8BAA8B;KAC9B,yCACV;KACU,2BAA2B;KAC3B,iBAAiB;KACjB,sBAAsB;KACtB,cAAc;KACd,kBAAkB;KAClB,eAAe;KACf,mCACV;KACU,gCAAgC;KAChC,kCACV;KACU,6BAA6B;KAC7B,gBAAgB;KAChB,yBAAyB;KACzB,SAAS;KACT,mBAAmB;KACnB,uBAAuB;KACvB,SAAS;KACT,4BAA4B;KAC5B,mBAAmB;KACnB,iBAAiB;KACjB,kBAAkB;KAClB,mBAAmB;KACnB,mBAAmB;KACnB,gBAAgB;KAChB,sBAAsB;KACtB,mBAAmB;KACnB,6BAA6B;KAC7B,uBAAuB;KACvB,oBAAoB;KACpB,6BAA6B;KAC7B,uBAAuB;KACvB,oBAAoB;KACpB,uBAAuB;KACvB,0BAA0B;KAC1B,0BAA0B;KAC1B,+BAA+B;KAC/B,yBAAyB;KACzB,OAAO;KACP,oBAAoB;KACpB,eAAe;KACf,kCACV;KACU,mBAAmB;KACnB,iBAAiB;KACjB,uBAAuB;KACvB,cAAc;KACd,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as components } from "./schema-
|
|
1
|
+
import { t as components } from "./schema-Dj3NSLe5.cjs";
|
|
2
2
|
//#region src/generated/models.d.ts
|
|
3
3
|
type AddDataRequest = components["schemas"]["AddDataRequest"];
|
|
4
4
|
type Affiliate = components["schemas"]["Affiliate"];
|
|
@@ -22,8 +22,10 @@ type CouponCreateRequest = components["schemas"]["CouponCreateRequest"];
|
|
|
22
22
|
type CouponPriceResponse = components["schemas"]["CouponPriceResponse"];
|
|
23
23
|
type CouponRedeem = components["schemas"]["CouponRedeem"];
|
|
24
24
|
type CouponShort = components["schemas"]["CouponShort"];
|
|
25
|
+
type CouponStats = components["schemas"]["CouponStats"];
|
|
25
26
|
type CouponTypeEnum = components["schemas"]["CouponTypeEnum"];
|
|
26
27
|
type CouponUpdateRequest = components["schemas"]["CouponUpdateRequest"];
|
|
28
|
+
type DataLedger = components["schemas"]["DataLedger"];
|
|
27
29
|
type DomainRecord = components["schemas"]["DomainRecord"];
|
|
28
30
|
type DomainsResponse = components["schemas"]["DomainsResponse"];
|
|
29
31
|
type EnabledResponse = components["schemas"]["EnabledResponse"];
|
|
@@ -125,6 +127,7 @@ type TwoFactorSetupRequestRequest = components["schemas"]["TwoFactorSetupRequest
|
|
|
125
127
|
type TwoFactorSetupResponse = components["schemas"]["TwoFactorSetupResponse"];
|
|
126
128
|
type User = components["schemas"]["User"];
|
|
127
129
|
type UserCreateRequest = components["schemas"]["UserCreateRequest"];
|
|
130
|
+
type UserCurrency = components["schemas"]["UserCurrency"];
|
|
128
131
|
type UserPasswordResetRequestRequest = components["schemas"]["UserPasswordResetRequestRequest"];
|
|
129
132
|
type VerifyOTPRequest = components["schemas"]["VerifyOTPRequest"];
|
|
130
133
|
type WebhookCreated = components["schemas"]["WebhookCreated"];
|
|
@@ -132,5 +135,5 @@ type WebhookCreateRequest = components["schemas"]["WebhookCreateRequest"];
|
|
|
132
135
|
type WebhookList = components["schemas"]["WebhookList"];
|
|
133
136
|
type WebhookScopeEnum = components["schemas"]["WebhookScopeEnum"];
|
|
134
137
|
//#endregion
|
|
135
|
-
export {
|
|
136
|
-
//# sourceMappingURL=models-
|
|
138
|
+
export { LogRecord as $, RewardStatusEnum as $t, FeedRecord as A, PaginatedWebhookListList as At, InvoiceCreateRequestStatusEnum as B, PricingUnitEnum as Bt, CouponStats as C, WebhookCreateRequest as Cn, PaginatedNewsList as Ct, DomainRecord as D, PaginatedRegionList as Dt, DataLedger as E, WebhookScopeEnum as En, PaginatedPackageList as Et, GoogleAuthRequest as F, PatchedTelegramConnectionUpdateRequest as Ft, InvoiceTypeEnum as G, ProxyPasswordResetResponse as Gt, InvoiceRead as H, ProxyGenerationConnectionRequest as Ht, ISP as I, PatchedUserUpdateRequest as It, LocationASNGeoItem as J, Region as Jt, LanguageEnum as K, ProxyTypeEnum as Kt, Invoice as L, PaymentGateway as Lt, GenerateProxyRequest as M, PatchedCouponUpdateRequest as Mt, GenerateProxyResponse as N, PatchedOrderAutoRenewalRequest as Nt, DomainsResponse as O, PaginatedRewardList as Ot, GeneratedProxy as P, PatchedProfileUpdateRequest as Pt, LocationRegionSummary as Q, RewardClaimRequestRequest as Qt, InvoiceCreateRequestGatewayEnum as R, PaymentLinkResponse as Rt, CouponShort as S, VerifyOTPRequest as Sn, PaginatedLocationASNRecordList as St, CouponUpdateRequest as T, WebhookList as Tn, PaginatedPackageCommissionList as Tt, InvoiceShort as U, ProxyGenerationSessionRequest as Ut, InvoiceGatewayEnum as V, ProtocolEnum as Vt, InvoiceStatusEnum as W, ProxyGenerationTargetingRequest as Wt, LocationCodeName as X, ResetPasswordRequest as Xt, LocationASNRecord as Y, ResetDataRequest as Yt, LocationCountrySummary as Z, Reward as Zt, Coupon as _, TwoFactorSetupResponse as _n, PaginatedCountryList as _t, Affiliate as a, SubtractDataRequest as an, Order as at, CouponPriceResponse as b, UserCurrency as bn, PaginatedISPList as bt, AffiliateStatsResponse as c, TelegramLinkResponse as cn, OverallResponse as ct, City as d, TokenRefreshResponse as dn, PackageShort as dt, SettingsCrypto as en, LoginRequestRequest as et, CommissionTypeEnum as f, TransactionRecord as fn, PaginatedAPIKeyListList as ft, Country as g, TwoFactorSetupRequestRequest as gn, PaginatedContinentList as gt, Continent as h, TwoFactorDisableRequest as hn, PaginatedCityList as ht, AddDataRequest as i, SignUpRequest as in, OTPChallenge as it, FeedResponse as j, PasswordRecoveryResponse as jt, EnabledResponse as k, PaginatedUserList as kt, ChangePasswordRequest as l, TokenPairResponse as ln, Package as lt, ConnectionsResponse as m, TwoFactorConfirmRequest as mn, PaginatedAffiliateRewardList as mt, APIKeyCreateRequest as n, SettingsReferral as nn, MessageResponse as nt, AffiliateReward as o, TargetingOptions as on, OrderDetailed as ot, ConnectionRecord as p, TransactionsResponse as pn, PaginatedAffiliateList as pt, LevelEnum as q, RecoverPasswordRequest as qt, APIKeyList as r, SettingsResponse as rn, News as rt, AffiliateStatsPoint as s, TelegramConnectionResponse as sn, OverallPoint as st, APIKeyCreate as t, SettingsGateway as tn, LogsResponse as tt, CheckoutStatusEnum as u, TokenRefreshRequestRequest as un, PackageCommission as ut, CouponCalculatePriceRequest as v, User as vn, PaginatedCouponRedeemList as vt, CouponTypeEnum as w, WebhookCreated as wn, PaginatedOrderList as wt, CouponRedeem as x, UserPasswordResetRequestRequest as xn, PaginatedInvoiceReadList as xt, CouponCreateRequest as y, UserCreateRequest as yn, PaginatedCouponShortList as yt, InvoiceCreateRequestRequest as z, PricingEnum as zt };
|
|
139
|
+
//# sourceMappingURL=models-D20OBuAe.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-D20OBuAe.d.cts","names":[],"sources":["../src/generated/models.ts"],"mappings":";;KAGY,iBAAiB;KACjB,YAAY;KACZ,kBAAkB;KAClB,sBAAsB;KACtB,yBAAyB;KACzB,eAAe;KACf,sBAAsB;KACtB,aAAa;KACb,wBAAwB;KACxB,qBAAqB;KACrB,OAAO;KACP,qBAAqB;KACrB,mBAAmB;KACnB,sBAAsB;KACtB,YAAY;KACZ,UAAU;KACV,SAAS;KACT,8BAA8B;KAC9B,sBAAsB;KACtB,sBAAsB;KACtB,eAAe;KACf,cAAc;KACd,cAAc;KACd,iBAAiB;KACjB,sBAAsB;KACtB,aAAa;KACb,eAAe;KACf,kBAAkB;KAClB,kBAAkB;KAClB,aAAa;KACb,eAAe;KACf,iBAAiB;KACjB,uBAAuB;KACvB,wBAAwB;KACxB,oBAAoB;KACpB,UAAU;KACV,kCACV;KACU,8BAA8B;KAC9B,iCACV;KACU,qBAAqB;KACrB,cAAc;KACd,eAAe;KACf,oBAAoB;KACpB,kBAAkB;KAClB,MAAM;KACN,eAAe;KACf,YAAY;KACZ,qBAAqB;KACrB,oBAAoB;KACpB,mBAAmB;KACnB,yBAAyB;KACzB,wBAAwB;KACxB,sBAAsB;KACtB,YAAY;KACZ,eAAe;KACf,kBAAkB;KAClB,OAAO;KACP,QAAQ;KACR,gBAAgB;KAChB,eAAe;KACf,eAAe;KACf,kBAAkB;KAClB,UAAU;KACV,oBAAoB;KACpB,eAAe;KACf,yBAAyB;KACzB,+BAA+B;KAC/B,0BAA0B;KAC1B,oBAAoB;KACpB,yBAAyB;KACzB,uBAAuB;KACvB,4BAA4B;KAC5B,2BAA2B;KAC3B,2BAA2B;KAC3B,mBAAmB;KACnB,iCACV;KACU,oBAAoB;KACpB,qBAAqB;KACrB,iCACV;KACU,uBAAuB;KACvB,sBAAsB;KACtB,sBAAsB;KACtB,oBAAoB;KACpB,2BAA2B;KAC3B,2BAA2B;KAC3B,6BAA6B;KAC7B,iCACV;KACU,8BAA8B;KAC9B,yCACV;KACU,2BAA2B;KAC3B,iBAAiB;KACjB,sBAAsB;KACtB,cAAc;KACd,kBAAkB;KAClB,eAAe;KACf,mCACV;KACU,gCAAgC;KAChC,kCACV;KACU,6BAA6B;KAC7B,gBAAgB;KAChB,yBAAyB;KACzB,SAAS;KACT,mBAAmB;KACnB,uBAAuB;KACvB,SAAS;KACT,4BAA4B;KAC5B,mBAAmB;KACnB,iBAAiB;KACjB,kBAAkB;KAClB,mBAAmB;KACnB,mBAAmB;KACnB,gBAAgB;KAChB,sBAAsB;KACtB,mBAAmB;KACnB,6BAA6B;KAC7B,uBAAuB;KACvB,oBAAoB;KACpB,6BAA6B;KAC7B,uBAAuB;KACvB,oBAAoB;KACpB,uBAAuB;KACvB,0BAA0B;KAC1B,0BAA0B;KAC1B,+BAA+B;KAC/B,yBAAyB;KACzB,OAAO;KACP,oBAAoB;KACpB,eAAe;KACf,kCACV;KACU,mBAAmB;KACnB,iBAAiB;KACjB,uBAAuB;KACvB,cAAc;KACd,mBAAmB"}
|
package/dist/models.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export type { APIKeyCreate, APIKeyCreateRequest, APIKeyList, AddDataRequest, Affiliate, AffiliateReward, AffiliateStatsPoint, AffiliateStatsResponse, ChangePasswordRequest, CheckoutStatusEnum, City, CommissionTypeEnum, ConnectionRecord, ConnectionsResponse, Continent, Country, Coupon, CouponCalculatePriceRequest, CouponCreateRequest, CouponPriceResponse, CouponRedeem, CouponShort, CouponTypeEnum, CouponUpdateRequest, DomainRecord, DomainsResponse, EnabledResponse, FeedRecord, FeedResponse, GenerateProxyRequest, GenerateProxyResponse, GeneratedProxy, GoogleAuthRequest, ISP, Invoice, InvoiceCreateRequestGatewayEnum, InvoiceCreateRequestRequest, InvoiceCreateRequestStatusEnum, InvoiceGatewayEnum, InvoiceRead, InvoiceShort, InvoiceStatusEnum, InvoiceTypeEnum, LanguageEnum, LevelEnum, LocationASNGeoItem, LocationASNRecord, LocationCodeName, LocationCountrySummary, LocationRegionSummary, LogRecord, LoginRequestRequest, LogsResponse, MessageResponse, News, OTPChallenge, Order, OrderDetailed, OverallPoint, OverallResponse, Package, PackageCommission, PackageShort, PaginatedAPIKeyListList, PaginatedAffiliateList, PaginatedAffiliateRewardList, PaginatedCityList, PaginatedContinentList, PaginatedCountryList, PaginatedCouponRedeemList, PaginatedCouponShortList, PaginatedISPList, PaginatedInvoiceReadList, PaginatedLocationASNRecordList, PaginatedNewsList, PaginatedOrderList, PaginatedPackageCommissionList, PaginatedPackageList, PaginatedRegionList, PaginatedRewardList, PaginatedUserList, PaginatedWebhookListList, PasswordRecoveryResponse, PatchedCouponUpdateRequest, PatchedOrderAutoRenewalRequest, PatchedProfileUpdateRequest, PatchedTelegramConnectionUpdateRequest, PatchedUserUpdateRequest, PaymentGateway, PaymentLinkResponse, PricingEnum, PricingUnitEnum, ProtocolEnum, ProxyGenerationConnectionRequest, ProxyGenerationSessionRequest, ProxyGenerationTargetingRequest, ProxyPasswordResetResponse, ProxyTypeEnum, RecoverPasswordRequest, Region, ResetDataRequest, ResetPasswordRequest, Reward, RewardClaimRequestRequest, RewardStatusEnum, SettingsCrypto, SettingsGateway, SettingsReferral, SettingsResponse, SignUpRequest, SubtractDataRequest, TargetingOptions, TelegramConnectionResponse, TelegramLinkResponse, TokenPairResponse, TokenRefreshRequestRequest, TokenRefreshResponse, TransactionRecord, TransactionsResponse, TwoFactorConfirmRequest, TwoFactorDisableRequest, TwoFactorSetupRequestRequest, TwoFactorSetupResponse, User, UserCreateRequest, UserPasswordResetRequestRequest, VerifyOTPRequest, WebhookCreateRequest, WebhookCreated, WebhookList, WebhookScopeEnum };
|
|
1
|
+
import { $ as LogRecord, $t as RewardStatusEnum, A as FeedRecord, At as PaginatedWebhookListList, B as InvoiceCreateRequestStatusEnum, Bt as PricingUnitEnum, C as CouponStats, Cn as WebhookCreateRequest, Ct as PaginatedNewsList, D as DomainRecord, Dt as PaginatedRegionList, E as DataLedger, En as WebhookScopeEnum, Et as PaginatedPackageList, F as GoogleAuthRequest, Ft as PatchedTelegramConnectionUpdateRequest, G as InvoiceTypeEnum, Gt as ProxyPasswordResetResponse, H as InvoiceRead, Ht as ProxyGenerationConnectionRequest, I as ISP, It as PatchedUserUpdateRequest, J as LocationASNGeoItem, Jt as Region, K as LanguageEnum, Kt as ProxyTypeEnum, L as Invoice, Lt as PaymentGateway, M as GenerateProxyRequest, Mt as PatchedCouponUpdateRequest, N as GenerateProxyResponse, Nt as PatchedOrderAutoRenewalRequest, O as DomainsResponse, Ot as PaginatedRewardList, P as GeneratedProxy, Pt as PatchedProfileUpdateRequest, Q as LocationRegionSummary, Qt as RewardClaimRequestRequest, R as InvoiceCreateRequestGatewayEnum, Rt as PaymentLinkResponse, S as CouponShort, Sn as VerifyOTPRequest, St as PaginatedLocationASNRecordList, T as CouponUpdateRequest, Tn as WebhookList, Tt as PaginatedPackageCommissionList, U as InvoiceShort, Ut as ProxyGenerationSessionRequest, V as InvoiceGatewayEnum, Vt as ProtocolEnum, W as InvoiceStatusEnum, Wt as ProxyGenerationTargetingRequest, X as LocationCodeName, Xt as ResetPasswordRequest, Y as LocationASNRecord, Yt as ResetDataRequest, Z as LocationCountrySummary, Zt as Reward, _ as Coupon, _n as TwoFactorSetupResponse, _t as PaginatedCountryList, a as Affiliate, an as SubtractDataRequest, at as Order, b as CouponPriceResponse, bn as UserCurrency, bt as PaginatedISPList, c as AffiliateStatsResponse, cn as TelegramLinkResponse, ct as OverallResponse, d as City, dn as TokenRefreshResponse, dt as PackageShort, en as SettingsCrypto, et as LoginRequestRequest, f as CommissionTypeEnum, fn as TransactionRecord, ft as PaginatedAPIKeyListList, g as Country, gn as TwoFactorSetupRequestRequest, gt as PaginatedContinentList, h as Continent, hn as TwoFactorDisableRequest, ht as PaginatedCityList, i as AddDataRequest, in as SignUpRequest, it as OTPChallenge, j as FeedResponse, jt as PasswordRecoveryResponse, k as EnabledResponse, kt as PaginatedUserList, l as ChangePasswordRequest, ln as TokenPairResponse, lt as Package, m as ConnectionsResponse, mn as TwoFactorConfirmRequest, mt as PaginatedAffiliateRewardList, n as APIKeyCreateRequest, nn as SettingsReferral, nt as MessageResponse, o as AffiliateReward, on as TargetingOptions, ot as OrderDetailed, p as ConnectionRecord, pn as TransactionsResponse, pt as PaginatedAffiliateList, q as LevelEnum, qt as RecoverPasswordRequest, r as APIKeyList, rn as SettingsResponse, rt as News, s as AffiliateStatsPoint, sn as TelegramConnectionResponse, st as OverallPoint, t as APIKeyCreate, tn as SettingsGateway, tt as LogsResponse, u as CheckoutStatusEnum, un as TokenRefreshRequestRequest, ut as PackageCommission, v as CouponCalculatePriceRequest, vn as User, vt as PaginatedCouponRedeemList, w as CouponTypeEnum, wn as WebhookCreated, wt as PaginatedOrderList, x as CouponRedeem, xn as UserPasswordResetRequestRequest, xt as PaginatedInvoiceReadList, y as CouponCreateRequest, yn as UserCreateRequest, yt as PaginatedCouponShortList, z as InvoiceCreateRequestRequest, zt as PricingEnum } from "./models-D20OBuAe.cjs";
|
|
2
|
+
export type { APIKeyCreate, APIKeyCreateRequest, APIKeyList, AddDataRequest, Affiliate, AffiliateReward, AffiliateStatsPoint, AffiliateStatsResponse, ChangePasswordRequest, CheckoutStatusEnum, City, CommissionTypeEnum, ConnectionRecord, ConnectionsResponse, Continent, Country, Coupon, CouponCalculatePriceRequest, CouponCreateRequest, CouponPriceResponse, CouponRedeem, CouponShort, CouponStats, CouponTypeEnum, CouponUpdateRequest, DataLedger, DomainRecord, DomainsResponse, EnabledResponse, FeedRecord, FeedResponse, GenerateProxyRequest, GenerateProxyResponse, GeneratedProxy, GoogleAuthRequest, ISP, Invoice, InvoiceCreateRequestGatewayEnum, InvoiceCreateRequestRequest, InvoiceCreateRequestStatusEnum, InvoiceGatewayEnum, InvoiceRead, InvoiceShort, InvoiceStatusEnum, InvoiceTypeEnum, LanguageEnum, LevelEnum, LocationASNGeoItem, LocationASNRecord, LocationCodeName, LocationCountrySummary, LocationRegionSummary, LogRecord, LoginRequestRequest, LogsResponse, MessageResponse, News, OTPChallenge, Order, OrderDetailed, OverallPoint, OverallResponse, Package, PackageCommission, PackageShort, PaginatedAPIKeyListList, PaginatedAffiliateList, PaginatedAffiliateRewardList, PaginatedCityList, PaginatedContinentList, PaginatedCountryList, PaginatedCouponRedeemList, PaginatedCouponShortList, PaginatedISPList, PaginatedInvoiceReadList, PaginatedLocationASNRecordList, PaginatedNewsList, PaginatedOrderList, PaginatedPackageCommissionList, PaginatedPackageList, PaginatedRegionList, PaginatedRewardList, PaginatedUserList, PaginatedWebhookListList, PasswordRecoveryResponse, PatchedCouponUpdateRequest, PatchedOrderAutoRenewalRequest, PatchedProfileUpdateRequest, PatchedTelegramConnectionUpdateRequest, PatchedUserUpdateRequest, PaymentGateway, PaymentLinkResponse, PricingEnum, PricingUnitEnum, ProtocolEnum, ProxyGenerationConnectionRequest, ProxyGenerationSessionRequest, ProxyGenerationTargetingRequest, ProxyPasswordResetResponse, ProxyTypeEnum, RecoverPasswordRequest, Region, ResetDataRequest, ResetPasswordRequest, Reward, RewardClaimRequestRequest, RewardStatusEnum, SettingsCrypto, SettingsGateway, SettingsReferral, SettingsResponse, SignUpRequest, SubtractDataRequest, TargetingOptions, TelegramConnectionResponse, TelegramLinkResponse, TokenPairResponse, TokenRefreshRequestRequest, TokenRefreshResponse, TransactionRecord, TransactionsResponse, TwoFactorConfirmRequest, TwoFactorDisableRequest, TwoFactorSetupRequestRequest, TwoFactorSetupResponse, User, UserCreateRequest, UserCurrency, UserPasswordResetRequestRequest, VerifyOTPRequest, WebhookCreateRequest, WebhookCreated, WebhookList, WebhookScopeEnum };
|
package/dist/models.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export type { APIKeyCreate, APIKeyCreateRequest, APIKeyList, AddDataRequest, Affiliate, AffiliateReward, AffiliateStatsPoint, AffiliateStatsResponse, ChangePasswordRequest, CheckoutStatusEnum, City, CommissionTypeEnum, ConnectionRecord, ConnectionsResponse, Continent, Country, Coupon, CouponCalculatePriceRequest, CouponCreateRequest, CouponPriceResponse, CouponRedeem, CouponShort, CouponTypeEnum, CouponUpdateRequest, DomainRecord, DomainsResponse, EnabledResponse, FeedRecord, FeedResponse, GenerateProxyRequest, GenerateProxyResponse, GeneratedProxy, GoogleAuthRequest, ISP, Invoice, InvoiceCreateRequestGatewayEnum, InvoiceCreateRequestRequest, InvoiceCreateRequestStatusEnum, InvoiceGatewayEnum, InvoiceRead, InvoiceShort, InvoiceStatusEnum, InvoiceTypeEnum, LanguageEnum, LevelEnum, LocationASNGeoItem, LocationASNRecord, LocationCodeName, LocationCountrySummary, LocationRegionSummary, LogRecord, LoginRequestRequest, LogsResponse, MessageResponse, News, OTPChallenge, Order, OrderDetailed, OverallPoint, OverallResponse, Package, PackageCommission, PackageShort, PaginatedAPIKeyListList, PaginatedAffiliateList, PaginatedAffiliateRewardList, PaginatedCityList, PaginatedContinentList, PaginatedCountryList, PaginatedCouponRedeemList, PaginatedCouponShortList, PaginatedISPList, PaginatedInvoiceReadList, PaginatedLocationASNRecordList, PaginatedNewsList, PaginatedOrderList, PaginatedPackageCommissionList, PaginatedPackageList, PaginatedRegionList, PaginatedRewardList, PaginatedUserList, PaginatedWebhookListList, PasswordRecoveryResponse, PatchedCouponUpdateRequest, PatchedOrderAutoRenewalRequest, PatchedProfileUpdateRequest, PatchedTelegramConnectionUpdateRequest, PatchedUserUpdateRequest, PaymentGateway, PaymentLinkResponse, PricingEnum, PricingUnitEnum, ProtocolEnum, ProxyGenerationConnectionRequest, ProxyGenerationSessionRequest, ProxyGenerationTargetingRequest, ProxyPasswordResetResponse, ProxyTypeEnum, RecoverPasswordRequest, Region, ResetDataRequest, ResetPasswordRequest, Reward, RewardClaimRequestRequest, RewardStatusEnum, SettingsCrypto, SettingsGateway, SettingsReferral, SettingsResponse, SignUpRequest, SubtractDataRequest, TargetingOptions, TelegramConnectionResponse, TelegramLinkResponse, TokenPairResponse, TokenRefreshRequestRequest, TokenRefreshResponse, TransactionRecord, TransactionsResponse, TwoFactorConfirmRequest, TwoFactorDisableRequest, TwoFactorSetupRequestRequest, TwoFactorSetupResponse, User, UserCreateRequest, UserPasswordResetRequestRequest, VerifyOTPRequest, WebhookCreateRequest, WebhookCreated, WebhookList, WebhookScopeEnum };
|
|
1
|
+
import { $ as LogRecord, $t as RewardStatusEnum, A as FeedRecord, At as PaginatedWebhookListList, B as InvoiceCreateRequestStatusEnum, Bt as PricingUnitEnum, C as CouponStats, Cn as WebhookCreateRequest, Ct as PaginatedNewsList, D as DomainRecord, Dt as PaginatedRegionList, E as DataLedger, En as WebhookScopeEnum, Et as PaginatedPackageList, F as GoogleAuthRequest, Ft as PatchedTelegramConnectionUpdateRequest, G as InvoiceTypeEnum, Gt as ProxyPasswordResetResponse, H as InvoiceRead, Ht as ProxyGenerationConnectionRequest, I as ISP, It as PatchedUserUpdateRequest, J as LocationASNGeoItem, Jt as Region, K as LanguageEnum, Kt as ProxyTypeEnum, L as Invoice, Lt as PaymentGateway, M as GenerateProxyRequest, Mt as PatchedCouponUpdateRequest, N as GenerateProxyResponse, Nt as PatchedOrderAutoRenewalRequest, O as DomainsResponse, Ot as PaginatedRewardList, P as GeneratedProxy, Pt as PatchedProfileUpdateRequest, Q as LocationRegionSummary, Qt as RewardClaimRequestRequest, R as InvoiceCreateRequestGatewayEnum, Rt as PaymentLinkResponse, S as CouponShort, Sn as VerifyOTPRequest, St as PaginatedLocationASNRecordList, T as CouponUpdateRequest, Tn as WebhookList, Tt as PaginatedPackageCommissionList, U as InvoiceShort, Ut as ProxyGenerationSessionRequest, V as InvoiceGatewayEnum, Vt as ProtocolEnum, W as InvoiceStatusEnum, Wt as ProxyGenerationTargetingRequest, X as LocationCodeName, Xt as ResetPasswordRequest, Y as LocationASNRecord, Yt as ResetDataRequest, Z as LocationCountrySummary, Zt as Reward, _ as Coupon, _n as TwoFactorSetupResponse, _t as PaginatedCountryList, a as Affiliate, an as SubtractDataRequest, at as Order, b as CouponPriceResponse, bn as UserCurrency, bt as PaginatedISPList, c as AffiliateStatsResponse, cn as TelegramLinkResponse, ct as OverallResponse, d as City, dn as TokenRefreshResponse, dt as PackageShort, en as SettingsCrypto, et as LoginRequestRequest, f as CommissionTypeEnum, fn as TransactionRecord, ft as PaginatedAPIKeyListList, g as Country, gn as TwoFactorSetupRequestRequest, gt as PaginatedContinentList, h as Continent, hn as TwoFactorDisableRequest, ht as PaginatedCityList, i as AddDataRequest, in as SignUpRequest, it as OTPChallenge, j as FeedResponse, jt as PasswordRecoveryResponse, k as EnabledResponse, kt as PaginatedUserList, l as ChangePasswordRequest, ln as TokenPairResponse, lt as Package, m as ConnectionsResponse, mn as TwoFactorConfirmRequest, mt as PaginatedAffiliateRewardList, n as APIKeyCreateRequest, nn as SettingsReferral, nt as MessageResponse, o as AffiliateReward, on as TargetingOptions, ot as OrderDetailed, p as ConnectionRecord, pn as TransactionsResponse, pt as PaginatedAffiliateList, q as LevelEnum, qt as RecoverPasswordRequest, r as APIKeyList, rn as SettingsResponse, rt as News, s as AffiliateStatsPoint, sn as TelegramConnectionResponse, st as OverallPoint, t as APIKeyCreate, tn as SettingsGateway, tt as LogsResponse, u as CheckoutStatusEnum, un as TokenRefreshRequestRequest, ut as PackageCommission, v as CouponCalculatePriceRequest, vn as User, vt as PaginatedCouponRedeemList, w as CouponTypeEnum, wn as WebhookCreated, wt as PaginatedOrderList, x as CouponRedeem, xn as UserPasswordResetRequestRequest, xt as PaginatedInvoiceReadList, y as CouponCreateRequest, yn as UserCreateRequest, yt as PaginatedCouponShortList, z as InvoiceCreateRequestRequest, zt as PricingEnum } from "./models-CqqQyGmO.js";
|
|
2
|
+
export type { APIKeyCreate, APIKeyCreateRequest, APIKeyList, AddDataRequest, Affiliate, AffiliateReward, AffiliateStatsPoint, AffiliateStatsResponse, ChangePasswordRequest, CheckoutStatusEnum, City, CommissionTypeEnum, ConnectionRecord, ConnectionsResponse, Continent, Country, Coupon, CouponCalculatePriceRequest, CouponCreateRequest, CouponPriceResponse, CouponRedeem, CouponShort, CouponStats, CouponTypeEnum, CouponUpdateRequest, DataLedger, DomainRecord, DomainsResponse, EnabledResponse, FeedRecord, FeedResponse, GenerateProxyRequest, GenerateProxyResponse, GeneratedProxy, GoogleAuthRequest, ISP, Invoice, InvoiceCreateRequestGatewayEnum, InvoiceCreateRequestRequest, InvoiceCreateRequestStatusEnum, InvoiceGatewayEnum, InvoiceRead, InvoiceShort, InvoiceStatusEnum, InvoiceTypeEnum, LanguageEnum, LevelEnum, LocationASNGeoItem, LocationASNRecord, LocationCodeName, LocationCountrySummary, LocationRegionSummary, LogRecord, LoginRequestRequest, LogsResponse, MessageResponse, News, OTPChallenge, Order, OrderDetailed, OverallPoint, OverallResponse, Package, PackageCommission, PackageShort, PaginatedAPIKeyListList, PaginatedAffiliateList, PaginatedAffiliateRewardList, PaginatedCityList, PaginatedContinentList, PaginatedCountryList, PaginatedCouponRedeemList, PaginatedCouponShortList, PaginatedISPList, PaginatedInvoiceReadList, PaginatedLocationASNRecordList, PaginatedNewsList, PaginatedOrderList, PaginatedPackageCommissionList, PaginatedPackageList, PaginatedRegionList, PaginatedRewardList, PaginatedUserList, PaginatedWebhookListList, PasswordRecoveryResponse, PatchedCouponUpdateRequest, PatchedOrderAutoRenewalRequest, PatchedProfileUpdateRequest, PatchedTelegramConnectionUpdateRequest, PatchedUserUpdateRequest, PaymentGateway, PaymentLinkResponse, PricingEnum, PricingUnitEnum, ProtocolEnum, ProxyGenerationConnectionRequest, ProxyGenerationSessionRequest, ProxyGenerationTargetingRequest, ProxyPasswordResetResponse, ProxyTypeEnum, RecoverPasswordRequest, Region, ResetDataRequest, ResetPasswordRequest, Reward, RewardClaimRequestRequest, RewardStatusEnum, SettingsCrypto, SettingsGateway, SettingsReferral, SettingsResponse, SignUpRequest, SubtractDataRequest, TargetingOptions, TelegramConnectionResponse, TelegramLinkResponse, TokenPairResponse, TokenRefreshRequestRequest, TokenRefreshResponse, TransactionRecord, TransactionsResponse, TwoFactorConfirmRequest, TwoFactorDisableRequest, TwoFactorSetupRequestRequest, TwoFactorSetupResponse, User, UserCreateRequest, UserCurrency, UserPasswordResetRequestRequest, VerifyOTPRequest, WebhookCreateRequest, WebhookCreated, WebhookList, WebhookScopeEnum };
|
package/dist/openapi.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as webhooks, n as operations, r as paths, t as components } from "./schema-
|
|
1
|
+
import { i as webhooks, n as operations, r as paths, t as components } from "./schema-Dj3NSLe5.cjs";
|
|
2
2
|
export type { components, operations, paths, webhooks };
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as webhooks, n as operations, r as paths, t as components } from "./schema-
|
|
1
|
+
import { i as webhooks, n as operations, r as paths, t as components } from "./schema-Dj3NSLe5.js";
|
|
2
2
|
export type { components, operations, paths, webhooks };
|
|
@@ -383,7 +383,7 @@ interface paths {
|
|
|
383
383
|
put?: never;
|
|
384
384
|
/**
|
|
385
385
|
* Create an invoice
|
|
386
|
-
* @description Calculates package pricing and initializes the selected payment provider when required. The status defaults to `pending`.
|
|
386
|
+
* @description Calculates package pricing and initializes the selected payment provider when required. The status defaults to `pending`. Creating an already-paid invoice by setting `status` to `paid` requires a superuser or an active superuser's API key (Static or Bearer), including requests using `X-Impersonate-User`. Other authenticated users receive a 403 response. During API-key impersonation, the invoice recipient and user_id access rules are still determined by the impersonated user. For wallet payments, omit `status`: the invoice is created as pending and becomes paid after the balance is debited successfully. For your own billing system, confirm payment on your backend before sending gateway=manual and status=paid with a superuser credential. Sending user_id also requires is_reseller; omit user_id for a purchase by the caller. Sub-users cannot create invoices themselves. A paid package purchase creates or tops up the recipient's order for that package. Repeated purchases reuse the order. Finite expiring purchases have separate data ledgers; compatible non-expiring purchases and unlimited packages may reuse a ledger. This is different from assigning a child quota with /users/{id}/data/add. An amount-only invoice tops up money, not data. Persist the invoice ID and use Idempotency-Key for retries. Before delivering access, read the paid invoice and the resulting order: fulfillment can be recovered asynchronously. Accounting webhooks do not include invoice.paid.
|
|
387
387
|
*/
|
|
388
388
|
post: operations["invoices_create"];
|
|
389
389
|
delete?: never;
|
|
@@ -963,7 +963,7 @@ interface paths {
|
|
|
963
963
|
put?: never;
|
|
964
964
|
/**
|
|
965
965
|
* Generate proxy credentials
|
|
966
|
-
* @description Creates ready-to-use proxy credentials for a purchased package. Use targeting to choose a location or provider scope, connection to choose protocol and output format, and session to control sticky session lifetime.
|
|
966
|
+
* @description Creates ready-to-use proxy credentials for a purchased package. Use targeting to choose a location or provider scope, connection to choose protocol and output format, and session to control sticky session lifetime. Omit connection.host to choose one random eligible gateway for the entire request. The default port comes from that gateway's cluster. Targeting location does not select the entry gateway's region. Explicit host and port remain supported for custom endpoints.
|
|
967
967
|
*/
|
|
968
968
|
post: operations["proxies_generate_create"];
|
|
969
969
|
delete?: never;
|
|
@@ -1485,9 +1485,7 @@ interface components {
|
|
|
1485
1485
|
marketer?: string | null;
|
|
1486
1486
|
readonly packages: components["schemas"]["PackageShort"][];
|
|
1487
1487
|
readonly redeemed_count: number;
|
|
1488
|
-
readonly stats:
|
|
1489
|
-
[key: string]: unknown;
|
|
1490
|
-
} | null;
|
|
1488
|
+
readonly stats: components["schemas"]["CouponStats"] | null;
|
|
1491
1489
|
type: components["schemas"]["CouponTypeEnum"];
|
|
1492
1490
|
/**
|
|
1493
1491
|
* Format: uuid
|
|
@@ -1595,9 +1593,7 @@ interface components {
|
|
|
1595
1593
|
* @description The marketer who owns this coupon. Required if is_marketer is true.
|
|
1596
1594
|
*/
|
|
1597
1595
|
marketer?: string | null;
|
|
1598
|
-
readonly packages:
|
|
1599
|
-
[key: string]: unknown;
|
|
1600
|
-
}[];
|
|
1596
|
+
readonly packages: components["schemas"]["PackageShort"][];
|
|
1601
1597
|
type: components["schemas"]["CouponTypeEnum"];
|
|
1602
1598
|
/**
|
|
1603
1599
|
* Format: uuid
|
|
@@ -1615,6 +1611,13 @@ interface components {
|
|
|
1615
1611
|
*/
|
|
1616
1612
|
value: number;
|
|
1617
1613
|
};
|
|
1614
|
+
CouponStats: {
|
|
1615
|
+
total_data_given: number;
|
|
1616
|
+
total_discount_given: number;
|
|
1617
|
+
total_redeems: number;
|
|
1618
|
+
total_revenue: number;
|
|
1619
|
+
unique_users: number;
|
|
1620
|
+
};
|
|
1618
1621
|
/**
|
|
1619
1622
|
* @description * `free_data` - Free Data * `monetary` - Money * `percentage` - Percentage
|
|
1620
1623
|
* @enum {string}
|
|
@@ -1657,6 +1660,30 @@ interface components {
|
|
|
1657
1660
|
*/
|
|
1658
1661
|
value: number;
|
|
1659
1662
|
};
|
|
1663
|
+
/** @description A purchased data bucket, not a complete transaction history. Finite purchases with an expiration have separate buckets. Compatible non-expiring top-ups and unlimited packages may reuse an existing bucket. */
|
|
1664
|
+
DataLedger: {
|
|
1665
|
+
/** Format: date-time */
|
|
1666
|
+
readonly created: string;
|
|
1667
|
+
/**
|
|
1668
|
+
* Data Amount (bytes)
|
|
1669
|
+
* @description Total data allocated to this ledger entry in bytes. 1073741824 = 1 GiB 10737418240 = 10 GiB
|
|
1670
|
+
*/
|
|
1671
|
+
readonly data: number;
|
|
1672
|
+
/**
|
|
1673
|
+
* Remaining Data (bytes)
|
|
1674
|
+
* @description Bytes still available for consumption from this ledger entry. Decremented in FIFO order as the customer uses the proxy. When this reaches zero the entry is exhausted.
|
|
1675
|
+
*/
|
|
1676
|
+
readonly data_remaining: number;
|
|
1677
|
+
/**
|
|
1678
|
+
* Expiration Date
|
|
1679
|
+
* Format: date-time
|
|
1680
|
+
* @description Date and time when this ledger entry expires and any remaining data is forfeited. Leave blank for entries that do not expire.
|
|
1681
|
+
*/
|
|
1682
|
+
readonly expires: string | null;
|
|
1683
|
+
readonly id: string;
|
|
1684
|
+
/** Format: date-time */
|
|
1685
|
+
readonly updated: string;
|
|
1686
|
+
};
|
|
1660
1687
|
DomainRecord: {
|
|
1661
1688
|
data: number;
|
|
1662
1689
|
hostname: string;
|
|
@@ -1684,7 +1711,8 @@ interface components {
|
|
|
1684
1711
|
data: number;
|
|
1685
1712
|
established_connections: number;
|
|
1686
1713
|
hostname: string;
|
|
1687
|
-
|
|
1714
|
+
/** @description Exact decimal UInt64 identifier, normalized from the API's JSON number. */
|
|
1715
|
+
id: string;
|
|
1688
1716
|
is_session: boolean;
|
|
1689
1717
|
ledger_id: string;
|
|
1690
1718
|
method: string;
|
|
@@ -1882,7 +1910,7 @@ interface components {
|
|
|
1882
1910
|
/** @description Number of static proxies to purchase. */
|
|
1883
1911
|
quantity?: number;
|
|
1884
1912
|
/**
|
|
1885
|
-
* @description Initial invoice status. Defaults to pending.
|
|
1913
|
+
* @description Initial invoice status. Defaults to pending. Setting paid requires a superuser or an active superuser's API key, including requests using X-Impersonate-User. Other authenticated users receive a 403 response. * `pending` - pending * `paid` - paid
|
|
1886
1914
|
* @default pending
|
|
1887
1915
|
*/
|
|
1888
1916
|
status?: components["schemas"]["InvoiceCreateRequestStatusEnum"];
|
|
@@ -2153,12 +2181,8 @@ interface components {
|
|
|
2153
2181
|
*/
|
|
2154
2182
|
latest_data_top_up_date?: string | null;
|
|
2155
2183
|
/** @description Usable, non-expired ledger balances for a purchased root order; empty for a virtual child order using its parent's pool. Not a complete history. Array position does not identify the active ledger or spending order. */
|
|
2156
|
-
readonly ledgers:
|
|
2157
|
-
|
|
2158
|
-
}[];
|
|
2159
|
-
readonly package: {
|
|
2160
|
-
[key: string]: unknown;
|
|
2161
|
-
};
|
|
2184
|
+
readonly ledgers: components["schemas"]["DataLedger"][];
|
|
2185
|
+
readonly package: components["schemas"]["PackageShort"];
|
|
2162
2186
|
/** @description Private proxy pools assigned to this order. Pools restrict which proxy IPs are available to this customer. Leave blank to use the full provider pool. */
|
|
2163
2187
|
pools?: string[];
|
|
2164
2188
|
/** @description Password used by the customer to authenticate proxy connections. Auto-generated by default — change only if a custom value is needed. Must be between 4 and 64 characters. */
|
|
@@ -2227,9 +2251,7 @@ interface components {
|
|
|
2227
2251
|
*/
|
|
2228
2252
|
latest_data_top_up_date?: string | null;
|
|
2229
2253
|
/** @description Usable, non-expired purchased buckets; empty for virtual child orders. Not a complete history, and array position is not spending priority. */
|
|
2230
|
-
readonly ledgers:
|
|
2231
|
-
[key: string]: unknown;
|
|
2232
|
-
}[];
|
|
2254
|
+
readonly ledgers: components["schemas"]["DataLedger"][];
|
|
2233
2255
|
package: components["schemas"]["PackageShort"];
|
|
2234
2256
|
/** @description Private proxy pools assigned to this order. Pools restrict which proxy IPs are available to this customer. Leave blank to use the full provider pool. */
|
|
2235
2257
|
pools?: string[];
|
|
@@ -2795,7 +2817,7 @@ interface components {
|
|
|
2795
2817
|
* @default {protocol}://{username}:{password}@{host}:{port}
|
|
2796
2818
|
*/
|
|
2797
2819
|
format: string;
|
|
2798
|
-
/** @description Gateway host. Leave empty to
|
|
2820
|
+
/** @description Gateway host. Leave empty to choose one available gateway for the entire request. */
|
|
2799
2821
|
host?: string;
|
|
2800
2822
|
/** @description Gateway port. Leave empty to use the port for the selected protocol. */
|
|
2801
2823
|
port?: number;
|
|
@@ -2911,7 +2933,9 @@ interface components {
|
|
|
2911
2933
|
currencies: string[];
|
|
2912
2934
|
};
|
|
2913
2935
|
SettingsGateway: {
|
|
2936
|
+
/** @description Cluster gateway domain, or a server IP when no domain is configured. */
|
|
2914
2937
|
hostname: string;
|
|
2938
|
+
/** @description The cluster domain, or unique server IPs when no domain is configured. */
|
|
2915
2939
|
hostnames: string[];
|
|
2916
2940
|
/** Format: uuid */
|
|
2917
2941
|
id: string;
|
|
@@ -3092,13 +3116,9 @@ interface components {
|
|
|
3092
3116
|
connection_limit?: number;
|
|
3093
3117
|
country?: string;
|
|
3094
3118
|
/** @description Available coupons for this user */
|
|
3095
|
-
readonly coupons:
|
|
3096
|
-
[key: string]: unknown;
|
|
3097
|
-
}[];
|
|
3119
|
+
readonly coupons: components["schemas"]["CouponShort"][];
|
|
3098
3120
|
/** @description Currency information for the user's transactions */
|
|
3099
|
-
readonly currency:
|
|
3100
|
-
[key: string]: string;
|
|
3101
|
-
};
|
|
3121
|
+
readonly currency: components["schemas"]["UserCurrency"];
|
|
3102
3122
|
/** @description Present only when SITE_PACKAGE_BASED_AUTH is disabled. */
|
|
3103
3123
|
readonly data?: number | null;
|
|
3104
3124
|
/** @description Present only when SITE_PACKAGE_BASED_AUTH is disabled. */
|
|
@@ -3213,6 +3233,10 @@ interface components {
|
|
|
3213
3233
|
/** @description User's postal/ZIP code. */
|
|
3214
3234
|
zip?: string;
|
|
3215
3235
|
};
|
|
3236
|
+
UserCurrency: {
|
|
3237
|
+
code: string;
|
|
3238
|
+
symbol: string;
|
|
3239
|
+
};
|
|
3216
3240
|
UserPasswordResetRequestRequest: {
|
|
3217
3241
|
/**
|
|
3218
3242
|
* Format: uuid
|
|
@@ -3535,8 +3559,8 @@ interface operations {
|
|
|
3535
3559
|
analytics_transactions_retrieve: {
|
|
3536
3560
|
parameters: {
|
|
3537
3561
|
query?: {
|
|
3538
|
-
/** @description Exclusive end of the reporting window. */
|
|
3539
|
-
end?: string;
|
|
3562
|
+
/** @description Exclusive end of the reporting window. Defaults to the current time. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3563
|
+
end?: string | number;
|
|
3540
3564
|
/** @description Maximum records returned on this page. */
|
|
3541
3565
|
limit?: number;
|
|
3542
3566
|
/** @description Zero-based number of matching records to skip. */
|
|
@@ -3545,9 +3569,9 @@ interface operations {
|
|
|
3545
3569
|
recipient_id?: string;
|
|
3546
3570
|
/** @description Restrict transactions to this sender account. */
|
|
3547
3571
|
sender_id?: string;
|
|
3548
|
-
/** @description Inclusive start of the reporting window. Defaults to a recent window. */
|
|
3549
|
-
start?: string;
|
|
3550
|
-
/** @description IANA timezone used for bucket boundaries.
|
|
3572
|
+
/** @description Inclusive start of the reporting window. Defaults to a recent window. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3573
|
+
start?: string | number;
|
|
3574
|
+
/** @description IANA timezone used for bucket boundaries and datetime strings without an offset. Missing, empty or unknown names use the deployment timezone (UTC by default). */
|
|
3551
3575
|
timezone?: string;
|
|
3552
3576
|
/** @description Transaction type identifier. Defaults to data transactions. */
|
|
3553
3577
|
type?: number;
|
|
@@ -3745,11 +3769,11 @@ interface operations {
|
|
|
3745
3769
|
analytics_domains_retrieve: {
|
|
3746
3770
|
parameters: {
|
|
3747
3771
|
query?: {
|
|
3748
|
-
/** @description Exclusive end of the reporting window. */
|
|
3749
|
-
end?: string;
|
|
3750
|
-
/** @description Comma-separated
|
|
3772
|
+
/** @description Exclusive end of the reporting window. Defaults to the current time. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3773
|
+
end?: string | number;
|
|
3774
|
+
/** @description Comma-separated domains, IPv4/IPv6 addresses or HTTP(S) URLs to include. Surrounding whitespace is ignored. URLs and host:port values are normalized to their hostname; schemes, ports, paths and IPv6 brackets are removed. Use brackets around IPv6 addresses when specifying a port. */
|
|
3751
3775
|
hostname?: string;
|
|
3752
|
-
/** @description Aggregate the selected user's data with all of their sub-users. Superusers can apply this to any selected user; resellers can apply it to their own account. Ignored for regular users. Defaults to false. */
|
|
3776
|
+
/** @description Aggregate the selected user's data with all of their sub-users. Superusers can apply this to any selected user; resellers can apply it to their own account. Ignored for regular users. Use true or false. Defaults to false. */
|
|
3753
3777
|
include_sub_users?: boolean;
|
|
3754
3778
|
/** @description Restrict results to one data ledger when supported. */
|
|
3755
3779
|
ledger_id?: string;
|
|
@@ -3763,9 +3787,9 @@ interface operations {
|
|
|
3763
3787
|
package_id?: string;
|
|
3764
3788
|
/** @description Case-insensitive partial match against the listed field: `hostname`. */
|
|
3765
3789
|
search?: string;
|
|
3766
|
-
/** @description Inclusive start of the reporting window. Defaults to a recent window. */
|
|
3767
|
-
start?: string;
|
|
3768
|
-
/** @description IANA timezone used for bucket boundaries.
|
|
3790
|
+
/** @description Inclusive start of the reporting window. Defaults to a recent window. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3791
|
+
start?: string | number;
|
|
3792
|
+
/** @description IANA timezone used for bucket boundaries and datetime strings without an offset. Missing, empty or unknown names use the deployment timezone (UTC by default). */
|
|
3769
3793
|
timezone?: string;
|
|
3770
3794
|
/** @description Restrict results to the current account or an accessible sub-user. */
|
|
3771
3795
|
user_id?: string;
|
|
@@ -3857,9 +3881,9 @@ interface operations {
|
|
|
3857
3881
|
city?: string;
|
|
3858
3882
|
/** @description Lowercase ISO 3166-1 alpha-2 country code. */
|
|
3859
3883
|
country?: string;
|
|
3860
|
-
/** @description Exclusive end of the reporting window. */
|
|
3861
|
-
end?: string;
|
|
3862
|
-
/** @description Comma-separated
|
|
3884
|
+
/** @description Exclusive end of the reporting window. Defaults to the current time. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3885
|
+
end?: string | number;
|
|
3886
|
+
/** @description Comma-separated domains, IPv4/IPv6 addresses or HTTP(S) URLs to include. Surrounding whitespace is ignored. URLs and host:port values are normalized to their hostname; schemes, ports, paths and IPv6 brackets are removed. Use brackets around IPv6 addresses when specifying a port. */
|
|
3863
3887
|
hostname?: string;
|
|
3864
3888
|
/** @description Restrict results to one data ledger when supported. */
|
|
3865
3889
|
ledger_id?: string;
|
|
@@ -3875,9 +3899,9 @@ interface operations {
|
|
|
3875
3899
|
region?: string;
|
|
3876
3900
|
/** @description Case-insensitive partial match against the listed field: `hostname`. */
|
|
3877
3901
|
search?: string;
|
|
3878
|
-
/** @description Inclusive start of the reporting window. Defaults to a recent window. */
|
|
3879
|
-
start?: string;
|
|
3880
|
-
/** @description IANA timezone used for bucket boundaries.
|
|
3902
|
+
/** @description Inclusive start of the reporting window. Defaults to a recent window. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3903
|
+
start?: string | number;
|
|
3904
|
+
/** @description IANA timezone used for bucket boundaries and datetime strings without an offset. Missing, empty or unknown names use the deployment timezone (UTC by default). */
|
|
3881
3905
|
timezone?: string;
|
|
3882
3906
|
/** @description Restrict results to the current account or an accessible sub-user. */
|
|
3883
3907
|
user_id?: string;
|
|
@@ -3969,11 +3993,14 @@ interface operations {
|
|
|
3969
3993
|
city?: string;
|
|
3970
3994
|
/** @description Lowercase ISO 3166-1 alpha-2 country code. */
|
|
3971
3995
|
country?: string;
|
|
3972
|
-
/** @description Exclusive end of the reporting window. */
|
|
3973
|
-
end?: string;
|
|
3996
|
+
/** @description Exclusive end of the reporting window. Defaults to the current time. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
3997
|
+
end?: string | number;
|
|
3974
3998
|
/** @description Restrict results to one non-negative proxy error code. */
|
|
3975
3999
|
error_code?: number;
|
|
3976
|
-
/**
|
|
4000
|
+
/**
|
|
4001
|
+
* @deprecated
|
|
4002
|
+
* @description Compatibility parameter; ignored by the server.
|
|
4003
|
+
*/
|
|
3977
4004
|
hostname?: string;
|
|
3978
4005
|
/** @description Restrict results to one data ledger when supported. */
|
|
3979
4006
|
ledger_id?: string;
|
|
@@ -3987,9 +4014,9 @@ interface operations {
|
|
|
3987
4014
|
protocol?: "http" | "socks5";
|
|
3988
4015
|
/** @description Normalized region targeting code. country is required. */
|
|
3989
4016
|
region?: string;
|
|
3990
|
-
/** @description Inclusive start of the reporting window. Defaults to a recent window. */
|
|
3991
|
-
start?: string;
|
|
3992
|
-
/** @description IANA timezone used for bucket boundaries.
|
|
4017
|
+
/** @description Inclusive start of the reporting window. Defaults to a recent window. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
4018
|
+
start?: string | number;
|
|
4019
|
+
/** @description IANA timezone used for bucket boundaries and datetime strings without an offset. Missing, empty or unknown names use the deployment timezone (UTC by default). */
|
|
3993
4020
|
timezone?: string;
|
|
3994
4021
|
/** @description Restrict results to the current account or an accessible sub-user. */
|
|
3995
4022
|
user_id?: string;
|
|
@@ -4077,9 +4104,9 @@ interface operations {
|
|
|
4077
4104
|
analytics_overall_retrieve: {
|
|
4078
4105
|
parameters: {
|
|
4079
4106
|
query?: {
|
|
4080
|
-
/** @description Exclusive end of the reporting window. */
|
|
4081
|
-
end?: string;
|
|
4082
|
-
/** @description Aggregate the selected user's data with all of their sub-users. Superusers can apply this to any selected user; resellers can apply it to their own account. Ignored for regular users. Defaults to false. */
|
|
4107
|
+
/** @description Exclusive end of the reporting window. Defaults to the current time. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
4108
|
+
end?: string | number;
|
|
4109
|
+
/** @description Aggregate the selected user's data with all of their sub-users. Superusers can apply this to any selected user; resellers can apply it to their own account. Ignored for regular users. Use true or false. Defaults to false. */
|
|
4083
4110
|
include_sub_users?: boolean;
|
|
4084
4111
|
/** @description Maximum records returned on this page. */
|
|
4085
4112
|
limit?: number;
|
|
@@ -4087,9 +4114,9 @@ interface operations {
|
|
|
4087
4114
|
offset?: number;
|
|
4088
4115
|
/** @description Restrict results to one purchased package. */
|
|
4089
4116
|
package_id?: string;
|
|
4090
|
-
/** @description Inclusive start of the reporting window. Defaults to a recent window. */
|
|
4091
|
-
start?: string;
|
|
4092
|
-
/** @description IANA timezone used for bucket boundaries.
|
|
4117
|
+
/** @description Inclusive start of the reporting window. Defaults to a recent window. Accepts ISO 8601 datetime strings with or without a timezone offset (including Z and fractional seconds), YYYY-MM-DD HH:MM:SS, DD-MM-YYYY HH:MM:SS, YYYY-MM-DD, DD-MM-YYYY, or a Unix timestamp in seconds (including fractional seconds, not milliseconds). Datetime strings without an offset and date-only strings use the requested timezone; explicit offsets are converted to that timezone. Date-only values start at midnight. Seconds and fractional seconds are discarded, rounding the reporting boundary down to the minute. Prefer ISO 8601 with an explicit offset for unambiguous timezone handling. */
|
|
4118
|
+
start?: string | number;
|
|
4119
|
+
/** @description IANA timezone used for bucket boundaries and datetime strings without an offset. Missing, empty or unknown names use the deployment timezone (UTC by default). */
|
|
4093
4120
|
timezone?: string;
|
|
4094
4121
|
/** @description Restrict results to the current account or an accessible sub-user. */
|
|
4095
4122
|
user_id?: string;
|
|
@@ -10276,4 +10303,4 @@ interface operations {
|
|
|
10276
10303
|
}
|
|
10277
10304
|
//#endregion
|
|
10278
10305
|
export { webhooks as i, operations as n, paths as r, components as t };
|
|
10279
|
-
//# sourceMappingURL=schema-
|
|
10306
|
+
//# sourceMappingURL=schema-Dj3NSLe5.d.cts.map
|