chargebee 2.28.0 → 2.30.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 (54) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +81 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +6 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +34 -0
  4. package/.github/PULL_REQUEST_TEMPLATE.md +8 -0
  5. package/.github/workflows/greeting.yml +47 -0
  6. package/CHANGELOG.md +59 -0
  7. package/SECURITY.md +8 -0
  8. package/lib/chargebee.js +1 -1
  9. package/lib/resources/api_endpoints.js +0 -14
  10. package/package.json +1 -1
  11. package/types/core.d.ts +4 -4
  12. package/types/resources/AttachedItem.d.ts +88 -88
  13. package/types/resources/Card.d.ts +68 -68
  14. package/types/resources/Comment.d.ts +50 -44
  15. package/types/resources/Coupon.d.ts +242 -207
  16. package/types/resources/CouponSet.d.ts +72 -68
  17. package/types/resources/CreditNote.d.ts +612 -236
  18. package/types/resources/Customer.d.ts +655 -513
  19. package/types/resources/DifferentialPrice.d.ts +99 -74
  20. package/types/resources/EntitlementOverride.d.ts +27 -12
  21. package/types/resources/Estimate.d.ts +450 -450
  22. package/types/resources/Event.d.ts +30 -12
  23. package/types/resources/Export.d.ts +200 -200
  24. package/types/resources/Feature.d.ts +66 -35
  25. package/types/resources/Gift.d.ts +54 -44
  26. package/types/resources/HostedPage.d.ts +381 -381
  27. package/types/resources/InAppSubscription.d.ts +94 -90
  28. package/types/resources/Invoice.d.ts +1242 -660
  29. package/types/resources/Item.d.ts +148 -142
  30. package/types/resources/ItemEntitlement.d.ts +36 -36
  31. package/types/resources/ItemFamily.d.ts +45 -45
  32. package/types/resources/ItemPrice.d.ts +317 -273
  33. package/types/resources/PaymentIntent.d.ts +60 -60
  34. package/types/resources/PaymentReferenceNumber.d.ts +1 -1
  35. package/types/resources/PaymentVoucher.d.ts +74 -59
  36. package/types/resources/PortalSession.d.ts +45 -20
  37. package/types/resources/PromotionalCredit.d.ts +68 -68
  38. package/types/resources/Purchase.d.ts +3 -3
  39. package/types/resources/Quote.d.ts +655 -366
  40. package/types/resources/QuoteLineGroup.d.ts +245 -0
  41. package/types/resources/QuotedCharge.d.ts +170 -0
  42. package/types/resources/QuotedSubscription.d.ts +219 -0
  43. package/types/resources/SiteMigrationDetail.d.ts +7 -7
  44. package/types/resources/Subscription.d.ts +1219 -932
  45. package/types/resources/SubscriptionEntitlement.d.ts +33 -12
  46. package/types/resources/ThirdPartyPaymentMethod.d.ts +1 -1
  47. package/types/resources/TimeMachine.d.ts +15 -15
  48. package/types/resources/Token.d.ts +0 -116
  49. package/types/resources/Transaction.d.ts +229 -112
  50. package/types/resources/UnbilledCharge.d.ts +112 -67
  51. package/types/resources/Usage.d.ts +46 -47
  52. package/types/resources/VirtualBankAccount.d.ts +66 -66
  53. package/types/resources/Media.d.ts +0 -33
  54. package/types/resources/NonSubscription.d.ts +0 -65
