@blocklet/payment-types 1.19.5 → 1.19.6
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/lib/payment-link.d.ts +3 -0
- package/package.json +2 -2
package/lib/payment-link.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare class PaymentLink extends Model<InferAttributes<PaymentLink>, Inf
|
|
|
38
38
|
metadata?: Record<string, any>;
|
|
39
39
|
payment_intent_data?: PaymentIntentData;
|
|
40
40
|
enable_subscription_grouping?: boolean;
|
|
41
|
+
lookup_key: string | null;
|
|
41
42
|
created_at: CreationOptional<Date>;
|
|
42
43
|
created_via: LiteralUnion<'api' | 'dashboard' | 'portal', string>;
|
|
43
44
|
updated_at: CreationOptional<Date>;
|
|
@@ -139,5 +140,7 @@ export declare class PaymentLink extends Model<InferAttributes<PaymentLink>, Inf
|
|
|
139
140
|
};
|
|
140
141
|
static initialize(sequelize: any): void;
|
|
141
142
|
static associate(models: any): void;
|
|
143
|
+
static insert(paymentLink: InferCreationAttributes<PaymentLink>): Promise<PaymentLink>;
|
|
144
|
+
static findByPkOrLookupKey(id: string, options?: any): Promise<PaymentLink>;
|
|
142
145
|
}
|
|
143
146
|
export type TPaymentLink = InferAttributes<PaymentLink>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-types",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.6",
|
|
4
4
|
"description": "Typings for Payment Kit SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sequelize": "^6.37.7",
|
|
49
49
|
"type-fest": "^4.41.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d062db562d215b8ef5485b3f291d7e4f994093be"
|
|
52
52
|
}
|