@paynow-gg/typescript-sdk 2.1.22 → 2.1.23
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 +8 -1
- package/dist/cjs/generated/management/client.d.ts.map +1 -1
- package/dist/cjs/generated/management/client.js +12 -0
- package/dist/cjs/generated/management/client.js.map +1 -1
- package/dist/cjs/generated/management/types.d.ts +170 -2
- package/dist/cjs/generated/management/types.d.ts.map +1 -1
- package/dist/esm/generated/management/client.d.ts +8 -1
- package/dist/esm/generated/management/client.d.ts.map +1 -1
- package/dist/esm/generated/management/client.js +12 -0
- package/dist/esm/generated/management/client.js.map +1 -1
- package/dist/esm/generated/management/types.d.ts +170 -2
- package/dist/esm/generated/management/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -422,6 +422,26 @@ export type BansGetBansQuery = {
|
|
|
422
422
|
asc?: boolean;
|
|
423
423
|
};
|
|
424
424
|
export type BanType = "unknown" | "steam" | "ip" | "customer" | "customer_name" | "email";
|
|
425
|
+
/**
|
|
426
|
+
* Bizum payment method details
|
|
427
|
+
*/
|
|
428
|
+
export interface BizumDetailsDto {
|
|
429
|
+
/**
|
|
430
|
+
* The buyer identifier assigned by the local payment processor
|
|
431
|
+
* @example "buyer_abc123"
|
|
432
|
+
*/
|
|
433
|
+
buyer_id?: string | null;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* BLIK payment method details
|
|
437
|
+
*/
|
|
438
|
+
export interface BlikDetailsDto {
|
|
439
|
+
/**
|
|
440
|
+
* The buyer identifier assigned by BLIK
|
|
441
|
+
* @example "buyer_abc123"
|
|
442
|
+
*/
|
|
443
|
+
buyer_id?: string | null;
|
|
444
|
+
}
|
|
425
445
|
export interface CancelSubscriptionRequestDto {
|
|
426
446
|
/**
|
|
427
447
|
* Should the subscription be cancelled immediately (false) or on the next billing period (true)?
|
|
@@ -500,6 +520,26 @@ export interface CardDetailsDto {
|
|
|
500
520
|
*/
|
|
501
521
|
payment_account_reference?: string | null;
|
|
502
522
|
wallet?: CardWalletDto;
|
|
523
|
+
/**
|
|
524
|
+
* The brand to display for the card, which differs from 'brand' for co-branded cards
|
|
525
|
+
* @example "cartes_bancaires"
|
|
526
|
+
*/
|
|
527
|
+
display_brand?: string | null;
|
|
528
|
+
networks?: CardNetworksDto;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Card networks the card can be processed on
|
|
532
|
+
*/
|
|
533
|
+
export interface CardNetworksDto {
|
|
534
|
+
/**
|
|
535
|
+
* The networks the card can be processed on
|
|
536
|
+
*/
|
|
537
|
+
available: Array<string>;
|
|
538
|
+
/**
|
|
539
|
+
* The network the customer chose to process the card on
|
|
540
|
+
* @example "cartes_bancaires"
|
|
541
|
+
*/
|
|
542
|
+
preferred?: string | null;
|
|
503
543
|
}
|
|
504
544
|
/**
|
|
505
545
|
* Digital wallet details for a card
|
|
@@ -510,6 +550,11 @@ export interface CardWalletDto {
|
|
|
510
550
|
* @example "apple_pay"
|
|
511
551
|
*/
|
|
512
552
|
type: string;
|
|
553
|
+
/**
|
|
554
|
+
* The last 4 digits of the device account number, for tokenized cards
|
|
555
|
+
* @example 9876
|
|
556
|
+
*/
|
|
557
|
+
dynamic_last4?: string | null;
|
|
513
558
|
}
|
|
514
559
|
/**
|
|
515
560
|
* Cash App payment method details
|
|
@@ -2731,7 +2776,22 @@ export interface EmailTemplateResult {
|
|
|
2731
2776
|
email_template?: EmailTemplateDto;
|
|
2732
2777
|
}
|
|
2733
2778
|
export type EmailTemplateStateDto = "unspecified" | "inactive" | "activating" | "active";
|
|
2734
|
-
export type EmailTemplateTypeDto = "unspecified" | "layout" | "password_reset" | "email_verification" | "email_change" | "email_changed_notification" | "forgot_password" | "logged_in_new_location" | "welcome_login" | "order_completed" | "refund_initiated" | "subscription_canceled" | "subscription_renewal_failed" | "subscription_price_changed" | "subscription_change_verification_code" | "subscription_renewal_upcoming" | "subscription_manage_login" | "subscription_manage_no_history" | "payout_created" | "payout_completed" | "store_invite" | "store_lock_changed" | "abandoned_checkout_recovery_attempt" | "purchase_follow_up_attempt" | "downloadable_file_granted" | "discord_invite_link" | "gift_card_created" | "trial_ending_soon" | "invoice_generated" | "payment_method_type_approval" | "store_trust_event" | "data_subject_request_export_completed";
|
|
2779
|
+
export type EmailTemplateTypeDto = "unspecified" | "layout" | "password_reset" | "email_verification" | "email_change" | "email_changed_notification" | "forgot_password" | "logged_in_new_location" | "welcome_login" | "order_completed" | "refund_initiated" | "subscription_canceled" | "subscription_renewal_failed" | "subscription_price_changed" | "subscription_change_verification_code" | "subscription_renewal_upcoming" | "subscription_manage_login" | "subscription_manage_no_history" | "payout_created" | "payout_completed" | "store_invite" | "store_lock_changed" | "abandoned_checkout_recovery_attempt" | "purchase_follow_up_attempt" | "downloadable_file_granted" | "discord_invite_link" | "gift_card_created" | "trial_ending_soon" | "invoice_generated" | "payment_method_type_approval" | "store_trust_event" | "data_subject_request_export_completed" | "fast_checkout_deletion" | "fast_checkout_payment_method_created" | "fast_checkout_owner_device_verified";
|
|
2780
|
+
/**
|
|
2781
|
+
* EPS payment method details
|
|
2782
|
+
*/
|
|
2783
|
+
export interface EpsDetailsDto {
|
|
2784
|
+
/**
|
|
2785
|
+
* The bank of the customer
|
|
2786
|
+
* @example "erste_bank_und_sparkassen"
|
|
2787
|
+
*/
|
|
2788
|
+
bank?: string | null;
|
|
2789
|
+
/**
|
|
2790
|
+
* The verified name of the account owner
|
|
2791
|
+
* @example "John Doe"
|
|
2792
|
+
*/
|
|
2793
|
+
payer_name?: string | null;
|
|
2794
|
+
}
|
|
2735
2795
|
export interface ExecutedWebhookDto {
|
|
2736
2796
|
id: FlakeId;
|
|
2737
2797
|
/**
|
|
@@ -3445,6 +3505,16 @@ export type InvoicesListInvoicesQuery = {
|
|
|
3445
3505
|
};
|
|
3446
3506
|
export type InvoiceStatusDto = "invalid" | "pending" | "generated" | "failed";
|
|
3447
3507
|
export type InvoiceTypeDto = "invalid" | "invoice" | "credit_note";
|
|
3508
|
+
/**
|
|
3509
|
+
* Kakao Pay payment method details
|
|
3510
|
+
*/
|
|
3511
|
+
export interface KakaoPayDetailsDto {
|
|
3512
|
+
/**
|
|
3513
|
+
* The buyer identifier assigned by the local payment processor
|
|
3514
|
+
* @example "buyer_abc123"
|
|
3515
|
+
*/
|
|
3516
|
+
buyer_id?: string | null;
|
|
3517
|
+
}
|
|
3448
3518
|
/**
|
|
3449
3519
|
* Klarna payment method details
|
|
3450
3520
|
*/
|
|
@@ -3460,6 +3530,26 @@ export interface KlarnaDetailsDto {
|
|
|
3460
3530
|
*/
|
|
3461
3531
|
method_category?: string | null;
|
|
3462
3532
|
}
|
|
3533
|
+
/**
|
|
3534
|
+
* Korean card payment method details
|
|
3535
|
+
*/
|
|
3536
|
+
export interface KrCardDetailsDto {
|
|
3537
|
+
/**
|
|
3538
|
+
* The local card brand
|
|
3539
|
+
* @example "shinhan"
|
|
3540
|
+
*/
|
|
3541
|
+
brand?: string | null;
|
|
3542
|
+
/**
|
|
3543
|
+
* The last 4 digits of the card number
|
|
3544
|
+
* @example 4242
|
|
3545
|
+
*/
|
|
3546
|
+
last4?: string | null;
|
|
3547
|
+
/**
|
|
3548
|
+
* The buyer identifier assigned by the local payment processor
|
|
3549
|
+
* @example "buyer_abc123"
|
|
3550
|
+
*/
|
|
3551
|
+
buyer_id?: string | null;
|
|
3552
|
+
}
|
|
3463
3553
|
/**
|
|
3464
3554
|
* The last payment decline object.
|
|
3465
3555
|
*/
|
|
@@ -3514,6 +3604,11 @@ export interface LinkDetailsDto {
|
|
|
3514
3604
|
* @example "john.doe@example.com"
|
|
3515
3605
|
*/
|
|
3516
3606
|
email: string;
|
|
3607
|
+
/**
|
|
3608
|
+
* The country code of the funding source behind the Link payment
|
|
3609
|
+
* @example "US"
|
|
3610
|
+
*/
|
|
3611
|
+
country?: string | null;
|
|
3517
3612
|
}
|
|
3518
3613
|
/**
|
|
3519
3614
|
* Represents the configuration settings for a coupon applied to marketing features.
|
|
@@ -3735,6 +3830,16 @@ export interface MoneyDto_V2 {
|
|
|
3735
3830
|
*/
|
|
3736
3831
|
amount_minor_units: number;
|
|
3737
3832
|
}
|
|
3833
|
+
/**
|
|
3834
|
+
* Naver Pay payment method details
|
|
3835
|
+
*/
|
|
3836
|
+
export interface NaverPayDetailsDto {
|
|
3837
|
+
/**
|
|
3838
|
+
* The buyer identifier assigned by the local payment processor
|
|
3839
|
+
* @example "buyer_abc123"
|
|
3840
|
+
*/
|
|
3841
|
+
buyer_id?: string | null;
|
|
3842
|
+
}
|
|
3738
3843
|
/**
|
|
3739
3844
|
* Represents a link in the storefront's navigation. Each link points at a tag, and links nest under
|
|
3740
3845
|
* one another through 'parent_node_id' to form the navigation tree.
|
|
@@ -4397,6 +4502,16 @@ export interface PayByBankDetailsDto {
|
|
|
4397
4502
|
*/
|
|
4398
4503
|
payer_name?: string | null;
|
|
4399
4504
|
}
|
|
4505
|
+
/**
|
|
4506
|
+
* Payco payment method details
|
|
4507
|
+
*/
|
|
4508
|
+
export interface PaycoDetailsDto {
|
|
4509
|
+
/**
|
|
4510
|
+
* The buyer identifier assigned by the local payment processor
|
|
4511
|
+
* @example "buyer_abc123"
|
|
4512
|
+
*/
|
|
4513
|
+
buyer_id?: string | null;
|
|
4514
|
+
}
|
|
4400
4515
|
export interface PaymentAcceptanceDistributionDataDto {
|
|
4401
4516
|
/**
|
|
4402
4517
|
* @format int64
|
|
@@ -4628,6 +4743,16 @@ export interface PaymentMethodDetailsDto {
|
|
|
4628
4743
|
pay_by_bank?: PayByBankDetailsDto;
|
|
4629
4744
|
pix?: PixDetailsDto;
|
|
4630
4745
|
paysafecard?: PaysafeCardDetailsDto;
|
|
4746
|
+
kr_card?: KrCardDetailsDto;
|
|
4747
|
+
kakao_pay?: KakaoPayDetailsDto;
|
|
4748
|
+
naver_pay?: NaverPayDetailsDto;
|
|
4749
|
+
samsung_pay?: SamsungPayDetailsDto;
|
|
4750
|
+
payco?: PaycoDetailsDto;
|
|
4751
|
+
bizum?: BizumDetailsDto;
|
|
4752
|
+
blik?: BlikDetailsDto;
|
|
4753
|
+
swish?: SwishDetailsDto;
|
|
4754
|
+
upi?: UpiDetailsDto;
|
|
4755
|
+
eps?: EpsDetailsDto;
|
|
4631
4756
|
}
|
|
4632
4757
|
export interface PaymentMethodDistributionDataDto {
|
|
4633
4758
|
/**
|
|
@@ -4645,7 +4770,6 @@ export interface PaymentMethodDistributionDto {
|
|
|
4645
4770
|
*/
|
|
4646
4771
|
export interface PaymentMethodDto {
|
|
4647
4772
|
id: FlakeId;
|
|
4648
|
-
customer_id: FlakeId;
|
|
4649
4773
|
/**
|
|
4650
4774
|
* The payment gateway provider
|
|
4651
4775
|
*/
|
|
@@ -6208,6 +6332,16 @@ export interface SalesTaxJurisdictionTaxDto {
|
|
|
6208
6332
|
*/
|
|
6209
6333
|
tax_rate: string;
|
|
6210
6334
|
}
|
|
6335
|
+
/**
|
|
6336
|
+
* Samsung Pay payment method details
|
|
6337
|
+
*/
|
|
6338
|
+
export interface SamsungPayDetailsDto {
|
|
6339
|
+
/**
|
|
6340
|
+
* The buyer identifier assigned by the local payment processor
|
|
6341
|
+
* @example "buyer_abc123"
|
|
6342
|
+
*/
|
|
6343
|
+
buyer_id?: string | null;
|
|
6344
|
+
}
|
|
6211
6345
|
export interface SearchDashboardResponseDto {
|
|
6212
6346
|
stores: Array<StoreResult>;
|
|
6213
6347
|
customers: Array<CustomerResult>;
|
|
@@ -6342,6 +6476,15 @@ export interface SetDiscordActionDto {
|
|
|
6342
6476
|
role_id?: FlakeId;
|
|
6343
6477
|
message?: string | null;
|
|
6344
6478
|
}
|
|
6479
|
+
/**
|
|
6480
|
+
* Represents a request to enable or disable a store's hosted webstore.
|
|
6481
|
+
*/
|
|
6482
|
+
export interface SetWebstoreActiveRequestDto {
|
|
6483
|
+
/**
|
|
6484
|
+
* Whether the hosted webstore is served to customers. A disabled webstore shows a not-active page.
|
|
6485
|
+
*/
|
|
6486
|
+
is_active: boolean;
|
|
6487
|
+
}
|
|
6345
6488
|
/**
|
|
6346
6489
|
* Represents a request to attach a custom domain to a webstore.
|
|
6347
6490
|
*/
|
|
@@ -8327,6 +8470,21 @@ export interface SubscriptionsSummaryForRangeDto_V2 {
|
|
|
8327
8470
|
* - `canceled`: The subscription has been canceled and will no longer renew.
|
|
8328
8471
|
*/
|
|
8329
8472
|
export type SubscriptionStatusDto = "invalid" | "created" | "active" | "canceled";
|
|
8473
|
+
/**
|
|
8474
|
+
* Swish payment method details
|
|
8475
|
+
*/
|
|
8476
|
+
export interface SwishDetailsDto {
|
|
8477
|
+
/**
|
|
8478
|
+
* A unique fingerprint for this Swish account
|
|
8479
|
+
* @example "fingerprint_xyz789"
|
|
8480
|
+
*/
|
|
8481
|
+
fingerprint?: string | null;
|
|
8482
|
+
/**
|
|
8483
|
+
* The last 4 digits of the phone number of the Swish account
|
|
8484
|
+
* @example 6789
|
|
8485
|
+
*/
|
|
8486
|
+
verified_phone_last4?: string | null;
|
|
8487
|
+
}
|
|
8330
8488
|
export interface TagDto {
|
|
8331
8489
|
id: FlakeId;
|
|
8332
8490
|
store_id: FlakeId;
|
|
@@ -9395,6 +9553,16 @@ export interface UpdateWebstoreTemplateVariableDto {
|
|
|
9395
9553
|
*/
|
|
9396
9554
|
value?: string;
|
|
9397
9555
|
}
|
|
9556
|
+
/**
|
|
9557
|
+
* UPI payment method details
|
|
9558
|
+
*/
|
|
9559
|
+
export interface UpiDetailsDto {
|
|
9560
|
+
/**
|
|
9561
|
+
* The Virtual Payment Address of the customer
|
|
9562
|
+
* @example "johndoe@upi"
|
|
9563
|
+
*/
|
|
9564
|
+
vpa?: string | null;
|
|
9565
|
+
}
|
|
9398
9566
|
export type UpsellDiscountTypeDto = "unknown" | "none" | "fixed" | "percentage";
|
|
9399
9567
|
/**
|
|
9400
9568
|
* - `unknown`: Unknown upsell type.
|