@@ -90,20 +90,6 @@ declare module 'chargebee' {
90
90
 
91
91
  create(input:CreateInputParam):ChargebeeRequest<CreateResponse>;
92
92
 
93
- /**
94
- * @description Deletes a feature. Any item entitlements and subscription entitlements defined for the feature are also removed. This action is not permissible when the &#x60;status&#x60; of the feature is &#x60;active&#x60;.
95
-
96
- */
97
-
98
- delete(feature_id:string):ChargebeeRequest<DeleteResponse>;
99
-
100
- /**
101
- * @description Retrieve a specific feature using its id.
102
-
103
- */
104
-
105
- retrieve(feature_id:string):ChargebeeRequest<RetrieveResponse>;
106
-
107
93
  /**
108
94
  * @description Updates a specific feature.
109
95
  **Note**
@@ -146,11 +132,18 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
146
132
  update(feature_id:string, input?:UpdateInputParam):ChargebeeRequest<UpdateResponse>;
147
133
 
148
134
  /**
149
- * @description Archives an &#x60;active&#x60; feature so that no **new** [item](item_entitlements) or [subscription entitlements](subscription_entitlements) can be created towards the feature. Any pre-existing item or subscription entitlements from the time that the feature was &#x60;active&#x60; remain effective. This operation changes the [status](features#feature_status) of the feature to &#x60;archived&#x60;. The feature &#x60;status&#x60; must be &#x60;active&#x60; when calling this endpoint.
135
+ * @description Retrieve a specific feature using its id.
150
136
 
151
137
  */
152
138
 
153
- archive(feature_id:string):ChargebeeRequest<ArchiveResponse>;
139
+ retrieve(feature_id:string):ChargebeeRequest<RetrieveResponse>;
140
+
141
+ /**
142
+ * @description Deletes a feature. Any item entitlements and subscription entitlements defined for the feature are also removed. This action is not permissible when the &#x60;status&#x60; of the feature is &#x60;active&#x60;.
143
+
144
+ */
145
+
146
+ delete(feature_id:string):ChargebeeRequest<DeleteResponse>;
154
147
 
155
148
  /**
156
149
  * @description Activates a &#x60;draft&#x60; feature so that any [item](item_entitlements) or [subscription entitlements](subscription_entitlements) defined towards it take effect immediately. This operation changes the [status](features#feature_status) of the feature to &#x60;active&#x60;. The feature &#x60;status&#x60; must be &#x60;draft&#x60; when calling this endpoint.
@@ -159,6 +152,13 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
159
152
 
160
153
  activate(feature_id:string):ChargebeeRequest<ActivateResponse>;
161
154
 
155
+ /**
156
+ * @description Archives an &#x60;active&#x60; feature so that no **new** [item](item_entitlements) or [subscription entitlements](subscription_entitlements) can be created towards the feature. Any pre-existing item or subscription entitlements from the time that the feature was &#x60;active&#x60; remain effective. This operation changes the [status](features#feature_status) of the feature to &#x60;archived&#x60;. The feature &#x60;status&#x60; must be &#x60;active&#x60; when calling this endpoint.
157
+
158
+ */
159
+
160
+ archive(feature_id:string):ChargebeeRequest<ArchiveResponse>;
161
+
162
162
  /**
163
163
  * @description Reactivates an archived feature so that **new** [item](item_entitlements) or [subscription entitlements](subscription_entitlements) can be created towards the feature. This operation changes the [status](features#feature_status) of the feature to &#x60;active&#x60;. The feature &#x60;status&#x60; must be &#x60;archived&#x60; when calling this endpoint.
164
164
 
@@ -184,43 +184,42 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
184
184
  export interface ListInputParam {
185
185
  [key : string]: any;
186
186
  /**
187
- * @description The number of resources to be returned.
187
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
188
188
 
189
189
  */
190
190
 
191
191
  limit?:number;
192
192
 
193
193
  /**
194
- * @description Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set \&#x60;offset\&#x60; to the value of \&#x60;next_offset\&#x60; obtained in the previous iteration of the API call.
194
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
195
195
 
196
196
  */
197
197
 
198
198
  offset?:string;
199
199
 
200
200
  /**
201
- * @description A case-sensitive unique name for the feature. For example: &#x60;user license&#x60;, &#x60;data storage&#x60;, &#x60;Salesforce Integration&#x60;, &#x60;devices&#x60;, &#x60;UHD Streaming&#x60;, and so on.
202
- **Note:** This name is not displayed on any customer-facing documents or pages such as [invoice PDFs](invoices#retrieve_invoice_as_pdf) or [hosted pages](hosted_pages). However, in the future, it is likely to be introduced on the [Self-Serve Portal](portal_sessions).
201
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
203
202
 
204
203
  */
205
204
 
206
205
  name?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
207
206
 
208
207
  /**
209
- * @description A unique and immutable identifier for the feature. You can set it yourself, in which case it is recommended that a human-readable format (or slug) be used. For example, &#x60;number-of-users-ccjht01&#x60;. When not provided, a random value is automatically set.
208
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
210
209
 
211
210
  */
212
211
 
213
212
  id?:{in?:string,is?:string,is_not?:string,not_in?:string,starts_with?:string};
214
213
 
215
214
  /**
216
- * @description The current status of the feature.
215
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
217
216
 
218
217
  */
219
218
 
220
219
  status?:{in?:string,is?:'archived' | 'draft' | 'active',is_not?:'archived' | 'draft' | 'active',not_in?:string};
221
220
 
222
221
  /**
223
- * @description The type of feature.
222
+ * @description &quot;This API fetches all the available features. &quot; If the limit parameter is not set, it will return upto 10 features. &quot;
224
223
 
225
224
  */
226
225
 
@@ -281,14 +280,6 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
281
280
 
282
281
  levels?:{is_unlimited?:boolean,level?:number,name?:string,value?:string}[];
283
282
  }
