@revolugo/common 7.7.1-rc.2 → 7.7.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/common",
3
- "version": "7.7.1-rc.2",
3
+ "version": "7.7.1",
4
4
  "private": false,
5
5
  "description": "Revolugo common",
6
6
  "author": "Revolugo",
@@ -4,9 +4,37 @@ export enum SellsyDocumentStatusEnum {
4
4
  Due = 'due',
5
5
  Late = 'late',
6
6
  Paid = 'paid',
7
+ PartialSpend = 'partialspend',
7
8
  PayInProgress = 'payinprogress',
9
+ Spent = 'spent',
10
+ Stored = 'stored',
8
11
  }
9
12
 
13
+ // eslint-disable-next-line @typescript-eslint/naming-convention
14
+ export const SellsyInvoiceStatusEnum = {
15
+ Cancelled: SellsyDocumentStatusEnum.Cancelled,
16
+ Draft: SellsyDocumentStatusEnum.Draft,
17
+ Due: SellsyDocumentStatusEnum.Due,
18
+ Late: SellsyDocumentStatusEnum.Late,
19
+ Paid: SellsyDocumentStatusEnum.Paid,
20
+ PayInProgress: SellsyDocumentStatusEnum.PayInProgress,
21
+ } as const
22
+
23
+ export type SellsyInvoiceStatusEnum =
24
+ (typeof SellsyInvoiceStatusEnum)[keyof typeof SellsyInvoiceStatusEnum]
25
+
26
+ // eslint-disable-next-line @typescript-eslint/naming-convention
27
+ export const SellsyCreditNoteStatusEnum = {
28
+ Cancelled: SellsyDocumentStatusEnum.Cancelled,
29
+ Draft: SellsyDocumentStatusEnum.Draft,
30
+ PartialSpend: SellsyDocumentStatusEnum.PartialSpend,
31
+ Spent: SellsyDocumentStatusEnum.Spent,
32
+ Stored: SellsyDocumentStatusEnum.Stored,
33
+ } as const
34
+
35
+ export type SellsyCreditNoteStatusEnum =
36
+ (typeof SellsyCreditNoteStatusEnum)[keyof typeof SellsyCreditNoteStatusEnum]
37
+
10
38
  export interface InvoiceApi {
11
39
  /**
12
40
  *