@omnibase/core-js 0.4.0 → 0.4.1
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.
|
@@ -160,11 +160,11 @@ declare function getAvailableProducts(): Promise<ProductWithPricingUI[]>;
|
|
|
160
160
|
declare function getProduct(productId: string): Promise<Product | null>;
|
|
161
161
|
|
|
162
162
|
type CheckoutOptions = {
|
|
163
|
-
|
|
163
|
+
price_id: string;
|
|
164
164
|
mode: "payment" | "subscription";
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
success_url: string;
|
|
166
|
+
cancel_url: string;
|
|
167
|
+
customer_id?: string;
|
|
168
168
|
};
|
|
169
169
|
type CreateCheckoutResponse = ApiResponse<{
|
|
170
170
|
url: string;
|
package/dist/payments/index.d.ts
CHANGED
|
@@ -160,11 +160,11 @@ declare function getAvailableProducts(): Promise<ProductWithPricingUI[]>;
|
|
|
160
160
|
declare function getProduct(productId: string): Promise<Product | null>;
|
|
161
161
|
|
|
162
162
|
type CheckoutOptions = {
|
|
163
|
-
|
|
163
|
+
price_id: string;
|
|
164
164
|
mode: "payment" | "subscription";
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
success_url: string;
|
|
166
|
+
cancel_url: string;
|
|
167
|
+
customer_id?: string;
|
|
168
168
|
};
|
|
169
169
|
type CreateCheckoutResponse = ApiResponse<{
|
|
170
170
|
url: string;
|