@paynow-gg/typescript-sdk 2.1.15 → 2.1.17
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/dist/cjs/generated/management/types.d.ts +27 -12
- package/dist/cjs/generated/management/types.d.ts.map +1 -1
- package/dist/cjs/generated/storefront/types.d.ts +4 -0
- package/dist/cjs/generated/storefront/types.d.ts.map +1 -1
- package/dist/esm/generated/management/types.d.ts +27 -12
- package/dist/esm/generated/management/types.d.ts.map +1 -1
- package/dist/esm/generated/storefront/types.d.ts +4 -0
- package/dist/esm/generated/storefront/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1848,6 +1848,20 @@ export interface CustomerSpendTimeRangeDto {
|
|
|
1848
1848
|
*/
|
|
1849
1849
|
total_payments: number;
|
|
1850
1850
|
}
|
|
1851
|
+
export interface CustomersSummaryForRangeDto_V2 {
|
|
1852
|
+
/**
|
|
1853
|
+
* @format int64
|
|
1854
|
+
*/
|
|
1855
|
+
new_customer_count: number;
|
|
1856
|
+
/**
|
|
1857
|
+
* @format int64
|
|
1858
|
+
*/
|
|
1859
|
+
returning_customer_count: number;
|
|
1860
|
+
/**
|
|
1861
|
+
* @format int64
|
|
1862
|
+
*/
|
|
1863
|
+
returning_customer_count_excluding_renewals: number;
|
|
1864
|
+
}
|
|
1851
1865
|
export interface CustomerStatsDto {
|
|
1852
1866
|
customer_id: FlakeId;
|
|
1853
1867
|
/**
|
|
@@ -2500,15 +2514,11 @@ export interface DeliveryItemProductDto {
|
|
|
2500
2514
|
}
|
|
2501
2515
|
export type DeliveryItemStateDto = "usable" | "active" | "used" | "revoked" | "renewed";
|
|
2502
2516
|
export interface DimensionStatsEntryDto_V2 {
|
|
2503
|
-
dimension_id:
|
|
2517
|
+
dimension_id: string;
|
|
2504
2518
|
/**
|
|
2505
2519
|
* @format int64
|
|
2506
2520
|
*/
|
|
2507
|
-
|
|
2508
|
-
/**
|
|
2509
|
-
* @format int64
|
|
2510
|
-
*/
|
|
2511
|
-
quantity: number;
|
|
2521
|
+
count: number;
|
|
2512
2522
|
earnings?: MoneyDto_V2;
|
|
2513
2523
|
}
|
|
2514
2524
|
export interface DiscordActionDto {
|
|
@@ -2575,8 +2585,8 @@ export interface DistributionTotalsDto_V2 {
|
|
|
2575
2585
|
/**
|
|
2576
2586
|
* @format int64
|
|
2577
2587
|
*/
|
|
2578
|
-
|
|
2579
|
-
|
|
2588
|
+
count: number;
|
|
2589
|
+
earnings?: MoneyDto_V2;
|
|
2580
2590
|
}
|
|
2581
2591
|
/**
|
|
2582
2592
|
* Represents one matching section of a documentation page.
|
|
@@ -2851,6 +2861,7 @@ export interface GetDimensionStatsResponseDto_V2 {
|
|
|
2851
2861
|
}
|
|
2852
2862
|
export interface GetDistributionResponseDto_V2 {
|
|
2853
2863
|
distribution_type: StatsDistributionTypeDto_V2;
|
|
2864
|
+
revenue_basis: RevenueBasisDto_V2;
|
|
2854
2865
|
entries: Array<DistributionEntryDto_V2>;
|
|
2855
2866
|
}
|
|
2856
2867
|
/**
|
|
@@ -6265,8 +6276,8 @@ export interface StartDownloadableFileUploadResponseDto {
|
|
|
6265
6276
|
downloadable_file_id: FlakeId;
|
|
6266
6277
|
upload_signed_url: string;
|
|
6267
6278
|
}
|
|
6268
|
-
export type StatsDimensionTypeDto_V2 = "unspecified" | "product" | "gameserver" | "tag" | "affiliate_link" | "coupon" | "giftcard" | "payout_id";
|
|
6269
|
-
export type StatsDistributionTypeDto_V2 = "unspecified" | "order_country" | "payment_method" | "payment_acceptance";
|
|
6279
|
+
export type StatsDimensionTypeDto_V2 = "unspecified" | "product" | "gameserver" | "tag" | "affiliate_link" | "coupon" | "giftcard" | "payout_id" | "billing_email" | "sale";
|
|
6280
|
+
export type StatsDistributionTypeDto_V2 = "unspecified" | "order_country" | "payment_method" | "payment_acceptance" | "customer_lifecycle";
|
|
6270
6281
|
/**
|
|
6271
6282
|
* A 64-bit Steam account identifier. Accepts string or numeric format.
|
|
6272
6283
|
* @format steam-id
|
|
@@ -6405,6 +6416,10 @@ export type StoreDeleteStoreLogoQuery = {
|
|
|
6405
6416
|
*/
|
|
6406
6417
|
export interface StoreDto {
|
|
6407
6418
|
id: FlakeId;
|
|
6419
|
+
/**
|
|
6420
|
+
* The short identifier of the store.
|
|
6421
|
+
*/
|
|
6422
|
+
short_id: string;
|
|
6408
6423
|
owner_id: FlakeId;
|
|
6409
6424
|
/**
|
|
6410
6425
|
* The URL-safe slug used to identify the store (e.g. "my-rust-server").
|
|
@@ -8275,7 +8290,7 @@ export interface TimeSeriesChartDto {
|
|
|
8275
8290
|
export interface TimeSeriesChartDto_V2 {
|
|
8276
8291
|
metric_type: TimeSeriesChartMetricTypeDto_V2;
|
|
8277
8292
|
dimension_type?: StatsDimensionTypeDto_V2;
|
|
8278
|
-
dimension_id?:
|
|
8293
|
+
dimension_id?: string | null;
|
|
8279
8294
|
revenue_basis?: RevenueBasisDto_V2;
|
|
8280
8295
|
currency?: string | null;
|
|
8281
8296
|
/**
|
|
@@ -8289,7 +8304,7 @@ export interface TimeSeriesChartDto_V2 {
|
|
|
8289
8304
|
unit: TimeSeriesUnitDto_V2;
|
|
8290
8305
|
series: Array<TimeSeriesChartSeriesDto_V2>;
|
|
8291
8306
|
}
|
|
8292
|
-
export type TimeSeriesChartMetricTypeDto_V2 = "unspecified" | "payment_volume" | "payment_count" | "order_volume" | "order_count" | "new_customer_count" | "subscription_count" | "trial_count" | "abandoned_checkout_count" | "purchase_followup_count" | "upsell_count" | "player_count" | "mrr" | "tax_volume" | "gateway_fee_volume" | "platform_fee_volume" | "refund_volume";
|
|
8307
|
+
export type TimeSeriesChartMetricTypeDto_V2 = "unspecified" | "payment_volume" | "payment_count" | "order_volume" | "order_count" | "new_customer_count" | "subscription_count" | "trial_count" | "abandoned_checkout_count" | "purchase_followup_count" | "upsell_count" | "player_count" | "mrr" | "tax_volume" | "gateway_fee_volume" | "platform_fee_volume" | "refund_volume" | "customer_lifecycle_volume";
|
|
8293
8308
|
export interface TimeSeriesChartSeriesDto {
|
|
8294
8309
|
label: string;
|
|
8295
8310
|
data: Array<TimeSeriesChartSeriesEntryDto>;
|