order_cloud 0.0.6 → 1.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- metadata +45 -594
- data/Gemfile +0 -28
- data/Gemfile.lock +0 -34
- data/LICENSE +0 -201
- data/README.md +0 -498
- data/Rakefile +0 -31
- data/docs/AccessToken.md +0 -10
- data/docs/Address.md +0 -20
- data/docs/AddressApi.md +0 -520
- data/docs/AddressAssignment.md +0 -12
- data/docs/AdminAddressApi.md +0 -324
- data/docs/AdminCompany.md +0 -10
- data/docs/AdminModelOnView.md +0 -7
- data/docs/AdminUserApi.md +0 -323
- data/docs/AdminUserGroupApi.md +0 -482
- data/docs/ApprovalRule.md +0 -20
- data/docs/ApprovalRuleApi.md +0 -342
- data/docs/BaseSpec.md +0 -15
- data/docs/Buyer.md +0 -11
- data/docs/BuyerAddress.md +0 -11
- data/docs/BuyerApi.md +0 -324
- data/docs/BuyerCreditCard.md +0 -9
- data/docs/BuyerProduct.md +0 -9
- data/docs/BuyerSpec.md +0 -9
- data/docs/Category.md +0 -15
- data/docs/CategoryApi.md +0 -685
- data/docs/CategoryAssignment.md +0 -10
- data/docs/CategoryProductAssignment.md +0 -10
- data/docs/CostCenter.md +0 -11
- data/docs/CostCenterApi.md +0 -516
- data/docs/CostCenterAssignment.md +0 -10
- data/docs/CreditCard.md +0 -15
- data/docs/CreditCardApi.md +0 -516
- data/docs/CreditCardAssignment.md +0 -10
- data/docs/EmailTemplate.md +0 -12
- data/docs/EmailTemplateApi.md +0 -223
- data/docs/File.md +0 -10
- data/docs/ImpersonateTokenRequest.md +0 -9
- data/docs/Inventory.md +0 -12
- data/docs/LineItem.md +0 -23
- data/docs/LineItemApi.md +0 -478
- data/docs/LineItemSpec.md +0 -11
- data/docs/ListAddress.md +0 -9
- data/docs/ListAddressAssignment.md +0 -9
- data/docs/ListAdminCompany.md +0 -9
- data/docs/ListApprovalRule.md +0 -9
- data/docs/ListBuyer.md +0 -9
- data/docs/ListBuyerAddress.md +0 -9
- data/docs/ListBuyerCreditCard.md +0 -9
- data/docs/ListBuyerProduct.md +0 -9
- data/docs/ListBuyerSpec.md +0 -9
- data/docs/ListCategory.md +0 -9
- data/docs/ListCategoryAssignment.md +0 -9
- data/docs/ListCategoryProductAssignment.md +0 -9
- data/docs/ListCostCenter.md +0 -9
- data/docs/ListCostCenterAssignment.md +0 -9
- data/docs/ListCreditCard.md +0 -9
- data/docs/ListCreditCardAssignment.md +0 -9
- data/docs/ListFile.md +0 -9
- data/docs/ListInventory.md +0 -9
- data/docs/ListLineItem.md +0 -9
- data/docs/ListMessageCCListenerAssignment.md +0 -9
- data/docs/ListMessageConfig.md +0 -9
- data/docs/ListMessageSender.md +0 -9
- data/docs/ListMessageSenderAssignment.md +0 -9
- data/docs/ListOrder.md +0 -9
- data/docs/ListOrderApproval.md +0 -9
- data/docs/ListOrderPromotion.md +0 -9
- data/docs/ListPayment.md +0 -9
- data/docs/ListPriceSchedule.md +0 -9
- data/docs/ListProduct.md +0 -9
- data/docs/ListProductAssignment.md +0 -9
- data/docs/ListPromotion.md +0 -9
- data/docs/ListPromotionAssignment.md +0 -9
- data/docs/ListSecurityProfile.md +0 -9
- data/docs/ListSecurityProfileAssignment.md +0 -9
- data/docs/ListShipment.md +0 -9
- data/docs/ListSpec.md +0 -9
- data/docs/ListSpecOption.md +0 -9
- data/docs/ListSpecProductAssignment.md +0 -9
- data/docs/ListSpendingAccount.md +0 -9
- data/docs/ListSpendingAccountAssignment.md +0 -9
- data/docs/ListUser.md +0 -9
- data/docs/ListUserGroup.md +0 -9
- data/docs/ListUserGroupAssignment.md +0 -9
- data/docs/ListVariant.md +0 -9
- data/docs/ListWebHook.md +0 -9
- data/docs/ListWebHookRoute.md +0 -9
- data/docs/ListXpIndex.md +0 -9
- data/docs/MeApi.md +0 -1488
- data/docs/MessageCCListenerAssignment.md +0 -13
- data/docs/MessageConfig.md +0 -11
- data/docs/MessageSender.md +0 -10
- data/docs/MessageSenderAssignment.md +0 -12
- data/docs/MessageSendersApi.md +0 -398
- data/docs/Meta.md +0 -12
- data/docs/Order.md +0 -31
- data/docs/OrderApi.md +0 -1277
- data/docs/OrderApproval.md +0 -16
- data/docs/OrderPromotion.md +0 -8
- data/docs/PasswordReset.md +0 -10
- data/docs/PasswordResetApi.md +0 -109
- data/docs/PasswordResetRequest.md +0 -11
- data/docs/Payment.md +0 -16
- data/docs/PaymentApi.md +0 -601
- data/docs/PaymentTransaction.md +0 -15
- data/docs/PingResponse.md +0 -8
- data/docs/PriceBreak.md +0 -9
- data/docs/PriceSchedule.md +0 -18
- data/docs/PriceScheduleApi.md +0 -429
- data/docs/Product.md +0 -26
- data/docs/ProductApi.md +0 -1116
- data/docs/ProductAssignment.md +0 -13
- data/docs/Promotion.md +0 -21
- data/docs/PromotionApi.md +0 -495
- data/docs/PromotionAssignment.md +0 -11
- data/docs/SecurityProfile.md +0 -11
- data/docs/SecurityProfileApi.md +0 -290
- data/docs/SecurityProfileAssignment.md +0 -11
- data/docs/Shipment.md +0 -14
- data/docs/ShipmentApi.md +0 -459
- data/docs/ShipmentItem.md +0 -10
- data/docs/Spec.md +0 -8
- data/docs/SpecApi.md +0 -816
- data/docs/SpecOption.md +0 -14
- data/docs/SpecProductAssignment.md +0 -10
- data/docs/SpendingAccount.md +0 -15
- data/docs/SpendingAccountApi.md +0 -516
- data/docs/SpendingAccountAssignment.md +0 -11
- data/docs/User.md +0 -18
- data/docs/UserApi.md +0 -400
- data/docs/UserGroup.md +0 -11
- data/docs/UserGroupApi.md +0 -509
- data/docs/UserGroupAssignment.md +0 -9
- data/docs/Variant.md +0 -12
- data/docs/WebHook.md +0 -18
- data/docs/WebHookRoute.md +0 -10
- data/docs/XpIndex.md +0 -9
- data/git_push.sh +0 -67
- data/lib/order_cloud.rb +0 -183
- data/lib/order_cloud/api/address_api.rb +0 -628
- data/lib/order_cloud/api/admin_address_api.rb +0 -397
- data/lib/order_cloud/api/admin_user_api.rb +0 -396
- data/lib/order_cloud/api/admin_user_group_api.rb +0 -578
- data/lib/order_cloud/api/approval_rule_api.rb +0 -421
- data/lib/order_cloud/api/buyer_api.rb +0 -397
- data/lib/order_cloud/api/category_api.rb +0 -818
- data/lib/order_cloud/api/cost_center_api.rb +0 -622
- data/lib/order_cloud/api/credit_card_api.rb +0 -622
- data/lib/order_cloud/api/email_template_api.rb +0 -283
- data/lib/order_cloud/api/line_item_api.rb +0 -583
- data/lib/order_cloud/api/me_api.rb +0 -1747
- data/lib/order_cloud/api/message_senders_api.rb +0 -484
- data/lib/order_cloud/api/order_api.rb +0 -1509
- data/lib/order_cloud/api/password_reset_api.rb +0 -150
- data/lib/order_cloud/api/payment_api.rb +0 -728
- data/lib/order_cloud/api/price_schedule_api.rb +0 -519
- data/lib/order_cloud/api/product_api.rb +0 -1312
- data/lib/order_cloud/api/promotion_api.rb +0 -596
- data/lib/order_cloud/api/security_profile_api.rb +0 -361
- data/lib/order_cloud/api/shipment_api.rb +0 -558
- data/lib/order_cloud/api/spec_api.rb +0 -965
- data/lib/order_cloud/api/spending_account_api.rb +0 -622
- data/lib/order_cloud/api/user_api.rb +0 -489
- data/lib/order_cloud/api/user_group_api.rb +0 -614
- data/lib/order_cloud/api_auth.rb +0 -108
- data/lib/order_cloud/api_client.rb +0 -385
- data/lib/order_cloud/api_error.rb +0 -47
- data/lib/order_cloud/configuration.rb +0 -245
- data/lib/order_cloud/models/access_token.rb +0 -217
- data/lib/order_cloud/models/address.rb +0 -307
- data/lib/order_cloud/models/address_assignment.rb +0 -235
- data/lib/order_cloud/models/admin_company.rb +0 -217
- data/lib/order_cloud/models/admin_model_on_view.rb +0 -190
- data/lib/order_cloud/models/approval_rule.rb +0 -307
- data/lib/order_cloud/models/base_spec.rb +0 -262
- data/lib/order_cloud/models/buyer.rb +0 -226
- data/lib/order_cloud/models/buyer_address.rb +0 -226
- data/lib/order_cloud/models/buyer_credit_card.rb +0 -208
- data/lib/order_cloud/models/buyer_product.rb +0 -208
- data/lib/order_cloud/models/buyer_spec.rb +0 -210
- data/lib/order_cloud/models/category.rb +0 -262
- data/lib/order_cloud/models/category_assignment.rb +0 -217
- data/lib/order_cloud/models/category_product_assignment.rb +0 -217
- data/lib/order_cloud/models/cost_center.rb +0 -226
- data/lib/order_cloud/models/cost_center_assignment.rb +0 -217
- data/lib/order_cloud/models/credit_card.rb +0 -262
- data/lib/order_cloud/models/credit_card_assignment.rb +0 -217
- data/lib/order_cloud/models/email_template.rb +0 -235
- data/lib/order_cloud/models/file.rb +0 -217
- data/lib/order_cloud/models/impersonate_token_request.rb +0 -208
- data/lib/order_cloud/models/inventory.rb +0 -235
- data/lib/order_cloud/models/line_item.rb +0 -336
- data/lib/order_cloud/models/line_item_spec.rb +0 -226
- data/lib/order_cloud/models/list_address.rb +0 -210
- data/lib/order_cloud/models/list_address_assignment.rb +0 -210
- data/lib/order_cloud/models/list_admin_company.rb +0 -210
- data/lib/order_cloud/models/list_approval_rule.rb +0 -210
- data/lib/order_cloud/models/list_buyer.rb +0 -210
- data/lib/order_cloud/models/list_buyer_address.rb +0 -210
- data/lib/order_cloud/models/list_buyer_credit_card.rb +0 -210
- data/lib/order_cloud/models/list_buyer_product.rb +0 -210
- data/lib/order_cloud/models/list_buyer_spec.rb +0 -210
- data/lib/order_cloud/models/list_category.rb +0 -210
- data/lib/order_cloud/models/list_category_assignment.rb +0 -210
- data/lib/order_cloud/models/list_category_product_assignment.rb +0 -210
- data/lib/order_cloud/models/list_cost_center.rb +0 -210
- data/lib/order_cloud/models/list_cost_center_assignment.rb +0 -210
- data/lib/order_cloud/models/list_credit_card.rb +0 -210
- data/lib/order_cloud/models/list_credit_card_assignment.rb +0 -210
- data/lib/order_cloud/models/list_file.rb +0 -210
- data/lib/order_cloud/models/list_inventory.rb +0 -210
- data/lib/order_cloud/models/list_line_item.rb +0 -210
- data/lib/order_cloud/models/list_message_cc_listener_assignment.rb +0 -210
- data/lib/order_cloud/models/list_message_config.rb +0 -210
- data/lib/order_cloud/models/list_message_sender.rb +0 -210
- data/lib/order_cloud/models/list_message_sender_assignment.rb +0 -210
- data/lib/order_cloud/models/list_order.rb +0 -210
- data/lib/order_cloud/models/list_order_approval.rb +0 -210
- data/lib/order_cloud/models/list_order_promotion.rb +0 -210
- data/lib/order_cloud/models/list_payment.rb +0 -210
- data/lib/order_cloud/models/list_price_schedule.rb +0 -210
- data/lib/order_cloud/models/list_product.rb +0 -210
- data/lib/order_cloud/models/list_product_assignment.rb +0 -210
- data/lib/order_cloud/models/list_promotion.rb +0 -210
- data/lib/order_cloud/models/list_promotion_assignment.rb +0 -210
- data/lib/order_cloud/models/list_security_profile.rb +0 -210
- data/lib/order_cloud/models/list_security_profile_assignment.rb +0 -210
- data/lib/order_cloud/models/list_shipment.rb +0 -210
- data/lib/order_cloud/models/list_spec.rb +0 -210
- data/lib/order_cloud/models/list_spec_option.rb +0 -210
- data/lib/order_cloud/models/list_spec_product_assignment.rb +0 -210
- data/lib/order_cloud/models/list_spending_account.rb +0 -210
- data/lib/order_cloud/models/list_spending_account_assignment.rb +0 -210
- data/lib/order_cloud/models/list_user.rb +0 -210
- data/lib/order_cloud/models/list_user_group.rb +0 -210
- data/lib/order_cloud/models/list_user_group_assignment.rb +0 -210
- data/lib/order_cloud/models/list_variant.rb +0 -210
- data/lib/order_cloud/models/list_web_hook.rb +0 -210
- data/lib/order_cloud/models/list_web_hook_route.rb +0 -210
- data/lib/order_cloud/models/list_xp_index.rb +0 -210
- data/lib/order_cloud/models/message_cc_listener_assignment.rb +0 -244
- data/lib/order_cloud/models/message_config.rb +0 -226
- data/lib/order_cloud/models/message_sender.rb +0 -217
- data/lib/order_cloud/models/message_sender_assignment.rb +0 -235
- data/lib/order_cloud/models/meta.rb +0 -237
- data/lib/order_cloud/models/order.rb +0 -406
- data/lib/order_cloud/models/order_approval.rb +0 -271
- data/lib/order_cloud/models/order_promotion.rb +0 -199
- data/lib/order_cloud/models/password_reset.rb +0 -217
- data/lib/order_cloud/models/password_reset_request.rb +0 -226
- data/lib/order_cloud/models/payment.rb +0 -273
- data/lib/order_cloud/models/payment_transaction.rb +0 -262
- data/lib/order_cloud/models/ping_response.rb +0 -199
- data/lib/order_cloud/models/price_break.rb +0 -208
- data/lib/order_cloud/models/price_schedule.rb +0 -291
- data/lib/order_cloud/models/product.rb +0 -361
- data/lib/order_cloud/models/product_assignment.rb +0 -244
- data/lib/order_cloud/models/promotion.rb +0 -316
- data/lib/order_cloud/models/promotion_assignment.rb +0 -226
- data/lib/order_cloud/models/security_profile.rb +0 -228
- data/lib/order_cloud/models/security_profile_assignment.rb +0 -226
- data/lib/order_cloud/models/shipment.rb +0 -255
- data/lib/order_cloud/models/shipment_item.rb +0 -217
- data/lib/order_cloud/models/spec.rb +0 -199
- data/lib/order_cloud/models/spec_option.rb +0 -253
- data/lib/order_cloud/models/spec_product_assignment.rb +0 -217
- data/lib/order_cloud/models/spending_account.rb +0 -262
- data/lib/order_cloud/models/spending_account_assignment.rb +0 -226
- data/lib/order_cloud/models/user.rb +0 -291
- data/lib/order_cloud/models/user_group.rb +0 -226
- data/lib/order_cloud/models/user_group_assignment.rb +0 -208
- data/lib/order_cloud/models/variant.rb +0 -235
- data/lib/order_cloud/models/web_hook.rb +0 -289
- data/lib/order_cloud/models/web_hook_route.rb +0 -217
- data/lib/order_cloud/models/xp_index.rb +0 -208
- data/lib/order_cloud/version.rb +0 -26
- data/order_cloud.gemspec +0 -56
- data/spec/api/address_api_spec.rb +0 -179
- data/spec/api/admin_address_api_spec.rb +0 -125
- data/spec/api/admin_user_api_spec.rb +0 -125
- data/spec/api/admin_user_group_api_spec.rb +0 -165
- data/spec/api/approval_rule_api_spec.rb +0 -131
- data/spec/api/buyer_api_spec.rb +0 -125
- data/spec/api/category_api_spec.rb +0 -221
- data/spec/api/cost_center_api_spec.rb +0 -177
- data/spec/api/credit_card_api_spec.rb +0 -177
- data/spec/api/email_template_api_spec.rb +0 -100
- data/spec/api/line_item_api_spec.rb +0 -167
- data/spec/api/me_api_spec.rb +0 -431
- data/spec/api/message_senders_api_spec.rb +0 -149
- data/spec/api/order_api_spec.rb +0 -375
- data/spec/api/password_reset_api_spec.rb +0 -71
- data/spec/api/payment_api_spec.rb +0 -199
- data/spec/api/price_schedule_api_spec.rb +0 -151
- data/spec/api/product_api_spec.rb +0 -330
- data/spec/api/promotion_api_spec.rb +0 -170
- data/spec/api/security_profile_api_spec.rb +0 -120
- data/spec/api/shipment_api_spec.rb +0 -161
- data/spec/api/spec_api_spec.rb +0 -250
- data/spec/api/spending_account_api_spec.rb +0 -177
- data/spec/api/user_api_spec.rb +0 -146
- data/spec/api/user_group_api_spec.rb +0 -174
- data/spec/api_auth_spec.rb +0 -165
- data/spec/api_client_spec.rb +0 -237
- data/spec/configuration_spec.rb +0 -80
- data/spec/models/access_token_spec.rb +0 -65
- data/spec/models/address_assignment_spec.rb +0 -77
- data/spec/models/address_spec.rb +0 -125
- data/spec/models/admin_company_spec.rb +0 -65
- data/spec/models/admin_model_on_view_spec.rb +0 -47
- data/spec/models/approval_rule_spec.rb +0 -125
- data/spec/models/base_spec_spec.rb +0 -95
- data/spec/models/buyer_address_spec.rb +0 -71
- data/spec/models/buyer_credit_card_spec.rb +0 -59
- data/spec/models/buyer_product_spec.rb +0 -59
- data/spec/models/buyer_spec.rb +0 -71
- data/spec/models/buyer_spec_spec.rb +0 -59
- data/spec/models/category_assignment_spec.rb +0 -65
- data/spec/models/category_product_assignment_spec.rb +0 -65
- data/spec/models/category_spec.rb +0 -95
- data/spec/models/cost_center_assignment_spec.rb +0 -65
- data/spec/models/cost_center_spec.rb +0 -71
- data/spec/models/credit_card_assignment_spec.rb +0 -65
- data/spec/models/credit_card_spec.rb +0 -95
- data/spec/models/email_template_spec.rb +0 -77
- data/spec/models/file_spec.rb +0 -65
- data/spec/models/impersonate_token_request_spec.rb +0 -59
- data/spec/models/inventory_spec.rb +0 -77
- data/spec/models/line_item_spec.rb +0 -143
- data/spec/models/line_item_spec_spec.rb +0 -71
- data/spec/models/list_address_assignment_spec.rb +0 -59
- data/spec/models/list_address_spec.rb +0 -59
- data/spec/models/list_admin_company_spec.rb +0 -59
- data/spec/models/list_approval_rule_spec.rb +0 -59
- data/spec/models/list_buyer_address_spec.rb +0 -59
- data/spec/models/list_buyer_credit_card_spec.rb +0 -59
- data/spec/models/list_buyer_product_spec.rb +0 -59
- data/spec/models/list_buyer_spec.rb +0 -59
- data/spec/models/list_buyer_spec_spec.rb +0 -59
- data/spec/models/list_category_assignment_spec.rb +0 -59
- data/spec/models/list_category_product_assignment_spec.rb +0 -59
- data/spec/models/list_category_spec.rb +0 -59
- data/spec/models/list_cost_center_assignment_spec.rb +0 -59
- data/spec/models/list_cost_center_spec.rb +0 -59
- data/spec/models/list_credit_card_assignment_spec.rb +0 -59
- data/spec/models/list_credit_card_spec.rb +0 -59
- data/spec/models/list_file_spec.rb +0 -59
- data/spec/models/list_inventory_spec.rb +0 -59
- data/spec/models/list_line_item_spec.rb +0 -59
- data/spec/models/list_message_cc_listener_assignment_spec.rb +0 -59
- data/spec/models/list_message_config_spec.rb +0 -59
- data/spec/models/list_message_sender_assignment_spec.rb +0 -59
- data/spec/models/list_message_sender_spec.rb +0 -59
- data/spec/models/list_order_approval_spec.rb +0 -59
- data/spec/models/list_order_promotion_spec.rb +0 -59
- data/spec/models/list_order_spec.rb +0 -59
- data/spec/models/list_payment_spec.rb +0 -59
- data/spec/models/list_price_schedule_spec.rb +0 -59
- data/spec/models/list_product_assignment_spec.rb +0 -59
- data/spec/models/list_product_spec.rb +0 -59
- data/spec/models/list_promotion_assignment_spec.rb +0 -59
- data/spec/models/list_promotion_spec.rb +0 -59
- data/spec/models/list_security_profile_assignment_spec.rb +0 -59
- data/spec/models/list_security_profile_spec.rb +0 -59
- data/spec/models/list_shipment_spec.rb +0 -59
- data/spec/models/list_spec_option_spec.rb +0 -59
- data/spec/models/list_spec_product_assignment_spec.rb +0 -59
- data/spec/models/list_spec_spec.rb +0 -59
- data/spec/models/list_spending_account_assignment_spec.rb +0 -59
- data/spec/models/list_spending_account_spec.rb +0 -59
- data/spec/models/list_user_group_assignment_spec.rb +0 -59
- data/spec/models/list_user_group_spec.rb +0 -59
- data/spec/models/list_user_spec.rb +0 -59
- data/spec/models/list_variant_spec.rb +0 -59
- data/spec/models/list_web_hook_route_spec.rb +0 -59
- data/spec/models/list_web_hook_spec.rb +0 -59
- data/spec/models/list_xp_index_spec.rb +0 -59
- data/spec/models/message_cc_listener_assignment_spec.rb +0 -83
- data/spec/models/message_config_spec.rb +0 -71
- data/spec/models/message_sender_assignment_spec.rb +0 -77
- data/spec/models/message_sender_spec.rb +0 -65
- data/spec/models/meta_spec.rb +0 -77
- data/spec/models/order_approval_spec.rb +0 -101
- data/spec/models/order_promotion_spec.rb +0 -53
- data/spec/models/order_spec.rb +0 -191
- data/spec/models/password_reset_request_spec.rb +0 -71
- data/spec/models/password_reset_spec.rb +0 -65
- data/spec/models/payment_spec.rb +0 -101
- data/spec/models/payment_transaction_spec.rb +0 -95
- data/spec/models/ping_response_spec.rb +0 -53
- data/spec/models/price_break_spec.rb +0 -59
- data/spec/models/price_schedule_spec.rb +0 -113
- data/spec/models/product_assignment_spec.rb +0 -83
- data/spec/models/product_spec.rb +0 -161
- data/spec/models/promotion_assignment_spec.rb +0 -71
- data/spec/models/promotion_spec.rb +0 -131
- data/spec/models/security_profile_assignment_spec.rb +0 -71
- data/spec/models/security_profile_spec.rb +0 -71
- data/spec/models/shipment_item_spec.rb +0 -65
- data/spec/models/shipment_spec.rb +0 -89
- data/spec/models/spec_option_spec.rb +0 -89
- data/spec/models/spec_product_assignment_spec.rb +0 -65
- data/spec/models/spec_spec.rb +0 -53
- data/spec/models/spending_account_assignment_spec.rb +0 -71
- data/spec/models/spending_account_spec.rb +0 -95
- data/spec/models/user_group_assignment_spec.rb +0 -59
- data/spec/models/user_group_spec.rb +0 -71
- data/spec/models/user_spec.rb +0 -113
- data/spec/models/variant_spec.rb +0 -77
- data/spec/models/web_hook_route_spec.rb +0 -65
- data/spec/models/web_hook_spec.rb +0 -113
- data/spec/models/xp_index_spec.rb +0 -59
- data/spec/spec_helper.rb +0 -122
@@ -1,177 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#OrderCloud
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
Contact: ordercloud@four51.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for OrderCloud::CreditCardApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'CreditCardApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = OrderCloud::CreditCardApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of CreditCardApi' do
|
41
|
-
it 'should create an instact of CreditCardApi' do
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::CreditCardApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for create
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param buyer_id ID of the buyer.
|
50
|
-
# @param card
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [CreditCard]
|
53
|
-
describe 'create test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for delete
|
60
|
-
#
|
61
|
-
#
|
62
|
-
# @param buyer_id ID of the buyer.
|
63
|
-
# @param credit_card_id ID of the credit card.
|
64
|
-
# @param [Hash] opts the optional parameters
|
65
|
-
# @return [nil]
|
66
|
-
describe 'delete test' do
|
67
|
-
it "should work" do
|
68
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# unit tests for delete_assignment
|
73
|
-
#
|
74
|
-
#
|
75
|
-
# @param buyer_id ID of the buyer.
|
76
|
-
# @param credit_card_id ID of the credit card.
|
77
|
-
# @param [Hash] opts the optional parameters
|
78
|
-
# @option opts [String] :user_id ID of the user.
|
79
|
-
# @option opts [String] :user_group_id ID of the user group.
|
80
|
-
# @return [nil]
|
81
|
-
describe 'delete_assignment test' do
|
82
|
-
it "should work" do
|
83
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# unit tests for get
|
88
|
-
#
|
89
|
-
#
|
90
|
-
# @param buyer_id ID of the buyer.
|
91
|
-
# @param credit_card_id ID of the credit card.
|
92
|
-
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [CreditCard]
|
94
|
-
describe 'get test' do
|
95
|
-
it "should work" do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
# unit tests for list
|
101
|
-
#
|
102
|
-
#
|
103
|
-
# @param buyer_id ID of the buyer.
|
104
|
-
# @param [Hash] opts the optional parameters
|
105
|
-
# @option opts [String] :search Word or phrase to search for.
|
106
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
107
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
108
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
109
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
110
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
111
|
-
# @return [ListCreditCard]
|
112
|
-
describe 'list test' do
|
113
|
-
it "should work" do
|
114
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
# unit tests for list_assignments
|
119
|
-
#
|
120
|
-
#
|
121
|
-
# @param buyer_id ID of the buyer.
|
122
|
-
# @param [Hash] opts the optional parameters
|
123
|
-
# @option opts [String] :credit_card_id ID of the credit card.
|
124
|
-
# @option opts [String] :user_id ID of the user.
|
125
|
-
# @option opts [String] :user_group_id ID of the user group.
|
126
|
-
# @option opts [String] :level Level of the credit card.
|
127
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
128
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
129
|
-
# @return [ListCreditCardAssignment]
|
130
|
-
describe 'list_assignments test' do
|
131
|
-
it "should work" do
|
132
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
# unit tests for patch
|
137
|
-
#
|
138
|
-
#
|
139
|
-
# @param buyer_id ID of the buyer.
|
140
|
-
# @param credit_card_id ID of the credit card.
|
141
|
-
# @param card
|
142
|
-
# @param [Hash] opts the optional parameters
|
143
|
-
# @return [CreditCard]
|
144
|
-
describe 'patch test' do
|
145
|
-
it "should work" do
|
146
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
147
|
-
end
|
148
|
-
end
|
149
|
-
|
150
|
-
# unit tests for save_assignment
|
151
|
-
#
|
152
|
-
#
|
153
|
-
# @param buyer_id ID of the buyer.
|
154
|
-
# @param assignment
|
155
|
-
# @param [Hash] opts the optional parameters
|
156
|
-
# @return [nil]
|
157
|
-
describe 'save_assignment test' do
|
158
|
-
it "should work" do
|
159
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
160
|
-
end
|
161
|
-
end
|
162
|
-
|
163
|
-
# unit tests for update
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# @param buyer_id ID of the buyer.
|
167
|
-
# @param credit_card_id ID of the credit card.
|
168
|
-
# @param card
|
169
|
-
# @param [Hash] opts the optional parameters
|
170
|
-
# @return [CreditCard]
|
171
|
-
describe 'update test' do
|
172
|
-
it "should work" do
|
173
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
174
|
-
end
|
175
|
-
end
|
176
|
-
|
177
|
-
end
|
@@ -1,100 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#OrderCloud
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
Contact: ordercloud@four51.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for OrderCloud::EmailTemplateApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'EmailTemplateApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = OrderCloud::EmailTemplateApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of EmailTemplateApi' do
|
41
|
-
it 'should create an instact of EmailTemplateApi' do
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::EmailTemplateApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for get
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param buyer_id ID of the buyer.
|
50
|
-
# @param email_template_type Email template type of the email template. Possible values: OrderSubmittedForApproval, CustomerOrderSubmitted, OrderToApprove, OrderDeclined, OrderApproved, PriceRequestSubmitted, CustomerOrderShipped, ProductRequiresAttachment, InventoryPointReached, LineItemExceedsInventory, PriceRequestResponse, CustomerOrderUpdated, OrderCanceled, PriceRequestCanceled, NewOrderReceived, ApprovalNotification, EmailLoginVerificationCode.
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [EmailTemplate]
|
53
|
-
describe 'get test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for patch
|
60
|
-
#
|
61
|
-
#
|
62
|
-
# @param buyer_id ID of the buyer.
|
63
|
-
# @param email_template_type Email template type of the email template. Possible values: OrderSubmittedForApproval, CustomerOrderSubmitted, OrderToApprove, OrderDeclined, OrderApproved, PriceRequestSubmitted, CustomerOrderShipped, ProductRequiresAttachment, InventoryPointReached, LineItemExceedsInventory, PriceRequestResponse, CustomerOrderUpdated, OrderCanceled, PriceRequestCanceled, NewOrderReceived, ApprovalNotification, EmailLoginVerificationCode.
|
64
|
-
# @param email_template
|
65
|
-
# @param [Hash] opts the optional parameters
|
66
|
-
# @return [nil]
|
67
|
-
describe 'patch test' do
|
68
|
-
it "should work" do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
# unit tests for reset_to_default
|
74
|
-
#
|
75
|
-
#
|
76
|
-
# @param buyer_id ID of the buyer.
|
77
|
-
# @param email_template_type Email template type of the email template. Possible values: OrderSubmittedForApproval, CustomerOrderSubmitted, OrderToApprove, OrderDeclined, OrderApproved, PriceRequestSubmitted, CustomerOrderShipped, ProductRequiresAttachment, InventoryPointReached, LineItemExceedsInventory, PriceRequestResponse, CustomerOrderUpdated, OrderCanceled, PriceRequestCanceled, NewOrderReceived, ApprovalNotification, EmailLoginVerificationCode.
|
78
|
-
# @param [Hash] opts the optional parameters
|
79
|
-
# @return [nil]
|
80
|
-
describe 'reset_to_default test' do
|
81
|
-
it "should work" do
|
82
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
# unit tests for update
|
87
|
-
#
|
88
|
-
#
|
89
|
-
# @param buyer_id ID of the buyer.
|
90
|
-
# @param email_template_type Email template type of the email template. Possible values: OrderSubmittedForApproval, CustomerOrderSubmitted, OrderToApprove, OrderDeclined, OrderApproved, PriceRequestSubmitted, CustomerOrderShipped, ProductRequiresAttachment, InventoryPointReached, LineItemExceedsInventory, PriceRequestResponse, CustomerOrderUpdated, OrderCanceled, PriceRequestCanceled, NewOrderReceived, ApprovalNotification, EmailLoginVerificationCode.
|
91
|
-
# @param email_template
|
92
|
-
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [nil]
|
94
|
-
describe 'update test' do
|
95
|
-
it "should work" do
|
96
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
end
|
@@ -1,167 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#OrderCloud
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
Contact: ordercloud@four51.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for OrderCloud::LineItemApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'LineItemApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = OrderCloud::LineItemApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of LineItemApi' do
|
41
|
-
it 'should create an instact of LineItemApi' do
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::LineItemApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for create
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param buyer_id ID of the buyer.
|
50
|
-
# @param order_id ID of the order.
|
51
|
-
# @param line_item
|
52
|
-
# @param [Hash] opts the optional parameters
|
53
|
-
# @return [LineItem]
|
54
|
-
describe 'create test' do
|
55
|
-
it "should work" do
|
56
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
# unit tests for delete
|
61
|
-
#
|
62
|
-
#
|
63
|
-
# @param buyer_id ID of the buyer.
|
64
|
-
# @param order_id ID of the order.
|
65
|
-
# @param line_item_id ID of the line item.
|
66
|
-
# @param [Hash] opts the optional parameters
|
67
|
-
# @return [nil]
|
68
|
-
describe 'delete test' do
|
69
|
-
it "should work" do
|
70
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
# unit tests for get
|
75
|
-
#
|
76
|
-
#
|
77
|
-
# @param buyer_id ID of the buyer.
|
78
|
-
# @param order_id ID of the order.
|
79
|
-
# @param line_item_id ID of the line item.
|
80
|
-
# @param [Hash] opts the optional parameters
|
81
|
-
# @return [LineItem]
|
82
|
-
describe 'get test' do
|
83
|
-
it "should work" do
|
84
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
|
-
# unit tests for list
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# @param buyer_id ID of the buyer.
|
92
|
-
# @param order_id ID of the order.
|
93
|
-
# @param [Hash] opts the optional parameters
|
94
|
-
# @option opts [String] :search Word or phrase to search for.
|
95
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
96
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
97
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
98
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
99
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
100
|
-
# @return [ListLineItem]
|
101
|
-
describe 'list test' do
|
102
|
-
it "should work" do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
# unit tests for patch
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# @param buyer_id ID of the buyer.
|
111
|
-
# @param order_id ID of the order.
|
112
|
-
# @param line_item_id ID of the line item.
|
113
|
-
# @param partial_line_item
|
114
|
-
# @param [Hash] opts the optional parameters
|
115
|
-
# @return [LineItem]
|
116
|
-
describe 'patch test' do
|
117
|
-
it "should work" do
|
118
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
|
-
# unit tests for patch_shipping_address
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# @param buyer_id ID of the buyer.
|
126
|
-
# @param order_id ID of the order.
|
127
|
-
# @param line_item_id ID of the line item.
|
128
|
-
# @param partial_address
|
129
|
-
# @param [Hash] opts the optional parameters
|
130
|
-
# @return [LineItem]
|
131
|
-
describe 'patch_shipping_address test' do
|
132
|
-
it "should work" do
|
133
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
# unit tests for set_shipping_address
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# @param buyer_id ID of the buyer.
|
141
|
-
# @param order_id ID of the order.
|
142
|
-
# @param line_item_id ID of the line item.
|
143
|
-
# @param address
|
144
|
-
# @param [Hash] opts the optional parameters
|
145
|
-
# @return [LineItem]
|
146
|
-
describe 'set_shipping_address test' do
|
147
|
-
it "should work" do
|
148
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
-
end
|
150
|
-
end
|
151
|
-
|
152
|
-
# unit tests for update
|
153
|
-
#
|
154
|
-
#
|
155
|
-
# @param buyer_id ID of the buyer.
|
156
|
-
# @param order_id ID of the order.
|
157
|
-
# @param line_item_id ID of the line item.
|
158
|
-
# @param line_item
|
159
|
-
# @param [Hash] opts the optional parameters
|
160
|
-
# @return [LineItem]
|
161
|
-
describe 'update test' do
|
162
|
-
it "should work" do
|
163
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
-
end
|
165
|
-
end
|
166
|
-
|
167
|
-
end
|
data/spec/api/me_api_spec.rb
DELETED
@@ -1,431 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#OrderCloud
|
3
|
-
|
4
|
-
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0
|
7
|
-
Contact: ordercloud@four51.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
11
|
-
you may not use this file except in compliance with the License.
|
12
|
-
You may obtain a copy of the License at
|
13
|
-
|
14
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
15
|
-
|
16
|
-
Unless required by applicable law or agreed to in writing, software
|
17
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
18
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
19
|
-
See the License for the specific language governing permissions and
|
20
|
-
limitations under the License.
|
21
|
-
|
22
|
-
=end
|
23
|
-
|
24
|
-
require 'spec_helper'
|
25
|
-
require 'json'
|
26
|
-
|
27
|
-
# Unit tests for OrderCloud::MeApi
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
29
|
-
# Please update as you see appropriate
|
30
|
-
describe 'MeApi' do
|
31
|
-
before do
|
32
|
-
# run before each test
|
33
|
-
@instance = OrderCloud::MeApi.new
|
34
|
-
end
|
35
|
-
|
36
|
-
after do
|
37
|
-
# run after each test
|
38
|
-
end
|
39
|
-
|
40
|
-
describe 'test an instance of MeApi' do
|
41
|
-
it 'should create an instact of MeApi' do
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::MeApi)
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for create_address
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param address
|
50
|
-
# @param [Hash] opts the optional parameters
|
51
|
-
# @return [BuyerAddress]
|
52
|
-
describe 'create_address test' do
|
53
|
-
it "should work" do
|
54
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
# unit tests for create_credit_card
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# @param credit_card
|
62
|
-
# @param [Hash] opts the optional parameters
|
63
|
-
# @return [BuyerCreditCard]
|
64
|
-
describe 'create_credit_card test' do
|
65
|
-
it "should work" do
|
66
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
# unit tests for delete_address
|
71
|
-
#
|
72
|
-
#
|
73
|
-
# @param address_id ID of the address.
|
74
|
-
# @param [Hash] opts the optional parameters
|
75
|
-
# @return [nil]
|
76
|
-
describe 'delete_address test' do
|
77
|
-
it "should work" do
|
78
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# unit tests for delete_credit_card
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# @param creditcard_id ID of the creditcard.
|
86
|
-
# @param [Hash] opts the optional parameters
|
87
|
-
# @return [nil]
|
88
|
-
describe 'delete_credit_card test' do
|
89
|
-
it "should work" do
|
90
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
# unit tests for get
|
95
|
-
#
|
96
|
-
#
|
97
|
-
# @param [Hash] opts the optional parameters
|
98
|
-
# @return [User]
|
99
|
-
describe 'get test' do
|
100
|
-
it "should work" do
|
101
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
|
-
# unit tests for get_address
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# @param address_id ID of the address.
|
109
|
-
# @param [Hash] opts the optional parameters
|
110
|
-
# @return [BuyerAddress]
|
111
|
-
describe 'get_address test' do
|
112
|
-
it "should work" do
|
113
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
-
end
|
115
|
-
end
|
116
|
-
|
117
|
-
# unit tests for get_credit_card
|
118
|
-
#
|
119
|
-
#
|
120
|
-
# @param creditcard_id ID of the creditcard.
|
121
|
-
# @param [Hash] opts the optional parameters
|
122
|
-
# @return [BuyerCreditCard]
|
123
|
-
describe 'get_credit_card test' do
|
124
|
-
it "should work" do
|
125
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
126
|
-
end
|
127
|
-
end
|
128
|
-
|
129
|
-
# unit tests for get_order
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# @param order_id ID of the order.
|
133
|
-
# @param [Hash] opts the optional parameters
|
134
|
-
# @return [Order]
|
135
|
-
describe 'get_order test' do
|
136
|
-
it "should work" do
|
137
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
-
end
|
139
|
-
end
|
140
|
-
|
141
|
-
# unit tests for get_product
|
142
|
-
#
|
143
|
-
#
|
144
|
-
# @param product_id ID of the product.
|
145
|
-
# @param [Hash] opts the optional parameters
|
146
|
-
# @return [BuyerProduct]
|
147
|
-
describe 'get_product test' do
|
148
|
-
it "should work" do
|
149
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
# unit tests for get_promotion
|
154
|
-
#
|
155
|
-
#
|
156
|
-
# @param promotion_id ID of the promotion.
|
157
|
-
# @param [Hash] opts the optional parameters
|
158
|
-
# @return [Promotion]
|
159
|
-
describe 'get_promotion test' do
|
160
|
-
it "should work" do
|
161
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
162
|
-
end
|
163
|
-
end
|
164
|
-
|
165
|
-
# unit tests for get_spec
|
166
|
-
#
|
167
|
-
#
|
168
|
-
# @param product_id ID of the product.
|
169
|
-
# @param spec_id ID of the spec.
|
170
|
-
# @param [Hash] opts the optional parameters
|
171
|
-
# @return [BuyerSpec]
|
172
|
-
describe 'get_spec test' do
|
173
|
-
it "should work" do
|
174
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
-
end
|
176
|
-
end
|
177
|
-
|
178
|
-
# unit tests for list_addresses
|
179
|
-
#
|
180
|
-
#
|
181
|
-
# @param [Hash] opts the optional parameters
|
182
|
-
# @option opts [String] :search Word or phrase to search for.
|
183
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
184
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
185
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
186
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
187
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
188
|
-
# @return [ListBuyerAddress]
|
189
|
-
describe 'list_addresses test' do
|
190
|
-
it "should work" do
|
191
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
192
|
-
end
|
193
|
-
end
|
194
|
-
|
195
|
-
# unit tests for list_categories
|
196
|
-
#
|
197
|
-
#
|
198
|
-
# @param [Hash] opts the optional parameters
|
199
|
-
# @option opts [String] :depth Depth of the category.
|
200
|
-
# @option opts [String] :search Word or phrase to search for.
|
201
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
202
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
203
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
204
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
205
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
206
|
-
# @return [ListCategory]
|
207
|
-
describe 'list_categories test' do
|
208
|
-
it "should work" do
|
209
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
# unit tests for list_cost_centers
|
214
|
-
#
|
215
|
-
#
|
216
|
-
# @param [Hash] opts the optional parameters
|
217
|
-
# @option opts [String] :search Word or phrase to search for.
|
218
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
219
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
220
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
221
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
222
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
223
|
-
# @return [ListCostCenter]
|
224
|
-
describe 'list_cost_centers test' do
|
225
|
-
it "should work" do
|
226
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
227
|
-
end
|
228
|
-
end
|
229
|
-
|
230
|
-
# unit tests for list_credit_cards
|
231
|
-
#
|
232
|
-
#
|
233
|
-
# @param [Hash] opts the optional parameters
|
234
|
-
# @option opts [String] :search Word or phrase to search for.
|
235
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
236
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
237
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
238
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
239
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
240
|
-
# @return [ListBuyerCreditCard]
|
241
|
-
describe 'list_credit_cards test' do
|
242
|
-
it "should work" do
|
243
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
# unit tests for list_incoming_orders
|
248
|
-
#
|
249
|
-
#
|
250
|
-
# @param [Hash] opts the optional parameters
|
251
|
-
# @option opts [String] :from Lower bound of date range that the order was created (if outgoing) or submitted (if incoming).
|
252
|
-
# @option opts [String] :to Upper bound of date range that the order was created (if outgoing) or submitted (if incoming).
|
253
|
-
# @option opts [String] :search Word or phrase to search for.
|
254
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
255
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
256
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
257
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
258
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
259
|
-
# @return [ListOrder]
|
260
|
-
describe 'list_incoming_orders test' do
|
261
|
-
it "should work" do
|
262
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
263
|
-
end
|
264
|
-
end
|
265
|
-
|
266
|
-
# unit tests for list_outgoing_orders
|
267
|
-
#
|
268
|
-
#
|
269
|
-
# @param [Hash] opts the optional parameters
|
270
|
-
# @option opts [String] :from Lower bound of date range that the order was created (if outgoing) or submitted (if incoming).
|
271
|
-
# @option opts [String] :to Upper bound of date range that the order was created (if outgoing) or submitted (if incoming).
|
272
|
-
# @option opts [String] :search Word or phrase to search for.
|
273
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
274
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
275
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
276
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
277
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
278
|
-
# @return [ListOrder]
|
279
|
-
describe 'list_outgoing_orders test' do
|
280
|
-
it "should work" do
|
281
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
282
|
-
end
|
283
|
-
end
|
284
|
-
|
285
|
-
# unit tests for list_products
|
286
|
-
#
|
287
|
-
#
|
288
|
-
# @param [Hash] opts the optional parameters
|
289
|
-
# @option opts [String] :category_id ID of the category.
|
290
|
-
# @option opts [String] :search Word or phrase to search for.
|
291
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
292
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
293
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
294
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
295
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
296
|
-
# @return [ListBuyerProduct]
|
297
|
-
describe 'list_products test' do
|
298
|
-
it "should work" do
|
299
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
300
|
-
end
|
301
|
-
end
|
302
|
-
|
303
|
-
# unit tests for list_promotions
|
304
|
-
#
|
305
|
-
#
|
306
|
-
# @param [Hash] opts the optional parameters
|
307
|
-
# @option opts [String] :search Word or phrase to search for.
|
308
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
309
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
310
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
311
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
312
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
313
|
-
# @return [ListPromotion]
|
314
|
-
describe 'list_promotions test' do
|
315
|
-
it "should work" do
|
316
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
317
|
-
end
|
318
|
-
end
|
319
|
-
|
320
|
-
# unit tests for list_specs
|
321
|
-
#
|
322
|
-
#
|
323
|
-
# @param product_id ID of the product.
|
324
|
-
# @param [Hash] opts the optional parameters
|
325
|
-
# @option opts [String] :search Word or phrase to search for.
|
326
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
327
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
328
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
329
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
330
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
331
|
-
# @return [ListBuyerSpec]
|
332
|
-
describe 'list_specs test' do
|
333
|
-
it "should work" do
|
334
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
335
|
-
end
|
336
|
-
end
|
337
|
-
|
338
|
-
# unit tests for list_user_groups
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [String] :search Word or phrase to search for.
|
343
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
344
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
345
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
346
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
347
|
-
# @option opts [Hash<String, String>] :filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
|
348
|
-
# @return [ListUserGroup]
|
349
|
-
describe 'list_user_groups test' do
|
350
|
-
it "should work" do
|
351
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
352
|
-
end
|
353
|
-
end
|
354
|
-
|
355
|
-
# unit tests for patch
|
356
|
-
#
|
357
|
-
#
|
358
|
-
# @param user
|
359
|
-
# @param [Hash] opts the optional parameters
|
360
|
-
# @return [User]
|
361
|
-
describe 'patch test' do
|
362
|
-
it "should work" do
|
363
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
364
|
-
end
|
365
|
-
end
|
366
|
-
|
367
|
-
# unit tests for patch_address
|
368
|
-
#
|
369
|
-
#
|
370
|
-
# @param address_id ID of the address.
|
371
|
-
# @param address
|
372
|
-
# @param [Hash] opts the optional parameters
|
373
|
-
# @return [nil]
|
374
|
-
describe 'patch_address test' do
|
375
|
-
it "should work" do
|
376
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
377
|
-
end
|
378
|
-
end
|
379
|
-
|
380
|
-
# unit tests for patch_credit_card
|
381
|
-
#
|
382
|
-
#
|
383
|
-
# @param creditcard_id ID of the creditcard.
|
384
|
-
# @param credit_card
|
385
|
-
# @param [Hash] opts the optional parameters
|
386
|
-
# @return [nil]
|
387
|
-
describe 'patch_credit_card test' do
|
388
|
-
it "should work" do
|
389
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
390
|
-
end
|
391
|
-
end
|
392
|
-
|
393
|
-
# unit tests for update
|
394
|
-
#
|
395
|
-
#
|
396
|
-
# @param user
|
397
|
-
# @param [Hash] opts the optional parameters
|
398
|
-
# @return [User]
|
399
|
-
describe 'update test' do
|
400
|
-
it "should work" do
|
401
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
402
|
-
end
|
403
|
-
end
|
404
|
-
|
405
|
-
# unit tests for update_address
|
406
|
-
#
|
407
|
-
#
|
408
|
-
# @param address_id ID of the address.
|
409
|
-
# @param address
|
410
|
-
# @param [Hash] opts the optional parameters
|
411
|
-
# @return [BuyerAddress]
|
412
|
-
describe 'update_address test' do
|
413
|
-
it "should work" do
|
414
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
415
|
-
end
|
416
|
-
end
|
417
|
-
|
418
|
-
# unit tests for update_credit_card
|
419
|
-
#
|
420
|
-
#
|
421
|
-
# @param creditcard_id ID of the creditcard.
|
422
|
-
# @param credit_card
|
423
|
-
# @param [Hash] opts the optional parameters
|
424
|
-
# @return [BuyerCreditCard]
|
425
|
-
describe 'update_credit_card test' do
|
426
|
-
it "should work" do
|
427
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
428
|
-
end
|
429
|
-
end
|
430
|
-
|
431
|
-
end
|