zippendo 1.0.3 → 1.1.2

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 (351) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -8
  3. data/docs/BatchSplitShipmentRequest.md +1 -1
  4. data/docs/BrandsApi.md +733 -0
  5. data/docs/CheckBrandSlug200Response.md +20 -0
  6. data/docs/CreateOrgBrandRequest.md +42 -0
  7. data/docs/CreateShipment201ResponseParcelsInner.md +2 -2
  8. data/docs/CreateShipment201ResponseTracking.md +2 -2
  9. data/docs/CreateShipmentRequestCarrierSettings.md +1 -1
  10. data/docs/CreateShipmentRequestParcelsInner.md +2 -2
  11. data/docs/CreateShippingRule201Response.md +2 -2
  12. data/docs/CreateShippingRuleRequest.md +2 -2
  13. data/docs/{CreateShippingRuleRequestAdditionalParametersAnyOfValue.md → CreateShippingRuleRequestAdditionalParametersValue.md} +3 -3
  14. data/docs/{CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.md → CreateShippingRuleRequestAdditionalParametersValueAnyOf.md} +3 -3
  15. data/docs/ListOrgBrands200Response.md +18 -0
  16. data/docs/ListOrgBrands200ResponseDataInner.md +54 -0
  17. data/docs/ListShipments200ResponseDataInnerCarrierSettings.md +1 -1
  18. data/docs/ListShippingRules200ResponseDataInner.md +2 -2
  19. data/docs/{ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.md → ListShippingRules200ResponseDataInnerAdditionalParametersValue.md} +3 -3
  20. data/docs/{ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.md → ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOf.md} +3 -3
  21. data/docs/{ListShippingRules200ResponseDataInnerAdditionalParametersInner.md → ListShippingRules200ResponseDataInnerAdditionalParametersValueAnyOfCoordinatesInner.md} +2 -7
  22. data/docs/ShipmentsApi.md +1 -1
  23. data/docs/SplitShipmentRequest.md +1 -1
  24. data/docs/UpdateOrgBrandRequest.md +42 -0
  25. data/docs/UpdateShippingRuleRequest.md +2 -2
  26. data/lib/zippendo/api/addresses_api.rb +1 -1
  27. data/lib/zippendo/api/billing_api.rb +1 -1
  28. data/lib/zippendo/api/brands_api.rb +750 -0
  29. data/lib/zippendo/api/carrier_catalog_api.rb +1 -1
  30. data/lib/zippendo/api/carriers_api.rb +1 -1
  31. data/lib/zippendo/api/orders_api.rb +1 -1
  32. data/lib/zippendo/api/orgs_api.rb +1 -1
  33. data/lib/zippendo/api/quotes_api.rb +1 -1
  34. data/lib/zippendo/api/rules_api.rb +1 -1
  35. data/lib/zippendo/api/shipments_api.rb +1 -1
  36. data/lib/zippendo/api/system_api.rb +1 -1
  37. data/lib/zippendo/api/tokens_api.rb +1 -1
  38. data/lib/zippendo/api/webhooks_api.rb +1 -1
  39. data/lib/zippendo/api_client.rb +1 -1
  40. data/lib/zippendo/api_error.rb +1 -1
  41. data/lib/zippendo/api_model_base.rb +1 -1
  42. data/lib/zippendo/configuration.rb +1 -1
  43. data/lib/zippendo/models/batch_send_shipments200_response.rb +1 -1
  44. data/lib/zippendo/models/batch_send_shipments200_response_results_inner.rb +1 -1
  45. data/lib/zippendo/models/batch_send_shipments200_response_summary.rb +1 -1
  46. data/lib/zippendo/models/batch_send_shipments_request.rb +1 -1
  47. data/lib/zippendo/models/batch_split_shipment201_response.rb +1 -1
  48. data/lib/zippendo/models/batch_split_shipment_request.rb +3 -3
  49. data/lib/zippendo/models/batch_split_shipment_request_shipments_inner.rb +1 -1
  50. data/lib/zippendo/models/batch_split_shipment_request_shipments_inner_order_lines_inner.rb +1 -1
  51. data/lib/zippendo/models/{create_shipping_rule_request_additional_parameters_any_of_inner.rb → check_brand_slug200_response.rb} +37 -46
  52. data/lib/zippendo/models/connect_carrier_request.rb +1 -1
  53. data/lib/zippendo/models/create_address_request.rb +1 -1
  54. data/lib/zippendo/models/create_api_token201_response.rb +1 -1
  55. data/lib/zippendo/models/create_api_token_request.rb +1 -1
  56. data/lib/zippendo/models/create_order201_response.rb +1 -1
  57. data/lib/zippendo/models/create_order201_response_order_lines_inner.rb +1 -1
  58. data/lib/zippendo/models/create_order201_response_shipping_address.rb +1 -1
  59. data/lib/zippendo/models/create_order_request.rb +1 -1
  60. data/lib/zippendo/models/create_order_request_order_lines_inner.rb +1 -1
  61. data/lib/zippendo/models/create_order_request_shipping_address.rb +1 -1
  62. data/lib/zippendo/models/create_org_brand_request.rb +502 -0
  63. data/lib/zippendo/models/create_org_webhook201_response.rb +1 -1
  64. data/lib/zippendo/models/create_org_webhook_request.rb +1 -1
  65. data/lib/zippendo/models/create_shipment201_response.rb +1 -1
  66. data/lib/zippendo/models/create_shipment201_response_activities_inner.rb +1 -1
  67. data/lib/zippendo/models/create_shipment201_response_documents_inner.rb +1 -1
  68. data/lib/zippendo/models/create_shipment201_response_errors_inner.rb +1 -1
  69. data/lib/zippendo/models/create_shipment201_response_logs_inner.rb +1 -1
  70. data/lib/zippendo/models/create_shipment201_response_parcels_inner.rb +3 -3
  71. data/lib/zippendo/models/create_shipment201_response_parcels_inner_dimensions.rb +1 -1
  72. data/lib/zippendo/models/create_shipment201_response_parcels_inner_order_lines_inner.rb +1 -1
  73. data/lib/zippendo/models/create_shipment201_response_parties_inner.rb +1 -1
  74. data/lib/zippendo/models/create_shipment201_response_parties_inner_attributes_inner.rb +1 -1
  75. data/lib/zippendo/models/create_shipment201_response_pickup_details.rb +1 -1
  76. data/lib/zippendo/models/create_shipment201_response_shipping_rule.rb +1 -1
  77. data/lib/zippendo/models/create_shipment201_response_tracking.rb +3 -3
  78. data/lib/zippendo/models/create_shipment_request.rb +1 -1
  79. data/lib/zippendo/models/create_shipment_request_carrier_settings.rb +2 -2
  80. data/lib/zippendo/models/create_shipment_request_parcels_inner.rb +3 -3
  81. data/lib/zippendo/models/create_shipment_request_parcels_inner_dimensions.rb +1 -1
  82. data/lib/zippendo/models/create_shipment_request_parcels_inner_order_lines_inner.rb +1 -1
  83. data/lib/zippendo/models/create_shipment_request_parties_inner.rb +1 -1
  84. data/lib/zippendo/models/create_shipment_request_parties_inner_attributes_inner.rb +1 -1
  85. data/lib/zippendo/models/create_shipment_request_pickup_details.rb +1 -1
  86. data/lib/zippendo/models/create_shipping_quote200_response.rb +1 -1
  87. data/lib/zippendo/models/create_shipping_quote200_response_rates_inner.rb +1 -1
  88. data/lib/zippendo/models/create_shipping_quote400_response.rb +1 -1
  89. data/lib/zippendo/models/create_shipping_quote404_response.rb +1 -1
  90. data/lib/zippendo/models/create_shipping_quote_request.rb +1 -1
  91. data/lib/zippendo/models/create_shipping_quote_request_destination.rb +1 -1
  92. data/lib/zippendo/models/create_shipping_quote_request_items_inner.rb +1 -1
  93. data/lib/zippendo/models/create_shipping_rule201_response.rb +4 -4
  94. data/lib/zippendo/models/create_shipping_rule_request.rb +6 -3
  95. data/lib/zippendo/models/{list_shipments200_response_data_inner_carrier_settings_additional_parameters_value.rb → create_shipping_rule_request_additional_parameters_value.rb} +3 -3
  96. data/lib/zippendo/models/{create_shipping_rule_request_additional_parameters_any_of_value_any_of.rb → create_shipping_rule_request_additional_parameters_value_any_of.rb} +5 -5
  97. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner.rb +1 -1
  98. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner_one_of.rb +1 -1
  99. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner_one_of1.rb +1 -1
  100. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner_one_of2.rb +1 -1
  101. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner_one_of3.rb +1 -1
  102. data/lib/zippendo/models/create_shipping_rule_request_conditions_inner_one_of4.rb +1 -1
  103. data/lib/zippendo/models/delete_org_webhook200_response.rb +1 -1
  104. data/lib/zippendo/models/delete_shipping_rule200_response.rb +1 -1
  105. data/lib/zippendo/models/get_billing_usage200_response.rb +1 -1
  106. data/lib/zippendo/models/get_billing_usage200_response_add_ons_inner.rb +1 -1
  107. data/lib/zippendo/models/get_billing_usage200_response_current_period.rb +1 -1
  108. data/lib/zippendo/models/get_billing_usage200_response_limits.rb +1 -1
  109. data/lib/zippendo/models/get_billing_usage200_response_limits_team_members.rb +1 -1
  110. data/lib/zippendo/models/get_billing_usage200_response_shipments.rb +1 -1
  111. data/lib/zippendo/models/get_order200_response.rb +1 -1
  112. data/lib/zippendo/models/get_order200_response_shipments_inner.rb +1 -1
  113. data/lib/zippendo/models/get_order200_response_shipping_rule.rb +1 -1
  114. data/lib/zippendo/models/get_org200_response.rb +1 -1
  115. data/lib/zippendo/models/get_org200_response_count.rb +1 -1
  116. data/lib/zippendo/models/get_org_branding200_response.rb +1 -1
  117. data/lib/zippendo/models/health_check200_response.rb +1 -1
  118. data/lib/zippendo/models/list_addresses200_response.rb +1 -1
  119. data/lib/zippendo/models/list_addresses200_response_data_inner.rb +1 -1
  120. data/lib/zippendo/models/list_api_tokens200_response.rb +1 -1
  121. data/lib/zippendo/models/list_api_tokens200_response_data_inner.rb +1 -1
  122. data/lib/zippendo/models/list_api_tokens200_response_data_inner_created_by.rb +1 -1
  123. data/lib/zippendo/models/list_api_tokens401_response.rb +1 -1
  124. data/lib/zippendo/models/list_available_carriers200_response_inner.rb +1 -1
  125. data/lib/zippendo/models/list_available_carriers200_response_inner_required_fields_inner.rb +1 -1
  126. data/lib/zippendo/models/list_carrier_product_service_points200_response_inner.rb +1 -1
  127. data/lib/zippendo/models/list_carrier_product_service_points200_response_inner_address.rb +1 -1
  128. data/lib/zippendo/models/list_carrier_product_service_points_request.rb +1 -1
  129. data/lib/zippendo/models/list_carrier_products200_response_inner.rb +1 -1
  130. data/lib/zippendo/models/list_carrier_products200_response_inner_additional_parameters_inner.rb +1 -1
  131. data/lib/zippendo/models/list_carrier_products200_response_inner_additional_parameters_inner_options_inner.rb +1 -1
  132. data/lib/zippendo/models/list_carrier_products200_response_inner_services_inner.rb +1 -1
  133. data/lib/zippendo/models/list_carrier_products200_response_inner_weight_limits.rb +1 -1
  134. data/lib/zippendo/models/list_carriers200_response.rb +1 -1
  135. data/lib/zippendo/models/list_carriers200_response_data_inner.rb +1 -1
  136. data/lib/zippendo/models/list_carriers200_response_data_inner_config_value.rb +1 -1
  137. data/lib/zippendo/models/list_orders200_response.rb +1 -1
  138. data/lib/zippendo/models/list_orders200_response_data_inner.rb +1 -1
  139. data/lib/zippendo/models/list_orders200_response_data_inner_order_channel.rb +1 -1
  140. data/lib/zippendo/models/{list_shipping_rules200_response_data_inner_additional_parameters_inner.rb → list_org_brands200_response.rb} +22 -57
  141. data/lib/zippendo/models/list_org_brands200_response_data_inner.rb +613 -0
  142. data/lib/zippendo/models/list_org_webhook_deliveries200_response.rb +1 -1
  143. data/lib/zippendo/models/list_org_webhook_deliveries200_response_data_inner.rb +1 -1
  144. data/lib/zippendo/models/list_org_webhooks200_response.rb +1 -1
  145. data/lib/zippendo/models/list_org_webhooks200_response_data_inner.rb +1 -1
  146. data/lib/zippendo/models/list_shipments200_response.rb +1 -1
  147. data/lib/zippendo/models/list_shipments200_response_data_inner.rb +1 -1
  148. data/lib/zippendo/models/list_shipments200_response_data_inner_address.rb +1 -1
  149. data/lib/zippendo/models/list_shipments200_response_data_inner_carrier_settings.rb +2 -2
  150. data/lib/zippendo/models/list_shipping_rules200_response.rb +1 -1
  151. data/lib/zippendo/models/list_shipping_rules200_response_data_inner.rb +4 -4
  152. data/lib/zippendo/models/{create_shipping_rule_request_additional_parameters_any_of_value.rb → list_shipping_rules200_response_data_inner_additional_parameters_value.rb} +3 -3
  153. data/lib/zippendo/models/{list_shipments200_response_data_inner_carrier_settings_additional_parameters_value_any_of.rb → list_shipping_rules200_response_data_inner_additional_parameters_value_any_of.rb} +5 -5
  154. data/lib/zippendo/models/{create_shipping_rule_request_additional_parameters_any_of_value_any_of_coordinates_inner.rb → list_shipping_rules200_response_data_inner_additional_parameters_value_any_of_coordinates_inner.rb} +2 -2
  155. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_carrier.rb +1 -1
  156. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner.rb +1 -1
  157. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of.rb +1 -1
  158. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of1.rb +1 -1
  159. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of2.rb +1 -1
  160. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of3.rb +1 -1
  161. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of4.rb +1 -1
  162. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_label_printer.rb +1 -1
  163. data/lib/zippendo/models/list_shipping_rules200_response_data_inner_return_shipping_rule.rb +1 -1
  164. data/lib/zippendo/models/revoke_api_token200_response.rb +1 -1
  165. data/lib/zippendo/models/send_shipment422_response.rb +1 -1
  166. data/lib/zippendo/models/send_shipment422_response_errors_inner.rb +1 -1
  167. data/lib/zippendo/models/split_shipment201_response.rb +1 -1
  168. data/lib/zippendo/models/split_shipment_parcel200_response.rb +1 -1
  169. data/lib/zippendo/models/split_shipment_parcel_request.rb +1 -1
  170. data/lib/zippendo/models/split_shipment_parcel_request_parcels_inner.rb +1 -1
  171. data/lib/zippendo/models/split_shipment_request.rb +3 -3
  172. data/lib/zippendo/models/test_org_webhook200_response.rb +1 -1
  173. data/lib/zippendo/models/track_shipment200_response.rb +1 -1
  174. data/lib/zippendo/models/track_shipment200_response_events_inner.rb +1 -1
  175. data/lib/zippendo/models/update_address_request.rb +1 -1
  176. data/lib/zippendo/models/update_api_token_request.rb +1 -1
  177. data/lib/zippendo/models/update_carrier_request.rb +1 -1
  178. data/lib/zippendo/models/update_order_request.rb +1 -1
  179. data/lib/zippendo/models/update_org200_response.rb +1 -1
  180. data/lib/zippendo/models/update_org_brand_request.rb +495 -0
  181. data/lib/zippendo/models/update_org_branding_request.rb +1 -1
  182. data/lib/zippendo/models/update_org_request.rb +1 -1
  183. data/lib/zippendo/models/update_org_webhook_request.rb +1 -1
  184. data/lib/zippendo/models/update_shipment_request.rb +1 -1
  185. data/lib/zippendo/models/update_shipping_rule_request.rb +6 -3
  186. data/lib/zippendo/models/verify_api_token200_response.rb +1 -1
  187. data/lib/zippendo/models/verify_api_token_request.rb +1 -1
  188. data/lib/zippendo/version.rb +2 -2
  189. data/lib/zippendo.rb +12 -9
  190. data/spec/spec_helper.rb +1 -1
  191. data/zippendo.gemspec +2 -2
  192. metadata +29 -328
  193. data/docs/CreateShippingRuleRequestAdditionalParameters.md +0 -15
  194. data/docs/CreateShippingRuleRequestAdditionalParametersAnyOfInner.md +0 -20
  195. data/docs/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.md +0 -15
  196. data/lib/zippendo/models/create_shipping_rule_request_additional_parameters.rb +0 -104
  197. data/spec/api/addresses_api_spec.rb +0 -103
  198. data/spec/api/billing_api_spec.rb +0 -47
  199. data/spec/api/carrier_catalog_api_spec.rb +0 -47
  200. data/spec/api/carriers_api_spec.rb +0 -130
  201. data/spec/api/orders_api_spec.rb +0 -106
  202. data/spec/api/orgs_api_spec.rb +0 -122
  203. data/spec/api/quotes_api_spec.rb +0 -48
  204. data/spec/api/rules_api_spec.rb +0 -102
  205. data/spec/api/shipments_api_spec.rb +0 -213
  206. data/spec/api/system_api_spec.rb +0 -46
  207. data/spec/api/tokens_api_spec.rb +0 -114
  208. data/spec/api/webhooks_api_spec.rb +0 -130
  209. data/spec/models/batch_send_shipments200_response_results_inner_spec.rb +0 -68
  210. data/spec/models/batch_send_shipments200_response_spec.rb +0 -42
  211. data/spec/models/batch_send_shipments200_response_summary_spec.rb +0 -48
  212. data/spec/models/batch_send_shipments_request_spec.rb +0 -36
  213. data/spec/models/batch_split_shipment201_response_spec.rb +0 -42
  214. data/spec/models/batch_split_shipment_request_shipments_inner_order_lines_inner_spec.rb +0 -42
  215. data/spec/models/batch_split_shipment_request_shipments_inner_spec.rb +0 -42
  216. data/spec/models/batch_split_shipment_request_spec.rb +0 -66
  217. data/spec/models/connect_carrier_request_spec.rb +0 -48
  218. data/spec/models/create_address_request_spec.rb +0 -106
  219. data/spec/models/create_api_token201_response_spec.rb +0 -84
  220. data/spec/models/create_api_token_request_spec.rb +0 -58
  221. data/spec/models/create_order201_response_order_lines_inner_spec.rb +0 -148
  222. data/spec/models/create_order201_response_shipping_address_spec.rb +0 -108
  223. data/spec/models/create_order201_response_spec.rb +0 -142
  224. data/spec/models/create_order_request_order_lines_inner_spec.rb +0 -148
  225. data/spec/models/create_order_request_shipping_address_spec.rb +0 -108
  226. data/spec/models/create_order_request_spec.rb +0 -102
  227. data/spec/models/create_org_webhook201_response_spec.rb +0 -78
  228. data/spec/models/create_org_webhook_request_spec.rb +0 -58
  229. data/spec/models/create_shipment201_response_activities_inner_spec.rb +0 -64
  230. data/spec/models/create_shipment201_response_documents_inner_spec.rb +0 -90
  231. data/spec/models/create_shipment201_response_errors_inner_spec.rb +0 -60
  232. data/spec/models/create_shipment201_response_logs_inner_spec.rb +0 -82
  233. data/spec/models/create_shipment201_response_parcels_inner_dimensions_spec.rb +0 -48
  234. data/spec/models/create_shipment201_response_parcels_inner_order_lines_inner_spec.rb +0 -90
  235. data/spec/models/create_shipment201_response_parcels_inner_spec.rb +0 -100
  236. data/spec/models/create_shipment201_response_parties_inner_attributes_inner_spec.rb +0 -42
  237. data/spec/models/create_shipment201_response_parties_inner_spec.rb +0 -100
  238. data/spec/models/create_shipment201_response_pickup_details_spec.rb +0 -54
  239. data/spec/models/create_shipment201_response_shipping_rule_spec.rb +0 -102
  240. data/spec/models/create_shipment201_response_spec.rb +0 -182
  241. data/spec/models/create_shipment201_response_tracking_spec.rb +0 -66
  242. data/spec/models/create_shipment_request_carrier_settings_spec.rb +0 -54
  243. data/spec/models/create_shipment_request_parcels_inner_dimensions_spec.rb +0 -48
  244. data/spec/models/create_shipment_request_parcels_inner_order_lines_inner_spec.rb +0 -90
  245. data/spec/models/create_shipment_request_parcels_inner_spec.rb +0 -100
  246. data/spec/models/create_shipment_request_parties_inner_attributes_inner_spec.rb +0 -42
  247. data/spec/models/create_shipment_request_parties_inner_spec.rb +0 -100
  248. data/spec/models/create_shipment_request_pickup_details_spec.rb +0 -54
  249. data/spec/models/create_shipment_request_spec.rb +0 -116
  250. data/spec/models/create_shipping_quote200_response_rates_inner_spec.rb +0 -96
  251. data/spec/models/create_shipping_quote200_response_spec.rb +0 -36
  252. data/spec/models/create_shipping_quote400_response_spec.rb +0 -42
  253. data/spec/models/create_shipping_quote404_response_spec.rb +0 -42
  254. data/spec/models/create_shipping_quote_request_destination_spec.rb +0 -66
  255. data/spec/models/create_shipping_quote_request_items_inner_spec.rb +0 -72
  256. data/spec/models/create_shipping_quote_request_spec.rb +0 -54
  257. data/spec/models/create_shipping_rule201_response_spec.rb +0 -208
  258. data/spec/models/create_shipping_rule_request_additional_parameters_any_of_inner_spec.rb +0 -42
  259. data/spec/models/create_shipping_rule_request_additional_parameters_any_of_value_any_of_coordinates_inner_spec.rb +0 -21
  260. data/spec/models/create_shipping_rule_request_additional_parameters_any_of_value_any_of_spec.rb +0 -54
  261. data/spec/models/create_shipping_rule_request_additional_parameters_any_of_value_spec.rb +0 -21
  262. data/spec/models/create_shipping_rule_request_additional_parameters_spec.rb +0 -21
  263. data/spec/models/create_shipping_rule_request_conditions_inner_one_of1_spec.rb +0 -78
  264. data/spec/models/create_shipping_rule_request_conditions_inner_one_of2_spec.rb +0 -74
  265. data/spec/models/create_shipping_rule_request_conditions_inner_one_of3_spec.rb +0 -68
  266. data/spec/models/create_shipping_rule_request_conditions_inner_one_of4_spec.rb +0 -52
  267. data/spec/models/create_shipping_rule_request_conditions_inner_one_of_spec.rb +0 -64
  268. data/spec/models/create_shipping_rule_request_conditions_inner_spec.rb +0 -32
  269. data/spec/models/create_shipping_rule_request_spec.rb +0 -184
  270. data/spec/models/delete_org_webhook200_response_spec.rb +0 -36
  271. data/spec/models/delete_shipping_rule200_response_spec.rb +0 -36
  272. data/spec/models/get_billing_usage200_response_add_ons_inner_spec.rb +0 -58
  273. data/spec/models/get_billing_usage200_response_current_period_spec.rb +0 -42
  274. data/spec/models/get_billing_usage200_response_limits_spec.rb +0 -72
  275. data/spec/models/get_billing_usage200_response_limits_team_members_spec.rb +0 -42
  276. data/spec/models/get_billing_usage200_response_shipments_spec.rb +0 -54
  277. data/spec/models/get_billing_usage200_response_spec.rb +0 -54
  278. data/spec/models/get_order200_response_shipments_inner_spec.rb +0 -98
  279. data/spec/models/get_order200_response_shipping_rule_spec.rb +0 -102
  280. data/spec/models/get_order200_response_spec.rb +0 -160
  281. data/spec/models/get_org200_response_count_spec.rb +0 -36
  282. data/spec/models/get_org200_response_spec.rb +0 -132
  283. data/spec/models/get_org_branding200_response_spec.rb +0 -48
  284. data/spec/models/health_check200_response_spec.rb +0 -48
  285. data/spec/models/list_addresses200_response_data_inner_spec.rb +0 -130
  286. data/spec/models/list_addresses200_response_spec.rb +0 -60
  287. data/spec/models/list_api_tokens200_response_data_inner_created_by_spec.rb +0 -48
  288. data/spec/models/list_api_tokens200_response_data_inner_spec.rb +0 -84
  289. data/spec/models/list_api_tokens200_response_spec.rb +0 -60
  290. data/spec/models/list_api_tokens401_response_spec.rb +0 -52
  291. data/spec/models/list_available_carriers200_response_inner_required_fields_inner_spec.rb +0 -70
  292. data/spec/models/list_available_carriers200_response_inner_spec.rb +0 -96
  293. data/spec/models/list_carrier_product_service_points200_response_inner_address_spec.rb +0 -66
  294. data/spec/models/list_carrier_product_service_points200_response_inner_spec.rb +0 -78
  295. data/spec/models/list_carrier_product_service_points_request_spec.rb +0 -66
  296. data/spec/models/list_carrier_products200_response_inner_additional_parameters_inner_options_inner_spec.rb +0 -48
  297. data/spec/models/list_carrier_products200_response_inner_additional_parameters_inner_spec.rb +0 -76
  298. data/spec/models/list_carrier_products200_response_inner_services_inner_spec.rb +0 -42
  299. data/spec/models/list_carrier_products200_response_inner_spec.rb +0 -100
  300. data/spec/models/list_carrier_products200_response_inner_weight_limits_spec.rb +0 -52
  301. data/spec/models/list_carriers200_response_data_inner_config_value_spec.rb +0 -21
  302. data/spec/models/list_carriers200_response_data_inner_spec.rb +0 -96
  303. data/spec/models/list_carriers200_response_spec.rb +0 -60
  304. data/spec/models/list_orders200_response_data_inner_order_channel_spec.rb +0 -52
  305. data/spec/models/list_orders200_response_data_inner_spec.rb +0 -112
  306. data/spec/models/list_orders200_response_spec.rb +0 -60
  307. data/spec/models/list_org_webhook_deliveries200_response_data_inner_spec.rb +0 -96
  308. data/spec/models/list_org_webhook_deliveries200_response_spec.rb +0 -60
  309. data/spec/models/list_org_webhooks200_response_data_inner_spec.rb +0 -72
  310. data/spec/models/list_org_webhooks200_response_spec.rb +0 -60
  311. data/spec/models/list_shipments200_response_data_inner_address_spec.rb +0 -130
  312. data/spec/models/list_shipments200_response_data_inner_carrier_settings_additional_parameters_value_any_of_spec.rb +0 -54
  313. data/spec/models/list_shipments200_response_data_inner_carrier_settings_additional_parameters_value_spec.rb +0 -21
  314. data/spec/models/list_shipments200_response_data_inner_carrier_settings_spec.rb +0 -54
  315. data/spec/models/list_shipments200_response_data_inner_spec.rb +0 -92
  316. data/spec/models/list_shipments200_response_spec.rb +0 -60
  317. data/spec/models/list_shipping_rules200_response_data_inner_additional_parameters_inner_spec.rb +0 -42
  318. data/spec/models/list_shipping_rules200_response_data_inner_carrier_spec.rb +0 -72
  319. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of1_spec.rb +0 -78
  320. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of2_spec.rb +0 -74
  321. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of3_spec.rb +0 -68
  322. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of4_spec.rb +0 -52
  323. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_one_of_spec.rb +0 -64
  324. data/spec/models/list_shipping_rules200_response_data_inner_conditions_inner_spec.rb +0 -32
  325. data/spec/models/list_shipping_rules200_response_data_inner_label_printer_spec.rb +0 -42
  326. data/spec/models/list_shipping_rules200_response_data_inner_return_shipping_rule_spec.rb +0 -42
  327. data/spec/models/list_shipping_rules200_response_data_inner_spec.rb +0 -238
  328. data/spec/models/list_shipping_rules200_response_spec.rb +0 -60
  329. data/spec/models/revoke_api_token200_response_spec.rb +0 -36
  330. data/spec/models/send_shipment422_response_errors_inner_spec.rb +0 -42
  331. data/spec/models/send_shipment422_response_spec.rb +0 -58
  332. data/spec/models/split_shipment201_response_spec.rb +0 -42
  333. data/spec/models/split_shipment_parcel200_response_spec.rb +0 -36
  334. data/spec/models/split_shipment_parcel_request_parcels_inner_spec.rb +0 -42
  335. data/spec/models/split_shipment_parcel_request_spec.rb +0 -36
  336. data/spec/models/split_shipment_request_spec.rb +0 -72
  337. data/spec/models/test_org_webhook200_response_spec.rb +0 -36
  338. data/spec/models/track_shipment200_response_events_inner_spec.rb +0 -70
  339. data/spec/models/track_shipment200_response_spec.rb +0 -64
  340. data/spec/models/update_address_request_spec.rb +0 -106
  341. data/spec/models/update_api_token_request_spec.rb +0 -36
  342. data/spec/models/update_carrier_request_spec.rb +0 -48
  343. data/spec/models/update_order_request_spec.rb +0 -100
  344. data/spec/models/update_org200_response_spec.rb +0 -126
  345. data/spec/models/update_org_branding_request_spec.rb +0 -42
  346. data/spec/models/update_org_request_spec.rb +0 -118
  347. data/spec/models/update_org_webhook_request_spec.rb +0 -58
  348. data/spec/models/update_shipment_request_spec.rb +0 -122
  349. data/spec/models/update_shipping_rule_request_spec.rb +0 -184
  350. data/spec/models/verify_api_token200_response_spec.rb +0 -66
  351. data/spec/models/verify_api_token_request_spec.rb +0 -36
