agent_push_kit 0.1.0

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 (199) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +145 -0
  4. data/LICENSE +21 -0
  5. data/README.md +195 -0
  6. data/Rakefile +10 -0
  7. data/agent_push_kit.gemspec +39 -0
  8. data/docs/AcceptedResponse.md +18 -0
  9. data/docs/AccountApi.md +137 -0
  10. data/docs/AddMemberInput.md +18 -0
  11. data/docs/AgentToken.md +30 -0
  12. data/docs/AgentTokenCreated.md +32 -0
  13. data/docs/AgentTokensApi.md +279 -0
  14. data/docs/ApiKeySummary.md +22 -0
  15. data/docs/AuthResponse.md +24 -0
  16. data/docs/AuthenticationApi.md +385 -0
  17. data/docs/CreateAgentTokenInput.md +18 -0
  18. data/docs/CreateOrganizationInput.md +18 -0
  19. data/docs/CurrentAccount.md +20 -0
  20. data/docs/CustomerAccountsApi.md +348 -0
  21. data/docs/DeletedResponse.md +18 -0
  22. data/docs/DeliverySummary.md +24 -0
  23. data/docs/Device.md +28 -0
  24. data/docs/DevicesApi.md +344 -0
  25. data/docs/DisabledResponse.md +18 -0
  26. data/docs/ErrorResponse.md +22 -0
  27. data/docs/EventDetail.md +36 -0
  28. data/docs/EventFilter.md +53 -0
  29. data/docs/EventPage.md +20 -0
  30. data/docs/EventSummary.md +32 -0
  31. data/docs/EventsApi.md +505 -0
  32. data/docs/FilterGroup.md +20 -0
  33. data/docs/FilterNot.md +20 -0
  34. data/docs/HealthApi.md +67 -0
  35. data/docs/HealthResponse.md +20 -0
  36. data/docs/IngestionResult.md +22 -0
  37. data/docs/InheritedResponse.md +18 -0
  38. data/docs/Membership.md +24 -0
  39. data/docs/MembershipUser.md +22 -0
  40. data/docs/Organization.md +32 -0
  41. data/docs/OrganizationApiKeyCreated.md +24 -0
  42. data/docs/OrganizationCount.md +20 -0
  43. data/docs/OrganizationCreated.md +20 -0
  44. data/docs/OrganizationRecord.md +24 -0
  45. data/docs/PasswordLoginInput.md +20 -0
  46. data/docs/PasswordResetCompleteInput.md +20 -0
  47. data/docs/PasswordResetRequestInput.md +18 -0
  48. data/docs/PreferenceRecord.md +24 -0
  49. data/docs/PreferencesApi.md +287 -0
  50. data/docs/ProviderLoginInput.md +20 -0
  51. data/docs/RegisterDeviceInput.md +24 -0
  52. data/docs/RegisterInput.md +22 -0
  53. data/docs/RegisterWebPushSubscriptionInput.md +20 -0
  54. data/docs/RegisterWebPushSubscriptionInputKeys.md +20 -0
  55. data/docs/RevokedResponse.md +18 -0
  56. data/docs/SearchEventsInput.md +22 -0
  57. data/docs/SendEventInput.md +32 -0
  58. data/docs/Service.md +26 -0
  59. data/docs/ServiceAllOfCount.md +18 -0
  60. data/docs/ServicePreference.md +26 -0
  61. data/docs/ServiceSummary.md +22 -0
  62. data/docs/SetEnabledInput.md +18 -0
  63. data/docs/TextFilterCondition.md +22 -0
  64. data/docs/TimeFilterCondition.md +22 -0
  65. data/docs/TypeOverride.md +22 -0
  66. data/docs/User.md +28 -0
  67. data/docs/WebPushConfiguration.md +20 -0
  68. data/docs/WebPushSubscription.md +22 -0
  69. data/git_push.sh +57 -0
  70. data/lib/agent_push_kit/api/account_api.rb +132 -0
  71. data/lib/agent_push_kit/api/agent_tokens_api.rb +274 -0
  72. data/lib/agent_push_kit/api/authentication_api.rb +418 -0
  73. data/lib/agent_push_kit/api/customer_accounts_api.rb +339 -0
  74. data/lib/agent_push_kit/api/devices_api.rb +339 -0
  75. data/lib/agent_push_kit/api/events_api.rb +520 -0
  76. data/lib/agent_push_kit/api/health_api.rb +77 -0
  77. data/lib/agent_push_kit/api/preferences_api.rb +308 -0
  78. data/lib/agent_push_kit/api_client.rb +397 -0
  79. data/lib/agent_push_kit/api_error.rb +58 -0
  80. data/lib/agent_push_kit/api_model_base.rb +88 -0
  81. data/lib/agent_push_kit/configuration.rb +325 -0
  82. data/lib/agent_push_kit/models/accepted_response.rb +164 -0
  83. data/lib/agent_push_kit/models/add_member_input.rb +173 -0
  84. data/lib/agent_push_kit/models/agent_token.rb +292 -0
  85. data/lib/agent_push_kit/models/agent_token_created.rb +364 -0
  86. data/lib/agent_push_kit/models/api_key_summary.rb +165 -0
  87. data/lib/agent_push_kit/models/auth_response.rb +228 -0
  88. data/lib/agent_push_kit/models/create_agent_token_input.rb +182 -0
  89. data/lib/agent_push_kit/models/create_organization_input.rb +182 -0
  90. data/lib/agent_push_kit/models/current_account.rb +192 -0
  91. data/lib/agent_push_kit/models/deleted_response.rb +164 -0
  92. data/lib/agent_push_kit/models/delivery_summary.rb +242 -0
  93. data/lib/agent_push_kit/models/device.rb +304 -0
  94. data/lib/agent_push_kit/models/disabled_response.rb +164 -0
  95. data/lib/agent_push_kit/models/error_response.rb +199 -0
  96. data/lib/agent_push_kit/models/event_detail.rb +393 -0
  97. data/lib/agent_push_kit/models/event_filter.rb +106 -0
  98. data/lib/agent_push_kit/models/event_page.rb +178 -0
  99. data/lib/agent_push_kit/models/event_summary.rb +318 -0
  100. data/lib/agent_push_kit/models/filter_group.rb +234 -0
  101. data/lib/agent_push_kit/models/filter_not.rb +214 -0
  102. data/lib/agent_push_kit/models/health_response.rb +216 -0
  103. data/lib/agent_push_kit/models/ingestion_result.rb +216 -0
  104. data/lib/agent_push_kit/models/inherited_response.rb +164 -0
  105. data/lib/agent_push_kit/models/membership.rb +266 -0
  106. data/lib/agent_push_kit/models/membership_user.rb +202 -0
  107. data/lib/agent_push_kit/models/organization.rb +337 -0
  108. data/lib/agent_push_kit/models/organization_api_key_created.rb +253 -0
  109. data/lib/agent_push_kit/models/organization_count.rb +156 -0
  110. data/lib/agent_push_kit/models/organization_created.rb +201 -0
  111. data/lib/agent_push_kit/models/organization_record.rb +242 -0
  112. data/lib/agent_push_kit/models/password_login_input.rb +217 -0
  113. data/lib/agent_push_kit/models/password_reset_complete_input.rb +217 -0
  114. data/lib/agent_push_kit/models/password_reset_request_input.rb +173 -0
  115. data/lib/agent_push_kit/models/preference_record.rb +242 -0
  116. data/lib/agent_push_kit/models/provider_login_input.rb +201 -0
  117. data/lib/agent_push_kit/models/register_device_input.rb +304 -0
  118. data/lib/agent_push_kit/models/register_input.rb +245 -0
  119. data/lib/agent_push_kit/models/register_web_push_subscription_input.rb +199 -0
  120. data/lib/agent_push_kit/models/register_web_push_subscription_input_keys.rb +226 -0
  121. data/lib/agent_push_kit/models/revoked_response.rb +164 -0
  122. data/lib/agent_push_kit/models/search_events_input.rb +212 -0
  123. data/lib/agent_push_kit/models/send_event_input.rb +427 -0
  124. data/lib/agent_push_kit/models/service.rb +275 -0
  125. data/lib/agent_push_kit/models/service_all_of_count.rb +164 -0
  126. data/lib/agent_push_kit/models/service_preference.rb +270 -0
  127. data/lib/agent_push_kit/models/service_summary.rb +216 -0
  128. data/lib/agent_push_kit/models/set_enabled_input.rb +164 -0
  129. data/lib/agent_push_kit/models/text_filter_condition.rb +260 -0
  130. data/lib/agent_push_kit/models/time_filter_condition.rb +242 -0
  131. data/lib/agent_push_kit/models/type_override.rb +216 -0
  132. data/lib/agent_push_kit/models/user.rb +280 -0
  133. data/lib/agent_push_kit/models/web_push_configuration.rb +176 -0
  134. data/lib/agent_push_kit/models/web_push_subscription.rb +216 -0
  135. data/lib/agent_push_kit/version.rb +15 -0
  136. data/lib/agent_push_kit.rb +101 -0
  137. data/spec/api/account_api_spec.rb +55 -0
  138. data/spec/api/agent_tokens_api_spec.rb +80 -0
  139. data/spec/api/authentication_api_spec.rb +101 -0
  140. data/spec/api/customer_accounts_api_spec.rb +91 -0
  141. data/spec/api/devices_api_spec.rb +89 -0
  142. data/spec/api/events_api_spec.rb +121 -0
  143. data/spec/api/health_api_spec.rb +45 -0
  144. data/spec/api/preferences_api_spec.rb +83 -0
  145. data/spec/models/accepted_response_spec.rb +36 -0
  146. data/spec/models/add_member_input_spec.rb +36 -0
  147. data/spec/models/agent_token_created_spec.rb +78 -0
  148. data/spec/models/agent_token_spec.rb +72 -0
  149. data/spec/models/api_key_summary_spec.rb +48 -0
  150. data/spec/models/auth_response_spec.rb +54 -0
  151. data/spec/models/create_agent_token_input_spec.rb +36 -0
  152. data/spec/models/create_organization_input_spec.rb +36 -0
  153. data/spec/models/current_account_spec.rb +42 -0
  154. data/spec/models/deleted_response_spec.rb +36 -0
  155. data/spec/models/delivery_summary_spec.rb +54 -0
  156. data/spec/models/device_spec.rb +70 -0
  157. data/spec/models/disabled_response_spec.rb +36 -0
  158. data/spec/models/error_response_spec.rb +48 -0
  159. data/spec/models/event_detail_spec.rb +90 -0
  160. data/spec/models/event_filter_spec.rb +32 -0
  161. data/spec/models/event_page_spec.rb +42 -0
  162. data/spec/models/event_summary_spec.rb +78 -0
  163. data/spec/models/filter_group_spec.rb +46 -0
  164. data/spec/models/filter_not_spec.rb +46 -0
  165. data/spec/models/health_response_spec.rb +50 -0
  166. data/spec/models/ingestion_result_spec.rb +48 -0
  167. data/spec/models/inherited_response_spec.rb +36 -0
  168. data/spec/models/membership_spec.rb +58 -0
  169. data/spec/models/membership_user_spec.rb +48 -0
  170. data/spec/models/organization_api_key_created_spec.rb +54 -0
  171. data/spec/models/organization_count_spec.rb +42 -0
  172. data/spec/models/organization_created_spec.rb +42 -0
  173. data/spec/models/organization_record_spec.rb +54 -0
  174. data/spec/models/organization_spec.rb +82 -0
  175. data/spec/models/password_login_input_spec.rb +42 -0
  176. data/spec/models/password_reset_complete_input_spec.rb +42 -0
  177. data/spec/models/password_reset_request_input_spec.rb +36 -0
  178. data/spec/models/preference_record_spec.rb +54 -0
  179. data/spec/models/provider_login_input_spec.rb +42 -0
  180. data/spec/models/register_device_input_spec.rb +58 -0
  181. data/spec/models/register_input_spec.rb +48 -0
  182. data/spec/models/register_web_push_subscription_input_keys_spec.rb +42 -0
  183. data/spec/models/register_web_push_subscription_input_spec.rb +42 -0
  184. data/spec/models/revoked_response_spec.rb +36 -0
  185. data/spec/models/search_events_input_spec.rb +48 -0
  186. data/spec/models/send_event_input_spec.rb +78 -0
  187. data/spec/models/service_all_of_count_spec.rb +36 -0
  188. data/spec/models/service_preference_spec.rb +60 -0
  189. data/spec/models/service_spec.rb +60 -0
  190. data/spec/models/service_summary_spec.rb +48 -0
  191. data/spec/models/set_enabled_input_spec.rb +36 -0
  192. data/spec/models/text_filter_condition_spec.rb +56 -0
  193. data/spec/models/time_filter_condition_spec.rb +56 -0
  194. data/spec/models/type_override_spec.rb +48 -0
  195. data/spec/models/user_spec.rb +66 -0
  196. data/spec/models/web_push_configuration_spec.rb +42 -0
  197. data/spec/models/web_push_subscription_spec.rb +48 -0
  198. data/spec/spec_helper.rb +111 -0
  199. metadata +344 -0
