@blocklet/payment-types 1.16.13 → 1.16.17
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/checkout-session.d.ts +2 -2
- package/lib/coupon.d.ts +1 -1
- package/lib/customer.d.ts +3 -3
- package/lib/discount.d.ts +1 -1
- package/lib/event.d.ts +1 -1
- package/lib/invoice-item.d.ts +2 -2
- package/lib/invoice.d.ts +2 -2
- package/lib/payment-currency.d.ts +1 -1
- package/lib/payment-intent.d.ts +2 -2
- package/lib/payment-link.d.ts +2 -2
- package/lib/payment-method.d.ts +1 -1
- package/lib/payment-stat.d.ts +1 -1
- package/lib/payout.d.ts +2 -2
- package/lib/price.d.ts +2 -2
- package/lib/pricing-table.d.ts +2 -2
- package/lib/product.d.ts +2 -2
- package/lib/promotion-code.d.ts +1 -1
- package/lib/refund.d.ts +2 -2
- package/lib/setup-intent.d.ts +1 -1
- package/lib/subscription-item.d.ts +2 -2
- package/lib/subscription-schedule.d.ts +1 -1
- package/lib/subscription.d.ts +2 -2
- package/lib/usage-record.d.ts +1 -1
- package/lib/webhook-attempt.d.ts +1 -1
- package/lib/webhook-endpoint.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, FindOptions, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { CurrencyConversion, CustomField, CustomerDetail, InvoiceData, LineItem, NftMintDetails, NftMintSettings, PaymentDetails, PaymentIntentData, ServiceAction, SubscriptionData } from './types';
|
|
4
|
-
export declare const nextCheckoutSessionId: (size?: number
|
|
4
|
+
export declare const nextCheckoutSessionId: (size?: number) => string;
|
|
5
5
|
export declare class CheckoutSession extends Model<InferAttributes<CheckoutSession>, InferCreationAttributes<CheckoutSession>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -107,7 +107,7 @@ export declare class CheckoutSession extends Model<InferAttributes<CheckoutSessi
|
|
|
107
107
|
type: DataTypes.StringDataType;
|
|
108
108
|
primaryKey: boolean;
|
|
109
109
|
allowNull: boolean;
|
|
110
|
-
defaultValue: (size?: number
|
|
110
|
+
defaultValue: (size?: number) => string;
|
|
111
111
|
};
|
|
112
112
|
livemode: {
|
|
113
113
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/coupon.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class Coupon extends Model<InferAttributes<Coupon>, InferCreation
|
|
|
25
25
|
type: DataTypes.StringDataType;
|
|
26
26
|
primaryKey: boolean;
|
|
27
27
|
allowNull: boolean;
|
|
28
|
-
defaultValue: (size?: number
|
|
28
|
+
defaultValue: (size?: number) => string;
|
|
29
29
|
};
|
|
30
30
|
livemode: {
|
|
31
31
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/customer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, FindOptions, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { CustomerAddress, CustomerShipping } from './types';
|
|
3
|
-
export declare const nextCustomerId: (size?: number
|
|
4
|
-
export declare const nextInvoicePrefix: (size?: number
|
|
3
|
+
export declare const nextCustomerId: (size?: number) => string;
|
|
4
|
+
export declare const nextInvoicePrefix: (size?: number) => string;
|
|
5
5
|
export declare class Customer extends Model<InferAttributes<Customer>, InferCreationAttributes<Customer>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -37,7 +37,7 @@ export declare class Customer extends Model<InferAttributes<Customer>, InferCrea
|
|
|
37
37
|
type: DataTypes.StringDataType;
|
|
38
38
|
primaryKey: boolean;
|
|
39
39
|
allowNull: boolean;
|
|
40
|
-
defaultValue: (size?: number
|
|
40
|
+
defaultValue: (size?: number) => string;
|
|
41
41
|
};
|
|
42
42
|
livemode: {
|
|
43
43
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/discount.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare class Discount extends Model<InferAttributes<Discount>, InferCrea
|
|
|
18
18
|
type: DataTypes.StringDataType;
|
|
19
19
|
primaryKey: boolean;
|
|
20
20
|
allowNull: boolean;
|
|
21
|
-
defaultValue: (size?: number
|
|
21
|
+
defaultValue: (size?: number) => string;
|
|
22
22
|
};
|
|
23
23
|
livemode: {
|
|
24
24
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/event.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare class Event extends Model<InferAttributes<Event>, InferCreationAt
|
|
|
22
22
|
type: DataTypes.StringDataType;
|
|
23
23
|
primaryKey: boolean;
|
|
24
24
|
allowNull: boolean;
|
|
25
|
-
defaultValue: (size?: number
|
|
25
|
+
defaultValue: (size?: number) => string;
|
|
26
26
|
};
|
|
27
27
|
livemode: {
|
|
28
28
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/invoice-item.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { DiscountAmount } from './types';
|
|
3
|
-
export declare const nextInvoiceItemId: (size?: number
|
|
3
|
+
export declare const nextInvoiceItemId: (size?: number) => string;
|
|
4
4
|
export type InvoiceLineItem = {
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
@@ -39,7 +39,7 @@ export declare class InvoiceItem extends Model<InferAttributes<InvoiceItem>, Inf
|
|
|
39
39
|
type: DataTypes.StringDataType;
|
|
40
40
|
primaryKey: boolean;
|
|
41
41
|
allowNull: boolean;
|
|
42
|
-
defaultValue: (size?: number
|
|
42
|
+
defaultValue: (size?: number) => string;
|
|
43
43
|
};
|
|
44
44
|
livemode: {
|
|
45
45
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/invoice.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { CustomerAddress, CustomerShipping, DiscountAmount, GroupedBN, GroupedStrList, PaymentError, PaymentSettings, SimpleCustomField } from './types';
|
|
4
|
-
export declare const nextInvoiceId: (size?: number
|
|
4
|
+
export declare const nextInvoiceId: (size?: number) => string;
|
|
5
5
|
export declare class Invoice extends Model<InferAttributes<Invoice>, InferCreationAttributes<Invoice>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
number: string;
|
|
@@ -81,7 +81,7 @@ export declare class Invoice extends Model<InferAttributes<Invoice>, InferCreati
|
|
|
81
81
|
type: DataTypes.StringDataType;
|
|
82
82
|
primaryKey: boolean;
|
|
83
83
|
allowNull: boolean;
|
|
84
|
-
defaultValue: (size?: number
|
|
84
|
+
defaultValue: (size?: number) => string;
|
|
85
85
|
};
|
|
86
86
|
livemode: {
|
|
87
87
|
type: DataTypes.AbstractDataTypeConstructor;
|
|
@@ -23,7 +23,7 @@ export declare class PaymentCurrency extends Model<InferAttributes<PaymentCurren
|
|
|
23
23
|
type: DataTypes.StringDataType;
|
|
24
24
|
primaryKey: boolean;
|
|
25
25
|
allowNull: boolean;
|
|
26
|
-
defaultValue: (size?: number
|
|
26
|
+
defaultValue: (size?: number) => string;
|
|
27
27
|
};
|
|
28
28
|
active: {
|
|
29
29
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/payment-intent.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { GroupedBN, PaymentBeneficiary, PaymentDetails, PaymentError } from './types';
|
|
4
|
-
export declare const nextPaymentIntentId: (size?: number
|
|
4
|
+
export declare const nextPaymentIntentId: (size?: number) => string;
|
|
5
5
|
export declare class PaymentIntent extends Model<InferAttributes<PaymentIntent>, InferCreationAttributes<PaymentIntent>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -39,7 +39,7 @@ export declare class PaymentIntent extends Model<InferAttributes<PaymentIntent>,
|
|
|
39
39
|
type: DataTypes.StringDataType;
|
|
40
40
|
primaryKey: boolean;
|
|
41
41
|
allowNull: boolean;
|
|
42
|
-
defaultValue: (size?: number
|
|
42
|
+
defaultValue: (size?: number) => string;
|
|
43
43
|
};
|
|
44
44
|
livemode: {
|
|
45
45
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/payment-link.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { AfterPayment, CustomField, DonationSettings, LineItem, NftMintSettings, PaymentIntentData, SubscriptionData } from './types';
|
|
4
|
-
export declare const nextPaymentLinkId: (size?: number
|
|
4
|
+
export declare const nextPaymentLinkId: (size?: number) => string;
|
|
5
5
|
export declare class PaymentLink extends Model<InferAttributes<PaymentLink>, InferCreationAttributes<PaymentLink>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
active: boolean;
|
|
@@ -45,7 +45,7 @@ export declare class PaymentLink extends Model<InferAttributes<PaymentLink>, Inf
|
|
|
45
45
|
type: DataTypes.StringDataType;
|
|
46
46
|
primaryKey: boolean;
|
|
47
47
|
allowNull: boolean;
|
|
48
|
-
defaultValue: (size?: number
|
|
48
|
+
defaultValue: (size?: number) => string;
|
|
49
49
|
};
|
|
50
50
|
active: {
|
|
51
51
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/payment-method.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class PaymentMethod extends Model<InferAttributes<PaymentMethod>,
|
|
|
32
32
|
type: DataTypes.StringDataType;
|
|
33
33
|
primaryKey: boolean;
|
|
34
34
|
allowNull: boolean;
|
|
35
|
-
defaultValue: (size?: number
|
|
35
|
+
defaultValue: (size?: number) => string;
|
|
36
36
|
};
|
|
37
37
|
active: {
|
|
38
38
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/payment-stat.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class PaymentStat extends Model<InferAttributes<PaymentStat>, Inf
|
|
|
14
14
|
type: DataTypes.StringDataType;
|
|
15
15
|
primaryKey: boolean;
|
|
16
16
|
allowNull: boolean;
|
|
17
|
-
defaultValue: (size?: number
|
|
17
|
+
defaultValue: (size?: number) => string;
|
|
18
18
|
};
|
|
19
19
|
livemode: {
|
|
20
20
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/payout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { GroupedBN, PaymentDetails, PaymentError } from './types';
|
|
4
|
-
export declare const nextPayoutId: (size?: number
|
|
4
|
+
export declare const nextPayoutId: (size?: number) => string;
|
|
5
5
|
export declare class Payout extends Model<InferAttributes<Payout>, InferCreationAttributes<Payout>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -29,7 +29,7 @@ export declare class Payout extends Model<InferAttributes<Payout>, InferCreation
|
|
|
29
29
|
type: DataTypes.StringDataType;
|
|
30
30
|
primaryKey: boolean;
|
|
31
31
|
allowNull: boolean;
|
|
32
|
-
defaultValue: (size?: number
|
|
32
|
+
defaultValue: (size?: number) => string;
|
|
33
33
|
};
|
|
34
34
|
livemode: {
|
|
35
35
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/price.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CreationOptional, DataTypes, FindOptions, InferAttributes, InferCreatio
|
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { TPaymentCurrency } from './payment-currency';
|
|
4
4
|
import type { CustomUnitAmount, LineItem, PriceCurrency, PriceRecurring, PriceTier, TransformQuantity } from './types';
|
|
5
|
-
export declare const nextPriceId: (size?: number
|
|
5
|
+
export declare const nextPriceId: (size?: number) => string;
|
|
6
6
|
type TPriceExpanded = TPrice & {
|
|
7
7
|
object: 'price';
|
|
8
8
|
product: any;
|
|
@@ -49,7 +49,7 @@ export declare class Price extends Model<InferAttributes<Price>, InferCreationAt
|
|
|
49
49
|
type: DataTypes.StringDataType;
|
|
50
50
|
primaryKey: boolean;
|
|
51
51
|
allowNull: boolean;
|
|
52
|
-
defaultValue: (size?: number
|
|
52
|
+
defaultValue: (size?: number) => string;
|
|
53
53
|
};
|
|
54
54
|
product_id: {
|
|
55
55
|
type: DataTypes.StringDataType;
|
package/lib/pricing-table.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { BrandSettings, PricingTableItem } from './types';
|
|
4
|
-
export declare const nextPricingTableId: (size?: number
|
|
4
|
+
export declare const nextPricingTableId: (size?: number) => string;
|
|
5
5
|
export declare class PricingTable extends Model<InferAttributes<PricingTable>, InferCreationAttributes<PricingTable>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
active: boolean;
|
|
@@ -19,7 +19,7 @@ export declare class PricingTable extends Model<InferAttributes<PricingTable>, I
|
|
|
19
19
|
type: DataTypes.StringDataType;
|
|
20
20
|
primaryKey: boolean;
|
|
21
21
|
allowNull: boolean;
|
|
22
|
-
defaultValue: (size?: number
|
|
22
|
+
defaultValue: (size?: number) => string;
|
|
23
23
|
};
|
|
24
24
|
active: {
|
|
25
25
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/product.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
|
-
export declare const nextProductId: (size?: number
|
|
3
|
+
export declare const nextProductId: (size?: number) => string;
|
|
4
4
|
export type ProductFeature = {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -30,7 +30,7 @@ export declare class Product extends Model<InferAttributes<Product>, InferCreati
|
|
|
30
30
|
type: DataTypes.StringDataType;
|
|
31
31
|
primaryKey: boolean;
|
|
32
32
|
allowNull: boolean;
|
|
33
|
-
defaultValue: (size?: number
|
|
33
|
+
defaultValue: (size?: number) => string;
|
|
34
34
|
};
|
|
35
35
|
active: {
|
|
36
36
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/promotion-code.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare class PromotionCode extends Model<InferAttributes<PromotionCode>,
|
|
|
22
22
|
type: DataTypes.StringDataType;
|
|
23
23
|
primaryKey: boolean;
|
|
24
24
|
allowNull: boolean;
|
|
25
|
-
defaultValue: (size?: number
|
|
25
|
+
defaultValue: (size?: number) => string;
|
|
26
26
|
};
|
|
27
27
|
livemode: {
|
|
28
28
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/refund.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { GroupedBN, PaymentDetails, PaymentError } from './types';
|
|
4
|
-
export declare const nextRefundId: (size?: number
|
|
4
|
+
export declare const nextRefundId: (size?: number) => string;
|
|
5
5
|
export declare class Refund extends Model<InferAttributes<Refund>, InferCreationAttributes<Refund>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -34,7 +34,7 @@ export declare class Refund extends Model<InferAttributes<Refund>, InferCreation
|
|
|
34
34
|
type: DataTypes.StringDataType;
|
|
35
35
|
primaryKey: boolean;
|
|
36
36
|
allowNull: boolean;
|
|
37
|
-
defaultValue: (size?: number
|
|
37
|
+
defaultValue: (size?: number) => string;
|
|
38
38
|
};
|
|
39
39
|
description: {
|
|
40
40
|
type: DataTypes.StringDataType;
|
package/lib/setup-intent.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class SetupIntent extends Model<InferAttributes<SetupIntent>, Inf
|
|
|
25
25
|
type: DataTypes.StringDataType;
|
|
26
26
|
primaryKey: boolean;
|
|
27
27
|
allowNull: boolean;
|
|
28
|
-
defaultValue: (size?: number
|
|
28
|
+
defaultValue: (size?: number) => string;
|
|
29
29
|
};
|
|
30
30
|
livemode: {
|
|
31
31
|
type: DataTypes.AbstractDataTypeConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
|
-
export declare const nextSubscriptionItemId: (size?: number
|
|
2
|
+
export declare const nextSubscriptionItemId: (size?: number) => string;
|
|
3
3
|
export declare class SubscriptionItem extends Model<InferAttributes<SubscriptionItem>, InferCreationAttributes<SubscriptionItem>> {
|
|
4
4
|
id: CreationOptional<string>;
|
|
5
5
|
livemode: boolean;
|
|
@@ -17,7 +17,7 @@ export declare class SubscriptionItem extends Model<InferAttributes<Subscription
|
|
|
17
17
|
type: DataTypes.StringDataType;
|
|
18
18
|
primaryKey: boolean;
|
|
19
19
|
allowNull: boolean;
|
|
20
|
-
defaultValue: (size?: number
|
|
20
|
+
defaultValue: (size?: number) => string;
|
|
21
21
|
};
|
|
22
22
|
livemode: {
|
|
23
23
|
type: DataTypes.AbstractDataTypeConstructor;
|
|
@@ -39,7 +39,7 @@ export declare class SubscriptionSchedule extends Model<InferAttributes<Subscrip
|
|
|
39
39
|
type: DataTypes.StringDataType;
|
|
40
40
|
primaryKey: boolean;
|
|
41
41
|
allowNull: boolean;
|
|
42
|
-
defaultValue: (size?: number
|
|
42
|
+
defaultValue: (size?: number) => string;
|
|
43
43
|
};
|
|
44
44
|
livemode: {
|
|
45
45
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/subscription.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
|
|
2
2
|
import type { LiteralUnion } from 'type-fest';
|
|
3
3
|
import type { PaymentDetails, PaymentSettings, PriceRecurring, ServiceAction } from './types';
|
|
4
|
-
export declare const nextSubscriptionId: (size?: number
|
|
4
|
+
export declare const nextSubscriptionId: (size?: number) => string;
|
|
5
5
|
export declare class Subscription extends Model<InferAttributes<Subscription>, InferCreationAttributes<Subscription>> {
|
|
6
6
|
id: CreationOptional<string>;
|
|
7
7
|
livemode: boolean;
|
|
@@ -74,7 +74,7 @@ export declare class Subscription extends Model<InferAttributes<Subscription>, I
|
|
|
74
74
|
type: DataTypes.StringDataType;
|
|
75
75
|
primaryKey: boolean;
|
|
76
76
|
allowNull: boolean;
|
|
77
|
-
defaultValue: (size?: number
|
|
77
|
+
defaultValue: (size?: number) => string;
|
|
78
78
|
};
|
|
79
79
|
livemode: {
|
|
80
80
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/usage-record.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare class UsageRecord extends Model<InferAttributes<UsageRecord>, Inf
|
|
|
15
15
|
type: DataTypes.StringDataType;
|
|
16
16
|
primaryKey: boolean;
|
|
17
17
|
allowNull: boolean;
|
|
18
|
-
defaultValue: (size?: number
|
|
18
|
+
defaultValue: (size?: number) => string;
|
|
19
19
|
};
|
|
20
20
|
livemode: {
|
|
21
21
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/lib/webhook-attempt.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class WebhookAttempt extends Model<InferAttributes<WebhookAttempt
|
|
|
16
16
|
type: DataTypes.StringDataType;
|
|
17
17
|
primaryKey: boolean;
|
|
18
18
|
allowNull: boolean;
|
|
19
|
-
defaultValue: (size?: number
|
|
19
|
+
defaultValue: (size?: number) => string;
|
|
20
20
|
};
|
|
21
21
|
livemode: {
|
|
22
22
|
type: DataTypes.AbstractDataTypeConstructor;
|
|
@@ -18,7 +18,7 @@ export declare class WebhookEndpoint extends Model<InferAttributes<WebhookEndpoi
|
|
|
18
18
|
type: DataTypes.StringDataType;
|
|
19
19
|
primaryKey: boolean;
|
|
20
20
|
allowNull: boolean;
|
|
21
|
-
defaultValue: (size?: number
|
|
21
|
+
defaultValue: (size?: number) => string;
|
|
22
22
|
};
|
|
23
23
|
livemode: {
|
|
24
24
|
type: DataTypes.AbstractDataTypeConstructor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/payment-types",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.17",
|
|
4
4
|
"description": "Typings for Payment Kit SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"types",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sequelize": "^6.37.3",
|
|
49
49
|
"type-fest": "^4.23.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "38b1da1771951e6a30f3cb643fadb108aceed5b6"
|
|
52
52
|
}
|