square_connect 2.1.0.beta → 2.1.0.78

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +71 -8
  3. data/docs/BatchDeleteCatalogObjectsRequest.md +12 -0
  4. data/docs/BatchDeleteCatalogObjectsResponse.md +14 -0
  5. data/docs/BatchRetrieveCatalogObjectsRequest.md +13 -0
  6. data/docs/BatchRetrieveCatalogObjectsResponse.md +14 -0
  7. data/docs/BatchUpsertCatalogObjectsRequest.md +13 -0
  8. data/docs/BatchUpsertCatalogObjectsResponse.md +15 -0
  9. data/docs/CatalogApi.md +592 -0
  10. data/docs/CatalogCategory.md +12 -0
  11. data/docs/CatalogDiscount.md +17 -0
  12. data/docs/CatalogDiscountType.md +15 -0
  13. data/docs/CatalogIdMapping.md +13 -0
  14. data/docs/CatalogInfoRequest.md +11 -0
  15. data/docs/CatalogInfoResponse.md +13 -0
  16. data/docs/CatalogInfoResponseLimits.md +22 -0
  17. data/docs/CatalogItem.md +25 -0
  18. data/docs/CatalogItemModifierListInfo.md +16 -0
  19. data/docs/CatalogItemProductType.md +16 -0
  20. data/docs/CatalogItemVariation.md +23 -0
  21. data/docs/CatalogModifier.md +13 -0
  22. data/docs/CatalogModifierList.md +14 -0
  23. data/docs/CatalogModifierListSelectionType.md +13 -0
  24. data/docs/CatalogModifierOverride.md +13 -0
  25. data/docs/CatalogObject.md +27 -0
  26. data/docs/CatalogObjectBatch.md +12 -0
  27. data/docs/CatalogObjectType.md +18 -0
  28. data/docs/CatalogPricingType.md +13 -0
  29. data/docs/CatalogQuery.md +18 -0
  30. data/docs/CatalogQueryExact.md +13 -0
  31. data/docs/CatalogQueryItemsForModifierList.md +12 -0
  32. data/docs/CatalogQueryItemsForTax.md +12 -0
  33. data/docs/CatalogQueryPrefix.md +13 -0
  34. data/docs/CatalogQueryRange.md +14 -0
  35. data/docs/CatalogQuerySortedAttribute.md +14 -0
  36. data/docs/CatalogQueryText.md +12 -0
  37. data/docs/CatalogTax.md +17 -0
  38. data/docs/CatalogV1Id.md +13 -0
  39. data/docs/Checkout.md +4 -4
  40. data/docs/CreateCheckoutRequest.md +5 -5
  41. data/docs/DeleteCatalogObjectRequest.md +11 -0
  42. data/docs/DeleteCatalogObjectResponse.md +14 -0
  43. data/docs/ErrorCode.md +2 -0
  44. data/docs/InventoryAlertType.md +13 -0
  45. data/docs/ItemVariationLocationOverrides.md +17 -0
  46. data/docs/ListCatalogRequest.md +13 -0
  47. data/docs/ListCatalogResponse.md +14 -0
  48. data/docs/RetrieveCatalogObjectRequest.md +12 -0
  49. data/docs/RetrieveCatalogObjectResponse.md +14 -0
  50. data/docs/SearchCatalogObjectsRequest.md +18 -0
  51. data/docs/SearchCatalogObjectsResponse.md +15 -0
  52. data/docs/TaxCalculationPhase.md +13 -0
  53. data/docs/TaxInclusionType.md +13 -0
  54. data/docs/UpdateItemModifierListsRequest.md +14 -0
  55. data/docs/UpdateItemModifierListsResponse.md +13 -0
  56. data/docs/UpdateItemTaxesRequest.md +14 -0
  57. data/docs/UpdateItemTaxesResponse.md +13 -0
  58. data/docs/UpsertCatalogObjectRequest.md +13 -0
  59. data/docs/UpsertCatalogObjectResponse.md +14 -0
  60. data/docs/V1Item.md +1 -1
  61. data/docs/V1Variation.md +0 -1
  62. data/lib/square_connect.rb +54 -1
  63. data/lib/square_connect/api/catalog_api.rb +604 -0
  64. data/lib/square_connect/models/batch_delete_catalog_objects_request.rb +188 -0
  65. data/lib/square_connect/models/batch_delete_catalog_objects_response.rb +210 -0
  66. data/lib/square_connect/models/batch_retrieve_catalog_objects_request.rb +203 -0
  67. data/lib/square_connect/models/batch_retrieve_catalog_objects_response.rb +212 -0
  68. data/lib/square_connect/models/batch_upsert_catalog_objects_request.rb +222 -0
  69. data/lib/square_connect/models/batch_upsert_catalog_objects_response.rb +222 -0
  70. data/lib/square_connect/models/catalog_category.rb +210 -0
  71. data/lib/square_connect/models/catalog_discount.rb +293 -0
  72. data/lib/square_connect/models/catalog_discount_type.rb +21 -0
  73. data/lib/square_connect/models/catalog_id_mapping.rb +196 -0
  74. data/lib/square_connect/models/catalog_info_request.rb +176 -0
  75. data/lib/square_connect/models/catalog_info_response.rb +198 -0
  76. data/lib/square_connect/models/catalog_info_response_limits.rb +286 -0
  77. data/lib/square_connect/models/catalog_item.rb +379 -0
  78. data/lib/square_connect/models/catalog_item_modifier_list_info.rb +252 -0
  79. data/lib/square_connect/models/catalog_item_product_type.rb +22 -0
  80. data/lib/square_connect/models/catalog_item_variation.rb +343 -0
  81. data/lib/square_connect/models/catalog_modifier.rb +220 -0
  82. data/lib/square_connect/models/catalog_modifier_list.rb +265 -0
  83. data/lib/square_connect/models/catalog_modifier_list_selection_type.rb +19 -0
  84. data/lib/square_connect/models/catalog_modifier_override.rb +220 -0
  85. data/lib/square_connect/models/catalog_object.rb +404 -0
  86. data/lib/square_connect/models/catalog_object_batch.rb +188 -0
  87. data/lib/square_connect/models/catalog_object_type.rb +24 -0
  88. data/lib/square_connect/models/catalog_pricing_type.rb +19 -0
  89. data/lib/square_connect/models/catalog_query.rb +246 -0
  90. data/lib/square_connect/models/catalog_query_exact.rb +225 -0
  91. data/lib/square_connect/models/catalog_query_items_for_modifier_list.rb +193 -0
  92. data/lib/square_connect/models/catalog_query_items_for_tax.rb +193 -0
  93. data/lib/square_connect/models/catalog_query_prefix.rb +244 -0
  94. data/lib/square_connect/models/catalog_query_range.rb +230 -0
  95. data/lib/square_connect/models/catalog_query_sorted_attribute.rb +263 -0
  96. data/lib/square_connect/models/catalog_query_text.rb +193 -0
  97. data/lib/square_connect/models/catalog_tax.rb +305 -0
  98. data/lib/square_connect/models/catalog_v1_id.rb +196 -0
  99. data/lib/square_connect/models/checkout.rb +4 -4
  100. data/lib/square_connect/models/create_checkout_request.rb +5 -5
  101. data/lib/square_connect/models/delete_catalog_object_request.rb +176 -0
  102. data/lib/square_connect/models/delete_catalog_object_response.rb +210 -0
  103. data/lib/square_connect/models/error.rb +2 -2
  104. data/lib/square_connect/models/error_code.rb +2 -0
  105. data/lib/square_connect/models/inventory_alert_type.rb +19 -0
  106. data/lib/square_connect/models/item_variation_location_overrides.rb +281 -0
  107. data/lib/square_connect/models/list_catalog_request.rb +196 -0
  108. data/lib/square_connect/models/list_catalog_response.rb +210 -0
  109. data/lib/square_connect/models/retrieve_catalog_object_request.rb +186 -0
  110. data/lib/square_connect/models/retrieve_catalog_object_response.rb +210 -0
  111. data/lib/square_connect/models/search_catalog_objects_request.rb +269 -0
  112. data/lib/square_connect/models/search_catalog_objects_response.rb +222 -0
  113. data/lib/square_connect/models/tax_calculation_phase.rb +19 -0
  114. data/lib/square_connect/models/tax_inclusion_type.rb +19 -0
  115. data/lib/square_connect/models/update_item_modifier_lists_request.rb +217 -0
  116. data/lib/square_connect/models/update_item_modifier_lists_response.rb +198 -0
  117. data/lib/square_connect/models/update_item_taxes_request.rb +217 -0
  118. data/lib/square_connect/models/update_item_taxes_response.rb +198 -0
  119. data/lib/square_connect/models/{create_order_request.rb → upsert_catalog_object_request.rb} +14 -23
  120. data/lib/square_connect/models/upsert_catalog_object_response.rb +210 -0
  121. data/lib/square_connect/models/v1_item.rb +1 -1
  122. data/lib/square_connect/models/v1_variation.rb +1 -11
  123. data/lib/square_connect/version.rb +1 -1
  124. data/spec/api/catalog_api_spec.rb +611 -0
  125. data/spec/models/batch_delete_catalog_objects_request_spec.rb +39 -0
  126. data/spec/models/batch_delete_catalog_objects_response_spec.rb +51 -0
  127. data/spec/models/batch_retrieve_catalog_objects_request_spec.rb +45 -0
  128. data/spec/models/batch_retrieve_catalog_objects_response_spec.rb +51 -0
  129. data/spec/models/batch_upsert_catalog_objects_request_spec.rb +45 -0
  130. data/spec/models/batch_upsert_catalog_objects_response_spec.rb +57 -0
  131. data/spec/models/catalog_category_spec.rb +39 -0
  132. data/spec/models/catalog_discount_spec.rb +73 -0
  133. data/spec/models/catalog_discount_type_spec.rb +33 -0
  134. data/spec/models/catalog_id_mapping_spec.rb +45 -0
  135. data/spec/models/catalog_info_request_spec.rb +33 -0
  136. data/spec/models/catalog_info_response_limits_spec.rb +99 -0
  137. data/spec/models/catalog_info_response_spec.rb +45 -0
  138. data/spec/models/catalog_item_modifier_list_info_spec.rb +63 -0
  139. data/spec/models/catalog_item_product_type_spec.rb +33 -0
  140. data/spec/models/catalog_item_spec.rb +121 -0
  141. data/spec/models/catalog_item_variation_spec.rb +113 -0
  142. data/spec/models/catalog_modifier_list_selection_type_spec.rb +33 -0
  143. data/spec/models/catalog_modifier_list_spec.rb +55 -0
  144. data/spec/models/catalog_modifier_override_spec.rb +45 -0
  145. data/spec/models/catalog_modifier_spec.rb +45 -0
  146. data/spec/models/catalog_object_batch_spec.rb +39 -0
  147. data/spec/models/catalog_object_spec.rb +133 -0
  148. data/spec/models/catalog_object_type_spec.rb +33 -0
  149. data/spec/models/catalog_pricing_type_spec.rb +33 -0
  150. data/spec/models/catalog_query_exact_spec.rb +45 -0
  151. data/spec/models/catalog_query_items_for_modifier_list_spec.rb +39 -0
  152. data/spec/models/catalog_query_items_for_tax_spec.rb +39 -0
  153. data/spec/models/catalog_query_prefix_spec.rb +45 -0
  154. data/spec/models/catalog_query_range_spec.rb +51 -0
  155. data/spec/models/catalog_query_sorted_attribute_spec.rb +55 -0
  156. data/spec/models/catalog_query_spec.rb +75 -0
  157. data/spec/models/catalog_query_text_spec.rb +39 -0
  158. data/spec/models/catalog_tax_spec.rb +77 -0
  159. data/spec/models/catalog_v1_id_spec.rb +45 -0
  160. data/spec/models/delete_catalog_object_request_spec.rb +39 -0
  161. data/spec/models/delete_catalog_object_response_spec.rb +51 -0
  162. data/spec/models/inventory_alert_type_spec.rb +33 -0
  163. data/spec/models/item_variation_location_overrides_spec.rb +77 -0
  164. data/spec/models/list_catalog_request_spec.rb +45 -0
  165. data/spec/models/list_catalog_response_spec.rb +51 -0
  166. data/spec/models/retrieve_catalog_object_request_spec.rb +45 -0
  167. data/spec/models/retrieve_catalog_object_response_spec.rb +51 -0
  168. data/spec/models/search_catalog_objects_request_spec.rb +79 -0
  169. data/spec/models/search_catalog_objects_response_spec.rb +57 -0
  170. data/spec/models/tax_calculation_phase_spec.rb +33 -0
  171. data/spec/models/tax_inclusion_type_spec.rb +33 -0
  172. data/spec/models/update_item_modifier_lists_request_spec.rb +51 -0
  173. data/spec/models/update_item_modifier_lists_response_spec.rb +45 -0
  174. data/spec/models/update_item_taxes_request_spec.rb +51 -0
  175. data/spec/models/update_item_taxes_response_spec.rb +45 -0
  176. data/spec/models/{create_order_request_spec.rb → upsert_catalog_object_request_spec.rb} +7 -7
  177. data/spec/models/upsert_catalog_object_response_spec.rb +51 -0
  178. data/square_connect.gemspec +1 -1
  179. data/travis-ci/accounts.enc +0 -0
  180. metadata +222 -17
  181. data/docs/CreateOrderRequest.md +0 -13
  182. data/docs/V1LocationApi.md +0 -102
  183. data/lib/.DS_Store +0 -0
  184. data/lib/square_connect/.DS_Store +0 -0
  185. data/spec/.DS_Store +0 -0
  186. data/square_connect-2.0.2.gem +0 -0
  187. data/square_connect-2.1.0.gem +0 -0
  188. data/square_connect-2.1.0beta.gem +0 -0
