@izak0s/spacebring-api 5.1.0 → 5.2.0
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/index.d.cts +35 -6
- package/dist/index.d.ts +35 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7302,7 +7302,7 @@ interface components {
|
|
|
7302
7302
|
* @description Payment type.
|
|
7303
7303
|
* @enum {string}
|
|
7304
7304
|
*/
|
|
7305
|
-
type: "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
7305
|
+
type: "authorizenet" | "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
7306
7306
|
};
|
|
7307
7307
|
/** @description Number of tickets included in this purchase. */
|
|
7308
7308
|
quantity: number;
|
|
@@ -9931,7 +9931,7 @@ interface components {
|
|
|
9931
9931
|
* @description Payment gateway type.
|
|
9932
9932
|
* @enum {string}
|
|
9933
9933
|
*/
|
|
9934
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9934
|
+
type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9935
9935
|
};
|
|
9936
9936
|
/**
|
|
9937
9937
|
* @description Payment method type.
|
|
@@ -10399,7 +10399,7 @@ interface components {
|
|
|
10399
10399
|
* @description Payment gateway type.
|
|
10400
10400
|
* @enum {string}
|
|
10401
10401
|
*/
|
|
10402
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
10402
|
+
type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
10403
10403
|
};
|
|
10404
10404
|
/**
|
|
10405
10405
|
* @description Payment method type.
|
|
@@ -15716,8 +15716,37 @@ interface components {
|
|
|
15716
15716
|
"application/json": {
|
|
15717
15717
|
/** @description Partial payment amount in major units. */
|
|
15718
15718
|
amount?: number;
|
|
15719
|
-
/** @description Payment
|
|
15720
|
-
|
|
15719
|
+
/** @description Payment details. Takes precedence over the deprecated paymentMethod field. */
|
|
15720
|
+
payment?: {
|
|
15721
|
+
/** @description Payment method details. */
|
|
15722
|
+
method: {
|
|
15723
|
+
/** @description External payment method, recorded outside the platform. */
|
|
15724
|
+
external?: Record<string, never>;
|
|
15725
|
+
/** @description Payment gateway (card) payment method. */
|
|
15726
|
+
paymentGateway?: {
|
|
15727
|
+
/**
|
|
15728
|
+
* @description Payment gateway provider.
|
|
15729
|
+
* @enum {string}
|
|
15730
|
+
*/
|
|
15731
|
+
gateway: "authorizenet" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15732
|
+
/**
|
|
15733
|
+
* Format: uuid
|
|
15734
|
+
* @description ID of the saved payment method.
|
|
15735
|
+
*/
|
|
15736
|
+
id?: string | null;
|
|
15737
|
+
};
|
|
15738
|
+
/**
|
|
15739
|
+
* @description Selected payment method type.
|
|
15740
|
+
* @enum {string}
|
|
15741
|
+
*/
|
|
15742
|
+
type: "external" | "paymentGateway";
|
|
15743
|
+
};
|
|
15744
|
+
};
|
|
15745
|
+
/**
|
|
15746
|
+
* @deprecated
|
|
15747
|
+
* @description Payment method to use. Use payment.method instead.
|
|
15748
|
+
*/
|
|
15749
|
+
paymentMethod?: {
|
|
15721
15750
|
/**
|
|
15722
15751
|
* Format: uuid
|
|
15723
15752
|
* @description ID of the saved payment method.
|
|
@@ -15727,7 +15756,7 @@ interface components {
|
|
|
15727
15756
|
* @description Payment gateway type.
|
|
15728
15757
|
* @enum {string}
|
|
15729
15758
|
*/
|
|
15730
|
-
type: "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15759
|
+
type: "authorizenet" | "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15731
15760
|
};
|
|
15732
15761
|
/** @description Whether the user has accepted the payment terms. */
|
|
15733
15762
|
termsConsent?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -7302,7 +7302,7 @@ interface components {
|
|
|
7302
7302
|
* @description Payment type.
|
|
7303
7303
|
* @enum {string}
|
|
7304
7304
|
*/
|
|
7305
|
-
type: "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
7305
|
+
type: "authorizenet" | "credits" | "external" | "flow" | "fondy" | "freedompay" | "invoice" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
7306
7306
|
};
|
|
7307
7307
|
/** @description Number of tickets included in this purchase. */
|
|
7308
7308
|
quantity: number;
|
|
@@ -9931,7 +9931,7 @@ interface components {
|
|
|
9931
9931
|
* @description Payment gateway type.
|
|
9932
9932
|
* @enum {string}
|
|
9933
9933
|
*/
|
|
9934
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9934
|
+
type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
9935
9935
|
};
|
|
9936
9936
|
/**
|
|
9937
9937
|
* @description Payment method type.
|
|
@@ -10399,7 +10399,7 @@ interface components {
|
|
|
10399
10399
|
* @description Payment gateway type.
|
|
10400
10400
|
* @enum {string}
|
|
10401
10401
|
*/
|
|
10402
|
-
type?: "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
10402
|
+
type?: "authorizenet" | "flow" | "fondy" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "mollie" | "xendit";
|
|
10403
10403
|
};
|
|
10404
10404
|
/**
|
|
10405
10405
|
* @description Payment method type.
|
|
@@ -15716,8 +15716,37 @@ interface components {
|
|
|
15716
15716
|
"application/json": {
|
|
15717
15717
|
/** @description Partial payment amount in major units. */
|
|
15718
15718
|
amount?: number;
|
|
15719
|
-
/** @description Payment
|
|
15720
|
-
|
|
15719
|
+
/** @description Payment details. Takes precedence over the deprecated paymentMethod field. */
|
|
15720
|
+
payment?: {
|
|
15721
|
+
/** @description Payment method details. */
|
|
15722
|
+
method: {
|
|
15723
|
+
/** @description External payment method, recorded outside the platform. */
|
|
15724
|
+
external?: Record<string, never>;
|
|
15725
|
+
/** @description Payment gateway (card) payment method. */
|
|
15726
|
+
paymentGateway?: {
|
|
15727
|
+
/**
|
|
15728
|
+
* @description Payment gateway provider.
|
|
15729
|
+
* @enum {string}
|
|
15730
|
+
*/
|
|
15731
|
+
gateway: "authorizenet" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15732
|
+
/**
|
|
15733
|
+
* Format: uuid
|
|
15734
|
+
* @description ID of the saved payment method.
|
|
15735
|
+
*/
|
|
15736
|
+
id?: string | null;
|
|
15737
|
+
};
|
|
15738
|
+
/**
|
|
15739
|
+
* @description Selected payment method type.
|
|
15740
|
+
* @enum {string}
|
|
15741
|
+
*/
|
|
15742
|
+
type: "external" | "paymentGateway";
|
|
15743
|
+
};
|
|
15744
|
+
};
|
|
15745
|
+
/**
|
|
15746
|
+
* @deprecated
|
|
15747
|
+
* @description Payment method to use. Use payment.method instead.
|
|
15748
|
+
*/
|
|
15749
|
+
paymentMethod?: {
|
|
15721
15750
|
/**
|
|
15722
15751
|
* Format: uuid
|
|
15723
15752
|
* @description ID of the saved payment method.
|
|
@@ -15727,7 +15756,7 @@ interface components {
|
|
|
15727
15756
|
* @description Payment gateway type.
|
|
15728
15757
|
* @enum {string}
|
|
15729
15758
|
*/
|
|
15730
|
-
type: "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15759
|
+
type: "authorizenet" | "external" | "freedompay" | "kakaopay" | "maya" | "mercadopago" | "mollie" | "paypal" | "paystack" | "payway" | "plata" | "stripe" | "tap" | "wayforpay" | "xendit";
|
|
15731
15760
|
};
|
|
15732
15761
|
/** @description Whether the user has accepted the payment terms. */
|
|
15733
15762
|
termsConsent?: boolean;
|
package/package.json
CHANGED