@blocklet/payment-js 1.13.112 → 1.13.114

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/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  declare const _default: {
2
2
  checkout: {
3
3
  sessions: {
4
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
4
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
5
5
  omit: never;
6
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
6
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
7
7
  omit: never;
8
8
  }>>;
9
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TCheckoutSessionExpanded>;
10
- list: (_params: import("@did-pay/types").Pagination<{
9
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TCheckoutSessionExpanded>;
10
+ list: (_params: import("@blocklet/payment-types").Pagination<{
11
11
  status?: string;
12
12
  payment_status?: string;
13
13
  nft_mint_status?: string;
@@ -15,223 +15,223 @@ declare const _default: {
15
15
  customer_did?: string;
16
16
  payment_intent_id?: string;
17
17
  subscription_id?: string;
18
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TCheckoutSessionExpanded>>;
19
- expire: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
18
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TCheckoutSessionExpanded>>;
19
+ expire: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
20
20
  omit: never;
21
21
  }>>;
22
22
  };
23
23
  };
24
24
  customers: {
25
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
25
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
26
26
  omit: never;
27
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
27
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
28
28
  omit: never;
29
29
  }>>;
30
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TCustomerExpanded>;
31
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
30
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TCustomerExpanded>;
31
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
32
32
  omit: never;
33
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
33
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
34
34
  omit: never;
35
35
  }>>;
36
- list: (_params: import("@did-pay/types").Pagination<{
36
+ list: (_params: import("@blocklet/payment-types").Pagination<{
37
37
  did?: string;
38
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TCustomerExpanded>>;
39
- search: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TCustomerExpanded>>;
40
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
38
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TCustomerExpanded>>;
39
+ search: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TCustomerExpanded>>;
40
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
41
41
  omit: never;
42
42
  }>>;
43
43
  };
44
44
  products: {
45
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
45
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
46
46
  omit: never;
47
47
  }> & {
48
- prices: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
48
+ prices: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
49
49
  omit: never;
50
50
  }>>[];
51
- }>, params?: never) => Promise<import("@did-pay/types").TProductExpanded>;
52
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TProductExpanded>;
53
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
51
+ }>, params?: never) => Promise<import("@blocklet/payment-types").TProductExpanded>;
52
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TProductExpanded>;
53
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
54
54
  omit: never;
55
- }>>) => Promise<import("@did-pay/types").TProductExpanded>;
56
- list: (_params: import("@did-pay/types").Pagination<{
55
+ }>>) => Promise<import("@blocklet/payment-types").TProductExpanded>;
56
+ list: (_params: import("@blocklet/payment-types").Pagination<{
57
57
  active?: boolean;
58
58
  name?: string;
59
59
  description?: string;
60
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TProductExpanded>>;
61
- search: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TProductExpanded>>;
62
- archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
60
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TProductExpanded>>;
61
+ search: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TProductExpanded>>;
62
+ archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
63
63
  omit: never;
64
64
  }>>;
65
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
65
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
66
66
  omit: never;
67
67
  }>>;
68
68
  };
69
69
  paymentIntents: {
70
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
70
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
71
71
  omit: never;
72
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
72
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
73
73
  omit: never;
74
74
  }>>;
75
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TPaymentIntentExpanded>;
76
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
75
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPaymentIntentExpanded>;
76
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
77
77
  omit: never;
78
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
78
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
79
79
  omit: never;
80
80
  }>>;
81
- list: (_params: import("@did-pay/types").Pagination<{
81
+ list: (_params: import("@blocklet/payment-types").Pagination<{
82
82
  status?: string;
83
83
  invoice_id?: string;
84
84
  customer_id?: string;
85
85
  customer_did?: string;
86
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TPaymentIntentExpanded>>;
87
- search: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TPaymentIntentExpanded>>;
86
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TPaymentIntentExpanded>>;
87
+ search: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TPaymentIntentExpanded>>;
88
88
  };
89
89
  paymentCurrencies: {
90
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
90
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
91
91
  omit: never;
92
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
92
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
93
93
  omit: never;
94
94
  }>>;
95
- retrieve: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
95
+ retrieve: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
96
96
  omit: never;
97
97
  }>>;
98
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
98
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
99
99
  omit: never;
100
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
100
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
101
101
  omit: never;
102
102
  }>>;
103
- list: (_params: any, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
103
+ list: (_params: any, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
104
104
  omit: never;
105
105
  }>[]>;
106
106
  };
107
107
  paymentMethods: {
108
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
108
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
109
109
  omit: never;
110
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
110
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
111
111
  omit: never;
112
112
  }>>;
113
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TPaymentMethodExpanded>;
114
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
113
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPaymentMethodExpanded>;
114
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
115
115
  omit: never;
116
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
116
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
117
117
  omit: never;
118
118
  }>>;