@@ -0,0 +1,101 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'agent_push_kit/api_client'
15
+ require 'agent_push_kit/api_error'
16
+ require 'agent_push_kit/api_model_base'
17
+ require 'agent_push_kit/version'
18
+ require 'agent_push_kit/configuration'
19
+
20
+ # Models
21
+ require 'agent_push_kit/models/accepted_response'
22
+ require 'agent_push_kit/models/add_member_input'
23
+ require 'agent_push_kit/models/agent_token'
24
+ require 'agent_push_kit/models/agent_token_created'
25
+ require 'agent_push_kit/models/api_key_summary'
26
+ require 'agent_push_kit/models/auth_response'
27
+ require 'agent_push_kit/models/create_agent_token_input'
28
+ require 'agent_push_kit/models/create_organization_input'
29
+ require 'agent_push_kit/models/current_account'
30
+ require 'agent_push_kit/models/deleted_response'
31
+ require 'agent_push_kit/models/delivery_summary'
32
+ require 'agent_push_kit/models/device'
33
+ require 'agent_push_kit/models/disabled_response'
34
+ require 'agent_push_kit/models/error_response'
35
+ require 'agent_push_kit/models/event_detail'
36
+ require 'agent_push_kit/models/event_filter'
37
+ require 'agent_push_kit/models/event_page'
38
+ require 'agent_push_kit/models/event_summary'
39
+ require 'agent_push_kit/models/filter_group'
40
+ require 'agent_push_kit/models/filter_not'
41
+ require 'agent_push_kit/models/health_response'
42
+ require 'agent_push_kit/models/ingestion_result'
43
+ require 'agent_push_kit/models/inherited_response'
44
+ require 'agent_push_kit/models/membership'
45
+ require 'agent_push_kit/models/membership_user'
46
+ require 'agent_push_kit/models/organization'
47
+ require 'agent_push_kit/models/organization_api_key_created'
48
+ require 'agent_push_kit/models/organization_count'
49
+ require 'agent_push_kit/models/organization_created'
50
+ require 'agent_push_kit/models/organization_record'
51
+ require 'agent_push_kit/models/password_login_input'
52
+ require 'agent_push_kit/models/password_reset_complete_input'
53
+ require 'agent_push_kit/models/password_reset_request_input'
54
+ require 'agent_push_kit/models/preference_record'
55
+ require 'agent_push_kit/models/provider_login_input'
56
+ require 'agent_push_kit/models/register_device_input'
57
+ require 'agent_push_kit/models/register_input'
58
+ require 'agent_push_kit/models/register_web_push_subscription_input'
59
+ require 'agent_push_kit/models/register_web_push_subscription_input_keys'
60
+ require 'agent_push_kit/models/revoked_response'
61
+ require 'agent_push_kit/models/search_events_input'
62
+ require 'agent_push_kit/models/send_event_input'
63
+ require 'agent_push_kit/models/service'
64
+ require 'agent_push_kit/models/service_all_of_count'
65
+ require 'agent_push_kit/models/service_preference'
66
+ require 'agent_push_kit/models/service_summary'
67
+ require 'agent_push_kit/models/set_enabled_input'
68
+ require 'agent_push_kit/models/text_filter_condition'
69
+ require 'agent_push_kit/models/time_filter_condition'
70
+ require 'agent_push_kit/models/type_override'
71
+ require 'agent_push_kit/models/user'
72
+ require 'agent_push_kit/models/web_push_configuration'
73
+ require 'agent_push_kit/models/web_push_subscription'
74
+
75
+ # APIs
76
+ require 'agent_push_kit/api/account_api'
77
+ require 'agent_push_kit/api/agent_tokens_api'
78
+ require 'agent_push_kit/api/authentication_api'
79
+ require 'agent_push_kit/api/customer_accounts_api'
80
+ require 'agent_push_kit/api/devices_api'
81
+ require 'agent_push_kit/api/events_api'
82
+ require 'agent_push_kit/api/health_api'
83
+ require 'agent_push_kit/api/preferences_api'
84
+
85
+ module AgentPushKit
86
+ class << self
87
+ # Customize default settings for the SDK using block.
88
+ # AgentPushKit.configure do |config|
89
+ # config.username = "xxx"
90
+ # config.password = "xxx"
91
+ # end
92
+ # If no block given, return the default Configuration object.
93
+ def configure
94
+ if block_given?
95
+ yield(Configuration.default)
96
+ else
97
+ Configuration.default
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,55 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::AccountApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AccountApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::AccountApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AccountApi' do
30
+ it 'should create an instance of AccountApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::AccountApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for delete_current_account
36
+ # Delete the current user and customer accounts they own
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [DeletedResponse]
39
+ describe 'delete_current_account test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
42
+ end
43
+ end
44
+
45
+ # unit tests for get_current_account
46
+ # Get the current user and customer accounts
47
+ # @param [Hash] opts the optional parameters
48
+ # @return [CurrentAccount]
49
+ describe 'get_current_account test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
52
+ end
53
+ end
54
+
55
+ end
@@ -0,0 +1,80 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::AgentTokensApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AgentTokensApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::AgentTokensApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AgentTokensApi' do
30
+ it 'should create an instance of AgentTokensApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::AgentTokensApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for call_mcp
36
+ # Connect through stateless MCP Streamable HTTP
37
+ # This endpoint accepts only an &#x60;apt_&#x60; agent access token.
38
+ # @param request_body
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'call_mcp test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_agent_token
48
+ # Create a named non-expiring agent token
49
+ # The raw &#x60;apt_&#x60; token is shown once. Store it before dismissing the response.
50
+ # @param create_agent_token_input
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AgentTokenCreated]
53
+ describe 'create_agent_token test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
56
+ end
57
+ end
58
+
59
+ # unit tests for list_agent_tokens
60
+ # List agent access tokens without their secrets
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [Array<AgentToken>]
63
+ describe 'list_agent_tokens test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for revoke_agent_token
70
+ # Revoke one of the current user&#39;s agent tokens
71
+ # @param token_id
72
+ # @param [Hash] opts the optional parameters
73
+ # @return [RevokedResponse]
74
+ describe 'revoke_agent_token test' do
75
+ it 'should work' do
76
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
77
+ end
78
+ end
79
+
80
+ end
@@ -0,0 +1,101 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::AuthenticationApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AuthenticationApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::AuthenticationApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AuthenticationApi' do
30
+ it 'should create an instance of AuthenticationApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::AuthenticationApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for complete_password_reset
36
+ # Choose a new password and log in
37
+ # @param password_reset_complete_input
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [AuthResponse]
40
+ describe 'complete_password_reset test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for login_with_apple
47
+ # Log in or attach an account using a Sign in with Apple identity token
48
+ # @param provider_login_input
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [AuthResponse]
51
+ describe 'login_with_apple test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
54
+ end
55
+ end
56
+
57
+ # unit tests for login_with_google
58
+ # Log in or attach an account using a verified Google ID token
59
+ # @param provider_login_input
60
+ # @param [Hash] opts the optional parameters
61
+ # @return [AuthResponse]
62
+ describe 'login_with_google test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
65
+ end
66
+ end
67
+
68
+ # unit tests for login_with_password
69
+ # Log in with email and password
70
+ # @param password_login_input
71
+ # @param [Hash] opts the optional parameters
72
+ # @return [AuthResponse]
73
+ describe 'login_with_password test' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
76
+ end
77
+ end
78
+
79
+ # unit tests for register
80
+ # Create a user and first customer account
81
+ # @param register_input
82
+ # @param [Hash] opts the optional parameters
83
+ # @return [AuthResponse]
84
+ describe 'register test' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ # unit tests for request_password_reset
91
+ # Email a single-use password reset token
92
+ # @param password_reset_request_input
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [AcceptedResponse]
95
+ describe 'request_password_reset test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
+ end
99
+ end
100
+
101
+ end
@@ -0,0 +1,91 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::CustomerAccountsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'CustomerAccountsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::CustomerAccountsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CustomerAccountsApi' do
30
+ it 'should create an instance of CustomerAccountsApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::CustomerAccountsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for add_organization_member
36
+ # Add an already-registered user to a customer account
37
+ # @param organization_id
38
+ # @param add_member_input
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Membership]
41
+ describe 'add_organization_member test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_organization
48
+ # Create another Agent Push Kit customer account
49
+ # @param create_organization_input
50
+ # @param [Hash] opts the optional parameters
51
+ # @return [OrganizationCreated]
52
+ describe 'create_organization test' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
+ end
56
+ end
57
+
58
+ # unit tests for list_organization_members
59
+ # List members of a customer account
60
+ # @param organization_id
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [Array<Membership>]
63
+ describe 'list_organization_members test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
66
+ end
67
+ end
68
+
69
+ # unit tests for list_organizations
70
+ # List customer accounts available to the current user
71
+ # @param [Hash] opts the optional parameters
72
+ # @return [Array<Organization>]
73
+ describe 'list_organizations test' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
76
+ end
77
+ end
78
+
79
+ # unit tests for regenerate_organization_api_key
80
+ # Rotate the application event-ingestion key
81
+ # The previous &#x60;apk_&#x60; key stops working immediately. The replacement is returned only in this response.
82
+ # @param organization_id
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [OrganizationApiKeyCreated]
85
+ describe 'regenerate_organization_api_key test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
88
+ end
89
+ end
90
+
91
+ end
@@ -0,0 +1,89 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::DevicesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DevicesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::DevicesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DevicesApi' do
30
+ it 'should create an instance of DevicesApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::DevicesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_web_push_configuration
36
+ # Get browser push availability and its public VAPID key
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [WebPushConfiguration]
39
+ describe 'get_web_push_configuration test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
42
+ end
43
+ end
44
+
45
+ # unit tests for register_device
46
+ # Register or refresh an APNs device
47
+ # @param register_device_input
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [Device]
50
+ describe 'register_device test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
53
+ end
54
+ end
55
+
56
+ # unit tests for register_web_push_subscription
57
+ # Register or refresh a browser push subscription
58
+ # @param register_web_push_subscription_input
59
+ # @param [Hash] opts the optional parameters
60
+ # @return [WebPushSubscription]
61
+ describe 'register_web_push_subscription test' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
64
+ end
65
+ end
66
+
67
+ # unit tests for remove_device
68
+ # Disable push delivery to one installation
69
+ # @param installation_id
70
+ # @param [Hash] opts the optional parameters
71
+ # @return [DisabledResponse]
72
+ describe 'remove_device test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ # unit tests for remove_web_push_subscription
79
+ # Disable a browser push subscription
80
+ # @param subscription_id
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [DisabledResponse]
83
+ describe 'remove_web_push_subscription test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
86
+ end
87
+ end
88
+
89
+ end
@@ -0,0 +1,121 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::EventsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'EventsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::EventsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of EventsApi' do
30
+ it 'should create an instance of EventsApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::EventsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_event
36
+ # Get one event including metadata
37
+ # @param organization_id
38
+ # @param event_id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [EventDetail]
41
+ describe 'get_event test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for list_events
48
+ # List a paginated inbox
49
+ # @param organization_id
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :service
52
+ # @option opts [String] :type
53
+ # @option opts [String] :search
54
+ # @option opts [String] :cursor
55
+ # @option opts [Integer] :limit
56
+ # @return [EventPage]
57
+ describe 'list_events test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
63
+ # unit tests for list_notification_types
64
+ # List distinct notification types
65
+ # @param organization_id
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [String] :service_id Optionally restrict types to one service ID.
68
+ # @return [Array<String>]
69
+ describe 'list_notification_types test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
72
+ end
73
+ end
74
+
75
+ # unit tests for list_services
76
+ # List services discovered from ingested events
77
+ # @param organization_id
78
+ # @param [Hash] opts the optional parameters
79
+ # @return [Array<Service>]
80
+ describe 'list_services test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
83
+ end
84
+ end
85
+
86
+ # unit tests for search_events
87
+ # Search events with a validated Boolean filter tree
88
+ # @param organization_id
89
+ # @param search_events_input
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [EventPage]
92
+ describe 'search_events test' do
93
+ it 'should work' do
94
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
95
+ end
96
+ end
97
+
98
+ # unit tests for send_event
99
+ # Send an event using an application ingestion key
100
+ # @param send_event_input
101
+ # @param [Hash] opts the optional parameters
102
+ # @return [IngestionResult]
103
+ describe 'send_event test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
106
+ end
107
+ end
108
+
109
+ # unit tests for send_event_as_user
110
+ # Send an event as an authenticated user or agent
111
+ # @param organization_id
112
+ # @param send_event_input
113
+ # @param [Hash] opts the optional parameters
114
+ # @return [IngestionResult]
115
+ describe 'send_event_as_user test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
118
+ end
119
+ end
120
+
121
+ end
@@ -0,0 +1,45 @@
1
+ =begin
2
+ #Agent Push Kit API
3
+
4
+ #The complete Agent Push Kit REST API. Application event ingestion uses an organization key beginning with `apk_`. Authenticated user operations accept either an Agent Push Kit login JWT or an agent access token beginning with `apt_`.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.24.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for AgentPushKit::HealthApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'HealthApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = AgentPushKit::HealthApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of HealthApi' do
30
+ it 'should create an instance of HealthApi' do
31
+ expect(@api_instance).to be_instance_of(AgentPushKit::HealthApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_health
36
+ # Check Agent Push Kit API health
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [HealthResponse]
39
+ describe 'get_health test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
42
+ end
43
+ end
44
+
45
+ end