storecove 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/storecove/api/invoice_submissions_api.rb +5 -5
- data/lib/storecove/api/shop_account_requests_api.rb +54 -54
- data/lib/storecove/api/shop_accounts_api.rb +67 -67
- data/lib/storecove/api/shops_api.rb +5 -5
- data/lib/storecove/api_client.rb +1 -1
- data/lib/storecove/api_error.rb +1 -1
- data/lib/storecove/configuration.rb +1 -1
- data/lib/storecove/models/accounting_cost_code.rb +1 -1
- data/lib/storecove/models/accounting_customer_party.rb +1 -1
- data/lib/storecove/models/address.rb +1 -1
- data/lib/storecove/models/contact.rb +1 -1
- data/lib/storecove/models/country.rb +1 -1
- data/lib/storecove/models/currency_code.rb +1 -1
- data/lib/storecove/models/error_model.rb +1 -1
- data/lib/storecove/models/invoice.rb +44 -27
- data/lib/storecove/models/invoice_line.rb +7 -7
- data/lib/storecove/models/invoice_recipient.rb +17 -6
- data/lib/storecove/models/invoice_recipient_preflight.rb +11 -1
- data/lib/storecove/models/invoice_submission.rb +1 -1
- data/lib/storecove/models/invoice_submission_result.rb +9 -9
- data/lib/storecove/models/legal_entity.rb +11 -2
- data/lib/storecove/models/legal_entity_identifier.rb +1 -1
- data/lib/storecove/models/logos.rb +1 -1
- data/lib/storecove/models/party.rb +1 -1
- data/lib/storecove/models/preflight_invoice_recipient_result.rb +1 -1
- data/lib/storecove/models/public_identifier.rb +2 -2
- data/lib/storecove/models/public_identifiers.rb +1 -1
- data/lib/storecove/models/shop.rb +1 -1
- data/lib/storecove/models/shop_account_input.rb +26 -1
- data/lib/storecove/models/shop_account_request_input.rb +26 -1
- data/lib/storecove/models/{shop_account_request.rb → shop_account_request_result.rb} +2 -7
- data/lib/storecove/models/shop_account_request_update.rb +1 -1
- data/lib/storecove/models/{shop_account.rb → shop_account_result.rb} +10 -7
- data/lib/storecove/models/shop_account_update.rb +4 -1
- data/lib/storecove/models/tax.rb +1 -1
- data/lib/storecove/version.rb +2 -2
- data/lib/storecove.rb +3 -3
- metadata +3 -3
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -14,14 +14,19 @@ require 'date'
|
|
14
14
|
module StorecoveApi
|
15
15
|
|
16
16
|
class ShopAccountInput
|
17
|
+
# The username for the account. The username needs to be unique in combination with the shop_id.
|
17
18
|
attr_accessor :username
|
18
19
|
|
20
|
+
# The password for the account.
|
19
21
|
attr_accessor :password
|
20
22
|
|
23
|
+
# The _external_user_id_ is what identifies the entity for which you create this ShopAccount. This could be a user, however, if your users can manage multiple organizations/administrations, then it is a better idea to put the organization/administration identifier in this field, because the _external_user_id_ groups the ShopAccounts into a set that all deliver their invoices to the same destination (typically an email address).
|
21
24
|
attr_accessor :external_user_id
|
22
25
|
|
26
|
+
# This is email address determines where the invoices for all ShopAccounts in the same _external_user_id_ group are sent. Each time you create or update a ShopAccount for an _external_user_id_ and also provide __email__, the email destination for all the ShopAccounts in the _external_user_id_ group are updated at the same time. We suggest you provide an immutable email address. If your user can change the email address to which the invoices are to be sent, then you will need to do an update for one of the ShopAccounts for that user in order for Storecove to start using the new email address. Note that this field is mandatory for the first ShopAccount that you create for an entity.
|
23
27
|
attr_accessor :email
|
24
28
|
|
29
|
+
# The id of the Shop the account is for.
|
25
30
|
attr_accessor :shop_id
|
26
31
|
|
27
32
|
|
@@ -81,12 +86,32 @@ module StorecoveApi
|
|
81
86
|
# @return Array for valid properies with the reasons
|
82
87
|
def list_invalid_properties
|
83
88
|
invalid_properties = Array.new
|
89
|
+
if @username.nil?
|
90
|
+
invalid_properties.push("invalid value for 'username', username cannot be nil.")
|
91
|
+
end
|
92
|
+
|
93
|
+
if @password.nil?
|
94
|
+
invalid_properties.push("invalid value for 'password', password cannot be nil.")
|
95
|
+
end
|
96
|
+
|
97
|
+
if @external_user_id.nil?
|
98
|
+
invalid_properties.push("invalid value for 'external_user_id', external_user_id cannot be nil.")
|
99
|
+
end
|
100
|
+
|
101
|
+
if @shop_id.nil?
|
102
|
+
invalid_properties.push("invalid value for 'shop_id', shop_id cannot be nil.")
|
103
|
+
end
|
104
|
+
|
84
105
|
return invalid_properties
|
85
106
|
end
|
86
107
|
|
87
108
|
# Check to see if the all the properties in the model are valid
|
88
109
|
# @return true if the model is valid
|
89
110
|
def valid?
|
111
|
+
return false if @username.nil?
|
112
|
+
return false if @password.nil?
|
113
|
+
return false if @external_user_id.nil?
|
114
|
+
return false if @shop_id.nil?
|
90
115
|
return true
|
91
116
|
end
|
92
117
|
|
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -81,12 +81,37 @@ module StorecoveApi
|
|
81
81
|
# @return Array for valid properies with the reasons
|
82
82
|
def list_invalid_properties
|
83
83
|
invalid_properties = Array.new
|
84
|
+
if @username.nil?
|
85
|
+
invalid_properties.push("invalid value for 'username', username cannot be nil.")
|
86
|
+
end
|
87
|
+
|
88
|
+
if @password.nil?
|
89
|
+
invalid_properties.push("invalid value for 'password', password cannot be nil.")
|
90
|
+
end
|
91
|
+
|
92
|
+
if @external_user_id.nil?
|
93
|
+
invalid_properties.push("invalid value for 'external_user_id', external_user_id cannot be nil.")
|
94
|
+
end
|
95
|
+
|
96
|
+
if @request_name.nil?
|
97
|
+
invalid_properties.push("invalid value for 'request_name', request_name cannot be nil.")
|
98
|
+
end
|
99
|
+
|
100
|
+
if @request_url.nil?
|
101
|
+
invalid_properties.push("invalid value for 'request_url', request_url cannot be nil.")
|
102
|
+
end
|
103
|
+
|
84
104
|
return invalid_properties
|
85
105
|
end
|
86
106
|
|
87
107
|
# Check to see if the all the properties in the model are valid
|
88
108
|
# @return true if the model is valid
|
89
109
|
def valid?
|
110
|
+
return false if @username.nil?
|
111
|
+
return false if @password.nil?
|
112
|
+
return false if @external_user_id.nil?
|
113
|
+
return false if @request_name.nil?
|
114
|
+
return false if @request_url.nil?
|
90
115
|
return true
|
91
116
|
end
|
92
117
|
|
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -13,7 +13,7 @@ require 'date'
|
|
13
13
|
|
14
14
|
module StorecoveApi
|
15
15
|
|
16
|
-
class
|
16
|
+
class ShopAccountRequestResult
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
19
|
attr_accessor :username
|
@@ -81,17 +81,12 @@ module StorecoveApi
|
|
81
81
|
# @return Array for valid properies with the reasons
|
82
82
|
def list_invalid_properties
|
83
83
|
invalid_properties = Array.new
|
84
|
-
if @id.nil?
|
85
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
86
|
-
end
|
87
|
-
|
88
84
|
return invalid_properties
|
89
85
|
end
|
90
86
|
|
91
87
|
# Check to see if the all the properties in the model are valid
|
92
88
|
# @return true if the model is valid
|
93
89
|
def valid?
|
94
|
-
return false if @id.nil?
|
95
90
|
return true
|
96
91
|
end
|
97
92
|
|
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -13,21 +13,29 @@ require 'date'
|
|
13
13
|
|
14
14
|
module StorecoveApi
|
15
15
|
|
16
|
-
class
|
16
|
+
class ShopAccountResult
|
17
|
+
# The Storecove id for the ShopAccount
|
17
18
|
attr_accessor :id
|
18
19
|
|
20
|
+
# See <<_openapi_shopaccountinput>>.
|
19
21
|
attr_accessor :username
|
20
22
|
|
23
|
+
# See <<_openapi_shopaccountinput>>.
|
21
24
|
attr_accessor :external_user_id
|
22
25
|
|
26
|
+
# See <<_openapi_shopaccountinput>>.
|
23
27
|
attr_accessor :email
|
24
28
|
|
29
|
+
# The date from invoices will be collected. This field defaults to the first day of the month the ShopAccount was created in.
|
25
30
|
attr_accessor :from_date
|
26
31
|
|
32
|
+
# Whether or not Storecove has detected and confirmed a sign-in failure. This field is reset to false each time a ShopAccount is updated and the username or password has changed.
|
27
33
|
attr_accessor :sign_in_error_confirmed
|
28
34
|
|
35
|
+
# The date on which the sign-in error was confirmed.
|
29
36
|
attr_accessor :sign_in_error_confirmed_at
|
30
37
|
|
38
|
+
# See <<_openapi_shopaccountinput>>.
|
31
39
|
attr_accessor :shop
|
32
40
|
|
33
41
|
|
@@ -105,17 +113,12 @@ module StorecoveApi
|
|
105
113
|
# @return Array for valid properies with the reasons
|
106
114
|
def list_invalid_properties
|
107
115
|
invalid_properties = Array.new
|
108
|
-
if @id.nil?
|
109
|
-
invalid_properties.push("invalid value for 'id', id cannot be nil.")
|
110
|
-
end
|
111
|
-
|
112
116
|
return invalid_properties
|
113
117
|
end
|
114
118
|
|
115
119
|
# Check to see if the all the properties in the model are valid
|
116
120
|
# @return true if the model is valid
|
117
121
|
def valid?
|
118
|
-
return false if @id.nil?
|
119
122
|
return true
|
120
123
|
end
|
121
124
|
|
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -14,10 +14,13 @@ require 'date'
|
|
14
14
|
module StorecoveApi
|
15
15
|
|
16
16
|
class ShopAccountUpdate
|
17
|
+
# See <<_openapi_shopaccountinput>>.
|
17
18
|
attr_accessor :username
|
18
19
|
|
20
|
+
# See <<_openapi_shopaccountinput>>.
|
19
21
|
attr_accessor :password
|
20
22
|
|
23
|
+
# See <<_openapi_shopaccountinput>>.
|
21
24
|
attr_accessor :email
|
22
25
|
|
23
26
|
|
data/lib/storecove/models/tax.rb
CHANGED
data/lib/storecove/version.rb
CHANGED
@@ -3,12 +3,12 @@
|
|
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
9
|
|
10
10
|
=end
|
11
11
|
|
12
12
|
module StorecoveApi
|
13
|
-
VERSION = "1.0.
|
13
|
+
VERSION = "1.0.6"
|
14
14
|
end
|
data/lib/storecove.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
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
9
|
|
@@ -37,11 +37,11 @@ require 'storecove/models/preflight_invoice_recipient_result'
|
|
37
37
|
require 'storecove/models/public_identifier'
|
38
38
|
require 'storecove/models/public_identifiers'
|
39
39
|
require 'storecove/models/shop'
|
40
|
-
require 'storecove/models/shop_account'
|
41
40
|
require 'storecove/models/shop_account_input'
|
42
|
-
require 'storecove/models/shop_account_request'
|
43
41
|
require 'storecove/models/shop_account_request_input'
|
42
|
+
require 'storecove/models/shop_account_request_result'
|
44
43
|
require 'storecove/models/shop_account_request_update'
|
44
|
+
require 'storecove/models/shop_account_result'
|
45
45
|
require 'storecove/models/shop_account_update'
|
46
46
|
require 'storecove/models/tax'
|
47
47
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storecove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Storecove
|
@@ -226,11 +226,11 @@ files:
|
|
226
226
|
- lib/storecove/models/public_identifier.rb
|
227
227
|
- lib/storecove/models/public_identifiers.rb
|
228
228
|
- lib/storecove/models/shop.rb
|
229
|
-
- lib/storecove/models/shop_account.rb
|
230
229
|
- lib/storecove/models/shop_account_input.rb
|
231
|
-
- lib/storecove/models/shop_account_request.rb
|
232
230
|
- lib/storecove/models/shop_account_request_input.rb
|
231
|
+
- lib/storecove/models/shop_account_request_result.rb
|
233
232
|
- lib/storecove/models/shop_account_request_update.rb
|
233
|
+
- lib/storecove/models/shop_account_result.rb
|
234
234
|
- lib/storecove/models/shop_account_update.rb
|
235
235
|
- lib/storecove/models/tax.rb
|
236
236
|
- lib/storecove/version.rb
|