@@ -0,0 +1,57 @@
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::SearchCatalogObjectsResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'SearchCatalogObjectsResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::SearchCatalogObjectsResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of SearchCatalogObjectsResponse' do
28
+ it 'should create an instact of SearchCatalogObjectsResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::SearchCatalogObjectsResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "errors"' 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 "cursor"' 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 "objects"' 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 "related_objects"' 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
+ end
57
+
@@ -0,0 +1,33 @@
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::TaxCalculationPhase
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'TaxCalculationPhase' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::TaxCalculationPhase.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of TaxCalculationPhase' do
28
+ it 'should create an instact of TaxCalculationPhase' do
29
+ expect(@instance).to be_instance_of(SquareConnect::TaxCalculationPhase)
30
+ end
31
+ end
32
+ end
33
+
@@ -0,0 +1,33 @@
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::TaxInclusionType
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'TaxInclusionType' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::TaxInclusionType.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of TaxInclusionType' do
28
+ it 'should create an instact of TaxInclusionType' do
29
+ expect(@instance).to be_instance_of(SquareConnect::TaxInclusionType)
30
+ end
31
+ end
32
+ end
33
+
@@ -0,0 +1,51 @@
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::UpdateItemModifierListsRequest
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'UpdateItemModifierListsRequest' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::UpdateItemModifierListsRequest.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of UpdateItemModifierListsRequest' do
28
+ it 'should create an instact of UpdateItemModifierListsRequest' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpdateItemModifierListsRequest)
30
+ end
31
+ end
32
+ describe 'test attribute "item_ids"' 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 "modifier_lists_to_enable"' 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 "modifier_lists_to_disable"' 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
+ end
51
+
@@ -0,0 +1,45 @@
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::UpdateItemModifierListsResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'UpdateItemModifierListsResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::UpdateItemModifierListsResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of UpdateItemModifierListsResponse' do
28
+ it 'should create an instact of UpdateItemModifierListsResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpdateItemModifierListsResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "errors"' 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 "updated_at"' 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
+ end
45
+
@@ -0,0 +1,51 @@
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::UpdateItemTaxesRequest
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'UpdateItemTaxesRequest' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::UpdateItemTaxesRequest.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of UpdateItemTaxesRequest' do
28
+ it 'should create an instact of UpdateItemTaxesRequest' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpdateItemTaxesRequest)
30
+ end
31
+ end
32
+ describe 'test attribute "item_ids"' 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 "taxes_to_enable"' 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 "taxes_to_disable"' 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
+ end
51
+
@@ -0,0 +1,45 @@
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::UpdateItemTaxesResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'UpdateItemTaxesResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::UpdateItemTaxesResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of UpdateItemTaxesResponse' do
28
+ it 'should create an instact of UpdateItemTaxesResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpdateItemTaxesResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "errors"' 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 "updated_at"' 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
+ end
45
+
@@ -11,22 +11,22 @@ require 'spec_helper'
11
11
  require 'json'
