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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2245d103ea9a8cdfd14c19add59573b0995364c01c31e36c62f9c8abb6b57b94
4
+ data.tar.gz: 191a40a7c2179619f5faee9740e441355a75ebfff450de078536fdbb4fcff900
5
+ SHA512:
6
+ metadata.gz: '029b49cf273b64220840b0e0353ae0fa475e90c60ade5e022ebb41f8c54b0ee969cffae900fa1a1de898bc5a0bfe56732ec381ee881bb83b528493b9ed96f40d'
7
+ data.tar.gz: 2e0cb7d5b39418acfa496266bae475b6a08f1348f295128a5b04a7cb61199d160c512fae9188832a04982aaa8771cd144417bc52b60cde9cda7af8f803c96bac
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 13.0.1'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,145 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ agent_push_kit (0.1.0)
5
+ typhoeus (~> 1.0, >= 1.0.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.3)
11
+ byebug (13.0.0)
12
+ reline (>= 0.6.0)
13
+ coderay (1.1.3)
14
+ date (3.5.1)
15
+ diff-lcs (1.6.2)
16
+ ethon (0.18.0)
17
+ ffi (>= 1.15.0)
18
+ logger
19
+ ffi (1.17.4)
20
+ ffi (1.17.4-aarch64-linux-gnu)
21
+ ffi (1.17.4-aarch64-linux-musl)
22
+ ffi (1.17.4-arm-linux-gnu)
23
+ ffi (1.17.4-arm-linux-musl)
24
+ ffi (1.17.4-arm64-darwin)
25
+ ffi (1.17.4-x86-linux-gnu)
26
+ ffi (1.17.4-x86-linux-musl)
27
+ ffi (1.17.4-x86_64-darwin)
28
+ ffi (1.17.4-x86_64-linux-gnu)
29
+ ffi (1.17.4-x86_64-linux-musl)
30
+ io-console (0.9.2)
31
+ jaro_winkler (1.5.6)
32
+ logger (1.7.0)
33
+ method_source (1.1.0)
34
+ parallel (1.28.0)
35
+ parser (3.3.12.0)
36
+ ast (~> 2.4.1)
37
+ racc
38
+ pry (0.16.0)
39
+ coderay (~> 1.1)
40
+ method_source (~> 1.0)
41
+ reline (>= 0.6.0)
42
+ pry-byebug (3.12.0)
43
+ byebug (~> 13.0)
44
+ pry (>= 0.13, < 0.17)
45
+ psych (5.4.0)
46
+ date
47
+ stringio
48
+ racc (1.8.1)
49
+ rainbow (3.1.1)
50
+ rake (13.0.6)
51
+ reline (0.7.0)
52
+ io-console (~> 0.5)
53
+ rspec (3.13.2)
54
+ rspec-core (~> 3.13.0)
55
+ rspec-expectations (~> 3.13.0)
56
+ rspec-mocks (~> 3.13.0)
57
+ rspec-core (3.13.6)
58
+ rspec-support (~> 3.13.0)
59
+ rspec-expectations (3.13.5)
60
+ diff-lcs (>= 1.2.0, < 2.0)
61
+ rspec-support (~> 3.13.0)
62
+ rspec-mocks (3.13.8)
63
+ diff-lcs (>= 1.2.0, < 2.0)
64
+ rspec-support (~> 3.13.0)
65
+ rspec-support (3.13.7)
66
+ rubocop (0.66.0)
67
+ jaro_winkler (~> 1.5.1)
68
+ parallel (~> 1.10)
69
+ parser (>= 2.5, != 2.5.1.1)
70
+ psych (>= 3.1.0)
71
+ rainbow (>= 2.2.2, < 4.0)
72
+ ruby-progressbar (~> 1.7)
73
+ unicode-display_width (>= 1.4.0, < 1.6)
74
+ ruby-progressbar (1.13.0)
75
+ stringio (3.2.0)
76
+ typhoeus (1.6.0)
77
+ ethon (>= 0.18.0)
78
+ unicode-display_width (1.5.0)
79
+
80
+ PLATFORMS
81
+ aarch64-linux-gnu
82
+ aarch64-linux-musl
83
+ arm-linux-gnu
84
+ arm-linux-musl
85
+ arm64-darwin
86
+ ruby
87
+ x86-linux-gnu
88
+ x86-linux-musl
89
+ x86_64-darwin
90
+ x86_64-linux-gnu
91
+ x86_64-linux-musl
92
+
93
+ DEPENDENCIES
94
+ agent_push_kit!
95
+ pry-byebug
96
+ rake (~> 13.0.1)
97
+ rspec (~> 3.6, >= 3.6.0)
98
+ rubocop (~> 0.66.0)
99
+
100
+ CHECKSUMS
101
+ agent_push_kit (0.1.0)
102
+ ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
103
+ bundler (4.0.18) sha256=02d9a17429de1847b4e0c9f27a9ee4b20c0a74c0a641b4e77195d6019e3618ac
104
+ byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
105
+ coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
106
+ date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
107
+ diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
108
+ ethon (0.18.0) sha256=b598afc9f30448cb068b850714b7d6948e941476095d04f90a4ac65b8d6efcb2
109
+ ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf
110
+ ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df
111
+ ffi (1.17.4-aarch64-linux-musl) sha256=9286b7a615f2676245283aef0a0a3b475ae3aae2bb5448baace630bb77b91f39
112
+ ffi (1.17.4-arm-linux-gnu) sha256=d6dbddf7cb77bf955411af5f187a65b8cd378cb003c15c05697f5feee1cb1564
113
+ ffi (1.17.4-arm-linux-musl) sha256=9d4838ded0465bef6e2426935f6bcc93134b6616785a84ffd2a3d82bc3cf6f95
114
+ ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b
115
+ ffi (1.17.4-x86-linux-gnu) sha256=38e150df5f4ca555e25beca4090823ae09657bceded154e3c52f8631c1ed72cf
116
+ ffi (1.17.4-x86-linux-musl) sha256=fbeec0fc7c795bcf86f623bb18d31ea1820f7bd580e1703a3d3740d527437809
117
+ ffi (1.17.4-x86_64-darwin) sha256=aa70390523cf3235096cf64962b709b4cfbd5c082a2cb2ae714eb0fe2ccda496
118
+ ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d
119
+ ffi (1.17.4-x86_64-linux-musl) sha256=3fdf9888483de005f8ef8d1cf2d3b20d86626af206cbf780f6a6a12439a9c49e
120
+ io-console (0.9.2) sha256=efa74f891dd03c0939a931dfc6e74c2813d904763d456ea9762b0525e748db08
121
+ jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
122
+ logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
123
+ method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
124
+ parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
125
+ parser (3.3.12.0) sha256=21a6d7f755d5a24dfbdc6e6b772e4e879a52e7631a88bc5a3a134606052c9828
126
+ pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
127
+ pry-byebug (3.12.0) sha256=594e094ae8a8390a7ad4c7b36ae36e13304ed02664c67417d108dc5f7213d1b7
128
+ psych (5.4.0) sha256=14f72d69a611af663d7d70e4a7b67d9eb1f3ae9f8d916b478961d5a0075ba5b7
129
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
130
+ rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
131
+ rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
132
+ reline (0.7.0) sha256=5b012d8e55dbf9d450f12bde2cf7d15ff546ae80b3f8f3b30e570d431815583d
133
+ rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
134
+ rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
135
+ rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
136
+ rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
137
+ rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
138
+ rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
139
+ ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
140
+ stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
141
+ typhoeus (1.6.0) sha256=bacc41c23e379547e29801dc235cd1699b70b955a1ba3d32b2b877aa844c331d
142
+ unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
143
+
144
+ BUNDLED WITH
145
+ 4.0.18
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Justin Strong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,195 @@
1
+ # agent_push_kit
2
+
3
+ AgentPushKit - the Ruby gem for the Agent Push Kit API
4
+
5
+ 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_`.
6
+
7
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
+
9
+ - API version: 0.1.0
10
+ - Package version: 0.1.0
11
+ - Generator version: 7.24.0
12
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
+ For more information, please visit [https://agentpushkit.com](https://agentpushkit.com)
14
+
15
+ ## Installation
16
+
17
+ ### Build a gem
18
+
19
+ To build the Ruby code into a gem:
20
+
21
+ ```shell
22
+ gem build agent_push_kit.gemspec
23
+ ```
24
+
25
+ Then either install the gem locally:
26
+
27
+ ```shell
28
+ gem install ./agent_push_kit-0.1.0.gem
29
+ ```
30
+
31
+ (for development, run `gem install --dev ./agent_push_kit-0.1.0.gem` to install the development dependencies)
32
+
33
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
+
35
+ Finally add this to the Gemfile:
36
+
37
+ gem 'agent_push_kit', '~> 0.1.0'
38
+
39
+ ### Install from Git
40
+
41
+ If the Ruby gem is hosted at a git repository: https://github.com/JustinBStrong/agent-push-kit-ruby, then add the following in the Gemfile:
42
+
43
+ gem 'agent_push_kit', :git => 'https://github.com/JustinBStrong/agent-push-kit-ruby.git'
44
+
45
+ ### Include the Ruby code directly
46
+
47
+ Include the Ruby code directly using `-I` as follows:
48
+
49
+ ```shell
50
+ ruby -Ilib script.rb
51
+ ```
52
+
53
+ ## Getting Started
54
+
55
+ Please follow the [installation](#installation) procedure and then run the following code:
56
+
57
+ ```ruby
58
+ # Load the gem
59
+ require 'agent_push_kit'
60
+
61
+ # Setup authorization
62
+ AgentPushKit.configure do |config|
63
+ # Configure Bearer authorization (Agent Push Kit JWT or apt_ token): UserOrAgent
64
+ config.access_token = 'YOUR_BEARER_TOKEN'
65
+ # Configure a proc to get access tokens in lieu of the static access_token configuration
66
+ config.access_token_getter = -> { 'YOUR TOKEN GETTER PROC' }
67
+ end
68
+
69
+ api_instance = AgentPushKit::AccountApi.new
70
+
71
+ begin
72
+ #Delete the current user and customer accounts they own
73
+ result = api_instance.delete_current_account
74
+ p result
75
+ rescue AgentPushKit::ApiError => e
76
+ puts "Exception when calling AccountApi->delete_current_account: #{e}"
77
+ end
78
+
79
+ ```
80
+
81
+ ## Documentation for API Endpoints
82
+
83
+ All URIs are relative to *https://api.chatdna.co/agent-push-kit/v1*
84
+
85
+ Class | Method | HTTP request | Description
86
+ ------------ | ------------- | ------------- | -------------
87
+ *AgentPushKit::AccountApi* | [**delete_current_account**](docs/AccountApi.md#delete_current_account) | **DELETE** /me | Delete the current user and customer accounts they own
88
+ *AgentPushKit::AccountApi* | [**get_current_account**](docs/AccountApi.md#get_current_account) | **GET** /me | Get the current user and customer accounts
89
+ *AgentPushKit::AgentTokensApi* | [**call_mcp**](docs/AgentTokensApi.md#call_mcp) | **POST** /mcp | Connect through stateless MCP Streamable HTTP
90
+ *AgentPushKit::AgentTokensApi* | [**create_agent_token**](docs/AgentTokensApi.md#create_agent_token) | **POST** /agent-tokens | Create a named non-expiring agent token
91
+ *AgentPushKit::AgentTokensApi* | [**list_agent_tokens**](docs/AgentTokensApi.md#list_agent_tokens) | **GET** /agent-tokens | List agent access tokens without their secrets
92
+ *AgentPushKit::AgentTokensApi* | [**revoke_agent_token**](docs/AgentTokensApi.md#revoke_agent_token) | **DELETE** /agent-tokens/{tokenId} | Revoke one of the current user's agent tokens
93
+ *AgentPushKit::AuthenticationApi* | [**complete_password_reset**](docs/AuthenticationApi.md#complete_password_reset) | **POST** /auth/password-reset/complete | Choose a new password and log in
94
+ *AgentPushKit::AuthenticationApi* | [**login_with_apple**](docs/AuthenticationApi.md#login_with_apple) | **POST** /auth/apple | Log in or attach an account using a Sign in with Apple identity token
95
+ *AgentPushKit::AuthenticationApi* | [**login_with_google**](docs/AuthenticationApi.md#login_with_google) | **POST** /auth/google | Log in or attach an account using a verified Google ID token
96
+ *AgentPushKit::AuthenticationApi* | [**login_with_password**](docs/AuthenticationApi.md#login_with_password) | **POST** /auth/login | Log in with email and password
97
+ *AgentPushKit::AuthenticationApi* | [**register**](docs/AuthenticationApi.md#register) | **POST** /auth/register | Create a user and first customer account
98
+ *AgentPushKit::AuthenticationApi* | [**request_password_reset**](docs/AuthenticationApi.md#request_password_reset) | **POST** /auth/password-reset/request | Email a single-use password reset token
99
+ *AgentPushKit::CustomerAccountsApi* | [**add_organization_member**](docs/CustomerAccountsApi.md#add_organization_member) | **POST** /organizations/{organizationId}/members | Add an already-registered user to a customer account
100
+ *AgentPushKit::CustomerAccountsApi* | [**create_organization**](docs/CustomerAccountsApi.md#create_organization) | **POST** /organizations | Create another Agent Push Kit customer account
101
+ *AgentPushKit::CustomerAccountsApi* | [**list_organization_members**](docs/CustomerAccountsApi.md#list_organization_members) | **GET** /organizations/{organizationId}/members | List members of a customer account
102
+ *AgentPushKit::CustomerAccountsApi* | [**list_organizations**](docs/CustomerAccountsApi.md#list_organizations) | **GET** /organizations | List customer accounts available to the current user
103
+ *AgentPushKit::CustomerAccountsApi* | [**regenerate_organization_api_key**](docs/CustomerAccountsApi.md#regenerate_organization_api_key) | **POST** /organizations/{organizationId}/api-key/regenerate | Rotate the application event-ingestion key
104
+ *AgentPushKit::DevicesApi* | [**get_web_push_configuration**](docs/DevicesApi.md#get_web_push_configuration) | **GET** /web-push/configuration | Get browser push availability and its public VAPID key
105
+ *AgentPushKit::DevicesApi* | [**register_device**](docs/DevicesApi.md#register_device) | **POST** /devices | Register or refresh an APNs device
106
+ *AgentPushKit::DevicesApi* | [**register_web_push_subscription**](docs/DevicesApi.md#register_web_push_subscription) | **POST** /web-push/subscriptions | Register or refresh a browser push subscription
107
+ *AgentPushKit::DevicesApi* | [**remove_device**](docs/DevicesApi.md#remove_device) | **DELETE** /devices/{installationId} | Disable push delivery to one installation
108
+ *AgentPushKit::DevicesApi* | [**remove_web_push_subscription**](docs/DevicesApi.md#remove_web_push_subscription) | **DELETE** /web-push/subscriptions/{subscriptionId} | Disable a browser push subscription
109
+ *AgentPushKit::EventsApi* | [**get_event**](docs/EventsApi.md#get_event) | **GET** /organizations/{organizationId}/events/{eventId} | Get one event including metadata
110
+ *AgentPushKit::EventsApi* | [**list_events**](docs/EventsApi.md#list_events) | **GET** /organizations/{organizationId}/events | List a paginated inbox
111
+ *AgentPushKit::EventsApi* | [**list_notification_types**](docs/EventsApi.md#list_notification_types) | **GET** /organizations/{organizationId}/types | List distinct notification types
112
+ *AgentPushKit::EventsApi* | [**list_services**](docs/EventsApi.md#list_services) | **GET** /organizations/{organizationId}/services | List services discovered from ingested events
113
+ *AgentPushKit::EventsApi* | [**search_events**](docs/EventsApi.md#search_events) | **POST** /organizations/{organizationId}/events/search | Search events with a validated Boolean filter tree
114
+ *AgentPushKit::EventsApi* | [**send_event**](docs/EventsApi.md#send_event) | **POST** /events | Send an event using an application ingestion key
115
+ *AgentPushKit::EventsApi* | [**send_event_as_user**](docs/EventsApi.md#send_event_as_user) | **POST** /organizations/{organizationId}/events | Send an event as an authenticated user or agent
116
+ *AgentPushKit::HealthApi* | [**get_health**](docs/HealthApi.md#get_health) | **GET** /health | Check Agent Push Kit API health
117
+ *AgentPushKit::PreferencesApi* | [**list_preferences**](docs/PreferencesApi.md#list_preferences) | **GET** /organizations/{organizationId}/preferences | List service defaults and exact-type overrides
118
+ *AgentPushKit::PreferencesApi* | [**remove_type_preference**](docs/PreferencesApi.md#remove_type_preference) | **DELETE** /services/{serviceId}/types/{type}/preference | Remove an exact-type override so it inherits the service default
119
+ *AgentPushKit::PreferencesApi* | [**set_service_preference**](docs/PreferencesApi.md#set_service_preference) | **PUT** /services/{serviceId}/preference | Enable or disable pushes for a service by default
120
+ *AgentPushKit::PreferencesApi* | [**set_type_preference**](docs/PreferencesApi.md#set_type_preference) | **PUT** /services/{serviceId}/types/{type}/preference | Override push delivery for one exact notification type
121
+
122
+
123
+ ## Documentation for Models
124
+
125
+ - [AgentPushKit::AcceptedResponse](docs/AcceptedResponse.md)
126
+ - [AgentPushKit::AddMemberInput](docs/AddMemberInput.md)
127
+ - [AgentPushKit::AgentToken](docs/AgentToken.md)
128
+ - [AgentPushKit::AgentTokenCreated](docs/AgentTokenCreated.md)
129
+ - [AgentPushKit::ApiKeySummary](docs/ApiKeySummary.md)
130
+ - [AgentPushKit::AuthResponse](docs/AuthResponse.md)
131
+ - [AgentPushKit::CreateAgentTokenInput](docs/CreateAgentTokenInput.md)
132
+ - [AgentPushKit::CreateOrganizationInput](docs/CreateOrganizationInput.md)
133
+ - [AgentPushKit::CurrentAccount](docs/CurrentAccount.md)
134
+ - [AgentPushKit::DeletedResponse](docs/DeletedResponse.md)
135
+ - [AgentPushKit::DeliverySummary](docs/DeliverySummary.md)
136
+ - [AgentPushKit::Device](docs/Device.md)
137
+ - [AgentPushKit::DisabledResponse](docs/DisabledResponse.md)
138
+ - [AgentPushKit::ErrorResponse](docs/ErrorResponse.md)
139
+ - [AgentPushKit::EventDetail](docs/EventDetail.md)
140
+ - [AgentPushKit::EventFilter](docs/EventFilter.md)
141
+ - [AgentPushKit::EventPage](docs/EventPage.md)
142
+ - [AgentPushKit::EventSummary](docs/EventSummary.md)
143
+ - [AgentPushKit::FilterGroup](docs/FilterGroup.md)
144
+ - [AgentPushKit::FilterNot](docs/FilterNot.md)
145
+ - [AgentPushKit::HealthResponse](docs/HealthResponse.md)
146
+ - [AgentPushKit::IngestionResult](docs/IngestionResult.md)
147
+ - [AgentPushKit::InheritedResponse](docs/InheritedResponse.md)
148
+ - [AgentPushKit::Membership](docs/Membership.md)
149
+ - [AgentPushKit::MembershipUser](docs/MembershipUser.md)
150
+ - [AgentPushKit::Organization](docs/Organization.md)
151
+ - [AgentPushKit::OrganizationApiKeyCreated](docs/OrganizationApiKeyCreated.md)
152
+ - [AgentPushKit::OrganizationCount](docs/OrganizationCount.md)
153
+ - [AgentPushKit::OrganizationCreated](docs/OrganizationCreated.md)
154
+ - [AgentPushKit::OrganizationRecord](docs/OrganizationRecord.md)
155
+ - [AgentPushKit::PasswordLoginInput](docs/PasswordLoginInput.md)
156
+ - [AgentPushKit::PasswordResetCompleteInput](docs/PasswordResetCompleteInput.md)
157
+ - [AgentPushKit::PasswordResetRequestInput](docs/PasswordResetRequestInput.md)
158
+ - [AgentPushKit::PreferenceRecord](docs/PreferenceRecord.md)
159
+ - [AgentPushKit::ProviderLoginInput](docs/ProviderLoginInput.md)
160
+ - [AgentPushKit::RegisterDeviceInput](docs/RegisterDeviceInput.md)
161
+ - [AgentPushKit::RegisterInput](docs/RegisterInput.md)
162
+ - [AgentPushKit::RegisterWebPushSubscriptionInput](docs/RegisterWebPushSubscriptionInput.md)
163
+ - [AgentPushKit::RegisterWebPushSubscriptionInputKeys](docs/RegisterWebPushSubscriptionInputKeys.md)
164
+ - [AgentPushKit::RevokedResponse](docs/RevokedResponse.md)
165
+ - [AgentPushKit::SearchEventsInput](docs/SearchEventsInput.md)
166
+ - [AgentPushKit::SendEventInput](docs/SendEventInput.md)
167
+ - [AgentPushKit::Service](docs/Service.md)
168
+ - [AgentPushKit::ServiceAllOfCount](docs/ServiceAllOfCount.md)
169
+ - [AgentPushKit::ServicePreference](docs/ServicePreference.md)
170
+ - [AgentPushKit::ServiceSummary](docs/ServiceSummary.md)
171
+ - [AgentPushKit::SetEnabledInput](docs/SetEnabledInput.md)
172
+ - [AgentPushKit::TextFilterCondition](docs/TextFilterCondition.md)
173
+ - [AgentPushKit::TimeFilterCondition](docs/TimeFilterCondition.md)
174
+ - [AgentPushKit::TypeOverride](docs/TypeOverride.md)
175
+ - [AgentPushKit::User](docs/User.md)
176
+ - [AgentPushKit::WebPushConfiguration](docs/WebPushConfiguration.md)
177
+ - [AgentPushKit::WebPushSubscription](docs/WebPushSubscription.md)
178
+
179
+
180
+ ## Documentation for Authorization
181
+
182
+
183
+ Authentication schemes defined for the API:
184
+ ### UserOrAgent
185
+
186
+ - **Type**: Bearer authentication (Agent Push Kit JWT or apt_ token)
187
+
188
+ ### AgentToken
189
+
190
+ - **Type**: Bearer authentication (apt_)
191
+
192
+ ### OrganizationApiKey
193
+
194
+ - **Type**: Bearer authentication (apk_)
195
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,39 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Agent Push Kit API
5
+
6
+ #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_`.
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ Generator version: 7.24.0
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "agent_push_kit/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "agent_push_kit"
20
+ s.version = AgentPushKit::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["Justin Strong"]
23
+ s.email = ["JustinBStrong@users.noreply.github.com"]
24
+ s.homepage = "https://agentpushkit.com"
25
+ s.summary = "Agent Push Kit API Ruby Gem"
26
+ s.description = "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_`."
27
+ s.license = "MIT"
28
+ s.required_ruby_version = ">= 2.7"
29
+ s.metadata = { "source_code_uri" => "https://github.com/JustinBStrong/agent-push-kit-ruby", "bug_tracker_uri" => "https://github.com/JustinBStrong/agent-push-kit-ruby/issues", "documentation_uri" => "https://agentpushkit.com/docs/sdks" }
30
+
31
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+
35
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
36
+ s.test_files = `find spec/*`.split("\n")
37
+ s.executables = []
38
+ s.require_paths = ["lib"]
39
+ end
@@ -0,0 +1,18 @@
1
+ # AgentPushKit::AcceptedResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accepted** | **Boolean** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'agent_push_kit'
13
+
14
+ instance = AgentPushKit::AcceptedResponse.new(
15
+ accepted: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,137 @@
1
+ # AgentPushKit::AccountApi
2
+
3
+ All URIs are relative to *https://api.chatdna.co/agent-push-kit/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_current_account**](AccountApi.md#delete_current_account) | **DELETE** /me | Delete the current user and customer accounts they own |
8
+ | [**get_current_account**](AccountApi.md#get_current_account) | **GET** /me | Get the current user and customer accounts |
9
+
10
+
11
+ ## delete_current_account
12
+
13
+ > <DeletedResponse> delete_current_account
14
+
15
+ Delete the current user and customer accounts they own
16
+
17
+ ### Examples
18
+
19
+ ```ruby
20
+ require 'time'
21
+ require 'agent_push_kit'
22
+ # setup authorization
23
+ AgentPushKit.configure do |config|
24
+ # Configure Bearer authorization (Agent Push Kit JWT or apt_ token): UserOrAgent
25
+ config.access_token = 'YOUR_BEARER_TOKEN'
26
+ end
27
+
28
+ api_instance = AgentPushKit::AccountApi.new
29
+
30
+ begin
31
+ # Delete the current user and customer accounts they own
32
+ result = api_instance.delete_current_account
33
+ p result
34
+ rescue AgentPushKit::ApiError => e
35
+ puts "Error when calling AccountApi->delete_current_account: #{e}"
36
+ end
37
+ ```
38
+
39
+ #### Using the delete_current_account_with_http_info variant
40
+
41
+ This returns an Array which contains the response data, status code and headers.
42
+
43
+ > <Array(<DeletedResponse>, Integer, Hash)> delete_current_account_with_http_info
44
+
45
+ ```ruby
46
+ begin
47
+ # Delete the current user and customer accounts they own
48
+ data, status_code, headers = api_instance.delete_current_account_with_http_info
49
+ p status_code # => 2xx
50
+ p headers # => { ... }
51
+ p data # => <DeletedResponse>
52
+ rescue AgentPushKit::ApiError => e
53
+ puts "Error when calling AccountApi->delete_current_account_with_http_info: #{e}"
54
+ end
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+ This endpoint does not need any parameter.
60
+
61
+ ### Return type
62
+
63
+ [**DeletedResponse**](DeletedResponse.md)
64
+
65
+ ### Authorization
66
+
67
+ [UserOrAgent](../README.md#UserOrAgent)
68
+
69
+ ### HTTP request headers
70
+
71
+ - **Content-Type**: Not defined
72
+ - **Accept**: application/json
73
+
74
+
75
+ ## get_current_account
76
+
77
+ > <CurrentAccount> get_current_account
78
+
79
+ Get the current user and customer accounts
80
+
81
+ ### Examples
82
+
83
+ ```ruby
84
+ require 'time'
85
+ require 'agent_push_kit'
86
+ # setup authorization
87
+ AgentPushKit.configure do |config|
88
+ # Configure Bearer authorization (Agent Push Kit JWT or apt_ token): UserOrAgent
89
+ config.access_token = 'YOUR_BEARER_TOKEN'
90
+ end
91
+
92
+ api_instance = AgentPushKit::AccountApi.new
93
+
94
+ begin
95
+ # Get the current user and customer accounts
96
+ result = api_instance.get_current_account
97
+ p result
98
+ rescue AgentPushKit::ApiError => e
99
+ puts "Error when calling AccountApi->get_current_account: #{e}"
100
+ end
101
+ ```
102
+
103
+ #### Using the get_current_account_with_http_info variant
104
+
105
+ This returns an Array which contains the response data, status code and headers.
106
+
107
+ > <Array(<CurrentAccount>, Integer, Hash)> get_current_account_with_http_info
108
+
109
+ ```ruby
110
+ begin
111
+ # Get the current user and customer accounts
112
+ data, status_code, headers = api_instance.get_current_account_with_http_info
113
+ p status_code # => 2xx
114
+ p headers # => { ... }
115
+ p data # => <CurrentAccount>
116
+ rescue AgentPushKit::ApiError => e
117
+ puts "Error when calling AccountApi->get_current_account_with_http_info: #{e}"
118
+ end
119
+ ```
120
+
121
+ ### Parameters
122
+
123
+ This endpoint does not need any parameter.
124
+
125
+ ### Return type
126
+
127
+ [**CurrentAccount**](CurrentAccount.md)
128
+
129
+ ### Authorization
130
+
131
+ [UserOrAgent](../README.md#UserOrAgent)
132
+
133
+ ### HTTP request headers
134
+
135
+ - **Content-Type**: Not defined
136
+ - **Accept**: application/json
137
+
@@ -0,0 +1,18 @@
1
+ # AgentPushKit::AddMemberInput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **email** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'agent_push_kit'
13
+
14
+ instance = AgentPushKit::AddMemberInput.new(
15
+ email: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,30 @@
1
+ # AgentPushKit::AgentToken
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **key_prefix** | **String** | | |
10
+ | **last_four** | **String** | | |
11
+ | **created_at** | **Time** | | |
12
+ | **last_used_at** | **Time** | | |
13
+ | **revoked_at** | **Time** | | |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'agent_push_kit'
19
+
20
+ instance = AgentPushKit::AgentToken.new(
21
+ id: null,
22
+ name: null,
23
+ key_prefix: null,
24
+ last_four: null,
25
+ created_at: null,
26
+ last_used_at: null,
27
+ revoked_at: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,32 @@
1
+ # AgentPushKit::AgentTokenCreated
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **name** | **String** | | |
9
+ | **key_prefix** | **String** | | |
10
+ | **last_four** | **String** | | |
11
+ | **created_at** | **Time** | | |
12
+ | **last_used_at** | **Time** | | |
13
+ | **revoked_at** | **Time** | | |
14
+ | **token** | **String** | | |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'agent_push_kit'
20
+
21
+ instance = AgentPushKit::AgentTokenCreated.new(
22
+ id: null,
23
+ name: null,
24
+ key_prefix: null,
25
+ last_four: null,
26
+ created_at: null,
27
+ last_used_at: null,
28
+ revoked_at: null,
29
+ token: null
30
+ )
31
+ ```
32
+