zippendo 1.0.0__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 (330) hide show
  1. zippendo-1.0.0/LICENSE.md +21 -0
  2. zippendo-1.0.0/PKG-INFO +128 -0
  3. zippendo-1.0.0/README.md +108 -0
  4. zippendo-1.0.0/pyproject.toml +95 -0
  5. zippendo-1.0.0/setup.cfg +7 -0
  6. zippendo-1.0.0/setup.py +49 -0
  7. zippendo-1.0.0/test/test_addresses_api.py +67 -0
  8. zippendo-1.0.0/test/test_batch_send_shipments200_response.py +83 -0
  9. zippendo-1.0.0/test/test_batch_send_shipments200_response_results_inner.py +62 -0
  10. zippendo-1.0.0/test/test_batch_send_shipments200_response_summary.py +57 -0
  11. zippendo-1.0.0/test/test_batch_send_shipments_request.py +53 -0
  12. zippendo-1.0.0/test/test_batch_split_shipment201_response.py +575 -0
  13. zippendo-1.0.0/test/test_batch_split_shipment_request.py +75 -0
  14. zippendo-1.0.0/test/test_batch_split_shipment_request_shipments_inner.py +62 -0
  15. zippendo-1.0.0/test/test_batch_split_shipment_request_shipments_inner_order_lines_inner.py +55 -0
  16. zippendo-1.0.0/test/test_billing_api.py +39 -0
  17. zippendo-1.0.0/test/test_carrier_catalog_api.py +39 -0
  18. zippendo-1.0.0/test/test_carriers_api.py +81 -0
  19. zippendo-1.0.0/test/test_connect_carrier_request.py +57 -0
  20. zippendo-1.0.0/test/test_create_address_request.py +71 -0
  21. zippendo-1.0.0/test/test_create_api_token201_response.py +67 -0
  22. zippendo-1.0.0/test/test_create_api_token_request.py +56 -0
  23. zippendo-1.0.0/test/test_create_order201_response.py +134 -0
  24. zippendo-1.0.0/test/test_create_order201_response_order_lines_inner.py +72 -0
  25. zippendo-1.0.0/test/test_create_order201_response_shipping_address.py +69 -0
  26. zippendo-1.0.0/test/test_create_order_request.py +123 -0
  27. zippendo-1.0.0/test/test_create_order_request_order_lines_inner.py +72 -0
  28. zippendo-1.0.0/test/test_create_order_request_shipping_address.py +69 -0
  29. zippendo-1.0.0/test/test_create_org_webhook201_response.py +67 -0
  30. zippendo-1.0.0/test/test_create_org_webhook_request.py +58 -0
  31. zippendo-1.0.0/test/test_create_shipment201_response.py +267 -0
  32. zippendo-1.0.0/test/test_create_shipment201_response_activities_inner.py +60 -0
  33. zippendo-1.0.0/test/test_create_shipment201_response_documents_inner.py +67 -0
  34. zippendo-1.0.0/test/test_create_shipment201_response_errors_inner.py +60 -0
  35. zippendo-1.0.0/test/test_create_shipment201_response_logs_inner.py +63 -0
  36. zippendo-1.0.0/test/test_create_shipment201_response_parcels_inner.py +96 -0
  37. zippendo-1.0.0/test/test_create_shipment201_response_parcels_inner_dimensions.py +57 -0
  38. zippendo-1.0.0/test/test_create_shipment201_response_parcels_inner_order_lines_inner.py +63 -0
  39. zippendo-1.0.0/test/test_create_shipment201_response_parties_inner.py +77 -0
  40. zippendo-1.0.0/test/test_create_shipment201_response_parties_inner_attributes_inner.py +55 -0
  41. zippendo-1.0.0/test/test_create_shipment201_response_pickup_details.py +58 -0
  42. zippendo-1.0.0/test/test_create_shipment201_response_shipping_rule.py +69 -0
  43. zippendo-1.0.0/test/test_create_shipment201_response_tracking.py +57 -0
  44. zippendo-1.0.0/test/test_create_shipment_request.py +123 -0
  45. zippendo-1.0.0/test/test_create_shipment_request_carrier_settings.py +59 -0
  46. zippendo-1.0.0/test/test_create_shipment_request_parcels_inner.py +96 -0
  47. zippendo-1.0.0/test/test_create_shipment_request_parcels_inner_dimensions.py +57 -0
  48. zippendo-1.0.0/test/test_create_shipment_request_parcels_inner_order_lines_inner.py +63 -0
  49. zippendo-1.0.0/test/test_create_shipment_request_parties_inner.py +72 -0
  50. zippendo-1.0.0/test/test_create_shipment_request_parties_inner_attributes_inner.py +55 -0
  51. zippendo-1.0.0/test/test_create_shipment_request_pickup_details.py +58 -0
  52. zippendo-1.0.0/test/test_create_shipping_quote200_response.py +53 -0
  53. zippendo-1.0.0/test/test_create_shipping_quote200_response_rates_inner.py +67 -0
  54. zippendo-1.0.0/test/test_create_shipping_quote400_response.py +55 -0
  55. zippendo-1.0.0/test/test_create_shipping_quote404_response.py +55 -0
  56. zippendo-1.0.0/test/test_create_shipping_quote_request.py +70 -0
  57. zippendo-1.0.0/test/test_create_shipping_quote_request_destination.py +58 -0
  58. zippendo-1.0.0/test/test_create_shipping_quote_request_items_inner.py +62 -0
  59. zippendo-1.0.0/test/test_create_shipping_rule201_response.py +109 -0
  60. zippendo-1.0.0/test/test_create_shipping_rule_request.py +83 -0
  61. zippendo-1.0.0/test/test_create_shipping_rule_request_additional_parameters.py +51 -0
  62. zippendo-1.0.0/test/test_create_shipping_rule_request_additional_parameters_any_of_inner.py +55 -0
  63. zippendo-1.0.0/test/test_create_shipping_rule_request_additional_parameters_any_of_value.py +58 -0
  64. zippendo-1.0.0/test/test_create_shipping_rule_request_additional_parameters_any_of_value_any_of.py +58 -0
  65. zippendo-1.0.0/test/test_create_shipping_rule_request_additional_parameters_any_of_value_any_of_coordinates_inner.py +51 -0
  66. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner.py +66 -0
  67. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner_one_of.py +61 -0
  68. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner_one_of1.py +62 -0
  69. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner_one_of2.py +62 -0
  70. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner_one_of3.py +61 -0
  71. zippendo-1.0.0/test/test_create_shipping_rule_request_conditions_inner_one_of4.py +57 -0
  72. zippendo-1.0.0/test/test_delete_org_webhook200_response.py +53 -0
  73. zippendo-1.0.0/test/test_delete_shipping_rule200_response.py +53 -0
  74. zippendo-1.0.0/test/test_get_billing_usage200_response.py +93 -0
  75. zippendo-1.0.0/test/test_get_billing_usage200_response_add_ons_inner.py +59 -0
  76. zippendo-1.0.0/test/test_get_billing_usage200_response_current_period.py +55 -0
  77. zippendo-1.0.0/test/test_get_billing_usage200_response_limits.py +93 -0
  78. zippendo-1.0.0/test/test_get_billing_usage200_response_limits_team_members.py +55 -0
  79. zippendo-1.0.0/test/test_get_billing_usage200_response_shipments.py +59 -0
  80. zippendo-1.0.0/test/test_get_order200_response.py +221 -0
  81. zippendo-1.0.0/test/test_get_order200_response_shipments_inner.py +92 -0
  82. zippendo-1.0.0/test/test_get_order200_response_shipping_rule.py +69 -0
  83. zippendo-1.0.0/test/test_get_org200_response.py +78 -0
  84. zippendo-1.0.0/test/test_get_org200_response_count.py +53 -0
  85. zippendo-1.0.0/test/test_get_org_branding200_response.py +57 -0
  86. zippendo-1.0.0/test/test_health_check200_response.py +57 -0
  87. zippendo-1.0.0/test/test_list_addresses200_response.py +97 -0
  88. zippendo-1.0.0/test/test_list_addresses200_response_data_inner.py +82 -0
  89. zippendo-1.0.0/test/test_list_api_tokens200_response.py +87 -0
  90. zippendo-1.0.0/test/test_list_api_tokens200_response_data_inner.py +73 -0
  91. zippendo-1.0.0/test/test_list_api_tokens200_response_data_inner_created_by.py +57 -0
  92. zippendo-1.0.0/test/test_list_api_tokens401_response.py +56 -0
  93. zippendo-1.0.0/test/test_list_available_carriers200_response_inner.py +90 -0
  94. zippendo-1.0.0/test/test_list_available_carriers200_response_inner_required_fields_inner.py +66 -0
  95. zippendo-1.0.0/test/test_list_carrier_product_service_points200_response_inner.py +71 -0
  96. zippendo-1.0.0/test/test_list_carrier_product_service_points200_response_inner_address.py +61 -0
  97. zippendo-1.0.0/test/test_list_carrier_product_service_points_request.py +61 -0
  98. zippendo-1.0.0/test/test_list_carrier_products200_response_inner.py +100 -0
  99. zippendo-1.0.0/test/test_list_carrier_products200_response_inner_additional_parameters_inner.py +70 -0
  100. zippendo-1.0.0/test/test_list_carrier_products200_response_inner_additional_parameters_inner_options_inner.py +57 -0
  101. zippendo-1.0.0/test/test_list_carrier_products200_response_inner_services_inner.py +55 -0
  102. zippendo-1.0.0/test/test_list_carrier_products200_response_inner_weight_limits.py +57 -0
  103. zippendo-1.0.0/test/test_list_carriers200_response.py +87 -0
  104. zippendo-1.0.0/test/test_list_carriers200_response_data_inner.py +69 -0
  105. zippendo-1.0.0/test/test_list_carriers200_response_data_inner_config_value.py +51 -0
  106. zippendo-1.0.0/test/test_list_orders200_response.py +95 -0
  107. zippendo-1.0.0/test/test_list_orders200_response_data_inner.py +76 -0
  108. zippendo-1.0.0/test/test_list_orders200_response_data_inner_order_channel.py +57 -0
  109. zippendo-1.0.0/test/test_list_org_webhook_deliveries200_response.py +87 -0
  110. zippendo-1.0.0/test/test_list_org_webhook_deliveries200_response_data_inner.py +73 -0
  111. zippendo-1.0.0/test/test_list_org_webhooks200_response.py +79 -0
  112. zippendo-1.0.0/test/test_list_org_webhooks200_response_data_inner.py +65 -0
  113. zippendo-1.0.0/test/test_list_shipments200_response.py +121 -0
  114. zippendo-1.0.0/test/test_list_shipments200_response_data_inner.py +90 -0
  115. zippendo-1.0.0/test/test_list_shipments200_response_data_inner_address.py +82 -0
  116. zippendo-1.0.0/test/test_list_shipments200_response_data_inner_carrier_settings.py +59 -0
  117. zippendo-1.0.0/test/test_list_shipments200_response_data_inner_carrier_settings_additional_parameters_value.py +58 -0
  118. zippendo-1.0.0/test/test_list_shipments200_response_data_inner_carrier_settings_additional_parameters_value_any_of.py +58 -0
  119. zippendo-1.0.0/test/test_list_shipping_rules200_response.py +191 -0
  120. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner.py +168 -0
  121. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_additional_parameters_inner.py +55 -0
  122. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_carrier.py +65 -0
  123. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner.py +67 -0
  124. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner_one_of.py +61 -0
  125. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner_one_of1.py +63 -0
  126. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner_one_of2.py +63 -0
  127. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner_one_of3.py +61 -0
  128. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_conditions_inner_one_of4.py +57 -0
  129. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_label_printer.py +55 -0
  130. zippendo-1.0.0/test/test_list_shipping_rules200_response_data_inner_return_shipping_rule.py +55 -0
  131. zippendo-1.0.0/test/test_orders_api.py +67 -0
  132. zippendo-1.0.0/test/test_orgs_api.py +81 -0
  133. zippendo-1.0.0/test/test_quotes_api.py +39 -0
  134. zippendo-1.0.0/test/test_revoke_api_token200_response.py +53 -0
  135. zippendo-1.0.0/test/test_rules_api.py +67 -0
  136. zippendo-1.0.0/test/test_send_shipment422_response.py +66 -0
  137. zippendo-1.0.0/test/test_send_shipment422_response_errors_inner.py +54 -0
  138. zippendo-1.0.0/test/test_shipments_api.py +123 -0
  139. zippendo-1.0.0/test/test_split_shipment201_response.py +571 -0
  140. zippendo-1.0.0/test/test_split_shipment_parcel200_response.py +311 -0
  141. zippendo-1.0.0/test/test_split_shipment_parcel_request.py +69 -0
  142. zippendo-1.0.0/test/test_split_shipment_parcel_request_parcels_inner.py +62 -0
  143. zippendo-1.0.0/test/test_split_shipment_request.py +59 -0
  144. zippendo-1.0.0/test/test_system_api.py +39 -0
  145. zippendo-1.0.0/test/test_test_org_webhook200_response.py +53 -0
  146. zippendo-1.0.0/test/test_tokens_api.py +74 -0
  147. zippendo-1.0.0/test/test_track_shipment200_response.py +76 -0
  148. zippendo-1.0.0/test/test_track_shipment200_response_events_inner.py +63 -0
  149. zippendo-1.0.0/test/test_update_address_request.py +63 -0
  150. zippendo-1.0.0/test/test_update_api_token_request.py +53 -0
  151. zippendo-1.0.0/test/test_update_carrier_request.py +54 -0
  152. zippendo-1.0.0/test/test_update_order_request.py +96 -0
  153. zippendo-1.0.0/test/test_update_org200_response.py +74 -0
  154. zippendo-1.0.0/test/test_update_org_branding_request.py +53 -0
  155. zippendo-1.0.0/test/test_update_org_request.py +67 -0
  156. zippendo-1.0.0/test/test_update_org_webhook_request.py +55 -0
  157. zippendo-1.0.0/test/test_update_shipment_request.py +118 -0
  158. zippendo-1.0.0/test/test_update_shipping_rule_request.py +76 -0
  159. zippendo-1.0.0/test/test_verify_api_token200_response.py +58 -0
  160. zippendo-1.0.0/test/test_verify_api_token_request.py +53 -0
  161. zippendo-1.0.0/test/test_webhooks_api.py +81 -0
  162. zippendo-1.0.0/zippendo/__init__.py +357 -0
  163. zippendo-1.0.0/zippendo/api/__init__.py +16 -0
  164. zippendo-1.0.0/zippendo/api/addresses_api.py +1526 -0
  165. zippendo-1.0.0/zippendo/api/billing_api.py +305 -0
  166. zippendo-1.0.0/zippendo/api/carrier_catalog_api.py +309 -0
  167. zippendo-1.0.0/zippendo/api/carriers_api.py +2125 -0
  168. zippendo-1.0.0/zippendo/api/orders_api.py +1574 -0
  169. zippendo-1.0.0/zippendo/api/orgs_api.py +1989 -0
  170. zippendo-1.0.0/zippendo/api/quotes_api.py +334 -0
  171. zippendo-1.0.0/zippendo/api/rules_api.py +1514 -0
  172. zippendo-1.0.0/zippendo/api/shipments_api.py +3935 -0
  173. zippendo-1.0.0/zippendo/api/system_api.py +282 -0
  174. zippendo-1.0.0/zippendo/api/tokens_api.py +1799 -0
  175. zippendo-1.0.0/zippendo/api/webhooks_api.py +2128 -0
  176. zippendo-1.0.0/zippendo/api_client.py +820 -0
  177. zippendo-1.0.0/zippendo/api_response.py +21 -0
  178. zippendo-1.0.0/zippendo/configuration.py +624 -0
  179. zippendo-1.0.0/zippendo/exceptions.py +219 -0
  180. zippendo-1.0.0/zippendo/models/__init__.py +160 -0
  181. zippendo-1.0.0/zippendo/models/batch_send_shipments200_response.py +103 -0
  182. zippendo-1.0.0/zippendo/models/batch_send_shipments200_response_results_inner.py +122 -0
  183. zippendo-1.0.0/zippendo/models/batch_send_shipments200_response_summary.py +94 -0
  184. zippendo-1.0.0/zippendo/models/batch_send_shipments_request.py +90 -0
  185. zippendo-1.0.0/zippendo/models/batch_split_shipment201_response.py +102 -0
  186. zippendo-1.0.0/zippendo/models/batch_split_shipment_request.py +108 -0
  187. zippendo-1.0.0/zippendo/models/batch_split_shipment_request_shipments_inner.py +100 -0
  188. zippendo-1.0.0/zippendo/models/batch_split_shipment_request_shipments_inner_order_lines_inner.py +92 -0
  189. zippendo-1.0.0/zippendo/models/connect_carrier_request.py +107 -0
  190. zippendo-1.0.0/zippendo/models/create_address_request.py +130 -0
  191. zippendo-1.0.0/zippendo/models/create_api_token201_response.py +113 -0
  192. zippendo-1.0.0/zippendo/models/create_api_token_request.py +102 -0
  193. zippendo-1.0.0/zippendo/models/create_order201_response.py +192 -0
  194. zippendo-1.0.0/zippendo/models/create_order201_response_order_lines_inner.py +221 -0
  195. zippendo-1.0.0/zippendo/models/create_order201_response_shipping_address.py +164 -0
  196. zippendo-1.0.0/zippendo/models/create_order_request.py +179 -0
  197. zippendo-1.0.0/zippendo/models/create_order_request_order_lines_inner.py +221 -0
  198. zippendo-1.0.0/zippendo/models/create_order_request_shipping_address.py +164 -0
  199. zippendo-1.0.0/zippendo/models/create_org_webhook201_response.py +103 -0
  200. zippendo-1.0.0/zippendo/models/create_org_webhook_request.py +104 -0
  201. zippendo-1.0.0/zippendo/models/create_shipment201_response.py +258 -0
  202. zippendo-1.0.0/zippendo/models/create_shipment201_response_activities_inner.py +109 -0
  203. zippendo-1.0.0/zippendo/models/create_shipment201_response_documents_inner.py +124 -0
  204. zippendo-1.0.0/zippendo/models/create_shipment201_response_errors_inner.py +102 -0
  205. zippendo-1.0.0/zippendo/models/create_shipment201_response_logs_inner.py +135 -0
  206. zippendo-1.0.0/zippendo/models/create_shipment201_response_parcels_inner.py +159 -0
  207. zippendo-1.0.0/zippendo/models/create_shipment201_response_parcels_inner_dimensions.py +94 -0
  208. zippendo-1.0.0/zippendo/models/create_shipment201_response_parcels_inner_order_lines_inner.py +138 -0
  209. zippendo-1.0.0/zippendo/models/create_shipment201_response_parties_inner.py +155 -0
  210. zippendo-1.0.0/zippendo/models/create_shipment201_response_parties_inner_attributes_inner.py +92 -0
  211. zippendo-1.0.0/zippendo/models/create_shipment201_response_pickup_details.py +95 -0
  212. zippendo-1.0.0/zippendo/models/create_shipment201_response_shipping_rule.py +126 -0
  213. zippendo-1.0.0/zippendo/models/create_shipment201_response_tracking.py +129 -0
  214. zippendo-1.0.0/zippendo/models/create_shipment_request.py +185 -0
  215. zippendo-1.0.0/zippendo/models/create_shipment_request_carrier_settings.py +108 -0
  216. zippendo-1.0.0/zippendo/models/create_shipment_request_parcels_inner.py +159 -0
  217. zippendo-1.0.0/zippendo/models/create_shipment_request_parcels_inner_dimensions.py +94 -0
  218. zippendo-1.0.0/zippendo/models/create_shipment_request_parcels_inner_order_lines_inner.py +138 -0
  219. zippendo-1.0.0/zippendo/models/create_shipment_request_parties_inner.py +155 -0
  220. zippendo-1.0.0/zippendo/models/create_shipment_request_parties_inner_attributes_inner.py +92 -0
  221. zippendo-1.0.0/zippendo/models/create_shipment_request_pickup_details.py +95 -0
  222. zippendo-1.0.0/zippendo/models/create_shipping_quote200_response.py +97 -0
  223. zippendo-1.0.0/zippendo/models/create_shipping_quote200_response_rates_inner.py +109 -0
  224. zippendo-1.0.0/zippendo/models/create_shipping_quote400_response.py +91 -0
  225. zippendo-1.0.0/zippendo/models/create_shipping_quote404_response.py +91 -0
  226. zippendo-1.0.0/zippendo/models/create_shipping_quote_request.py +108 -0
  227. zippendo-1.0.0/zippendo/models/create_shipping_quote_request_destination.py +100 -0
  228. zippendo-1.0.0/zippendo/models/create_shipping_quote_request_items_inner.py +117 -0
  229. zippendo-1.0.0/zippendo/models/create_shipping_rule201_response.py +209 -0
  230. zippendo-1.0.0/zippendo/models/create_shipping_rule_request.py +195 -0
  231. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_additional_parameters.py +141 -0
  232. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_additional_parameters_any_of_inner.py +92 -0
  233. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_additional_parameters_any_of_value.py +171 -0
  234. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_additional_parameters_any_of_value_any_of.py +104 -0
  235. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_additional_parameters_any_of_value_any_of_coordinates_inner.py +139 -0
  236. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner.py +180 -0
  237. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner_one_of.py +105 -0
  238. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner_one_of1.py +124 -0
  239. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner_one_of2.py +117 -0
  240. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner_one_of3.py +112 -0
  241. zippendo-1.0.0/zippendo/models/create_shipping_rule_request_conditions_inner_one_of4.py +101 -0
  242. zippendo-1.0.0/zippendo/models/delete_org_webhook200_response.py +89 -0
  243. zippendo-1.0.0/zippendo/models/delete_shipping_rule200_response.py +89 -0
  244. zippendo-1.0.0/zippendo/models/get_billing_usage200_response.py +115 -0
  245. zippendo-1.0.0/zippendo/models/get_billing_usage200_response_add_ons_inner.py +102 -0
  246. zippendo-1.0.0/zippendo/models/get_billing_usage200_response_current_period.py +91 -0
  247. zippendo-1.0.0/zippendo/models/get_billing_usage200_response_limits.py +123 -0
  248. zippendo-1.0.0/zippendo/models/get_billing_usage200_response_limits_team_members.py +91 -0
  249. zippendo-1.0.0/zippendo/models/get_billing_usage200_response_shipments.py +95 -0
  250. zippendo-1.0.0/zippendo/models/get_order200_response.py +219 -0
  251. zippendo-1.0.0/zippendo/models/get_order200_response_shipments_inner.py +147 -0
  252. zippendo-1.0.0/zippendo/models/get_order200_response_shipping_rule.py +126 -0
  253. zippendo-1.0.0/zippendo/models/get_org200_response.py +175 -0
  254. zippendo-1.0.0/zippendo/models/get_org200_response_count.py +89 -0
  255. zippendo-1.0.0/zippendo/models/get_org_branding200_response.py +108 -0
  256. zippendo-1.0.0/zippendo/models/health_check200_response.py +93 -0
  257. zippendo-1.0.0/zippendo/models/list_addresses200_response.py +105 -0
  258. zippendo-1.0.0/zippendo/models/list_addresses200_response_data_inner.py +150 -0
  259. zippendo-1.0.0/zippendo/models/list_api_tokens200_response.py +105 -0
  260. zippendo-1.0.0/zippendo/models/list_api_tokens200_response_data_inner.py +117 -0
  261. zippendo-1.0.0/zippendo/models/list_api_tokens200_response_data_inner_created_by.py +98 -0
  262. zippendo-1.0.0/zippendo/models/list_api_tokens401_response.py +103 -0
  263. zippendo-1.0.0/zippendo/models/list_available_carriers200_response_inner.py +124 -0
  264. zippendo-1.0.0/zippendo/models/list_available_carriers200_response_inner_required_fields_inner.py +114 -0
  265. zippendo-1.0.0/zippendo/models/list_carrier_product_service_points200_response_inner.py +107 -0
  266. zippendo-1.0.0/zippendo/models/list_carrier_product_service_points200_response_inner_address.py +110 -0
  267. zippendo-1.0.0/zippendo/models/list_carrier_product_service_points_request.py +110 -0
  268. zippendo-1.0.0/zippendo/models/list_carrier_products200_response_inner.py +136 -0
  269. zippendo-1.0.0/zippendo/models/list_carrier_products200_response_inner_additional_parameters_inner.py +116 -0
  270. zippendo-1.0.0/zippendo/models/list_carrier_products200_response_inner_additional_parameters_inner_options_inner.py +93 -0
  271. zippendo-1.0.0/zippendo/models/list_carrier_products200_response_inner_services_inner.py +91 -0
  272. zippendo-1.0.0/zippendo/models/list_carrier_products200_response_inner_weight_limits.py +100 -0
  273. zippendo-1.0.0/zippendo/models/list_carriers200_response.py +105 -0
  274. zippendo-1.0.0/zippendo/models/list_carriers200_response_data_inner.py +122 -0
  275. zippendo-1.0.0/zippendo/models/list_carriers200_response_data_inner_config_value.py +156 -0
  276. zippendo-1.0.0/zippendo/models/list_orders200_response.py +105 -0
  277. zippendo-1.0.0/zippendo/models/list_orders200_response_data_inner.py +148 -0
  278. zippendo-1.0.0/zippendo/models/list_orders200_response_data_inner_order_channel.py +100 -0
  279. zippendo-1.0.0/zippendo/models/list_org_webhook_deliveries200_response.py +105 -0
  280. zippendo-1.0.0/zippendo/models/list_org_webhook_deliveries200_response_data_inner.py +134 -0
  281. zippendo-1.0.0/zippendo/models/list_org_webhooks200_response.py +105 -0
  282. zippendo-1.0.0/zippendo/models/list_org_webhooks200_response_data_inner.py +101 -0
  283. zippendo-1.0.0/zippendo/models/list_shipments200_response.py +105 -0
  284. zippendo-1.0.0/zippendo/models/list_shipments200_response_data_inner.py +130 -0
  285. zippendo-1.0.0/zippendo/models/list_shipments200_response_data_inner_address.py +150 -0
  286. zippendo-1.0.0/zippendo/models/list_shipments200_response_data_inner_carrier_settings.py +108 -0
  287. zippendo-1.0.0/zippendo/models/list_shipments200_response_data_inner_carrier_settings_additional_parameters_value.py +171 -0
  288. zippendo-1.0.0/zippendo/models/list_shipments200_response_data_inner_carrier_settings_additional_parameters_value_any_of.py +104 -0
  289. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response.py +105 -0
  290. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner.py +253 -0
  291. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_additional_parameters_inner.py +92 -0
  292. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_carrier.py +114 -0
  293. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner.py +180 -0
  294. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of.py +105 -0
  295. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of1.py +121 -0
  296. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of2.py +114 -0
  297. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of3.py +112 -0
  298. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of4.py +101 -0
  299. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_label_printer.py +91 -0
  300. zippendo-1.0.0/zippendo/models/list_shipping_rules200_response_data_inner_return_shipping_rule.py +91 -0
  301. zippendo-1.0.0/zippendo/models/revoke_api_token200_response.py +89 -0
  302. zippendo-1.0.0/zippendo/models/send_shipment422_response.py +113 -0
  303. zippendo-1.0.0/zippendo/models/send_shipment422_response_errors_inner.py +91 -0
  304. zippendo-1.0.0/zippendo/models/split_shipment201_response.py +98 -0
  305. zippendo-1.0.0/zippendo/models/split_shipment_parcel200_response.py +93 -0
  306. zippendo-1.0.0/zippendo/models/split_shipment_parcel_request.py +98 -0
  307. zippendo-1.0.0/zippendo/models/split_shipment_parcel_request_parcels_inner.py +100 -0
  308. zippendo-1.0.0/zippendo/models/split_shipment_request.py +101 -0
  309. zippendo-1.0.0/zippendo/models/test_org_webhook200_response.py +89 -0
  310. zippendo-1.0.0/zippendo/models/track_shipment200_response.py +135 -0
  311. zippendo-1.0.0/zippendo/models/track_shipment200_response_events_inner.py +116 -0
  312. zippendo-1.0.0/zippendo/models/update_address_request.py +133 -0
  313. zippendo-1.0.0/zippendo/models/update_api_token_request.py +90 -0
  314. zippendo-1.0.0/zippendo/models/update_carrier_request.py +107 -0
  315. zippendo-1.0.0/zippendo/models/update_order_request.py +182 -0
  316. zippendo-1.0.0/zippendo/models/update_org200_response.py +169 -0
  317. zippendo-1.0.0/zippendo/models/update_org_branding_request.py +122 -0
  318. zippendo-1.0.0/zippendo/models/update_org_request.py +191 -0
  319. zippendo-1.0.0/zippendo/models/update_org_webhook_request.py +107 -0
  320. zippendo-1.0.0/zippendo/models/update_shipment_request.py +195 -0
  321. zippendo-1.0.0/zippendo/models/update_shipping_rule_request.py +195 -0
  322. zippendo-1.0.0/zippendo/models/verify_api_token200_response.py +104 -0
  323. zippendo-1.0.0/zippendo/models/verify_api_token_request.py +89 -0
  324. zippendo-1.0.0/zippendo/py.typed +0 -0
  325. zippendo-1.0.0/zippendo/rest.py +314 -0
  326. zippendo-1.0.0/zippendo.egg-info/PKG-INFO +128 -0
  327. zippendo-1.0.0/zippendo.egg-info/SOURCES.txt +329 -0
  328. zippendo-1.0.0/zippendo.egg-info/dependency_links.txt +1 -0
  329. zippendo-1.0.0/zippendo.egg-info/requires.txt +4 -0
  330. zippendo-1.0.0/zippendo.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Zippendo
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.
@@ -0,0 +1,128 @@
1
+ Metadata-Version: 2.4
2
+ Name: zippendo
3
+ Version: 1.0.0
4
+ Summary: Zippendo Public API
5
+ Home-page:
6
+ Author: Zippendo Support
7
+ Author-email: Zippendo Support <support@zippendo.com>
8
+ License: MIT
9
+ Project-URL: Repository, https://github.com/zippendo/zippendo-python
10
+ Keywords: OpenAPI,OpenAPI-Generator,Zippendo Public API
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE.md
14
+ Requires-Dist: urllib3<3.0.0,>=2.6.3
15
+ Requires-Dist: python-dateutil>=2.8.2
16
+ Requires-Dist: pydantic>=2.11
17
+ Requires-Dist: typing-extensions>=4.7.1
18
+ Dynamic: author
19
+ Dynamic: license-file
20
+
21
+ # Zippendo Python SDK
22
+
23
+ Official Python client for the [Zippendo](https://zippendo.com) shipping & logistics API. Models are
24
+ pydantic v2, so requests and responses are both type-hinted and validated at runtime. Requires
25
+ Python 3.8+.
26
+
27
+ ## Install
28
+
29
+ ```sh
30
+ pip install zippendo
31
+ ```
32
+
33
+ ## Authentication
34
+
35
+ Create an API token in your Zippendo dashboard (**Settings → API tokens**) — a Bearer token prefixed
36
+ with `zipp_`. Pass it as `access_token`:
37
+
38
+ ```python
39
+ import os
40
+ import zippendo
41
+
42
+ config = zippendo.Configuration(access_token=os.environ["ZIPPENDO_API_TOKEN"])
43
+ ```
44
+
45
+ The base URL defaults to `https://api.zippendo.com`.
46
+
47
+ ## Resources & clients
48
+
49
+ The API is split into resource clients — `ShipmentsApi`, `OrdersApi`, `CarriersApi`, `AddressesApi`,
50
+ `RulesApi`, `WebhooksApi`, `TokensApi`, and more. Create an `ApiClient` from your config, then the
51
+ resource clients you need:
52
+
53
+ ```python
54
+ with zippendo.ApiClient(config) as client:
55
+ shipments = zippendo.ShipmentsApi(client)
56
+ orders = zippendo.OrdersApi(client)
57
+ ```
58
+
59
+ ## The `org_id` parameter
60
+
61
+ Every call takes an `org_id` (your organization ID, found in the dashboard). It is explicit on each
62
+ call by design: one API token can be granted access to multiple organizations, and `org_id` selects
63
+ which one the request acts on.
64
+
65
+ ## Listing & pagination
66
+
67
+ List endpoints accept `page` (1-based) and `limit`, and return a page with `data` plus `total`,
68
+ `page`, `limit`, and `total_pages`:
69
+
70
+ ```python
71
+ with zippendo.ApiClient(config) as client:
72
+ shipments = zippendo.ShipmentsApi(client)
73
+ result = shipments.list_shipments("org_8f3kd92ld0", page=1, limit=50)
74
+ print(result.data) # list[Shipment]
75
+ print(result.total, result.total_pages) # pagination metadata
76
+ ```
77
+
78
+ ## Creating resources
79
+
80
+ ```python
81
+ with zippendo.ApiClient(config) as client:
82
+ orders = zippendo.OrdersApi(client)
83
+ order = orders.create_order(
84
+ "org_8f3kd92ld0",
85
+ zippendo.CreateOrderRequest(
86
+ order_number="1001",
87
+ order_channel_id="chan_7d2k1",
88
+ order_lines=[zippendo.CreateOrderRequestOrderLinesInner(name="T-shirt", quantity=2)],
89
+ ),
90
+ )
91
+ print(order.id)
92
+ ```
93
+
94
+ See [`./docs`](./docs) for the full request/response shape of every operation.
95
+
96
+ ## Error handling
97
+
98
+ Non-2xx responses raise `ApiException`. The body is Zippendo's canonical `{ code, error, message }` —
99
+ branch on the machine-readable `code`:
100
+
101
+ ```python
102
+ from zippendo.rest import ApiException
103
+
104
+ try:
105
+ shipments.get_shipment("org_8f3kd92ld0", "shp_missing")
106
+ except ApiException as e:
107
+ print(e.status, e.body) # e.body contains the JSON, e.g. {"code": "SHIPMENT_NOT_FOUND", ...}
108
+ ```
109
+
110
+ ## Configuration
111
+
112
+ Point the client at a different environment by overriding `host`:
113
+
114
+ ```python
115
+ config = zippendo.Configuration(
116
+ access_token=os.environ["ZIPPENDO_API_TOKEN"],
117
+ host="https://staging.api.zippendo.com",
118
+ )
119
+ ```
120
+
121
+ ## Reference
122
+
123
+ Full per-endpoint and per-model documentation is in [`./docs`](./docs). Hosted reference:
124
+ <https://www.zippendo.com/docs/api-reference/overview>.
125
+
126
+ ## License
127
+
128
+ [MIT](./LICENSE.md)
@@ -0,0 +1,108 @@
1
+ # Zippendo Python SDK
2
+
3
+ Official Python client for the [Zippendo](https://zippendo.com) shipping & logistics API. Models are
4
+ pydantic v2, so requests and responses are both type-hinted and validated at runtime. Requires
5
+ Python 3.8+.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ pip install zippendo
11
+ ```
12
+
13
+ ## Authentication
14
+
15
+ Create an API token in your Zippendo dashboard (**Settings → API tokens**) — a Bearer token prefixed
16
+ with `zipp_`. Pass it as `access_token`:
17
+
18
+ ```python
19
+ import os
20
+ import zippendo
21
+
22
+ config = zippendo.Configuration(access_token=os.environ["ZIPPENDO_API_TOKEN"])
23
+ ```
24
+
25
+ The base URL defaults to `https://api.zippendo.com`.
26
+
27
+ ## Resources & clients
28
+
29
+ The API is split into resource clients — `ShipmentsApi`, `OrdersApi`, `CarriersApi`, `AddressesApi`,
30
+ `RulesApi`, `WebhooksApi`, `TokensApi`, and more. Create an `ApiClient` from your config, then the
31
+ resource clients you need:
32
+
33
+ ```python
34
+ with zippendo.ApiClient(config) as client:
35
+ shipments = zippendo.ShipmentsApi(client)
36
+ orders = zippendo.OrdersApi(client)
37
+ ```
38
+
39
+ ## The `org_id` parameter
40
+
41
+ Every call takes an `org_id` (your organization ID, found in the dashboard). It is explicit on each
42
+ call by design: one API token can be granted access to multiple organizations, and `org_id` selects
43
+ which one the request acts on.
44
+
45
+ ## Listing & pagination
46
+
47
+ List endpoints accept `page` (1-based) and `limit`, and return a page with `data` plus `total`,
48
+ `page`, `limit`, and `total_pages`:
49
+
50
+ ```python
51
+ with zippendo.ApiClient(config) as client:
52
+ shipments = zippendo.ShipmentsApi(client)
53
+ result = shipments.list_shipments("org_8f3kd92ld0", page=1, limit=50)
54
+ print(result.data) # list[Shipment]
55
+ print(result.total, result.total_pages) # pagination metadata
56
+ ```
57
+
58
+ ## Creating resources
59
+
60
+ ```python
61
+ with zippendo.ApiClient(config) as client:
62
+ orders = zippendo.OrdersApi(client)
63
+ order = orders.create_order(
64
+ "org_8f3kd92ld0",
65
+ zippendo.CreateOrderRequest(
66
+ order_number="1001",
67
+ order_channel_id="chan_7d2k1",
68
+ order_lines=[zippendo.CreateOrderRequestOrderLinesInner(name="T-shirt", quantity=2)],
69
+ ),
70
+ )
71
+ print(order.id)
72
+ ```
73
+
74
+ See [`./docs`](./docs) for the full request/response shape of every operation.
75
+
76
+ ## Error handling
77
+
78
+ Non-2xx responses raise `ApiException`. The body is Zippendo's canonical `{ code, error, message }` —
79
+ branch on the machine-readable `code`:
80
+
81
+ ```python
82
+ from zippendo.rest import ApiException
83
+
84
+ try:
85
+ shipments.get_shipment("org_8f3kd92ld0", "shp_missing")
86
+ except ApiException as e:
87
+ print(e.status, e.body) # e.body contains the JSON, e.g. {"code": "SHIPMENT_NOT_FOUND", ...}
88
+ ```
89
+
90
+ ## Configuration
91
+
92
+ Point the client at a different environment by overriding `host`:
93
+
94
+ ```python
95
+ config = zippendo.Configuration(
96
+ access_token=os.environ["ZIPPENDO_API_TOKEN"],
97
+ host="https://staging.api.zippendo.com",
98
+ )
99
+ ```
100
+
101
+ ## Reference
102
+
103
+ Full per-endpoint and per-model documentation is in [`./docs`](./docs). Hosted reference:
104
+ <https://www.zippendo.com/docs/api-reference/overview>.
105
+
106
+ ## License
107
+
108
+ [MIT](./LICENSE.md)
@@ -0,0 +1,95 @@
1
+ [project]
2
+ name = "zippendo"
3
+ version = "1.0.0"
4
+ description = "Zippendo Public API"
5
+ authors = [
6
+ {name = "Zippendo Support",email = "support@zippendo.com"},
7
+ ]
8
+ license = { text = "MIT" }
9
+ readme = "README.md"
10
+ keywords = ["OpenAPI", "OpenAPI-Generator", "Zippendo Public API"]
11
+ requires-python = ">=3.9"
12
+
13
+ dependencies = [
14
+ "urllib3 (>=2.6.3,<3.0.0)",
15
+ "python-dateutil (>=2.8.2)",
16
+ "pydantic (>=2.11)",
17
+ "typing-extensions (>=4.7.1)",
18
+ ]
19
+
20
+ [project.urls]
21
+ Repository = "https://github.com/zippendo/zippendo-python"
22
+
23
+ [tool.poetry]
24
+ requires-poetry = ">=2.0"
25
+
26
+ [tool.poetry.group.dev.dependencies]
27
+ pytest = ">= 8.4.2"
28
+ pytest-cov = ">= 2.8.1"
29
+ tox = ">= 3.9.0"
30
+ flake8 = ">= 4.0.0"
31
+ types-python-dateutil = ">= 2.8.19.14"
32
+ mypy = ">= 1.5"
33
+
34
+
35
+ [build-system]
36
+ requires = ["setuptools"]
37
+ build-backend = "setuptools.build_meta"
38
+
39
+ [tool.pylint.'MESSAGES CONTROL']
40
+ extension-pkg-whitelist = "pydantic"
41
+
42
+ [tool.mypy]
43
+ files = [
44
+ "zippendo",
45
+ #"test", # auto-generated tests
46
+ "tests", # hand-written tests
47
+ ]
48
+ # TODO: enable "strict" once all these individual checks are passing
49
+ # strict = true
50
+
51
+ # List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
52
+ warn_unused_configs = true
53
+ warn_redundant_casts = true
54
+ warn_unused_ignores = true
55
+
56
+ ## Getting these passing should be easy
57
+ strict_equality = true
58
+ extra_checks = true
59
+
60
+ ## Strongly recommend enabling this one as soon as you can
61
+ check_untyped_defs = true
62
+
63
+ ## These shouldn't be too much additional work, but may be tricky to
64
+ ## get passing if you use a lot of untyped libraries
65
+ disallow_subclassing_any = true
66
+ disallow_untyped_decorators = true
67
+ disallow_any_generics = true
68
+
69
+ ### These next few are various gradations of forcing use of type annotations
70
+ #disallow_untyped_calls = true
71
+ #disallow_incomplete_defs = true
72
+ #disallow_untyped_defs = true
73
+ #
74
+ ### This one isn't too hard to get passing, but return on investment is lower
75
+ #no_implicit_reexport = true
76
+ #
77
+ ### This one can be tricky to get passing if you use a lot of untyped libraries
78
+ #warn_return_any = true
79
+
80
+ [[tool.mypy.overrides]]
81
+ module = [
82
+ "zippendo.configuration",
83
+ ]
84
+ warn_unused_ignores = true
85
+ strict_equality = true
86
+ extra_checks = true
87
+ check_untyped_defs = true
88
+ disallow_subclassing_any = true
89
+ disallow_untyped_decorators = true
90
+ disallow_any_generics = true
91
+ disallow_untyped_calls = true
92
+ disallow_incomplete_defs = true
93
+ disallow_untyped_defs = true
94
+ no_implicit_reexport = true
95
+ warn_return_any = true
@@ -0,0 +1,7 @@
1
+ [flake8]
2
+ max-line-length = 99
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+
@@ -0,0 +1,49 @@
1
+ """
2
+ Zippendo Public API
3
+
4
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: support@zippendo.com
8
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
9
+
10
+ Do not edit the class manually.
11
+ """ # noqa: E501
12
+
13
+
14
+ from setuptools import setup, find_packages # noqa: H301
15
+
16
+ # To install the library, run the following
17
+ #
18
+ # python setup.py install
19
+ #
20
+ # prerequisite: setuptools
21
+ # http://pypi.python.org/pypi/setuptools
22
+ NAME = "zippendo"
23
+ VERSION = "1.0.0"
24
+ PYTHON_REQUIRES = ">= 3.10"
25
+ REQUIRES = [
26
+ "urllib3 >= 2.6.3, < 3.0.0",
27
+ "python-dateutil >= 2.8.2",
28
+ "pydantic >= 2.11",
29
+ "typing-extensions >= 4.7.1",
30
+ ]
31
+
32
+ setup(
33
+ name=NAME,
34
+ version=VERSION,
35
+ description="Zippendo Public API",
36
+ author="Zippendo Support",
37
+ author_email="support@zippendo.com",
38
+ url="",
39
+ keywords=["OpenAPI", "OpenAPI-Generator", "Zippendo Public API"],
40
+ install_requires=REQUIRES,
41
+ packages=find_packages(exclude=["test", "tests"]),
42
+ include_package_data=True,
43
+ license="MIT",
44
+ long_description_content_type='text/markdown',
45
+ long_description="""\
46
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
47
+ """, # noqa: E501
48
+ package_data={"zippendo": ["py.typed"]},
49
+ )
@@ -0,0 +1,67 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Zippendo Public API
5
+
6
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: support@zippendo.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ import unittest
17
+
18
+ from zippendo.api.addresses_api import AddressesApi
19
+
20
+
21
+ class TestAddressesApi(unittest.TestCase):
22
+ """AddressesApi unit test stubs"""
23
+
24
+ def setUp(self) -> None:
25
+ self.api = AddressesApi()
26
+
27
+ def tearDown(self) -> None:
28
+ pass
29
+
30
+ def test_create_address(self) -> None:
31
+ """Test case for create_address
32
+
33
+ Create address
34
+ """
35
+ pass
36
+
37
+ def test_delete_address(self) -> None:
38
+ """Test case for delete_address
39
+
40
+ Delete address
41
+ """
42
+ pass
43
+
44
+ def test_get_address(self) -> None:
45
+ """Test case for get_address
46
+
47
+ Get address
48
+ """
49
+ pass
50
+
51
+ def test_list_addresses(self) -> None:
52
+ """Test case for list_addresses
53
+
54
+ List addresses
55
+ """
56
+ pass
57
+
58
+ def test_update_address(self) -> None:
59
+ """Test case for update_address
60
+
61
+ Update address
62
+ """
63
+ pass
64
+
65
+
66
+ if __name__ == '__main__':
67
+ unittest.main()
@@ -0,0 +1,83 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Zippendo Public API
5
+
6
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: support@zippendo.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ import unittest
17
+
18
+ from zippendo.models.batch_send_shipments200_response import BatchSendShipments200Response
19
+
20
+ class TestBatchSendShipments200Response(unittest.TestCase):
21
+ """BatchSendShipments200Response unit test stubs"""
22
+
23
+ def setUp(self):
24
+ pass
25
+
26
+ def tearDown(self):
27
+ pass
28
+
29
+ def make_instance(self, include_optional) -> BatchSendShipments200Response:
30
+ """Test BatchSendShipments200Response
31
+ include_optional is a boolean, when False only required
32
+ params are included, when True both required and
33
+ optional params are included """
34
+ # uncomment below to create an instance of `BatchSendShipments200Response`
35
+ """
36
+ model = BatchSendShipments200Response()
37
+ if include_optional:
38
+ return BatchSendShipments200Response(
39
+ results = [
40
+ zippendo.models.batch_send_shipments_200_response_results_inner.batchSendShipments_200_response_results_inner(
41
+ shipment_id = 'shp_01H8XABC123',
42
+ status = 'sent',
43
+ code = 'CARRIER_ERROR',
44
+ message = 'Shipment must be in pending or error status to be sent',
45
+ errors = [
46
+ zippendo.models.send_shipment_422_response_errors_inner.sendShipment_422_response_errors_inner(
47
+ code = 'INVALID_POSTAL_CODE',
48
+ message = 'Receiver postal code is invalid for the selected product.', )
49
+ ], )
50
+ ],
51
+ summary = zippendo.models.batch_send_shipments_200_response_summary.batchSendShipments_200_response_summary(
52
+ total = 3,
53
+ sent = 2,
54
+ failed = 1, )
55
+ )
56
+ else:
57
+ return BatchSendShipments200Response(
58
+ results = [
59
+ zippendo.models.batch_send_shipments_200_response_results_inner.batchSendShipments_200_response_results_inner(
60
+ shipment_id = 'shp_01H8XABC123',
61
+ status = 'sent',
62
+ code = 'CARRIER_ERROR',
63
+ message = 'Shipment must be in pending or error status to be sent',
64
+ errors = [
65
+ zippendo.models.send_shipment_422_response_errors_inner.sendShipment_422_response_errors_inner(
66
+ code = 'INVALID_POSTAL_CODE',
67
+ message = 'Receiver postal code is invalid for the selected product.', )
68
+ ], )
69
+ ],
70
+ summary = zippendo.models.batch_send_shipments_200_response_summary.batchSendShipments_200_response_summary(
71
+ total = 3,
72
+ sent = 2,
73
+ failed = 1, ),
74
+ )
75
+ """
76
+
77
+ def testBatchSendShipments200Response(self):
78
+ """Test BatchSendShipments200Response"""
79
+ # inst_req_only = self.make_instance(include_optional=False)
80
+ # inst_req_and_optional = self.make_instance(include_optional=True)
81
+
82
+ if __name__ == '__main__':
83
+ unittest.main()
@@ -0,0 +1,62 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Zippendo Public API
5
+
6
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: support@zippendo.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ import unittest
17
+
18
+ from zippendo.models.batch_send_shipments200_response_results_inner import BatchSendShipments200ResponseResultsInner
19
+
20
+ class TestBatchSendShipments200ResponseResultsInner(unittest.TestCase):
21
+ """BatchSendShipments200ResponseResultsInner unit test stubs"""
22
+
23
+ def setUp(self):
24
+ pass
25
+
26
+ def tearDown(self):
27
+ pass
28
+
29
+ def make_instance(self, include_optional) -> BatchSendShipments200ResponseResultsInner:
30
+ """Test BatchSendShipments200ResponseResultsInner
31
+ include_optional is a boolean, when False only required
32
+ params are included, when True both required and
33
+ optional params are included """
34
+ # uncomment below to create an instance of `BatchSendShipments200ResponseResultsInner`
35
+ """
36
+ model = BatchSendShipments200ResponseResultsInner()
37
+ if include_optional:
38
+ return BatchSendShipments200ResponseResultsInner(
39
+ shipment_id = 'shp_01H8XABC123',
40
+ status = 'sent',
41
+ code = 'CARRIER_ERROR',
42
+ message = 'Shipment must be in pending or error status to be sent',
43
+ errors = [
44
+ zippendo.models.send_shipment_422_response_errors_inner.sendShipment_422_response_errors_inner(
45
+ code = 'INVALID_POSTAL_CODE',
46
+ message = 'Receiver postal code is invalid for the selected product.', )
47
+ ]
48
+ )
49
+ else:
50
+ return BatchSendShipments200ResponseResultsInner(
51
+ shipment_id = 'shp_01H8XABC123',
52
+ status = 'sent',
53
+ )
54
+ """
55
+
56
+ def testBatchSendShipments200ResponseResultsInner(self):
57
+ """Test BatchSendShipments200ResponseResultsInner"""
58
+ # inst_req_only = self.make_instance(include_optional=False)
59
+ # inst_req_and_optional = self.make_instance(include_optional=True)
60
+
61
+ if __name__ == '__main__':
62
+ unittest.main()
@@ -0,0 +1,57 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Zippendo Public API
5
+
6
+ Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: support@zippendo.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+
16
+ import unittest
17
+
18
+ from zippendo.models.batch_send_shipments200_response_summary import BatchSendShipments200ResponseSummary
19
+
20
+ class TestBatchSendShipments200ResponseSummary(unittest.TestCase):
21
+ """BatchSendShipments200ResponseSummary unit test stubs"""
22
+
23
+ def setUp(self):
24
+ pass
25
+
26
+ def tearDown(self):
27
+ pass
28
+
29
+ def make_instance(self, include_optional) -> BatchSendShipments200ResponseSummary:
30
+ """Test BatchSendShipments200ResponseSummary
31
+ include_optional is a boolean, when False only required
32
+ params are included, when True both required and
33
+ optional params are included """
34
+ # uncomment below to create an instance of `BatchSendShipments200ResponseSummary`
35
+ """
36
+ model = BatchSendShipments200ResponseSummary()
37
+ if include_optional:
38
+ return BatchSendShipments200ResponseSummary(
39
+ total = 3,
40
+ sent = 2,
41
+ failed = 1
42
+ )
43
+ else:
44
+ return BatchSendShipments200ResponseSummary(
45
+ total = 3,
46
+ sent = 2,
47
+ failed = 1,
48
+ )
49
+ """
50
+
51
+ def testBatchSendShipments200ResponseSummary(self):
52
+ """Test BatchSendShipments200ResponseSummary"""
53
+ # inst_req_only = self.make_instance(include_optional=False)
54
+ # inst_req_and_optional = self.make_instance(include_optional=True)
55
+
56
+ if __name__ == '__main__':
57
+ unittest.main()