storecove 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -0
  3. data/Gemfile.lock +69 -0
  4. data/lib/storecove.rb +20 -1
  5. data/lib/storecove/api/invoice_submissions_api.rb +9 -4
  6. data/lib/storecove/api/legal_entities_api.rb +248 -0
  7. data/lib/storecove/api/peppol_identifiers_api.rb +156 -0
  8. data/lib/storecove/api/purchase_invoices_api.rb +133 -0
  9. data/lib/storecove/api/shop_account_requests_api.rb +24 -11
  10. data/lib/storecove/api/shop_accounts_api.rb +25 -12
  11. data/lib/storecove/api/shops_api.rb +2 -1
  12. data/lib/storecove/api_client.rb +39 -26
  13. data/lib/storecove/api_error.rb +1 -0
  14. data/lib/storecove/configuration.rb +7 -0
  15. data/lib/storecove/models/accounting_cost_code.rb +2 -1
  16. data/lib/storecove/models/accounting_customer_party.rb +2 -1
  17. data/lib/storecove/models/accounting_details.rb +219 -0
  18. data/lib/storecove/models/accounting_details_1.rb +219 -0
  19. data/lib/storecove/models/address.rb +2 -1
  20. data/lib/storecove/models/contact.rb +2 -6
  21. data/lib/storecove/models/country.rb +10 -0
  22. data/lib/storecove/models/currency_code.rb +10 -0
  23. data/lib/storecove/models/error_model.rb +2 -1
  24. data/lib/storecove/models/invoice.rb +16 -3
  25. data/lib/storecove/models/invoice_line.rb +251 -6
  26. data/lib/storecove/models/invoice_recipient.rb +24 -11
  27. data/lib/storecove/models/invoice_recipient_preflight.rb +21 -19
  28. data/lib/storecove/models/invoice_submission.rb +20 -9
  29. data/lib/storecove/models/invoice_submission_result.rb +2 -1
  30. data/lib/storecove/models/legal_entity.rb +164 -25
  31. data/lib/storecove/models/legal_entity_create.rb +417 -0
  32. data/lib/storecove/models/legal_entity_identifier.rb +2 -1
  33. data/lib/storecove/models/legal_entity_shop.rb +253 -0
  34. data/lib/storecove/models/legal_entity_update.rb +380 -0
  35. data/lib/storecove/models/logos.rb +2 -1
  36. data/lib/storecove/models/party.rb +7 -1
  37. data/lib/storecove/models/payment_means.rb +199 -0
  38. data/lib/storecove/models/peppol_identifier.rb +284 -0
  39. data/lib/storecove/models/peppol_identifier_create.rb +308 -0
  40. data/lib/storecove/models/preflight_invoice_recipient_result.rb +2 -1
  41. data/lib/storecove/models/public_identifier.rb +3 -2
  42. data/lib/storecove/models/public_identifiers.rb +2 -1
  43. data/lib/storecove/models/purchase_invoice.rb +463 -0
  44. data/lib/storecove/models/purchase_invoice_invoice_line.rb +247 -0
  45. data/lib/storecove/models/purchase_invoice_sender.rb +280 -0
  46. data/lib/storecove/models/purchase_invoice_sender_billing_contact.rb +209 -0
  47. data/lib/storecove/models/purchase_invoice_ubl.rb +209 -0
  48. data/lib/storecove/models/shop.rb +3 -2
  49. data/lib/storecove/models/shop_account_input.rb +2 -1
  50. data/lib/storecove/models/shop_account_request_input.rb +2 -1
  51. data/lib/storecove/models/shop_account_request_result.rb +2 -1
  52. data/lib/storecove/models/shop_account_request_update.rb +2 -1
  53. data/lib/storecove/models/shop_account_result.rb +2 -1
  54. data/lib/storecove/models/shop_account_update.rb +2 -1
  55. data/lib/storecove/models/tax.rb +2 -1
  56. data/lib/storecove/models/vat_details.rb +209 -0
  57. data/lib/storecove/models/widget_identification.rb +228 -0
  58. data/lib/storecove/version.rb +2 -1
  59. data/spec/api/invoice_submissions_api_spec.rb +9 -20
  60. data/spec/api/legal_entities_api_spec.rb +84 -0
  61. data/spec/api/peppol_identifiers_api_spec.rb +63 -0
  62. data/spec/api/purchase_invoices_api_spec.rb +59 -0
  63. data/spec/api/shop_account_requests_api_spec.rb +30 -41
  64. data/spec/api/shop_accounts_api_spec.rb +34 -45
  65. data/spec/api/shops_api_spec.rb +6 -17
  66. data/spec/api_client_spec.rb +2 -13
  67. data/spec/configuration_spec.rb +2 -13
  68. data/spec/models/accounting_cost_code_spec.rb +3 -14
  69. data/spec/models/accounting_customer_party_spec.rb +3 -14
  70. data/spec/models/accounting_details_1_spec.rb +60 -0
  71. data/spec/models/accounting_details_spec.rb +60 -0
  72. data/spec/models/{party_address_spec.rb → address_spec.rb} +8 -19
  73. data/spec/models/{party_contact_spec.rb → contact_spec.rb} +8 -19
  74. data/spec/models/country_spec.rb +3 -14
  75. data/spec/models/currency_code_spec.rb +3 -14
  76. data/spec/models/error_model_spec.rb +3 -14
  77. data/spec/models/invoice_line_spec.rb +69 -14
  78. data/spec/models/invoice_recipient_preflight_spec.rb +10 -15
  79. data/spec/models/invoice_recipient_spec.rb +15 -14
  80. data/spec/models/{invoice_submission_invoice_spec.rb → invoice_spec.rb} +20 -19
  81. data/spec/models/invoice_submission_result_spec.rb +4 -15
  82. data/spec/models/invoice_submission_spec.rb +4 -15
  83. data/spec/models/legal_entity_create_spec.rb +78 -0
  84. data/spec/models/legal_entity_identifier_spec.rb +3 -14
  85. data/spec/models/legal_entity_shop_spec.rb +84 -0
  86. data/spec/models/legal_entity_spec.rb +7 -18
  87. data/spec/models/legal_entity_update_spec.rb +78 -0
  88. data/spec/models/logos_spec.rb +3 -14
  89. data/spec/models/party_spec.rb +3 -14
  90. data/spec/models/payment_means_spec.rb +48 -0
  91. data/spec/models/peppol_identifier_create_spec.rb +54 -0
  92. data/spec/models/peppol_identifier_spec.rb +54 -0
  93. data/spec/models/preflight_invoice_recipient_result_spec.rb +3 -14
  94. data/spec/models/public_identifier_spec.rb +3 -14
  95. data/spec/models/public_identifiers_spec.rb +3 -14
  96. data/spec/models/purchase_invoice_invoice_line_spec.rb +78 -0
  97. data/spec/models/purchase_invoice_sender_billing_contact_spec.rb +54 -0
  98. data/spec/models/purchase_invoice_sender_spec.rb +96 -0
  99. data/spec/models/purchase_invoice_spec.rb +188 -0
  100. data/spec/models/purchase_invoice_ubl_spec.rb +54 -0
  101. data/spec/models/shop_account_input_spec.rb +3 -14
  102. data/spec/models/shop_account_request_input_spec.rb +3 -14
  103. data/spec/models/{shop_account_request_spec.rb → shop_account_request_result_spec.rb} +8 -19
  104. data/spec/models/shop_account_request_update_spec.rb +3 -14
  105. data/spec/models/shop_account_result_spec.rb +3 -14
  106. data/spec/models/shop_account_update_spec.rb +3 -14
  107. data/spec/models/shop_spec.rb +3 -14
  108. data/spec/models/{invoice_line_tax_spec.rb → tax_spec.rb} +8 -19
  109. data/spec/models/vat_details_spec.rb +54 -0
  110. data/spec/models/widget_identification_spec.rb +48 -0
  111. data/spec/spec_helper.rb +2 -13
  112. data/storecove.gemspec +10 -19
  113. metadata +83 -28