119
- list: (_params: any, data?: never) => Promise<import("@did-pay/types").TPaymentMethodExpanded[]>;
119
+ list: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").TPaymentMethodExpanded[]>;
120
120
  };
121
121
  paymentLinks: {
122
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
122
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
123
123
  omit: never;
124
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
124
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
125
125
  omit: never;
126
126
  }>>;
127
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TPaymentLinkExpanded>;
128
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
127
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPaymentLinkExpanded>;
128
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
129
129
  omit: never;
130
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
130
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
131
131
  omit: never;
132
132
  }>>;
133
- archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
133
+ archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
134
134
  omit: never;
135
135
  }>>;
136
- list: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TPaymentLinkExpanded>>;
136
+ list: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TPaymentLinkExpanded>>;
137
137
  };
138
138
  prices: {
139
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
139
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
140
140
  omit: never;
141
- }>>, params?: never) => Promise<import("@did-pay/types").TPriceExpanded>;
142
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TPriceExpanded>;
143
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
141
+ }>>, params?: never) => Promise<import("@blocklet/payment-types").TPriceExpanded>;
142
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPriceExpanded>;
143
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
144
144
  omit: never;
145
- }>>) => Promise<import("@did-pay/types").TPriceExpanded>;
146
- list: (_params: import("@did-pay/types").Pagination<{
145
+ }>>) => Promise<import("@blocklet/payment-types").TPriceExpanded>;
146
+ list: (_params: import("@blocklet/payment-types").Pagination<{
147
147
  active?: boolean;
148
148
  type?: string;
149
149
  currency_id?: string;
150
150
  product_id?: string;
151
151
  lookup_key?: string;
152
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TPriceExpanded>>;
153
- search: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TPriceExpanded>>;
154
- archive: (_params: string, data?: never) => Promise<import("@did-pay/types").TPriceExpanded>;
155
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
152
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TPriceExpanded>>;
153
+ search: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TPriceExpanded>>;
154
+ archive: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TPriceExpanded>;
155
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
156
156
  omit: never;
157
157
  }>>;
158
158
  };
159
159
  subscriptions: {
160
- create: (data: Partial<import("@did-pay/types").TSubscriptionExpanded>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
160
+ create: (data: Partial<import("@blocklet/payment-types").TSubscriptionExpanded>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
161
161
  omit: never;
162
162
  }>>;
163
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TSubscriptionExpanded>;
164
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
163
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TSubscriptionExpanded>;
164
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
165
165
  omit: never;
166
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
166
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
167
167
  omit: never;
168
168
  }>>;
169
- list: (_params: import("@did-pay/types").Pagination<{
169
+ list: (_params: import("@blocklet/payment-types").Pagination<{
170
170
  status?: string;
171
171
  customer_id?: string;
172
172
  customer_did?: string;
173
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TSubscriptionExpanded>>;
174
- search: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TSubscriptionExpanded>>;
175
- cancel: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
173
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TSubscriptionExpanded>>;
174
+ search: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TSubscriptionExpanded>>;
175
+ cancel: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
176
176
  omit: never;
177
177
  }>>;
178
- recover: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
178
+ recover: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
179
179
  omit: never;
180
180
  }>>;
181
- pause: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
181
+ pause: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
182
182
  omit: never;
183
183
  }>>;
184
- resume: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
184
+ resume: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
185
185
  omit: never;
186
186
  }>>;
187
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
187
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
188
188
  omit: never;
189
189
  }>>;
190
190
  };
191
191
  subscriptionItems: {
192
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
192
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
193
193
  omit: never;
194
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
194
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
195
195
  omit: never;
196
196
  }>>;
197
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TSubscriptionItemExpanded>;
198
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
197
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TSubscriptionItemExpanded>;
198
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
199
199
  omit: never;
