@mediahub-bg/ott-objects 0.7.31 → 0.7.35

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 +24 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediahub-bg/ott-objects",
3
- "version": "0.7.31",
3
+ "version": "0.7.35",
4
4
  "types": "web/types.d.ts",
5
5
  "files": [
6
6
  "web"
package/web/types.ts CHANGED
@@ -35,6 +35,7 @@ export interface PubBillingAddon {
35
35
  cfMaxAmount?: number /* int64 */;
36
36
  CfBit: string;
37
37
  itemPrices?: PubBillingItemPrice[];
38
+ billingCycles?: number /* int32 */;
38
39
  expire?: number /* int64 */;
39
40
  trial?: number /* int64 */;
40
41
  paid?: boolean;
@@ -145,6 +146,7 @@ export interface PubInvoiceEstimate {
145
146
  export interface PubEstimate {
146
147
  subscription: SubscriptionEstimate;
147
148
  invoiceEstimate?: PubInvoiceEstimate;
149
+ nextInvoiceEstimate?: PubInvoiceEstimate;
148
150
  }
149
151
  export interface PubFutureEstimate {
150
152
  futureInvoiceEstimate?: PubInvoiceEstimate;
@@ -345,6 +347,28 @@ export interface InUpdateSub {
345
347
  plan: string;
346
348
  addons?: InAddon[];
347
349
  coupons?: string[];
350
+ paymentIntentId?: string;
351
+ }
352
+ export interface InPaymentIntent {
353
+ plan: string;
354
+ addons?: InAddon[];
355
+ coupons?: string[];
356
+ paymentMethodType: string;
357
+ id?: string;
358
+ }
359
+ export interface PubPaymentIntent {
360
+ id: string;
361
+ status: string;
362
+ amount: number /* int64 */;
363
+ currencyCode: string;
364
+ gatewayAccountId: string;
365
+ gateway: string;
366
+ paymentMethodType: string;
367
+ referenceId?: string;
368
+ customerId: string;
369
+ expiresAt: number /* int64 */;
370
+ createdAt: number /* int64 */;
371
+ modifiedAt: number /* int64 */;
348
372
  }
349
373
 
350
374
  //////////