@@ -6,9 +6,10 @@
6
6
  OpenAPI spec version: 2.0.1
7
7
  Contact: apisupport@storecove.nl
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
9
10
 
10
11
  =end
11
12
 
12
13
  module StorecoveApi
13
- VERSION = "1.0.9"
14
+ VERSION = "1.0.10"
14
15
  end
@@ -3,21 +3,10 @@
3
3
 
4
4
  #Storecove API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.0.1
7
7
  Contact: apisupport@storecove.nl
8
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.
9
+ Swagger Codegen version: 2.3.1
21
10
 
22
11
  =end
23
12
 
@@ -38,30 +27,30 @@ describe 'InvoiceSubmissionsApi' do
38
27
  end
39
28
 
40
29
  describe 'test an instance of InvoiceSubmissionsApi' do
41
- it 'should create an instact of InvoiceSubmissionsApi' do
30
+ it 'should create an instance of InvoiceSubmissionsApi' do
42
31
  expect(@instance).to be_instance_of(StorecoveApi::InvoiceSubmissionsApi)
43
32
  end
44
33
  end
45
34
 
46
- # unit tests for create
35
+ # unit tests for create_invoice_submission
47
36
  # Submit a new invoice
48
- # Submit an invoice for delivery. include::examples/invoice_submissions/create.adoc[]
37
+ # Submit an invoice for delivery. include::examples/invoice_submissions/create_invoice_submission/tabs.adoc[]
49
38
  # @param invoice_submission Invoice to submit
