@izak0s/spacebring-api 9.4.0 → 9.5.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.
package/dist/index.d.cts CHANGED
@@ -3315,7 +3315,8 @@ interface components {
3315
3315
  }[];
3316
3316
  /**
3317
3317
  * Format: uri
3318
- * @description URL of the benefit's cover image.
3318
+ * @deprecated
3319
+ * @description Deprecated: use media[0].url instead.
3319
3320
  */
3320
3321
  mediaUrl?: string | null;
3321
3322
  /** @description Short tagline of the benefit. */
@@ -3412,7 +3413,8 @@ interface components {
3412
3413
  }[];
3413
3414
  /**
3414
3415
  * Format: uri
3415
- * @description URL of the benefit's cover image.
3416
+ * @deprecated
3417
+ * @description Deprecated: use media[0].url instead.
3416
3418
  */
3417
3419
  mediaUrl?: string | null;
3418
3420
  /** @description Short tagline of the benefit. */
@@ -3506,7 +3508,8 @@ interface components {
3506
3508
  }[];
3507
3509
  /**
3508
3510
  * Format: uri
3509
- * @description URL of the benefit's cover image.
3511
+ * @deprecated
3512
+ * @description Deprecated: use media[0].url instead.
3510
3513
  */
3511
3514
  mediaUrl?: string | null;
3512
3515
  /** @description Short tagline of the benefit. */
@@ -3873,7 +3876,7 @@ interface components {
3873
3876
  */
3874
3877
  transactionRef: string;
3875
3878
  }[];
3876
- /** @description URL to download the invoice PDF (issued invoices only). */
3879
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3877
3880
  pdfUrl?: string;
3878
3881
  /** @description Whether this invoice was created post-payment. */
3879
3882
  postPaymentCreation: boolean;
