postnl-ecommerce-sdk 1.0.3__tar.gz

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.
Files changed (172) hide show
  1. postnl_ecommerce_sdk-1.0.3/LICENSE +28 -0
  2. postnl_ecommerce_sdk-1.0.3/MANIFEST.in +2 -0
  3. postnl_ecommerce_sdk-1.0.3/PKG-INFO +125 -0
  4. postnl_ecommerce_sdk-1.0.3/README.md +108 -0
  5. postnl_ecommerce_sdk-1.0.3/postnl_ecommerce_sdk.egg-info/PKG-INFO +125 -0
  6. postnl_ecommerce_sdk-1.0.3/postnl_ecommerce_sdk.egg-info/SOURCES.txt +171 -0
  7. postnl_ecommerce_sdk-1.0.3/postnl_ecommerce_sdk.egg-info/dependency_links.txt +1 -0
  8. postnl_ecommerce_sdk-1.0.3/postnl_ecommerce_sdk.egg-info/requires.txt +7 -0
  9. postnl_ecommerce_sdk-1.0.3/postnl_ecommerce_sdk.egg-info/top_level.txt +3 -0
  10. postnl_ecommerce_sdk-1.0.3/postnlecommerce/__init__.py +9 -0
  11. postnl_ecommerce_sdk-1.0.3/postnlecommerce/api_helper.py +22 -0
  12. postnl_ecommerce_sdk-1.0.3/postnlecommerce/configuration.py +147 -0
  13. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/__init__.py +13 -0
  14. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/barcode_controller.py +113 -0
  15. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/base_controller.py +61 -0
  16. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/checkout_controller.py +77 -0
  17. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/confirming_controller.py +77 -0
  18. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/deliverydate_controller.py +338 -0
  19. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/labelling_controller.py +85 -0
  20. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/locations_controller.py +378 -0
  21. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/postalcode_check_controller.py +92 -0
  22. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/shipment_controller.py +85 -0
  23. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/shipping_status_controller.py +308 -0
  24. postnl_ecommerce_sdk-1.0.3/postnlecommerce/controllers/timeframes_controller.py +137 -0
  25. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/__init__.py +13 -0
  26. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/api_exception.py +35 -0
  27. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/barcode_method_not_allowed_exception.py +39 -0
  28. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/barcode_response_error_exception.py +39 -0
  29. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/barcode_response_invalid_exception.py +43 -0
  30. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/barcode_too_many_request_exception.py +39 -0
  31. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/checkout_response_invalid_exception.py +41 -0
  32. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/confirming_response_error_1_exception.py +43 -0
  33. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/deliverydate_response_invalid_exception.py +41 -0
  34. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/labelling_response_invalid_exception.py +43 -0
  35. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/locations_response_invalid_exception.py +41 -0
  36. postnl_ecommerce_sdk-1.0.3/postnlecommerce/exceptions/timeframe_response_invalid_exception.py +41 -0
  37. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/__init__.py +7 -0
  38. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/api_response.py +44 -0
  39. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/auth/__init__.py +3 -0
  40. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/auth/custom_header_authentication.py +43 -0
  41. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/http_call_back.py +21 -0
  42. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/http_method_enum.py +24 -0
  43. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/http_request.py +54 -0
  44. postnl_ecommerce_sdk-1.0.3/postnlecommerce/http/http_response.py +45 -0
  45. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/__init__.py +124 -0
  46. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address.py +104 -0
  47. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_1.py +101 -0
  48. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_11.py +207 -0
  49. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_2.py +204 -0
  50. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_3.py +110 -0
  51. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_4.py +173 -0
  52. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/address_type_enum.py +26 -0
  53. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/amount.py +122 -0
  54. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/amount_1.py +69 -0
  55. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/barcode_response.py +61 -0
  56. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/checkout_request.py +120 -0
  57. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/checkout_response.py +92 -0
  58. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/code_enum.py +31 -0
  59. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/complete_status.py +66 -0
  60. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/confirming_request.py +73 -0
  61. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/confirming_response.py +67 -0
  62. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/contact.py +95 -0
  63. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/content.py +99 -0
  64. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/content_1.py +99 -0
  65. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/countrycode_enum.py +25 -0
  66. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/cpc_response.py +94 -0
  67. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/currency_1_enum.py +25 -0
  68. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/currency_enum.py +31 -0
  69. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/current_status.py +66 -0
  70. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/custom.py +199 -0
  71. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/customer.py +108 -0
  72. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/customer_1.py +107 -0
  73. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/customer_2.py +77 -0
  74. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/cut_off_time.py +87 -0
  75. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/day_enum.py +45 -0
  76. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/delivery_option.py +74 -0
  77. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/delivery_options.py +63 -0
  78. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/delivery_options_1_enum.py +28 -0
  79. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/detail.py +61 -0
  80. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/dimension.py +101 -0
  81. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/dimension_1.py +93 -0
  82. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/error.py +69 -0
  83. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/error_1.py +69 -0
  84. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/error_2.py +69 -0
  85. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/error_3.py +77 -0
  86. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/error_4.py +77 -0
  87. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/event.py +109 -0
  88. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/expectation.py +69 -0
  89. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/extra_field.py +69 -0
  90. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/fault.py +70 -0
  91. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/friday.py +69 -0
  92. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/friday_1.py +61 -0
  93. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/get_locations_result.py +66 -0
  94. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/get_locations_result_1.py +62 -0
  95. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/group.py +87 -0
  96. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/hazardous_material.py +137 -0
  97. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/label.py +79 -0
  98. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/label_1.py +79 -0
  99. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/labelling_request.py +92 -0
  100. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/labelling_response.py +82 -0
  101. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/labelling_response_1.py +82 -0
  102. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/language_enum.py +34 -0
  103. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/location.py +118 -0
  104. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/location_1.py +154 -0
  105. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/location_response.py +63 -0
  106. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/locations_response.py +63 -0
  107. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/merged_label.py +74 -0
  108. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/message.py +62 -0
  109. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/message_1.py +71 -0
  110. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/monday.py +69 -0
  111. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/monday_1.py +61 -0
  112. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/old_status.py +93 -0
  113. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/opening_hours.py +116 -0
  114. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/option_1_enum.py +43 -0
  115. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/option_2_enum.py +49 -0
  116. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/option_3_enum.py +40 -0
  117. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/option_enum.py +46 -0
  118. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/options.py +64 -0
  119. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/options_2_enum.py +43 -0
  120. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/pickup_option.py +93 -0
  121. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/product_option.py +67 -0
  122. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/product_option_1.py +69 -0
  123. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/product_options.py +62 -0
  124. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/reason_no_timeframe.py +98 -0
  125. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/reason_no_timeframes.py +67 -0
  126. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/response_shipment.py +91 -0
  127. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/response_shipment_1.py +97 -0
  128. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/response_shipment_2.py +97 -0
  129. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/saturday.py +69 -0
  130. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/saturday_1.py +61 -0
  131. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment.py +370 -0
  132. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_1.py +380 -0
  133. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_11.py +171 -0
  134. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_2.py +220 -0
  135. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_type_enum.py +36 -0
  136. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_v_22_calculate_date_delivery_response.py +84 -0
  137. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shipment_v_22_calculate_date_shipping_response.py +61 -0
  138. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shippingstatus_response.py +88 -0
  139. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shippingstatus_response_signature.py +71 -0
  140. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/shippingstatus_response_updated_shipment.py +96 -0
  141. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/signature.py +79 -0
  142. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/status.py +95 -0
  143. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/status_2.py +95 -0
  144. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/string_1_enum.py +43 -0
  145. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/string_enum.py +40 -0
  146. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/sunday.py +69 -0
  147. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/sunday_1.py +61 -0
  148. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/sustainability.py +71 -0
  149. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/thursday.py +69 -0
  150. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/thursday_1.py +61 -0
  151. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframe.py +102 -0
  152. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframe_1.py +70 -0
  153. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframe_response.py +72 -0
  154. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframe_timeframe.py +90 -0
  155. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframes.py +66 -0
  156. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/timeframes_1.py +67 -0
  157. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/tuesday.py +69 -0
  158. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/tuesday_1.py +61 -0
  159. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/type_1_enum.py +28 -0
  160. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/type_enum.py +46 -0
  161. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/warning.py +87 -0
  162. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/warning_1.py +71 -0
  163. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/warning_11.py +69 -0
  164. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/warning_2.py +69 -0
  165. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/warnings.py +62 -0
  166. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/wednesday.py +69 -0
  167. postnl_ecommerce_sdk-1.0.3/postnlecommerce/models/wednesday_1.py +61 -0
  168. postnl_ecommerce_sdk-1.0.3/postnlecommerce/postnlecommerce_client.py +100 -0
  169. postnl_ecommerce_sdk-1.0.3/postnlecommerce/utilities/__init__.py +3 -0
  170. postnl_ecommerce_sdk-1.0.3/postnlecommerce/utilities/file_wrapper.py +17 -0
  171. postnl_ecommerce_sdk-1.0.3/pyproject.toml +18 -0
  172. postnl_ecommerce_sdk-1.0.3/setup.cfg +8 -0
