@doctocar/tooling 0.3.1-35 → 0.3.1-36

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,3 +1,4 @@
1
+ import type { SupportedIsoCurrency } from "../../../../enums";
1
2
  import type { FirestoreOpType, OrderInvoiceGenerationStatus, OrderIssueSeverityLevel, OrderStatusTypes } from "../../enums";
2
3
  import type { FirestoreTimestamp } from "../FirestoreTimestamp.type";
3
4
  import type { DoctoCarLocation } from "../location";
@@ -44,6 +45,7 @@ export type FirestoreOrderDocument = {
44
45
  serviceCompletedAt?: FirestoreTimestamp;
45
46
  issueReportedByCustomerAt?: FirestoreTimestamp;
46
47
  completedAt?: FirestoreTimestamp;
48
+ invoicedAt?: FirestoreTimestamp;
47
49
  cancelledAt?: FirestoreTimestamp;
48
50
  };
49
51
  publicReference: string;
@@ -138,8 +140,10 @@ export type FirestoreOrderDocument = {
138
140
  };
139
141
  execution?: {
140
142
  serviceProviderEntityWalletCredit?: {
141
- walletLedgerEntryId?: string;
142
- creditedAt?: FirestoreTimestamp;
143
+ walletLedgerEntryId: string;
144
+ creditedAt: FirestoreTimestamp;
145
+ amountInCents: number;
146
+ currency: SupportedIsoCurrency;
143
147
  };
144
148
  };
145
149
  metadata?: Record<string, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doctocar/tooling",
3
- "version": "0.3.1-35",
3
+ "version": "0.3.1-36",
4
4
  "description": "A set of tools for DoctoCar projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",