200
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
200
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
201
201
  omit: never;
202
202
  }>>;
203
- list: (_params: import("@did-pay/types").Pagination<{
203
+ list: (_params: import("@blocklet/payment-types").Pagination<{
204
204
  subscription_id: string;
205
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TSubscriptionItemExpanded>>;
206
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
205
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TSubscriptionItemExpanded>>;
206
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
207
207
  omit: never;
208
208
  }>>;
209
- createUsageRecord: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").UsageRecord, {
209
+ createUsageRecord: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").UsageRecord, {
210
210
  omit: never;
211
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").UsageRecord, {
211
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").UsageRecord, {
212
212
  omit: never;
213
213
  }>>;
214
- listUsageRecordSummaries: (_params: import("@did-pay/types").Pagination<{
214
+ listUsageRecordSummaries: (_params: import("@blocklet/payment-types").Pagination<{
215
215
  subscription_item_id: string;
216
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TUsageRecordSummary>>;
217
- listUsageRecords: (_params: import("@did-pay/types").Pagination<{
216
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TUsageRecordSummary>>;
217
+ listUsageRecords: (_params: import("@blocklet/payment-types").Pagination<{
218
218
  subscription_item_id: string;
219
- }>, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TUsageRecordSummary>>;
219
+ }>, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TUsageRecordSummary>>;
220
220
  };
221
221
  webhookEndpoints: {
222
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
222
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
223
223
  omit: never;
224
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
224
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
225
225
  omit: never;
226
226
  }>>;
227
- retrieve: (_params: string, data?: never) => Promise<import("@did-pay/types").TWebhookEndpointExpanded>;
228
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
227
+ retrieve: (_params: string, data?: never) => Promise<import("@blocklet/payment-types").TWebhookEndpointExpanded>;
228
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
229
229
  omit: never;
230
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
230
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
231
231
  omit: never;
232
232
  }>>;
233
- list: (_params: any, data?: never) => Promise<import("@did-pay/types").Paginated<import("@did-pay/types").TWebhookEndpointExpanded>>;
234
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
233
+ list: (_params: any, data?: never) => Promise<import("@blocklet/payment-types").Paginated<import("@blocklet/payment-types").TWebhookEndpointExpanded>>;
234
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
235
235
  omit: never;
236
236
  }>>;
237
237
  };
@@ -243,4 +243,4 @@ declare const _default: {
243
243
  };
244
244
  };
245
245
  export default _default;
246
- export * from '@did-pay/types';
246
+ export * from '@blocklet/payment-types';
package/lib/index.js CHANGED
@@ -55,4 +55,4 @@ exports.default = {
55
55
  webhookEndpoints: webhook_endpoint_1.default,
56
56
  environments: resource_1.environments,
57
57
  };
58
- __exportStar(require("@did-pay/types"), exports);
58
+ __exportStar(require("@blocklet/payment-types"), exports);
@@ -1,8 +1,8 @@
1
- import type { Paginated, Pagination, TCheckoutSessionExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TCheckoutSessionExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TCheckoutSessionExpanded>;
@@ -15,7 +15,7 @@ declare const _default: {
15
15
  payment_intent_id?: string;
16
16
  subscription_id?: string;
17
17
  }>, data?: never) => Promise<Paginated<TCheckoutSessionExpanded>>;
18
- expire: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").CheckoutSession, {
18
+ expire: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").CheckoutSession, {
19
19
  omit: never;
20
20
  }>>;
21
21
  };
@@ -1,21 +1,21 @@
1
- import type { Paginated, Pagination, TCustomerExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TCustomerExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TCustomerExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
12
12
  omit: never;
13
13
  }>>;
14
14
  list: (_params: Pagination<{
15
15
  did?: string;
16
16
  }>, data?: never) => Promise<Paginated<TCustomerExpanded>>;
17
17
  search: (_params: any, data?: never) => Promise<Paginated<TCustomerExpanded>>;
18
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Customer, {
18
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Customer, {
19
19
  omit: never;
20
20
  }>>;
21
21
  };
@@ -1,18 +1,18 @@
1
1
  declare const _default: {
2
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
2
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
3
3
  omit: never;
4
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
4
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
5
5
  omit: never;
6
6
  }>>;
7
- retrieve: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
7
+ retrieve: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
8
8
  omit: never;
9
9
  }>>;
