@flowselections/floriday-klanten-module 1.0.34 → 1.0.35
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-lib/assets/floriday-logo.png.asset.json +11 -0
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts +5 -0
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerAssortmentTab.js +74 -0
- package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts +5 -0
- package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/FloridayPriceImportDialog.js +55 -0
- package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -3
- package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +10 -2
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +24 -3
- package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts +4 -0
- package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.js +47 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.d.ts.map +1 -1
- package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.js +2 -1
- package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts +5 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.js +83 -0
- package/dist-lib/index.d.ts +8 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +8 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +595 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +595 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +595 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +597 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/mapping.js +13 -13
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1785 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +1785 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +595 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-assortment.functions.d.ts +26666 -0
- package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-assortment.functions.js +280 -0
- package/dist-lib/lib/customer-notes.functions.d.ts +1190 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +595 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.d.ts +5355 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +2975 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/errors.d.ts +12 -0
- package/dist-lib/lib/errors.d.ts.map +1 -1
- package/dist-lib/lib/errors.js +24 -0
- package/dist-lib/lib/external-customers.functions.d.ts +2380 -0
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +595 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-catalog-prices.d.ts +33 -0
- package/dist-lib/lib/floriday-catalog-prices.d.ts.map +1 -0
- package/dist-lib/lib/floriday-catalog-prices.js +98 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts +1190 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-price-import.functions.d.ts +53265 -0
- package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-price-import.functions.js +219 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +595 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.server.d.ts +55 -0
- package/dist-lib/lib/floriday.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday.server.js +765 -0
- package/dist-lib/lib/local-discounts.functions.d.ts +4165 -0
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +595 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +2380 -0
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +595 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +137905 -27
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.js +145 -0
- package/dist-lib/lib/price-groups.functions.d.ts +601 -1
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +1190 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +595 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.server.js +21 -21
- package/package.json +1 -1
- package/public/flowselections-assets/Klanten/twinfield-logo.svg +217 -217
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface FloridayCustomer {
|
|
2
|
+
organization_id: string;
|
|
3
|
+
connection_id: string;
|
|
4
|
+
company_name: string;
|
|
5
|
+
vat_number: string | null;
|
|
6
|
+
email: string | null;
|
|
7
|
+
phone: string | null;
|
|
8
|
+
contact_person: string | null;
|
|
9
|
+
street: string | null;
|
|
10
|
+
house_number: string | null;
|
|
11
|
+
postal_code: string | null;
|
|
12
|
+
city: string | null;
|
|
13
|
+
country: string | null;
|
|
14
|
+
gln: string | null;
|
|
15
|
+
commercial_name: string | null;
|
|
16
|
+
bio: string | null;
|
|
17
|
+
segments: string[];
|
|
18
|
+
trade_forms: string[];
|
|
19
|
+
markets: string[];
|
|
20
|
+
product_groups: string[];
|
|
21
|
+
payment_methods: string[];
|
|
22
|
+
organization_type: string | null;
|
|
23
|
+
website: string | null;
|
|
24
|
+
logo_url: string | null;
|
|
25
|
+
custom_fields: Record<string, unknown>;
|
|
26
|
+
raw: unknown;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Realtime sync — alleen handelsrelaties (trade-partners) van elke actieve
|
|
30
|
+
* connectie. Dit is wat de "Synchroniseer Floriday"-knop aanroept en wat de
|
|
31
|
+
* uurlijkse token-cron triggert. Het volledige Floriday-netwerk wordt apart
|
|
32
|
+
* 's nachts gesynchroniseerd via syncFloridayNetwork().
|
|
33
|
+
*/
|
|
34
|
+
export declare function syncAllFloridayCustomers(): Promise<{
|
|
35
|
+
synced: number;
|
|
36
|
+
errors: Array<{
|
|
37
|
+
connectionId: string;
|
|
38
|
+
message: string;
|
|
39
|
+
}>;
|
|
40
|
+
}>;
|
|
41
|
+
/**
|
|
42
|
+
* Nachtelijke sync van het volledige Floriday-netwerk (alle organisaties
|
|
43
|
+
* waar de connectie zicht op heeft). Wordt incrementeel opgehaald via een
|
|
44
|
+
* per-connectie sequence number en in `floriday_network_cache` opgeslagen.
|
|
45
|
+
* Raakt de `customers`-tabel níet aan — die wordt door
|
|
46
|
+
* syncAllFloridayCustomers() (= trade-partners) gevuld.
|
|
47
|
+
*/
|
|
48
|
+
export declare function syncFloridayNetwork(): Promise<{
|
|
49
|
+
upserted: number;
|
|
50
|
+
errors: Array<{
|
|
51
|
+
connectionId: string;
|
|
52
|
+
message: string;
|
|
53
|
+
}>;
|
|
54
|
+
}>;
|
|
55
|
+
//# sourceMappingURL=floriday.server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"floriday.server.d.ts","sourceRoot":"","sources":["../../src/lib/floriday.server.ts"],"names":[],"mappings":"AA6FA,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,GAAG,EAAE,OAAO,CAAC;CACd;AAsHD;;;;;GAKG;AACH,wBAAsB,wBAAwB,IAAI,OAAO,CAAC;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,KAAK,CAAC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC1D,CAAC,CA+QD;AA0MD;;;;;;GAMG;AACH,wBAAsB,mBAAmB,IAAI,OAAO,CAAC;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,KAAK,CAAC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC1D,CAAC,CAuID"}
|