square_connect 2.0.2.69 → 2.1.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +133 -21
- data/docs/ChargeRequest.md +1 -1
- data/docs/CheckoutApi.md +8 -6
- data/docs/CustomersApi.md +389 -0
- data/docs/Device.md +11 -0
- data/docs/LocationsApi.md +55 -0
- data/docs/TransactionsApi.md +417 -0
- data/docs/V1AdjustInventoryRequest.md +12 -0
- data/docs/V1BankAccount.md +17 -0
- data/docs/V1CashDrawerEvent.md +15 -0
- data/docs/V1CashDrawerShift.md +28 -0
- data/docs/V1Category.md +11 -0
- data/docs/V1CreateRefundRequest.md +14 -0
- data/docs/V1Discount.md +16 -0
- data/docs/V1Employee.md +21 -0
- data/docs/V1EmployeeRole.md +15 -0
- data/docs/V1EmployeesApi.md +915 -0
- data/docs/V1Fee.md +18 -0
- data/docs/V1InventoryEntry.md +11 -0
- data/docs/V1Item.md +23 -0
- data/docs/V1ItemImage.md +11 -0
- data/docs/V1ItemsApi.md +2297 -0
- data/docs/V1LocationApi.md +102 -0
- data/docs/V1LocationsApi.md +102 -0
- data/docs/V1Merchant.md +26 -0
- data/docs/V1MerchantLocationDetails.md +12 -0
- data/docs/V1ModifierList.md +13 -0
- data/docs/V1ModifierOption.md +15 -0
- data/docs/V1Money.md +13 -0
- data/docs/V1Order.md +34 -0
- data/docs/V1OrderHistoryEntry.md +11 -0
- data/docs/V1Page.md +13 -0
- data/docs/V1PageCell.md +15 -0
- data/docs/V1Payment.md +33 -0
- data/docs/V1PaymentDiscount.md +12 -0
- data/docs/V1PaymentItemDetail.md +13 -0
- data/docs/V1PaymentItemization.md +23 -0
- data/docs/V1PaymentModifier.md +12 -0
- data/docs/V1PaymentTax.md +15 -0
- data/docs/V1PhoneNumber.md +13 -0
- data/docs/V1Refund.md +16 -0
- data/docs/V1Settlement.md +15 -0
- data/docs/V1SettlementEntry.md +13 -0
- data/docs/V1Tender.md +22 -0
- data/docs/V1Timecard.md +20 -0
- data/docs/V1TimecardEvent.md +14 -0
- data/docs/V1TransactionsApi.md +650 -0
- data/docs/V1UpdateModifierListRequest.md +11 -0
- data/docs/V1UpdateOrderRequest.md +14 -0
- data/docs/V1Variation.md +20 -0
- data/lib/.DS_Store +0 -0
- data/lib/square_connect.rb +46 -5
- data/lib/square_connect/.DS_Store +0 -0
- data/lib/square_connect/api/checkout_api.rb +4 -9
- data/lib/square_connect/api/{customer_api.rb → customers_api.rb} +150 -61
- data/lib/square_connect/api/{location_api.rb → locations_api.rb} +7 -12
- data/lib/square_connect/api/{transaction_api.rb → transactions_api.rb} +169 -65
- data/lib/square_connect/api/v1_employees_api.rb +974 -0
- data/lib/square_connect/api/v1_items_api.rb +2365 -0
- data/lib/square_connect/api/v1_locations_api.rb +118 -0
- data/lib/square_connect/api/v1_transactions_api.rb +707 -0
- data/lib/square_connect/api_client.rb +1 -1
- data/lib/square_connect/models/charge_request.rb +1 -1
- data/lib/square_connect/models/device.rb +196 -0
- data/lib/square_connect/models/v1_adjust_inventory_request.rb +206 -0
- data/lib/square_connect/models/v1_bank_account.rb +289 -0
- data/lib/square_connect/models/v1_cash_drawer_event.rb +269 -0
- data/lib/square_connect/models/v1_cash_drawer_shift.rb +403 -0
- data/lib/square_connect/models/v1_category.rb +196 -0
- data/lib/square_connect/models/v1_create_refund_request.rb +274 -0
- data/lib/square_connect/models/v1_discount.rb +291 -0
- data/lib/square_connect/models/v1_employee.rb +323 -0
- data/lib/square_connect/models/v1_employee_role.rb +269 -0
- data/lib/square_connect/models/v1_fee.rb +335 -0
- data/lib/square_connect/models/v1_inventory_entry.rb +196 -0
- data/lib/square_connect/models/v1_item.rb +379 -0
- data/lib/square_connect/models/v1_item_image.rb +196 -0
- data/lib/square_connect/models/v1_merchant.rb +372 -0
- data/lib/square_connect/models/v1_merchant_location_details.rb +186 -0
- data/lib/square_connect/models/v1_modifier_list.rb +251 -0
- data/lib/square_connect/models/v1_modifier_option.rb +236 -0
- data/lib/square_connect/models/v1_money.rb +229 -0
- data/lib/square_connect/models/v1_order.rb +463 -0
- data/lib/square_connect/models/v1_order_history_entry.rb +229 -0
- data/lib/square_connect/models/v1_page.rb +218 -0
- data/lib/square_connect/models/v1_page_cell.rb +261 -0
- data/lib/square_connect/models/v1_payment.rb +423 -0
- data/lib/square_connect/models/v1_payment_discount.rb +206 -0
- data/lib/square_connect/models/v1_payment_item_detail.rb +216 -0
- data/lib/square_connect/models/v1_payment_itemization.rb +355 -0
- data/lib/square_connect/models/v1_payment_modifier.rb +206 -0
- data/lib/square_connect/models/v1_payment_tax.rb +271 -0
- data/lib/square_connect/models/v1_phone_number.rb +206 -0
- data/lib/square_connect/models/v1_refund.rb +279 -0
- data/lib/square_connect/models/v1_settlement.rb +271 -0
- data/lib/square_connect/models/v1_settlement_entry.rb +249 -0
- data/lib/square_connect/models/v1_tender.rb +363 -0
- data/lib/square_connect/models/v1_timecard.rb +271 -0
- data/lib/square_connect/models/v1_timecard_event.rb +259 -0
- data/lib/square_connect/models/v1_update_modifier_list_request.rb +229 -0
- data/lib/square_connect/models/v1_update_order_request.rb +264 -0
- data/lib/square_connect/models/v1_variation.rb +331 -0
- data/lib/square_connect/version.rb +1 -1
- data/spec/.DS_Store +0 -0
- data/spec/api/checkout_api_spec.rb +4 -12
- data/spec/api/{customer_api_spec.rb → customers_api_spec.rb} +39 -41
- data/spec/api/{location_api_spec.rb → locations_api_spec.rb} +9 -15
- data/spec/api/{transaction_api_spec.rb → transactions_api_spec.rb} +43 -41
- data/spec/api/v1_employees_api_spec.rb +250 -0
- data/spec/api/v1_items_api_spec.rb +568 -0
- data/spec/api/v1_locations_api_spec.rb +54 -0
- data/spec/api/v1_transactions_api_spec.rb +186 -0
- data/spec/models/address_spec.rb +22 -81
- data/spec/models/capture_transaction_request_spec.rb +3 -6
- data/spec/models/capture_transaction_response_spec.rb +4 -11
- data/spec/models/card_brand_spec.rb +3 -6
- data/spec/models/card_spec.rb +14 -41
- data/spec/models/charge_request_spec.rb +14 -61
- data/spec/models/charge_response_spec.rb +5 -16
- data/spec/models/checkout_spec.rb +12 -51
- data/spec/models/country_spec.rb +3 -6
- data/spec/models/create_checkout_request_spec.rb +10 -41
- data/spec/models/create_checkout_response_spec.rb +5 -16
- data/spec/models/create_customer_card_request_spec.rb +6 -21
- data/spec/models/create_customer_card_response_spec.rb +5 -16
- data/spec/models/create_customer_request_spec.rb +12 -51
- data/spec/models/create_customer_response_spec.rb +5 -16
- data/spec/models/create_order_request_line_item_spec.rb +6 -21
- data/spec/models/create_order_request_order_spec.rb +5 -16
- data/spec/models/create_order_request_spec.rb +5 -16
- data/spec/models/create_refund_request_spec.rb +7 -26
- data/spec/models/create_refund_response_spec.rb +5 -16
- data/spec/models/currency_spec.rb +3 -6
- data/spec/models/customer_group_info_spec.rb +5 -16
- data/spec/models/customer_preferences_spec.rb +4 -11
- data/spec/models/customer_spec.rb +18 -81
- data/spec/models/delete_customer_card_request_spec.rb +3 -6
- data/spec/models/delete_customer_card_response_spec.rb +4 -11
- data/spec/models/delete_customer_request_spec.rb +3 -6
- data/spec/models/delete_customer_response_spec.rb +4 -11
- data/spec/models/device_spec.rb +45 -0
- data/spec/models/error_category_spec.rb +3 -6
- data/spec/models/error_code_spec.rb +3 -6
- data/spec/models/error_spec.rb +15 -26
- data/spec/models/list_customers_request_spec.rb +4 -11
- data/spec/models/list_customers_response_spec.rb +6 -21
- data/spec/models/list_locations_request_spec.rb +3 -6
- data/spec/models/list_locations_response_spec.rb +5 -16
- data/spec/models/list_refunds_request_spec.rb +11 -26
- data/spec/models/list_refunds_response_spec.rb +6 -21
- data/spec/models/list_transactions_request_spec.rb +11 -26
- data/spec/models/list_transactions_response_spec.rb +6 -21
- data/spec/models/location_capability_spec.rb +3 -6
- data/spec/models/location_spec.rb +12 -31
- data/spec/models/money_spec.rb +9 -16
- data/spec/models/order_line_item_spec.rb +8 -31
- data/spec/models/order_spec.rb +8 -31
- data/spec/models/refund_spec.rb +16 -51
- data/spec/models/refund_status_spec.rb +3 -6
- data/spec/models/retrieve_customer_request_spec.rb +3 -6
- data/spec/models/retrieve_customer_response_spec.rb +5 -16
- data/spec/models/retrieve_transaction_request_spec.rb +3 -6
- data/spec/models/retrieve_transaction_response_spec.rb +5 -16
- data/spec/models/sort_order_spec.rb +3 -6
- data/spec/models/tender_card_details_entry_method_spec.rb +3 -6
- data/spec/models/tender_card_details_spec.rb +14 -21
- data/spec/models/tender_card_details_status_spec.rb +3 -6
- data/spec/models/tender_cash_details_spec.rb +5 -16
- data/spec/models/tender_spec.rb +18 -61
- data/spec/models/tender_type_spec.rb +3 -6
- data/spec/models/transaction_product_spec.rb +3 -6
- data/spec/models/transaction_spec.rb +17 -56
- data/spec/models/update_customer_request_spec.rb +12 -51
- data/spec/models/update_customer_response_spec.rb +5 -16
- data/spec/models/v1_adjust_inventory_request_spec.rb +51 -0
- data/spec/models/v1_bank_account_spec.rb +85 -0
- data/spec/models/v1_cash_drawer_event_spec.rb +73 -0
- data/spec/models/v1_cash_drawer_shift_spec.rb +151 -0
- data/spec/models/v1_category_spec.rb +45 -0
- data/spec/models/v1_create_refund_request_spec.rb +67 -0
- data/spec/models/v1_discount_spec.rb +83 -0
- data/spec/models/v1_employee_role_spec.rb +73 -0
- data/spec/models/v1_employee_spec.rb +97 -0
- data/spec/models/v1_fee_spec.rb +103 -0
- data/spec/models/v1_inventory_entry_spec.rb +45 -0
- data/spec/models/v1_item_image_spec.rb +45 -0
- data/spec/models/v1_item_spec.rb +129 -0
- data/spec/models/v1_merchant_location_details_spec.rb +39 -0
- data/spec/models/v1_merchant_spec.rb +131 -0
- data/spec/models/v1_modifier_list_spec.rb +61 -0
- data/spec/models/v1_modifier_option_spec.rb +69 -0
- data/spec/models/v1_money_spec.rb +49 -0
- data/spec/models/v1_order_history_entry_spec.rb +49 -0
- data/spec/models/v1_order_spec.rb +187 -0
- data/spec/models/v1_page_cell_spec.rb +77 -0
- data/spec/models/v1_page_spec.rb +57 -0
- data/spec/models/v1_payment_discount_spec.rb +51 -0
- data/spec/models/v1_payment_item_detail_spec.rb +57 -0
- data/spec/models/v1_payment_itemization_spec.rb +121 -0
- data/spec/models/v1_payment_modifier_spec.rb +51 -0
- data/spec/models/v1_payment_spec.rb +177 -0
- data/spec/models/v1_payment_tax_spec.rb +73 -0
- data/spec/models/v1_phone_number_spec.rb +45 -0
- data/spec/models/v1_refund_spec.rb +79 -0
- data/spec/models/v1_settlement_entry_spec.rb +61 -0
- data/spec/models/v1_settlement_spec.rb +73 -0
- data/spec/models/v1_tender_spec.rb +123 -0
- data/spec/models/v1_timecard_event_spec.rb +67 -0
- data/spec/models/v1_timecard_spec.rb +87 -0
- data/spec/models/v1_update_modifier_list_request_spec.rb +49 -0
- data/spec/models/v1_update_order_request_spec.rb +67 -0
- data/spec/models/v1_variation_spec.rb +107 -0
- data/spec/models/void_transaction_request_spec.rb +3 -6
- data/spec/models/void_transaction_response_spec.rb +4 -11
- data/spec/spec_helper.rb +10 -0
- data/square_connect-2.0.2.gem +0 -0
- data/square_connect-2.1.0.gem +0 -0
- data/square_connect-2.1.0beta.gem +0 -0
- data/square_connect.gemspec +1 -1
- data/travis-ci/accounts.enc +0 -0
- metadata +197 -26
- data/docs/CustomerApi.md +0 -267
- data/docs/CustomerCardApi.md +0 -116
- data/docs/LocationApi.md +0 -56
- data/docs/RefundApi.md +0 -126
- data/docs/TransactionApi.md +0 -285
- data/lib/square_connect/api/customer_card_api.rb +0 -144
- data/lib/square_connect/api/refund_api.rb +0 -159
- data/spec/api/customer_card_api_spec.rb +0 -71
- data/spec/api/refund_api_spec.rb +0 -75
@@ -0,0 +1,87 @@
|
|
1
|
+
=begin
|
2
|
+
#Square Connect API
|
3
|
+
|
4
|
+
OpenAPI spec version: 2.0
|
5
|
+
Contact: developers@squareup.com
|
6
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
7
|
+
|
8
|
+
=end
|
9
|
+
|
10
|
+
require 'spec_helper'
|
11
|
+
require 'json'
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
# Unit tests for SquareConnect::V1Timecard
|
15
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'V1Timecard' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@instance = SquareConnect::V1Timecard.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of V1Timecard' do
|
28
|
+
it 'should create an instact of V1Timecard' do
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::V1Timecard)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
describe 'test attribute "id"' do
|
33
|
+
it 'should work' do
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "employee_id"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "deleted"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "clockin_time"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "clockout_time"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "clockin_location_id"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "clockout_location_id"' 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
|
+
describe 'test attribute "created_at"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'test attribute "updated_at"' 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
|
+
end
|
87
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
=begin
|
2
|
+
#Square Connect API
|
3
|
+
|
4
|
+
OpenAPI spec version: 2.0
|
5
|
+
Contact: developers@squareup.com
|
6
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
7
|
+
|
8
|
+
=end
|
9
|
+
|
10
|
+
require 'spec_helper'
|
11
|
+
require 'json'
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
# Unit tests for SquareConnect::V1UpdateModifierListRequest
|
15
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'V1UpdateModifierListRequest' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@instance = SquareConnect::V1UpdateModifierListRequest.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of V1UpdateModifierListRequest' do
|
28
|
+
it 'should create an instact of V1UpdateModifierListRequest' do
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::V1UpdateModifierListRequest)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
describe 'test attribute "name"' do
|
33
|
+
it 'should work' do
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "selection_type"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SINGLE", "MULTIPLE"])
|
42
|
+
#validator.allowable_values.each do |value|
|
43
|
+
# expect { @instance.selection_type = value }.not_to raise_error
|
44
|
+
#end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
49
|
+
|
@@ -0,0 +1,67 @@
|
|
1
|
+
=begin
|
2
|
+
#Square Connect API
|
3
|
+
|
4
|
+
OpenAPI spec version: 2.0
|
5
|
+
Contact: developers@squareup.com
|
6
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
7
|
+
|
8
|
+
=end
|
9
|
+
|
10
|
+
require 'spec_helper'
|
11
|
+
require 'json'
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
# Unit tests for SquareConnect::V1UpdateOrderRequest
|
15
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'V1UpdateOrderRequest' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@instance = SquareConnect::V1UpdateOrderRequest.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of V1UpdateOrderRequest' do
|
28
|
+
it 'should create an instact of V1UpdateOrderRequest' do
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::V1UpdateOrderRequest)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
describe 'test attribute "action"' do
|
33
|
+
it 'should work' do
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
35
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["COMPLETE", "CANCEL", "REFUND"])
|
36
|
+
#validator.allowable_values.each do |value|
|
37
|
+
# expect { @instance.action = value }.not_to raise_error
|
38
|
+
#end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "shipped_tracking_number"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "completed_note"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "refunded_note"' 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
|
+
describe 'test attribute "canceled_note"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
67
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
=begin
|
2
|
+
#Square Connect API
|
3
|
+
|
4
|
+
OpenAPI spec version: 2.0
|
5
|
+
Contact: developers@squareup.com
|
6
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
7
|
+
|
8
|
+
=end
|
9
|
+
|
10
|
+
require 'spec_helper'
|
11
|
+
require 'json'
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
# Unit tests for SquareConnect::V1Variation
|
15
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
16
|
+
# Please update as you see appropriate
|
17
|
+
describe 'V1Variation' do
|
18
|
+
before do
|
19
|
+
# run before each test
|
20
|
+
@instance = SquareConnect::V1Variation.new
|
21
|
+
end
|
22
|
+
|
23
|
+
after do
|
24
|
+
# run after each test
|
25
|
+
end
|
26
|
+
|
27
|
+
describe 'test an instance of V1Variation' do
|
28
|
+
it 'should create an instact of V1Variation' do
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::V1Variation)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
describe 'test attribute "id"' do
|
33
|
+
it 'should work' do
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "name"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "item_id"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "ordinal"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "pricing_type"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["FIXED_PRICING", "VARIABLE_PRICING"])
|
60
|
+
#validator.allowable_values.each do |value|
|
61
|
+
# expect { @instance.pricing_type = value }.not_to raise_error
|
62
|
+
#end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "price_money"' 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
|
+
describe 'test attribute "sku"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "track_inventory"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "inventory_alert_type"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LOW_QUANTITY", "NONE", "INVESTMENT", "LOAN", "SAVINGS", "OTHER"])
|
88
|
+
#validator.allowable_values.each do |value|
|
89
|
+
# expect { @instance.inventory_alert_type = value }.not_to raise_error
|
90
|
+
#end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "inventory_alert_threshold"' 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
|
+
describe 'test attribute "user_data"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
107
|
+
|
@@ -1,13 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
Square Connect API
|
3
|
-
|
4
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
2
|
+
#Square Connect API
|
5
3
|
|
6
4
|
OpenAPI spec version: 2.0
|
7
|
-
|
5
|
+
Contact: developers@squareup.com
|
8
6
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
7
|
|
10
|
-
|
11
8
|
=end
|
12
9
|
|
13
10
|
require 'spec_helper'
|
@@ -29,7 +26,7 @@ describe 'VoidTransactionRequest' do
|
|
29
26
|
|
30
27
|
describe 'test an instance of VoidTransactionRequest' do
|
31
28
|
it 'should create an instact of VoidTransactionRequest' do
|
32
|
-
@instance.
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::VoidTransactionRequest)
|
33
30
|
end
|
34
31
|
end
|
35
32
|
end
|
@@ -1,13 +1,10 @@
|
|
1
1
|
=begin
|
2
|
-
Square Connect API
|
3
|
-
|
4
|
-
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
2
|
+
#Square Connect API
|
5
3
|
|
6
4
|
OpenAPI spec version: 2.0
|
7
|
-
|
5
|
+
Contact: developers@squareup.com
|
8
6
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
7
|
|
10
|
-
|
11
8
|
=end
|
12
9
|
|
13
10
|
require 'spec_helper'
|
@@ -29,16 +26,12 @@ describe 'VoidTransactionResponse' do
|
|
29
26
|
|
30
27
|
describe 'test an instance of VoidTransactionResponse' do
|
31
28
|
it 'should create an instact of VoidTransactionResponse' do
|
32
|
-
@instance.
|
29
|
+
expect(@instance).to be_instance_of(SquareConnect::VoidTransactionResponse)
|
33
30
|
end
|
34
31
|
end
|
35
32
|
describe 'test attribute "errors"' do
|
36
33
|
it 'should work' do
|
37
|
-
# assertion here
|
38
|
-
# should be_a()
|
39
|
-
# should be_nil
|
40
|
-
# should ==
|
41
|
-
# should_not ==
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
42
35
|
end
|
43
36
|
end
|
44
37
|
|
data/spec/spec_helper.rb
CHANGED
@@ -55,6 +55,16 @@ RSpec.configure do |config|
|
|
55
55
|
mocks.verify_partial_doubles = true
|
56
56
|
end
|
57
57
|
|
58
|
+
config.before :suite do
|
59
|
+
@accounts = load_accounts()
|
60
|
+
@account = @accounts["US-Prod-Sandbox"]
|
61
|
+
# Setup authorization
|
62
|
+
SquareConnect.configure do |config|
|
63
|
+
# Configure OAuth2 access token for authorization: oauth2
|
64
|
+
config.access_token = @account["access_token"]
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
58
68
|
# The settings below are suggested to provide a good initial experience
|
59
69
|
# with RSpec, but feel free to customize to your heart's content.
|
60
70
|
=begin
|
Binary file
|
Binary file
|
Binary file
|
data/square_connect.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.homepage = "https://github.com/square/connect-ruby-sdk"
|
23
23
|
s.summary = "Square Connect API Ruby Gem"
|
24
24
|
s.description = "Ruby client library for the Square Connect API"
|
25
|
-
s.license = "Apache
|
25
|
+
s.license = "Apache-2.0"
|
26
26
|
s.required_ruby_version = ">= 1.9"
|
27
27
|
|
28
28
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
data/travis-ci/accounts.enc
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.1.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Square, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -226,14 +226,14 @@ files:
|
|
226
226
|
- docs/CreateRefundResponse.md
|
227
227
|
- docs/Currency.md
|
228
228
|
- docs/Customer.md
|
229
|
-
- docs/CustomerApi.md
|
230
|
-
- docs/CustomerCardApi.md
|
231
229
|
- docs/CustomerGroupInfo.md
|
232
230
|
- docs/CustomerPreferences.md
|
231
|
+
- docs/CustomersApi.md
|
233
232
|
- docs/DeleteCustomerCardRequest.md
|
234
233
|
- docs/DeleteCustomerCardResponse.md
|
235
234
|
- docs/DeleteCustomerRequest.md
|
236
235
|
- docs/DeleteCustomerResponse.md
|
236
|
+
- docs/Device.md
|
237
237
|
- docs/Error.md
|
238
238
|
- docs/ErrorCategory.md
|
239
239
|
- docs/ErrorCode.md
|
@@ -246,13 +246,12 @@ files:
|
|
246
246
|
- docs/ListTransactionsRequest.md
|
247
247
|
- docs/ListTransactionsResponse.md
|
248
248
|
- docs/Location.md
|
249
|
-
- docs/LocationApi.md
|
250
249
|
- docs/LocationCapability.md
|
250
|
+
- docs/LocationsApi.md
|
251
251
|
- docs/Money.md
|
252
252
|
- docs/Order.md
|
253
253
|
- docs/OrderLineItem.md
|
254
254
|
- docs/Refund.md
|
255
|
-
- docs/RefundApi.md
|
256
255
|
- docs/RefundStatus.md
|
257
256
|
- docs/RetrieveCustomerRequest.md
|
258
257
|
- docs/RetrieveCustomerResponse.md
|
@@ -266,19 +265,66 @@ files:
|
|
266
265
|
- docs/TenderCashDetails.md
|
267
266
|
- docs/TenderType.md
|
268
267
|
- docs/Transaction.md
|
269
|
-
- docs/TransactionApi.md
|
270
268
|
- docs/TransactionProduct.md
|
269
|
+
- docs/TransactionsApi.md
|
271
270
|
- docs/UpdateCustomerRequest.md
|
272
271
|
- docs/UpdateCustomerResponse.md
|
272
|
+
- docs/V1AdjustInventoryRequest.md
|
273
|
+
- docs/V1BankAccount.md
|
274
|
+
- docs/V1CashDrawerEvent.md
|
275
|
+
- docs/V1CashDrawerShift.md
|
276
|
+
- docs/V1Category.md
|
277
|
+
- docs/V1CreateRefundRequest.md
|
278
|
+
- docs/V1Discount.md
|
279
|
+
- docs/V1Employee.md
|
280
|
+
- docs/V1EmployeeRole.md
|
281
|
+
- docs/V1EmployeesApi.md
|
282
|
+
- docs/V1Fee.md
|
283
|
+
- docs/V1InventoryEntry.md
|
284
|
+
- docs/V1Item.md
|
285
|
+
- docs/V1ItemImage.md
|
286
|
+
- docs/V1ItemsApi.md
|
287
|
+
- docs/V1LocationApi.md
|
288
|
+
- docs/V1LocationsApi.md
|
289
|
+
- docs/V1Merchant.md
|
290
|
+
- docs/V1MerchantLocationDetails.md
|
291
|
+
- docs/V1ModifierList.md
|
292
|
+
- docs/V1ModifierOption.md
|
293
|
+
- docs/V1Money.md
|
294
|
+
- docs/V1Order.md
|
295
|
+
- docs/V1OrderHistoryEntry.md
|
296
|
+
- docs/V1Page.md
|
297
|
+
- docs/V1PageCell.md
|
298
|
+
- docs/V1Payment.md
|
299
|
+
- docs/V1PaymentDiscount.md
|
300
|
+
- docs/V1PaymentItemDetail.md
|
301
|
+
- docs/V1PaymentItemization.md
|
302
|
+
- docs/V1PaymentModifier.md
|
303
|
+
- docs/V1PaymentTax.md
|
304
|
+
- docs/V1PhoneNumber.md
|
305
|
+
- docs/V1Refund.md
|
306
|
+
- docs/V1Settlement.md
|
307
|
+
- docs/V1SettlementEntry.md
|
308
|
+
- docs/V1Tender.md
|
309
|
+
- docs/V1Timecard.md
|
310
|
+
- docs/V1TimecardEvent.md
|
311
|
+
- docs/V1TransactionsApi.md
|
312
|
+
- docs/V1UpdateModifierListRequest.md
|
313
|
+
- docs/V1UpdateOrderRequest.md
|
314
|
+
- docs/V1Variation.md
|
273
315
|
- docs/VoidTransactionRequest.md
|
274
316
|
- docs/VoidTransactionResponse.md
|
317
|
+
- lib/.DS_Store
|
275
318
|
- lib/square_connect.rb
|
319
|
+
- lib/square_connect/.DS_Store
|
276
320
|
- lib/square_connect/api/checkout_api.rb
|
277
|
-
- lib/square_connect/api/
|
278
|
-
- lib/square_connect/api/
|
279
|
-
- lib/square_connect/api/
|
280
|
-
- lib/square_connect/api/
|
281
|
-
- lib/square_connect/api/
|
321
|
+
- lib/square_connect/api/customers_api.rb
|
322
|
+
- lib/square_connect/api/locations_api.rb
|
323
|
+
- lib/square_connect/api/transactions_api.rb
|
324
|
+
- lib/square_connect/api/v1_employees_api.rb
|
325
|
+
- lib/square_connect/api/v1_items_api.rb
|
326
|
+
- lib/square_connect/api/v1_locations_api.rb
|
327
|
+
- lib/square_connect/api/v1_transactions_api.rb
|
282
328
|
- lib/square_connect/api_client.rb
|
283
329
|
- lib/square_connect/api_error.rb
|
284
330
|
- lib/square_connect/configuration.rb
|
@@ -310,6 +356,7 @@ files:
|
|
310
356
|
- lib/square_connect/models/delete_customer_card_response.rb
|
311
357
|
- lib/square_connect/models/delete_customer_request.rb
|
312
358
|
- lib/square_connect/models/delete_customer_response.rb
|
359
|
+
- lib/square_connect/models/device.rb
|
313
360
|
- lib/square_connect/models/error.rb
|
314
361
|
- lib/square_connect/models/error_category.rb
|
315
362
|
- lib/square_connect/models/error_code.rb
|
@@ -343,15 +390,56 @@ files:
|
|
343
390
|
- lib/square_connect/models/transaction_product.rb
|
344
391
|
- lib/square_connect/models/update_customer_request.rb
|
345
392
|
- lib/square_connect/models/update_customer_response.rb
|
393
|
+
- lib/square_connect/models/v1_adjust_inventory_request.rb
|
394
|
+
- lib/square_connect/models/v1_bank_account.rb
|
395
|
+
- lib/square_connect/models/v1_cash_drawer_event.rb
|
396
|
+
- lib/square_connect/models/v1_cash_drawer_shift.rb
|
397
|
+
- lib/square_connect/models/v1_category.rb
|
398
|
+
- lib/square_connect/models/v1_create_refund_request.rb
|
399
|
+
- lib/square_connect/models/v1_discount.rb
|
400
|
+
- lib/square_connect/models/v1_employee.rb
|
401
|
+
- lib/square_connect/models/v1_employee_role.rb
|
402
|
+
- lib/square_connect/models/v1_fee.rb
|
403
|
+
- lib/square_connect/models/v1_inventory_entry.rb
|
404
|
+
- lib/square_connect/models/v1_item.rb
|
405
|
+
- lib/square_connect/models/v1_item_image.rb
|
406
|
+
- lib/square_connect/models/v1_merchant.rb
|
407
|
+
- lib/square_connect/models/v1_merchant_location_details.rb
|
408
|
+
- lib/square_connect/models/v1_modifier_list.rb
|
409
|
+
- lib/square_connect/models/v1_modifier_option.rb
|
410
|
+
- lib/square_connect/models/v1_money.rb
|
411
|
+
- lib/square_connect/models/v1_order.rb
|
412
|
+
- lib/square_connect/models/v1_order_history_entry.rb
|
413
|
+
- lib/square_connect/models/v1_page.rb
|
414
|
+
- lib/square_connect/models/v1_page_cell.rb
|
415
|
+
- lib/square_connect/models/v1_payment.rb
|
416
|
+
- lib/square_connect/models/v1_payment_discount.rb
|
417
|
+
- lib/square_connect/models/v1_payment_item_detail.rb
|
418
|
+
- lib/square_connect/models/v1_payment_itemization.rb
|
419
|
+
- lib/square_connect/models/v1_payment_modifier.rb
|
420
|
+
- lib/square_connect/models/v1_payment_tax.rb
|
421
|
+
- lib/square_connect/models/v1_phone_number.rb
|
422
|
+
- lib/square_connect/models/v1_refund.rb
|
423
|
+
- lib/square_connect/models/v1_settlement.rb
|
424
|
+
- lib/square_connect/models/v1_settlement_entry.rb
|
425
|
+
- lib/square_connect/models/v1_tender.rb
|
426
|
+
- lib/square_connect/models/v1_timecard.rb
|
427
|
+
- lib/square_connect/models/v1_timecard_event.rb
|
428
|
+
- lib/square_connect/models/v1_update_modifier_list_request.rb
|
429
|
+
- lib/square_connect/models/v1_update_order_request.rb
|
430
|
+
- lib/square_connect/models/v1_variation.rb
|
346
431
|
- lib/square_connect/models/void_transaction_request.rb
|
347
432
|
- lib/square_connect/models/void_transaction_response.rb
|
348
433
|
- lib/square_connect/version.rb
|
434
|
+
- spec/.DS_Store
|
349
435
|
- spec/api/checkout_api_spec.rb
|
350
|
-
- spec/api/
|
351
|
-
- spec/api/
|
352
|
-
- spec/api/
|
353
|
-
- spec/api/
|
354
|
-
- spec/api/
|
436
|
+
- spec/api/customers_api_spec.rb
|
437
|
+
- spec/api/locations_api_spec.rb
|
438
|
+
- spec/api/transactions_api_spec.rb
|
439
|
+
- spec/api/v1_employees_api_spec.rb
|
440
|
+
- spec/api/v1_items_api_spec.rb
|
441
|
+
- spec/api/v1_locations_api_spec.rb
|
442
|
+
- spec/api/v1_transactions_api_spec.rb
|
355
443
|
- spec/api_client_spec.rb
|
356
444
|
- spec/configuration_spec.rb
|
357
445
|
- spec/models/address_spec.rb
|
@@ -382,6 +470,7 @@ files:
|
|
382
470
|
- spec/models/delete_customer_card_response_spec.rb
|
383
471
|
- spec/models/delete_customer_request_spec.rb
|
384
472
|
- spec/models/delete_customer_response_spec.rb
|
473
|
+
- spec/models/device_spec.rb
|
385
474
|
- spec/models/error_category_spec.rb
|
386
475
|
- spec/models/error_code_spec.rb
|
387
476
|
- spec/models/error_spec.rb
|
@@ -415,14 +504,55 @@ files:
|
|
415
504
|
- spec/models/transaction_spec.rb
|
416
505
|
- spec/models/update_customer_request_spec.rb
|
417
506
|
- spec/models/update_customer_response_spec.rb
|
507
|
+
- spec/models/v1_adjust_inventory_request_spec.rb
|
508
|
+
- spec/models/v1_bank_account_spec.rb
|
509
|
+
- spec/models/v1_cash_drawer_event_spec.rb
|
510
|
+
- spec/models/v1_cash_drawer_shift_spec.rb
|
511
|
+
- spec/models/v1_category_spec.rb
|
512
|
+
- spec/models/v1_create_refund_request_spec.rb
|
513
|
+
- spec/models/v1_discount_spec.rb
|
514
|
+
- spec/models/v1_employee_role_spec.rb
|
515
|
+
- spec/models/v1_employee_spec.rb
|
516
|
+
- spec/models/v1_fee_spec.rb
|
517
|
+
- spec/models/v1_inventory_entry_spec.rb
|
518
|
+
- spec/models/v1_item_image_spec.rb
|
519
|
+
- spec/models/v1_item_spec.rb
|
520
|
+
- spec/models/v1_merchant_location_details_spec.rb
|
521
|
+
- spec/models/v1_merchant_spec.rb
|
522
|
+
- spec/models/v1_modifier_list_spec.rb
|
523
|
+
- spec/models/v1_modifier_option_spec.rb
|
524
|
+
- spec/models/v1_money_spec.rb
|
525
|
+
- spec/models/v1_order_history_entry_spec.rb
|
526
|
+
- spec/models/v1_order_spec.rb
|
527
|
+
- spec/models/v1_page_cell_spec.rb
|
528
|
+
- spec/models/v1_page_spec.rb
|
529
|
+
- spec/models/v1_payment_discount_spec.rb
|
530
|
+
- spec/models/v1_payment_item_detail_spec.rb
|
531
|
+
- spec/models/v1_payment_itemization_spec.rb
|
532
|
+
- spec/models/v1_payment_modifier_spec.rb
|
533
|
+
- spec/models/v1_payment_spec.rb
|
534
|
+
- spec/models/v1_payment_tax_spec.rb
|
535
|
+
- spec/models/v1_phone_number_spec.rb
|
536
|
+
- spec/models/v1_refund_spec.rb
|
537
|
+
- spec/models/v1_settlement_entry_spec.rb
|
538
|
+
- spec/models/v1_settlement_spec.rb
|
539
|
+
- spec/models/v1_tender_spec.rb
|
540
|
+
- spec/models/v1_timecard_event_spec.rb
|
541
|
+
- spec/models/v1_timecard_spec.rb
|
542
|
+
- spec/models/v1_update_modifier_list_request_spec.rb
|
543
|
+
- spec/models/v1_update_order_request_spec.rb
|
544
|
+
- spec/models/v1_variation_spec.rb
|
418
545
|
- spec/models/void_transaction_request_spec.rb
|
419
546
|
- spec/models/void_transaction_response_spec.rb
|
420
547
|
- spec/spec_helper.rb
|
548
|
+
- square_connect-2.0.2.gem
|
549
|
+
- square_connect-2.1.0.gem
|
550
|
+
- square_connect-2.1.0beta.gem
|
421
551
|
- square_connect.gemspec
|
422
552
|
- travis-ci/accounts.enc
|
423
553
|
homepage: https://github.com/square/connect-ruby-sdk
|
424
554
|
licenses:
|
425
|
-
- Apache
|
555
|
+
- Apache-2.0
|
426
556
|
metadata: {}
|
427
557
|
post_install_message:
|
428
558
|
rdoc_options: []
|
@@ -435,22 +565,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
435
565
|
version: '1.9'
|
436
566
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
437
567
|
requirements:
|
438
|
-
- - "
|
568
|
+
- - ">"
|
439
569
|
- !ruby/object:Gem::Version
|
440
|
-
version:
|
570
|
+
version: 1.3.1
|
441
571
|
requirements: []
|
442
572
|
rubyforge_project:
|
443
|
-
rubygems_version: 2.
|
573
|
+
rubygems_version: 2.6.10
|
444
574
|
signing_key:
|
445
575
|
specification_version: 4
|
446
576
|
summary: Square Connect API Ruby Gem
|
447
577
|
test_files:
|
448
578
|
- spec/api/checkout_api_spec.rb
|
449
|
-
- spec/api/
|
450
|
-
- spec/api/
|
451
|
-
- spec/api/
|
452
|
-
- spec/api/
|
453
|
-
- spec/api/
|
579
|
+
- spec/api/customers_api_spec.rb
|
580
|
+
- spec/api/locations_api_spec.rb
|
581
|
+
- spec/api/transactions_api_spec.rb
|
582
|
+
- spec/api/v1_employees_api_spec.rb
|
583
|
+
- spec/api/v1_items_api_spec.rb
|
584
|
+
- spec/api/v1_locations_api_spec.rb
|
585
|
+
- spec/api/v1_transactions_api_spec.rb
|
454
586
|
- spec/api_client_spec.rb
|
455
587
|
- spec/configuration_spec.rb
|
456
588
|
- spec/models/address_spec.rb
|
@@ -481,6 +613,7 @@ test_files:
|
|
481
613
|
- spec/models/delete_customer_card_response_spec.rb
|
482
614
|
- spec/models/delete_customer_request_spec.rb
|
483
615
|
- spec/models/delete_customer_response_spec.rb
|
616
|
+
- spec/models/device_spec.rb
|
484
617
|
- spec/models/error_category_spec.rb
|
485
618
|
- spec/models/error_code_spec.rb
|
486
619
|
- spec/models/error_spec.rb
|
@@ -514,6 +647,44 @@ test_files:
|
|
514
647
|
- spec/models/transaction_spec.rb
|
515
648
|
- spec/models/update_customer_request_spec.rb
|
516
649
|
- spec/models/update_customer_response_spec.rb
|
650
|
+
- spec/models/v1_adjust_inventory_request_spec.rb
|
651
|
+
- spec/models/v1_bank_account_spec.rb
|
652
|
+
- spec/models/v1_cash_drawer_event_spec.rb
|
653
|
+
- spec/models/v1_cash_drawer_shift_spec.rb
|
654
|
+
- spec/models/v1_category_spec.rb
|
655
|
+
- spec/models/v1_create_refund_request_spec.rb
|
656
|
+
- spec/models/v1_discount_spec.rb
|
657
|
+
- spec/models/v1_employee_role_spec.rb
|
658
|
+
- spec/models/v1_employee_spec.rb
|
659
|
+
- spec/models/v1_fee_spec.rb
|
660
|
+
- spec/models/v1_inventory_entry_spec.rb
|
661
|
+
- spec/models/v1_item_image_spec.rb
|
662
|
+
- spec/models/v1_item_spec.rb
|
663
|
+
- spec/models/v1_merchant_location_details_spec.rb
|
664
|
+
- spec/models/v1_merchant_spec.rb
|
665
|
+
- spec/models/v1_modifier_list_spec.rb
|
666
|
+
- spec/models/v1_modifier_option_spec.rb
|
667
|
+
- spec/models/v1_money_spec.rb
|
668
|
+
- spec/models/v1_order_history_entry_spec.rb
|
669
|
+
- spec/models/v1_order_spec.rb
|
670
|
+
- spec/models/v1_page_cell_spec.rb
|
671
|
+
- spec/models/v1_page_spec.rb
|
672
|
+
- spec/models/v1_payment_discount_spec.rb
|
673
|
+
- spec/models/v1_payment_item_detail_spec.rb
|
674
|
+
- spec/models/v1_payment_itemization_spec.rb
|
675
|
+
- spec/models/v1_payment_modifier_spec.rb
|
676
|
+
- spec/models/v1_payment_spec.rb
|
677
|
+
- spec/models/v1_payment_tax_spec.rb
|
678
|
+
- spec/models/v1_phone_number_spec.rb
|
679
|
+
- spec/models/v1_refund_spec.rb
|
680
|
+
- spec/models/v1_settlement_entry_spec.rb
|
681
|
+
- spec/models/v1_settlement_spec.rb
|
682
|
+
- spec/models/v1_tender_spec.rb
|
683
|
+
- spec/models/v1_timecard_event_spec.rb
|
684
|
+
- spec/models/v1_timecard_spec.rb
|
685
|
+
- spec/models/v1_update_modifier_list_request_spec.rb
|
686
|
+
- spec/models/v1_update_order_request_spec.rb
|
687
|
+
- spec/models/v1_variation_spec.rb
|
517
688
|
- spec/models/void_transaction_request_spec.rb
|
518
689
|
- spec/models/void_transaction_response_spec.rb
|
519
690
|
- spec/spec_helper.rb
|