@aranova/tracking-react 0.27.0 → 1.0.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.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import * as z from 'zod/mini';
2
2
  import { a as ConversionConfigStore, c as TrackingConfigRuntime } from './tracking-config-runtime-D7prdTE1.js';
3
3
  import { CountryCode } from 'libphonenumber-js';
4
4
 
@@ -13,337 +13,98 @@ declare function stashUserData(data: ConversionUserData, country?: CountryCode):
13
13
  declare function clearStashedUserData(): void;
14
14
 
15
15
  /**
16
- * Sales / Conversions wire schemas — the client-side source of truth.
16
+ * Sales / Conversions wire schemas.
17
17
  *
18
- * `saleCreateSchema` is mirrored by `SaleCreateSchema` in
19
- * `apps/api/src/schemas/tracking_sales.py` and enforced by the backend drift
20
- * test (the `resources` section of `events.schema.json`). Keep them in lockstep.
18
+ * The object shapes come from the backend's own spec — see
19
+ * `../generated/zod.gen.ts` and `packages/tracking-core/openapi-ts.config.ts`.
20
+ * This file adds only what JSON Schema cannot express: the `service`/`services`
21
+ * XOR, and defaults Pydantic omits from the spec because `default_factory` is
22
+ * not serialized (`items: []`) — composed onto the generated base, never
23
+ * duplicating its shape.
21
24
  *
22
- * Money is **integer minor units (cents)**; `quantity` is a decimal string;
23
- * `currency` is the required `SupportedCurrency` enum.
25
+ * `saleUpdateSchema` stays hand-written: its non-nullable-on-update rule is a
26
+ * backend `model_validator`, invisible to JSON Schema, so the generated shape
27
+ * would accept `null` where the server returns 422.
24
28
  */
25
- declare const SUPPORTED_CURRENCIES: readonly ["USD", "CAD"];
29
+ declare const saleItemSchema: z.ZodMiniObject<{
30
+ category: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
31
+ external_item_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
32
+ name: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
33
+ quantity: z.ZodMiniString<string>;
34
+ unit_cost_cents: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
35
+ unit_price_cents: z.ZodMiniInt;
36
+ }, z.core.$strict>;
37
+ declare const saleServiceSchema: z.ZodMiniObject<{
38
+ amount_cents: z.ZodMiniInt;
39
+ service: z.ZodMiniString<string>;
40
+ }, z.core.$strict>;
41
+ declare const currencySchema: z.ZodMiniEnum<{
42
+ USD: "USD";
43
+ CAD: "CAD";
44
+ }>;
45
+ declare const SUPPORTED_CURRENCIES: ("USD" | "CAD")[];
26
46
  type SupportedCurrency = (typeof SUPPORTED_CURRENCIES)[number];
27
47
  declare const TRACKING_ENVIRONMENTS: readonly ["production", "development"];