284
- export interface DeleteResponse {
285
- feature:Feature;
286
- }
287
-
288
- export interface RetrieveResponse {
289
- feature:Feature;
290
- }
291
-
292
283
  export interface UpdateResponse {
293
284
  feature:Feature;
294
285
  }
@@ -330,7 +321,11 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
330
321
 
331
322
  levels?:{is_unlimited?:boolean,level?:number,name?:string,value?:string}[];
332
323
  }
333
- export interface ArchiveResponse {
324
+ export interface RetrieveResponse {
325
+ feature:Feature;
326
+ }
327
+
328
+ export interface DeleteResponse {
334
329
  feature:Feature;
335
330
  }
336
331
 
@@ -338,18 +333,54 @@ However, changing &#x60;levels[]&#x60; to the state shown below is not permissib
338
333
  feature:Feature;
339
334
  }
340
335
 
336
+ export interface ArchiveResponse {
337
+ feature:Feature;
338
+ }
339
+
341
340
  export interface ReactivateResponse {
342
341
  feature:Feature;
343
342
  }
344
343
 
345
344
  export interface Level {
345
+ /**
346
+ * @description A case-sensitive display name for the entitlement level. Provide a name that helps you clearly identify the entitlement level. For example: a feature such as &#x60;Email Support&#x60; can have entitlement levels named as &#x60;All weekdays&#x60;, &#x60;All days&#x60;, &#x60;40 hours per week&#x60; and so on. When not provided for &#x60;feature.type&#x60; &#x60;quantity&#x60; or &#x60;range&#x60;, this name is auto-generated as the space-separated concatenation of &#x60;levels[].value&#x60; and the pluralized version of &#x60;unit&#x60;. For example, if &#x60;levels[].value&#x60; is &#x60;20&#x60; and &#x60;unit&#x60; is &#x60;user&#x60;, then &#x60;levels[].name&#x60; becomes &#x60;20 users&#x60;.
347
+
348
+ */
349
+
346
350
  name?:string;
347
351
 
348
- value?:string;
352
+ /**
353
+ * @description The value denoting the entitlement level granted.
354
+
355
+ * **When &#x60;type&#x60; is &#x60;quantity&#x60;:** this attribute denotes the quantity of units of the feature for this entitlement level. For example, a feature such as &#x60;number of users&#x60; can have &#x60;levels[].value&#x60; as &#x60;5&#x60;, &#x60;20&#x60;, &#x60;50&#x60;, and &#x60;100&#x60;. &#x60;levels[].is_unlimited&#x60; is used to set the entitlement level to &quot;unlimited&quot;.
356
+ * **When &#x60;type&#x60; is &#x60;range&#x60;:** there can be be only two elements in the &#x60;levels[]&#x60; array; one corresponding to the minimum value (&#x60;levels[0]&#x60;) and the other to the maximum value (&#x60;levels[1]&#x60;) of the range of possible entitlement levels. For example, a feature such as &#x60;number of users&#x60; may have &#x60;levels[0].value&#x60; &#x3D; &#x60;5&#x60; and &#x60;levels[1].value&#x60; &#x3D; &#x60;50000&#x60;. When the upper limit is &quot;unlimited&quot;, then &#x60;levels[1].value&#x60; is not set and &#x60;levels[1].is_unlimited&#x60; is &#x60;true&#x60;.
357
+ * **When &#x60;type&#x60; is &#x60;custom&#x60;:** this attribute denotes the value of this custom entitlement level. For example, a feature &#x60;Email Support&#x60; can have &#x60;levels[].value&#x60; as one of say, &#x60;24×7&#x60; and &#x60;24×5&#x60;.
358
+
359
+ */
349
360
 
350
- level?:number;
361
+ value:string;
362
+
363
+ /**
364
+ * @description This attribute represents the order of the entitlement levels from lowest to highest.
365
+
366
+ * When &#x60;type&#x60; is &#x60;quantity&#x60; or &#x60;custom&#x60;: The lowest entitlement level has the value &#x60;0&#x60;, the next higher level has the value &#x60;1&#x60;, followed by &#x60;2&#x60;, and so on.
367
+ * When &#x60;type&#x60; is &#x60;range&#x60;: This attribute is &#x60;0&#x60; for the minimum value and &#x60;1&#x60; for the maximum value in the range.
368
+
369
+ When not defined, it is assumed as the index of the &#x60;levels[]&#x60; array.
370
+
371
+ */
372
+
373
+ level:number;
374
+
375
+ /**
376
+ * @description When &#x60;type&#x60; is &#x60;quantity&#x60; or &#x60;range&#x60;, this attribute indicates whether the entitlement level corresponds to unlimited units of the feature. Possible values:
377
+
378
+ * &#x60;true&#x60;: The entitlement level corresponds to unlimited units of the feature. &#x60;levels[].value&#x60; is ignored for this level. This can only be set for the level that has the highest value for &#x60;levels[].level.&#x60;
379
+ * &#x60;false&#x60;: The entitlement level does not correspond to unlimited units of the feature.
380
+
381
+ */
351
382
 
352
- is_unlimited?:boolean;
383
+ is_unlimited:boolean;
353
384
  }