12
12
  require 'date'
13
13
 
14
- # Unit tests for SquareConnect::CreateOrderRequest
14
+ # Unit tests for SquareConnect::UpsertCatalogObjectRequest
15
15
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
16
  # Please update as you see appropriate
17
- describe 'CreateOrderRequest' do
17
+ describe 'UpsertCatalogObjectRequest' do
18
18
  before do
19
19
  # run before each test
20
- @instance = SquareConnect::CreateOrderRequest.new
20
+ @instance = SquareConnect::UpsertCatalogObjectRequest.new
21
21
  end
22
22
 
23
23
  after do
24
24
  # run after each test
25
25
  end
26
26
 
27
- describe 'test an instance of CreateOrderRequest' do
28
- it 'should create an instact of CreateOrderRequest' do
29
- expect(@instance).to be_instance_of(SquareConnect::CreateOrderRequest)
27
+ describe 'test an instance of UpsertCatalogObjectRequest' do
28
+ it 'should create an instact of UpsertCatalogObjectRequest' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpsertCatalogObjectRequest)
30
30
  end
31
31
  end
32
32
  describe 'test attribute "idempotency_key"' do
@@ -35,7 +35,7 @@ describe 'CreateOrderRequest' do
35
35
  end
36
36
  end
37
37
 
38
- describe 'test attribute "order"' do
38
+ describe 'test attribute "object"' do
39
39
  it 'should work' do