@@ -0,0 +1,28 @@
1
+ License:
2
+ ========
3
+ The MIT License (MIT)
4
+ http://opensource.org/licenses/MIT
5
+
6
+ Copyright (c) 2014 - 2024 APIMATIC Limited
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
25
+
26
+ Trade Mark:
27
+ ==========
28
+ APIMATIC is a trade mark for APIMATIC Limited
@@ -0,0 +1,2 @@
1
+ include LICENSE
2
+ include README.md
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.1
2
+ Name: postnl-ecommerce-sdk
3
+ Version: 1.0.3
4
+ Summary: Collection of PostNL API's for ecommerce processes.
5
+ Author-email: PostNL <apimatic@postnl.nl>
6
+ Project-URL: Documentation, https://developer.postnl.nl/docs
7
+ Keywords: PostNL,SDK,API,ecommerce
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: apimatic-core~=0.2.0
12
+ Requires-Dist: apimatic-core-interfaces~=0.1.0
13
+ Requires-Dist: apimatic-requests-client-adapter~=0.1.0
14
+ Requires-Dist: enum34>=1.1.10,~=1.1
15
+ Provides-Extra: testutils
16
+ Requires-Dist: pytest>=7.2.2; extra == "testutils"
17
+
18
+
19
+ # Getting Started with Postnl-Ecommerce
20
+
21
+ ## Introduction
22
+
23
+ <div><p><b>PostNL Ecommerce APIs</b></p><p>Explore our technical documentation, test your integration and go live with PostNL service.</p><p><b>Start using PostNL APIs for e-commerce processes</b></p><p>To get to know the PostNL APIs better, read all about it in our <a href='https://developer.postnl.nl/api-overview/'>API overview</a>. Learn everything you need to about our API's before embarking on integration with PostNL.</p><p>To connect to PostNL, you can request an API key via <a href='https://mijn.postnl.nl/c/BP2_Mod_Login.app?inresponseto=&RelayState=&startURL=%2F'>Mijn PostNL</a> portal. Choose your APIs and build your integration. Explore our guides, examples, and resources to guide you through each phase of integration and start testing. Ensure that you can make successful test calls towards all endpoints used in the solution.</p><p>Contact our integrations team to have your test calls reviewed and gain access to our API production environment. Once everything is configured and validated, you'll be ready to go live and start using the PostNL service.</p><p>For help contact us via our support form: <a href='https://developer.postnl.nl/support/form/'>Need help? Submit a case | PostNL</a>.</p></div>
24
+
25
+
26
+ ## Install the Package
27
+
28
+ The package is compatible with Python versions `3 >=3.7, <= 3.11`.
29
+ Install the package from PyPi using the following pip command:
30
+
31
+ ```python
32
+ pip install postnl-ecommerce-sdk==1.0.3
33
+ ```
34
+
35
+ You can also view the package at:
36
+ https://pypi.python.org/pypi/postnl-ecommerce-sdk/1.0.3
37
+
38
+ ## Test the SDK
39
+
40
+ You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
41
+
42
+ Navigate to the root directory of the SDK and run the following commands
43
+
44
+ ```
45
+ pip install -r test-requirements.txt
46
+ pytest
47
+ ```
48
+
49
+ ## Initialize the API Client
50
+
51
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/client.md)
52
+
53
+ The following parameters are configurable for the API Client:
54
+
55
+ | Parameter | Type | Description |
56
+ | --- | --- | --- |
57
+ | `environment` | `Environment` | The API environment. <br> **Default: `Environment.PRODUCTION_SERVER`** |
58
+ | `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
59
+ | `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
60
+ | `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
61
+ | `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
62
+ | `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 3** |
63
+ | `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
64
+ | `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
65
+ | `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
66
+ | `custom_header_authentication_credentials` | [`CustomHeaderAuthenticationCredentials`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md) | The credential object for Custom Header Signature |
67
+
68
+ The API client can be initialized as follows:
69
+
70
+ ```python
71
+ client = PostnlecommerceClient(
72
+ custom_header_authentication_credentials=CustomHeaderAuthenticationCredentials(
73
+ apikey='apikey'
74
+ )
75
+ )
76
+ ```
77
+
78
+ API calls return an `ApiResponse` object that includes the following fields:
79
+
80
+ | Field | Description |
81
+ | --- | --- |
82
+ | `status_code` | Status code of the HTTP response |
83
+ | `reason_phrase` | Reason phrase of the HTTP response |
84
+ | `headers` | Headers of the HTTP response as a dictionary |
85
+ | `text` | The body of the HTTP response as a string |
86
+ | `request` | HTTP request info |
87
+ | `errors` | Errors, if they exist |
88
+ | `body` | The deserialized body of the HTTP response |
89
+
90
+ ## Environments
91
+
92
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
93
+
94
+ ### Fields
95
+
96
+ | Name | Description |
97
+ | --- | --- |
98
+ | Production server | **Default** Production server |
99
+ | Non-Production server | Sandbox environment for testing |
100
+
101
+ ## Authorization
102
+
103
+ This API uses the following authentication schemes.
104
+
105
+ * [`APIKeyHeader (Custom Header Signature)`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md)
106
+
107
+ ## List of APIs
108
+
109
+ * [Postalcodecheck](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/postalcodecheck.md)
110
+ * [Barcode](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/barcode.md)
111
+ * [Checkout](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/checkout.md)
112
+ * [Confirming](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/confirming.md)
113
+ * [Deliverydate](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/deliverydate.md)
114
+ * [Labelling](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/labelling.md)
115
+ * [Locations](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/locations.md)
116
+ * [Shipment](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipment.md)
117
+ * [Shipping Status](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipping-status.md)
118
+ * [Timeframes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/timeframes.md)
119
+
120
+ ## Classes Documentation
121
+
122
+ * [Utility Classes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/utility-classes.md)
123
+ * [HttpResponse](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-response.md)
124
+ * [HttpRequest](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-request.md)
125
+
@@ -0,0 +1,108 @@
1
+
2
+ # Getting Started with Postnl-Ecommerce
3
+
4
+ ## Introduction
5
+
6
+ <div><p><b>PostNL Ecommerce APIs</b></p><p>Explore our technical documentation, test your integration and go live with PostNL service.</p><p><b>Start using PostNL APIs for e-commerce processes</b></p><p>To get to know the PostNL APIs better, read all about it in our <a href='https://developer.postnl.nl/api-overview/'>API overview</a>. Learn everything you need to about our API's before embarking on integration with PostNL.</p><p>To connect to PostNL, you can request an API key via <a href='https://mijn.postnl.nl/c/BP2_Mod_Login.app?inresponseto=&RelayState=&startURL=%2F'>Mijn PostNL</a> portal. Choose your APIs and build your integration. Explore our guides, examples, and resources to guide you through each phase of integration and start testing. Ensure that you can make successful test calls towards all endpoints used in the solution.</p><p>Contact our integrations team to have your test calls reviewed and gain access to our API production environment. Once everything is configured and validated, you'll be ready to go live and start using the PostNL service.</p><p>For help contact us via our support form: <a href='https://developer.postnl.nl/support/form/'>Need help? Submit a case | PostNL</a>.</p></div>
7
+
8
+
9
+ ## Install the Package
10
+
11
+ The package is compatible with Python versions `3 >=3.7, <= 3.11`.
12
+ Install the package from PyPi using the following pip command:
13
+
14
+ ```python
15
+ pip install postnl-ecommerce-sdk==1.0.3
16
+ ```
17
+
18
+ You can also view the package at:
19
+ https://pypi.python.org/pypi/postnl-ecommerce-sdk/1.0.3
20
+
21
+ ## Test the SDK
22
+
23
+ You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
24
+
25
+ Navigate to the root directory of the SDK and run the following commands
26
+
27
+ ```
28
+ pip install -r test-requirements.txt
29
+ pytest
30
+ ```
31
+
32
+ ## Initialize the API Client
33
+
34
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/client.md)
35
+
36
+ The following parameters are configurable for the API Client:
37
+
38
+ | Parameter | Type | Description |
39
+ | --- | --- | --- |
40
+ | `environment` | `Environment` | The API environment. <br> **Default: `Environment.PRODUCTION_SERVER`** |
41
+ | `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
42
+ | `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
43
+ | `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
44
+ | `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
45
+ | `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 3** |
46
+ | `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
47
+ | `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
48
+ | `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
49
+ | `custom_header_authentication_credentials` | [`CustomHeaderAuthenticationCredentials`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md) | The credential object for Custom Header Signature |
50
+
51
+ The API client can be initialized as follows:
52
+
53
+ ```python
54
+ client = PostnlecommerceClient(
55
+ custom_header_authentication_credentials=CustomHeaderAuthenticationCredentials(
56
+ apikey='apikey'
57
+ )
58
+ )
59
+ ```
60
+
61
+ API calls return an `ApiResponse` object that includes the following fields:
62
+
63
+ | Field | Description |
64
+ | --- | --- |
65
+ | `status_code` | Status code of the HTTP response |
66
+ | `reason_phrase` | Reason phrase of the HTTP response |
67
+ | `headers` | Headers of the HTTP response as a dictionary |
68
+ | `text` | The body of the HTTP response as a string |
69
+ | `request` | HTTP request info |
70
+ | `errors` | Errors, if they exist |
71
+ | `body` | The deserialized body of the HTTP response |
72
+
73
+ ## Environments
74
+
75
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
76
+
77
+ ### Fields
78
+
79
+ | Name | Description |
80
+ | --- | --- |
81
+ | Production server | **Default** Production server |
82
+ | Non-Production server | Sandbox environment for testing |
83
+
84
+ ## Authorization
85
+
86
+ This API uses the following authentication schemes.
87
+
88
+ * [`APIKeyHeader (Custom Header Signature)`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md)
89
+
90
+ ## List of APIs
91
+
92
+ * [Postalcodecheck](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/postalcodecheck.md)
93
+ * [Barcode](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/barcode.md)
94
+ * [Checkout](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/checkout.md)
95
+ * [Confirming](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/confirming.md)
96
+ * [Deliverydate](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/deliverydate.md)
97
+ * [Labelling](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/labelling.md)
98
+ * [Locations](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/locations.md)
99
+ * [Shipment](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipment.md)
100
+ * [Shipping Status](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipping-status.md)
101
+ * [Timeframes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/timeframes.md)
102
+
103
+ ## Classes Documentation
104
+
105
+ * [Utility Classes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/utility-classes.md)
106
+ * [HttpResponse](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-response.md)
107
+ * [HttpRequest](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-request.md)
108
+
@@ -0,0 +1,125 @@
1
+ Metadata-Version: 2.1
2
+ Name: postnl-ecommerce-sdk
3
+ Version: 1.0.3
4
+ Summary: Collection of PostNL API's for ecommerce processes.
5
+ Author-email: PostNL <apimatic@postnl.nl>
6
+ Project-URL: Documentation, https://developer.postnl.nl/docs
7
+ Keywords: PostNL,SDK,API,ecommerce
8
+ Requires-Python: >=3.7
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+ Requires-Dist: apimatic-core~=0.2.0
12
+ Requires-Dist: apimatic-core-interfaces~=0.1.0
13
+ Requires-Dist: apimatic-requests-client-adapter~=0.1.0
14
+ Requires-Dist: enum34>=1.1.10,~=1.1
15
+ Provides-Extra: testutils
16
+ Requires-Dist: pytest>=7.2.2; extra == "testutils"
17
+
18
+
19
+ # Getting Started with Postnl-Ecommerce
20
+
21
+ ## Introduction
22
+
23
+ <div><p><b>PostNL Ecommerce APIs</b></p><p>Explore our technical documentation, test your integration and go live with PostNL service.</p><p><b>Start using PostNL APIs for e-commerce processes</b></p><p>To get to know the PostNL APIs better, read all about it in our <a href='https://developer.postnl.nl/api-overview/'>API overview</a>. Learn everything you need to about our API's before embarking on integration with PostNL.</p><p>To connect to PostNL, you can request an API key via <a href='https://mijn.postnl.nl/c/BP2_Mod_Login.app?inresponseto=&RelayState=&startURL=%2F'>Mijn PostNL</a> portal. Choose your APIs and build your integration. Explore our guides, examples, and resources to guide you through each phase of integration and start testing. Ensure that you can make successful test calls towards all endpoints used in the solution.</p><p>Contact our integrations team to have your test calls reviewed and gain access to our API production environment. Once everything is configured and validated, you'll be ready to go live and start using the PostNL service.</p><p>For help contact us via our support form: <a href='https://developer.postnl.nl/support/form/'>Need help? Submit a case | PostNL</a>.</p></div>
24
+
25
+
26
+ ## Install the Package
27
+
28
+ The package is compatible with Python versions `3 >=3.7, <= 3.11`.
29
+ Install the package from PyPi using the following pip command:
30
+
31
+ ```python
32
+ pip install postnl-ecommerce-sdk==1.0.3
33
+ ```
34
+
35
+ You can also view the package at:
36
+ https://pypi.python.org/pypi/postnl-ecommerce-sdk/1.0.3
37
+
38
+ ## Test the SDK
39
+
40
+ You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:
41
+
42
+ Navigate to the root directory of the SDK and run the following commands
43
+
44
+ ```
45
+ pip install -r test-requirements.txt
46
+ pytest
47
+ ```
48
+
49
+ ## Initialize the API Client
50
+
51
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/client.md)
52
+
53
+ The following parameters are configurable for the API Client:
54
+
55
+ | Parameter | Type | Description |
56
+ | --- | --- | --- |
57
+ | `environment` | `Environment` | The API environment. <br> **Default: `Environment.PRODUCTION_SERVER`** |
58
+ | `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
59
+ | `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
60
+ | `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
61
+ | `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
62
+ | `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 3** |
63
+ | `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
64
+ | `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
65
+ | `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |
66
+ | `custom_header_authentication_credentials` | [`CustomHeaderAuthenticationCredentials`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md) | The credential object for Custom Header Signature |
67
+
68
+ The API client can be initialized as follows:
69
+
70
+ ```python
71
+ client = PostnlecommerceClient(
72
+ custom_header_authentication_credentials=CustomHeaderAuthenticationCredentials(
73
+ apikey='apikey'
74
+ )
75
+ )
76
+ ```
77
+
78
+ API calls return an `ApiResponse` object that includes the following fields:
79
+
80
+ | Field | Description |
81
+ | --- | --- |
82
+ | `status_code` | Status code of the HTTP response |
83
+ | `reason_phrase` | Reason phrase of the HTTP response |
84
+ | `headers` | Headers of the HTTP response as a dictionary |
85
+ | `text` | The body of the HTTP response as a string |
86
+ | `request` | HTTP request info |
87
+ | `errors` | Errors, if they exist |
88
+ | `body` | The deserialized body of the HTTP response |
89
+
90
+ ## Environments
91
+
92
+ The SDK can be configured to use a different environment for making API calls. Available environments are:
93
+
94
+ ### Fields
95
+
96
+ | Name | Description |
97
+ | --- | --- |
98
+ | Production server | **Default** Production server |
99
+ | Non-Production server | Sandbox environment for testing |
100
+
101
+ ## Authorization
102
+
103
+ This API uses the following authentication schemes.
104
+
105
+ * [`APIKeyHeader (Custom Header Signature)`](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/$a/https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/custom-header-signature.md)
106
+
107
+ ## List of APIs
108
+
109
+ * [Postalcodecheck](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/postalcodecheck.md)
110
+ * [Barcode](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/barcode.md)
111
+ * [Checkout](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/checkout.md)
112
+ * [Confirming](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/confirming.md)
113
+ * [Deliverydate](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/deliverydate.md)
114
+ * [Labelling](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/labelling.md)
115
+ * [Locations](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/locations.md)
116
+ * [Shipment](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipment.md)
117
+ * [Shipping Status](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/shipping-status.md)
118
+ * [Timeframes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/controllers/timeframes.md)
119
+
120
+ ## Classes Documentation
121
+
122
+ * [Utility Classes](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/utility-classes.md)
123
+ * [HttpResponse](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-response.md)
124
+ * [HttpRequest](https://www.github.com/postnl/postnl-ecommerce-sdk-python/tree/1.0.3/doc/http-request.md)
125
+
@@ -0,0 +1,171 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.cfg
6
+ postnl_ecommerce_sdk.egg-info/PKG-INFO
7
+ postnl_ecommerce_sdk.egg-info/SOURCES.txt
8
+ postnl_ecommerce_sdk.egg-info/dependency_links.txt
9
+ postnl_ecommerce_sdk.egg-info/requires.txt
10
+ postnl_ecommerce_sdk.egg-info/top_level.txt
11
+ postnlecommerce/__init__.py
12
+ postnlecommerce/api_helper.py
13
+ postnlecommerce/configuration.py
14
+ postnlecommerce/postnlecommerce_client.py
15
+ postnlecommerce/controllers/__init__.py
16
+ postnlecommerce/controllers/barcode_controller.py
17
+ postnlecommerce/controllers/base_controller.py
18
+ postnlecommerce/controllers/checkout_controller.py
19
+ postnlecommerce/controllers/confirming_controller.py
20
+ postnlecommerce/controllers/deliverydate_controller.py
21
+ postnlecommerce/controllers/labelling_controller.py
22
+ postnlecommerce/controllers/locations_controller.py
23
+ postnlecommerce/controllers/postalcode_check_controller.py
24
+ postnlecommerce/controllers/shipment_controller.py
25
+ postnlecommerce/controllers/shipping_status_controller.py
26
+ postnlecommerce/controllers/timeframes_controller.py
27
+ postnlecommerce/exceptions/__init__.py
28
+ postnlecommerce/exceptions/api_exception.py
29
+ postnlecommerce/exceptions/barcode_method_not_allowed_exception.py
30
+ postnlecommerce/exceptions/barcode_response_error_exception.py
31
+ postnlecommerce/exceptions/barcode_response_invalid_exception.py
32
+ postnlecommerce/exceptions/barcode_too_many_request_exception.py
33
+ postnlecommerce/exceptions/checkout_response_invalid_exception.py
34
+ postnlecommerce/exceptions/confirming_response_error_1_exception.py
35
+ postnlecommerce/exceptions/deliverydate_response_invalid_exception.py
36
+ postnlecommerce/exceptions/labelling_response_invalid_exception.py
37
+ postnlecommerce/exceptions/locations_response_invalid_exception.py
38
+ postnlecommerce/exceptions/timeframe_response_invalid_exception.py
39
+ postnlecommerce/http/__init__.py
40
+ postnlecommerce/http/api_response.py
41
+ postnlecommerce/http/http_call_back.py
42
+ postnlecommerce/http/http_method_enum.py
43
+ postnlecommerce/http/http_request.py
44
+ postnlecommerce/http/http_response.py
45
+ postnlecommerce/http/auth/__init__.py
46
+ postnlecommerce/http/auth/custom_header_authentication.py
47
+ postnlecommerce/models/__init__.py
48
+ postnlecommerce/models/address.py
49
+ postnlecommerce/models/address_1.py
50
+ postnlecommerce/models/address_11.py
51
+ postnlecommerce/models/address_2.py
52
+ postnlecommerce/models/address_3.py
53
+ postnlecommerce/models/address_4.py
54
+ postnlecommerce/models/address_type_enum.py
55
+ postnlecommerce/models/amount.py
56
+ postnlecommerce/models/amount_1.py
57
+ postnlecommerce/models/barcode_response.py
58
+ postnlecommerce/models/checkout_request.py
59
+ postnlecommerce/models/checkout_response.py
60
+ postnlecommerce/models/code_enum.py
61
+ postnlecommerce/models/complete_status.py
62
+ postnlecommerce/models/confirming_request.py
63
+ postnlecommerce/models/confirming_response.py
64
+ postnlecommerce/models/contact.py
65
+ postnlecommerce/models/content.py
66
+ postnlecommerce/models/content_1.py
67
+ postnlecommerce/models/countrycode_enum.py
68
+ postnlecommerce/models/cpc_response.py
69
+ postnlecommerce/models/currency_1_enum.py
70
+ postnlecommerce/models/currency_enum.py
71
+ postnlecommerce/models/current_status.py
72
+ postnlecommerce/models/custom.py
73
+ postnlecommerce/models/customer.py
74
+ postnlecommerce/models/customer_1.py
75
+ postnlecommerce/models/customer_2.py
76
+ postnlecommerce/models/cut_off_time.py
77
+ postnlecommerce/models/day_enum.py
78
+ postnlecommerce/models/delivery_option.py
79
+ postnlecommerce/models/delivery_options.py
80
+ postnlecommerce/models/delivery_options_1_enum.py
81
+ postnlecommerce/models/detail.py
82
+ postnlecommerce/models/dimension.py
83
+ postnlecommerce/models/dimension_1.py
84
+ postnlecommerce/models/error.py
85
+ postnlecommerce/models/error_1.py
86
+ postnlecommerce/models/error_2.py
87
+ postnlecommerce/models/error_3.py
88
+ postnlecommerce/models/error_4.py
89
+ postnlecommerce/models/event.py
90
+ postnlecommerce/models/expectation.py
91
+ postnlecommerce/models/extra_field.py
92
+ postnlecommerce/models/fault.py
93
+ postnlecommerce/models/friday.py
94
+ postnlecommerce/models/friday_1.py
95
+ postnlecommerce/models/get_locations_result.py
96
+ postnlecommerce/models/get_locations_result_1.py
97
+ postnlecommerce/models/group.py
98
+ postnlecommerce/models/hazardous_material.py
99
+ postnlecommerce/models/label.py
100
+ postnlecommerce/models/label_1.py
101
+ postnlecommerce/models/labelling_request.py
102
+ postnlecommerce/models/labelling_response.py
103
+ postnlecommerce/models/labelling_response_1.py
104
+ postnlecommerce/models/language_enum.py
105
+ postnlecommerce/models/location.py
106
+ postnlecommerce/models/location_1.py
107
+ postnlecommerce/models/location_response.py
108
+ postnlecommerce/models/locations_response.py
109
+ postnlecommerce/models/merged_label.py
110
+ postnlecommerce/models/message.py
111
+ postnlecommerce/models/message_1.py
112
+ postnlecommerce/models/monday.py
113
+ postnlecommerce/models/monday_1.py
114
+ postnlecommerce/models/old_status.py
115
+ postnlecommerce/models/opening_hours.py
116
+ postnlecommerce/models/option_1_enum.py
117
+ postnlecommerce/models/option_2_enum.py
118
+ postnlecommerce/models/option_3_enum.py
119
+ postnlecommerce/models/option_enum.py
120
+ postnlecommerce/models/options.py
121
+ postnlecommerce/models/options_2_enum.py
122
+ postnlecommerce/models/pickup_option.py
123
+ postnlecommerce/models/product_option.py
124
+ postnlecommerce/models/product_option_1.py
125
+ postnlecommerce/models/product_options.py
126
+ postnlecommerce/models/reason_no_timeframe.py
127
+ postnlecommerce/models/reason_no_timeframes.py
128
+ postnlecommerce/models/response_shipment.py
129
+ postnlecommerce/models/response_shipment_1.py
130
+ postnlecommerce/models/response_shipment_2.py
131
+ postnlecommerce/models/saturday.py
132
+ postnlecommerce/models/saturday_1.py
133
+ postnlecommerce/models/shipment.py
134
+ postnlecommerce/models/shipment_1.py
135
+ postnlecommerce/models/shipment_11.py
136
+ postnlecommerce/models/shipment_2.py
137
+ postnlecommerce/models/shipment_type_enum.py
138
+ postnlecommerce/models/shipment_v_22_calculate_date_delivery_response.py
139
+ postnlecommerce/models/shipment_v_22_calculate_date_shipping_response.py
140
+ postnlecommerce/models/shippingstatus_response.py
141
+ postnlecommerce/models/shippingstatus_response_signature.py
142
+ postnlecommerce/models/shippingstatus_response_updated_shipment.py
143
+ postnlecommerce/models/signature.py
144
+ postnlecommerce/models/status.py
145
+ postnlecommerce/models/status_2.py
146
+ postnlecommerce/models/string_1_enum.py
147
+ postnlecommerce/models/string_enum.py
148
+ postnlecommerce/models/sunday.py
149
+ postnlecommerce/models/sunday_1.py
150
+ postnlecommerce/models/sustainability.py
151
+ postnlecommerce/models/thursday.py
152
+ postnlecommerce/models/thursday_1.py
153
+ postnlecommerce/models/timeframe.py
154
+ postnlecommerce/models/timeframe_1.py
155
+ postnlecommerce/models/timeframe_response.py
156
+ postnlecommerce/models/timeframe_timeframe.py
157
+ postnlecommerce/models/timeframes.py
158
+ postnlecommerce/models/timeframes_1.py
159
+ postnlecommerce/models/tuesday.py
160
+ postnlecommerce/models/tuesday_1.py
161
+ postnlecommerce/models/type_1_enum.py
162
+ postnlecommerce/models/type_enum.py
163
+ postnlecommerce/models/warning.py
164
+ postnlecommerce/models/warning_1.py
165
+ postnlecommerce/models/warning_11.py
166
+ postnlecommerce/models/warning_2.py
167
+ postnlecommerce/models/warnings.py
168
+ postnlecommerce/models/wednesday.py
169
+ postnlecommerce/models/wednesday_1.py
170
+ postnlecommerce/utilities/__init__.py
171
+ postnlecommerce/utilities/file_wrapper.py
@@ -0,0 +1,7 @@
1
+ apimatic-core~=0.2.0
2
+ apimatic-core-interfaces~=0.1.0
3
+ apimatic-requests-client-adapter~=0.1.0
4
+ enum34>=1.1.10,~=1.1
5
+
6
+ [testutils]
7
+ pytest>=7.2.2
@@ -0,0 +1,3 @@
1
+ dist
2
+ doc
3
+ postnlecommerce
@@ -0,0 +1,9 @@
1
+ __all__ = [
2
+ 'api_helper',
3
+ 'configuration',
4
+ 'controllers',
5
+ 'exceptions',
6
+ 'http',
7
+ 'models',
8
+ 'postnlecommerce_client',
9
+ ]
@@ -0,0 +1,22 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ """
4
+ postnlecommerce
5
+
6
+ This file was automatically generated for PostNL by APIMATIC v3.0 (
7
+ https://www.apimatic.io ).
8
+ """
9
+
10
+ from apimatic_core.utilities.api_helper import ApiHelper
11
+
12
+
13
+ class APIHelper(ApiHelper):
14
+
15
+ """A Helper Class for various functions associated with API Calls.
16
+
17
+ This class contains static methods for operations that need to be
18
+ performed during API requests. All of the methods inside this class are
19
+ static methods, there is no need to ever initialise an instance of this
20
+ class.
21
+
22
+ """