354
385
  }
355
386
  }
@@ -89,39 +89,39 @@ declare module 'chargebee' {
89
89
  create_for_items(input?:CreateForItemsInputParam):ChargebeeRequest<CreateForItemsResponse>;
90
90
 
91
91
  /**
92
- * @description This API allows to cancel gifts. Only gift in &#x27;scheduled&#x27; and &#x27;unclaimed&#x27; states can be cancelled.
92
+ * @description Retrieves a gift subscription. This API accepts the gift &#x27;id&#x27; and returns the gift along with the subscription.
93
93
 
94
94
  */
95
95
 
96
- cancel(gift_id:string):ChargebeeRequest<CancelResponse>;
96
+ retrieve(gift_id:string):ChargebeeRequest<RetrieveResponse>;
97
97
 
98
98
  /**
99
- * @description Change the date/time at which the gift notification email is to be sent. This only applies to gifts in the scheduled [status](https://apidocs.chargebee.com/docs/api/gifts#gift_status).
99
+ * @description Retrieves the list of gifts.
100
100
 
101
101
  */
102
102
 
103
- update_gift(gift_id:string, input:UpdateGiftInputParam):ChargebeeRequest<UpdateGiftResponse>;
103
+ list(input?:ListInputParam):ChargebeeRequest<ListResponse>;
104
104
 
105
105
  /**
106
- * @description Retrieves the list of gifts.
106
+ * @description Claiming a gift will move the status to &#x27;claimed&#x27;. Only gifts in &#x27;unclaimed&#x27; state can be claimed.
107
107
 
108
108
  */
109
109
 
110
- list(input?:ListInputParam):ChargebeeRequest<ListResponse>;
110
+ claim(gift_id:string):ChargebeeRequest<ClaimResponse>;
111
111
 
112
112
  /**
113
- * @description Retrieves a gift subscription. This API accepts the gift &#x27;id&#x27; and returns the gift along with the subscription.
113
+ * @description This API allows to cancel gifts. Only gift in &#x27;scheduled&#x27; and &#x27;unclaimed&#x27; states can be cancelled.
114
114
 
115
115
  */
116
116
 
117
- retrieve(gift_id:string):ChargebeeRequest<RetrieveResponse>;
117
+ cancel(gift_id:string):ChargebeeRequest<CancelResponse>;
118
118
 
119
119
  /**
120
- * @description Claiming a gift will move the status to &#x27;claimed&#x27;. Only gifts in &#x27;unclaimed&#x27; state can be claimed.
120
+ * @description Change the date/time at which the gift notification email is to be sent. This only applies to gifts in the scheduled [status](https://apidocs.chargebee.com/docs/api/gifts#gift_status).
121
121
 
122
122
  */
123
123
 
124
- claim(gift_id:string):ChargebeeRequest<ClaimResponse>;
124
+ update_gift(gift_id:string, input:UpdateGiftInputParam):ChargebeeRequest<UpdateGiftResponse>;
125
125
  }