40
40
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
41
41
  end
@@ -0,0 +1,51 @@
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::UpsertCatalogObjectResponse
15
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
16
+ # Please update as you see appropriate
17
+ describe 'UpsertCatalogObjectResponse' do
18
+ before do
19
+ # run before each test
20
+ @instance = SquareConnect::UpsertCatalogObjectResponse.new
21
+ end
22
+
23
+ after do
24
+ # run after each test
25
+ end
26
+
27
+ describe 'test an instance of UpsertCatalogObjectResponse' do
28
+ it 'should create an instact of UpsertCatalogObjectResponse' do
29
+ expect(@instance).to be_instance_of(SquareConnect::UpsertCatalogObjectResponse)
30
+ end
31
+ end
32
+ describe 'test attribute "errors"' 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 "catalog_object"' 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 "id_mappings"' 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
+ end
51
+
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.version = "#{s.version}.#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
19
19
  s.platform = Gem::Platform::RUBY
20
20
  s.authors = ["Square, Inc."]
21
- s.email = [""]
21
+ s.email = ["developers@squareup.com"]
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"
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.1.0.beta
4
+ version: 2.1.0.78
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-04-25 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -192,7 +192,7 @@ dependencies:
192
192
  version: 0.2.11
193
193
  description: Ruby client library for the Square Connect API
194
194
  email:
195
- - ''
195
+ - developers@squareup.com
196
196
  executables: []
197
197
  extensions: []
198
198
  extra_rdoc_files: []
@@ -204,10 +204,46 @@ files:
204
204
  - README.md
205
205
  - Rakefile
206
206
  - docs/Address.md
207
+ - docs/BatchDeleteCatalogObjectsRequest.md
208
+ - docs/BatchDeleteCatalogObjectsResponse.md
209
+ - docs/BatchRetrieveCatalogObjectsRequest.md
210
+ - docs/BatchRetrieveCatalogObjectsResponse.md
211
+ - docs/BatchUpsertCatalogObjectsRequest.md
212
+ - docs/BatchUpsertCatalogObjectsResponse.md
207
213
  - docs/CaptureTransactionRequest.md
208
214
  - docs/CaptureTransactionResponse.md
209
215
  - docs/Card.md
210
216
  - docs/CardBrand.md
217
+ - docs/CatalogApi.md
218
+ - docs/CatalogCategory.md
219
+ - docs/CatalogDiscount.md
220
+ - docs/CatalogDiscountType.md
221
+ - docs/CatalogIdMapping.md
222
+ - docs/CatalogInfoRequest.md
223
+ - docs/CatalogInfoResponse.md
224
+ - docs/CatalogInfoResponseLimits.md
225
+ - docs/CatalogItem.md
226
+ - docs/CatalogItemModifierListInfo.md
227
+ - docs/CatalogItemProductType.md
228
+ - docs/CatalogItemVariation.md
229
+ - docs/CatalogModifier.md
230
+ - docs/CatalogModifierList.md
231
+ - docs/CatalogModifierListSelectionType.md
232
+ - docs/CatalogModifierOverride.md
233
+ - docs/CatalogObject.md
234
+ - docs/CatalogObjectBatch.md
235
+ - docs/CatalogObjectType.md
236
+ - docs/CatalogPricingType.md
237
+ - docs/CatalogQuery.md
238
+ - docs/CatalogQueryExact.md
239
+ - docs/CatalogQueryItemsForModifierList.md
240
+ - docs/CatalogQueryItemsForTax.md
241
+ - docs/CatalogQueryPrefix.md
242
+ - docs/CatalogQueryRange.md
243
+ - docs/CatalogQuerySortedAttribute.md
244
+ - docs/CatalogQueryText.md
245
+ - docs/CatalogTax.md
246
+ - docs/CatalogV1Id.md
211
247
  - docs/ChargeRequest.md
212
248
  - docs/ChargeResponse.md
213
249
  - docs/Checkout.md
@@ -219,7 +255,6 @@ files:
219
255
  - docs/CreateCustomerCardResponse.md
220
256
  - docs/CreateCustomerRequest.md
221
257
  - docs/CreateCustomerResponse.md
222
- - docs/CreateOrderRequest.md
223
258
  - docs/CreateOrderRequestLineItem.md
224
259
  - docs/CreateOrderRequestOrder.md
225
260
  - docs/CreateRefundRequest.md
@@ -229,6 +264,8 @@ files:
229
264
  - docs/CustomerGroupInfo.md
230
265
  - docs/CustomerPreferences.md
231
266
  - docs/CustomersApi.md
267
+ - docs/DeleteCatalogObjectRequest.md
268
+ - docs/DeleteCatalogObjectResponse.md
232
269
  - docs/DeleteCustomerCardRequest.md
233
270
  - docs/DeleteCustomerCardResponse.md
234
271
  - docs/DeleteCustomerRequest.md
@@ -237,6 +274,10 @@ files:
237
274
  - docs/Error.md
238
275
  - docs/ErrorCategory.md
239
276
  - docs/ErrorCode.md
277
+ - docs/InventoryAlertType.md
278
+ - docs/ItemVariationLocationOverrides.md
279
+ - docs/ListCatalogRequest.md
280
+ - docs/ListCatalogResponse.md
240
281
  - docs/ListCustomersRequest.md
241
282
  - docs/ListCustomersResponse.md
242
283
  - docs/ListLocationsRequest.md
@@ -253,11 +294,17 @@ files:
253
294
  - docs/OrderLineItem.md
254
295
  - docs/Refund.md
255
296
  - docs/RefundStatus.md
297
+ - docs/RetrieveCatalogObjectRequest.md
298
+ - docs/RetrieveCatalogObjectResponse.md
256
299
  - docs/RetrieveCustomerRequest.md
