chargebee 2.34.1 → 2.35.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.
@@ -0,0 +1,41 @@
1
+ ///<reference path='./../core.d.ts'/>
2
+ declare module 'chargebee' {
3
+ export interface Session {
4
+
5
+ id:string;
6
+
7
+ content?:string;
8
+
9
+ created_at:number;
10
+
11
+ expires_at:number;
12
+ }
13
+ export namespace Session {
14
+ export class SessionResource {
15
+ create(input?:CreateInputParam):ChargebeeRequest<CreateResponse>;
16
+
17
+ retrieve(session_id:string, input?:RetrieveInputParam):ChargebeeRequest<RetrieveResponse>;
18
+ }
19
+ export interface CreateResponse {
20
+ session:Session;
21
+ }
22
+ export interface CreateInputParam {
23
+
24
+ customer?:{id?:string};
25
+
26
+ subscription?:{id?:string};
27
+ }
28
+ export interface RetrieveResponse {
29
+ session:Session;
30
+
31
+ customer?:Customer;
32
+
33
+ subscription?:Subscription;
34
+ }
35
+ export interface RetrieveInputParam {
36
+
37
+ id?:string;
38
+ }
39
+
40
+ }
41
+ }
@@ -149,6 +149,8 @@ declare module 'chargebee' {
149
149
 
150
150
  is_advance_charge?:boolean;
151
151
 
152
+ business_entity_id?:string;
153
+
152
154
  /**
153
155
  * @description Indicates that this resource has been deleted.
154
156