chargebee 2.41.0 → 3.0.0-beta.2
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/CHANGELOG.md +11 -15
- package/LICENSE +1 -1
- package/README.md +90 -170
- package/cjs/RequestWrapper.js +84 -0
- package/cjs/asyncApiSupport.js +39 -0
- package/cjs/chargebee.cjs.js +13 -0
- package/cjs/chargebee.cjs.worker.js +9 -0
- package/cjs/chargebeeError.js +17 -0
- package/cjs/coreCommon.js +72 -0
- package/cjs/createChargebee.js +92 -0
- package/cjs/environment.js +18 -0
- package/cjs/filter.js +1 -0
- package/cjs/net/ClientInterface.js +40 -0
- package/cjs/net/FetchClient.js +86 -0
- package/cjs/net/NodeClient.js +61 -0
- package/cjs/package.json +1 -0
- package/cjs/resources/api_endpoints.js +1086 -0
- package/cjs/util.js +218 -0
- package/esm/RequestWrapper.js +80 -0
- package/esm/asyncApiSupport.js +35 -0
- package/esm/chargebee.esm.js +9 -0
- package/esm/chargebee.esm.worker.js +5 -0
- package/esm/chargebeeError.js +13 -0
- package/esm/coreCommon.js +67 -0
- package/esm/createChargebee.js +88 -0
- package/esm/environment.js +15 -0
- package/esm/filter.js +1 -0
- package/esm/net/ClientInterface.js +35 -0
- package/esm/net/FetchClient.js +81 -0
- package/esm/net/NodeClient.js +56 -0
- package/esm/package.json +1 -0
- package/esm/resources/api_endpoints.js +1083 -0
- package/esm/util.js +202 -0
- package/package.json +69 -38
- package/types/core.d.ts +558 -89
- package/types/index.d.ts +90 -55
- package/types/resources/Address.d.ts +57 -272
- package/types/resources/AdvanceInvoiceSchedule.d.ts +21 -94
- package/types/resources/AttachedItem.d.ts +91 -329
- package/types/resources/Attribute.d.ts +5 -5
- package/types/resources/BusinessEntity.d.ts +49 -69
- package/types/resources/BusinessEntityTransfer.d.ts +11 -17
- package/types/resources/Card.d.ts +146 -424
- package/types/resources/Comment.d.ts +72 -189
- package/types/resources/Contact.d.ts +12 -64
- package/types/resources/ContractTerm.d.ts +15 -96
- package/types/resources/Coupon.d.ts +282 -758
- package/types/resources/CouponCode.d.ts +56 -52
- package/types/resources/CouponSet.d.ts +92 -234
- package/types/resources/CreditNote.d.ts +588 -1758
- package/types/resources/CreditNoteEstimate.d.ts +131 -157
- package/types/resources/Currency.d.ts +75 -62
- package/types/resources/Customer.d.ts +892 -835
- package/types/resources/CustomerEntitlement.d.ts +24 -35
- package/types/resources/DifferentialPrice.d.ts +116 -314
- package/types/resources/Discount.d.ts +20 -125
- package/types/resources/Download.d.ts +6 -22
- package/types/resources/Entitlement.d.ts +51 -160
- package/types/resources/EntitlementOverride.d.ts +58 -139
- package/types/resources/Estimate.d.ts +1178 -527
- package/types/resources/Event.d.ts +67 -178
- package/types/resources/Export.d.ts +563 -723
- package/types/resources/Feature.d.ts +117 -433
- package/types/resources/GatewayErrorDetail.d.ts +16 -72
- package/types/resources/Gift.d.ts +265 -432
- package/types/resources/Hierarchy.d.ts +8 -36
- package/types/resources/HostedPage.d.ts +1017 -1153
- package/types/resources/ImpactedItem.d.ts +13 -50
- package/types/resources/ImpactedItemPrice.d.ts +13 -15
- package/types/resources/ImpactedSubscription.d.ts +13 -45
- package/types/resources/InAppSubscription.d.ts +93 -389
- package/types/resources/Installment.d.ts +35 -110
- package/types/resources/InstallmentConfig.d.ts +54 -155
- package/types/resources/InstallmentDetail.d.ts +19 -27
- package/types/resources/Invoice.d.ts +1574 -3157
- package/types/resources/InvoiceEstimate.d.ts +131 -161
- package/types/resources/Item.d.ts +133 -611
- package/types/resources/ItemEntitlement.d.ts +78 -215
- package/types/resources/ItemFamily.d.ts +69 -178
- package/types/resources/ItemPrice.d.ts +291 -1203
- package/types/resources/Metadata.d.ts +3 -5
- package/types/resources/Order.d.ts +538 -1471
- package/types/resources/PaymentIntent.d.ts +163 -347
- package/types/resources/PaymentReferenceNumber.d.ts +7 -29
- package/types/resources/PaymentSource.d.ts +476 -1272
- package/types/resources/PaymentVoucher.d.ts +87 -306
- package/types/resources/PortalSession.d.ts +71 -207
- package/types/resources/PriceVariant.d.ts +91 -279
- package/types/resources/PricingPageSession.d.ts +92 -41
- package/types/resources/PromotionalCredit.d.ts +90 -346
- package/types/resources/Purchase.d.ts +185 -315
- package/types/resources/Quote.d.ts +1406 -887
- package/types/resources/QuoteLineGroup.d.ts +125 -452
- package/types/resources/QuotedCharge.d.ts +45 -274
- package/types/resources/QuotedSubscription.d.ts +100 -488
- package/types/resources/Ramp.d.ts +230 -747
- package/types/resources/ResourceMigration.d.ts +25 -80
- package/types/resources/SiteMigrationDetail.d.ts +34 -112
- package/types/resources/Subscription.d.ts +2390 -4336
- package/types/resources/SubscriptionEntitlement.d.ts +59 -160
- package/types/resources/SubscriptionEstimate.d.ts +51 -75
- package/types/resources/TaxWithheld.d.ts +15 -40
- package/types/resources/ThirdPartyPaymentMethod.d.ts +7 -29
- package/types/resources/TimeMachine.d.ts +43 -97
- package/types/resources/Token.d.ts +15 -85
- package/types/resources/Transaction.d.ts +276 -911
- package/types/resources/UnbilledCharge.d.ts +189 -164
- package/types/resources/Usage.d.ts +89 -279
- package/types/resources/VirtualBankAccount.d.ts +103 -255
- package/types/resources/filter.d.ts +52 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -81
- package/.github/ISSUE_TEMPLATE/config.yml +0 -6
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -34
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -8
- package/lib/chargebee.js +0 -512
- package/lib/resources/api_endpoints.js +0 -2935
- package/types/resources/NonSubscription.d.ts +0 -30
- package/types/resources/Session.d.ts +0 -41
|
@@ -1,277 +1,125 @@
|
|
|
1
1
|
///<reference path='./../core.d.ts'/>
|
|
2
2
|
///<reference path='./../index.d.ts'/>
|
|
3
|
+
///<reference path='./filter.d.ts'/>
|
|
3
4
|
declare module 'chargebee' {
|
|
4
5
|
export interface VirtualBankAccount {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @description type of the credit transfer \* ach_credit - ACH Credit Transfer \* sepa_credit - SEPA Credit Transfer
|
|
29
|
-
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
scheme?:'eu_automated_bank_transfer' | 'gb_automated_bank_transfer' | 'mx_automated_bank_transfer' | 'ach_credit' | 'us_automated_bank_transfer' | 'jp_automated_bank_transfer' | 'sepa_credit';
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @description Name of the bank
|
|
36
|
-
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
bank_name?:string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @description The account number to which funds will be transferred.
|
|
43
|
-
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
account_number:string;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @description The routing number of the bank
|
|
50
|
-
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
routing_number?:string;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @description Swift code of the bank in which the account exists.
|
|
57
|
-
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
swift_code:string;
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @description Name of the gateway this virtual bank account is stored in. \* ecentric - Ecentric provides a seamless payment processing service in South Africa specializing on omnichannel capabilities. \* bluesnap - BlueSnap is a payment gateway. \* tco - 2Checkout is a payment gateway. \* first_data_global - First Data Global Gateway Virtual Terminal Account \* exact - Exact Payments is a payment gateway. \* bluepay - BluePay is a payment gateway. \* paypal_express_checkout - PayPal Express Checkout is a payment gateway. \* eway - eWAY Account is a payment gateway. \* metrics_global - Metrics global is a leading payment service provider providing unified payment services in the US. \* paypal_payflow_pro - PayPal Payflow Pro is a payment gateway. \* razorpay - Razorpay is a fast growing payment service provider in India working with all leading banks and support for major local payment methods including Netbanking, UPI etc. \* global_payments - Global Payments is a payment service provider. \* amazon_payments - Amazon Payments is a payment service provider. \* not_applicable - Indicates that payment gateway is not applicable for this resource. \* windcave - Windcave provides an end to end payment processing solution in ANZ and other leading global markets. \* checkout_com - Checkout.com is a payment gateway. \* adyen - Adyen is a payment gateway. \* braintree - Braintree is a payment gateway. \* nmi - NMI is a payment gateway. \* quickbooks - Intuit QuickBooks Payments gateway \* wepay - WePay is a payment gateway. \* worldpay - WorldPay is a payment gateway \* wirecard - WireCard Account is a payment service provider. \* chargebee_payments - Chargebee Payments gateway \* sage_pay - Sage Pay is a payment gateway. \* moneris_us - Moneris USA is a payment gateway. \* pin - Pin is a payment gateway \* authorize_net - Authorize.net is a payment gateway \* elavon - Elavon Virtual Merchant is a payment solution. \* paypal_pro - PayPal Pro Account is a payment gateway. \* orbital - Chase Paymentech(Orbital) is a payment gateway. \* paypal - PayPal Commerce is a payment gateway. \* beanstream - Bambora(formerly known as Beanstream) is a payment gateway. \* hdfc - HDFC Account is a payment gateway. \* ingenico_direct - Worldline Online Payments is a payment gateway. \* ogone - Ingenico ePayments (formerly known as Ogone) is a payment gateway. \* migs - MasterCard Internet Gateway Service payment gateway. \* stripe - Stripe is a payment gateway. \* vantiv - Vantiv is a payment gateway. \* moneris - Moneris is a payment gateway. \* bank_of_america - Bank of America Gateway \* chargebee - Chargebee test gateway. \* eway_rapid - eWAY Rapid is a payment gateway. \* gocardless - GoCardless is a payment service provider. \* mollie - Mollie is a payment gateway. \* paymill - PAYMILL is a payment gateway. \* balanced_payments - Balanced is a payment gateway \* cybersource - CyberSource is a payment gateway. \* ebanx - EBANX is a payment gateway, enabling businesses to accept diverse local payment methods from various countries for increased market reach and conversion.
|
|
64
|
-
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
gateway:Gateway;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @description The gateway account in which this virtual bank account is stored.
|
|
71
|
-
|
|
72
|
-
*/
|
|
73
|
-
|
|
74
|
-
gateway_account_id:string;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @description Version number of this resource. The `resource_version` is updated with a new timestamp in milliseconds for every change made to the resource. This attribute will be present only if the resource has been updated after 2016-09-28.
|
|
78
|
-
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
resource_version?:number;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* @description Timestamp indicating when this virtual bank account resource was last updated.
|
|
85
|
-
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
updated_at?:number;
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* @description Timestamp indicating when this virtual bank account resource is created.
|
|
92
|
-
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
created_at:number;
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @description Identifier provided by the gateway for the virtual bank account source. In case of Stripe, the reference_id consists of a combination of Stripe Customer ID and Stripe Source ID separated by a forward slash (e.g. cus_63MnDn0t6kfDW7/src_6WjCF20vT9WN1G).
|
|
99
|
-
|
|
100
|
-
*/
|
|
101
|
-
|
|
102
|
-
reference_id:string;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @description Indicates that this resource has been deleted.
|
|
106
|
-
|
|
107
|
-
*/
|
|
108
|
-
|
|
109
|
-
deleted:boolean;
|
|
6
|
+
id: string;
|
|
7
|
+
customer_id: string;
|
|
8
|
+
email: string;
|
|
9
|
+
scheme?:
|
|
10
|
+
| 'ach_credit'
|
|
11
|
+
| 'sepa_credit'
|
|
12
|
+
| 'us_automated_bank_transfer'
|
|
13
|
+
| 'gb_automated_bank_transfer'
|
|
14
|
+
| 'eu_automated_bank_transfer'
|
|
15
|
+
| 'jp_automated_bank_transfer'
|
|
16
|
+
| 'mx_automated_bank_transfer';
|
|
17
|
+
bank_name?: string;
|
|
18
|
+
account_number: string;
|
|
19
|
+
routing_number?: string;
|
|
20
|
+
swift_code: string;
|
|
21
|
+
gateway: Gateway;
|
|
22
|
+
gateway_account_id: string;
|
|
23
|
+
resource_version?: number;
|
|
24
|
+
updated_at?: number;
|
|
25
|
+
created_at: number;
|
|
26
|
+
reference_id: string;
|
|
27
|
+
deleted: boolean;
|
|
110
28
|
}
|
|
111
|
-
export namespace VirtualBankAccount {
|
|
112
|
-
export class VirtualBankAccountResource {
|
|
113
|
-
/**
|
|
114
|
-
* @description Creates a virtual bank account using the identifier provided by the gateway.
|
|
115
|
-
|
|
116
|
-
*/
|
|
117
|
-
|
|
118
|
-
create_using_permanent_token(input:CreateUsingPermanentTokenInputParam):ChargebeeRequest<CreateUsingPermanentTokenResponse>;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @description Creates a virtual bank account for a customer. Email address is mandatory for virtual bank account creation. All notifications related to this virtual bank account will be sent to the email address you specify.
|
|
122
|
-
|
|
123
|
-
*/
|
|
124
|
-
|
|
125
|
-
create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @description Retrieves the virtual bank account identified by the unique identifier.
|
|
129
|
-
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
retrieve(virtual_bank_account_id:string):ChargebeeRequest<RetrieveResponse>;
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* @description Lists all the virtual bank accounts.
|
|
136
|
-
|
|
137
|
-
*/
|
|
138
|
-
|
|
139
|
-
list(input?:ListInputParam):ChargebeeRequest<ListResponse>;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* @description Deletes a virtual bank account. If there is no virtual bank account present in the gateway for the customer, this API will return successfully without throwing an error.
|
|
143
29
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
30
|
+
export namespace VirtualBankAccount {
|
|
31
|
+
export class VirtualBankAccountResource {
|
|
32
|
+
createUsingPermanentToken(
|
|
33
|
+
input: CreateUsingPermanentTokenInputParam,
|
|
34
|
+
headers?: ChargebeeRequestHeader,
|
|
35
|
+
): Promise<ChargebeeResponse<CreateUsingPermanentTokenResponse>>;
|
|
36
|
+
|
|
37
|
+
create(
|
|
38
|
+
input: CreateInputParam,
|
|
39
|
+
headers?: ChargebeeRequestHeader,
|
|
40
|
+
): Promise<ChargebeeResponse<CreateResponse>>;
|
|
41
|
+
|
|
42
|
+
retrieve(
|
|
43
|
+
virtual_bank_account_id: string,
|
|
44
|
+
headers?: ChargebeeRequestHeader,
|
|
45
|
+
): Promise<ChargebeeResponse<RetrieveResponse>>;
|
|
46
|
+
|
|
47
|
+
list(
|
|
48
|
+
input?: ListInputParam,
|
|
49
|
+
headers?: ChargebeeRequestHeader,
|
|
50
|
+
): Promise<ChargebeeResponse<ListResponse>>;
|
|
51
|
+
|
|
52
|
+
delete(
|
|
53
|
+
virtual_bank_account_id: string,
|
|
54
|
+
headers?: ChargebeeRequestHeader,
|
|
55
|
+
): Promise<ChargebeeResponse<DeleteResponse>>;
|
|
56
|
+
|
|
57
|
+
deleteLocal(
|
|
58
|
+
virtual_bank_account_id: string,
|
|
59
|
+
headers?: ChargebeeRequestHeader,
|
|
60
|
+
): Promise<ChargebeeResponse<DeleteLocalResponse>>;
|
|
159
61
|
}
|
|
160
|
-
export interface CreateUsingPermanentTokenInputParam {
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @description Identifier of the customer.
|
|
164
|
-
|
|
165
|
-
*/
|
|
166
|
-
|
|
167
|
-
customer_id:string;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @description Identifier provided by the gateway for the virtual bank account source. In case of Stripe, the reference_id consists of a combination of Stripe Customer ID and Stripe Source ID separated by a forward slash (e.g. cus_63MnDn0t6kfDW7/src_6WjCF20vT9WN1G).
|
|
171
62
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* @description type of the credit transfer. \* sepa_credit - SEPA Credit Transfer \* ach_credit - ACH Credit Transfer
|
|
178
|
-
|
|
179
|
-
*/
|
|
180
|
-
|
|
181
|
-
scheme?:'eu_automated_bank_transfer' | 'gb_automated_bank_transfer' | 'mx_automated_bank_transfer' | 'ach_credit' | 'us_automated_bank_transfer' | 'jp_automated_bank_transfer' | 'sepa_credit';
|
|
182
|
-
}
|
|
183
|
-
export interface CreateResponse {
|
|
184
|
-
virtual_bank_account:VirtualBankAccount;
|
|
185
|
-
|
|
186
|
-
customer?:Customer;
|
|
63
|
+
export interface CreateUsingPermanentTokenResponse {
|
|
64
|
+
virtual_bank_account: VirtualBankAccount;
|
|
65
|
+
customer?: Customer;
|
|
187
66
|
}
|
|
188
|
-
export interface CreateInputParam {
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* @description Identifier of the customer.
|
|
192
|
-
|
|
193
|
-
*/
|
|
194
|
-
|
|
195
|
-
customer_id:string;
|
|
196
|
-
|
|
197
|
-
/**
|
|
198
|
-
* @description Email address associated with the virtual bank account.
|
|
199
|
-
|
|
200
|
-
*/
|
|
201
|
-
|
|
202
|
-
email?:string;
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* @description type of the credit transfer. \* sepa_credit - SEPA Credit Transfer \* ach_credit - ACH Credit Transfer
|
|
206
67
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
68
|
+
export interface CreateResponse {
|
|
69
|
+
virtual_bank_account: VirtualBankAccount;
|
|
70
|
+
customer?: Customer;
|
|
210
71
|
}
|
|
211
|
-
export interface RetrieveResponse {
|
|
212
|
-
virtual_bank_account:VirtualBankAccount;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
export interface ListResponse {
|
|
216
|
-
/**
|
|
217
|
-
* @description Lists all the virtual bank accounts.
|
|
218
|
-
|
|
219
|
-
*/
|
|
220
|
-
|
|
221
|
-
list:{virtual_bank_account:VirtualBankAccount}[];
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @description Lists all the virtual bank accounts.
|
|
225
72
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
next_offset?:string;
|
|
73
|
+
export interface RetrieveResponse {
|
|
74
|
+
virtual_bank_account: VirtualBankAccount;
|
|
229
75
|
}
|
|
230
|
-
export interface ListInputParam {
|
|
231
|
-
[key : string]: any;
|
|
232
|
-
/**
|
|
233
|
-
* @description Lists all the virtual bank accounts.
|
|
234
76
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* @description Lists all the virtual bank accounts.
|
|
77
|
+
export interface ListResponse {
|
|
78
|
+
list: { virtual_bank_account: VirtualBankAccount }[];
|
|
79
|
+
next_offset?: string;
|
|
80
|
+
}
|
|
241
81
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* @description Lists all the virtual bank accounts.
|
|
82
|
+
export interface DeleteResponse {
|
|
83
|
+
virtual_bank_account: VirtualBankAccount;
|
|
84
|
+
}
|
|
248
85
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @description Lists all the virtual bank accounts.
|
|
86
|
+
export interface DeleteLocalResponse {
|
|
87
|
+
virtual_bank_account: VirtualBankAccount;
|
|
88
|
+
}
|
|
255
89
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
updated_at?:{after?:string,before?:string,between?:string,on?:string};
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* @description Lists all the virtual bank accounts.
|
|
90
|
+
// REQUEST PARAMS
|
|
91
|
+
//---------------
|
|
262
92
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
93
|
+
export interface CreateUsingPermanentTokenInputParam {
|
|
94
|
+
customer_id: string;
|
|
95
|
+
reference_id: string;
|
|
96
|
+
scheme?:
|
|
97
|
+
| 'ach_credit'
|
|
98
|
+
| 'sepa_credit'
|
|
99
|
+
| 'us_automated_bank_transfer'
|
|
100
|
+
| 'gb_automated_bank_transfer'
|
|
101
|
+
| 'eu_automated_bank_transfer'
|
|
102
|
+
| 'jp_automated_bank_transfer'
|
|
103
|
+
| 'mx_automated_bank_transfer';
|
|
266
104
|
}
|
|
267
|
-
export interface
|
|
268
|
-
|
|
105
|
+
export interface CreateInputParam {
|
|
106
|
+
customer_id: string;
|
|
107
|
+
email?: string;
|
|
108
|
+
scheme?:
|
|
109
|
+
| 'ach_credit'
|
|
110
|
+
| 'sepa_credit'
|
|
111
|
+
| 'us_automated_bank_transfer'
|
|
112
|
+
| 'gb_automated_bank_transfer'
|
|
113
|
+
| 'eu_automated_bank_transfer'
|
|
114
|
+
| 'jp_automated_bank_transfer'
|
|
115
|
+
| 'mx_automated_bank_transfer';
|
|
269
116
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
117
|
+
export interface ListInputParam {
|
|
118
|
+
limit?: number;
|
|
119
|
+
offset?: string;
|
|
120
|
+
customer_id?: filter.String;
|
|
121
|
+
updated_at?: filter.Timestamp;
|
|
122
|
+
created_at?: filter.Timestamp;
|
|
273
123
|
}
|
|
274
|
-
|
|
275
|
-
|
|
276
124
|
}
|
|
277
|
-
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare module 'chargebee' {
|
|
2
|
+
export namespace filter {
|
|
3
|
+
export interface String {
|
|
4
|
+
is?: string;
|
|
5
|
+
is_not?: string;
|
|
6
|
+
starts_with?: string;
|
|
7
|
+
is_present?: boolean;
|
|
8
|
+
in?: string[];
|
|
9
|
+
not_in?: string[];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface Timestamp {
|
|
13
|
+
on?: number;
|
|
14
|
+
before?: number;
|
|
15
|
+
after?: number;
|
|
16
|
+
between?: [number, number];
|
|
17
|
+
is_present?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface Date {
|
|
21
|
+
on?: number;
|
|
22
|
+
before?: number;
|
|
23
|
+
after?: number;
|
|
24
|
+
between?: [number, number];
|
|
25
|
+
is_present?: boolean;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface Number {
|
|
29
|
+
gt?: number;
|
|
30
|
+
lt?: number;
|
|
31
|
+
gte?: number;
|
|
32
|
+
lte?: number;
|
|
33
|
+
between?: [number, number];
|
|
34
|
+
is?: number;
|
|
35
|
+
is_not?: number;
|
|
36
|
+
is_present?: number;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Boolean {
|
|
40
|
+
is?: boolean;
|
|
41
|
+
is_present?: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface Enum {
|
|
45
|
+
is?: any;
|
|
46
|
+
is_not?: any;
|
|
47
|
+
is_present?: any;
|
|
48
|
+
in?: any[];
|
|
49
|
+
not_in?: any[];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
name: Bug Report
|
|
2
|
-
description: Report a bug for this repository.
|
|
3
|
-
labels:
|
|
4
|
-
- Bug
|
|
5
|
-
|
|
6
|
-
body:
|
|
7
|
-
|
|
8
|
-
- type: textarea
|
|
9
|
-
id: what-happened
|
|
10
|
-
attributes:
|
|
11
|
-
label: Description of the Bug
|
|
12
|
-
description: Please provide a clear and concise description of the bug.
|
|
13
|
-
placeholder: Describe what you're experiencing.
|
|
14
|
-
validations:
|
|
15
|
-
required: true
|
|
16
|
-
|
|
17
|
-
- type: textarea
|
|
18
|
-
id: repro-steps
|
|
19
|
-
attributes:
|
|
20
|
-
label: Steps to reproduce
|
|
21
|
-
description: Clear and concise instructions to reproduce the bug are essential for quick resolution.
|
|
22
|
-
placeholder: |
|
|
23
|
-
1. Fetch '...'
|
|
24
|
-
2. Update the '....'
|
|
25
|
-
3. Encounter the error
|
|
26
|
-
validations:
|
|
27
|
-
required: true
|
|
28
|
-
|
|
29
|
-
- type: textarea
|
|
30
|
-
id: expected-behavior
|
|
31
|
-
attributes:
|
|
32
|
-
label: Expected Behavior
|
|
33
|
-
description: Describe what you expected to happen.
|
|
34
|
-
validations:
|
|
35
|
-
required: true
|
|
36
|
-
|
|
37
|
-
- type: textarea
|
|
38
|
-
id: code-snippets
|
|
39
|
-
attributes:
|
|
40
|
-
label: Code Snippets (if applicable)
|
|
41
|
-
description: If relevant, provide code snippets to clarify the issue.
|
|
42
|
-
render: node
|
|
43
|
-
validations:
|
|
44
|
-
required: false
|
|
45
|
-
|
|
46
|
-
- type: input
|
|
47
|
-
id: os
|
|
48
|
-
attributes:
|
|
49
|
-
label: Operating System
|
|
50
|
-
placeholder: macOS
|
|
51
|
-
validations:
|
|
52
|
-
required: true
|
|
53
|
-
|
|
54
|
-
- type: input
|
|
55
|
-
id: language-version
|
|
56
|
-
attributes:
|
|
57
|
-
label: Language version
|
|
58
|
-
placeholder: Node 18.18.1
|
|
59
|
-
validations:
|
|
60
|
-
required: true
|
|
61
|
-
|
|
62
|
-
- type: input
|
|
63
|
-
id: lib-version
|
|
64
|
-
attributes:
|
|
65
|
-
label: Library version
|
|
66
|
-
placeholder: 2.28.0
|
|
67
|
-
validations:
|
|
68
|
-
required: true
|
|
69
|
-
|
|
70
|
-
- type: textarea
|
|
71
|
-
id: additional-context
|
|
72
|
-
attributes:
|
|
73
|
-
label: Additional context
|
|
74
|
-
description: Provide any other relevant information about the problem.
|
|
75
|
-
validations:
|
|
76
|
-
required: false
|
|
77
|
-
|
|
78
|
-
- type: markdown
|
|
79
|
-
attributes:
|
|
80
|
-
value: |
|
|
81
|
-
Thank you for taking the time to submit this bug report!
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
blank_issues_enabled: false
|
|
2
|
-
contact_links:
|
|
3
|
-
- name: Chargebee support
|
|
4
|
-
url: https://support.chargebee.com/
|
|
5
|
-
about: |
|
|
6
|
-
Github issues are not an official support channel for Chargebee. If you have an urgent request we suggest you contact us through an official channel: support@chargebee.com or https://support.chargebee.com/
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: Feature Request
|
|
2
|
-
description: Request a New Feature for the project.
|
|
3
|
-
labels:
|
|
4
|
-
- Feature Request
|
|
5
|
-
|
|
6
|
-
body:
|
|
7
|
-
- type: textarea
|
|
8
|
-
id: problem
|
|
9
|
-
attributes:
|
|
10
|
-
label: What problem does your feature request address?
|
|
11
|
-
description: Please provide a clear and concise description of the problem you'd like to solve. For example, "I'm frequently frustrated when..."
|
|
12
|
-
|
|
13
|
-
- type: textarea
|
|
14
|
-
id: solution
|
|
15
|
-
attributes:
|
|
16
|
-
label: Describe the desired solution
|
|
17
|
-
description: Please provide a clear and concise description of the solution you would like to see implemented.
|
|
18
|
-
|
|
19
|
-
- type: textarea
|
|
20
|
-
id: alternatives
|
|
21
|
-
attributes:
|
|
22
|
-
label: Alternatives considered
|
|
23
|
-
description: Describe any alternative solutions or features you may have thought about in relation to this problem.
|
|
24
|
-
|
|
25
|
-
- type: textarea
|
|
26
|
-
id: context
|
|
27
|
-
attributes:
|
|
28
|
-
label: Additional context
|
|
29
|
-
description: Feel free to include any other relevant information or context regarding your feature request.
|
|
30
|
-
|
|
31
|
-
- type: markdown
|
|
32
|
-
attributes:
|
|
33
|
-
value: |
|
|
34
|
-
Thank you for taking the time to submit your feature request!
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
### Description
|
|
2
|
-
Please provide a brief overview of the changes introduced by this pull request.
|
|
3
|
-
|
|
4
|
-
### Related Issues
|
|
5
|
-
Closes #IssueNumber
|
|
6
|
-
|
|
7
|
-
### Additional Information
|
|
8
|
-
Include any additional information that might be helpful in reviewing the changes introduced by this pull request.
|