257
300
  - docs/RetrieveCustomerResponse.md
258
301
  - docs/RetrieveTransactionRequest.md
259
302
  - docs/RetrieveTransactionResponse.md
303
+ - docs/SearchCatalogObjectsRequest.md
304
+ - docs/SearchCatalogObjectsResponse.md
260
305
  - docs/SortOrder.md
306
+ - docs/TaxCalculationPhase.md
307
+ - docs/TaxInclusionType.md
261
308
  - docs/Tender.md
262
309
  - docs/TenderCardDetails.md
263
310
  - docs/TenderCardDetailsEntryMethod.md
@@ -269,6 +316,12 @@ files:
269
316
  - docs/TransactionsApi.md
270
317
  - docs/UpdateCustomerRequest.md
271
318
  - docs/UpdateCustomerResponse.md
319
+ - docs/UpdateItemModifierListsRequest.md
320
+ - docs/UpdateItemModifierListsResponse.md
321
+ - docs/UpdateItemTaxesRequest.md
322
+ - docs/UpdateItemTaxesResponse.md
323
+ - docs/UpsertCatalogObjectRequest.md
324
+ - docs/UpsertCatalogObjectResponse.md
272
325
  - docs/V1AdjustInventoryRequest.md
273
326
  - docs/V1BankAccount.md
274
327
  - docs/V1CashDrawerEvent.md
@@ -284,7 +337,6 @@ files:
284
337
  - docs/V1Item.md
285
338
  - docs/V1ItemImage.md
286
339
  - docs/V1ItemsApi.md
287
- - docs/V1LocationApi.md
288
340
  - docs/V1LocationsApi.md
289
341
  - docs/V1Merchant.md
290
342
  - docs/V1MerchantLocationDetails.md
@@ -314,9 +366,8 @@ files:
314
366
  - docs/V1Variation.md
315
367
  - docs/VoidTransactionRequest.md
316
368
  - docs/VoidTransactionResponse.md
317
- - lib/.DS_Store
318
369
  - lib/square_connect.rb
319
- - lib/square_connect/.DS_Store
370
+ - lib/square_connect/api/catalog_api.rb
320
371
  - lib/square_connect/api/checkout_api.rb
321
372
  - lib/square_connect/api/customers_api.rb
322
373
  - lib/square_connect/api/locations_api.rb
@@ -329,10 +380,45 @@ files:
329
380
  - lib/square_connect/api_error.rb
330
381
  - lib/square_connect/configuration.rb
331
382
  - lib/square_connect/models/address.rb
383
+ - lib/square_connect/models/batch_delete_catalog_objects_request.rb
384
+ - lib/square_connect/models/batch_delete_catalog_objects_response.rb
385
+ - lib/square_connect/models/batch_retrieve_catalog_objects_request.rb
386
+ - lib/square_connect/models/batch_retrieve_catalog_objects_response.rb
387
+ - lib/square_connect/models/batch_upsert_catalog_objects_request.rb
388
+ - lib/square_connect/models/batch_upsert_catalog_objects_response.rb
332
389
  - lib/square_connect/models/capture_transaction_request.rb
333
390
  - lib/square_connect/models/capture_transaction_response.rb
334
391
  - lib/square_connect/models/card.rb
335
392
  - lib/square_connect/models/card_brand.rb
393
+ - lib/square_connect/models/catalog_category.rb
394
+ - lib/square_connect/models/catalog_discount.rb
395
+ - lib/square_connect/models/catalog_discount_type.rb
396
+ - lib/square_connect/models/catalog_id_mapping.rb
397
+ - lib/square_connect/models/catalog_info_request.rb
398
+ - lib/square_connect/models/catalog_info_response.rb
399
+ - lib/square_connect/models/catalog_info_response_limits.rb
400
+ - lib/square_connect/models/catalog_item.rb
401
+ - lib/square_connect/models/catalog_item_modifier_list_info.rb
402
+ - lib/square_connect/models/catalog_item_product_type.rb
403
+ - lib/square_connect/models/catalog_item_variation.rb
404
+ - lib/square_connect/models/catalog_modifier.rb
405
+ - lib/square_connect/models/catalog_modifier_list.rb
406
+ - lib/square_connect/models/catalog_modifier_list_selection_type.rb
407
+ - lib/square_connect/models/catalog_modifier_override.rb
408
+ - lib/square_connect/models/catalog_object.rb
409
+ - lib/square_connect/models/catalog_object_batch.rb
410
+ - lib/square_connect/models/catalog_object_type.rb
411
+ - lib/square_connect/models/catalog_pricing_type.rb
412
+ - lib/square_connect/models/catalog_query.rb
413
+ - lib/square_connect/models/catalog_query_exact.rb
414
+ - lib/square_connect/models/catalog_query_items_for_modifier_list.rb
415
+ - lib/square_connect/models/catalog_query_items_for_tax.rb
416
+ - lib/square_connect/models/catalog_query_prefix.rb
417
+ - lib/square_connect/models/catalog_query_range.rb
418
+ - lib/square_connect/models/catalog_query_sorted_attribute.rb
419
+ - lib/square_connect/models/catalog_query_text.rb
420
+ - lib/square_connect/models/catalog_tax.rb
421
+ - lib/square_connect/models/catalog_v1_id.rb
336
422
  - lib/square_connect/models/charge_request.rb
337
423
  - lib/square_connect/models/charge_response.rb
338
424
  - lib/square_connect/models/checkout.rb
@@ -343,7 +429,6 @@ files:
343
429
  - lib/square_connect/models/create_customer_card_response.rb
344
430
  - lib/square_connect/models/create_customer_request.rb
345
431
  - lib/square_connect/models/create_customer_response.rb
346
- - lib/square_connect/models/create_order_request.rb
347
432
  - lib/square_connect/models/create_order_request_line_item.rb
348
433
  - lib/square_connect/models/create_order_request_order.rb
349
434
  - lib/square_connect/models/create_refund_request.rb
