@paynow-gg/typescript-sdk 2.1.17 → 2.1.18

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.
@@ -3419,6 +3419,41 @@ export interface LastPaymentErrorDto {
3419
3419
  */
3420
3420
  message: string;
3421
3421
  }
3422
+ /**
3423
+ * Represents an invoice Stripe Billing raised for the store's subscription before the store moved to PayNow.
3424
+ */
3425
+ export interface LegacyStoreInvoiceDto {
3426
+ /**
3427
+ * The Stripe identifier of the invoice, starting with 'in_'.
3428
+ */
3429
+ id: string;
3430
+ /**
3431
+ * The invoice number printed on the document.
3432
+ */
3433
+ number?: string | null;
3434
+ /**
3435
+ * What the invoice was raised for.
3436
+ */
3437
+ description?: string | null;
3438
+ /**
3439
+ * The lowercase ISO 4217 currency the invoice was raised in.
3440
+ */
3441
+ currency: string;
3442
+ /**
3443
+ * The invoice total in the smallest currency unit.
3444
+ * @format int64
3445
+ */
3446
+ total: number;
3447
+ /**
3448
+ * Whether the invoice has been paid.
3449
+ */
3450
+ is_paid: boolean;
3451
+ /**
3452
+ * When the invoice was created.
3453
+ * @format date-time
3454
+ */
3455
+ created_at: string;
3456
+ }
3422
3457
  /**
3423
3458
  * Link payment method details
3424
3459
  */
@@ -7266,54 +7301,6 @@ export interface StoreUpsellSettingsDto {
7266
7301
  updated_at: string;
7267
7302
  updated_by: ActorDto;
7268
7303
  }
7269
- /**
7270
- * Represents an invoice Stripe Billing raised for the store's subscription before the store moved to PayNow.
7271
- */
7272
- export interface StripeStoreInvoiceDto {
7273
- /**
7274
- * The Stripe identifier of the invoice, starting with 'in_'.
7275
- */
7276
- id: string;
7277
- /**
7278
- * The invoice number printed on the document.
7279
- */
7280
- number?: string | null;
7281
- /**
7282
- * What the invoice was raised for.
7283
- */
7284
- description?: string | null;
7285
- /**
7286
- * The lowercase ISO 4217 currency the invoice was raised in.
7287
- */
7288
- currency: string;
7289
- /**
7290
- * The invoice total in the smallest currency unit.
7291
- * @format int64
7292
- */
7293
- total: number;
7294
- /**
7295
- * Whether the invoice has been paid.
7296
- */
7297
- is_paid: boolean;
7298
- /**
7299
- * When the invoice was created.
7300
- * @format date-time
7301
- */
7302
- created_at: string;
7303
- }
7304
- /**
7305
- * Represents a page of the store's Stripe Billing invoices, newest first.
7306
- */
7307
- export interface StripeStoreInvoicesDto {
7308
- /**
7309
- * The invoices on this page.
7310
- */
7311
- invoices: Array<StripeStoreInvoiceDto>;
7312
- /**
7313
- * Whether more invoices follow. Pass the last invoice's 'id' as 'starting_after' to fetch them.
7314
- */
7315
- has_more: boolean;
7316
- }
7317
7304
  /**
7318
7305
  * Represents a billing amount breakdown for a subscription.
7319
7306
  */