@pushwoosh/rpc-gateway-payment-data 0.2.204 → 0.2.206

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.
package/data.js CHANGED
@@ -1221,6 +1221,12 @@ export const data = {
1221
1221
  },
1222
1222
  "billingPeriodMonths": {
1223
1223
  "type": "number"
1224
+ },
1225
+ "billingPeriodStartDate": {
1226
+ "type": "Date"
1227
+ },
1228
+ "billingPeriodEndDate": {
1229
+ "type": "Date"
1224
1230
  }
1225
1231
  }
1226
1232
  },
@@ -1252,6 +1258,12 @@ export const data = {
1252
1258
  },
1253
1259
  "token": {
1254
1260
  "type": "string"
1261
+ },
1262
+ "paymentMethodNonce": {
1263
+ "type": "string"
1264
+ },
1265
+ "threeDSecureAuthenticationId": {
1266
+ "type": "string"
1255
1267
  }
1256
1268
  }
1257
1269
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-payment-data",
3
- "version": "0.2.204",
3
+ "version": "0.2.206",
4
4
  "description": "Payment processor api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -361,6 +361,8 @@ export type Invoice = {
361
361
  paymentDate: Date;
362
362
  items: InvoiceItem[];
363
363
  billingPeriodMonths: number;
364
+ billingPeriodStartDate: Date;
365
+ billingPeriodEndDate: Date;
364
366
  };
365
367
  export type GetNextEstimatedInvoiceResponse = {
366
368
  planName: string;
@@ -372,6 +374,8 @@ export type GetNextEstimatedInvoiceResponse = {
372
374
  export type PayInvoiceRequest = {
373
375
  invoiceId?: number;
374
376
  token?: string;
377
+ paymentMethodNonce?: string;
378
+ threeDSecureAuthenticationId?: string;
375
379
  };
376
380
  export type PayInvoiceResponse = {
377
381
  paid: boolean;