@tillhub/javascript-sdk 4.168.0 → 4.169.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [4.169.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.168.0...v4.169.0) (2024-11-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * **invoices:** update UodInvoices interface ([#612](https://github.com/tillhub/tillhub-sdk-javascript/issues/612)) ([8c400f4](https://github.com/tillhub/tillhub-sdk-javascript/commit/8c400f4569afceda924af40786556969cad16b2b))
7
+
1
8
  # [4.168.0](https://github.com/tillhub/tillhub-sdk-javascript/compare/v4.167.0...v4.168.0) (2024-11-28)
2
9
 
3
10
 
@@ -4,7 +4,7 @@ import { UriHelper } from '../uri-helper';
4
4
  import { ThBaseHandler } from '../base';
5
5
  declare type StateTypes = 'Open' | 'Paid' | 'Dunning' | 'Encashment' | 'Cancellation' | 'Cancellation paid';
6
6
  declare type DocumentTypes = 'Standard' | 'Credit Note' | 'Partial Cancellation' | 'Full Cancellation';
7
- declare type OriginTypes = 'Ecom' | 'POS';
7
+ declare type TxnOriginTypes = 'Ecom' | 'POS';
8
8
  declare type InvoiceType = 'pdf' | 'csv';
9
9
  export interface UodInvoicesResponse {
10
10
  data: UodInvoicesEntity[];
@@ -28,7 +28,7 @@ export interface UodInvoicesEntity {
28
28
  document: Document;
29
29
  billingPeriodStart: Date | string;
30
30
  billingPeriodEnd: Date | string;
31
- origin?: OriginTypes;
31
+ txnOrigin?: TxnOriginTypes;
32
32
  state?: StateTypes;
33
33
  type?: DocumentTypes;
34
34
  csvUrl?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/javascript-sdk",
3
- "version": "4.168.0",
3
+ "version": "4.169.0",
4
4
  "description": "The JavaScript (Browser) SDK for the Tillhub API.",
5
5
  "keywords": [],
6
6
  "main": "dist/tillhub-js.js",