@paynow-gg/typescript-sdk 2.1.16 → 2.1.18
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:
|
|
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
|
/**
|
|
@@ -3408,6 +3419,41 @@ export interface LastPaymentErrorDto {
|
|
|
3408
3419
|
*/
|
|
3409
3420
|
message: string;
|
|
3410
3421
|
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Represents an invoice Stripe Billing raised for the store's subscription before the store moved to PayNow.
|
|
3424
|
+
*/
|
|
3425
|
+
export interface LegacyStoreInvoiceDto {
|
|
3426
|
+
/**
|
|
3427
|
+
* The Stripe identifier of the invoice, starting with 'in_'.
|
|
3428
|
+
*/
|
|
3429
|
+
id: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* The invoice number printed on the document.
|
|
3432
|
+
*/
|
|
3433
|
+
number?: string | null;
|
|
3434
|
+
/**
|
|
3435
|
+
* What the invoice was raised for.
|
|
3436
|
+
*/
|
|
3437
|
+
description?: string | null;
|
|
3438
|
+
/**
|
|
3439
|
+
* The lowercase ISO 4217 currency the invoice was raised in.
|
|
3440
|
+
*/
|
|
3441
|
+
currency: string;
|
|
3442
|
+
/**
|
|
3443
|
+
* The invoice total in the smallest currency unit.
|
|
3444
|
+
* @format int64
|
|
3445
|
+
*/
|
|
3446
|
+
total: number;
|
|
3447
|
+
/**
|
|
3448
|
+
* Whether the invoice has been paid.
|
|
3449
|
+
*/
|
|
3450
|
+
is_paid: boolean;
|
|
3451
|
+
/**
|
|
3452
|
+
* When the invoice was created.
|
|
3453
|
+
* @format date-time
|
|
3454
|
+
*/
|
|
3455
|
+
created_at: string;
|
|
3456
|
+
}
|
|
3411
3457
|
/**
|
|
3412
3458
|
* Link payment method details
|
|
3413
3459
|
*/
|
|
@@ -6265,8 +6311,8 @@ export interface StartDownloadableFileUploadResponseDto {
|
|
|
6265
6311
|
downloadable_file_id: FlakeId;
|
|
6266
6312
|
upload_signed_url: string;
|
|
6267
6313
|
}
|
|
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";
|
|
6314
|
+
export type StatsDimensionTypeDto_V2 = "unspecified" | "product" | "gameserver" | "tag" | "affiliate_link" | "coupon" | "giftcard" | "payout_id" | "billing_email" | "sale";
|
|
6315
|
+
export type StatsDistributionTypeDto_V2 = "unspecified" | "order_country" | "payment_method" | "payment_acceptance" | "customer_lifecycle";
|
|
6270
6316
|
/**
|
|
6271
6317
|
* A 64-bit Steam account identifier. Accepts string or numeric format.
|
|
6272
6318
|
* @format steam-id
|
|
@@ -7255,54 +7301,6 @@ export interface StoreUpsellSettingsDto {
|
|
|
7255
7301
|
updated_at: string;
|
|
7256
7302
|
updated_by: ActorDto;
|
|
7257
7303
|
}
|
|
7258
|
-
/**
|
|
7259
|
-
* Represents an invoice Stripe Billing raised for the store's subscription before the store moved to PayNow.
|
|
7260
|
-
*/
|
|
7261
|
-
export interface StripeStoreInvoiceDto {
|
|
7262
|
-
/**
|
|
7263
|
-
* The Stripe identifier of the invoice, starting with 'in_'.
|
|
7264
|
-
*/
|
|
7265
|
-
id: string;
|
|
7266
|
-
/**
|
|
7267
|
-
* The invoice number printed on the document.
|
|
7268
|
-
*/
|
|
7269
|
-
number?: string | null;
|
|
7270
|
-
/**
|
|
7271
|
-
* What the invoice was raised for.
|
|
7272
|
-
*/
|
|
7273
|
-
description?: string | null;
|
|
7274
|
-
/**
|
|
7275
|
-
* The lowercase ISO 4217 currency the invoice was raised in.
|
|
7276
|
-
*/
|
|
7277
|
-
currency: string;
|
|
7278
|
-
/**
|
|
7279
|
-
* The invoice total in the smallest currency unit.
|
|
7280
|
-
* @format int64
|
|
7281
|
-
*/
|
|
7282
|
-
total: number;
|
|
7283
|
-
/**
|
|
7284
|
-
* Whether the invoice has been paid.
|
|
7285
|
-
*/
|
|
7286
|
-
is_paid: boolean;
|
|
7287
|
-
/**
|
|
7288
|
-
* When the invoice was created.
|
|
7289
|
-
* @format date-time
|
|
7290
|
-
*/
|
|
7291
|
-
created_at: string;
|
|
7292
|
-
}
|
|
7293
|
-
/**
|
|
7294
|
-
* Represents a page of the store's Stripe Billing invoices, newest first.
|
|
7295
|
-
*/
|
|
7296
|
-
export interface StripeStoreInvoicesDto {
|
|
7297
|
-
/**
|
|
7298
|
-
* The invoices on this page.
|
|
7299
|
-
*/
|
|
7300
|
-
invoices: Array<StripeStoreInvoiceDto>;
|
|
7301
|
-
/**
|
|
7302
|
-
* Whether more invoices follow. Pass the last invoice's 'id' as 'starting_after' to fetch them.
|
|
7303
|
-
*/
|
|
7304
|
-
has_more: boolean;
|
|
7305
|
-
}
|
|
7306
7304
|
/**
|
|
7307
7305
|
* Represents a billing amount breakdown for a subscription.
|
|
7308
7306
|
*/
|
|
@@ -8279,7 +8277,7 @@ export interface TimeSeriesChartDto {
|
|
|
8279
8277
|
export interface TimeSeriesChartDto_V2 {
|
|
8280
8278
|
metric_type: TimeSeriesChartMetricTypeDto_V2;
|
|
8281
8279
|
dimension_type?: StatsDimensionTypeDto_V2;
|
|
8282
|
-
dimension_id?:
|
|
8280
|
+
dimension_id?: string | null;
|
|
8283
8281
|
revenue_basis?: RevenueBasisDto_V2;
|
|
8284
8282
|
currency?: string | null;
|
|
8285
8283
|
/**
|
|
@@ -8293,7 +8291,7 @@ export interface TimeSeriesChartDto_V2 {
|
|
|
8293
8291
|
unit: TimeSeriesUnitDto_V2;
|
|
8294
8292
|
series: Array<TimeSeriesChartSeriesDto_V2>;
|
|
8295
8293
|
}
|
|
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";
|
|
8294
|
+
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
8295
|
export interface TimeSeriesChartSeriesDto {
|
|
8298
8296
|
label: string;
|
|
8299
8297
|
data: Array<TimeSeriesChartSeriesEntryDto>;
|