braze_api_client 0.1.0 → 0.1.1

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 (65) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/braze_api_client.gemspec +1 -1
  4. data/docs/RestApi.md +26 -26
  5. data/docs/UsersAliasNewResponse.md +20 -0
  6. data/docs/{IdentifierOneOf.md → UsersDeleteResponse.md} +4 -4
  7. data/docs/UsersExternalIdsRemoveResponse.md +22 -0
  8. data/docs/UsersExternalIdsRenameResponse.md +22 -0
  9. data/docs/UsersExternalIdsRenameResponseExternalIds.md +20 -0
  10. data/docs/UsersIdentifyResponse.md +20 -0
  11. data/lib/braze_api_client/api/rest_api.rb +25 -25
  12. data/lib/braze_api_client/api_client.rb +2 -2
  13. data/lib/braze_api_client/api_error.rb +1 -1
  14. data/lib/braze_api_client/configuration.rb +1 -1
  15. data/lib/braze_api_client/models/general_error.rb +1 -1
  16. data/lib/braze_api_client/models/{attributes_array.rb → users_alias_new_response.rb} +20 -18
  17. data/lib/braze_api_client/models/{events_array.rb → users_delete_response.rb} +11 -13
  18. data/lib/braze_api_client/models/{users_track_request.rb → users_external_ids_remove_response.rb} +32 -37
  19. data/lib/braze_api_client/models/{attributes_push_tokens.rb → users_external_ids_rename_response.rb} +27 -33
  20. data/lib/braze_api_client/models/{attributes_facebook.rb → users_external_ids_rename_response_external_ids.rb} +17 -28
  21. data/lib/braze_api_client/models/{attributes_current_location.rb → users_identify_response.rb} +17 -17
  22. data/lib/braze_api_client/models/users_track_response.rb +1 -1
  23. data/lib/braze_api_client/version.rb +2 -2
  24. data/lib/braze_api_client.rb +7 -14
  25. data/spec/api/rest_api_spec.rb +7 -7
  26. data/spec/api_client_spec.rb +1 -1
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/general_error_spec.rb +1 -1
  29. data/spec/models/{attributes_current_location_spec.rb → users_alias_new_response_spec.rb} +9 -9
  30. data/spec/models/{identifier_one_of2_spec.rb → users_delete_response_spec.rb} +8 -8
  31. data/spec/models/{attributes_facebook_spec.rb → users_external_ids_remove_response_spec.rb} +10 -10
  32. data/spec/models/users_external_ids_rename_response_external_ids_spec.rb +40 -0
  33. data/spec/models/{attributes_push_tokens_spec.rb → users_external_ids_rename_response_spec.rb} +10 -10
  34. data/spec/models/users_identify_response_spec.rb +40 -0
  35. data/spec/models/users_track_response_spec.rb +1 -1
  36. data/spec/spec_helper.rb +1 -1
  37. metadata +26 -54
  38. data/docs/Attributes.md +0 -58
  39. data/docs/AttributesArray.md +0 -18
  40. data/docs/AttributesCurrentLocation.md +0 -20
  41. data/docs/AttributesFacebook.md +0 -22
  42. data/docs/AttributesPushTokens.md +0 -22
  43. data/docs/AttributesTwitter.md +0 -26
  44. data/docs/Event.md +0 -26
  45. data/docs/EventsArray.md +0 -18
  46. data/docs/Identifier.md +0 -51
  47. data/docs/IdentifierOneOf1.md +0 -18
  48. data/docs/IdentifierOneOf2.md +0 -18
  49. data/docs/UsersTrackRequest.md +0 -18
  50. data/lib/braze_api_client/models/attributes.rb +0 -458
  51. data/lib/braze_api_client/models/attributes_twitter.rb +0 -254
  52. data/lib/braze_api_client/models/event.rb +0 -264
  53. data/lib/braze_api_client/models/identifier.rb +0 -106
  54. data/lib/braze_api_client/models/identifier_one_of.rb +0 -223
  55. data/lib/braze_api_client/models/identifier_one_of1.rb +0 -223
  56. data/lib/braze_api_client/models/identifier_one_of2.rb +0 -223
  57. data/spec/models/attributes_array_spec.rb +0 -34
  58. data/spec/models/attributes_spec.rb +0 -166
  59. data/spec/models/attributes_twitter_spec.rb +0 -58
  60. data/spec/models/event_spec.rb +0 -58
  61. data/spec/models/events_array_spec.rb +0 -34
  62. data/spec/models/identifier_one_of1_spec.rb +0 -34
  63. data/spec/models/identifier_one_of_spec.rb +0 -34
  64. data/spec/models/identifier_spec.rb +0 -31
  65. data/spec/models/users_track_request_spec.rb +0 -34
