@paynow-gg/typescript-sdk 2.1.16 → 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.
@@ -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: FlakeId;
2504
- /**
2505
- * @format int64
2506
- */
2507
- line_count: number;
2517
+ dimension_id: string;
2508
2518
  /**
2509
2519
  * @format int64
2510
2520
  */
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
- order_count: number;
2579
- gross_volume?: MoneyDto_V2;
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
@@ -8279,7 +8290,7 @@ export interface TimeSeriesChartDto {
8279
8290
  export interface TimeSeriesChartDto_V2 {
8280
8291
  metric_type: TimeSeriesChartMetricTypeDto_V2;
8281
8292
  dimension_type?: StatsDimensionTypeDto_V2;
8282
- dimension_id?: FlakeId;
8293
+ dimension_id?: string | null;
8283
8294
  revenue_basis?: RevenueBasisDto_V2;
8284
8295
  currency?: string | null;
8285
8296
  /**
@@ -8293,7 +8304,7 @@ export interface TimeSeriesChartDto_V2 {
8293
8304
  unit: TimeSeriesUnitDto_V2;
8294
8305
  series: Array<TimeSeriesChartSeriesDto_V2>;
8295
8306
  }
8296
- 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";
8297
8308
  export interface TimeSeriesChartSeriesDto {
8298
8309
  label: string;
8299
8310
  data: Array<TimeSeriesChartSeriesEntryDto>;