@paynow-gg/typescript-sdk 1.0.40 → 1.0.42
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.
|
@@ -2310,6 +2310,7 @@ export interface components {
|
|
|
2310
2310
|
CreateProductDependentMigrationRequestDto: {
|
|
2311
2311
|
send_new_commands_to_all_servers: boolean;
|
|
2312
2312
|
send_all_commands_to_new_servers: boolean;
|
|
2313
|
+
target_types: components["schemas"]["ProductDependentMigrationTargetTypeDto"][];
|
|
2313
2314
|
};
|
|
2314
2315
|
CreateRefundRequestDto: {
|
|
2315
2316
|
order_line_id?: components["schemas"]["FlakeId"];
|
|
@@ -2336,6 +2337,7 @@ export interface components {
|
|
|
2336
2337
|
show_all_payment_methods_for_subscriptions: boolean;
|
|
2337
2338
|
store_tax_inclusive_pricing: boolean;
|
|
2338
2339
|
block_prepaid_cards: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
2340
|
+
adaptive_currency_enabled: boolean;
|
|
2339
2341
|
};
|
|
2340
2342
|
CreateTrialEligibilityOverrideDto: {
|
|
2341
2343
|
product_id: components["schemas"]["FlakeId"];
|
|
@@ -3218,6 +3220,66 @@ export interface components {
|
|
|
3218
3220
|
* @example $0.00
|
|
3219
3221
|
*/
|
|
3220
3222
|
giftcard_usage_amount_str: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* @description The presentment currency code used for this order (currency shown to customer)
|
|
3225
|
+
* @example eur
|
|
3226
|
+
*/
|
|
3227
|
+
presentment_currency: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* Format: int32
|
|
3230
|
+
* @description The presentment subtotal amount in smallest currency unit
|
|
3231
|
+
* @example 9995
|
|
3232
|
+
*/
|
|
3233
|
+
presentment_subtotal_amount: number;
|
|
3234
|
+
/**
|
|
3235
|
+
* @description The presentment subtotal amount formatted as a string
|
|
3236
|
+
* @example €99.95
|
|
3237
|
+
*/
|
|
3238
|
+
readonly presentment_subtotal_amount_str: string;
|
|
3239
|
+
/**
|
|
3240
|
+
* Format: int32
|
|
3241
|
+
* @description The presentment discount amount in smallest currency unit
|
|
3242
|
+
* @example 500
|
|
3243
|
+
*/
|
|
3244
|
+
presentment_discount_amount: number;
|
|
3245
|
+
/**
|
|
3246
|
+
* @description The presentment discount amount formatted as a string
|
|
3247
|
+
* @example €5.00
|
|
3248
|
+
*/
|
|
3249
|
+
readonly presentment_discount_amount_str: string;
|
|
3250
|
+
/**
|
|
3251
|
+
* Format: int32
|
|
3252
|
+
* @description The presentment gift card usage amount in smallest currency unit
|
|
3253
|
+
* @example 0
|
|
3254
|
+
*/
|
|
3255
|
+
presentment_giftcard_usage_amount: number;
|
|
3256
|
+
/**
|
|
3257
|
+
* @description The presentment gift card usage amount formatted as a string
|
|
3258
|
+
* @example €0.00
|
|
3259
|
+
*/
|
|
3260
|
+
readonly presentment_giftcard_usage_amount_str: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Format: int32
|
|
3263
|
+
* @description The presentment tax amount in smallest currency unit
|
|
3264
|
+
* @example 999
|
|
3265
|
+
*/
|
|
3266
|
+
presentment_tax_amount: number;
|
|
3267
|
+
/**
|
|
3268
|
+
* @description The presentment tax amount formatted as a string
|
|
3269
|
+
* @example €9.99
|
|
3270
|
+
*/
|
|
3271
|
+
readonly presentment_tax_amount_str: string;
|
|
3272
|
+
/**
|
|
3273
|
+
* Format: int32
|
|
3274
|
+
* @description The presentment total amount in smallest currency unit
|
|
3275
|
+
* @example 10494
|
|
3276
|
+
*/
|
|
3277
|
+
presentment_total_amount: number;
|
|
3278
|
+
/**
|
|
3279
|
+
* @description The presentment total amount formatted as a string
|
|
3280
|
+
* @example €104.94
|
|
3281
|
+
*/
|
|
3282
|
+
readonly presentment_total_amount_str: string;
|
|
3221
3283
|
/**
|
|
3222
3284
|
* Format: date-time
|
|
3223
3285
|
* @description The date and time when this order was created
|
|
@@ -3343,6 +3405,61 @@ export interface components {
|
|
|
3343
3405
|
* @example $21.99
|
|
3344
3406
|
*/
|
|
3345
3407
|
total_amount_str: string;
|
|
3408
|
+
/**
|
|
3409
|
+
* Format: int32
|
|
3410
|
+
* @description The presentment subtotal amount for this order line
|
|
3411
|
+
* @example 1999
|
|
3412
|
+
*/
|
|
3413
|
+
presentment_subtotal_amount: number;
|
|
3414
|
+
/**
|
|
3415
|
+
* @description The presentment subtotal amount formatted as a string
|
|
3416
|
+
* @example €19.99
|
|
3417
|
+
*/
|
|
3418
|
+
readonly presentment_subtotal_amount_str: string;
|
|
3419
|
+
/**
|
|
3420
|
+
* Format: int32
|
|
3421
|
+
* @description The presentment discount amount for this order line
|
|
3422
|
+
* @example 0
|
|
3423
|
+
*/
|
|
3424
|
+
presentment_discount_amount: number;
|
|
3425
|
+
/**
|
|
3426
|
+
* @description The presentment discount amount formatted as a string
|
|
3427
|
+
* @example €0.00
|
|
3428
|
+
*/
|
|
3429
|
+
readonly presentment_discount_amount_str: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* Format: int32
|
|
3432
|
+
* @description The presentment tax amount for this order line
|
|
3433
|
+
* @example 200
|
|
3434
|
+
*/
|
|
3435
|
+
presentment_tax_amount: number;
|
|
3436
|
+
/**
|
|
3437
|
+
* @description The presentment tax amount formatted as a string
|
|
3438
|
+
* @example €2.00
|
|
3439
|
+
*/
|
|
3440
|
+
readonly presentment_tax_amount_str: string;
|
|
3441
|
+
/**
|
|
3442
|
+
* Format: int32
|
|
3443
|
+
* @description The presentment gift card usage amount for this order line
|
|
3444
|
+
* @example 0
|
|
3445
|
+
*/
|
|
3446
|
+
presentment_giftcard_usage_amount: number;
|
|
3447
|
+
/**
|
|
3448
|
+
* @description The presentment gift card usage amount formatted as a string
|
|
3449
|
+
* @example €0.00
|
|
3450
|
+
*/
|
|
3451
|
+
readonly presentment_giftcard_usage_amount_str: string;
|
|
3452
|
+
/**
|
|
3453
|
+
* Format: int32
|
|
3454
|
+
* @description The presentment total amount for this order line
|
|
3455
|
+
* @example 2199
|
|
3456
|
+
*/
|
|
3457
|
+
presentment_total_amount: number;
|
|
3458
|
+
/**
|
|
3459
|
+
* @description The presentment total amount formatted as a string
|
|
3460
|
+
* @example €21.99
|
|
3461
|
+
*/
|
|
3462
|
+
readonly presentment_total_amount_str: string;
|
|
3346
3463
|
selected_gameserver_id?: components["schemas"]["FlakeId"];
|
|
3347
3464
|
/**
|
|
3348
3465
|
* @description Indicates whether tax is included in the base price, or added on top
|
|
@@ -3879,7 +3996,7 @@ export interface components {
|
|
|
3879
3996
|
versions: components["schemas"]["ProductDependentMigrationTargetVersionDto"][];
|
|
3880
3997
|
};
|
|
3881
3998
|
/** @enum {string} */
|
|
3882
|
-
ProductDependentMigrationTargetTypeDto: "invalid" | "active_subscriptions" | "active_unused_delivery_items";
|
|
3999
|
+
ProductDependentMigrationTargetTypeDto: "invalid" | "active_subscriptions" | "active_unused_delivery_items" | "non_expirable_delivery_items";
|
|
3883
4000
|
ProductDependentMigrationTargetVersionDto: {
|
|
3884
4001
|
old_product_version_id: components["schemas"]["FlakeId"];
|
|
3885
4002
|
/** Format: date-time */
|
|
@@ -4552,6 +4669,8 @@ export interface components {
|
|
|
4552
4669
|
/** @description Whether store pricing is tax-inclusive. */
|
|
4553
4670
|
store_tax_inclusive_pricing: boolean;
|
|
4554
4671
|
block_prepaid_cards: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
4672
|
+
/** @description Whether the 'Adaptive Currency' feature is enabled. */
|
|
4673
|
+
adaptive_currency_enabled: boolean;
|
|
4555
4674
|
/**
|
|
4556
4675
|
* Format: int64
|
|
4557
4676
|
* @description Maximum checkout amount allowed in cents.
|
|
@@ -4703,6 +4822,73 @@ export interface components {
|
|
|
4703
4822
|
initial_total_amount: number;
|
|
4704
4823
|
/** @description Formatted string representation of the initial total amount. */
|
|
4705
4824
|
initial_total_amount_str: string;
|
|
4825
|
+
/** @description Presentment currency code (currency shown to customer). */
|
|
4826
|
+
presentment_currency?: null | string;
|
|
4827
|
+
/**
|
|
4828
|
+
* Format: int64
|
|
4829
|
+
* @description Presentment subtotal amount in smallest currency units.
|
|
4830
|
+
*/
|
|
4831
|
+
presentment_subtotal_amount?: null | number;
|
|
4832
|
+
/** @description Formatted string representation of the presentment subtotal amount. */
|
|
4833
|
+
readonly presentment_subtotal_amount_str?: null | string;
|
|
4834
|
+
/**
|
|
4835
|
+
* Format: int64
|
|
4836
|
+
* @description Presentment discount amount in smallest currency units.
|
|
4837
|
+
*/
|
|
4838
|
+
presentment_discount_amount?: null | number;
|
|
4839
|
+
/** @description Formatted string representation of the presentment discount amount. */
|
|
4840
|
+
readonly presentment_discount_amount_str?: null | string;
|
|
4841
|
+
/**
|
|
4842
|
+
* Format: int64
|
|
4843
|
+
* @description Presentment tax amount in smallest currency units.
|
|
4844
|
+
*/
|
|
4845
|
+
presentment_tax_amount?: null | number;
|
|
4846
|
+
/** @description Formatted string representation of the presentment tax amount. */
|
|
4847
|
+
readonly presentment_tax_amount_str?: null | string;
|
|
4848
|
+
/**
|
|
4849
|
+
* Format: int64
|
|
4850
|
+
* @description Presentment total amount in smallest currency units.
|
|
4851
|
+
*/
|
|
4852
|
+
presentment_total_amount?: null | number;
|
|
4853
|
+
/** @description Formatted string representation of the presentment total amount. */
|
|
4854
|
+
readonly presentment_total_amount_str?: null | string;
|
|
4855
|
+
/**
|
|
4856
|
+
* Format: int64
|
|
4857
|
+
* @description Initial presentment discount amount in smallest currency units for the first billing cycle.
|
|
4858
|
+
*/
|
|
4859
|
+
initial_presentment_discount_amount?: null | number;
|
|
4860
|
+
/** @description Formatted string representation of the initial presentment discount amount. */
|
|
4861
|
+
readonly initial_presentment_discount_amount_str?: null | string;
|
|
4862
|
+
/**
|
|
4863
|
+
* Format: int64
|
|
4864
|
+
* @description Initial presentment subtotal amount in smallest currency units for the first billing cycle.
|
|
4865
|
+
*/
|
|
4866
|
+
initial_presentment_subtotal_amount?: null | number;
|
|
4867
|
+
/** @description Formatted string representation of the initial presentment subtotal amount. */
|
|
4868
|
+
readonly initial_presentment_subtotal_amount_str?: null | string;
|
|
4869
|
+
/**
|
|
4870
|
+
* Format: int64
|
|
4871
|
+
* @description Initial presentment gift card usage amount in smallest currency units.
|
|
4872
|
+
*/
|
|
4873
|
+
initial_presentment_giftcard_usage_amount?: null | number;
|
|
4874
|
+
/** @description Formatted string representation of the initial presentment gift card usage amount. */
|
|
4875
|
+
readonly initial_presentment_giftcard_usage_amount_str?: null | string;
|
|
4876
|
+
/**
|
|
4877
|
+
* Format: int64
|
|
4878
|
+
* @description Initial presentment tax amount in smallest currency units for the first billing cycle.
|
|
4879
|
+
*/
|
|
4880
|
+
initial_presentment_tax_amount?: null | number;
|
|
4881
|
+
/** @description Formatted string representation of the initial presentment tax amount. */
|
|
4882
|
+
readonly initial_presentment_tax_amount_str?: null | string;
|
|
4883
|
+
/**
|
|
4884
|
+
* Format: int64
|
|
4885
|
+
* @description Initial presentment total amount in smallest currency units for the first billing cycle.
|
|
4886
|
+
*/
|
|
4887
|
+
initial_presentment_total_amount?: null | number;
|
|
4888
|
+
/** @description Formatted string representation of the initial presentment total amount. */
|
|
4889
|
+
readonly initial_presentment_total_amount_str?: null | string;
|
|
4890
|
+
/** @description The foreign exchange rate applied (if presentment currency differs from settlement currency). */
|
|
4891
|
+
fx_rate?: null | string;
|
|
4706
4892
|
/** @description Identifier for the pricing region associated with this subscription. */
|
|
4707
4893
|
pricing_region_id?: null | string;
|
|
4708
4894
|
/**
|
|
@@ -5078,6 +5264,7 @@ export interface components {
|
|
|
5078
5264
|
show_all_payment_methods_for_subscriptions?: boolean;
|
|
5079
5265
|
store_tax_inclusive_pricing?: boolean;
|
|
5080
5266
|
block_prepaid_cards?: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
5267
|
+
adaptive_currency_enabled?: boolean;
|
|
5081
5268
|
};
|
|
5082
5269
|
UpdateTrialEligibilityOverrideDto: {
|
|
5083
5270
|
product_id?: components["schemas"]["FlakeId"];
|