126
126
  export interface CreateForItemsResponse {
127
127
  gift:Gift;
@@ -186,7 +186,7 @@ declare module 'chargebee' {
186
186
 
187
187
  */
188
188
 
189
- payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'sofort' | 'upi' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'card',reference_id?:string};
189
+ payment_intent?:{additional_information?:object,gateway_account_id?:string,gw_token?:string,id?:string,payment_method_type?:'giropay' | 'ideal' | 'sepa_instant_transfer' | 'google_pay' | 'netbanking_emandates' | 'dotpay' | 'boleto' | 'direct_debit' | 'faster_payments' | 'sofort' | 'upi' | 'venmo' | 'amazon_payments' | 'apple_pay' | 'bancontact' | 'paypal_express_checkout' | 'pay_to' | 'card',reference_id?:string};
190
190
 
191
191
  /**
192
192
  * @description Parameters for shipping_address
@@ -202,33 +202,12 @@ declare module 'chargebee' {
202
202
 
203
203
  subscription_items?:{item_price_id?:string,quantity?:number,quantity_in_decimal?:string}[];
204
204
  }
205
- export interface CancelResponse {
205
+ export interface RetrieveResponse {
206
206
  gift:Gift;
207
207
 
208
208
  subscription:Subscription;
209
209
  }
210
210
 
211
- export interface UpdateGiftResponse {
212
- gift:Gift;
213
-
214
- subscription:Subscription;
215
- }
216
- export interface UpdateGiftInputParam {
217
-
218
- /**
219
- * @description The new date/time at which the gift notification email is to be sent. The value must be greater than current time. If [no_expiry](https://apidocs.chargebee.com/docs/api/gifts#gift_no_expiry) is false then the value must also be less than [claim_expiry_date](https://apidocs.chargebee.com/docs/api/gifts#gift_claim_expiry_date).
220
-
221
- */
222
-
223
- scheduled_at:number;
224
-
225
- /**
226
- * @description An internal comment for this action. The comments are not retrievable via API and are only available on request via [Chargebee Support](https://chargebee.freshdesk.com/support/home).
227
-
228
- */
229
-
230
- comment?:string;
231
- }
232
211
  export interface ListResponse {
233
212
  /**
234
213
  * @description Retrieves the list of gifts.
@@ -247,59 +226,80 @@ declare module 'chargebee' {
247
226
  export interface ListInputParam {
248
227
  [key : string]: any;
249
228
  /**
250
- * @description The number of resources to be returned.
229
+ * @description Retrieves the list of gifts.
251
230
 
252
231
  */
253
232
 
254
233
  limit?:number;
255
234
 
256
235
  /**
257
- * @description Determines your position in the list for pagination. To ensure that the next page is retrieved correctly, always set \&#x60;offset\&#x60; to the value of \&#x60;next_offset\&#x60; obtained in the previous iteration of the API call.
236
+ * @description Retrieves the list of gifts.
258
237
 
259
238
  */
260
239
 
261
240
  offset?:string;
262
241
 
263
242
  /**
264
- * @description Status of the gift.
243
+ * @description Retrieves the list of gifts.
265
244
 
266
245
  */
267
246
 
268
247
  status?:{in?:string,is?:'expired' | 'scheduled' | 'unclaimed' | 'claimed' | 'cancelled',is_not?:'expired' | 'scheduled' | 'unclaimed' | 'claimed' | 'cancelled',not_in?:string};
269
248
 
270
249
  /**
271
- * @description Parameters for gift_receiver
250
+ * @description Retrieves the list of gifts.
272
251
 
273
252
  */
274
253
 
275
254
  gift_receiver?:{customer_id?:{is?:string,is_not?:string,starts_with?:string},email?:{is?:string,is_not?:string,starts_with?:string}};
276
255
 
277
256
  /**
278
- * @description Parameters for gifter
257
+ * @description Retrieves the list of gifts.
279
258
 
280
259
  */
281
260
 
282
261
  gifter?:{customer_id?:{is?:string,is_not?:string,starts_with?:string}};
283
262
  }