10
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
10
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
11
11
  omit: never;
12
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
12
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
13
13
  omit: never;
14
14
  }>>;
15
- list: (_params: any, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentCurrency, {
15
+ list: (_params: any, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentCurrency, {
16
16
  omit: never;
17
17
  }>[]>;
18
18
  };
@@ -1,14 +1,14 @@
1
- import type { Paginated, Pagination, TPaymentIntentExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TPaymentIntentExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TPaymentIntentExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentIntent, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentIntent, {
12
12
  omit: never;
13
13
  }>>;
14
14
  list: (_params: Pagination<{
@@ -1,17 +1,17 @@
1
- import type { Paginated, TPaymentLinkExpanded } from '@did-pay/types';
1
+ import type { Paginated, TPaymentLinkExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TPaymentLinkExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
12
12
  omit: never;
13
13
  }>>;
14
- archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentLink, {
14
+ archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentLink, {
15
15
  omit: never;
16
16
  }>>;
17
17
  list: (_params: any, data?: never) => Promise<Paginated<TPaymentLinkExpanded>>;
@@ -1,14 +1,14 @@
1
- import type { TPaymentMethodExpanded } from '@did-pay/types';
1
+ import type { TPaymentMethodExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TPaymentMethodExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").PaymentMethod, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").PaymentMethod, {
12
12
  omit: never;
13
13
  }>>;
14
14
  list: (_params: any, data?: never) => Promise<TPaymentMethodExpanded[]>;
@@ -1,4 +1,4 @@
1
- import type { Paginated, Pagination, TPriceExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TPriceExpanded } from '@blocklet/payment-types';
2
2
  type ListParams = {
3
3
  active?: boolean;
4
4
  type?: string;
@@ -7,17 +7,17 @@ type ListParams = {
7
7
  lookup_key?: string;
8
8
  };
9
9
  declare const _default: {
10
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
10
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
11
11
  omit: never;
12
12
  }>>, params?: never) => Promise<TPriceExpanded>;
13
13
  retrieve: (_params: string, data?: never) => Promise<TPriceExpanded>;
14
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
14
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
15
15
  omit: never;
16
16
  }>>) => Promise<TPriceExpanded>;
17
17
  list: (_params: Pagination<ListParams>, data?: never) => Promise<Paginated<TPriceExpanded>>;
18
18
  search: (_params: any, data?: never) => Promise<Paginated<TPriceExpanded>>;
19
19
  archive: (_params: string, data?: never) => Promise<TPriceExpanded>;
20
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Price, {
20
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Price, {
21
21
  omit: never;
22
22
  }>>;
23
23
  };
@@ -1,12 +1,12 @@
1
- import type { Paginated, Pagination, TPrice, TProductExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TPrice, TProductExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
4
4
  omit: never;
5
5
  }> & {
6
6
  prices: Partial<TPrice>[];
7
7
  }>, params?: never) => Promise<TProductExpanded>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TProductExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
10
10
  omit: never;
11
11
  }>>) => Promise<TProductExpanded>;
12
12
  list: (_params: Pagination<{
@@ -15,10 +15,10 @@ declare const _default: {
15
15
  description?: string;
16
16
  }>, data?: never) => Promise<Paginated<TProductExpanded>>;
17
17
  search: (_params: any, data?: never) => Promise<Paginated<TProductExpanded>>;
18
- archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
18
+ archive: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
19
19
  omit: never;
20
20
  }>>;
21
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Product, {
21
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Product, {
22
22
  omit: never;
23
23
  }>>;
24
24
  };
@@ -1,25 +1,25 @@
1
- import type { Paginated, Pagination, TSubscriptionItemExpanded, TUsageRecordSummary } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TSubscriptionItemExpanded, TUsageRecordSummary } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TSubscriptionItemExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
12
12
  omit: never;
13
13
  }>>;
14
14
  list: (_params: Pagination<{
15
15
  subscription_id: string;
16
16
  }>, data?: never) => Promise<Paginated<TSubscriptionItemExpanded>>;
17
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").SubscriptionItem, {
17
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").SubscriptionItem, {
18
18
  omit: never;
19
19
  }>>;
20
- createUsageRecord: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").UsageRecord, {
20
+ createUsageRecord: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").UsageRecord, {
21
21
  omit: never;
