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.
- package/CHANGELOG.md +65 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +16 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +16 -0
- package/package.json +1 -1
- package/types/core.d.ts +588 -0
- package/types/index.d.ts +172 -0
- package/types/resources/Address.d.ts +71 -0
- package/types/resources/AdvanceInvoiceSchedule.d.ts +29 -0
- package/types/resources/AttachedItem.d.ts +116 -0
- package/types/resources/Attribute.d.ts +9 -0
- package/types/resources/BusinessEntity.d.ts +64 -0
- package/types/resources/BusinessEntityTransfer.d.ts +15 -0
- package/types/resources/Card.d.ts +172 -0
- package/types/resources/Comment.d.ts +92 -0
- package/types/resources/Contact.d.ts +16 -0
- package/types/resources/ContractTerm.d.ts +19 -0
- package/types/resources/Coupon.d.ts +329 -0
- package/types/resources/CouponCode.d.ts +70 -0
- package/types/resources/CouponSet.d.ts +111 -0
- package/types/resources/CreditNote.d.ts +629 -0
- package/types/resources/CreditNoteEstimate.d.ts +143 -0
- package/types/resources/Currency.d.ts +91 -0
- package/types/resources/Customer.d.ts +964 -0
- package/types/resources/CustomerEntitlement.d.ts +36 -0
- package/types/resources/DifferentialPrice.d.ts +144 -0
- package/types/resources/Discount.d.ts +24 -0
- package/types/resources/Download.d.ts +10 -0
- package/types/resources/Entitlement.d.ts +66 -0
- package/types/resources/EntitlementOverride.d.ts +76 -0
- package/types/resources/Estimate.d.ts +1237 -0
- package/types/resources/Event.d.ts +81 -0
- package/types/resources/Export.d.ts +615 -0
- package/types/resources/Feature.d.ts +142 -0
- package/types/resources/GatewayErrorDetail.d.ts +20 -0
- package/types/resources/Gift.d.ts +296 -0
- package/types/resources/Hierarchy.d.ts +12 -0
- package/types/resources/HostedPage.d.ts +1112 -0
- package/types/resources/ImpactedItem.d.ts +20 -0
- package/types/resources/ImpactedItemPrice.d.ts +20 -0
- package/types/resources/ImpactedSubscription.d.ts +20 -0
- package/types/resources/InAppSubscription.d.ts +116 -0
- package/types/resources/Invoice.d.ts +1695 -0
- package/types/resources/InvoiceEstimate.d.ts +143 -0
- package/types/resources/Item.d.ts +208 -0
- package/types/resources/ItemEntitlement.d.ts +103 -0
- package/types/resources/ItemFamily.d.ts +93 -0
- package/types/resources/ItemPrice.d.ts +332 -0
- package/types/resources/Metadata.d.ts +8 -0
- package/types/resources/NonSubscription.d.ts +48 -0
- package/types/resources/OmnichannelSubscription.d.ts +75 -0
- package/types/resources/OmnichannelTransaction.d.ts +16 -0
- package/types/resources/Order.d.ts +586 -0
- package/types/resources/PaymentIntent.d.ts +178 -0
- package/types/resources/PaymentReferenceNumber.d.ts +11 -0
- package/types/resources/PaymentSchedule.d.ts +28 -0
- package/types/resources/PaymentScheduleEstimate.d.ts +25 -0
- package/types/resources/PaymentScheduleScheme.d.ts +67 -0
- package/types/resources/PaymentSource.d.ts +530 -0
- package/types/resources/PaymentVoucher.d.ts +107 -0
- package/types/resources/PortalSession.d.ts +88 -0
- package/types/resources/PriceVariant.d.ts +116 -0
- package/types/resources/PricingPageSession.d.ts +130 -0
- package/types/resources/PromotionalCredit.d.ts +111 -0
- package/types/resources/Purchase.d.ts +202 -0
- package/types/resources/Quote.d.ts +1467 -0
- package/types/resources/QuoteLineGroup.d.ts +136 -0
- package/types/resources/QuotedCharge.d.ts +56 -0
- package/types/resources/QuotedSubscription.d.ts +114 -0
- package/types/resources/Ramp.d.ts +260 -0
- package/types/resources/RecordedPurchase.d.ts +60 -0
- package/types/resources/ResourceMigration.d.ts +36 -0
- package/types/resources/SiteMigrationDetail.d.ts +46 -0
- package/types/resources/Subscription.d.ts +2447 -0
- package/types/resources/SubscriptionEntitlement.d.ts +79 -0
- package/types/resources/SubscriptionEstimate.d.ts +59 -0
- package/types/resources/TaxWithheld.d.ts +19 -0
- package/types/resources/ThirdPartyPaymentMethod.d.ts +11 -0
- package/types/resources/TimeMachine.d.ts +57 -0
- package/types/resources/Token.d.ts +19 -0
- package/types/resources/Transaction.d.ts +316 -0
- package/types/resources/UnbilledCharge.d.ts +209 -0
- package/types/resources/Usage.d.ts +113 -0
- package/types/resources/VirtualBankAccount.d.ts +125 -0
- package/types/resources/filter.d.ts +52 -0
|
@@ -0,0 +1,46 @@
|
|
|
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 SiteMigrationDetail {
|
|
6
|
+
entity_id: string;
|
|
7
|
+
other_site_name: string;
|
|
8
|
+
entity_id_at_other_site: string;
|
|
9
|
+
migrated_at: number;
|
|
10
|
+
entity_type:
|
|
11
|
+
| 'customer'
|
|
12
|
+
| 'subscription'
|
|
13
|
+
| 'invoice'
|
|
14
|
+
| 'credit_note'
|
|
15
|
+
| 'transaction'
|
|
16
|
+
| 'order';
|
|
17
|
+
status: 'moved_in' | 'moved_out' | 'moving_out';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export namespace SiteMigrationDetail {
|
|
21
|
+
export class SiteMigrationDetailResource {
|
|
22
|
+
list(
|
|
23
|
+
input?: ListInputParam,
|
|
24
|
+
headers?: ChargebeeRequestHeader,
|
|
25
|
+
): Promise<ChargebeeResponse<ListResponse>>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface ListResponse {
|
|
29
|
+
list: { site_migration_detail: SiteMigrationDetail }[];
|
|
30
|
+
next_offset?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// REQUEST PARAMS
|
|
34
|
+
//---------------
|
|
35
|
+
|
|
36
|
+
export interface ListInputParam {
|
|
37
|
+
limit?: number;
|
|
38
|
+
offset?: string;
|
|
39
|
+
entity_id_at_other_site?: filter.String;
|
|
40
|
+
other_site_name?: filter.String;
|
|
41
|
+
entity_id?: filter.String;
|
|
42
|
+
entity_type?: filter.Enum;
|
|
43
|
+
status?: filter.Enum;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|