284
- export interface RetrieveResponse {
263
+ export interface ClaimResponse {
285
264
  gift:Gift;
286
265
 
287
266
  subscription:Subscription;
288
267
  }
289
268
 
290
- export interface ClaimResponse {
269
+ export interface CancelResponse {
291
270
  gift:Gift;
292
271
 
293
272
  subscription:Subscription;
294
273
  }
295
274
 
275
+ export interface UpdateGiftResponse {
276
+ gift:Gift;
277
+
278
+ subscription:Subscription;
279
+ }
280
+ export interface UpdateGiftInputParam {
281
+
282
+ /**
283
+ * @description The new date/time at which the gift notification email is to be sent. The value must be greater than current time. If [no_expiry](https://apidocs.chargebee.com/docs/api/gifts#gift_no_expiry) is false then the value must also be less than [claim_expiry_date](https://apidocs.chargebee.com/docs/api/gifts#gift_claim_expiry_date).
284
+
285
+ */
286
+
287
+ scheduled_at:number;
288
+
289
+ /**
290
+ * @description An internal comment for this action. The comments are not retrievable via API and are only available on request via [Chargebee Support](https://chargebee.freshdesk.com/support/home).
291
+
292
+ */
293
+
294
+ comment?:string;
295
+ }
296
296
  export interface Gifter {
297
297
  /**
298
298
  * @description Gifter customer id.
299
299
 
300
300
  */
301
301
 
302
- customer_id?:string;
302
+ customer_id:string;
303
303
 
304
304
  /**
305
305
  * @description Invoice raised on the gifter.
@@ -328,14 +328,14 @@ declare module 'chargebee' {
328
328
 
329
329
  */
330
330
 
331
- customer_id?:string;
331
+ customer_id:string;
332
332
 
333
333
  /**
334
334
  * @description Subscription created for the gift.
335
335
 
336
336
  */
337
337
 
338
- subscription_id?:string;
338
+ subscription_id:string;
339
339
 
340
340
  /**
341
341
  * @description First name of the receiver as given by the gifter.
@@ -359,7 +359,17 @@ declare module 'chargebee' {
359
359
  email?:string;
360
360
  }
361
361
  export interface GiftTimeline {
362
- status?:'expired' | 'scheduled' | 'unclaimed' | 'claimed' | 'cancelled';
362
+ /**
363
+ * @description Status of the gift. \* cancelled - Gift is cancelled. \* expired - Gift is expired. \* scheduled - Gift has been scheduled. \* claimed - Gift is claimed. \* unclaimed - Gift is not yet claimed and is ready to be claimed.
364
+
365
+ */
366
+
367
+ status:'expired' | 'scheduled' | 'unclaimed' | 'claimed' | 'cancelled';
368
+
369
+ /**
370
+ * @description Timestamp indicating when this event occurred.
371
+
372
+ */
363
373
 
364
374
  occurred_at?:number;
365
375
  }