@open-tender/types 0.0.8 → 0.0.10
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/dist/cjs/types/api/customer/revenueCenters.d.ts +3 -2
- package/dist/cjs/types/api/revenueCenter.d.ts +1 -0
- package/dist/cjs/types/api/store.d.ts +2 -1
- package/dist/cjs/types/datetimes.d.ts +5 -1
- package/dist/esm/types/api/customer/revenueCenters.d.ts +3 -2
- package/dist/esm/types/api/revenueCenter.d.ts +1 -0
- package/dist/esm/types/api/store.d.ts +2 -1
- package/dist/esm/types/datetimes.d.ts +5 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DateString, ISOString, Time24, TimeHuman, TimezonePython } from '../../datetimes';
|
|
2
|
-
import {
|
|
2
|
+
import { Money, ServiceType, Weekday } from '../../global';
|
|
3
|
+
import { RevenueCenterType } from '../revenueCenter';
|
|
3
4
|
export interface RevenueCenterAddress {
|
|
4
5
|
city: string;
|
|
5
6
|
cross_streets: string;
|
|
@@ -145,7 +146,7 @@ export interface CustomerRevenueCenter {
|
|
|
145
146
|
};
|
|
146
147
|
order_times: RevenueCenterOrderTimes;
|
|
147
148
|
revenue_center_id: number;
|
|
148
|
-
revenue_center_type:
|
|
149
|
+
revenue_center_type: RevenueCenterType;
|
|
149
150
|
service_types: Array<ServiceType>;
|
|
150
151
|
slug: string;
|
|
151
152
|
status: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TimeString, TimezonePython } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, ServiceType, TenderType, Url, Weekday } from '../global';
|
|
3
|
+
import { RevenueCenterType } from './revenueCenter';
|
|
3
4
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
5
|
export interface PaymentProcessing {
|
|
5
6
|
integration: PaymentProcessor;
|
|
@@ -94,7 +95,7 @@ export interface Store {
|
|
|
94
95
|
receipt_header: string;
|
|
95
96
|
receipt_phone: boolean;
|
|
96
97
|
revenue_center_id: number;
|
|
97
|
-
revenue_center_type:
|
|
98
|
+
revenue_center_type: RevenueCenterType;
|
|
98
99
|
service_types: Array<ServiceType>;
|
|
99
100
|
short_name: string;
|
|
100
101
|
slug: string;
|
|
@@ -38,11 +38,15 @@ export declare type TimezoneMap = {
|
|
|
38
38
|
export declare type RequestedAt = ISOString | 'asap';
|
|
39
39
|
export interface TimeInterval {
|
|
40
40
|
label: string;
|
|
41
|
-
value: Date;
|
|
41
|
+
value: Date | string;
|
|
42
42
|
}
|
|
43
43
|
export interface TimeObject {
|
|
44
44
|
name: string;
|
|
45
45
|
value: number;
|
|
46
46
|
disabled: boolean;
|
|
47
47
|
}
|
|
48
|
+
export interface DatePickerTimes {
|
|
49
|
+
excludeTimes: Array<Date>;
|
|
50
|
+
interval: number;
|
|
51
|
+
}
|
|
48
52
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DateString, ISOString, Time24, TimeHuman, TimezonePython } from '../../datetimes';
|
|
2
|
-
import {
|
|
2
|
+
import { Money, ServiceType, Weekday } from '../../global';
|
|
3
|
+
import { RevenueCenterType } from '../revenueCenter';
|
|
3
4
|
export interface RevenueCenterAddress {
|
|
4
5
|
city: string;
|
|
5
6
|
cross_streets: string;
|
|
@@ -145,7 +146,7 @@ export interface CustomerRevenueCenter {
|
|
|
145
146
|
};
|
|
146
147
|
order_times: RevenueCenterOrderTimes;
|
|
147
148
|
revenue_center_id: number;
|
|
148
|
-
revenue_center_type:
|
|
149
|
+
revenue_center_type: RevenueCenterType;
|
|
149
150
|
service_types: Array<ServiceType>;
|
|
150
151
|
slug: string;
|
|
151
152
|
status: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TimeString, TimezonePython } from '../datetimes';
|
|
2
2
|
import { Decimal, Money, ServiceType, TenderType, Url, Weekday } from '../global';
|
|
3
|
+
import { RevenueCenterType } from './revenueCenter';
|
|
3
4
|
export declare type PaymentProcessor = 'NONE' | 'CARDCONNECT' | 'VANTIV' | 'CLOVER' | 'NMI';
|
|
4
5
|
export interface PaymentProcessing {
|
|
5
6
|
integration: PaymentProcessor;
|
|
@@ -94,7 +95,7 @@ export interface Store {
|
|
|
94
95
|
receipt_header: string;
|
|
95
96
|
receipt_phone: boolean;
|
|
96
97
|
revenue_center_id: number;
|
|
97
|
-
revenue_center_type:
|
|
98
|
+
revenue_center_type: RevenueCenterType;
|
|
98
99
|
service_types: Array<ServiceType>;
|
|
99
100
|
short_name: string;
|
|
100
101
|
slug: string;
|
|
@@ -38,11 +38,15 @@ export declare type TimezoneMap = {
|
|
|
38
38
|
export declare type RequestedAt = ISOString | 'asap';
|
|
39
39
|
export interface TimeInterval {
|
|
40
40
|
label: string;
|
|
41
|
-
value: Date;
|
|
41
|
+
value: Date | string;
|
|
42
42
|
}
|
|
43
43
|
export interface TimeObject {
|
|
44
44
|
name: string;
|
|
45
45
|
value: number;
|
|
46
46
|
disabled: boolean;
|
|
47
47
|
}
|
|
48
|
+
export interface DatePickerTimes {
|
|
49
|
+
excludeTimes: Array<Date>;
|
|
50
|
+
interval: number;
|
|
51
|
+
}
|
|
48
52
|
export {};
|
package/package.json
CHANGED