chargebee 3.0.1 → 3.1.0

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.
Files changed (86) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/cjs/environment.js +1 -1
  3. package/cjs/resources/api_endpoints.js +16 -0
  4. package/esm/environment.js +1 -1
  5. package/esm/resources/api_endpoints.js +16 -0
  6. package/package.json +1 -1
  7. package/types/core.d.ts +588 -0
  8. package/types/index.d.ts +172 -0
  9. package/types/resources/Address.d.ts +71 -0
  10. package/types/resources/AdvanceInvoiceSchedule.d.ts +29 -0
  11. package/types/resources/AttachedItem.d.ts +116 -0
  12. package/types/resources/Attribute.d.ts +9 -0
  13. package/types/resources/BusinessEntity.d.ts +64 -0
  14. package/types/resources/BusinessEntityTransfer.d.ts +15 -0
  15. package/types/resources/Card.d.ts +172 -0
  16. package/types/resources/Comment.d.ts +92 -0
  17. package/types/resources/Contact.d.ts +16 -0
  18. package/types/resources/ContractTerm.d.ts +19 -0
  19. package/types/resources/Coupon.d.ts +329 -0
  20. package/types/resources/CouponCode.d.ts +70 -0
  21. package/types/resources/CouponSet.d.ts +111 -0
  22. package/types/resources/CreditNote.d.ts +629 -0
  23. package/types/resources/CreditNoteEstimate.d.ts +143 -0
  24. package/types/resources/Currency.d.ts +91 -0
  25. package/types/resources/Customer.d.ts +964 -0
  26. package/types/resources/CustomerEntitlement.d.ts +36 -0
  27. package/types/resources/DifferentialPrice.d.ts +144 -0
  28. package/types/resources/Discount.d.ts +24 -0
  29. package/types/resources/Download.d.ts +10 -0
  30. package/types/resources/Entitlement.d.ts +66 -0
  31. package/types/resources/EntitlementOverride.d.ts +76 -0
  32. package/types/resources/Estimate.d.ts +1237 -0
  33. package/types/resources/Event.d.ts +81 -0
  34. package/types/resources/Export.d.ts +615 -0
  35. package/types/resources/Feature.d.ts +142 -0
  36. package/types/resources/GatewayErrorDetail.d.ts +20 -0
  37. package/types/resources/Gift.d.ts +296 -0
  38. package/types/resources/Hierarchy.d.ts +12 -0
  39. package/types/resources/HostedPage.d.ts +1112 -0
  40. package/types/resources/ImpactedItem.d.ts +20 -0
  41. package/types/resources/ImpactedItemPrice.d.ts +20 -0
  42. package/types/resources/ImpactedSubscription.d.ts +20 -0
  43. package/types/resources/InAppSubscription.d.ts +116 -0
  44. package/types/resources/Invoice.d.ts +1695 -0
  45. package/types/resources/InvoiceEstimate.d.ts +143 -0
  46. package/types/resources/Item.d.ts +208 -0
  47. package/types/resources/ItemEntitlement.d.ts +103 -0
  48. package/types/resources/ItemFamily.d.ts +93 -0
  49. package/types/resources/ItemPrice.d.ts +332 -0
  50. package/types/resources/Metadata.d.ts +8 -0
  51. package/types/resources/NonSubscription.d.ts +48 -0
  52. package/types/resources/OmnichannelSubscription.d.ts +75 -0
  53. package/types/resources/OmnichannelTransaction.d.ts +16 -0
  54. package/types/resources/Order.d.ts +586 -0
  55. package/types/resources/PaymentIntent.d.ts +178 -0
  56. package/types/resources/PaymentReferenceNumber.d.ts +11 -0
  57. package/types/resources/PaymentSchedule.d.ts +28 -0
  58. package/types/resources/PaymentScheduleEstimate.d.ts +25 -0
  59. package/types/resources/PaymentScheduleScheme.d.ts +67 -0
  60. package/types/resources/PaymentSource.d.ts +530 -0
  61. package/types/resources/PaymentVoucher.d.ts +107 -0
  62. package/types/resources/PortalSession.d.ts +88 -0
  63. package/types/resources/PriceVariant.d.ts +116 -0
  64. package/types/resources/PricingPageSession.d.ts +130 -0
  65. package/types/resources/PromotionalCredit.d.ts +111 -0
  66. package/types/resources/Purchase.d.ts +202 -0
  67. package/types/resources/Quote.d.ts +1467 -0
  68. package/types/resources/QuoteLineGroup.d.ts +136 -0
  69. package/types/resources/QuotedCharge.d.ts +56 -0
  70. package/types/resources/QuotedSubscription.d.ts +114 -0
  71. package/types/resources/Ramp.d.ts +260 -0
  72. package/types/resources/RecordedPurchase.d.ts +60 -0
  73. package/types/resources/ResourceMigration.d.ts +36 -0
  74. package/types/resources/SiteMigrationDetail.d.ts +46 -0
  75. package/types/resources/Subscription.d.ts +2447 -0
  76. package/types/resources/SubscriptionEntitlement.d.ts +79 -0
  77. package/types/resources/SubscriptionEstimate.d.ts +59 -0
  78. package/types/resources/TaxWithheld.d.ts +19 -0
  79. package/types/resources/ThirdPartyPaymentMethod.d.ts +11 -0
  80. package/types/resources/TimeMachine.d.ts +57 -0
  81. package/types/resources/Token.d.ts +19 -0
  82. package/types/resources/Transaction.d.ts +316 -0
  83. package/types/resources/UnbilledCharge.d.ts +209 -0
  84. package/types/resources/Usage.d.ts +113 -0
  85. package/types/resources/VirtualBankAccount.d.ts +125 -0
  86. package/types/resources/filter.d.ts +52 -0