28
- declare const saleItemSchema: z.ZodObject<{
29
- external_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- quantity: z.ZodString;
33
- unit_price_cents: z.ZodNumber;
34
- unit_cost_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
- }, "strict", z.ZodTypeAny, {
36
- quantity: string;
37
- unit_price_cents: number;
38
- name?: string | null | undefined;
39
- external_item_id?: string | null | undefined;
40
- category?: string | null | undefined;
41
- unit_cost_cents?: number | null | undefined;
42
- }, {
43
- quantity: string;
44
- unit_price_cents: number;
45
- name?: string | null | undefined;
46
- external_item_id?: string | null | undefined;
47
- category?: string | null | undefined;
48
- unit_cost_cents?: number | null | undefined;
49
- }>;
50
- declare const saleServiceSchema: z.ZodObject<{
51
- service: z.ZodString;
52
- amount_cents: z.ZodNumber;
53
- }, "strict", z.ZodTypeAny, {
54
- service: string;
55
- amount_cents: number;
56
- }, {
57
- service: string;
58
- amount_cents: number;
59
- }>;
60
- declare const saleCreateSchema: z.ZodEffects<z.ZodObject<{
61
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
65
- service: z.ZodString;
66
- amount_cents: z.ZodNumber;
67
- }, "strict", z.ZodTypeAny, {
68
- service: string;
69
- amount_cents: number;
70
- }, {
71
- service: string;
72
- amount_cents: number;
73
- }>, "many">>>;
74
- currency: z.ZodEnum<["USD", "CAD"]>;
75
- amount_total_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
76
- occurred_at: z.ZodString;
77
- environment: z.ZodDefault<z.ZodEnum<["production", "development"]>>;
78
- items: z.ZodDefault<z.ZodArray<z.ZodObject<{
79
- external_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- quantity: z.ZodString;
83
- unit_price_cents: z.ZodNumber;
84
- unit_cost_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
85
- }, "strict", z.ZodTypeAny, {
86
- quantity: string;
87
- unit_price_cents: number;
88
- name?: string | null | undefined;
89
- external_item_id?: string | null | undefined;
90
- category?: string | null | undefined;
91
- unit_cost_cents?: number | null | undefined;
92
- }, {
93
- quantity: string;
94
- unit_price_cents: number;
95
- name?: string | null | undefined;
96
- external_item_id?: string | null | undefined;
97
- category?: string | null | undefined;
98
- unit_cost_cents?: number | null | undefined;
99
- }>, "many">>;
100
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
101
- customer_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
- customer_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
- customer_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
- sms_consent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
105
- }, "strict", z.ZodTypeAny, {
106
- currency: "USD" | "CAD";
107
- environment: "production" | "development";
108
- occurred_at: string;
109
- items: {
110
- quantity: string;
111
- unit_price_cents: number;
112
- name?: string | null | undefined;
113
- external_item_id?: string | null | undefined;
114
- category?: string | null | undefined;
115
- unit_cost_cents?: number | null | undefined;
116
- }[];
117
- metadata?: Record<string, unknown> | null | undefined;
118
- services?: {
119
- service: string;
120
- amount_cents: number;
121
- }[] | null | undefined;
122
- service?: string | null | undefined;
123
- amount_total_cents?: number | null | undefined;
124
- external_id?: string | null | undefined;
125
- description?: string | null | undefined;
126
- customer_name?: string | null | undefined;
127
- customer_phone?: string | null | undefined;
128
- customer_email?: string | null | undefined;
129
- sms_consent?: boolean | null | undefined;
130
- }, {
131
- currency: "USD" | "CAD";
132
- occurred_at: string;
133
- metadata?: Record<string, unknown> | null | undefined;
134
- services?: {
135
- service: string;
136
- amount_cents: number;
137
- }[] | null | undefined;
138
- environment?: "production" | "development" | undefined;
139
- service?: string | null | undefined;
140
- amount_total_cents?: number | null | undefined;
141
- external_id?: string | null | undefined;
142
- description?: string | null | undefined;
143
- items?: {
144
- quantity: string;
145
- unit_price_cents: number;
146
- name?: string | null | undefined;
147
- external_item_id?: string | null | undefined;
148
- category?: string | null | undefined;
149
- unit_cost_cents?: number | null | undefined;
150
- }[] | undefined;
151
- customer_name?: string | null | undefined;
152
- customer_phone?: string | null | undefined;
153
- customer_email?: string | null | undefined;
154
- sms_consent?: boolean | null | undefined;
155
- }>, {
156
- currency: "USD" | "CAD";
157
- environment: "production" | "development";
158
- occurred_at: string;
159
- items: {
160
- quantity: string;
161
- unit_price_cents: number;
162
- name?: string | null | undefined;
163
- external_item_id?: string | null | undefined;
164
- category?: string | null | undefined;
165
- unit_cost_cents?: number | null | undefined;
166
- }[];
167
- metadata?: Record<string, unknown> | null | undefined;
168
- services?: {
169
- service: string;
170
- amount_cents: number;
171
- }[] | null | undefined;
172
- service?: string | null | undefined;
173
- amount_total_cents?: number | null | undefined;
174
- external_id?: string | null | undefined;
175
- description?: string | null | undefined;
176
- customer_name?: string | null | undefined;
177
- customer_phone?: string | null | undefined;
178
- customer_email?: string | null | undefined;
179
- sms_consent?: boolean | null | undefined;
180
- }, {
181
- currency: "USD" | "CAD";
182
- occurred_at: string;
183
- metadata?: Record<string, unknown> | null | undefined;
184
- services?: {
185
- service: string;
186
- amount_cents: number;
187
- }[] | null | undefined;
188
- environment?: "production" | "development" | undefined;
189
- service?: string | null | undefined;
190
- amount_total_cents?: number | null | undefined;
191
- external_id?: string | null | undefined;
192
- description?: string | null | undefined;
193
- items?: {
194
- quantity: string;
195
- unit_price_cents: number;
196
- name?: string | null | undefined;
197
- external_item_id?: string | null | undefined;
198
- category?: string | null | undefined;
199
- unit_cost_cents?: number | null | undefined;
200
- }[] | undefined;
201
- customer_name?: string | null | undefined;
202
- customer_phone?: string | null | undefined;
203
- customer_email?: string | null | undefined;
204
- sms_consent?: boolean | null | undefined;
205
- }>;
206
- declare const saleUpdateSchema: z.ZodEffects<z.ZodObject<{
207
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
- service: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
- services: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
210
- service: z.ZodString;
211
- amount_cents: z.ZodNumber;
212
- }, "strict", z.ZodTypeAny, {
213
- service: string;
214
- amount_cents: number;
215
- }, {
216
- service: string;
217
- amount_cents: number;
218
- }>, "many">>>;
219
- currency: z.ZodOptional<z.ZodEnum<["USD", "CAD"]>>;
220
- amount_total_cents: z.ZodOptional<z.ZodNumber>;
221
- occurred_at: z.ZodOptional<z.ZodString>;
222
- items: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
- external_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
- category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
226
- quantity: z.ZodString;
227
- unit_price_cents: z.ZodNumber;
228
- unit_cost_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
229
- }, "strict", z.ZodTypeAny, {
230
- quantity: string;
231
- unit_price_cents: number;
232
- name?: string | null | undefined;
233
- external_item_id?: string | null | undefined;
234
- category?: string | null | undefined;
235
- unit_cost_cents?: number | null | undefined;
236
- }, {
237
- quantity: string;
238
- unit_price_cents: number;
239
- name?: string | null | undefined;
240
- external_item_id?: string | null | undefined;
241
- category?: string | null | undefined;
242
- unit_cost_cents?: number | null | undefined;
243
- }>, "many">>;
244
- metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
245
- customer_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
- customer_name_placeholder_confirmed: z.ZodOptional<z.ZodBoolean>;
247
- customer_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
- customer_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
- sms_consent: z.ZodOptional<z.ZodBoolean>;
250
- }, "strict", z.ZodTypeAny, {
251
- metadata?: Record<string, unknown> | null | undefined;
252
- currency?: "USD" | "CAD" | undefined;
253
- services?: {
254
- service: string;
255
- amount_cents: number;
256
- }[] | null | undefined;
257
- service?: string | null | undefined;
258
- amount_total_cents?: number | undefined;
259
- description?: string | null | undefined;
260
- occurred_at?: string | undefined;
261
- items?: {
262
- quantity: string;
263
- unit_price_cents: number;
264
- name?: string | null | undefined;
265
- external_item_id?: string | null | undefined;
266
- category?: string | null | undefined;
267
- unit_cost_cents?: number | null | undefined;
268
- }[] | undefined;
269
- customer_name?: string | null | undefined;
270
- customer_phone?: string | null | undefined;
271
- customer_email?: string | null | undefined;
272
- sms_consent?: boolean | undefined;
273
- customer_name_placeholder_confirmed?: boolean | undefined;
274
- }, {
275
- metadata?: Record<string, unknown> | null | undefined;
276
- currency?: "USD" | "CAD" | undefined;
277
- services?: {
278
- service: string;
279
- amount_cents: number;
280
- }[] | null | undefined;
281
- service?: string | null | undefined;
282
- amount_total_cents?: number | undefined;
283
- description?: string | null | undefined;
284
- occurred_at?: string | undefined;
285
- items?: {
286
- quantity: string;
287
- unit_price_cents: number;
288
- name?: string | null | undefined;
289
- external_item_id?: string | null | undefined;
290
- category?: string | null | undefined;
291
- unit_cost_cents?: number | null | undefined;
292
- }[] | undefined;
293
- customer_name?: string | null | undefined;
294
- customer_phone?: string | null | undefined;
295
- customer_email?: string | null | undefined;
296
- sms_consent?: boolean | undefined;
297
- customer_name_placeholder_confirmed?: boolean | undefined;
298
- }>, {
299
- metadata?: Record<string, unknown> | null | undefined;
300
- currency?: "USD" | "CAD" | undefined;
301
- services?: {
302
- service: string;
303
- amount_cents: number;
304
- }[] | null | undefined;
305
- service?: string | null | undefined;
306
- amount_total_cents?: number | undefined;
307
- description?: string | null | undefined;
308
- occurred_at?: string | undefined;
309
- items?: {
310
- quantity: string;
311
- unit_price_cents: number;
312
- name?: string | null | undefined;
313
- external_item_id?: string | null | undefined;
314
- category?: string | null | undefined;
315
- unit_cost_cents?: number | null | undefined;
316
- }[] | undefined;
317
- customer_name?: string | null | undefined;
318
- customer_phone?: string | null | undefined;
319
- customer_email?: string | null | undefined;
320
- sms_consent?: boolean | undefined;
321
- customer_name_placeholder_confirmed?: boolean | undefined;
322
- }, {
323
- metadata?: Record<string, unknown> | null | undefined;
324
- currency?: "USD" | "CAD" | undefined;
325
- services?: {
326
- service: string;
327
- amount_cents: number;
328
- }[] | null | undefined;
329
- service?: string | null | undefined;
330
- amount_total_cents?: number | undefined;
331
- description?: string | null | undefined;
332
- occurred_at?: string | undefined;
333
- items?: {
334
- quantity: string;
335
- unit_price_cents: number;
336
- name?: string | null | undefined;
337
- external_item_id?: string | null | undefined;
338
- category?: string | null | undefined;
339
- unit_cost_cents?: number | null | undefined;
340
- }[] | undefined;
341
- customer_name?: string | null | undefined;
342
- customer_phone?: string | null | undefined;
343
- customer_email?: string | null | undefined;
344
- sms_consent?: boolean | undefined;
345
- customer_name_placeholder_confirmed?: boolean | undefined;
346
- }>;
48
+ declare const saleCreateSchema: z.ZodMiniObject<{
49
+ amount_total_cents: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
50
+ currency: z.ZodMiniEnum<{
51
+ USD: "USD";
52
+ CAD: "CAD";
53
+ }>;
54
+ customer_email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniEmail>>;
55
+ customer_name: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
56
+ customer_phone: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
57
+ description: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
58
+ environment: z.ZodMiniDefault<z.ZodMiniOptional<z.ZodMiniEnum<{
59
+ production: "production";
60
+ development: "development";
61
+ }>>>;
62
+ external_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
63
+ metadata: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
64
+ occurred_at: z.iso.ZodMiniISODateTime;
65
+ service: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
66
+ services: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
67
+ amount_cents: z.ZodMiniInt;
68
+ service: z.ZodMiniString<string>;
69
+ }, z.core.$strict>>>>;
70
+ sms_consent: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
71
+ items: z.ZodMiniDefault<z.ZodMiniArray<z.ZodMiniObject<{
72
+ category: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
73
+ external_item_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
74
+ name: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
75
+ quantity: z.ZodMiniString<string>;
76
+ unit_cost_cents: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
77
+ unit_price_cents: z.ZodMiniInt;
78
+ }, z.core.$strict>>>;
79
+ }, z.core.$strict>;
80
+ declare const saleUpdateSchema: z.ZodMiniObject<{
81
+ description: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
82
+ service: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
83
+ services: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
84
+ amount_cents: z.ZodMiniInt;
85
+ service: z.ZodMiniString<string>;
86
+ }, z.core.$strict>>>>;
87
+ currency: z.ZodMiniOptional<z.ZodMiniEnum<{
88
+ USD: "USD";
89
+ CAD: "CAD";
90
+ }>>;
91
+ amount_total_cents: z.ZodMiniOptional<z.ZodMiniInt>;
92
+ occurred_at: z.ZodMiniOptional<z.iso.ZodMiniISODateTime>;
93
+ items: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
94
+ category: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
95
+ external_item_id: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
96
+ name: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
97
+ quantity: z.ZodMiniString<string>;
98
+ unit_cost_cents: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniInt>>;
99
+ unit_price_cents: z.ZodMiniInt;
100
+ }, z.core.$strict>>>;
101
+ metadata: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>>;
102
+ customer_name: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
103
+ customer_name_placeholder_confirmed: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
104
+ customer_phone: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
105
+ customer_email: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniEmail>>;
106
+ sms_consent: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
107
+ }, z.core.$strict>;
347
108
  type SaleItemInput = z.input<typeof saleItemSchema>;