50
39
  # @param [Hash] opts the optional parameters
51
40
  # @return [InvoiceSubmissionResult]
52
- describe 'create test' do
41
+ describe 'create_invoice_submission test' do
53
42
  it "should work" do
54
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
44
  end
56
45
  end
57
46
 
58
- # unit tests for preflight
47
+ # unit tests for preflight_invoice_recipient
59
48
  # Preflight an invoice recipient
60
- # Check whether Storecove can deliver an invoice for a list of ids. include::examples/invoice_submissions/preflight.adoc[]
49
+ # Check whether Storecove can deliver an invoice for a list of ids. include::examples/invoice_submissions/preflight_invoice_recipient/tabs.adoc[]
61
50
  # @param invoice_recipient_preflight The invoice recipient to preflight
62
51
  # @param [Hash] opts the optional parameters
63
52
  # @return [PreflightInvoiceRecipientResult]
64
- describe 'preflight test' do
53
+ describe 'preflight_invoice_recipient test' do
65
54
  it "should work" do
66
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
56
  end
@@ -0,0 +1,84 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.1
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for StorecoveApi::LegalEntitiesApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'LegalEntitiesApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = StorecoveApi::LegalEntitiesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of LegalEntitiesApi' do
30
+ it 'should create an instance of LegalEntitiesApi' do
31
+ expect(@instance).to be_instance_of(StorecoveApi::LegalEntitiesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_legal_entity
36
+ # Create a new LegalEntity
37
+ # Create a new LegalEntity.
38
+ # @param legal_entity LegalEntity to create
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [LegalEntity]
41
+ describe 'create_legal_entity test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_legal_entity
48
+ # Delete LegalEntity
49
+ # Delete a specific LegalEntity.
50
+ # @param id legal_entity id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete_legal_entity 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 get_legal_entity
60
+ # Get LegalEntity
61
+ # Get a specific LegalEntity.
62
+ # @param id legal_entity id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [LegalEntity]
65
+ describe 'get_legal_entity 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
+ # unit tests for update_legal_entity
72
+ # Update LegalEntity
73
+ # Update a specific LegalEntity.
74
+ # @param id legal_entity id
75
+ # @param legal_entity LegalEntity updates
76
+ # @param [Hash] opts the optional parameters
77
+ # @return [LegalEntity]
78
+ describe 'update_legal_entity test' 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
+ end
@@ -0,0 +1,63 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.1
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for StorecoveApi::PeppolIdentifiersApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'PeppolIdentifiersApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = StorecoveApi::PeppolIdentifiersApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PeppolIdentifiersApi' do
30
+ it 'should create an instance of PeppolIdentifiersApi' do
31
+ expect(@instance).to be_instance_of(StorecoveApi::PeppolIdentifiersApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_peppol_identifier
36
+ # Create a new PeppolIdentifier
37
+ # Create a new PeppolIdentifier.
38
+ # @param legal_entity_id The id of the LegalEntity for which to create the PeppolIdentifier
39
+ # @param peppol_identifier PeppolIdentifier to create
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [PeppolIdentifier]
42
+ describe 'create_peppol_identifier test' 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
+ # unit tests for delete_peppol_identifier
49
+ # Delete PeppolIdentifier
50
+ # Delete a PeppolIdentifier.
51
+ # @param legal_entity_id The id of the LegalEntity this PeppolIdentifier belongs to
52
+ # @param superscheme The superscheme of the identifier. Should always be \"iso6523-actorid-upis\".
53
+ # @param scheme PEPPOL identifier scheme id, e.g. \"DE:VAT\". For a full list see <<_company>>.
54
+ # @param identifier PEPPOL identifier
55
+ # @param [Hash] opts the optional parameters
56
+ # @return [nil]
57
+ describe 'delete_peppol_identifier test' do
58
+ it "should work" do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Storecove API
3
+
4
+ #Storecove API
5
+
6
+ OpenAPI spec version: 2.0.1
7
+ Contact: apisupport@storecove.nl
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for StorecoveApi::PurchaseInvoicesApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'PurchaseInvoicesApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = StorecoveApi::PurchaseInvoicesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PurchaseInvoicesApi' do
30
+ it 'should create an instance of PurchaseInvoicesApi' do
31
+ expect(@instance).to be_instance_of(StorecoveApi::PurchaseInvoicesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_invoice
36
+ # Get Invoice
37
+ # Get a specific Invoice.
38
+ # @param guid purchase invoice guid
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [PurchaseInvoice]
41
+ describe 'get_invoice test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for get_invoice_ubl
48
+ # Get Invoice as UBL
49
+ # Get a specific Invoice in UBL form.
50
+ # @param guid purchase invoice guid
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [PurchaseInvoiceUbl]
53
+ describe 'get_invoice_ubl 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
+ end
@@ -3,21 +3,10 @@
3
3
 
4
4
  #Storecove API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.0.1
7
7
  Contact: apisupport@storecove.nl
8
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.
9
+ Swagger Codegen version: 2.3.1
21
10
 
22
11
  =end
23
12
 
@@ -38,67 +27,67 @@ describe 'ShopAccountRequestsApi' do
38
27
  end
39
28
 
40
29
  describe 'test an instance of ShopAccountRequestsApi' do
41
- it 'should create an instact of ShopAccountRequestsApi' do
30
+ it 'should create an instance of ShopAccountRequestsApi' do
42
31
  expect(@instance).to be_instance_of(StorecoveApi::ShopAccountRequestsApi)
43
32
  end
44
33
  end
45
34
 
46
- # unit tests for all
47
- # Get ShopAccountRequests
48
- # Get all ShopAccountRequests
49
- # @param external_user_id Filter by the external_user_id
35
+ # unit tests for create_shop_account_request
36
+ # Create ShopAccountRequest
37
+ # Create a new ShopAccountRequest include::examples/shop_account_requests/create_shop_account_request/tabs.adoc[]
38
+ # @param shop_account_request ShopAccountRequest to add
50
39
  # @param [Hash] opts the optional parameters
51
- # @return [Array<ShopAccountRequest>]
52
- describe 'all test' do
40
+ # @return [ShopAccountRequestResult]
41
+ describe 'create_shop_account_request test' do
53
42
  it "should work" do
54
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
44
  end
56
45
  end
57
46
 
58
- # unit tests for create
59
- # Create ShopAccountRequest
60
- # Create a new ShopAccountRequest
61
- # @param shop_account_request ShopAccountRequest to add
47
+ # unit tests for delete_shop_account_request
48
+ # Delete ShopAccountRequest
49
+ # Delete a specific ShopAccountRequest include::examples/shop_account_requests/delete_shop_account_request/tabs.adoc[]
50
+ # @param id shop_account_request id
62
51
  # @param [Hash] opts the optional parameters
63
- # @return [ShopAccountRequest]
64
- describe 'create test' do
52
+ # @return [nil]
53
+ describe 'delete_shop_account_request test' do
65
54
  it "should work" do
66
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
56
  end
68
57
  end
69
58
 
70
- # unit tests for destroy
71
- # Delete ShopAccountRequest
72
- # Delete a specific ShopAccountRequest
59
+ # unit tests for get_shop_account_request
60
+ # Get ShopAccountRequest
61
+ # Show a specific ShopAccountRequest include::examples/shop_account_requests/get_shop_account_request/tabs.adoc[]
73
62
  # @param id shop_account_request id
74
63
  # @param [Hash] opts the optional parameters
75
- # @return [nil]
76
- describe 'destroy test' do
64
+ # @return [ShopAccountRequestResult]
65
+ describe 'get_shop_account_request test' do
77
66
  it "should work" do
78
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
68
  end
80
69
  end
81
70
 
82
- # unit tests for get
83
- # Show a specific ShopAccountRequest
84
- # Show a specific ShopAccountRequest
85
- # @param id shop_account_request id
71
+ # unit tests for shop_account_requests_index
72
+ # Get ShopAccountRequests
73
+ # Retrieve all active ShopAccountRequests for one of your entities. include::examples/shop_account_requests/shop_account_requests_index/tabs.adoc[]
74
+ # @param external_user_id Filter by the external_user_id
86
75
  # @param [Hash] opts the optional parameters
87
- # @return [ShopAccountRequest]
88
- describe 'get test' do
76
+ # @return [Array<ShopAccountRequestResult>]
77
+ describe 'shop_account_requests_index test' do
89
78
  it "should work" do
90
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
80
  end
92
81
  end
93
82
 
94
- # unit tests for update
83
+ # unit tests for update_shop_account_request
95
84
  # Update ShopAccountRequest
96
- # Update a specific ShopAccountRequest
85
+ # Update a specific ShopAccountRequest include::examples/shop_account_requests/update_shop_account_request/tabs.adoc[]
97
86
  # @param id shop_account_request id
98
87
  # @param shop_account_request ShopAccountRequest updates
99
88
  # @param [Hash] opts the optional parameters
100
- # @return [ShopAccountRequest]
101
- describe 'update test' do
89
+ # @return [ShopAccountRequestResult]
90
+ describe 'update_shop_account_request test' do
102
91
  it "should work" do
103
92
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
93
  end
@@ -3,21 +3,10 @@
3
3
 
4
4
  #Storecove API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.0.1
7
7
  Contact: apisupport@storecove.nl
8
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.
9
+ Swagger Codegen version: 2.3.1
21
10
 
22
11
  =end
23
12
 
@@ -38,78 +27,78 @@ describe 'ShopAccountsApi' do
38
27
  end
39
28
 
40
29
  describe 'test an instance of ShopAccountsApi' do
41
- it 'should create an instact of ShopAccountsApi' do
30
+ it 'should create an instance of ShopAccountsApi' do
42
31
  expect(@instance).to be_instance_of(StorecoveApi::ShopAccountsApi)
43
32
  end
44
33
  end
45
34
 
46
- # unit tests for all
47
- # Get ShopAccounts for an entity
48
- # Retrieve all active ShopAccounts for one of your entities. include::examples/shop_accounts/all.adoc[]
49
- # @param external_user_id Filter by the external_user_id
35
+ # unit tests for create_shop_account
36
+ # Create ShopAccount
37
+ # Create a new ShopAccount. include::examples/shop_accounts/create_shop_account/tabs.adoc[]
38
+ # @param shop_account ShopAccount to add
50
39
  # @param [Hash] opts the optional parameters
51
- # @return [Array<ShopAccountResult>]
52
- describe 'all test' do
40
+ # @return [ShopAccountResult]
41
+ describe 'create_shop_account test' do
53
42
  it "should work" do
54
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
44
  end
56
45
  end
57
46
 
58
- # unit tests for auth_failures
59
- # Get ShopAccounts with authorization failures
60
- # Get ShopAccounts with authorization failures. include::examples/shop_accounts/auth_failures.adoc[]
47
+ # unit tests for delete_shop_account
48
+ # Delete ShopAccount
49
+ # Delete a specific ShopAccount. include::examples/shop_accounts/delete_shop_account/tabs.adoc[]
50
+ # @param id shop_account id
61
51
  # @param [Hash] opts the optional parameters
62
- # @return [Array<ShopAccountResult>]
63
- describe 'auth_failures test' do
52
+ # @return [nil]
53
+ describe 'delete_shop_account test' do
64
54
  it "should work" do
65
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
56
  end
67
57
  end
68
58
 
69
- # unit tests for create
70
- # Create ShopAccount
71
- # Create a new ShopAccount. include::examples/shop_accounts/create.adoc[]
72
- # @param shop_account ShopAccount to add
59
+ # unit tests for get_shop_account
60
+ # Get ShopAccount
61
+ # Get a specific ShopAccount. include::examples/shop_accounts/get_shop_account/tabs.adoc[]
62
+ # @param id shop_account id
73
63
  # @param [Hash] opts the optional parameters
74
64
  # @return [ShopAccountResult]
75
- describe 'create test' do
65
+ describe 'get_shop_account test' do
76
66
  it "should work" do
77
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
68
  end
79
69
  end
80
70
 
81
- # unit tests for destroy
82
- # Delete ShopAccount
83
- #
84
- # @param id shop_account id
71
+ # unit tests for shop_accounts_auth_failures
72
+ # Get ShopAccounts with authorization failures
73
+ # Get ShopAccounts with authorization failures. include::examples/shop_accounts/shop_accounts_auth_failures/tabs.adoc[]
85
74
  # @param [Hash] opts the optional parameters
86
- # @return [nil]
87
- describe 'destroy test' do
75
+ # @return [Array<ShopAccountResult>]
76
+ describe 'shop_accounts_auth_failures test' do
88
77
  it "should work" do
89
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
79
  end
91
80
  end
92
81
 
93
- # unit tests for get
94
- # Get ShopAccount
95
- # Get a specific ShopAccount. include::examples/shop_accounts/get.adoc[]
96
- # @param id shop_account id
82
+ # unit tests for shop_accounts_index
83
+ # Get ShopAccounts for an entity
84
+ # Retrieve all active ShopAccounts for one of your entities. include::examples/shop_accounts/shop_accounts_index/tabs.adoc[]
85
+ # @param external_user_id Filter by the external_user_id
97
86
  # @param [Hash] opts the optional parameters
98
- # @return [ShopAccountResult]
99
- describe 'get test' do
87
+ # @return [Array<ShopAccountResult>]
88
+ describe 'shop_accounts_index test' do
100
89
  it "should work" do
101
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
91
  end
103
92
  end
104
93
 
105
- # unit tests for update
94
+ # unit tests for update_shop_account
106
95
  # Update ShopAccount
107
- # Update a specific ShopAccount. include::examples/shop_accounts/update.adoc[]
96
+ # Update a specific ShopAccount. include::examples/shop_accounts/update_shop_account/tabs.adoc[]
108
97
  # @param id shop_account id
109
98
  # @param shop_account ShopAccount updates
110
99
  # @param [Hash] opts the optional parameters
111
100
  # @return [ShopAccountResult]
112
- describe 'update test' do
101
+ describe 'update_shop_account test' do
113
102
  it "should work" do
114
103
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
104
  end