storecove 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/Gemfile.lock +69 -0
- data/lib/storecove.rb +20 -1
- data/lib/storecove/api/invoice_submissions_api.rb +9 -4
- data/lib/storecove/api/legal_entities_api.rb +248 -0
- data/lib/storecove/api/peppol_identifiers_api.rb +156 -0
- data/lib/storecove/api/purchase_invoices_api.rb +133 -0
- data/lib/storecove/api/shop_account_requests_api.rb +24 -11
- data/lib/storecove/api/shop_accounts_api.rb +25 -12
- data/lib/storecove/api/shops_api.rb +2 -1
- data/lib/storecove/api_client.rb +39 -26
- data/lib/storecove/api_error.rb +1 -0
- data/lib/storecove/configuration.rb +7 -0
- data/lib/storecove/models/accounting_cost_code.rb +2 -1
- data/lib/storecove/models/accounting_customer_party.rb +2 -1
- data/lib/storecove/models/accounting_details.rb +219 -0
- data/lib/storecove/models/accounting_details_1.rb +219 -0
- data/lib/storecove/models/address.rb +2 -1
- data/lib/storecove/models/contact.rb +2 -6
- data/lib/storecove/models/country.rb +10 -0
- data/lib/storecove/models/currency_code.rb +10 -0
- data/lib/storecove/models/error_model.rb +2 -1
- data/lib/storecove/models/invoice.rb +16 -3
- data/lib/storecove/models/invoice_line.rb +251 -6
- data/lib/storecove/models/invoice_recipient.rb +24 -11
- data/lib/storecove/models/invoice_recipient_preflight.rb +21 -19
- data/lib/storecove/models/invoice_submission.rb +20 -9
- data/lib/storecove/models/invoice_submission_result.rb +2 -1
- data/lib/storecove/models/legal_entity.rb +164 -25
- data/lib/storecove/models/legal_entity_create.rb +417 -0
- data/lib/storecove/models/legal_entity_identifier.rb +2 -1
- data/lib/storecove/models/legal_entity_shop.rb +253 -0
- data/lib/storecove/models/legal_entity_update.rb +380 -0
- data/lib/storecove/models/logos.rb +2 -1
- data/lib/storecove/models/party.rb +7 -1
- data/lib/storecove/models/payment_means.rb +199 -0
- data/lib/storecove/models/peppol_identifier.rb +284 -0
- data/lib/storecove/models/peppol_identifier_create.rb +308 -0
- data/lib/storecove/models/preflight_invoice_recipient_result.rb +2 -1
- data/lib/storecove/models/public_identifier.rb +3 -2
- data/lib/storecove/models/public_identifiers.rb +2 -1
- data/lib/storecove/models/purchase_invoice.rb +463 -0
- data/lib/storecove/models/purchase_invoice_invoice_line.rb +247 -0
- data/lib/storecove/models/purchase_invoice_sender.rb +280 -0
- data/lib/storecove/models/purchase_invoice_sender_billing_contact.rb +209 -0
- data/lib/storecove/models/purchase_invoice_ubl.rb +209 -0
- data/lib/storecove/models/shop.rb +3 -2
- data/lib/storecove/models/shop_account_input.rb +2 -1
- data/lib/storecove/models/shop_account_request_input.rb +2 -1
- data/lib/storecove/models/shop_account_request_result.rb +2 -1
- data/lib/storecove/models/shop_account_request_update.rb +2 -1
- data/lib/storecove/models/shop_account_result.rb +2 -1
- data/lib/storecove/models/shop_account_update.rb +2 -1
- data/lib/storecove/models/tax.rb +2 -1
- data/lib/storecove/models/vat_details.rb +209 -0
- data/lib/storecove/models/widget_identification.rb +228 -0
- data/lib/storecove/version.rb +2 -1
- data/spec/api/invoice_submissions_api_spec.rb +9 -20
- data/spec/api/legal_entities_api_spec.rb +84 -0
- data/spec/api/peppol_identifiers_api_spec.rb +63 -0
- data/spec/api/purchase_invoices_api_spec.rb +59 -0
- data/spec/api/shop_account_requests_api_spec.rb +30 -41
- data/spec/api/shop_accounts_api_spec.rb +34 -45
- data/spec/api/shops_api_spec.rb +6 -17
- data/spec/api_client_spec.rb +2 -13
- data/spec/configuration_spec.rb +2 -13
- data/spec/models/accounting_cost_code_spec.rb +3 -14
- data/spec/models/accounting_customer_party_spec.rb +3 -14
- data/spec/models/accounting_details_1_spec.rb +60 -0
- data/spec/models/accounting_details_spec.rb +60 -0
- data/spec/models/{party_address_spec.rb → address_spec.rb} +8 -19
- data/spec/models/{party_contact_spec.rb → contact_spec.rb} +8 -19
- data/spec/models/country_spec.rb +3 -14
- data/spec/models/currency_code_spec.rb +3 -14
- data/spec/models/error_model_spec.rb +3 -14
- data/spec/models/invoice_line_spec.rb +69 -14
- data/spec/models/invoice_recipient_preflight_spec.rb +10 -15
- data/spec/models/invoice_recipient_spec.rb +15 -14
- data/spec/models/{invoice_submission_invoice_spec.rb → invoice_spec.rb} +20 -19
- data/spec/models/invoice_submission_result_spec.rb +4 -15
- data/spec/models/invoice_submission_spec.rb +4 -15
- data/spec/models/legal_entity_create_spec.rb +78 -0
- data/spec/models/legal_entity_identifier_spec.rb +3 -14
- data/spec/models/legal_entity_shop_spec.rb +84 -0
- data/spec/models/legal_entity_spec.rb +7 -18
- data/spec/models/legal_entity_update_spec.rb +78 -0
- data/spec/models/logos_spec.rb +3 -14
- data/spec/models/party_spec.rb +3 -14
- data/spec/models/payment_means_spec.rb +48 -0
- data/spec/models/peppol_identifier_create_spec.rb +54 -0
- data/spec/models/peppol_identifier_spec.rb +54 -0
- data/spec/models/preflight_invoice_recipient_result_spec.rb +3 -14
- data/spec/models/public_identifier_spec.rb +3 -14
- data/spec/models/public_identifiers_spec.rb +3 -14
- data/spec/models/purchase_invoice_invoice_line_spec.rb +78 -0
- data/spec/models/purchase_invoice_sender_billing_contact_spec.rb +54 -0
- data/spec/models/purchase_invoice_sender_spec.rb +96 -0
- data/spec/models/purchase_invoice_spec.rb +188 -0
- data/spec/models/purchase_invoice_ubl_spec.rb +54 -0
- data/spec/models/shop_account_input_spec.rb +3 -14
- data/spec/models/shop_account_request_input_spec.rb +3 -14
- data/spec/models/{shop_account_request_spec.rb → shop_account_request_result_spec.rb} +8 -19
- data/spec/models/shop_account_request_update_spec.rb +3 -14
- data/spec/models/shop_account_result_spec.rb +3 -14
- data/spec/models/shop_account_update_spec.rb +3 -14
- data/spec/models/shop_spec.rb +3 -14
- data/spec/models/{invoice_line_tax_spec.rb → tax_spec.rb} +8 -19
- data/spec/models/vat_details_spec.rb +54 -0
- data/spec/models/widget_identification_spec.rb +48 -0
- data/spec/spec_helper.rb +2 -13
- data/storecove.gemspec +10 -19
- metadata +83 -28
data/lib/storecove/version.rb
CHANGED
@@ -3,21 +3,10 @@
|
|
3
3
|
|
4
4
|
#Storecove API
|
5
5
|
|
6
|
-
OpenAPI spec version: 2.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
|
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
|
35
|
+
# unit tests for create_invoice_submission
|
47
36
|
# Submit a new invoice
|
48
|
-
# Submit an invoice for delivery. include::examples/invoice_submissions/
|
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 '
|
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
|
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/
|
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 '
|
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.
|
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
|
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
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param
|
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 [
|
52
|
-
describe '
|
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
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# @param shop_account_request
|
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 [
|
64
|
-
describe '
|
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
|
71
|
-
#
|
72
|
-
#
|
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 [
|
76
|
-
describe '
|
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
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# @param
|
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 [
|
88
|
-
describe '
|
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
|
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 [
|
101
|
-
describe '
|
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.
|
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
|
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
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# @param
|
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 [
|
52
|
-
describe '
|
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
|
59
|
-
#
|
60
|
-
#
|
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 [
|
63
|
-
describe '
|
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
|
70
|
-
#
|
71
|
-
#
|
72
|
-
# @param shop_account
|
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 '
|
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
|
82
|
-
#
|
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 [
|
87
|
-
describe '
|
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
|
94
|
-
# Get
|
95
|
-
#
|
96
|
-
# @param
|
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 '
|
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
|
94
|
+
# unit tests for update_shop_account
|
106
95
|
# Update ShopAccount
|
107
|
-
# Update a specific ShopAccount. include::examples/shop_accounts/
|
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 '
|
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
|