chargebee 2.26.0 → 2.26.1

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 (64) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/chargebee.js +1 -1
  3. package/package.json +1 -1
  4. package/types/core.d.ts +1 -0
  5. package/types/resources/Address.d.ts +245 -5
  6. package/types/resources/AdvanceInvoiceSchedule.d.ts +78 -2
  7. package/types/resources/AttachedItem.d.ts +305 -13
  8. package/types/resources/Card.d.ts +485 -13
  9. package/types/resources/Comment.d.ts +177 -11
  10. package/types/resources/Contact.d.ts +54 -0
  11. package/types/resources/ContractTerm.d.ts +83 -0
  12. package/types/resources/Coupon.d.ts +665 -20
  13. package/types/resources/CouponCode.d.ts +56 -5
  14. package/types/resources/CouponSet.d.ts +224 -17
  15. package/types/resources/CreditNote.d.ts +1202 -44
  16. package/types/resources/CreditNoteEstimate.d.ts +75 -6
  17. package/types/resources/Customer.d.ts +2132 -73
  18. package/types/resources/DifferentialPrice.d.ts +266 -15
  19. package/types/resources/Discount.d.ts +107 -0
  20. package/types/resources/Download.d.ts +18 -0
  21. package/types/resources/EntitlementOverride.d.ts +101 -7
  22. package/types/resources/Estimate.d.ts +1181 -27
  23. package/types/resources/Event.d.ts +145 -8
  24. package/types/resources/Export.d.ts +703 -32
  25. package/types/resources/Feature.d.ts +356 -22
  26. package/types/resources/Gift.d.ts +351 -24
  27. package/types/resources/Hierarchy.d.ts +30 -0
  28. package/types/resources/HostedPage.d.ts +1212 -37
  29. package/types/resources/ImpactedItem.d.ts +41 -1
  30. package/types/resources/ImpactedSubscription.d.ts +36 -1
  31. package/types/resources/InAppSubscription.d.ts +636 -9
  32. package/types/resources/Invoice.d.ts +2293 -93
  33. package/types/resources/InvoiceEstimate.d.ts +75 -6
  34. package/types/resources/Item.d.ts +542 -16
  35. package/types/resources/ItemEntitlement.d.ts +172 -13
  36. package/types/resources/ItemFamily.d.ts +173 -15
  37. package/types/resources/ItemPrice.d.ts +971 -26
  38. package/types/resources/Media.d.ts +24 -0
  39. package/types/resources/NonSubscription.d.ts +51 -3
  40. package/types/resources/Order.d.ts +1224 -32
  41. package/types/resources/PaymentIntent.d.ts +318 -8
  42. package/types/resources/PaymentReferenceNumber.d.ts +24 -0
  43. package/types/resources/PaymentSource.d.ts +1259 -55
  44. package/types/resources/PaymentVoucher.d.ts +262 -14
  45. package/types/resources/PortalSession.d.ts +187 -10
  46. package/types/resources/PromotionalCredit.d.ts +351 -16
  47. package/types/resources/Purchase.d.ts +274 -5
  48. package/types/resources/Quote.d.ts +1595 -62
  49. package/types/resources/QuoteLineGroup.d.ts +134 -5
  50. package/types/resources/QuotedCharge.d.ts +63 -5
  51. package/types/resources/QuotedSubscription.d.ts +192 -5
  52. package/types/resources/ResourceMigration.d.ts +73 -3
  53. package/types/resources/SiteMigrationDetail.d.ts +98 -5
  54. package/types/resources/Subscription.d.ts +3462 -137
  55. package/types/resources/SubscriptionEntitlement.d.ts +116 -8
  56. package/types/resources/SubscriptionEstimate.d.ts +36 -2
  57. package/types/resources/TaxWithheld.d.ts +32 -0
  58. package/types/resources/ThirdPartyPaymentMethod.d.ts +24 -0
  59. package/types/resources/TimeMachine.d.ts +99 -7
  60. package/types/resources/Token.d.ts +179 -7
  61. package/types/resources/Transaction.d.ts +597 -25
  62. package/types/resources/UnbilledCharge.d.ts +355 -14
  63. package/types/resources/Usage.d.ts +259 -13
  64. package/types/resources/VirtualBankAccount.d.ts +255 -17
@@ -1,16 +1,56 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface ImpactedItem {
4
+
5
+ /**
6
+ * @description The total number of items that have been impacted.
7
+
8
+ */
9
+
4
10
  count?:number;
11
+
12
+ /**
13
+ * @description The list of items that have been impacted. The objects in this array have the following keys:
14
+
15
+ * &#x60;id&#x60;: (string, max chars &#x3D; 100) The [unique identifier](/docs/api/items#item_id) for the item.
16
+ * &#x60;type&#x60;: (enumerated string) The [type](/docs/api/items#item_type) of the item.
17
+
18
+ This list can contain a maximum of 1,000 items. The full list of items is available in &#x60;download&#x60;.
19
+
20
+ */
21
+
5
22
  items?:any[];
23
+
24
+ /**
25
+ * @description The [download](/docs/api/downloads) resource containing all the impacted items. The list of items is available as a JSON array in the file at &#x60;download.url&#x60; until &#x60;download.valid_till&#x60;.
26
+
27
+ */
28
+
6
29
  download?:ImpactedItem.Download;
7
30
  }
8
31
  export namespace ImpactedItem {
9
32
 
10
33
 
11
- export interface Download {
34
+ export interface Download {
35
+ /**
36
+ * @description The URL at which the file is available for download.
37
+
38
+ */
39
+
12
40
  download_url?:string;
41
+
42
+ /**
43
+ * @description The time until which the &#x60;download_url&#x60; is valid.
44
+
45
+ */
46
+
13
47
  valid_till?:number;
48
+
49
+ /**
50
+ * @description The [media type](https://en.wikipedia.org/wiki/Media_type) of the file.
51
+
52
+ */
53
+
14
54
  mime_type?:string;
15
55
  }
16
56
  }
@@ -1,16 +1,51 @@
1
1
  ///<reference path='./../core.d.ts'/>
2
2
  declare module 'chargebee' {
3
3
  export interface ImpactedSubscription {
4
+
5
+ /**
6
+ * @description The total number of subscriptions that have been impacted.
7
+
8
+ */
9
+
4
10
  count?:number;
11
+
12
+ /**
13
+ * @description The list of IDs of the subscriptions that have been impacted. This list can contain a maximum of 1,000 IDs. The full list of subscription IDs is available in &#x60;download&#x60;.
14
+
15
+ */
16
+
5
17
  subscription_ids?:any[];
18
+
19
+ /**
20
+ * @description The [download](/docs/api/downloads) resource containing all the impacted subscription IDs. The list of IDs is available as a JSON array in the file at &#x60;download.url&#x60; until &#x60;download.valid_till&#x60;.
21
+
22
+ */
23
+
6
24
  download?:ImpactedSubscription.Download;
7
25
  }
8
26
  export namespace ImpactedSubscription {
9
27
 
10
28
 
11
- export interface Download {
29
+ export interface Download {
30
+ /**
31
+ * @description The URL at which the file is available for download.
32
+
33
+ */
34
+
12
35
  download_url?:string;
36
+
37
+ /**
38
+ * @description The time until which the &#x60;download_url&#x60; is valid.
39
+
40
+ */
41
+
13
42
  valid_till?:number;
43
+
44
+ /**
45
+ * @description The [media type](https://en.wikipedia.org/wiki/Media_type) of the file.
46
+
47
+ */
48
+
14
49
  mime_type?:string;
15
50
  }
16
51
  }