22
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").UsageRecord, {
22
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").UsageRecord, {
23
23
  omit: never;
24
24
  }>>;
25
25
  listUsageRecordSummaries: (_params: Pagination<{
@@ -1,12 +1,12 @@
1
- import type { Paginated, Pagination, TSubscriptionExpanded } from '@did-pay/types';
1
+ import type { Paginated, Pagination, TSubscriptionExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<TSubscriptionExpanded>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
3
+ create: (data: Partial<TSubscriptionExpanded>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
4
4
  omit: never;
5
5
  }>>;
6
6
  retrieve: (_params: string, data?: never) => Promise<TSubscriptionExpanded>;
7
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
7
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
8
8
  omit: never;
9
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
9
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
10
10
  omit: never;
11
11
  }>>;
12
12
  list: (_params: Pagination<{
@@ -15,19 +15,19 @@ declare const _default: {
15
15
  customer_did?: string;
16
16
  }>, data?: never) => Promise<Paginated<TSubscriptionExpanded>>;
17
17
  search: (_params: any, data?: never) => Promise<Paginated<TSubscriptionExpanded>>;
18
- cancel: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
18
+ cancel: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
19
19
  omit: never;
20
20
  }>>;
21
- recover: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
21
+ recover: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
22
22
  omit: never;
23
23
  }>>;
24
- pause: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
24
+ pause: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
25
25
  omit: never;
26
26
  }>>;
27
- resume: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
27
+ resume: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
28
28
  omit: never;
29
29
  }>>;
30
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").Subscription, {
30
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").Subscription, {
31
31
  omit: never;
32
32
  }>>;
33
33
  };
@@ -1,18 +1,18 @@
1
- import type { Paginated, TWebhookEndpointExpanded } from '@did-pay/types';
1
+ import type { Paginated, TWebhookEndpointExpanded } from '@blocklet/payment-types';
2
2
  declare const _default: {
3
- create: (data: Partial<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
3
+ create: (data: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
4
4
  omit: never;
5
- }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
5
+ }>>, params?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
6
6
  omit: never;
7
7
  }>>;
8
8
  retrieve: (_params: string, data?: never) => Promise<TWebhookEndpointExpanded>;
9
- update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
9
+ update: (_params: string, data?: Partial<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
10
10
  omit: never;
11
- }>>) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
11
+ }>>) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
12
12
  omit: never;
13
13
  }>>;
14
14
  list: (_params: any, data?: never) => Promise<Paginated<TWebhookEndpointExpanded>>;
15
- del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@did-pay/types").WebhookEndpoint, {
15
+ del: (_params: string, data?: never) => Promise<import("sequelize").InferAttributes<import("@blocklet/payment-types").WebhookEndpoint, {
16
16
  omit: never;
17
17
  }>>;
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-js",
3
- "version": "1.13.112",
3
+ "version": "1.13.114",
4
4
  "description": "Node.js client for Payment Kit",
5
5
  "keywords": [
6
6
  "types",
@@ -36,8 +36,8 @@
36
36
  "url": "https://github.com/blocklet/payment-kit/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@blocklet/sdk": "1.16.22",
40
- "@did-pay/types": "1.13.112"
39
+ "@blocklet/payment-types": "1.13.114",
40
+ "@blocklet/sdk": "1.16.22"
41
41
  },
42
42
  "importSort": {
43
43
  ".js, .jsx, .mjs": {
@@ -54,7 +54,7 @@
54
54
  "@arcblock/eslint-config-ts": "^0.2.4",
55
55
  "@types/lodash": "^4.14.202",
56
56
  "@types/node": "^18.19.2",
57
- "eslint": "^8.55.0",
57
+ "eslint": "^8.56.0",
58
58
  "import-sort-style-module": "^6.0.0",
59
59
  "prettier": "^2.8.8",
60
60
  "prettier-plugin-import-sort": "^0.0.7",
@@ -62,5 +62,5 @@
62
62
  "type-fest": "^4.8.3",
63
63
  "typescript": "^5.3.3"
64
64
  },
65
- "gitHead": "5db3e4ba2c5126a2ff6b8962b58d585b0eb0f01e"
65
+ "gitHead": "c8323e8e3322d6cb7b3a329576900bb8342d8631"
66
66
  }