@whop/sdk 0.0.35 → 0.0.37
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/CHANGELOG.md +65 -0
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/affiliates/affiliates.d.mts +20 -12
- package/resources/affiliates/affiliates.d.mts.map +1 -1
- package/resources/affiliates/affiliates.d.ts +20 -12
- package/resources/affiliates/affiliates.d.ts.map +1 -1
- package/resources/affiliates/affiliates.js.map +1 -1
- package/resources/affiliates/affiliates.mjs.map +1 -1
- package/resources/affiliates/overrides.d.mts +16 -8
- package/resources/affiliates/overrides.d.mts.map +1 -1
- package/resources/affiliates/overrides.d.ts +16 -8
- package/resources/affiliates/overrides.d.ts.map +1 -1
- package/resources/apps.d.mts +26 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +26 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/checkout-configurations.d.mts +70 -0
- package/resources/checkout-configurations.d.mts.map +1 -1
- package/resources/checkout-configurations.d.ts +70 -0
- package/resources/checkout-configurations.d.ts.map +1 -1
- package/resources/checkout-configurations.js.map +1 -1
- package/resources/checkout-configurations.mjs.map +1 -1
- package/resources/companies.d.mts +19 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +19 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +472 -329
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +472 -329
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +90 -2
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +90 -2
- package/resources/invoices.mjs.map +1 -1
- package/resources/memberships.d.mts +1 -1
- package/resources/memberships.d.mts.map +1 -1
- package/resources/memberships.d.ts +1 -1
- package/resources/memberships.d.ts.map +1 -1
- package/resources/payments.d.mts +21 -2
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +21 -2
- package/resources/payments.d.ts.map +1 -1
- package/resources/plans.d.mts +56 -1
- package/resources/plans.d.mts.map +1 -1
- package/resources/plans.d.ts +56 -1
- package/resources/plans.d.ts.map +1 -1
- package/resources/plans.js.map +1 -1
- package/resources/plans.mjs.map +1 -1
- package/resources/products.d.mts +2 -2
- package/resources/products.d.ts +2 -2
- package/resources/refunds.d.mts +1 -1
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +1 -1
- package/resources/refunds.d.ts.map +1 -1
- package/resources/shared.d.mts +54 -5
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +54 -5
- package/resources/shared.d.ts.map +1 -1
- package/resources/webhooks.d.mts +653 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +653 -3
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +28 -1
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/affiliates/affiliates.ts +20 -12
- package/src/resources/affiliates/overrides.ts +16 -8
- package/src/resources/apps.ts +31 -0
- package/src/resources/checkout-configurations.ts +82 -0
- package/src/resources/companies.ts +23 -0
- package/src/resources/index.ts +11 -0
- package/src/resources/invoices.ts +656 -366
- package/src/resources/memberships.ts +1 -1
- package/src/resources/payments.ts +31 -1
- package/src/resources/plans.ts +67 -0
- package/src/resources/products.ts +2 -2
- package/src/resources/refunds.ts +3 -1
- package/src/resources/shared.ts +64 -5
- package/src/resources/webhooks.ts +818 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -289,7 +289,7 @@ export interface MembershipListResponse {
|
|
|
289
289
|
* Custom key-value pairs for the membership (commonly used for software licensing,
|
|
290
290
|
* e.g., HWID). Max 50 keys, 500 chars per key, 5000 chars per value.
|
|
291
291
|
*/
|
|
292
|
-
metadata: { [key: string]: unknown };
|
|
292
|
+
metadata: { [key: string]: unknown } | null;
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* Whether recurring payment collection for this membership is temporarily paused
|
|
@@ -275,6 +275,7 @@ export type CardBrands =
|
|
|
275
275
|
| 'cabal'
|
|
276
276
|
| 'hipercard'
|
|
277
277
|
| 'jcblankapay'
|
|
278
|
+
| 'cmi'
|
|
278
279
|
| 'unknown';
|
|
279
280
|
|
|
280
281
|
/**
|
|
@@ -291,6 +292,7 @@ export type PaymentMethodTypes =
|
|
|
291
292
|
| 'apple_pay'
|
|
292
293
|
| 'au_becs_debit'
|
|
293
294
|
| 'bacs_debit'
|
|
295
|
+
| 'bancolombia'
|
|
294
296
|
| 'bancontact'
|
|
295
297
|
| 'billie'
|
|
296
298
|
| 'bizum'
|
|
@@ -301,11 +303,11 @@ export type PaymentMethodTypes =
|
|
|
301
303
|
| 'cashapp'
|
|
302
304
|
| 'claritypay'
|
|
303
305
|
| 'coinbase'
|
|
304
|
-
| 'coinflow'
|
|
305
306
|
| 'crypto'
|
|
306
307
|
| 'custom'
|
|
307
308
|
| 'customer_balance'
|
|
308
309
|
| 'demo_pay'
|
|
310
|
+
| 'efecty'
|
|
309
311
|
| 'eps'
|
|
310
312
|
| 'eu_bank_transfer'
|
|
311
313
|
| 'fpx'
|
|
@@ -324,10 +326,12 @@ export type PaymentMethodTypes =
|
|
|
324
326
|
| 'kriya'
|
|
325
327
|
| 'link'
|
|
326
328
|
| 'mb_way'
|
|
329
|
+
| 'mercado_pago'
|
|
327
330
|
| 'mobilepay'
|
|
328
331
|
| 'mondu'
|
|
329
332
|
| 'multibanco'
|
|
330
333
|
| 'naver_pay'
|
|
334
|
+
| 'nequi'
|
|
331
335
|
| 'netbanking'
|
|
332
336
|
| 'ng_bank'
|
|
333
337
|
| 'ng_bank_transfer'
|
|
@@ -338,6 +342,7 @@ export type PaymentMethodTypes =
|
|
|
338
342
|
| 'nz_bank_account'
|
|
339
343
|
| 'oxxo'
|
|
340
344
|
| 'p24'
|
|
345
|
+
| 'pse'
|
|
341
346
|
| 'pay_by_bank'
|
|
342
347
|
| 'payco'
|
|
343
348
|
| 'paynow'
|
|
@@ -360,6 +365,7 @@ export type PaymentMethodTypes =
|
|
|
360
365
|
| 'shopeepay'
|
|
361
366
|
| 'sofort'
|
|
362
367
|
| 'south_korea_market'
|
|
368
|
+
| 'spei'
|
|
363
369
|
| 'splitit'
|
|
364
370
|
| 'sunbit'
|
|
365
371
|
| 'swish'
|
|
@@ -371,6 +377,7 @@ export type PaymentMethodTypes =
|
|
|
371
377
|
| 'vipps'
|
|
372
378
|
| 'wechat_pay'
|
|
373
379
|
| 'zip'
|
|
380
|
+
| 'coinflow'
|
|
374
381
|
| 'unknown';
|
|
375
382
|
|
|
376
383
|
/**
|
|
@@ -567,6 +574,11 @@ export interface PaymentListResponse {
|
|
|
567
574
|
*/
|
|
568
575
|
total: number | null;
|
|
569
576
|
|
|
577
|
+
/**
|
|
578
|
+
* The datetime the payment was last updated.
|
|
579
|
+
*/
|
|
580
|
+
updated_at: string;
|
|
581
|
+
|
|
570
582
|
/**
|
|
571
583
|
* The total in USD to show to the creator (excluding buyer fees).
|
|
572
584
|
*/
|
|
@@ -959,6 +971,14 @@ export declare namespace PaymentCreateParams {
|
|
|
959
971
|
*/
|
|
960
972
|
currency: Shared.Currency;
|
|
961
973
|
|
|
974
|
+
/**
|
|
975
|
+
* The application fee amount collected by the platform from this connected
|
|
976
|
+
* account. Provided as a number in dollars (e.g., 5.00 for $5.00). Must be less
|
|
977
|
+
* than the total payment amount. Only valid for connected accounts with a parent
|
|
978
|
+
* company.
|
|
979
|
+
*/
|
|
980
|
+
application_fee_amount?: number | null;
|
|
981
|
+
|
|
962
982
|
/**
|
|
963
983
|
* The interval in days at which the plan charges (renewal plans). For example, 30
|
|
964
984
|
* for monthly billing.
|
|
@@ -1215,6 +1235,16 @@ export interface PaymentListParams extends CursorPageParams {
|
|
|
1215
1235
|
* Filter payments by their current substatus for more granular filtering.
|
|
1216
1236
|
*/
|
|
1217
1237
|
substatuses?: Array<Shared.FriendlyReceiptStatus> | null;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Only return payments last updated after this timestamp.
|
|
1241
|
+
*/
|
|
1242
|
+
updated_after?: string | null;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Only return payments last updated before this timestamp.
|
|
1246
|
+
*/
|
|
1247
|
+
updated_before?: string | null;
|
|
1218
1248
|
}
|
|
1219
1249
|
|
|
1220
1250
|
export interface PaymentListFeesParams extends CursorPageParams {
|
package/src/resources/plans.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as PlansAPI from './plans';
|
|
4
5
|
import * as PaymentsAPI from './payments';
|
|
5
6
|
import * as Shared from './shared';
|
|
6
7
|
import { APIPromise } from '../core/api-promise';
|
|
@@ -124,6 +125,16 @@ export class Plans extends APIResource {
|
|
|
124
125
|
|
|
125
126
|
export type PlanListResponsesCursorPage = CursorPage<PlanListResponse>;
|
|
126
127
|
|
|
128
|
+
/**
|
|
129
|
+
* The different font families available for checkout pages.
|
|
130
|
+
*/
|
|
131
|
+
export type CheckoutFont = 'system' | 'roboto' | 'open_sans';
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The different border-radius styles available for checkout pages.
|
|
135
|
+
*/
|
|
136
|
+
export type CheckoutShape = 'rounded' | 'pill' | 'rectangular';
|
|
137
|
+
|
|
127
138
|
/**
|
|
128
139
|
* A plan defines pricing and billing terms for a checkout. Plans can optionally
|
|
129
140
|
* belong to a product, where they represent different pricing options such as
|
|
@@ -369,6 +380,12 @@ export interface PlanCreateParams {
|
|
|
369
380
|
*/
|
|
370
381
|
billing_period?: number | null;
|
|
371
382
|
|
|
383
|
+
/**
|
|
384
|
+
* Checkout styling overrides for this plan. Pass null to inherit from the company
|
|
385
|
+
* default.
|
|
386
|
+
*/
|
|
387
|
+
checkout_styling?: PlanCreateParams.CheckoutStyling | null;
|
|
388
|
+
|
|
372
389
|
/**
|
|
373
390
|
* The available currencies on the platform
|
|
374
391
|
*/
|
|
@@ -474,6 +491,27 @@ export interface PlanCreateParams {
|
|
|
474
491
|
}
|
|
475
492
|
|
|
476
493
|
export namespace PlanCreateParams {
|
|
494
|
+
/**
|
|
495
|
+
* Checkout styling overrides for this plan. Pass null to inherit from the company
|
|
496
|
+
* default.
|
|
497
|
+
*/
|
|
498
|
+
export interface CheckoutStyling {
|
|
499
|
+
/**
|
|
500
|
+
* The different border-radius styles available for checkout pages.
|
|
501
|
+
*/
|
|
502
|
+
border_style?: PlansAPI.CheckoutShape | null;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* A hex color code for the button color (e.g. #FF5733).
|
|
506
|
+
*/
|
|
507
|
+
button_color?: string | null;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* The different font families available for checkout pages.
|
|
511
|
+
*/
|
|
512
|
+
font_family?: PlansAPI.CheckoutFont | null;
|
|
513
|
+
}
|
|
514
|
+
|
|
477
515
|
export interface CustomField {
|
|
478
516
|
/**
|
|
479
517
|
* The type of the custom field.
|
|
@@ -551,6 +589,12 @@ export interface PlanUpdateParams {
|
|
|
551
589
|
*/
|
|
552
590
|
billing_period?: number | null;
|
|
553
591
|
|
|
592
|
+
/**
|
|
593
|
+
* Checkout styling overrides for this plan. Pass null to remove all overrides and
|
|
594
|
+
* inherit from the company default.
|
|
595
|
+
*/
|
|
596
|
+
checkout_styling?: PlanUpdateParams.CheckoutStyling | null;
|
|
597
|
+
|
|
554
598
|
/**
|
|
555
599
|
* The available currencies on the platform
|
|
556
600
|
*/
|
|
@@ -656,6 +700,27 @@ export interface PlanUpdateParams {
|
|
|
656
700
|
}
|
|
657
701
|
|
|
658
702
|
export namespace PlanUpdateParams {
|
|
703
|
+
/**
|
|
704
|
+
* Checkout styling overrides for this plan. Pass null to remove all overrides and
|
|
705
|
+
* inherit from the company default.
|
|
706
|
+
*/
|
|
707
|
+
export interface CheckoutStyling {
|
|
708
|
+
/**
|
|
709
|
+
* The different border-radius styles available for checkout pages.
|
|
710
|
+
*/
|
|
711
|
+
border_style?: PlansAPI.CheckoutShape | null;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* A hex color code for the button color (e.g. #FF5733).
|
|
715
|
+
*/
|
|
716
|
+
button_color?: string | null;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* The different font families available for checkout pages.
|
|
720
|
+
*/
|
|
721
|
+
font_family?: PlansAPI.CheckoutFont | null;
|
|
722
|
+
}
|
|
723
|
+
|
|
659
724
|
export interface CustomField {
|
|
660
725
|
/**
|
|
661
726
|
* The type of the custom field.
|
|
@@ -790,6 +855,8 @@ export interface PlanListParams extends CursorPageParams {
|
|
|
790
855
|
|
|
791
856
|
export declare namespace Plans {
|
|
792
857
|
export {
|
|
858
|
+
type CheckoutFont as CheckoutFont,
|
|
859
|
+
type CheckoutShape as CheckoutShape,
|
|
793
860
|
type PlanListResponse as PlanListResponse,
|
|
794
861
|
type PlanDeleteResponse as PlanDeleteResponse,
|
|
795
862
|
type PlanListResponsesCursorPage as PlanListResponsesCursorPage,
|
|
@@ -130,7 +130,7 @@ export interface ProductCreateParams {
|
|
|
130
130
|
company_id: string;
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* The display name of the product. Maximum
|
|
133
|
+
* The display name of the product. Maximum 80 characters.
|
|
134
134
|
*/
|
|
135
135
|
title: string;
|
|
136
136
|
|
|
@@ -397,7 +397,7 @@ export interface ProductUpdateParams {
|
|
|
397
397
|
store_page_config?: ProductUpdateParams.StorePageConfig | null;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
|
-
* The display name of the product. Maximum
|
|
400
|
+
* The display name of the product. Maximum 80 characters.
|
|
401
401
|
*/
|
|
402
402
|
title?: string | null;
|
|
403
403
|
|
package/src/resources/refunds.ts
CHANGED
package/src/resources/shared.ts
CHANGED
|
@@ -104,6 +104,19 @@ export interface App {
|
|
|
104
104
|
*/
|
|
105
105
|
name: string;
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* The URL path template for a specific view of this app, appended to the base
|
|
109
|
+
* domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is
|
|
110
|
+
* not configured.
|
|
111
|
+
*/
|
|
112
|
+
openapi_path: string | null;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The full origin URL for this app's proxied domain (e.g.,
|
|
116
|
+
* 'https://myapp.apps.whop.com'). Null if no proxy domain is configured.
|
|
117
|
+
*/
|
|
118
|
+
origin: string | null;
|
|
119
|
+
|
|
107
120
|
/**
|
|
108
121
|
* The whitelisted OAuth callback URLs that users are redirected to after
|
|
109
122
|
* authorizing the app.
|
|
@@ -116,6 +129,13 @@ export interface App {
|
|
|
116
129
|
*/
|
|
117
130
|
requested_permissions: Array<App.RequestedPermission>;
|
|
118
131
|
|
|
132
|
+
/**
|
|
133
|
+
* The URL path template for a specific view of this app, appended to the base
|
|
134
|
+
* domain (e.g., '/experiences/[experienceId]'). Null if the specified view type is
|
|
135
|
+
* not configured.
|
|
136
|
+
*/
|
|
137
|
+
skills_path: string | null;
|
|
138
|
+
|
|
119
139
|
/**
|
|
120
140
|
* Aggregate usage statistics for this app, including daily, weekly, and monthly
|
|
121
141
|
* active user counts.
|
|
@@ -345,7 +365,7 @@ export type AppStatuses = 'live' | 'unlisted' | 'hidden';
|
|
|
345
365
|
/**
|
|
346
366
|
* The different types of an app view
|
|
347
367
|
*/
|
|
348
|
-
export type AppViewType = 'hub' | 'discover' | 'dash' | 'dashboard' | 'analytics';
|
|
368
|
+
export type AppViewType = 'hub' | 'discover' | 'dash' | 'dashboard' | 'analytics' | 'skills' | 'openapi';
|
|
349
369
|
|
|
350
370
|
/**
|
|
351
371
|
* Possible roles an authorized user can have
|
|
@@ -596,6 +616,12 @@ export interface Company {
|
|
|
596
616
|
*/
|
|
597
617
|
id: string;
|
|
598
618
|
|
|
619
|
+
/**
|
|
620
|
+
* Guidelines and instructions provided to affiliates explaining how to promote
|
|
621
|
+
* this company's products.
|
|
622
|
+
*/
|
|
623
|
+
affiliate_instructions: string | null;
|
|
624
|
+
|
|
599
625
|
/**
|
|
600
626
|
* The datetime the company was created.
|
|
601
627
|
*/
|
|
@@ -607,6 +633,12 @@ export interface Company {
|
|
|
607
633
|
*/
|
|
608
634
|
description: string | null;
|
|
609
635
|
|
|
636
|
+
/**
|
|
637
|
+
* The product featured for affiliates to promote on this company's affiliate page.
|
|
638
|
+
* Null if none is configured.
|
|
639
|
+
*/
|
|
640
|
+
featured_affiliate_product: Company.FeaturedAffiliateProduct | null;
|
|
641
|
+
|
|
610
642
|
/**
|
|
611
643
|
* The company's logo.
|
|
612
644
|
*/
|
|
@@ -652,6 +684,11 @@ export interface Company {
|
|
|
652
684
|
*/
|
|
653
685
|
social_links: Array<Company.SocialLink>;
|
|
654
686
|
|
|
687
|
+
/**
|
|
688
|
+
* The target audience for the company. Null if not set.
|
|
689
|
+
*/
|
|
690
|
+
target_audience: string | null;
|
|
691
|
+
|
|
655
692
|
/**
|
|
656
693
|
* The display name of the company shown to customers.
|
|
657
694
|
*/
|
|
@@ -669,6 +706,22 @@ export interface Company {
|
|
|
669
706
|
}
|
|
670
707
|
|
|
671
708
|
export namespace Company {
|
|
709
|
+
/**
|
|
710
|
+
* The product featured for affiliates to promote on this company's affiliate page.
|
|
711
|
+
* Null if none is configured.
|
|
712
|
+
*/
|
|
713
|
+
export interface FeaturedAffiliateProduct {
|
|
714
|
+
/**
|
|
715
|
+
* The unique identifier for the product.
|
|
716
|
+
*/
|
|
717
|
+
id: string;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* The display name of the product shown to customers. Maximum 50 characters.
|
|
721
|
+
*/
|
|
722
|
+
name: string;
|
|
723
|
+
}
|
|
724
|
+
|
|
672
725
|
/**
|
|
673
726
|
* The company's logo.
|
|
674
727
|
*/
|
|
@@ -1753,7 +1806,7 @@ export namespace InvoiceListItem {
|
|
|
1753
1806
|
/**
|
|
1754
1807
|
* The different statuses an invoice can be in
|
|
1755
1808
|
*/
|
|
1756
|
-
export type InvoiceStatus = 'draft' | 'open' | 'paid' | 'past_due' | 'void';
|
|
1809
|
+
export type InvoiceStatus = 'draft' | 'open' | 'paid' | 'past_due' | 'uncollectible' | 'void';
|
|
1757
1810
|
|
|
1758
1811
|
/**
|
|
1759
1812
|
* The different most recent actions a member can have.
|
|
@@ -1862,7 +1915,7 @@ export interface Membership {
|
|
|
1862
1915
|
* Custom key-value pairs for the membership (commonly used for software licensing,
|
|
1863
1916
|
* e.g., HWID). Max 50 keys, 500 chars per key, 5000 chars per value.
|
|
1864
1917
|
*/
|
|
1865
|
-
metadata: { [key: string]: unknown };
|
|
1918
|
+
metadata: { [key: string]: unknown } | null;
|
|
1866
1919
|
|
|
1867
1920
|
/**
|
|
1868
1921
|
* Whether recurring payment collection for this membership is temporarily paused
|
|
@@ -2452,6 +2505,11 @@ export interface Payment {
|
|
|
2452
2505
|
*/
|
|
2453
2506
|
total: number | null;
|
|
2454
2507
|
|
|
2508
|
+
/**
|
|
2509
|
+
* The datetime the payment was last updated.
|
|
2510
|
+
*/
|
|
2511
|
+
updated_at: string;
|
|
2512
|
+
|
|
2455
2513
|
/**
|
|
2456
2514
|
* The total in USD to show to the creator (excluding buyer fees).
|
|
2457
2515
|
*/
|
|
@@ -2647,7 +2705,8 @@ export namespace Payment {
|
|
|
2647
2705
|
| 'won'
|
|
2648
2706
|
| 'rejected'
|
|
2649
2707
|
| 'lost'
|
|
2650
|
-
| 'prevented'
|
|
2708
|
+
| 'prevented'
|
|
2709
|
+
| 'canceled';
|
|
2651
2710
|
|
|
2652
2711
|
/**
|
|
2653
2712
|
* The type of the payment transaction.
|
|
@@ -2657,7 +2716,7 @@ export namespace Payment {
|
|
|
2657
2716
|
| 'authorize'
|
|
2658
2717
|
| 'capture'
|
|
2659
2718
|
| 'refund'
|
|
2660
|
-
| '
|
|
2719
|
+
| 'canceled'
|
|
2661
2720
|
| 'verify'
|
|
2662
2721
|
| 'chargeback'
|
|
2663
2722
|
| 'pre_chargeback'
|