mapflow-co-sdk 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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,44 @@
1
+ # Changelog
2
+
3
+ All notable changes to the MapFlow Node.js SDK will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.0] - 2024-01-15
9
+
10
+ ### Added
11
+ - Initial release of MapFlow Node.js SDK
12
+ - Complete TypeScript support with full type definitions
13
+ - All MapFlow API endpoints implemented:
14
+ - Customer management (CRUD + bulk operations)
15
+ - Delivery location management
16
+ - Warehouse management
17
+ - Global customer API (atomic creation)
18
+ - Contact management
19
+ - Opening hours management
20
+ - Delivery item catalog
21
+ - Driver/picker management
22
+ - Vehicle fleet management
23
+ - Tag management
24
+ - Visit management
25
+ - Visit product management
26
+ - Custom error classes for better error handling
27
+ - Promise-based async/await API
28
+ - Full JSDoc documentation
29
+ - Example code for all major features
30
+ - Comprehensive README with usage examples
31
+ - MIT License
32
+
33
+ ### Features
34
+ - ✅ 100% API coverage
35
+ - ✅ Full TypeScript support
36
+ - ✅ Tree-shakeable exports
37
+ - ✅ Zero configuration required
38
+ - ✅ Custom typed errors
39
+ - ✅ Automatic error handling
40
+ - ✅ Request/response interceptors
41
+ - ✅ Configurable timeouts
42
+ - ✅ ESLint + Prettier configured
43
+ - ✅ Jest testing framework ready
44
+
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 MapFlow
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+