@tillhub/javascript-sdk 4.60.0 → 4.60.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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [4.60.1](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.60.0...v4.60.1) (2023-01-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **suppliers:** adjust suppliers typeScript interfaces ([8784bfa](https://github.com/tillhub/tillhub-sdk-javascript/commit/8784bfa87d6aa34a66a6a46a86b9d94b046a53b8))
7
+ * **suppliers:** cast object to suppliers item ([6d3127b](https://github.com/tillhub/tillhub-sdk-javascript/commit/6d3127b8df91cba89d25677bcdea57aeecfce92c))
8
+
1
9
  # [4.60.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.59.1...v4.60.0) (2023-01-25)
2
10
 
3
11
 
@@ -83,19 +83,19 @@ export interface ErrorObject {
83
83
  }
84
84
  export declare type SupplierAddressType = 'billing' | 'returns';
85
85
  export interface SupplierAddress {
86
- lines: string[] | null;
87
- street: string | null;
88
- street_number: string | null;
89
- locality: string | null;
90
- region: string | null;
91
- postal_code: string | null;
92
- country: string | null;
93
- type: SupplierAddressType | null;
86
+ lines?: string[] | null;
87
+ street?: string | null;
88
+ street_number?: string | null;
89
+ locality?: string | null;
90
+ region?: string | null;
91
+ postal_code?: string | null;
92
+ country?: string | null;
93
+ type?: SupplierAddressType | null;
94
94
  }
95
95
  export interface SupplierBankAccount {
96
- name: string | null;
97
- iban: string | null;
98
- swift: string | null;
96
+ name?: string | null;
97
+ iban?: string | null;
98
+ swift?: string | null;
99
99
  }
100
100
  export interface Supplier {
101
101
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/javascript-sdk",
3
- "version": "4.60.0",
3
+ "version": "4.60.1",
4
4
  "description": "The JavaScript (Browser) SDK for the Tillhub API.",
5
5
  "keywords": [],
6
6
  "main": "dist/tillhub-js.js",