@@ -352,6 +437,8 @@ files:
352
437
  - lib/square_connect/models/customer.rb
353
438
  - lib/square_connect/models/customer_group_info.rb
354
439
  - lib/square_connect/models/customer_preferences.rb
440
+ - lib/square_connect/models/delete_catalog_object_request.rb
441
+ - lib/square_connect/models/delete_catalog_object_response.rb
355
442
  - lib/square_connect/models/delete_customer_card_request.rb
356
443
  - lib/square_connect/models/delete_customer_card_response.rb
357
444
  - lib/square_connect/models/delete_customer_request.rb
@@ -360,6 +447,10 @@ files:
360
447
  - lib/square_connect/models/error.rb
361
448
  - lib/square_connect/models/error_category.rb
362
449
  - lib/square_connect/models/error_code.rb
450
+ - lib/square_connect/models/inventory_alert_type.rb
451
+ - lib/square_connect/models/item_variation_location_overrides.rb
452
+ - lib/square_connect/models/list_catalog_request.rb
453
+ - lib/square_connect/models/list_catalog_response.rb
363
454
  - lib/square_connect/models/list_customers_request.rb
364
455
  - lib/square_connect/models/list_customers_response.rb
365
456
  - lib/square_connect/models/list_locations_request.rb
@@ -375,11 +466,17 @@ files:
375
466
  - lib/square_connect/models/order_line_item.rb
376
467
  - lib/square_connect/models/refund.rb
377
468
  - lib/square_connect/models/refund_status.rb
469
+ - lib/square_connect/models/retrieve_catalog_object_request.rb
470
+ - lib/square_connect/models/retrieve_catalog_object_response.rb
378
471
  - lib/square_connect/models/retrieve_customer_request.rb
379
472
  - lib/square_connect/models/retrieve_customer_response.rb
380
473
  - lib/square_connect/models/retrieve_transaction_request.rb
381
474
  - lib/square_connect/models/retrieve_transaction_response.rb
475
+ - lib/square_connect/models/search_catalog_objects_request.rb
476
+ - lib/square_connect/models/search_catalog_objects_response.rb
382
477
  - lib/square_connect/models/sort_order.rb
478
+ - lib/square_connect/models/tax_calculation_phase.rb
479
+ - lib/square_connect/models/tax_inclusion_type.rb
383
480
  - lib/square_connect/models/tender.rb
384
481
  - lib/square_connect/models/tender_card_details.rb
385
482
  - lib/square_connect/models/tender_card_details_entry_method.rb
@@ -390,6 +487,12 @@ files:
390
487
  - lib/square_connect/models/transaction_product.rb
391
488
  - lib/square_connect/models/update_customer_request.rb
392
489
  - lib/square_connect/models/update_customer_response.rb
490
+ - lib/square_connect/models/update_item_modifier_lists_request.rb
491
+ - lib/square_connect/models/update_item_modifier_lists_response.rb
492
+ - lib/square_connect/models/update_item_taxes_request.rb
493
+ - lib/square_connect/models/update_item_taxes_response.rb
494
+ - lib/square_connect/models/upsert_catalog_object_request.rb
495
+ - lib/square_connect/models/upsert_catalog_object_response.rb
393
496
  - lib/square_connect/models/v1_adjust_inventory_request.rb
394
497
  - lib/square_connect/models/v1_bank_account.rb
395
498
  - lib/square_connect/models/v1_cash_drawer_event.rb
@@ -431,7 +534,7 @@ files:
431
534
  - lib/square_connect/models/void_transaction_request.rb
432
535
  - lib/square_connect/models/void_transaction_response.rb
433
536
  - lib/square_connect/version.rb
434
- - spec/.DS_Store
537
+ - spec/api/catalog_api_spec.rb
435
538
  - spec/api/checkout_api_spec.rb
436
539
  - spec/api/customers_api_spec.rb
437
540
  - spec/api/locations_api_spec.rb
@@ -443,10 +546,45 @@ files:
443
546
  - spec/api_client_spec.rb
444
547
  - spec/configuration_spec.rb
445
548
  - spec/models/address_spec.rb
549
+ - spec/models/batch_delete_catalog_objects_request_spec.rb
550
+ - spec/models/batch_delete_catalog_objects_response_spec.rb
551
+ - spec/models/batch_retrieve_catalog_objects_request_spec.rb
552
+ - spec/models/batch_retrieve_catalog_objects_response_spec.rb
553
+ - spec/models/batch_upsert_catalog_objects_request_spec.rb
554
+ - spec/models/batch_upsert_catalog_objects_response_spec.rb
446
555
  - spec/models/capture_transaction_request_spec.rb
447
556
  - spec/models/capture_transaction_response_spec.rb
448
557
  - spec/models/card_brand_spec.rb
449
558
  - spec/models/card_spec.rb
559
+ - spec/models/catalog_category_spec.rb
560
+ - spec/models/catalog_discount_spec.rb
561
+ - spec/models/catalog_discount_type_spec.rb
562
+ - spec/models/catalog_id_mapping_spec.rb
563
+ - spec/models/catalog_info_request_spec.rb
564
+ - spec/models/catalog_info_response_limits_spec.rb
565
+ - spec/models/catalog_info_response_spec.rb
566
+ - spec/models/catalog_item_modifier_list_info_spec.rb
567
+ - spec/models/catalog_item_product_type_spec.rb
568
+ - spec/models/catalog_item_spec.rb
569
+ - spec/models/catalog_item_variation_spec.rb
570
+ - spec/models/catalog_modifier_list_selection_type_spec.rb
571
+ - spec/models/catalog_modifier_list_spec.rb
572
+ - spec/models/catalog_modifier_override_spec.rb
573
+ - spec/models/catalog_modifier_spec.rb
574
+ - spec/models/catalog_object_batch_spec.rb
575
+ - spec/models/catalog_object_spec.rb
576
+ - spec/models/catalog_object_type_spec.rb
577
+ - spec/models/catalog_pricing_type_spec.rb
578
+ - spec/models/catalog_query_exact_spec.rb
579
+ - spec/models/catalog_query_items_for_modifier_list_spec.rb
580
+ - spec/models/catalog_query_items_for_tax_spec.rb
581
+ - spec/models/catalog_query_prefix_spec.rb
582
+ - spec/models/catalog_query_range_spec.rb
583
+ - spec/models/catalog_query_sorted_attribute_spec.rb
584
+ - spec/models/catalog_query_spec.rb
585
+ - spec/models/catalog_query_text_spec.rb
586
+ - spec/models/catalog_tax_spec.rb
587
+ - spec/models/catalog_v1_id_spec.rb
450
588
  - spec/models/charge_request_spec.rb
