@blocklet/payment-types 1.19.5 → 1.19.7

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.
@@ -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.5",
3
+ "version": "1.19.7",
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": "b2cb3888b7efa2cc71591f75240616c36e945b09"
51
+ "gitHead": "83b0e5ac23d05e12d07929789f06f85b30929169"
52
52
  }