swoop-common 2.2.236 → 2.2.241

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.
@@ -1,5 +1,6 @@
1
1
  export declare enum AmendmentType {
2
2
  CANCELLATION = "cancellation",
3
3
  PRICING_AMENDMENT = "pricing_amendment",
4
- PAX_ADDITION = "pax_addition"
4
+ PAX_ADDITION = "pax_addition",
5
+ DATE_AMENDMENT = "date_amendment"
5
6
  }
@@ -7,4 +7,5 @@ export var AmendmentType;
7
7
  AmendmentType["CANCELLATION"] = "cancellation";
8
8
  AmendmentType["PRICING_AMENDMENT"] = "pricing_amendment";
9
9
  AmendmentType["PAX_ADDITION"] = "pax_addition";
10
+ AmendmentType["DATE_AMENDMENT"] = "date_amendment";
10
11
  })(AmendmentType || (AmendmentType = {}));
@@ -4,17 +4,17 @@ import type { Status } from './Status';
4
4
  export type Payment = {
5
5
  id?: string;
6
6
  paymentId?: number;
7
- description?: string;
8
- ref?: string;
9
- currency?: string;
10
- amount?: number;
7
+ description?: string | null;
8
+ ref?: string | null;
9
+ currency?: string | null;
10
+ amount?: number | null;
11
11
  amountPaid?: number | null;
12
- invoiceCurrency?: string;
13
- method?: string;
12
+ invoiceCurrency?: string | null;
13
+ method?: string | null;
14
14
  transactionFee?: number | null;
15
15
  feePercent?: number | null;
16
- expiryDate?: string;
17
- paymentLink?: string;
16
+ expiryDate?: string | null;
17
+ paymentLink?: string | null;
18
18
  status?: (Status | null);
19
19
  paymentType?: (PaymentType | null);
20
20
  lead?: (Customer | null);
@@ -4,17 +4,17 @@ import type { Status_jsonld } from './Status_jsonld';
4
4
  export type Payment_jsonld = {
5
5
  id?: string;
6
6
  paymentId?: number;
7
- description?: string;
8
- ref?: string;
9
- currency?: string;
10
- amount?: number;
7
+ description?: string | null;
8
+ ref?: string | null;
9
+ currency?: string | null;
10
+ amount?: number | null;
11
11
  amountPaid?: number | null;
12
- invoiceCurrency?: string;
13
- method?: string;
12
+ invoiceCurrency?: string | null;
13
+ method?: string | null;
14
14
  transactionFee?: number | null;
15
15
  feePercent?: number | null;
16
- expiryDate?: string;
17
- paymentLink?: string;
16
+ expiryDate?: string | null;
17
+ paymentLink?: string | null;
18
18
  status?: (Status_jsonld | null);
19
19
  paymentType?: (PaymentType_jsonld | null);
20
20
  lead?: (Customer_jsonld | null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swoop-common",
3
- "version": "2.2.236",
3
+ "version": "2.2.241",
4
4
  "main": "dist/api/index.js",
5
5
  "types": "dist/api/index.d.ts",
6
6
  "exports": {