@mediahub-bg/ott-objects 0.7.30 → 0.7.33

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 (2) hide show
  1. package/package.json +1 -1
  2. package/web/types.ts +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediahub-bg/ott-objects",
3
- "version": "0.7.30",
3
+ "version": "0.7.33",
4
4
  "types": "web/types.d.ts",
5
5
  "files": [
6
6
  "web"
package/web/types.ts CHANGED
@@ -345,6 +345,28 @@ export interface InUpdateSub {
345
345
  plan: string;
346
346
  addons?: InAddon[];
347
347
  coupons?: string[];
348
+ paymentIntentId?: string;
349
+ }
350
+ export interface InPaymentIntent {
351
+ plan: string;
352
+ addons?: InAddon[];
353
+ coupons?: string[];
354
+ paymentMethodType: string;
355
+ id?: string;
356
+ }
357
+ export interface PubPaymentIntent {
358
+ id: string;
359
+ status: string;
360
+ amount: number /* int64 */;
361
+ currencyCode: string;
362
+ gatewayAccountId: string;
363
+ gateway: string;
364
+ paymentMethodType: string;
365
+ referenceId?: string;
366
+ customerId: string;
367
+ expiresAt: number /* int64 */;
368
+ createdAt: number /* int64 */;
369
+ modifiedAt: number /* int64 */;
348
370
  }
349
371
 
350
372
  //////////