@@ -3891,7 +3894,7 @@ interface components {
3891
3894
  prePaymentCreditAmount?: number;
3892
3895
  /** @description Pre-payment credit notes amount in major units. */
3893
3896
  prePaymentCreditNotesAmount: number;
3894
- /** @description URL to download the receipt PDF (paid invoices only). */
3897
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3895
3898
  receiptPdfUrl?: string;
3896
3899
  /** @description Customer balance at draft creation. */
3897
3900
  startingBalance?: number;
@@ -4270,7 +4273,7 @@ interface components {
4270
4273
  */
4271
4274
  transactionRef: string;
4272
4275
  }[];
4273
- /** @description URL to download the invoice PDF (issued invoices only). */
4276
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4274
4277
  pdfUrl?: string;
4275
4278
  /** @description Whether this invoice was created post-payment. */
4276
4279
  postPaymentCreation: boolean;
@@ -4288,7 +4291,7 @@ interface components {
4288
4291
  prePaymentCreditAmount?: number;
4289
4292
  /** @description Pre-payment credit notes amount in major units. */
4290
4293
  prePaymentCreditNotesAmount: number;
4291
- /** @description URL to download the receipt PDF (paid invoices only). */
4294
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4292
4295
  receiptPdfUrl?: string;
4293
4296
  /** @description Customer balance at draft creation. */
4294
4297
  startingBalance?: number;
@@ -4664,7 +4667,7 @@ interface components {
4664
4667
  */
4665
4668
  transactionRef: string;
4666
4669
  }[];
4667
- /** @description URL to download the invoice PDF (issued invoices only). */
4670
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4668
4671
  pdfUrl?: string;
4669
4672
  /** @description Whether this invoice was created post-payment. */
4670
4673
  postPaymentCreation: boolean;
@@ -4682,7 +4685,7 @@ interface components {
4682
4685
  prePaymentCreditAmount?: number;
4683
4686
  /** @description Pre-payment credit notes amount in major units. */
4684
4687
  prePaymentCreditNotesAmount: number;
4685
- /** @description URL to download the receipt PDF (paid invoices only). */
4688
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4686
4689
  receiptPdfUrl?: string;
4687
4690
  /** @description Customer balance at draft creation. */
4688
4691
  startingBalance?: number;
@@ -5628,7 +5631,7 @@ interface components {
5628
5631
  number?: number;
5629
5632
  /** @description Out-of-band refund amount in major units. */
5630
5633
  outOfBandAmount?: number;
5631
- /** @description URL to download the credit note PDF. */
5634
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5632
5635
  pdfUrl: string;
5633
5636
  /** @description Post-payment credit amount in major units. */
5634
5637
  postPaymentAmount: number;
@@ -5955,7 +5958,7 @@ interface components {
5955
5958
  number?: number;
5956
5959
  /** @description Out-of-band refund amount in major units. */
5957
5960
  outOfBandAmount?: number;
5958
- /** @description URL to download the credit note PDF. */
5961
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5959
5962
  pdfUrl: string;
5960
5963
  /** @description Post-payment credit amount in major units. */
5961
5964
  postPaymentAmount: number;
package/dist/index.d.ts CHANGED
@@ -3315,7 +3315,8 @@ interface components {
3315
3315
  }[];
3316
3316
  /**
3317
3317
  * Format: uri
3318
- * @description URL of the benefit's cover image.
3318
+ * @deprecated
3319
+ * @description Deprecated: use media[0].url instead.
3319
3320
  */
3320
3321
  mediaUrl?: string | null;
3321
3322
  /** @description Short tagline of the benefit. */
@@ -3412,7 +3413,8 @@ interface components {
3412
3413
  }[];
3413
3414
  /**
3414
3415
  * Format: uri
3415
- * @description URL of the benefit's cover image.
3416
+ * @deprecated
3417
+ * @description Deprecated: use media[0].url instead.
3416
3418
  */
3417
3419
  mediaUrl?: string | null;
3418
3420
  /** @description Short tagline of the benefit. */
@@ -3506,7 +3508,8 @@ interface components {
3506
3508
  }[];
3507
3509
  /**
3508
3510
  * Format: uri
3509
- * @description URL of the benefit's cover image.
3511
+ * @deprecated
3512
+ * @description Deprecated: use media[0].url instead.
3510
3513
  */
3511
3514
  mediaUrl?: string | null;
3512
3515
  /** @description Short tagline of the benefit. */
@@ -3873,7 +3876,7 @@ interface components {
3873
3876
  */
3874
3877
  transactionRef: string;
3875
3878
  }[];
3876
- /** @description URL to download the invoice PDF (issued invoices only). */
3879
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3877
3880
  pdfUrl?: string;
3878
3881
  /** @description Whether this invoice was created post-payment. */
3879
3882
  postPaymentCreation: boolean;
@@ -3891,7 +3894,7 @@ interface components {
3891
3894
  prePaymentCreditAmount?: number;
3892
3895
  /** @description Pre-payment credit notes amount in major units. */
3893
3896
  prePaymentCreditNotesAmount: number;
3894
- /** @description URL to download the receipt PDF (paid invoices only). */
3897
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
3895
3898
  receiptPdfUrl?: string;
3896
3899
  /** @description Customer balance at draft creation. */
3897
3900
  startingBalance?: number;
@@ -4270,7 +4273,7 @@ interface components {
4270
4273
  */
4271
4274
  transactionRef: string;
4272
4275
  }[];
4273
- /** @description URL to download the invoice PDF (issued invoices only). */
4276
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4274
4277
  pdfUrl?: string;
4275
4278
  /** @description Whether this invoice was created post-payment. */
4276
4279
  postPaymentCreation: boolean;
@@ -4288,7 +4291,7 @@ interface components {
4288
4291
  prePaymentCreditAmount?: number;
4289
4292
  /** @description Pre-payment credit notes amount in major units. */
4290
4293
  prePaymentCreditNotesAmount: number;
4291
- /** @description URL to download the receipt PDF (paid invoices only). */
4294
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4292
4295
  receiptPdfUrl?: string;
4293
4296
  /** @description Customer balance at draft creation. */
4294
4297
  startingBalance?: number;
@@ -4664,7 +4667,7 @@ interface components {
4664
4667
  */
4665
4668
  transactionRef: string;
4666
4669
  }[];
4667
- /** @description URL to download the invoice PDF (issued invoices only). */
4670
+ /** @description URL to download the invoice PDF (issued invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4668
4671
  pdfUrl?: string;
4669
4672
  /** @description Whether this invoice was created post-payment. */
4670
4673
  postPaymentCreation: boolean;
@@ -4682,7 +4685,7 @@ interface components {
4682
4685
  prePaymentCreditAmount?: number;
4683
4686
  /** @description Pre-payment credit notes amount in major units. */
4684
4687
  prePaymentCreditNotesAmount: number;
4685
- /** @description URL to download the receipt PDF (paid invoices only). */
4688
+ /** @description URL to download the receipt PDF (paid invoices only). The link is replaced by a new one 180 days after the invoice was issued and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the invoice again for the current link. */
4686
4689
  receiptPdfUrl?: string;
4687
4690
  /** @description Customer balance at draft creation. */
4688
4691
  startingBalance?: number;
@@ -5628,7 +5631,7 @@ interface components {
5628
5631
  number?: number;
5629
5632
  /** @description Out-of-band refund amount in major units. */
5630
5633
  outOfBandAmount?: number;
5631
- /** @description URL to download the credit note PDF. */
5634
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5632
5635
  pdfUrl: string;
5633
5636
  /** @description Post-payment credit amount in major units. */
5634
5637
  postPaymentAmount: number;
@@ -5955,7 +5958,7 @@ interface components {
5955
5958
  number?: number;
5956
5959
  /** @description Out-of-band refund amount in major units. */
5957
5960
  outOfBandAmount?: number;
5958
- /** @description URL to download the credit note PDF. */
5961
+ /** @description URL to download the credit note PDF. The link is replaced by a new one 180 days after the credit note was created and every 180 days after that; the one it replaced keeps working for 10 more days and then stops. Fetch the credit note again for the current link. */
5959
5962
  pdfUrl: string;
5960
5963
  /** @description Post-payment credit amount in major units. */
5961
5964
  postPaymentAmount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "description": "Community-maintained TypeScript client (SDK) for the Spacebring (formerly andcards) coworking space management API",
5
5
  "license": "MIT",
6
6
  "author": "izak0s",