@@ -1,42 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::UpdateOrgBrandingRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::UpdateOrgBrandingRequest do
21
- #let(:instance) { Zippendo::UpdateOrgBrandingRequest.new }
22
-
23
- describe 'test an instance of UpdateOrgBrandingRequest' do
24
- it 'should create an instance of UpdateOrgBrandingRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::UpdateOrgBrandingRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "primary_color"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "secondary_color"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- end
@@ -1,118 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::UpdateOrgRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::UpdateOrgRequest do
21
- #let(:instance) { Zippendo::UpdateOrgRequest.new }
22
-
23
- describe 'test an instance of UpdateOrgRequest' do
24
- it 'should create an instance of UpdateOrgRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::UpdateOrgRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "name"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "slug"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "description"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- describe 'test attribute "currency"' do
49
- it 'should work' do
50
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["DKK", "EUR", "USD", "GBP", "SEK", "NOK"])
52
- # validator.allowable_values.each do |value|
53
- # expect { instance.currency = value }.not_to raise_error
54
- # end
55
- end
56
- end
57
-
58
- describe 'test attribute "vat_number"' do
59
- it 'should work' do
60
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- end
62
- end
63
-
64
- describe 'test attribute "overage_enabled"' do
65
- it 'should work' do
66
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- end
68
- end
69
-
70
- describe 'test attribute "billing_email"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- describe 'test attribute "company_name"' do
77
- it 'should work' do
78
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
- end
80
- end
81
-
82
- describe 'test attribute "address_line1"' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- describe 'test attribute "address_line2"' do
89
- it 'should work' do
90
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
- end
92
- end
93
-
94
- describe 'test attribute "city"' do
95
- it 'should work' do
96
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
- end
98
- end
99
-
100
- describe 'test attribute "postal_code"' do
101
- it 'should work' do
102
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
- end
104
- end
105
-
106
- describe 'test attribute "country"' do
107
- it 'should work' do
108
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
- end
110
- end
111
-
112
- describe 'test attribute "customs"' do
113
- it 'should work' do
114
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
- end
116
- end
117
-
118
- end
@@ -1,58 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::UpdateOrgWebhookRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::UpdateOrgWebhookRequest do
21
- #let(:instance) { Zippendo::UpdateOrgWebhookRequest.new }
22
-
23
- describe 'test an instance of UpdateOrgWebhookRequest' do
24
- it 'should create an instance of UpdateOrgWebhookRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::UpdateOrgWebhookRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "name"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "url"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "events"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["shipment.created", "shipment.updated", "shipment.dispatched", "shipment.cancelled", "shipment.error", "order.created", "order.updated", "order.cancelled", "tracking.updated"])
46
- # validator.allowable_values.each do |value|
47
- # expect { instance.events = value }.not_to raise_error
48
- # end
49
- end
50
- end
51
-
52
- describe 'test attribute "is_active"' do
53
- it 'should work' do
54
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
- end
56
- end
57
-
58
- end
@@ -1,122 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::UpdateShipmentRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::UpdateShipmentRequest do
21
- #let(:instance) { Zippendo::UpdateShipmentRequest.new }
22
-
23
- describe 'test an instance of UpdateShipmentRequest' do
24
- it 'should create an instance of UpdateShipmentRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::UpdateShipmentRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "reference"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "address_id"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "service_point_id"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- describe 'test attribute "parties"' do
49
- it 'should work' do
50
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- end
52
- end
53
-
54
- describe 'test attribute "type"' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["outbound", "inbound"])
58
- # validator.allowable_values.each do |value|
59
- # expect { instance.type = value }.not_to raise_error
60
- # end
61
- end
62
- end
63
-
64
- describe 'test attribute "carrier_settings"' do
65
- it 'should work' do
66
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- end
68
- end
69
-
70
- describe 'test attribute "parcels"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- describe 'test attribute "pickup_details"' do
77
- it 'should work' do
78
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
- end
80
- end
81
-
82
- describe 'test attribute "term_of_trade"' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- describe 'test attribute "status"' do
89
- it 'should work' do
90
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["draft", "pending", "processing", "dispatched", "partly_dispatched", "error", "cancelled", "on_hold"])
92
- # validator.allowable_values.each do |value|
93
- # expect { instance.status = value }.not_to raise_error
94
- # end
95
- end
96
- end
97
-
98
- describe 'test attribute "order_id"' do
99
- it 'should work' do
100
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
- end
102
- end
103
-
104
- describe 'test attribute "label_printer_id"' do
105
- it 'should work' do
106
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
107
- end
108
- end
109
-
110
- describe 'test attribute "document_printer_id"' do
111
- it 'should work' do
112
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
113
- end
114
- end
115
-
116
- describe 'test attribute "shipping_rule_id"' do
117
- it 'should work' do
118
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
119
- end
120
- end
121
-
122
- end
@@ -1,184 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::UpdateShippingRuleRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::UpdateShippingRuleRequest do
21
- #let(:instance) { Zippendo::UpdateShippingRuleRequest.new }
22
-
23
- describe 'test an instance of UpdateShippingRuleRequest' do
24
- it 'should create an instance of UpdateShippingRuleRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::UpdateShippingRuleRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "name"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "description"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "direction"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["outbound", "inbound"])
46
- # validator.allowable_values.each do |value|
47
- # expect { instance.direction = value }.not_to raise_error
48
- # end
49
- end
50
- end
51
-
52
- describe 'test attribute "carrier_id"' do
53
- it 'should work' do
54
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
- end
56
- end
57
-
58
- describe 'test attribute "product_id"' do
59
- it 'should work' do
60
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
- end
62
- end
63
-
64
- describe 'test attribute "services"' do
65
- it 'should work' do
66
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
- end
68
- end
69
-
70
- describe 'test attribute "additional_parameters"' do
71
- it 'should work' do
72
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
- end
74
- end
75
-
76
- describe 'test attribute "address_id"' do
77
- it 'should work' do
78
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
- end
80
- end
81
-
82
- describe 'test attribute "receiving_countries"' do
83
- it 'should work' do
84
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
- end
86
- end
87
-
88
- describe 'test attribute "email_notification"' do
89
- it 'should work' do
90
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
91
- end
92
- end
93
-
94
- describe 'test attribute "phone_notification"' do
95
- it 'should work' do
96
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
- end
98
- end
99
-
100
- describe 'test attribute "min_weight"' do
101
- it 'should work' do
102
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
- end
104
- end
105
-
106
- describe 'test attribute "max_weight"' do
107
- it 'should work' do
108
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
- end
110
- end
111
-
112
- describe 'test attribute "min_order_value"' do
113
- it 'should work' do
114
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
115
- end
116
- end
117
-
118
- describe 'test attribute "max_order_value"' do
119
- it 'should work' do
120
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
121
- end
122
- end
123
-
124
- describe 'test attribute "conditions"' do
125
- it 'should work' do
126
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
127
- end
128
- end
129
-
130
- describe 'test attribute "generate_proforma_invoice"' do
131
- it 'should work' do
132
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
133
- end
134
- end
135
-
136
- describe 'test attribute "generate_commercial_invoice"' do
137
- it 'should work' do
138
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
139
- end
140
- end
141
-
142
- describe 'test attribute "generate_packing_list"' do
143
- it 'should work' do
144
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
145
- end
146
- end
147
-
148
- describe 'test attribute "auto_print_labels"' do
149
- it 'should work' do
150
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
151
- end
152
- end
153
-
154
- describe 'test attribute "auto_print_documents"' do
155
- it 'should work' do
156
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
157
- end
158
- end
159
-
160
- describe 'test attribute "label_printer_id"' do
161
- it 'should work' do
162
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
163
- end
164
- end
165
-
166
- describe 'test attribute "document_printer_id"' do
167
- it 'should work' do
168
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
169
- end
170
- end
171
-
172
- describe 'test attribute "return_shipping_rule_id"' do
173
- it 'should work' do
174
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
- end
176
- end
177
-
178
- describe 'test attribute "auto_create_return_shipment"' do
179
- it 'should work' do
180
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
181
- end
182
- end
183
-
184
- end
@@ -1,66 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::VerifyApiToken200Response
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::VerifyApiToken200Response do
21
- #let(:instance) { Zippendo::VerifyApiToken200Response.new }
22
-
23
- describe 'test an instance of VerifyApiToken200Response' do
24
- it 'should create an instance of VerifyApiToken200Response' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::VerifyApiToken200Response)
27
- end
28
- end
29
-
30
- describe 'test attribute "valid"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- describe 'test attribute "token_id"' do
37
- it 'should work' do
38
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- end
40
- end
41
-
42
- describe 'test attribute "user_id"' do
43
- it 'should work' do
44
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
- end
46
- end
47
-
48
- describe 'test attribute "org_id"' do
49
- it 'should work' do
50
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
- end
52
- end
53
-
54
- describe 'test attribute "scopes"' do
55
- it 'should work' do
56
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
- end
58
- end
59
-
60
- describe 'test attribute "expires_at"' do
61
- it 'should work' do
62
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
- end
64
- end
65
-
66
- end
@@ -1,36 +0,0 @@
1
- =begin
2
- #Zippendo Public API
3
-
4
- #Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand's team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand's id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide.
5
-
6
- The version of the OpenAPI document: 1.0.0
7
- Contact: support@zippendo.com
8
- Generated by: https://openapi-generator.tech
9
- Generator version: 7.24.0
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for Zippendo::VerifyApiTokenRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe Zippendo::VerifyApiTokenRequest do
21
- #let(:instance) { Zippendo::VerifyApiTokenRequest.new }
22
-
23
- describe 'test an instance of VerifyApiTokenRequest' do
24
- it 'should create an instance of VerifyApiTokenRequest' do
25
- # uncomment below to test the instance creation
26
- #expect(instance).to be_instance_of(Zippendo::VerifyApiTokenRequest)
27
- end
28
- end
29
-
30
- describe 'test attribute "token"' do
31
- it 'should work' do
32
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
- end
34
- end
35
-
36
- end