carbon_ruby_sdk 0.2.35 → 0.2.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +335 -2
  4. data/lib/carbon_ruby_sdk/api/crm_api.rb +909 -0
  5. data/lib/carbon_ruby_sdk/models/account.rb +398 -0
  6. data/lib/carbon_ruby_sdk/models/account_filters.rb +226 -0
  7. data/lib/carbon_ruby_sdk/models/account_response.rb +246 -0
  8. data/lib/carbon_ruby_sdk/models/accounts_order_by.rb +39 -0
  9. data/lib/carbon_ruby_sdk/models/accounts_order_by_nullable.rb +39 -0
  10. data/lib/carbon_ruby_sdk/models/accounts_request.rb +293 -0
  11. data/lib/carbon_ruby_sdk/models/address.rb +276 -0
  12. data/lib/carbon_ruby_sdk/models/base_includes.rb +36 -0
  13. data/lib/carbon_ruby_sdk/models/contact.rb +434 -0
  14. data/lib/carbon_ruby_sdk/models/contact_filters.rb +236 -0
  15. data/lib/carbon_ruby_sdk/models/contacts_order_by.rb +39 -0
  16. data/lib/carbon_ruby_sdk/models/contacts_order_by_nullable.rb +39 -0
  17. data/lib/carbon_ruby_sdk/models/contacts_request.rb +293 -0
  18. data/lib/carbon_ruby_sdk/models/contacts_response.rb +246 -0
  19. data/lib/carbon_ruby_sdk/models/email.rb +230 -0
  20. data/lib/carbon_ruby_sdk/models/event.rb +370 -0
  21. data/lib/carbon_ruby_sdk/models/lead.rb +468 -0
  22. data/lib/carbon_ruby_sdk/models/lead_filters.rb +246 -0
  23. data/lib/carbon_ruby_sdk/models/leads_order_by.rb +38 -0
  24. data/lib/carbon_ruby_sdk/models/leads_order_by_nullable.rb +38 -0
  25. data/lib/carbon_ruby_sdk/models/leads_request.rb +293 -0
  26. data/lib/carbon_ruby_sdk/models/leads_response.rb +246 -0
  27. data/lib/carbon_ruby_sdk/models/opportunities_order_by.rb +40 -0
  28. data/lib/carbon_ruby_sdk/models/opportunities_order_by_nullable.rb +40 -0
  29. data/lib/carbon_ruby_sdk/models/opportunities_request.rb +293 -0
  30. data/lib/carbon_ruby_sdk/models/opportunities_response.rb +246 -0
  31. data/lib/carbon_ruby_sdk/models/opportunity.rb +400 -0
  32. data/lib/carbon_ruby_sdk/models/opportunity_filters.rb +246 -0
  33. data/lib/carbon_ruby_sdk/models/opportunity_status.rb +36 -0
  34. data/lib/carbon_ruby_sdk/models/opportunity_status_nullable.rb +36 -0
  35. data/lib/carbon_ruby_sdk/models/order_dir_v2_nullable.rb +36 -0
  36. data/lib/carbon_ruby_sdk/models/partial_account.rb +216 -0
  37. data/lib/carbon_ruby_sdk/models/partial_account_nullable.rb +216 -0
  38. data/lib/carbon_ruby_sdk/models/partial_contact.rb +216 -0
  39. data/lib/carbon_ruby_sdk/models/partial_contact_nullable.rb +216 -0
  40. data/lib/carbon_ruby_sdk/models/partial_owner.rb +216 -0
  41. data/lib/carbon_ruby_sdk/models/partial_owner_nullable.rb +216 -0
  42. data/lib/carbon_ruby_sdk/models/phone_number.rb +230 -0
  43. data/lib/carbon_ruby_sdk/models/sent_webhook_payload.rb +2 -2
  44. data/lib/carbon_ruby_sdk/models/task.rb +346 -0
  45. data/lib/carbon_ruby_sdk/version.rb +1 -1
  46. data/lib/carbon_ruby_sdk.rb +42 -0
  47. data/spec/api/crm_api_spec.rb +129 -0
  48. data/spec/models/account_filters_spec.rb +34 -0
  49. data/spec/models/account_response_spec.rb +40 -0
  50. data/spec/models/account_spec.rb +118 -0
  51. data/spec/models/accounts_order_by_nullable_spec.rb +22 -0
  52. data/spec/models/accounts_order_by_spec.rb +22 -0
  53. data/spec/models/accounts_request_spec.rb +70 -0
  54. data/spec/models/address_spec.rb +64 -0
  55. data/spec/models/base_includes_spec.rb +22 -0
  56. data/spec/models/contact_filters_spec.rb +40 -0
  57. data/spec/models/contact_spec.rb +136 -0
  58. data/spec/models/contacts_order_by_nullable_spec.rb +22 -0
  59. data/spec/models/contacts_order_by_spec.rb +22 -0
  60. data/spec/models/contacts_request_spec.rb +70 -0
  61. data/spec/models/contacts_response_spec.rb +40 -0
  62. data/spec/models/email_spec.rb +34 -0
  63. data/spec/models/event_spec.rb +106 -0
  64. data/spec/models/lead_filters_spec.rb +46 -0
  65. data/spec/models/lead_spec.rb +154 -0
  66. data/spec/models/leads_order_by_nullable_spec.rb +22 -0
  67. data/spec/models/leads_order_by_spec.rb +22 -0
  68. data/spec/models/leads_request_spec.rb +70 -0
  69. data/spec/models/leads_response_spec.rb +40 -0
  70. data/spec/models/opportunities_order_by_nullable_spec.rb +22 -0
  71. data/spec/models/opportunities_order_by_spec.rb +22 -0
  72. data/spec/models/opportunities_request_spec.rb +70 -0
  73. data/spec/models/opportunities_response_spec.rb +40 -0
  74. data/spec/models/opportunity_filters_spec.rb +46 -0
  75. data/spec/models/opportunity_spec.rb +124 -0
  76. data/spec/models/opportunity_status_nullable_spec.rb +22 -0
  77. data/spec/models/opportunity_status_spec.rb +22 -0
  78. data/spec/models/order_dir_v2_nullable_spec.rb +22 -0
  79. data/spec/models/partial_account_nullable_spec.rb +28 -0
  80. data/spec/models/partial_account_spec.rb +28 -0
  81. data/spec/models/partial_contact_nullable_spec.rb +28 -0
  82. data/spec/models/partial_contact_spec.rb +28 -0
  83. data/spec/models/partial_owner_nullable_spec.rb +28 -0
  84. data/spec/models/partial_owner_spec.rb +28 -0
  85. data/spec/models/phone_number_spec.rb +34 -0
  86. data/spec/models/sent_webhook_payload_spec.rb +1 -1
  87. data/spec/models/task_spec.rb +94 -0
  88. metadata +122 -2