@@ -1,166 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::Attributes
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::Attributes do
21
- let(:instance) { BrazeClient::Attributes.new }
22
-
23
- describe 'test an instance of Attributes' do
24
- it 'should create an instance of Attributes' do
25
- expect(instance).to be_instance_of(BrazeClient::Attributes)
26
- end
27
- end
28
- describe 'test attribute "country"' 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 "current_location"' 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 "date_of_first_session"' 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 "date_of_last_session"' 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 "dob"' 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 "email"' 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 "email_subscribe"' do
65
- it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["opted_in", "unsubscribed", "subscribed"])
68
- # validator.allowable_values.each do |value|
69
- # expect { instance.email_subscribe = value }.not_to raise_error
70
- # end
71
- end
72
- end
73
-
74
- describe 'test attribute "email_open_tracking_disabled"' do
75
- it 'should work' do
76
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
- end
78
- end
79
-
80
- describe 'test attribute "email_click_tracking_disabled"' do
81
- it 'should work' do
82
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
- end
84
- end
85
-
86
- describe 'test attribute "facebook"' do
87
- it 'should work' do
88
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
- end
90
- end
91
-
92
- describe 'test attribute "first_name"' do
93
- it 'should work' do
94
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
- end
96
- end
97
-
98
- describe 'test attribute "gender"' do
99
- it 'should work' do
100
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["M", "F", "O", "N", "P", "null"])
102
- # validator.allowable_values.each do |value|
103
- # expect { instance.gender = value }.not_to raise_error
104
- # end
105
- end
106
- end
107
-
108
- describe 'test attribute "home_city"' do
109
- it 'should work' do
110
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
- end
112
- end
113
-
114
- describe 'test attribute "language"' do
115
- it 'should work' do
116
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
117
- end
118
- end
119
-
120
- describe 'test attribute "last_name"' do
121
- it 'should work' do
122
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
- end
124
- end
125
-
126
- describe 'test attribute "marked_email_as_spam_at"' do
127
- it 'should work' do
128
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
129
- end
130
- end
131
-
132
- describe 'test attribute "phone"' do
133
- it 'should work' do
134
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
135
- end
136
- end
137
-
138
- describe 'test attribute "push_subscribe"' do
139
- it 'should work' do
140
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
141
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["opted_in", "unsubscribed", "subscribed"])
142
- # validator.allowable_values.each do |value|
143
- # expect { instance.push_subscribe = value }.not_to raise_error
144
- # end
145
- end
146
- end
147
-
148
- describe 'test attribute "push_tokens"' 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
- describe 'test attribute "time_zone"' do
155
- it 'should work' do
156
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
157
- end
158
- end
159
-
160
- describe 'test attribute "twitter"' do
161
- it 'should work' do
162
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
163
- end
164
- end
165
-
166
- end
@@ -1,58 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::AttributesTwitter
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::AttributesTwitter do
21
- let(:instance) { BrazeClient::AttributesTwitter.new }
22
-
23
- describe 'test an instance of AttributesTwitter' do
24
- it 'should create an instance of AttributesTwitter' do
25
- expect(instance).to be_instance_of(BrazeClient::AttributesTwitter)
26
- end
27
- end
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 "screen_name"' 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 "followers_count"' 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 "friends_count"' 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 "statuses_count"' 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
- end
@@ -1,58 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::Event
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::Event do
21
- let(:instance) { BrazeClient::Event.new }
22
-
23
- describe 'test an instance of Event' do
24
- it 'should create an instance of Event' do
25
- expect(instance).to be_instance_of(BrazeClient::Event)
26
- end
27
- end
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 "time"' 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 "app_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
- describe 'test attribute "properties"' 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 "_update_existing_only"' 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
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::EventsArray
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::EventsArray do
21
- let(:instance) { BrazeClient::EventsArray.new }
22
-
23
- describe 'test an instance of EventsArray' do
24
- it 'should create an instance of EventsArray' do
25
- expect(instance).to be_instance_of(BrazeClient::EventsArray)
26
- end
27
- end
28
- describe 'test attribute "attributes"' 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
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::IdentifierOneOf1
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::IdentifierOneOf1 do
21
- let(:instance) { BrazeClient::IdentifierOneOf1.new }
22
-
23
- describe 'test an instance of IdentifierOneOf1' do
24
- it 'should create an instance of IdentifierOneOf1' do
25
- expect(instance).to be_instance_of(BrazeClient::IdentifierOneOf1)
26
- end
27
- end
28
- describe 'test attribute "user_alias"' 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
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::IdentifierOneOf
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::IdentifierOneOf do
21
- let(:instance) { BrazeClient::IdentifierOneOf.new }
22
-
23
- describe 'test an instance of IdentifierOneOf' do
24
- it 'should create an instance of IdentifierOneOf' do
25
- expect(instance).to be_instance_of(BrazeClient::IdentifierOneOf)
26
- end
27
- end
28
- describe 'test attribute "external_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
- end
@@ -1,31 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::Identifier
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::Identifier do
21
- describe '.openapi_one_of' do
22
- it 'lists the items referenced in the oneOf array' do
23
- expect(described_class.openapi_one_of).to_not be_empty
24
- end
25
- end
26
-
27
- describe '.build' do
28
- it 'returns the correct model' do
29
- end
30
- end
31
- end
@@ -1,34 +0,0 @@
1
- =begin
2
- #Braze
3
-
4
- #Track users, send messages, export data, and more
5
-
6
- The version of the OpenAPI document: 0.1.0
7
-
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
10
-
11
- =end
12
-
13
- require 'spec_helper'
14
- require 'json'
15
- require 'date'
16
-
17
- # Unit tests for BrazeClient::UsersTrackRequest
18
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
- # Please update as you see appropriate
20
- describe BrazeClient::UsersTrackRequest do
21
- let(:instance) { BrazeClient::UsersTrackRequest.new }
22
-
23
- describe 'test an instance of UsersTrackRequest' do
24
- it 'should create an instance of UsersTrackRequest' do
25
- expect(instance).to be_instance_of(BrazeClient::UsersTrackRequest)
26
- end
27
- end
28
- describe 'test attribute "attributes"' 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
- end