siwapp-client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +112 -0
  4. data/Rakefile +8 -0
  5. data/docs/DefaultApi.md +119 -0
  6. data/docs/Invoice.md +8 -0
  7. data/docs/InvoiceData.md +11 -0
  8. data/docs/InvoiceDataAttributes.md +13 -0
  9. data/docs/InvoiceDataMeta.md +8 -0
  10. data/docs/InvoiceDataRelationships.md +9 -0
  11. data/docs/InvoiceDataRelationshipsItems.md +8 -0
  12. data/docs/InvoiceDataRelationshipsPayments.md +8 -0
  13. data/docs/InvoiceItem.md +8 -0
  14. data/docs/InvoiceItemAttributes.md +12 -0
  15. data/docs/InvoicePayment.md +8 -0
  16. data/docs/InvoicePaymentAttributes.md +10 -0
  17. data/git_push.sh +55 -0
  18. data/lib/siwapp-client.rb +51 -0
  19. data/lib/siwapp-client/api/default_api.rb +139 -0
  20. data/lib/siwapp-client/api_client.rb +389 -0
  21. data/lib/siwapp-client/api_error.rb +38 -0
  22. data/lib/siwapp-client/configuration.rb +209 -0
  23. data/lib/siwapp-client/models/invoice.rb +188 -0
  24. data/lib/siwapp-client/models/invoice_data.rb +216 -0
  25. data/lib/siwapp-client/models/invoice_data_attributes.rb +249 -0
  26. data/lib/siwapp-client/models/invoice_data_meta.rb +189 -0
  27. data/lib/siwapp-client/models/invoice_data_relationships.rb +197 -0
  28. data/lib/siwapp-client/models/invoice_data_relationships_items.rb +190 -0
  29. data/lib/siwapp-client/models/invoice_data_relationships_payments.rb +190 -0
  30. data/lib/siwapp-client/models/invoice_item.rb +188 -0
  31. data/lib/siwapp-client/models/invoice_item_attributes.rb +236 -0
  32. data/lib/siwapp-client/models/invoice_payment.rb +188 -0
  33. data/lib/siwapp-client/models/invoice_payment_attributes.rb +209 -0
  34. data/lib/siwapp-client/version.rb +15 -0
  35. data/siwapp-client.gemspec +46 -0
  36. data/spec/api/default_api_spec.rb +60 -0
  37. data/spec/api_client_spec.rb +226 -0
  38. data/spec/configuration_spec.rb +42 -0
  39. data/spec/models/invoice_data_attributes_spec.rb +72 -0
  40. data/spec/models/invoice_data_meta_spec.rb +42 -0
  41. data/spec/models/invoice_data_relationships_items_spec.rb +42 -0
  42. data/spec/models/invoice_data_relationships_payments_spec.rb +42 -0
  43. data/spec/models/invoice_data_relationships_spec.rb +48 -0
  44. data/spec/models/invoice_data_spec.rb +60 -0
  45. data/spec/models/invoice_item_attributes_spec.rb +66 -0
  46. data/spec/models/invoice_item_spec.rb +42 -0
  47. data/spec/models/invoice_payment_attributes_spec.rb +54 -0
  48. data/spec/models/invoice_payment_spec.rb +42 -0
  49. data/spec/models/invoice_spec.rb +42 -0
  50. data/spec/spec_helper.rb +111 -0
  51. metadata +281 -0
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceDataMeta
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceDataMeta' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceDataMeta.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceDataMeta' do
31
+ it 'should create an instance of InvoiceDataMeta' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceDataMeta)
33
+ end
34
+ end
35
+ describe 'test attribute "issued_by"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceDataRelationshipsItems
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceDataRelationshipsItems' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceDataRelationshipsItems.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceDataRelationshipsItems' do
31
+ it 'should create an instance of InvoiceDataRelationshipsItems' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceDataRelationshipsItems)
33
+ end
34
+ end
35
+ describe 'test attribute "data"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceDataRelationshipsPayments
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceDataRelationshipsPayments' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceDataRelationshipsPayments.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceDataRelationshipsPayments' do
31
+ it 'should create an instance of InvoiceDataRelationshipsPayments' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceDataRelationshipsPayments)
33
+ end
34
+ end
35
+ describe 'test attribute "data"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceDataRelationships
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceDataRelationships' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceDataRelationships.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceDataRelationships' do
31
+ it 'should create an instance of InvoiceDataRelationships' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceDataRelationships)
33
+ end
34
+ end
35
+ describe 'test attribute "items"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "payments"' 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
+ end
48
+
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceData
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceData' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceData.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceData' do
31
+ it 'should create an instance of InvoiceData' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceData)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "attributes"' 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
+ describe 'test attribute "meta"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "relationships"' 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
60
+
@@ -0,0 +1,66 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceItemAttributes
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceItemAttributes' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceItemAttributes.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceItemAttributes' do
31
+ it 'should create an instance of InvoiceItemAttributes' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceItemAttributes)
33
+ end
34
+ end
35
+ describe 'test attribute "description"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "quantity"' 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
+ describe 'test attribute "discount"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "tax_ids"' 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
+ describe 'test attribute "unitary_cost"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
66
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoiceItem
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoiceItem' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoiceItem.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoiceItem' do
31
+ it 'should create an instance of InvoiceItem' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoiceItem)
33
+ end
34
+ end
35
+ describe 'test attribute "attributes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoicePaymentAttributes
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoicePaymentAttributes' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoicePaymentAttributes.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoicePaymentAttributes' do
31
+ it 'should create an instance of InvoicePaymentAttributes' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoicePaymentAttributes)
33
+ end
34
+ end
35
+ describe 'test attribute "notes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "amount"' 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
+ describe 'test attribute "date"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end
54
+
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Siwapp API Client
3
+
4
+ #Access Siwapp data via API.
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for SiwappClient::InvoicePayment
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InvoicePayment' do
21
+ before do
22
+ # run before each test
23
+ @instance = SiwappClient::InvoicePayment.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InvoicePayment' do
31
+ it 'should create an instance of InvoicePayment' do
32
+ expect(@instance).to be_instance_of(SiwappClient::InvoicePayment)
33
+ end
34
+ end
35
+ describe 'test attribute "attributes"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+