451
589
  - spec/models/charge_response_spec.rb
452
590
  - spec/models/checkout_spec.rb
@@ -459,13 +597,14 @@ files:
459
597
  - spec/models/create_customer_response_spec.rb
460
598
  - spec/models/create_order_request_line_item_spec.rb
461
599
  - spec/models/create_order_request_order_spec.rb
462
- - spec/models/create_order_request_spec.rb
463
600
  - spec/models/create_refund_request_spec.rb
464
601
  - spec/models/create_refund_response_spec.rb
465
602
  - spec/models/currency_spec.rb
466
603
  - spec/models/customer_group_info_spec.rb
467
604
  - spec/models/customer_preferences_spec.rb
468
605
  - spec/models/customer_spec.rb
606
+ - spec/models/delete_catalog_object_request_spec.rb
607
+ - spec/models/delete_catalog_object_response_spec.rb
469
608
  - spec/models/delete_customer_card_request_spec.rb
470
609
  - spec/models/delete_customer_card_response_spec.rb
471
610
  - spec/models/delete_customer_request_spec.rb
@@ -474,6 +613,10 @@ files:
474
613
  - spec/models/error_category_spec.rb
475
614
  - spec/models/error_code_spec.rb
476
615
  - spec/models/error_spec.rb
616
+ - spec/models/inventory_alert_type_spec.rb
617
+ - spec/models/item_variation_location_overrides_spec.rb
618
+ - spec/models/list_catalog_request_spec.rb
619
+ - spec/models/list_catalog_response_spec.rb
477
620
  - spec/models/list_customers_request_spec.rb
478
621
  - spec/models/list_customers_response_spec.rb
479
622
  - spec/models/list_locations_request_spec.rb
@@ -489,11 +632,17 @@ files:
489
632
  - spec/models/order_spec.rb
490
633
  - spec/models/refund_spec.rb
491
634
  - spec/models/refund_status_spec.rb
635
+ - spec/models/retrieve_catalog_object_request_spec.rb
636
+ - spec/models/retrieve_catalog_object_response_spec.rb
492
637
  - spec/models/retrieve_customer_request_spec.rb
493
638
  - spec/models/retrieve_customer_response_spec.rb
494
639
  - spec/models/retrieve_transaction_request_spec.rb
495
640
  - spec/models/retrieve_transaction_response_spec.rb
641
+ - spec/models/search_catalog_objects_request_spec.rb
642
+ - spec/models/search_catalog_objects_response_spec.rb
496
643
  - spec/models/sort_order_spec.rb
644
+ - spec/models/tax_calculation_phase_spec.rb
645
+ - spec/models/tax_inclusion_type_spec.rb
497
646
  - spec/models/tender_card_details_entry_method_spec.rb
498
647
  - spec/models/tender_card_details_spec.rb
499
648
  - spec/models/tender_card_details_status_spec.rb
@@ -504,6 +653,12 @@ files:
504
653
  - spec/models/transaction_spec.rb
505
654
  - spec/models/update_customer_request_spec.rb
506
655
  - spec/models/update_customer_response_spec.rb
656
+ - spec/models/update_item_modifier_lists_request_spec.rb
657
+ - spec/models/update_item_modifier_lists_response_spec.rb
658
+ - spec/models/update_item_taxes_request_spec.rb
659
+ - spec/models/update_item_taxes_response_spec.rb
660
+ - spec/models/upsert_catalog_object_request_spec.rb
661
+ - spec/models/upsert_catalog_object_response_spec.rb
507
662
  - spec/models/v1_adjust_inventory_request_spec.rb
508
663
  - spec/models/v1_bank_account_spec.rb
509
664
  - spec/models/v1_cash_drawer_event_spec.rb
@@ -545,9 +700,6 @@ files:
545
700
  - spec/models/void_transaction_request_spec.rb
546
701
  - spec/models/void_transaction_response_spec.rb
547
702
  - 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
551
703
  - square_connect.gemspec
552
704
  - travis-ci/accounts.enc
553
705
  homepage: https://github.com/square/connect-ruby-sdk
@@ -565,16 +717,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
565
717
  version: '1.9'
566
718
  required_rubygems_version: !ruby/object:Gem::Requirement
567
719
  requirements:
568
- - - ">"
720
+ - - ">="
569
721
  - !ruby/object:Gem::Version
570
- version: 1.3.1
722
+ version: '0'
571
723
  requirements: []
572
724
  rubyforge_project:
573
- rubygems_version: 2.6.10
725
+ rubygems_version: 2.4.5
574
726
  signing_key:
575
727
  specification_version: 4
576
728
  summary: Square Connect API Ruby Gem
577
729
  test_files:
730
+ - spec/api/catalog_api_spec.rb
578
731
  - spec/api/checkout_api_spec.rb
579
732
  - spec/api/customers_api_spec.rb
580
733
  - spec/api/locations_api_spec.rb
@@ -586,10 +739,45 @@ test_files:
586
739
  - spec/api_client_spec.rb
587
740
  - spec/configuration_spec.rb
588
741
  - spec/models/address_spec.rb
742
+ - spec/models/batch_delete_catalog_objects_request_spec.rb
743
+ - spec/models/batch_delete_catalog_objects_response_spec.rb
744
+ - spec/models/batch_retrieve_catalog_objects_request_spec.rb
745
+ - spec/models/batch_retrieve_catalog_objects_response_spec.rb
746
+ - spec/models/batch_upsert_catalog_objects_request_spec.rb
747
+ - spec/models/batch_upsert_catalog_objects_response_spec.rb
589
748
  - spec/models/capture_transaction_request_spec.rb