@@ -0,0 +1,106 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::Event
14
+ describe Carbon::Event do
15
+ let(:instance) { Carbon::Event.new }
16
+
17
+ describe 'test an instance of Event' do
18
+ it 'should create an instance of Event' do
19
+ expect(instance).to be_instance_of(Carbon::Event)
20
+ end
21
+ end
22
+ describe 'test attribute "description"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "owner"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "subject"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "location"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "is_all_day"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "start_date"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "end_date"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "account"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "contact"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "created_at"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "updated_at"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "is_deleted"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "remote_data"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::LeadFilters
14
+ describe Carbon::LeadFilters do
15
+ let(:instance) { Carbon::LeadFilters.new }
16
+
17
+ describe 'test an instance of LeadFilters' do
18
+ it 'should create an instance of LeadFilters' do
19
+ expect(instance).to be_instance_of(Carbon::LeadFilters)
20
+ end
21
+ end
22
+ describe 'test attribute "owner_id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "converted_account_id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "converted_contact_id"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,154 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::Lead
14
+ describe Carbon::Lead do
15
+ let(:instance) { Carbon::Lead.new }
16
+
17
+ describe 'test an instance of Lead' do
18
+ it 'should create an instance of Lead' do
19
+ expect(instance).to be_instance_of(Carbon::Lead)
20
+ end
21
+ end
22
+ describe 'test attribute "title"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "description"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "owner"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "source"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "status"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "company"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "first_name"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "last_name"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "addresses"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "phone_numbers"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "emails"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "converted_at"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ describe 'test attribute "converted_account"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "converted_contact"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "last_activity_at"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "created_at"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
124
+ describe 'test attribute "updated_at"' do
125
+ it 'should work' do
126
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
127
+ end
128
+ end
129
+
130
+ describe 'test attribute "is_deleted"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
136
+ describe 'test attribute "tasks"' do
137
+ it 'should work' do
138
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
139
+ end
140
+ end
141
+
142
+ describe 'test attribute "events"' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
148
+ describe 'test attribute "remote_data"' do
149
+ it 'should work' do
150
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
151
+ end
152
+ end
153
+
154
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::LeadsOrderByNullable
14
+ describe Carbon::LeadsOrderByNullable do
15
+ let(:instance) { Carbon::LeadsOrderByNullable.new }
16
+
17
+ describe 'test an instance of LeadsOrderByNullable' do
18
+ it 'should create an instance of LeadsOrderByNullable' do
19
+ expect(instance).to be_instance_of(Carbon::LeadsOrderByNullable)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::LeadsOrderBy
14
+ describe Carbon::LeadsOrderBy do
15
+ let(:instance) { Carbon::LeadsOrderBy.new }
16
+
17
+ describe 'test an instance of LeadsOrderBy' do
18
+ it 'should create an instance of LeadsOrderBy' do
19
+ expect(instance).to be_instance_of(Carbon::LeadsOrderBy)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::LeadsRequest
14
+ describe Carbon::LeadsRequest do
15
+ let(:instance) { Carbon::LeadsRequest.new }
16
+
17
+ describe 'test an instance of LeadsRequest' do
18
+ it 'should create an instance of LeadsRequest' do
19
+ expect(instance).to be_instance_of(Carbon::LeadsRequest)
20
+ end
21
+ end
22
+ describe 'test attribute "data_source_id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "include_remote_data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "next_cursor"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "page_size"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "order_dir"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "includes"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "filters"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "order_by"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::LeadsResponse
14
+ describe Carbon::LeadsResponse do
15
+ let(:instance) { Carbon::LeadsResponse.new }
16
+
17
+ describe 'test an instance of LeadsResponse' do
18
+ it 'should create an instance of LeadsResponse' do
19
+ expect(instance).to be_instance_of(Carbon::LeadsResponse)
20
+ end
21
+ end
22
+ describe 'test attribute "count"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "next_cursor"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "data"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::OpportunitiesOrderByNullable
14
+ describe Carbon::OpportunitiesOrderByNullable do
15
+ let(:instance) { Carbon::OpportunitiesOrderByNullable.new }
16
+
17
+ describe 'test an instance of OpportunitiesOrderByNullable' do
18
+ it 'should create an instance of OpportunitiesOrderByNullable' do
19
+ expect(instance).to be_instance_of(Carbon::OpportunitiesOrderByNullable)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::OpportunitiesOrderBy
14
+ describe Carbon::OpportunitiesOrderBy do
15
+ let(:instance) { Carbon::OpportunitiesOrderBy.new }
16
+
17
+ describe 'test an instance of OpportunitiesOrderBy' do
18
+ it 'should create an instance of OpportunitiesOrderBy' do
19
+ expect(instance).to be_instance_of(Carbon::OpportunitiesOrderBy)
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,70 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::OpportunitiesRequest
14
+ describe Carbon::OpportunitiesRequest do
15
+ let(:instance) { Carbon::OpportunitiesRequest.new }
16
+
17
+ describe 'test an instance of OpportunitiesRequest' do
18
+ it 'should create an instance of OpportunitiesRequest' do
19
+ expect(instance).to be_instance_of(Carbon::OpportunitiesRequest)
20
+ end
21
+ end
22
+ describe 'test attribute "data_source_id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "include_remote_data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "next_cursor"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "page_size"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "order_dir"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "includes"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "filters"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "order_by"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::OpportunitiesResponse
14
+ describe Carbon::OpportunitiesResponse do
15
+ let(:instance) { Carbon::OpportunitiesResponse.new }
16
+
17
+ describe 'test an instance of OpportunitiesResponse' do
18
+ it 'should create an instance of OpportunitiesResponse' do
19
+ expect(instance).to be_instance_of(Carbon::OpportunitiesResponse)
20
+ end
21
+ end
22
+ describe 'test attribute "count"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "next_cursor"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "data"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Carbon
3
+
4
+ #Connect external data to LLMs, no matter the source.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ =end
8
+
9
+ require 'spec_helper'
10
+ require 'json'
11
+ require 'date'
12
+
13
+ # Unit tests for Carbon::OpportunityFilters
14
+ describe Carbon::OpportunityFilters do
15
+ let(:instance) { Carbon::OpportunityFilters.new }
16
+
17
+ describe 'test an instance of OpportunityFilters' do
18
+ it 'should create an instance of OpportunityFilters' do
19
+ expect(instance).to be_instance_of(Carbon::OpportunityFilters)
20
+ end
21
+ end
22
+ describe 'test attribute "owner_id"' do
23
+ it 'should work' do
24
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
25
+ end
26
+ end
27
+
28
+ describe 'test attribute "account_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "status"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "stage"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end