348
109
  type SaleServiceInput = z.input<typeof saleServiceSchema>;
349
110
  type SaleInput = z.input<typeof saleCreateSchema>;
@@ -898,4 +659,4 @@ interface PublicServiceItem {
898
659
  */
899
660
  declare function fetchServices(config: SalesTransportConfig): Promise<PublicServiceItem[]>;
900
661
 
901
- export { type SalesCategoryBreakdown as $, AranovaApiError as A, type BusinessConfig as B, type CompareTo as C, type DistinctCustomersByCurrency as D, type EffectiveSaleProperty as E, type SaleItemInput as F, type Granularity as G, type SaleKeysetSortField as H, type SaleListPage as I, type SaleListQuery as J, type SaleListQueryV2 as K, type SalePropertyOption as L, type SalePropertyType as M, NAMED_RANGES as N, type SaleService as O, type PublicServiceItem as P, type SaleServiceInput as Q, type SaleSortField as R, SUPPORTED_CURRENCIES as S, type SaleSortOrder as T, type SaleSummary as U, type SaleSummaryPrevious as V, type SaleSummaryQuery as W, type SaleSummaryQueryV2 as X, type SaleSummaryV2 as Y, type SaleUpdateInput as Z, type SalesBusinessClient as _, type BusinessConfigFeatures as a, type SalesClient as a0, type SalesClientConfig as a1, type SalesCustomersClient as a2, type SalesServiceBreakdown as a3, type SalesTransportConfig as a4, type SalesTrendPoint as a5, type SummaryCurrencyDelta as a6, type SummaryDeltas as a7, type SummaryWindow as a8, type SupportedCurrency as a9, TRACKING_RANGES as aa, type TrackingOverviewRange as ab, clearStashedUserData as ac, createSalesClient as ad, fetchServices as ae, formatDateInTz as af, formatMoney as ag, fromMinor as ah, saleCreateSchema as ai, saleItemSchema as aj, saleServiceSchema as ak, saleUpdateSchema as al, salesRequest as am, stashUserData as an, toMinor as ao, type BusinessConfigService as b, type ConversionUserData as c, type CurrencyRevenue as d, type CustomerCurrencyDelta as e, type CustomerCurrencyTotal as f, type CustomerGetOptions as g, type CustomerGetResult as h, type CustomerKpis as i, type CustomerKpisDeltas as j, type CustomerKpisPrevious as k, type CustomerListPage as l, type CustomerListQuery as m, type CustomerProfile as n, type CustomerSegment as o, type CustomerSegmentCount as p, type CustomerSortField as q, type CustomerSummary as r, type CustomerSummaryQuery as s, type NamedRange as t, type Sale as u, type SaleBuiltinRequirableField as v, type SaleCursorPage as w, type SaleFilters as x, type SaleInput as y, type SaleItem as z };
662
+ export { type SalesCategoryBreakdown as $, AranovaApiError as A, type BusinessConfig as B, type CompareTo as C, type DistinctCustomersByCurrency as D, type EffectiveSaleProperty as E, type SaleItemInput as F, type Granularity as G, type SaleKeysetSortField as H, type SaleListPage as I, type SaleListQuery as J, type SaleListQueryV2 as K, type SalePropertyOption as L, type SalePropertyType as M, NAMED_RANGES as N, type SaleService as O, type PublicServiceItem as P, type SaleServiceInput as Q, type SaleSortField as R, SUPPORTED_CURRENCIES as S, type SaleSortOrder as T, type SaleSummary as U, type SaleSummaryPrevious as V, type SaleSummaryQuery as W, type SaleSummaryQueryV2 as X, type SaleSummaryV2 as Y, type SaleUpdateInput as Z, type SalesBusinessClient as _, type BusinessConfigFeatures as a, type SalesClient as a0, type SalesClientConfig as a1, type SalesCustomersClient as a2, type SalesServiceBreakdown as a3, type SalesTransportConfig as a4, type SalesTrendPoint as a5, type SummaryCurrencyDelta as a6, type SummaryDeltas as a7, type SummaryWindow as a8, type SupportedCurrency as a9, TRACKING_RANGES as aa, type TrackingOverviewRange as ab, clearStashedUserData as ac, createSalesClient as ad, currencySchema as ae, fetchServices as af, formatDateInTz as ag, formatMoney as ah, fromMinor as ai, saleCreateSchema as aj, saleItemSchema as ak, saleServiceSchema as al, saleUpdateSchema as am, salesRequest as an, stashUserData as ao, toMinor as ap, type BusinessConfigService as b, type ConversionUserData as c, type CurrencyRevenue as d, type CustomerCurrencyDelta as e, type CustomerCurrencyTotal as f, type CustomerGetOptions as g, type CustomerGetResult as h, type CustomerKpis as i, type CustomerKpisDeltas as j, type CustomerKpisPrevious as k, type CustomerListPage as l, type CustomerListQuery as m, type CustomerProfile as n, type CustomerSegment as o, type CustomerSegmentCount as p, type CustomerSortField as q, type CustomerSummary as r, type CustomerSummaryQuery as s, type NamedRange as t, type Sale as u, type SaleBuiltinRequirableField as v, type SaleCursorPage as w, type SaleFilters as x, type SaleInput as y, type SaleItem as z };