590
749
  - spec/models/capture_transaction_response_spec.rb
591
750
  - spec/models/card_brand_spec.rb
592
751
  - spec/models/card_spec.rb
752
+ - spec/models/catalog_category_spec.rb
753
+ - spec/models/catalog_discount_spec.rb
754
+ - spec/models/catalog_discount_type_spec.rb
755
+ - spec/models/catalog_id_mapping_spec.rb
756
+ - spec/models/catalog_info_request_spec.rb
757
+ - spec/models/catalog_info_response_limits_spec.rb
758
+ - spec/models/catalog_info_response_spec.rb
759
+ - spec/models/catalog_item_modifier_list_info_spec.rb
760
+ - spec/models/catalog_item_product_type_spec.rb
761
+ - spec/models/catalog_item_spec.rb
762
+ - spec/models/catalog_item_variation_spec.rb
763
+ - spec/models/catalog_modifier_list_selection_type_spec.rb
764
+ - spec/models/catalog_modifier_list_spec.rb
765
+ - spec/models/catalog_modifier_override_spec.rb
766
+ - spec/models/catalog_modifier_spec.rb
767
+ - spec/models/catalog_object_batch_spec.rb
768
+ - spec/models/catalog_object_spec.rb
769
+ - spec/models/catalog_object_type_spec.rb
770
+ - spec/models/catalog_pricing_type_spec.rb
771
+ - spec/models/catalog_query_exact_spec.rb
772
+ - spec/models/catalog_query_items_for_modifier_list_spec.rb
773
+ - spec/models/catalog_query_items_for_tax_spec.rb
774
+ - spec/models/catalog_query_prefix_spec.rb
775
+ - spec/models/catalog_query_range_spec.rb
776
+ - spec/models/catalog_query_sorted_attribute_spec.rb
777
+ - spec/models/catalog_query_spec.rb
778
+ - spec/models/catalog_query_text_spec.rb
779
+ - spec/models/catalog_tax_spec.rb
780
+ - spec/models/catalog_v1_id_spec.rb
593
781
  - spec/models/charge_request_spec.rb
594
782
  - spec/models/charge_response_spec.rb
595
783
  - spec/models/checkout_spec.rb
@@ -602,13 +790,14 @@ test_files:
602
790
  - spec/models/create_customer_response_spec.rb
603
791
  - spec/models/create_order_request_line_item_spec.rb
604
792
  - spec/models/create_order_request_order_spec.rb
605
- - spec/models/create_order_request_spec.rb
606
793
  - spec/models/create_refund_request_spec.rb
607
794
  - spec/models/create_refund_response_spec.rb
608
795
  - spec/models/currency_spec.rb
609
796
  - spec/models/customer_group_info_spec.rb
610
797
  - spec/models/customer_preferences_spec.rb
611
798
  - spec/models/customer_spec.rb
799
+ - spec/models/delete_catalog_object_request_spec.rb
800
+ - spec/models/delete_catalog_object_response_spec.rb
612
801
  - spec/models/delete_customer_card_request_spec.rb
613
802
  - spec/models/delete_customer_card_response_spec.rb
614
803
  - spec/models/delete_customer_request_spec.rb
@@ -617,6 +806,10 @@ test_files:
617
806
  - spec/models/error_category_spec.rb
618
807
  - spec/models/error_code_spec.rb
619
808
  - spec/models/error_spec.rb
809
+ - spec/models/inventory_alert_type_spec.rb
810
+ - spec/models/item_variation_location_overrides_spec.rb
811
+ - spec/models/list_catalog_request_spec.rb
812
+ - spec/models/list_catalog_response_spec.rb
620
813
  - spec/models/list_customers_request_spec.rb
621
814
  - spec/models/list_customers_response_spec.rb
622
815
  - spec/models/list_locations_request_spec.rb
@@ -632,11 +825,17 @@ test_files:
632
825
  - spec/models/order_spec.rb
633
826
  - spec/models/refund_spec.rb
634
827
  - spec/models/refund_status_spec.rb
828
+ - spec/models/retrieve_catalog_object_request_spec.rb
829
+ - spec/models/retrieve_catalog_object_response_spec.rb
635
830
  - spec/models/retrieve_customer_request_spec.rb
636
831
  - spec/models/retrieve_customer_response_spec.rb
637
832
  - spec/models/retrieve_transaction_request_spec.rb
638
833
  - spec/models/retrieve_transaction_response_spec.rb
834
+ - spec/models/search_catalog_objects_request_spec.rb
835
+ - spec/models/search_catalog_objects_response_spec.rb
639
836
  - spec/models/sort_order_spec.rb
837
+ - spec/models/tax_calculation_phase_spec.rb
838
+ - spec/models/tax_inclusion_type_spec.rb
640
839
  - spec/models/tender_card_details_entry_method_spec.rb
641
840
  - spec/models/tender_card_details_spec.rb
642
841
  - spec/models/tender_card_details_status_spec.rb
@@ -647,6 +846,12 @@ test_files:
647
846
  - spec/models/transaction_spec.rb
648
847
  - spec/models/update_customer_request_spec.rb
649
848
  - spec/models/update_customer_response_spec.rb
849
+ - spec/models/update_item_modifier_lists_request_spec.rb
850
+ - spec/models/update_item_modifier_lists_response_spec.rb
851
+ - spec/models/update_item_taxes_request_spec.rb
852
+ - spec/models/update_item_taxes_response_spec.rb
853
+ - spec/models/upsert_catalog_object_request_spec.rb
854
+ - spec/models/upsert_catalog_object_response_spec.rb
650
855
  - spec/models/v1_adjust_inventory_request_spec.rb
651
856
  - spec/models/v1_bank_account_spec.rb
652
857
  - spec/models/v1_cash_drawer_event_spec.rb