@mydoormot/app-types 1.7.22 → 1.7.23

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,5 @@
1
1
 
2
- > @mydoormot/app-types@1.7.21 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.22 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  DTS Build start
12
- ESM dist/index.js 6.75 KB
13
- ESM ⚡️ Build success in 440ms
14
- CJS dist/index.cjs 8.51 KB
15
- CJS ⚡️ Build success in 440ms
16
- DTS ⚡️ Build success in 1476ms
17
- DTS dist/index.d.ts 22.32 KB
18
- DTS dist/index.d.cts 22.32 KB
12
+ ESM dist/index.js 6.97 KB
13
+ ESM ⚡️ Build success in 412ms
14
+ CJS dist/index.cjs 8.78 KB
15
+ CJS ⚡️ Build success in 413ms
16
+ DTS ⚡️ Build success in 907ms
17
+ DTS dist/index.d.ts 22.43 KB
18
+ DTS dist/index.d.cts 22.43 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Added settlement type
8
+
3
9
  ## 1.7.22
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -37,6 +37,7 @@ __export(src_exports, {
37
37
  PaymentOptions: () => PaymentOptions,
38
38
  RemittanceStatus: () => RemittanceStatus,
39
39
  RoleType: () => RoleType,
40
+ SettlementType: () => SettlementType,
40
41
  TraccarDeviceStatus: () => TraccarDeviceStatus,
41
42
  VehicleLogType: () => VehicleLogType,
42
43
  VehicleType: () => VehicleType,
@@ -182,6 +183,11 @@ var RemittanceStatus = /* @__PURE__ */ ((RemittanceStatus2) => {
182
183
  RemittanceStatus2["Cancelled"] = "cancelled";
183
184
  return RemittanceStatus2;
184
185
  })(RemittanceStatus || {});
186
+ var SettlementType = /* @__PURE__ */ ((SettlementType2) => {
187
+ SettlementType2["DeliveryFee"] = "delivery_fee";
188
+ SettlementType2["Additional"] = "additional";
189
+ return SettlementType2;
190
+ })(SettlementType || {});
185
191
 
186
192
  // src/enterprise.ts
187
193
  var EnterpriseType = /* @__PURE__ */ ((EnterpriseType2) => {
@@ -241,6 +247,7 @@ var LinkDestination = /* @__PURE__ */ ((LinkDestination2) => {
241
247
  PaymentOptions,
242
248
  RemittanceStatus,
243
249
  RoleType,
250
+ SettlementType,
244
251
  TraccarDeviceStatus,
245
252
  VehicleLogType,
246
253
  VehicleType,
package/dist/index.d.cts CHANGED
@@ -287,6 +287,10 @@ interface RiderPerformanceStats {
287
287
  riders: RiderPerformanceItem[];
288
288
  timeSeries?: RiderPerformanceTimeSeries[];
289
289
  }
290
+ declare enum SettlementType {
291
+ DeliveryFee = "delivery_fee",
292
+ Additional = "additional"
293
+ }
290
294
 
291
295
  declare enum ErrandStatus {
292
296
  Pending = "pending",
@@ -886,4 +890,4 @@ declare enum LinkDestination {
886
890
  }
887
891
  type NullOrUndefined = null | undefined;
888
892
 
889
- export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
893
+ export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
package/dist/index.d.ts CHANGED
@@ -287,6 +287,10 @@ interface RiderPerformanceStats {
287
287
  riders: RiderPerformanceItem[];
288
288
  timeSeries?: RiderPerformanceTimeSeries[];
289
289
  }
290
+ declare enum SettlementType {
291
+ DeliveryFee = "delivery_fee",
292
+ Additional = "additional"
293
+ }
290
294
 
291
295
  declare enum ErrandStatus {
292
296
  Pending = "pending",
@@ -886,4 +890,4 @@ declare enum LinkDestination {
886
890
  }
887
891
  type NullOrUndefined = null | undefined;
888
892
 
889
- export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
893
+ export { type AddressDetails, AddressTypes, type AggregatedErrand, AuthType, type Business, type BusinessCategory, type BusinessMember, type BusinessPg, BusinessRole, type City, type Coupon, type Customer, type CustomerTransactionStats, DeliveryStatus, type Enterprise, type EnterpriseCategoryDoc, type EnterpriseSubCategoryDoc, EnterpriseType, type Errand, type ErrandDeliveryTiming, type ErrandPackagingQuality, type ErrandRating, type ErrandReview, type ErrandReviewLink, type ErrandRiderBehavior, ErrandStatus, type ErrandTimeline, GlobalRoles, type Invoice, InvoiceGenerationType, type InvoiceItem, InvoiceItemType, InvoiceStatus, type LatLng, LinkDestination, type MaintenanceItem, type MaintenancePartUsage, type MaintenanceRecord, type MaintenanceStats, type MaintenanceStatsSummary, type MaintenanceTopItem, MembershipStatus, type Notification, type NotificationData, NotificationType, type NullOrUndefined, type PaginateResult, ParcelSize, PaymentOptions, type PendingErrand, RemittanceStatus, type Rider, type RiderPerformanceItem, type RiderPerformanceStats, type RiderPerformanceSummary, type RiderPerformanceTimeSeries, type RiderSettlement, RoleType, SettlementType, type State, type TraccarDevice, TraccarDeviceStatus, type TraccarPosition, type TrackerDevice, type Transaction, type TransactionCategory, type TransactionItem, type TransactionType, type TransactionWithCategory, type TransactionWithJoin, type User, type UserAddress, type Vehicle, type VehicleLog, type VehicleLogStatsSummary, VehicleLogType, type VehicleLogWithErrands, VehicleType, type VehicleWithRider, type Vendor, errandTimeline };
package/dist/index.js CHANGED
@@ -136,6 +136,11 @@ var RemittanceStatus = /* @__PURE__ */ ((RemittanceStatus2) => {
136
136
  RemittanceStatus2["Cancelled"] = "cancelled";
137
137
  return RemittanceStatus2;
138
138
  })(RemittanceStatus || {});
139
+ var SettlementType = /* @__PURE__ */ ((SettlementType2) => {
140
+ SettlementType2["DeliveryFee"] = "delivery_fee";
141
+ SettlementType2["Additional"] = "additional";
142
+ return SettlementType2;
143
+ })(SettlementType || {});
139
144
 
140
145
  // src/enterprise.ts
141
146
  var EnterpriseType = /* @__PURE__ */ ((EnterpriseType2) => {
@@ -194,6 +199,7 @@ export {
194
199
  PaymentOptions,
195
200
  RemittanceStatus,
196
201
  RoleType,
202
+ SettlementType,
197
203
  TraccarDeviceStatus,
198
204
  VehicleLogType,
199
205
  VehicleType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.22",
3
+ "version": "1.7.23",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/rider.ts CHANGED
@@ -138,3 +138,8 @@ export interface RiderPerformanceStats {
138
138
  riders: RiderPerformanceItem[];
139
139
  timeSeries?: RiderPerformanceTimeSeries[];
140
140
  }
141
+
142
+ export enum SettlementType {
143
+ DeliveryFee = 'delivery_fee',
144
+ Additional = 'additional',
145
+ }