@@ -0,0 +1,79 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+ ///<reference path='./filter.d.ts'/>
4
+ declare module 'chargebee' {
5
+ export interface SubscriptionEntitlement {
6
+ subscription_id: string;
7
+ feature_id?: string;
8
+ feature_name?: string;
9
+ feature_unit?: string;
10
+ feature_type?: string;
11
+ value?: string;
12
+ name?: string;
13
+ is_overridden: boolean;
14
+ is_enabled: boolean;
15
+ effective_from?: number;
16
+ schedule_status?: 'activated' | 'scheduled' | 'failed';
17
+ expires_at?: number;
18
+ components?: SubscriptionEntitlement.Component;
19
+ }
20
+
21
+ export namespace SubscriptionEntitlement {
22
+ export class SubscriptionEntitlementResource {
23
+ subscriptionEntitlementsForSubscription(
24
+ subscription_id: string,
25
+ input?: SubscriptionEntitlementsForSubscriptionInputParam,
26
+ headers?: ChargebeeRequestHeader,
27
+ ): Promise<
28
+ ChargebeeResponse<SubscriptionEntitlementsForSubscriptionResponse>
29
+ >;
30
+
31
+ setSubscriptionEntitlementAvailability(
32
+ subscription_id: string,
33
+ input: SetSubscriptionEntitlementAvailabilityInputParam,
34
+ headers?: ChargebeeRequestHeader,
35
+ ): Promise<
36
+ ChargebeeResponse<SetSubscriptionEntitlementAvailabilityResponse>
37
+ >;
38
+ }
39
+
40
+ export interface SubscriptionEntitlementsForSubscriptionResponse {
41
+ list: { subscription_entitlement: SubscriptionEntitlement }[];
42
+ next_offset?: string;
43
+ }
44
+
45
+ export interface SetSubscriptionEntitlementAvailabilityResponse {
46
+ subscription_entitlement: SubscriptionEntitlement;
47
+ }
48
+
49
+ export interface Component {
50
+ entitlement_overrides?: EntitlementOverride;
51
+ }
52
+ // REQUEST PARAMS
53
+ //---------------
54
+
55
+ export interface SubscriptionEntitlementsForSubscriptionInputParam {
56
+ limit?: number;
57
+ offset?: string /**
58
+ * @deprecated Please refer API docs to use other attributes
59
+ */;
60
+
61
+ include_drafts?: boolean /**
62
+ * @deprecated Please refer API docs to use other attributes
63
+ */;
64
+
65
+ embed?: string /**
66
+ * @deprecated Please refer API docs to use other attributes
67
+ */;
68
+
69
+ include_scheduled_overrides?: boolean;
70
+ }
71
+ export interface SetSubscriptionEntitlementAvailabilityInputParam {
72
+ is_enabled: boolean;
73
+ subscription_entitlements?: SubscriptionEntitlementsSetSubscriptionEntitlementAvailabilityInputParam[];
74
+ }
75
+ export interface SubscriptionEntitlementsSetSubscriptionEntitlementAvailabilityInputParam {
76
+ feature_id: string;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,59 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface SubscriptionEstimate {
6
+ id?: string;
7
+ currency_code: string;
8
+ status?:
9
+ | 'future'
10
+ | 'in_trial'
11
+ | 'active'
12
+ | 'non_renewing'
13
+ | 'paused'
14
+ | 'cancelled'
15
+ | 'transferred';
16
+ trial_end_action?: TrialEndActionEnum;
17
+ next_billing_at?: number;
18
+ pause_date?: number;
19
+ resume_date?: number;
20
+ shipping_address?: SubscriptionEstimate.ShippingAddress;
21
+ contract_term?: SubscriptionEstimate.ContractTerm;
22
+ }
23
+
24
+ export namespace SubscriptionEstimate {
25
+ export interface ShippingAddress {
26
+ first_name?: string;
27
+ last_name?: string;
28
+ email?: string;
29
+ company?: string;
30
+ phone?: string;
31
+ line1?: string;
32
+ line2?: string;
33
+ line3?: string;
34
+ city?: string;
35
+ state_code?: string;
36
+ state?: string;
37
+ country?: string;
38
+ zip?: string;
39
+ validation_status?: ValidationStatusEnum;
40
+ index: number;
41
+ }
42
+ export interface ContractTerm {
43
+ id: string;
44
+ status: 'active' | 'completed' | 'cancelled' | 'terminated';
45
+ contract_start: number;
46
+ contract_end: number;
47
+ billing_cycle: number;
48
+ action_at_term_end: 'renew' | 'evergreen' | 'cancel' | 'renew_once';
49
+ total_contract_value: number;
50
+ total_contract_value_before_tax: number;
51
+ cancellation_cutoff_period?: number;
52
+ created_at: number;
53
+ subscription_id: string;
54
+ remaining_billing_cycles?: number;
55
+ }
56
+ // REQUEST PARAMS
57
+ //---------------
58
+ }
59
+ }
@@ -0,0 +1,19 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface TaxWithheld {
6
+ id: string;
7
+ user?: string;
8
+ reference_number?: string;
9
+ description?: string;
10
+ type: 'payment' | 'refund';
11
+ payment_method: 'cash' | 'check' | 'chargeback' | 'bank_transfer' | 'other';
12
+ date?: number;
13
+ currency_code: string;
14
+ amount?: number;
15
+ resource_version?: number;
16
+ updated_at?: number;
17
+ exchange_rate?: number;
18
+ }
19
+ }
@@ -0,0 +1,11 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface ThirdPartyPaymentMethod {
6
+ type: TypeEnum;
7
+ gateway: GatewayEnum;
8
+ gateway_account_id?: string;
9
+ reference_id: string;
10
+ }
11
+ }
@@ -0,0 +1,57 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface TimeMachine {
6
+ name: string;
7
+ time_travel_status: 'not_enabled' | 'in_progress' | 'succeeded' | 'failed';
8
+ genesis_time: number;
9
+ destination_time: number;
10
+ failure_code?: string;
11
+ failure_reason?: string;
12
+ error_json?: string;
13
+ }
14
+
15
+ export namespace TimeMachine {
16
+ export class TimeMachineResource {
17
+ retrieve(
18
+ time_machine_name: string,
19
+ headers?: ChargebeeRequestHeader,
20
+ ): Promise<ChargebeeResponse<RetrieveResponse>>;
21
+
22
+ startAfresh(
23
+ time_machine_name: string,
24
+ input?: StartAfreshInputParam,
25
+ headers?: ChargebeeRequestHeader,
26
+ ): Promise<ChargebeeResponse<StartAfreshResponse>>;
27
+
28
+ travelForward(
29
+ time_machine_name: string,
30
+ input?: TravelForwardInputParam,
31
+ headers?: ChargebeeRequestHeader,
32
+ ): Promise<ChargebeeResponse<TravelForwardResponse>>;
33
+ }
34
+
35
+ export interface RetrieveResponse {
36
+ time_machine: TimeMachine;
37
+ }
38
+
39
+ export interface StartAfreshResponse {
40
+ time_machine: TimeMachine;
41
+ }
42
+
43
+ export interface TravelForwardResponse {
44
+ time_machine: TimeMachine;
45
+ }
46
+
47
+ // REQUEST PARAMS
48
+ //---------------
49
+
50
+ export interface StartAfreshInputParam {
51
+ genesis_time?: number;
52
+ }
53
+ export interface TravelForwardInputParam {
54
+ destination_time?: number;
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,19 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+
4
+ declare module 'chargebee' {
5
+ export interface Token {
6
+ id: string;
7
+ gateway: GatewayEnum;
8
+ gateway_account_id: string;
9
+ payment_method_type: PaymentMethodTypeEnum;
10
+ status: 'new' | 'expired' | 'consumed';
11
+ id_at_vault: string;
12
+ vault: 'spreedly' | 'gateway';
13
+ ip_address?: string;
14
+ resource_version?: number;
15
+ updated_at?: number;
16
+ created_at: number;
17
+ expired_at?: number;
18
+ }
19
+ }
@@ -0,0 +1,316 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ ///<reference path='./../index.d.ts'/>
3
+ ///<reference path='./filter.d.ts'/>
4
+ declare module 'chargebee' {
5
+ export interface Transaction {
6
+ id: string;
7
+ customer_id?: string;
8
+ subscription_id?: string;
9
+ gateway_account_id?: string;
10
+ payment_source_id?: string;
11
+ payment_method: PaymentMethodEnum;
12
+ reference_number?: string;
13
+ gateway: GatewayEnum;
14
+ type: 'authorization' | 'payment' | 'refund' | 'payment_reversal';
15
+ date?: number;
16
+ settled_at?: number;
17
+ exchange_rate?: number;
18
+ currency_code: string;
19
+ amount?: number;
20
+ id_at_gateway?: string;
21
+ status?:
22
+ | 'in_progress'
23
+ | 'success'
24
+ | 'voided'
25
+ | 'failure'
26
+ | 'timeout'
27
+ | 'needs_attention'
28
+ | 'late_failure';
29
+ fraud_flag?: 'safe' | 'suspicious' | 'fraudulent';
30
+ initiator_type?: 'customer' | 'merchant';
31
+ three_d_secure?: boolean;
32
+ authorization_reason?: 'blocking_funds' | 'verification';
33
+ error_code?: string;
34
+ error_text?: string;
35
+ voided_at?: number;
36
+ resource_version?: number;
37
+ updated_at?: number;
38
+ fraud_reason?: string;
39
+ custom_payment_method_id?: string;
40
+ amount_unused?: number;
41
+ masked_card_number?: string;
42
+ reference_transaction_id?: string;
43
+ refunded_txn_id?: string;
44
+ reference_authorization_id?: string;
45
+ amount_capturable?: number;
46
+ reversal_transaction_id?: string;
47
+ linked_invoices?: Transaction.LinkedInvoice[];
48
+ linked_credit_notes?: Transaction.LinkedCreditNote[];
49
+ linked_refunds?: Transaction.LinkedRefund[];
50
+ linked_payments?: Transaction.LinkedPayment[];
51
+ deleted: boolean;
52
+ iin?: string;
53
+ last4?: string;
54
+ merchant_reference_id?: string;
55
+ business_entity_id?: string;
56
+ payment_method_details?: string;
57
+ error_detail?: Transaction.GatewayErrorDetail;
58
+ custom_payment_method_name?: string;
59
+ }
60
+
61
+ export namespace Transaction {
62
+ export class TransactionResource {
63
+ createAuthorization(
64
+ input: CreateAuthorizationInputParam,
65
+ headers?: ChargebeeRequestHeader,
66
+ ): Promise<ChargebeeResponse<CreateAuthorizationResponse>>;
67
+
68
+ voidTransaction(
69
+ transaction_id: string,
70
+ headers?: ChargebeeRequestHeader,
71
+ ): Promise<ChargebeeResponse<VoidTransactionResponse>>;
72
+
73
+ recordRefund(
74
+ transaction_id: string,
75
+ input: RecordRefundInputParam,
76
+ headers?: ChargebeeRequestHeader,
77
+ ): Promise<ChargebeeResponse<RecordRefundResponse>>;
78
+
79
+ reconcile(
80
+ transaction_id: string,
81
+ input?: ReconcileInputParam,
82
+ headers?: ChargebeeRequestHeader,
83
+ ): Promise<ChargebeeResponse<ReconcileResponse>>;
84
+
85
+ refund(
86
+ transaction_id: string,
87
+ input?: RefundInputParam,
88
+ headers?: ChargebeeRequestHeader,
89
+ ): Promise<ChargebeeResponse<RefundResponse>>;
90
+
91
+ list(
92
+ input?: ListInputParam,
93
+ headers?: ChargebeeRequestHeader,
94
+ ): Promise<ChargebeeResponse<ListResponse>>;
95
+
96
+ transactionsForCustomer(
97
+ customer_id: string,
98
+ input?: TransactionsForCustomerInputParam,
99
+ headers?: ChargebeeRequestHeader,
100
+ ): Promise<ChargebeeResponse<TransactionsForCustomerResponse>>;
101
+
102
+ transactionsForSubscription(
103
+ subscription_id: string,
104
+ input?: TransactionsForSubscriptionInputParam,
105
+ headers?: ChargebeeRequestHeader,
106
+ ): Promise<ChargebeeResponse<TransactionsForSubscriptionResponse>>;
107
+
108
+ paymentsForInvoice(
109
+ invoice_id: string,
110
+ input?: PaymentsForInvoiceInputParam,
111
+ headers?: ChargebeeRequestHeader,
112
+ ): Promise<ChargebeeResponse<PaymentsForInvoiceResponse>>;
113
+
114
+ retrieve(
115
+ transaction_id: string,
116
+ headers?: ChargebeeRequestHeader,
117
+ ): Promise<ChargebeeResponse<RetrieveResponse>>;
118
+
119
+ deleteOfflineTransaction(
120
+ transaction_id: string,
121
+ input?: DeleteOfflineTransactionInputParam,
122
+ headers?: ChargebeeRequestHeader,
123
+ ): Promise<ChargebeeResponse<DeleteOfflineTransactionResponse>>;
124
+ }
125
+
126
+ export interface CreateAuthorizationResponse {
127
+ transaction: Transaction;
128
+ }
129
+
130
+ export interface VoidTransactionResponse {
131
+ transaction: Transaction;
132
+ }
133
+
134
+ export interface RecordRefundResponse {
135
+ transaction: Transaction;
136
+ }
137
+
138
+ export interface ReconcileResponse {
139
+ transaction: Transaction;
140
+ }
141
+
142
+ export interface RefundResponse {
143
+ transaction: Transaction;
144
+ }
145
+
146
+ export interface ListResponse {
147
+ list: { transaction: Transaction }[];
148
+ next_offset?: string;
149
+ }
150
+
151
+ export interface TransactionsForCustomerResponse {
152
+ list: { transaction: Transaction }[];
153
+ next_offset?: string;
154
+ }
155
+
156
+ export interface TransactionsForSubscriptionResponse {
157
+ list: { transaction: Transaction }[];
158
+ next_offset?: string;
159
+ }
160
+
161
+ export interface PaymentsForInvoiceResponse {
162
+ list: { transaction: Transaction }[];
163
+ next_offset?: string;
164
+ }
165
+
166
+ export interface RetrieveResponse {
167
+ transaction: Transaction;
168
+ }
169
+
170
+ export interface DeleteOfflineTransactionResponse {
171
+ transaction: Transaction;
172
+ }
173
+
174
+ export interface LinkedInvoice {
175
+ invoice_id: string;
176
+ applied_amount: number;
177
+ applied_at: number;
178
+ invoice_date?: number;
179
+ invoice_total?: number;
180
+ invoice_status:
181
+ | 'paid'
182
+ | 'posted'
183
+ | 'payment_due'
184
+ | 'not_paid'
185
+ | 'voided'
186
+ | 'pending';
187
+ }
188
+ export interface LinkedCreditNote {
189
+ cn_id: string;
190
+ applied_amount: number;
191
+ applied_at: number;
192
+ cn_reason_code?:
193
+ | 'write_off'
194
+ | 'subscription_change'
195
+ | 'subscription_cancellation'
196
+ | 'subscription_pause'
197
+ | 'chargeback'
198
+ | 'product_unsatisfactory'
199
+ | 'service_unsatisfactory'
200
+ | 'order_change'
201
+ | 'order_cancellation'
202
+ | 'waiver'
203
+ | 'other'
204
+ | 'fraudulent';
205
+ cn_create_reason_code?: string;
206
+ cn_date?: number;
207
+ cn_total?: number;
208
+ cn_status: 'adjusted' | 'refunded' | 'refund_due' | 'voided';
209
+ cn_reference_invoice_id?: string;
210
+ }
211
+ export interface LinkedRefund {
212
+ txn_id: string;
213
+ txn_status:
214
+ | 'in_progress'
215
+ | 'success'
216
+ | 'voided'
217
+ | 'failure'
218
+ | 'timeout'
219
+ | 'needs_attention'
220
+ | 'late_failure';
221
+ txn_date: number;
222
+ txn_amount: number;
223
+ }
224
+ export interface LinkedPayment {
225
+ id: string;
226
+ status?:
227
+ | 'in_progress'
228
+ | 'success'
229
+ | 'voided'
230
+ | 'failure'
231
+ | 'timeout'
232
+ | 'needs_attention'
233
+ | 'late_failure';
234
+ amount?: number;
235
+ date?: number;
236
+ }
237
+ export interface GatewayErrorDetail {
238
+ request_id?: string;
239
+ error_category?: string;
240
+ error_code?: string;
241
+ error_message?: string;
242
+ decline_code?: string;
243
+ decline_message?: string;
244
+ network_error_code?: string;
245
+ network_error_message?: string;
246
+ error_field?: string;
247
+ recommendation_code?: string;
248
+ recommendation_message?: string;
249
+ processor_error_code?: string;
250
+ processor_error_message?: string;
251
+ }
252
+ // REQUEST PARAMS
253
+ //---------------
254
+
255
+ export interface CreateAuthorizationInputParam {
256
+ customer_id: string;
257
+ payment_source_id?: string;
258
+ currency_code?: string;
259
+ amount: number;
260
+ }
261
+ export interface RecordRefundInputParam {
262
+ amount?: number;
263
+ payment_method: PaymentMethodEnum;
264
+ date: number;
265
+ reference_number?: string;
266
+ custom_payment_method_id?: string;
267
+ comment?: string;
268
+ }
269
+ export interface ReconcileInputParam {
270
+ id_at_gateway?: string;
271
+ customer_id?: string;
272
+ status?: 'success' | 'failure';
273
+ }
274
+ export interface RefundInputParam {
275
+ amount?: number;
276
+ comment?: string;
277
+ }
278
+ export interface ListInputParam {
279
+ limit?: number;
280
+ offset?: string;
281
+ include_deleted?: boolean;
282
+ id?: filter.String;
283
+ customer_id?: filter.String;
284
+ subscription_id?: filter.String;
285
+ payment_source_id?: filter.String;
286
+ payment_method?: filter.Enum;
287
+ gateway?: filter.Enum;
288
+ gateway_account_id?: filter.String;
289
+ id_at_gateway?: filter.String;
290
+ reference_number?: filter.String;
291
+ type?: filter.Enum;
292
+ date?: filter.Timestamp;
293
+ amount?: filter.Number;
294
+ amount_capturable?: filter.Number;
295
+ status?: filter.Enum;
296
+ updated_at?: filter.Timestamp;
297
+ 'sort_by[asc]'?: string;
298
+ 'sort_by[desc]'?: string;
299
+ }
300
+ export interface TransactionsForCustomerInputParam {
301
+ limit?: number;
302
+ offset?: string;
303
+ }
304
+ export interface TransactionsForSubscriptionInputParam {
305
+ limit?: number;
306
+ offset?: string;
307
+ }
308
+ export interface PaymentsForInvoiceInputParam {
309
+ limit?: number;
310
+ offset?: string;
311
+ }
312
+ export interface DeleteOfflineTransactionInputParam {
313
+ comment?: string;
314
+ }
315
+ }
316
+ }