@paynow-gg/typescript-sdk 2.1.18 → 2.1.19
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/client.d.ts +19 -1
- package/dist/cjs/generated/management/client.d.ts.map +1 -1
- package/dist/cjs/generated/management/client.js +30 -1
- package/dist/cjs/generated/management/client.js.map +1 -1
- package/dist/cjs/generated/management/types.d.ts +176 -1
- package/dist/cjs/generated/management/types.d.ts.map +1 -1
- package/dist/esm/generated/management/client.d.ts +19 -1
- package/dist/esm/generated/management/client.d.ts.map +1 -1
- package/dist/esm/generated/management/client.js +28 -0
- package/dist/esm/generated/management/client.js.map +1 -1
- package/dist/esm/generated/management/types.d.ts +176 -1
- package/dist/esm/generated/management/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -544,6 +544,50 @@ export interface ChangeSubscriptionPlanDto {
|
|
|
544
544
|
* - `all`: Coverage for all chargebacks including disputes.
|
|
545
545
|
*/
|
|
546
546
|
export type ChargebackCoverageTypeDto = "unspecified" | "none" | "fraudulent" | "all";
|
|
547
|
+
/**
|
|
548
|
+
* Query parameters
|
|
549
|
+
*/
|
|
550
|
+
export type ChargebacksGetChargebacksQuery = {
|
|
551
|
+
/**
|
|
552
|
+
* The maximum number of items to return in a single request.
|
|
553
|
+
* @format int32
|
|
554
|
+
* @minimum 1
|
|
555
|
+
* @maximum 100
|
|
556
|
+
*/
|
|
557
|
+
limit?: number;
|
|
558
|
+
/**
|
|
559
|
+
* Returns items after the specified ID.
|
|
560
|
+
* Used for forward pagination through results.
|
|
561
|
+
*/
|
|
562
|
+
after?: FlakeId;
|
|
563
|
+
/**
|
|
564
|
+
* Returns items before the specified ID.
|
|
565
|
+
* Used for backward pagination through results.
|
|
566
|
+
*/
|
|
567
|
+
before?: FlakeId;
|
|
568
|
+
/**
|
|
569
|
+
* Determines the sort order of returned items.
|
|
570
|
+
* When true, items are returned in ascending order.
|
|
571
|
+
* When false, items are returned in descending order.
|
|
572
|
+
*/
|
|
573
|
+
asc?: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* Filter by order ID.
|
|
576
|
+
*/
|
|
577
|
+
order_id?: FlakeId;
|
|
578
|
+
/**
|
|
579
|
+
* Filter by customer ID.
|
|
580
|
+
*/
|
|
581
|
+
customer_id?: FlakeId;
|
|
582
|
+
/**
|
|
583
|
+
* Filter by chargeback statuses.
|
|
584
|
+
*/
|
|
585
|
+
status?: Array<TrustChargebackStatus>;
|
|
586
|
+
/**
|
|
587
|
+
* Filter by chargeback stage.
|
|
588
|
+
*/
|
|
589
|
+
stage?: TrustChargebackStage;
|
|
590
|
+
};
|
|
547
591
|
export interface CheckForBanIDByIdentitiesRequestDto {
|
|
548
592
|
identities: Array<BanIdentityDto>;
|
|
549
593
|
}
|
|
@@ -2864,6 +2908,13 @@ export interface GetDistributionResponseDto_V2 {
|
|
|
2864
2908
|
revenue_basis: RevenueBasisDto_V2;
|
|
2865
2909
|
entries: Array<DistributionEntryDto_V2>;
|
|
2866
2910
|
}
|
|
2911
|
+
export interface GetMatrixResponseDto_V2 {
|
|
2912
|
+
matrix_type: MatrixTypeDto_V2;
|
|
2913
|
+
revenue_basis: RevenueBasisDto_V2;
|
|
2914
|
+
unit?: TimeSeriesUnitDto_V2;
|
|
2915
|
+
columns: Array<MatrixHeaderDto_V2>;
|
|
2916
|
+
rows: Array<MatrixRowDto_V2>;
|
|
2917
|
+
}
|
|
2867
2918
|
/**
|
|
2868
2919
|
* Represents a link to download a template's files as an archive.
|
|
2869
2920
|
*/
|
|
@@ -3583,6 +3634,30 @@ export type MarketingGetEmailTemplatesQuery = {
|
|
|
3583
3634
|
*/
|
|
3584
3635
|
asc?: boolean;
|
|
3585
3636
|
};
|
|
3637
|
+
export interface MatrixHeaderDto_V2 {
|
|
3638
|
+
key: string;
|
|
3639
|
+
/**
|
|
3640
|
+
* @format date-time
|
|
3641
|
+
*/
|
|
3642
|
+
interval_start?: string | null;
|
|
3643
|
+
/**
|
|
3644
|
+
* @format date-time
|
|
3645
|
+
*/
|
|
3646
|
+
interval_end?: string | null;
|
|
3647
|
+
}
|
|
3648
|
+
export interface MatrixRowDto_V2 {
|
|
3649
|
+
header: MatrixHeaderDto_V2;
|
|
3650
|
+
total: MatrixValueDto_V2;
|
|
3651
|
+
cells: Array<MatrixValueDto_V2>;
|
|
3652
|
+
}
|
|
3653
|
+
export type MatrixTypeDto_V2 = "unspecified" | "customer_purchase_retention";
|
|
3654
|
+
export interface MatrixValueDto_V2 {
|
|
3655
|
+
/**
|
|
3656
|
+
* @format int64
|
|
3657
|
+
*/
|
|
3658
|
+
count: number;
|
|
3659
|
+
earnings?: MoneyDto_V2;
|
|
3660
|
+
}
|
|
3586
3661
|
/**
|
|
3587
3662
|
* Represents an image or video uploaded to a store's media.
|
|
3588
3663
|
*/
|
|
@@ -6311,7 +6386,7 @@ export interface StartDownloadableFileUploadResponseDto {
|
|
|
6311
6386
|
downloadable_file_id: FlakeId;
|
|
6312
6387
|
upload_signed_url: string;
|
|
6313
6388
|
}
|
|
6314
|
-
export type StatsDimensionTypeDto_V2 = "unspecified" | "product" | "gameserver" | "tag" | "affiliate_link" | "coupon" | "giftcard" | "payout_id" | "billing_email" | "sale";
|
|
6389
|
+
export type StatsDimensionTypeDto_V2 = "unspecified" | "product" | "gameserver" | "tag" | "affiliate_link" | "coupon" | "giftcard" | "payout_id" | "billing_email" | "sale" | "country";
|
|
6315
6390
|
export type StatsDistributionTypeDto_V2 = "unspecified" | "order_country" | "payment_method" | "payment_acceptance" | "customer_lifecycle";
|
|
6316
6391
|
/**
|
|
6317
6392
|
* A 64-bit Steam account identifier. Accepts string or numeric format.
|
|
@@ -6437,6 +6512,57 @@ export interface StoreBillingStatusDto {
|
|
|
6437
6512
|
subscription?: StoreSubscriptionDto;
|
|
6438
6513
|
payment_method?: PaymentMethodDto;
|
|
6439
6514
|
}
|
|
6515
|
+
/**
|
|
6516
|
+
* Represents a chargeback or pre-chargeback inquiry raised against a payment.
|
|
6517
|
+
*/
|
|
6518
|
+
export interface StoreChargebackDto {
|
|
6519
|
+
id: FlakeId;
|
|
6520
|
+
store_id: FlakeId;
|
|
6521
|
+
order_id: FlakeId;
|
|
6522
|
+
payment_id: FlakeId;
|
|
6523
|
+
customer_id: FlakeId;
|
|
6524
|
+
status: TrustChargebackStatus;
|
|
6525
|
+
reason: TrustChargebackReason;
|
|
6526
|
+
stage: TrustChargebackStage;
|
|
6527
|
+
network_case_type: TrustChargebackNetworkCaseType;
|
|
6528
|
+
/**
|
|
6529
|
+
* The card network's reason code for the chargeback, if available.
|
|
6530
|
+
*/
|
|
6531
|
+
network_reason_code?: string | null;
|
|
6532
|
+
/**
|
|
6533
|
+
* The disputed amount, in the smallest currency unit.
|
|
6534
|
+
* @format int64
|
|
6535
|
+
*/
|
|
6536
|
+
disputed_amount: number;
|
|
6537
|
+
/**
|
|
6538
|
+
* The three-letter ISO currency code of 'disputed_amount', in lowercase.
|
|
6539
|
+
*/
|
|
6540
|
+
currency: string;
|
|
6541
|
+
/**
|
|
6542
|
+
* Whether the payment can still be refunded.
|
|
6543
|
+
*/
|
|
6544
|
+
is_refundable: boolean;
|
|
6545
|
+
/**
|
|
6546
|
+
* The date and time the chargeback was opened.
|
|
6547
|
+
* @format date-time
|
|
6548
|
+
*/
|
|
6549
|
+
created_at: string;
|
|
6550
|
+
/**
|
|
6551
|
+
* The date and time the inquiry escalated to a claim, if it did.
|
|
6552
|
+
* @format date-time
|
|
6553
|
+
*/
|
|
6554
|
+
escalated_at?: string | null;
|
|
6555
|
+
/**
|
|
6556
|
+
* The date and time by which a response must be submitted, if one is required.
|
|
6557
|
+
* @format date-time
|
|
6558
|
+
*/
|
|
6559
|
+
response_deadline_at?: string | null;
|
|
6560
|
+
/**
|
|
6561
|
+
* The date and time the chargeback was closed, if it is closed.
|
|
6562
|
+
* @format date-time
|
|
6563
|
+
*/
|
|
6564
|
+
closed_at?: string | null;
|
|
6565
|
+
}
|
|
6440
6566
|
/**
|
|
6441
6567
|
* Query parameters
|
|
6442
6568
|
*/
|
|
@@ -8185,6 +8311,14 @@ export interface SubscriptionsSummaryForRangeDto_V2 {
|
|
|
8185
8311
|
* @format int64
|
|
8186
8312
|
*/
|
|
8187
8313
|
churned_subscription_count: number;
|
|
8314
|
+
/**
|
|
8315
|
+
* @format int64
|
|
8316
|
+
*/
|
|
8317
|
+
renewal_due_count: number;
|
|
8318
|
+
/**
|
|
8319
|
+
* @format int64
|
|
8320
|
+
*/
|
|
8321
|
+
renewal_paid_count: number;
|
|
8188
8322
|
}
|
|
8189
8323
|
/**
|
|
8190
8324
|
* Represents the current state of a subscription.
|
|
@@ -8541,6 +8675,47 @@ export interface TrialsSummaryForRangeDto_V2 {
|
|
|
8541
8675
|
* - `completed`: The trial has been completed.
|
|
8542
8676
|
*/
|
|
8543
8677
|
export type TrialStatusDto = "created" | "active" | "canceled" | "completed";
|
|
8678
|
+
/**
|
|
8679
|
+
* Specifies the type of case the card network opened for the chargeback.
|
|
8680
|
+
* - `unspecified`: No card network case type is available, for example for PayPal disputes.
|
|
8681
|
+
* - `chargeback`: A formal chargeback where the disputed funds are withdrawn.
|
|
8682
|
+
* - `inquiry`: A pre-chargeback inquiry from the issuer.
|
|
8683
|
+
* - `compliance`: A network compliance case filed outside the regular dispute process.
|
|
8684
|
+
* - `block`: The network blocked the dispute before it became a chargeback. No funds move.
|
|
8685
|
+
* - `resolution`: The dispute was resolved by automatically refunding the customer.
|
|
8686
|
+
*/
|
|
8687
|
+
export type TrustChargebackNetworkCaseType = "unspecified" | "chargeback" | "inquiry" | "compliance" | "block" | "resolution";
|
|
8688
|
+
/**
|
|
8689
|
+
* Specifies the reason the customer gave for the chargeback.
|
|
8690
|
+
* - `invalid`: The reason is unknown.
|
|
8691
|
+
* - `product_not_received`: The customer says the product or service was not received.
|
|
8692
|
+
* - `product_not_as_described`: The customer says the product or service was not as described.
|
|
8693
|
+
* - `unauthorized`: The customer says they did not authorize the payment.
|
|
8694
|
+
* - `credit_not_processed`: The customer says a promised refund or credit was not processed.
|
|
8695
|
+
* - `duplicate_charge`: The customer says they were charged more than once.
|
|
8696
|
+
* - `incorrect_amount`: The customer says they were charged the wrong amount.
|
|
8697
|
+
* - `subscription_canceled`: The customer says they were charged after canceling a subscription.
|
|
8698
|
+
* - `general`: Any other reason.
|
|
8699
|
+
*/
|
|
8700
|
+
export type TrustChargebackReason = "invalid" | "product_not_received" | "product_not_as_described" | "unauthorized" | "credit_not_processed" | "duplicate_charge" | "incorrect_amount" | "subscription_canceled" | "general";
|
|
8701
|
+
/**
|
|
8702
|
+
* Specifies the stage of a chargeback.
|
|
8703
|
+
* - `invalid`: The stage is unknown.
|
|
8704
|
+
* - `inquiry`: A pre-chargeback inquiry. No funds are withdrawn yet, and a refund may resolve it.
|
|
8705
|
+
* - `claim`: A formal claim where the disputed funds are at stake.
|
|
8706
|
+
*/
|
|
8707
|
+
export type TrustChargebackStage = "invalid" | "inquiry" | "claim";
|
|
8708
|
+
/**
|
|
8709
|
+
* Specifies the status of a chargeback.
|
|
8710
|
+
* - `invalid`: The status is unknown.
|
|
8711
|
+
* - `needs_response`: The chargeback is open and awaiting a response.
|
|
8712
|
+
* - `under_review`: A response was submitted and the chargeback is being reviewed.
|
|
8713
|
+
* - `won`: The chargeback was resolved in the store's favor.
|
|
8714
|
+
* - `lost`: The chargeback was resolved in the customer's favor.
|
|
8715
|
+
* - `closed`: The inquiry was closed without escalating to a chargeback.
|
|
8716
|
+
* - `prevented`: The chargeback was prevented before it was filed, see 'network_case_type' for how.
|
|
8717
|
+
*/
|
|
8718
|
+
export type TrustChargebackStatus = "invalid" | "needs_response" | "under_review" | "won" | "lost" | "closed" | "prevented";
|
|
8544
8719
|
export interface TrustStoreRequirementDto {
|
|
8545
8720
|
id: FlakeId;
|
|
8546
8721
|
store_id: FlakeId;
|