order_cloud 0.0.6 → 1.0.43
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.
- 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,71 +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::PasswordResetApi
|
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
29
|
-
# Please update as you see appropriate
|
|
30
|
-
describe 'PasswordResetApi' do
|
|
31
|
-
before do
|
|
32
|
-
# run before each test
|
|
33
|
-
@instance = OrderCloud::PasswordResetApi.new
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
after do
|
|
37
|
-
# run after each test
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test an instance of PasswordResetApi' do
|
|
41
|
-
it 'should create an instact of PasswordResetApi' do
|
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::PasswordResetApi)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# unit tests for reset_password
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
# @param verification_code Verification code of the forgotten password.
|
|
50
|
-
# @param password_reset
|
|
51
|
-
# @param [Hash] opts the optional parameters
|
|
52
|
-
# @return [nil]
|
|
53
|
-
describe 'reset_password 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 send_verification_code
|
|
60
|
-
#
|
|
61
|
-
#
|
|
62
|
-
# @param password_reset_request
|
|
63
|
-
# @param [Hash] opts the optional parameters
|
|
64
|
-
# @return [nil]
|
|
65
|
-
describe 'send_verification_code test' do
|
|
66
|
-
it "should work" do
|
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
-
end
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
end
|
|
@@ -1,199 +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::PaymentApi
|
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
29
|
-
# Please update as you see appropriate
|
|
30
|
-
describe 'PaymentApi' do
|
|
31
|
-
before do
|
|
32
|
-
# run before each test
|
|
33
|
-
@instance = OrderCloud::PaymentApi.new
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
after do
|
|
37
|
-
# run after each test
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test an instance of PaymentApi' do
|
|
41
|
-
it 'should create an instact of PaymentApi' do
|
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::PaymentApi)
|
|
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 payment
|
|
52
|
-
# @param [Hash] opts the optional parameters
|
|
53
|
-
# @return [Payment]
|
|
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 create_transaction
|
|
61
|
-
#
|
|
62
|
-
#
|
|
63
|
-
# @param buyer_id ID of the buyer.
|
|
64
|
-
# @param order_id ID of the order.
|
|
65
|
-
# @param payment_id ID of the payment.
|
|
66
|
-
# @param transaction
|
|
67
|
-
# @param [Hash] opts the optional parameters
|
|
68
|
-
# @return [Payment]
|
|
69
|
-
describe 'create_transaction test' do
|
|
70
|
-
it "should work" do
|
|
71
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# unit tests for delete
|
|
76
|
-
#
|
|
77
|
-
#
|
|
78
|
-
# @param buyer_id ID of the buyer.
|
|
79
|
-
# @param order_id ID of the order.
|
|
80
|
-
# @param payment_id ID of the payment.
|
|
81
|
-
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @return [nil]
|
|
83
|
-
describe 'delete test' do
|
|
84
|
-
it "should work" do
|
|
85
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
-
end
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
# unit tests for delete_transaction
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
# @param buyer_id ID of the buyer.
|
|
93
|
-
# @param order_id ID of the order.
|
|
94
|
-
# @param payment_id ID of the payment.
|
|
95
|
-
# @param transaction_id ID of the transaction.
|
|
96
|
-
# @param [Hash] opts the optional parameters
|
|
97
|
-
# @return [nil]
|
|
98
|
-
describe 'delete_transaction test' do
|
|
99
|
-
it "should work" do
|
|
100
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
101
|
-
end
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
# unit tests for get
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
# @param buyer_id ID of the buyer.
|
|
108
|
-
# @param order_id ID of the order.
|
|
109
|
-
# @param payment_id ID of the payment.
|
|
110
|
-
# @param [Hash] opts the optional parameters
|
|
111
|
-
# @return [Payment]
|
|
112
|
-
describe 'get 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
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
# @param buyer_id ID of the buyer.
|
|
122
|
-
# @param order_id ID of the order.
|
|
123
|
-
# @param [Hash] opts the optional parameters
|
|
124
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
125
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
126
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
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
|
-
# @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.???'
|
|
130
|
-
# @return [ListPayment]
|
|
131
|
-
describe 'list 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 patch
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
# @param buyer_id ID of the buyer.
|
|
141
|
-
# @param order_id ID of the order.
|
|
142
|
-
# @param payment_id ID of the payment.
|
|
143
|
-
# @param partial_payment
|
|
144
|
-
# @param [Hash] opts the optional parameters
|
|
145
|
-
# @return [Payment]
|
|
146
|
-
describe 'patch 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 patch_transaction
|
|
153
|
-
#
|
|
154
|
-
#
|
|
155
|
-
# @param buyer_id ID of the buyer.
|
|
156
|
-
# @param order_id ID of the order.
|
|
157
|
-
# @param payment_id ID of the payment.
|
|
158
|
-
# @param transaction_id ID of the transaction.
|
|
159
|
-
# @param partial_transaction
|
|
160
|
-
# @param [Hash] opts the optional parameters
|
|
161
|
-
# @return [Payment]
|
|
162
|
-
describe 'patch_transaction test' do
|
|
163
|
-
it "should work" do
|
|
164
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
# unit tests for update
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
# @param buyer_id ID of the buyer.
|
|
172
|
-
# @param order_id ID of the order.
|
|
173
|
-
# @param payment_id ID of the payment.
|
|
174
|
-
# @param payment
|
|
175
|
-
# @param [Hash] opts the optional parameters
|
|
176
|
-
# @return [Payment]
|
|
177
|
-
describe 'update test' do
|
|
178
|
-
it "should work" do
|
|
179
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
180
|
-
end
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
# unit tests for update_transaction
|
|
184
|
-
#
|
|
185
|
-
#
|
|
186
|
-
# @param buyer_id ID of the buyer.
|
|
187
|
-
# @param order_id ID of the order.
|
|
188
|
-
# @param payment_id ID of the payment.
|
|
189
|
-
# @param transaction_id ID of the transaction.
|
|
190
|
-
# @param transaction
|
|
191
|
-
# @param [Hash] opts the optional parameters
|
|
192
|
-
# @return [Payment]
|
|
193
|
-
describe 'update_transaction test' do
|
|
194
|
-
it "should work" do
|
|
195
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
196
|
-
end
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
end
|
|
@@ -1,151 +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::PriceScheduleApi
|
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
29
|
-
# Please update as you see appropriate
|
|
30
|
-
describe 'PriceScheduleApi' do
|
|
31
|
-
before do
|
|
32
|
-
# run before each test
|
|
33
|
-
@instance = OrderCloud::PriceScheduleApi.new
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
after do
|
|
37
|
-
# run after each test
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test an instance of PriceScheduleApi' do
|
|
41
|
-
it 'should create an instact of PriceScheduleApi' do
|
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::PriceScheduleApi)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# unit tests for create
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
# @param price_schedule
|
|
50
|
-
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [PriceSchedule]
|
|
52
|
-
describe 'create 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 delete
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
# @param price_schedule_id ID of the price schedule.
|
|
62
|
-
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @return [nil]
|
|
64
|
-
describe 'delete 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_price_break
|
|
71
|
-
#
|
|
72
|
-
#
|
|
73
|
-
# @param price_schedule_id ID of the price schedule.
|
|
74
|
-
# @param quantity Quantity of the price schedule.
|
|
75
|
-
# @param [Hash] opts the optional parameters
|
|
76
|
-
# @return [nil]
|
|
77
|
-
describe 'delete_price_break test' do
|
|
78
|
-
it "should work" do
|
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
-
end
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
# unit tests for get
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
# @param price_schedule_id ID of the price schedule.
|
|
87
|
-
# @param [Hash] opts the optional parameters
|
|
88
|
-
# @return [PriceSchedule]
|
|
89
|
-
describe 'get test' do
|
|
90
|
-
it "should work" do
|
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
# unit tests for list
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
100
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
101
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
102
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
103
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
104
|
-
# @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.???'
|
|
105
|
-
# @return [ListPriceSchedule]
|
|
106
|
-
describe 'list test' do
|
|
107
|
-
it "should work" do
|
|
108
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
109
|
-
end
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
# unit tests for patch
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
# @param price_schedule_id ID of the price schedule.
|
|
116
|
-
# @param price_schedule
|
|
117
|
-
# @param [Hash] opts the optional parameters
|
|
118
|
-
# @return [PriceSchedule]
|
|
119
|
-
describe 'patch test' do
|
|
120
|
-
it "should work" do
|
|
121
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
# unit tests for save_price_break
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
# @param price_schedule_id ID of the price schedule.
|
|
129
|
-
# @param price_break
|
|
130
|
-
# @param [Hash] opts the optional parameters
|
|
131
|
-
# @return [PriceSchedule]
|
|
132
|
-
describe 'save_price_break test' do
|
|
133
|
-
it "should work" do
|
|
134
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
# unit tests for update
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
# @param price_schedule_id ID of the price schedule.
|
|
142
|
-
# @param price_schedule
|
|
143
|
-
# @param [Hash] opts the optional parameters
|
|
144
|
-
# @return [PriceSchedule]
|
|
145
|
-
describe 'update test' do
|
|
146
|
-
it "should work" do
|
|
147
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
148
|
-
end
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
end
|
|
@@ -1,330 +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::ProductApi
|
|
28
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
29
|
-
# Please update as you see appropriate
|
|
30
|
-
describe 'ProductApi' do
|
|
31
|
-
before do
|
|
32
|
-
# run before each test
|
|
33
|
-
@instance = OrderCloud::ProductApi.new
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
after do
|
|
37
|
-
# run after each test
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
describe 'test an instance of ProductApi' do
|
|
41
|
-
it 'should create an instact of ProductApi' do
|
|
42
|
-
expect(@instance).to be_instance_of(OrderCloud::ProductApi)
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
# unit tests for create
|
|
47
|
-
#
|
|
48
|
-
#
|
|
49
|
-
# @param product
|
|
50
|
-
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [Product]
|
|
52
|
-
describe 'create 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 delete
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
# @param product_id ID of the product.
|
|
62
|
-
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @return [nil]
|
|
64
|
-
describe 'delete 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_assignment
|
|
71
|
-
#
|
|
72
|
-
#
|
|
73
|
-
# @param buyer_id ID of the buyer.
|
|
74
|
-
# @param product_id ID of the product.
|
|
75
|
-
# @param [Hash] opts the optional parameters
|
|
76
|
-
# @option opts [String] :user_id ID of the user.
|
|
77
|
-
# @option opts [String] :user_group_id ID of the user group.
|
|
78
|
-
# @return [nil]
|
|
79
|
-
describe 'delete_assignment test' do
|
|
80
|
-
it "should work" do
|
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
# unit tests for generate_variants
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
# @param product_id ID of the product.
|
|
89
|
-
# @param [Hash] opts the optional parameters
|
|
90
|
-
# @option opts [BOOLEAN] :overwrite_existing Overwrite existing of the product.
|
|
91
|
-
# @return [Product]
|
|
92
|
-
describe 'generate_variants test' do
|
|
93
|
-
it "should work" do
|
|
94
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
95
|
-
end
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
# unit tests for get
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
# @param product_id ID of the product.
|
|
102
|
-
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @return [Product]
|
|
104
|
-
describe 'get test' do
|
|
105
|
-
it "should work" do
|
|
106
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
# unit tests for get_inventory
|
|
111
|
-
#
|
|
112
|
-
#
|
|
113
|
-
# @param product_id ID of the product.
|
|
114
|
-
# @param [Hash] opts the optional parameters
|
|
115
|
-
# @return [Inventory]
|
|
116
|
-
describe 'get_inventory 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 get_variant
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
# @param product_id ID of the product.
|
|
126
|
-
# @param variant_id ID of the variant.
|
|
127
|
-
# @param [Hash] opts the optional parameters
|
|
128
|
-
# @return [Variant]
|
|
129
|
-
describe 'get_variant test' do
|
|
130
|
-
it "should work" do
|
|
131
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
132
|
-
end
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
# unit tests for get_variant_inventory
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
# @param product_id ID of the product.
|
|
139
|
-
# @param variant_id ID of the variant.
|
|
140
|
-
# @param [Hash] opts the optional parameters
|
|
141
|
-
# @return [Inventory]
|
|
142
|
-
describe 'get_variant_inventory test' do
|
|
143
|
-
it "should work" do
|
|
144
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
|
-
end
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
# unit tests for list
|
|
149
|
-
#
|
|
150
|
-
#
|
|
151
|
-
# @param [Hash] opts the optional parameters
|
|
152
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
153
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
154
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
155
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
156
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
157
|
-
# @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.???'
|
|
158
|
-
# @return [ListProduct]
|
|
159
|
-
describe 'list 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 list_assignments
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @option opts [String] :product_id ID of the product.
|
|
170
|
-
# @option opts [String] :buyer_id ID of the buyer.
|
|
171
|
-
# @option opts [String] :user_id ID of the user.
|
|
172
|
-
# @option opts [String] :user_group_id ID of the user group.
|
|
173
|
-
# @option opts [String] :level Level of the product.
|
|
174
|
-
# @option opts [String] :price_schedule_id ID of the price schedule.
|
|
175
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
176
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
177
|
-
# @return [ListProductAssignment]
|
|
178
|
-
describe 'list_assignments test' do
|
|
179
|
-
it "should work" do
|
|
180
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
# unit tests for list_inventory
|
|
185
|
-
#
|
|
186
|
-
#
|
|
187
|
-
# @param [Hash] opts the optional parameters
|
|
188
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
189
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
190
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
191
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
192
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
193
|
-
# @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.???'
|
|
194
|
-
# @return [ListInventory]
|
|
195
|
-
describe 'list_inventory test' do
|
|
196
|
-
it "should work" do
|
|
197
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
198
|
-
end
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
# unit tests for list_variant_inventory
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
# @param product_id ID of the product.
|
|
205
|
-
# @param [Hash] opts the optional parameters
|
|
206
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
207
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
208
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
209
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
210
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
211
|
-
# @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.???'
|
|
212
|
-
# @return [ListInventory]
|
|
213
|
-
describe 'list_variant_inventory test' do
|
|
214
|
-
it "should work" do
|
|
215
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
216
|
-
end
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
# unit tests for list_variants
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
# @param product_id ID of the product.
|
|
223
|
-
# @param [Hash] opts the optional parameters
|
|
224
|
-
# @option opts [String] :search Word or phrase to search for.
|
|
225
|
-
# @option opts [String] :search_on Comma-delimited list of fields to search on.
|
|
226
|
-
# @option opts [String] :sort_by Comma-delimited list of fields to sort by.
|
|
227
|
-
# @option opts [Integer] :page Page of results to return. Default: 1
|
|
228
|
-
# @option opts [Integer] :page_size Number of results to return per page. Default: 20, max: 100.
|
|
229
|
-
# @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.???'
|
|
230
|
-
# @return [ListVariant]
|
|
231
|
-
describe 'list_variants test' do
|
|
232
|
-
it "should work" do
|
|
233
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
234
|
-
end
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
# unit tests for patch
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
# @param product_id ID of the product.
|
|
241
|
-
# @param product
|
|
242
|
-
# @param [Hash] opts the optional parameters
|
|
243
|
-
# @return [Product]
|
|
244
|
-
describe 'patch test' do
|
|
245
|
-
it "should work" do
|
|
246
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
247
|
-
end
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
# unit tests for patch_variant
|
|
251
|
-
#
|
|
252
|
-
#
|
|
253
|
-
# @param product_id ID of the product.
|
|
254
|
-
# @param variant_id ID of the variant.
|
|
255
|
-
# @param variant
|
|
256
|
-
# @param [Hash] opts the optional parameters
|
|
257
|
-
# @return [Variant]
|
|
258
|
-
describe 'patch_variant test' do
|
|
259
|
-
it "should work" do
|
|
260
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
# unit tests for save_assignment
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
# @param product_assignment
|
|
268
|
-
# @param [Hash] opts the optional parameters
|
|
269
|
-
# @return [nil]
|
|
270
|
-
describe 'save_assignment test' do
|
|
271
|
-
it "should work" do
|
|
272
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
273
|
-
end
|
|
274
|
-
end
|
|
275
|
-
|
|
276
|
-
# unit tests for update
|
|
277
|
-
#
|
|
278
|
-
#
|
|
279
|
-
# @param product_id ID of the product.
|
|
280
|
-
# @param product
|
|
281
|
-
# @param [Hash] opts the optional parameters
|
|
282
|
-
# @return [Product]
|
|
283
|
-
describe 'update test' do
|
|
284
|
-
it "should work" do
|
|
285
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
286
|
-
end
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
# unit tests for update_inventory
|
|
290
|
-
#
|
|
291
|
-
#
|
|
292
|
-
# @param product_id ID of the product.
|
|
293
|
-
# @param inventory Inventory of the product.
|
|
294
|
-
# @param [Hash] opts the optional parameters
|
|
295
|
-
# @return [Inventory]
|
|
296
|
-
describe 'update_inventory test' do
|
|
297
|
-
it "should work" do
|
|
298
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
299
|
-
end
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
# unit tests for update_variant
|
|
303
|
-
#
|
|
304
|
-
#
|
|
305
|
-
# @param product_id ID of the product.
|
|
306
|
-
# @param variant_id ID of the variant.
|
|
307
|
-
# @param variant
|
|
308
|
-
# @param [Hash] opts the optional parameters
|
|
309
|
-
# @return [Variant]
|
|
310
|
-
describe 'update_variant test' do
|
|
311
|
-
it "should work" do
|
|
312
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
313
|
-
end
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
# unit tests for update_variant_inventory
|
|
317
|
-
#
|
|
318
|
-
#
|
|
319
|
-
# @param product_id ID of the product.
|
|
320
|
-
# @param variant_id ID of the variant.
|
|
321
|
-
# @param inventory Inventory of the product.
|
|
322
|
-
# @param [Hash] opts the optional parameters
|
|
323
|
-
# @return [Inventory]
|
|
324
|
-
describe 'update_variant_inventory test' do
|
|
325
|
-
it "should work" do
|
|
326
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
327
|
-
end
|
|
328
|
-
end
|
|
329
|
-
|
|
330
|
-
end
|