@compassdigital/sdk.typescript 4.101.0 → 4.103.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.
@@ -3,6 +3,8 @@
3
3
 
4
4
  import { RequestQuery, BaseRequest } from './util';
5
5
 
6
+ export type TransactionType = 'pickup' | 'delivery';
7
+
6
8
  export interface TaxLocationData {
7
9
  // unique location identifier
8
10
  id: string;
@@ -43,8 +45,7 @@ export interface TaxRequestDTO {
43
45
  id: string;
44
46
  // the app to associate the transaction with
45
47
  appName: string;
46
- // the order fulfillment type
47
- transactionType: 'pickup' | 'delivery';
48
+ transactionType: TransactionType;
48
49
  // numeric value of service fee
49
50
  serviceFee?: number;
50
51
  // numeric value of delivery fee