trycourier 2.0.0 → 3.0.0.pre.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (324) hide show
  1. checksums.yaml +4 -4
  2. data/lib/environment.rb +7 -0
  3. data/lib/gemconfig.rb +14 -0
  4. data/lib/requests.rb +121 -0
  5. data/lib/trycourier/audiences/client.rb +235 -0
  6. data/lib/trycourier/audiences/types/audience.rb +86 -0
  7. data/lib/trycourier/audiences/types/audience_list_response.rb +62 -0
  8. data/lib/trycourier/audiences/types/audience_member.rb +74 -0
  9. data/lib/trycourier/audiences/types/audience_member_get_response.rb +53 -0
  10. data/lib/trycourier/audiences/types/audience_member_list_response.rb +62 -0
  11. data/lib/trycourier/audiences/types/audience_update_response.rb +53 -0
  12. data/lib/trycourier/audiences/types/base_filter_config.rb +53 -0
  13. data/lib/trycourier/audiences/types/comparison_operator.rb +21 -0
  14. data/lib/trycourier/audiences/types/filter.rb +50 -0
  15. data/lib/trycourier/audiences/types/filter_config.rb +50 -0
  16. data/lib/trycourier/audiences/types/logical_operator.rb +10 -0
  17. data/lib/trycourier/audiences/types/nested_filter_config.rb +63 -0
  18. data/lib/trycourier/audiences/types/operator.rb +48 -0
  19. data/lib/trycourier/audiences/types/single_filter_config.rb +64 -0
  20. data/lib/trycourier/audit_events/client.rb +104 -0
  21. data/lib/trycourier/audit_events/types/actor.rb +52 -0
  22. data/lib/trycourier/audit_events/types/audit_event.rb +92 -0
  23. data/lib/trycourier/audit_events/types/get_audit_event_params.rb +47 -0
  24. data/lib/trycourier/audit_events/types/list_audit_events_params.rb +47 -0
  25. data/lib/trycourier/audit_events/types/list_audit_events_response.rb +62 -0
  26. data/lib/trycourier/audit_events/types/target.rb +52 -0
  27. data/lib/trycourier/auth_tokens/client.rb +85 -0
  28. data/lib/trycourier/auth_tokens/types/issue_token_response.rb +47 -0
  29. data/lib/trycourier/automations/client.rb +151 -0
  30. data/lib/trycourier/automations/types/automation.rb +56 -0
  31. data/lib/trycourier/automations/types/automation_ad_hoc_invoke_params.rb +88 -0
  32. data/lib/trycourier/automations/types/automation_cancel_step.rb +62 -0
  33. data/lib/trycourier/automations/types/automation_delay_step.rb +62 -0
  34. data/lib/trycourier/automations/types/automation_invoke_params.rb +69 -0
  35. data/lib/trycourier/automations/types/automation_invoke_response.rb +47 -0
  36. data/lib/trycourier/automations/types/automation_invoke_step.rb +62 -0
  37. data/lib/trycourier/automations/types/automation_invoke_template_params.rb +82 -0
  38. data/lib/trycourier/automations/types/automation_run_context.rb +69 -0
  39. data/lib/trycourier/automations/types/automation_send_list_step.rb +93 -0
  40. data/lib/trycourier/automations/types/automation_send_step.rb +99 -0
  41. data/lib/trycourier/automations/types/automation_step.rb +52 -0
  42. data/lib/trycourier/automations/types/automation_step_action.rb +14 -0
  43. data/lib/trycourier/automations/types/automation_step_option.rb +110 -0
  44. data/lib/trycourier/automations/types/automation_update_profile_step.rb +64 -0
  45. data/lib/trycourier/automations/types/automation_v_2_send_step.rb +68 -0
  46. data/lib/trycourier/automations/types/merge_algorithm.rb +12 -0
  47. data/lib/trycourier/automations/types/profile.rb +7 -0
  48. data/lib/trycourier/brands/client.rb +281 -0
  49. data/lib/trycourier/brands/types/brand.rb +105 -0
  50. data/lib/trycourier/brands/types/brand_colors.rb +57 -0
  51. data/lib/trycourier/brands/types/brand_get_all_response.rb +62 -0
  52. data/lib/trycourier/brands/types/brand_parameters.rb +74 -0
  53. data/lib/trycourier/brands/types/brand_settings.rb +69 -0
  54. data/lib/trycourier/brands/types/brand_snippet.rb +57 -0
  55. data/lib/trycourier/brands/types/brand_snippets.rb +51 -0
  56. data/lib/trycourier/brands/types/brands_response.rb +62 -0
  57. data/lib/trycourier/bulk/client.rb +249 -0
  58. data/lib/trycourier/bulk/types/bulk_create_job_response.rb +47 -0
  59. data/lib/trycourier/bulk/types/bulk_get_job_params.rb +47 -0
  60. data/lib/trycourier/bulk/types/bulk_get_job_response.rb +53 -0
  61. data/lib/trycourier/bulk/types/bulk_get_job_users_params.rb +52 -0
  62. data/lib/trycourier/bulk/types/bulk_get_job_users_response.rb +62 -0
  63. data/lib/trycourier/bulk/types/bulk_ingest_error.rb +52 -0
  64. data/lib/trycourier/bulk/types/bulk_ingest_users_params.rb +51 -0
  65. data/lib/trycourier/bulk/types/bulk_ingest_users_response.rb +56 -0
  66. data/lib/trycourier/bulk/types/bulk_job_status.rb +12 -0
  67. data/lib/trycourier/bulk/types/bulk_job_user_status.rb +11 -0
  68. data/lib/trycourier/bulk/types/bulk_message_user_response.rb +100 -0
  69. data/lib/trycourier/bulk/types/inbound_bulk_content_message.rb +165 -0
  70. data/lib/trycourier/bulk/types/inbound_bulk_message.rb +95 -0
  71. data/lib/trycourier/bulk/types/inbound_bulk_message_user.rb +80 -0
  72. data/lib/trycourier/bulk/types/inbound_bulk_message_v_1.rb +75 -0
  73. data/lib/trycourier/bulk/types/inbound_bulk_message_v_2.rb +50 -0
  74. data/lib/trycourier/bulk/types/inbound_bulk_template_message.rb +157 -0
  75. data/lib/trycourier/bulk/types/job_details.rb +81 -0
  76. data/lib/trycourier/commons/types/already_exists.rb +52 -0
  77. data/lib/trycourier/commons/types/bad_request.rb +52 -0
  78. data/lib/trycourier/commons/types/base_error.rb +47 -0
  79. data/lib/trycourier/commons/types/channel_classification.rb +14 -0
  80. data/lib/trycourier/commons/types/channel_preference.rb +48 -0
  81. data/lib/trycourier/commons/types/conflict.rb +52 -0
  82. data/lib/trycourier/commons/types/email.rb +52 -0
  83. data/lib/trycourier/commons/types/message_not_found.rb +52 -0
  84. data/lib/trycourier/commons/types/not_found.rb +52 -0
  85. data/lib/trycourier/commons/types/notification_preference_details.rb +66 -0
  86. data/lib/trycourier/commons/types/notification_preferences.rb +7 -0
  87. data/lib/trycourier/commons/types/paging.rb +52 -0
  88. data/lib/trycourier/commons/types/payment_required.rb +52 -0
  89. data/lib/trycourier/commons/types/preference_status.rb +11 -0
  90. data/lib/trycourier/commons/types/recipient_preferences.rb +53 -0
  91. data/lib/trycourier/commons/types/rule.rb +52 -0
  92. data/lib/trycourier/commons/types/user_tenant_association.rb +62 -0
  93. data/lib/trycourier/lists/client.rb +454 -0
  94. data/lib/trycourier/lists/types/list.rb +62 -0
  95. data/lib/trycourier/lists/types/list_get_all_response.rb +62 -0
  96. data/lib/trycourier/lists/types/list_get_subscriptions_response.rb +62 -0
  97. data/lib/trycourier/lists/types/list_put_params.rb +58 -0
  98. data/lib/trycourier/lists/types/list_subscription_recipient.rb +63 -0
  99. data/lib/trycourier/lists/types/put_subscriptions_recipient.rb +58 -0
  100. data/lib/trycourier/messages/client.rb +300 -0
  101. data/lib/trycourier/messages/types/list_messages_response.rb +62 -0
  102. data/lib/trycourier/messages/types/message_details.rb +120 -0
  103. data/lib/trycourier/messages/types/message_history_response.rb +51 -0
  104. data/lib/trycourier/messages/types/message_status.rb +17 -0
  105. data/lib/trycourier/messages/types/reason.rb +14 -0
  106. data/lib/trycourier/messages/types/render_output.rb +63 -0
  107. data/lib/trycourier/messages/types/render_output_response.rb +51 -0
  108. data/lib/trycourier/messages/types/rendered_message_block.rb +52 -0
  109. data/lib/trycourier/messages/types/rendered_message_content.rb +77 -0
  110. data/lib/trycourier/notifications/client.rb +379 -0
  111. data/lib/trycourier/notifications/types/base_check.rb +58 -0
  112. data/lib/trycourier/notifications/types/block_type.rb +17 -0
  113. data/lib/trycourier/notifications/types/check.rb +63 -0
  114. data/lib/trycourier/notifications/types/check_status.rb +11 -0
  115. data/lib/trycourier/notifications/types/message_routing.rb +57 -0
  116. data/lib/trycourier/notifications/types/message_routing_channel.rb +49 -0
  117. data/lib/trycourier/notifications/types/message_routing_method.rb +10 -0
  118. data/lib/trycourier/notifications/types/notification.rb +63 -0
  119. data/lib/trycourier/notifications/types/notification_block.rb +94 -0
  120. data/lib/trycourier/notifications/types/notification_channel.rb +73 -0
  121. data/lib/trycourier/notifications/types/notification_channel_content.rb +52 -0
  122. data/lib/trycourier/notifications/types/notification_content.rb +49 -0
  123. data/lib/trycourier/notifications/types/notification_content_hierarchy.rb +52 -0
  124. data/lib/trycourier/notifications/types/notification_get_content_response.rb +65 -0
  125. data/lib/trycourier/notifications/types/notification_list_response.rb +62 -0
  126. data/lib/trycourier/notifications/types/submission_checks_get_response.rb +51 -0
  127. data/lib/trycourier/notifications/types/submission_checks_replace_response.rb +51 -0
  128. data/lib/trycourier/profiles/client.rb +325 -0
  129. data/lib/trycourier/profiles/types/address.rb +81 -0
  130. data/lib/trycourier/profiles/types/airship_profile.rb +59 -0
  131. data/lib/trycourier/profiles/types/airship_profile_audience.rb +47 -0
  132. data/lib/trycourier/profiles/types/delete_list_subscription_response.rb +47 -0
  133. data/lib/trycourier/profiles/types/device_type.rb +7 -0
  134. data/lib/trycourier/profiles/types/discord.rb +50 -0
  135. data/lib/trycourier/profiles/types/expo.rb +50 -0
  136. data/lib/trycourier/profiles/types/get_list_subscriptions_list.rb +74 -0
  137. data/lib/trycourier/profiles/types/get_list_subscriptions_response.rb +62 -0
  138. data/lib/trycourier/profiles/types/intercom.rb +58 -0
  139. data/lib/trycourier/profiles/types/intercom_recipient.rb +47 -0
  140. data/lib/trycourier/profiles/types/merge_profile_response.rb +47 -0
  141. data/lib/trycourier/profiles/types/ms_teams.rb +86 -0
  142. data/lib/trycourier/profiles/types/ms_teams_base_properties.rb +52 -0
  143. data/lib/trycourier/profiles/types/multiple_tokens.rb +51 -0
  144. data/lib/trycourier/profiles/types/profile_get_parameters.rb +47 -0
  145. data/lib/trycourier/profiles/types/profile_get_response.rb +58 -0
  146. data/lib/trycourier/profiles/types/replace_profile_response.rb +47 -0
  147. data/lib/trycourier/profiles/types/send_direct_message.rb +47 -0
  148. data/lib/trycourier/profiles/types/send_to_channel.rb +47 -0
  149. data/lib/trycourier/profiles/types/send_to_ms_teams_channel_id.rb +57 -0
  150. data/lib/trycourier/profiles/types/send_to_ms_teams_channel_name.rb +68 -0
  151. data/lib/trycourier/profiles/types/send_to_ms_teams_conversation_id.rb +58 -0
  152. data/lib/trycourier/profiles/types/send_to_ms_teams_email.rb +57 -0
  153. data/lib/trycourier/profiles/types/send_to_ms_teams_user_id.rb +57 -0
  154. data/lib/trycourier/profiles/types/send_to_slack_channel.rb +52 -0
  155. data/lib/trycourier/profiles/types/send_to_slack_email.rb +52 -0
  156. data/lib/trycourier/profiles/types/send_to_slack_user_id.rb +52 -0
  157. data/lib/trycourier/profiles/types/slack.rb +62 -0
  158. data/lib/trycourier/profiles/types/slack_base_properties.rb +47 -0
  159. data/lib/trycourier/profiles/types/snooze_rule.rb +58 -0
  160. data/lib/trycourier/profiles/types/snooze_rule_type.rb +9 -0
  161. data/lib/trycourier/profiles/types/subscribe_to_lists_request.rb +51 -0
  162. data/lib/trycourier/profiles/types/subscribe_to_lists_request_list_object.rb +58 -0
  163. data/lib/trycourier/profiles/types/subscribe_to_lists_response.rb +47 -0
  164. data/lib/trycourier/profiles/types/token.rb +47 -0
  165. data/lib/trycourier/profiles/types/user_profile.rb +274 -0
  166. data/lib/trycourier/send/types/attachment.rb +7 -0
  167. data/lib/trycourier/send/types/audience_filter.rb +57 -0
  168. data/lib/trycourier/send/types/audience_recipient.rb +62 -0
  169. data/lib/trycourier/send/types/base_message.rb +149 -0
  170. data/lib/trycourier/send/types/base_social_presence.rb +47 -0
  171. data/lib/trycourier/send/types/brand_settings_email.rb +87 -0
  172. data/lib/trycourier/send/types/brand_settings_in_app.rb +119 -0
  173. data/lib/trycourier/send/types/brand_settings_social_presence.rb +107 -0
  174. data/lib/trycourier/send/types/brand_template.rb +88 -0
  175. data/lib/trycourier/send/types/brand_template_override.rb +112 -0
  176. data/lib/trycourier/send/types/channel.rb +113 -0
  177. data/lib/trycourier/send/types/channel_metadata.rb +53 -0
  178. data/lib/trycourier/send/types/channel_source.rb +11 -0
  179. data/lib/trycourier/send/types/content.rb +50 -0
  180. data/lib/trycourier/send/types/content_message.rb +177 -0
  181. data/lib/trycourier/send/types/criteria.rb +12 -0
  182. data/lib/trycourier/send/types/delay.rb +47 -0
  183. data/lib/trycourier/send/types/elemental_action_node.rb +116 -0
  184. data/lib/trycourier/send/types/elemental_base_node.rb +62 -0
  185. data/lib/trycourier/send/types/elemental_channel_node.rb +105 -0
  186. data/lib/trycourier/send/types/elemental_content.rb +61 -0
  187. data/lib/trycourier/send/types/elemental_content_sugar.rb +53 -0
  188. data/lib/trycourier/send/types/elemental_divider_node.rb +68 -0
  189. data/lib/trycourier/send/types/elemental_group_node.rb +72 -0
  190. data/lib/trycourier/send/types/elemental_image_node.rb +101 -0
  191. data/lib/trycourier/send/types/elemental_meta_node.rb +70 -0
  192. data/lib/trycourier/send/types/elemental_node.rb +170 -0
  193. data/lib/trycourier/send/types/elemental_quote_node.rb +104 -0
  194. data/lib/trycourier/send/types/elemental_text_node.rb +136 -0
  195. data/lib/trycourier/send/types/email_footer.rb +52 -0
  196. data/lib/trycourier/send/types/email_head.rb +52 -0
  197. data/lib/trycourier/send/types/email_header.rb +63 -0
  198. data/lib/trycourier/send/types/expires_in_type.rb +48 -0
  199. data/lib/trycourier/send/types/expiry.rb +58 -0
  200. data/lib/trycourier/send/types/i_action_button_style.rb +10 -0
  201. data/lib/trycourier/send/types/i_alignment.rb +12 -0
  202. data/lib/trycourier/send/types/i_preferences.rb +7 -0
  203. data/lib/trycourier/send/types/i_profile_preferences.rb +59 -0
  204. data/lib/trycourier/send/types/icons.rb +52 -0
  205. data/lib/trycourier/send/types/in_app_placement.rb +12 -0
  206. data/lib/trycourier/send/types/invalid_list_pattern_recipient.rb +52 -0
  207. data/lib/trycourier/send/types/invalid_list_recipient.rb +52 -0
  208. data/lib/trycourier/send/types/invalid_user_recipient.rb +52 -0
  209. data/lib/trycourier/send/types/list_filter.rb +57 -0
  210. data/lib/trycourier/send/types/list_pattern_recipient.rb +53 -0
  211. data/lib/trycourier/send/types/list_pattern_recipient_type.rb +41 -0
  212. data/lib/trycourier/send/types/list_recipient.rb +62 -0
  213. data/lib/trycourier/send/types/list_recipient_type.rb +41 -0
  214. data/lib/trycourier/send/types/locale.rb +47 -0
  215. data/lib/trycourier/send/types/locales.rb +7 -0
  216. data/lib/trycourier/send/types/logo.rb +52 -0
  217. data/lib/trycourier/send/types/message.rb +50 -0
  218. data/lib/trycourier/send/types/message_channel_email_override.rb +119 -0
  219. data/lib/trycourier/send/types/message_channels.rb +7 -0
  220. data/lib/trycourier/send/types/message_context.rb +49 -0
  221. data/lib/trycourier/send/types/message_data.rb +7 -0
  222. data/lib/trycourier/send/types/message_metadata.rb +68 -0
  223. data/lib/trycourier/send/types/message_providers.rb +7 -0
  224. data/lib/trycourier/send/types/message_providers_type.rb +72 -0
  225. data/lib/trycourier/send/types/message_recipient.rb +54 -0
  226. data/lib/trycourier/send/types/metadata.rb +53 -0
  227. data/lib/trycourier/send/types/ms_teams_recipient.rb +53 -0
  228. data/lib/trycourier/send/types/override.rb +10 -0
  229. data/lib/trycourier/send/types/preference.rb +73 -0
  230. data/lib/trycourier/send/types/preferences.rb +47 -0
  231. data/lib/trycourier/send/types/recipient.rb +98 -0
  232. data/lib/trycourier/send/types/routing.rb +64 -0
  233. data/lib/trycourier/send/types/routing_channel.rb +61 -0
  234. data/lib/trycourier/send/types/routing_method.rb +10 -0
  235. data/lib/trycourier/send/types/routing_strategy_channel.rb +70 -0
  236. data/lib/trycourier/send/types/routing_strategy_provider.rb +68 -0
  237. data/lib/trycourier/send/types/rule_type.rb +11 -0
  238. data/lib/trycourier/send/types/slack_recipient.rb +53 -0
  239. data/lib/trycourier/send/types/template_message.rb +169 -0
  240. data/lib/trycourier/send/types/text_align.rb +11 -0
  241. data/lib/trycourier/send/types/text_style.rb +12 -0
  242. data/lib/trycourier/send/types/timeout.rb +76 -0
  243. data/lib/trycourier/send/types/timeouts.rb +52 -0
  244. data/lib/trycourier/send/types/tracking_override.rb +47 -0
  245. data/lib/trycourier/send/types/user_recipient.rb +115 -0
  246. data/lib/trycourier/send/types/user_recipient_type.rb +41 -0
  247. data/lib/trycourier/send/types/utm.rb +68 -0
  248. data/lib/trycourier/send/types/widget_background.rb +52 -0
  249. data/lib/trycourier/templates/client.rb +67 -0
  250. data/lib/trycourier/templates/types/channel_identifier.rb +7 -0
  251. data/lib/trycourier/templates/types/list_templates_response.rb +62 -0
  252. data/lib/trycourier/templates/types/notification_templates.rb +90 -0
  253. data/lib/trycourier/templates/types/routing_strategy.rb +54 -0
  254. data/lib/trycourier/templates/types/routing_strategy_method.rb +10 -0
  255. data/lib/trycourier/templates/types/tag.rb +51 -0
  256. data/lib/trycourier/templates/types/tag_data.rb +52 -0
  257. data/lib/trycourier/tenants/client.rb +255 -0
  258. data/lib/trycourier/tenants/types/default_preferences.rb +51 -0
  259. data/lib/trycourier/tenants/types/list_users_for_tenant_response.rb +88 -0
  260. data/lib/trycourier/tenants/types/subscription_topic.rb +53 -0
  261. data/lib/trycourier/tenants/types/subscription_topic_status.rb +11 -0
  262. data/lib/trycourier/tenants/types/template_property.rb +7 -0
  263. data/lib/trycourier/tenants/types/tenant.rb +95 -0
  264. data/lib/trycourier/tenants/types/tenant_list_response.rb +86 -0
  265. data/lib/trycourier/translations/client.rb +106 -0
  266. data/lib/trycourier/types/send_message_response.rb +49 -0
  267. data/lib/trycourier/users/client.rb +34 -0
  268. data/lib/trycourier/users/preferences/client.rb +171 -0
  269. data/lib/trycourier/users/preferences/types/topic_preference.rb +86 -0
  270. data/lib/trycourier/users/preferences/types/user_preferences_get_response.rb +55 -0
  271. data/lib/trycourier/users/preferences/types/user_preferences_list_response.rb +64 -0
  272. data/lib/trycourier/users/preferences/types/user_preferences_update_response.rb +49 -0
  273. data/lib/trycourier/users/tenants/client.rb +267 -0
  274. data/lib/trycourier/users/tenants/types/add_user_to_single_tenants_params_profile.rb +76 -0
  275. data/lib/trycourier/users/tenants/types/list_tenants_for_user_response.rb +90 -0
  276. data/lib/trycourier/users/tokens/client.rb +264 -0
  277. data/lib/trycourier/users/tokens/types/delete_user_token_opts.rb +54 -0
  278. data/lib/trycourier/users/tokens/types/device.rb +83 -0
  279. data/lib/trycourier/users/tokens/types/expiry_date.rb +50 -0
  280. data/lib/trycourier/users/tokens/types/get_all_tokens_response.rb +11 -0
  281. data/lib/trycourier/users/tokens/types/get_user_token_opts.rb +54 -0
  282. data/lib/trycourier/users/tokens/types/get_user_token_response.rb +116 -0
  283. data/lib/trycourier/users/tokens/types/get_user_tokens_opts.rb +49 -0
  284. data/lib/trycourier/users/tokens/types/patch_op.rb +16 -0
  285. data/lib/trycourier/users/tokens/types/patch_operation.rb +59 -0
  286. data/lib/trycourier/users/tokens/types/patch_user_token_opts.rb +53 -0
  287. data/lib/trycourier/users/tokens/types/provider_key.rb +14 -0
  288. data/lib/trycourier/users/tokens/types/put_user_token_opts.rb +60 -0
  289. data/lib/trycourier/users/tokens/types/put_user_tokens_opts.rb +58 -0
  290. data/lib/trycourier/users/tokens/types/token_status.rb +14 -0
  291. data/lib/trycourier/users/tokens/types/tracking.rb +64 -0
  292. data/lib/trycourier/users/tokens/types/user_token.rb +102 -0
  293. data/lib/trycourier.rb +114 -138
  294. data/lib/types_export.rb +273 -0
  295. metadata +362 -50
  296. data/.github/ISSUE_TEMPLATE.md +0 -17
  297. data/.github/PULL_REQUEST_TEMPLATE.md +0 -27
  298. data/.github/workflows/gem-push.yml +0 -51
  299. data/.gitignore +0 -67
  300. data/.rspec +0 -3
  301. data/CHANGELOG.md +0 -126
  302. data/CONTRIBUTING.md +0 -28
  303. data/Gemfile +0 -8
  304. data/Gemfile.lock +0 -72
  305. data/LICENSE +0 -21
  306. data/README.md +0 -610
  307. data/Rakefile +0 -7
  308. data/bin/console +0 -14
  309. data/bin/setup +0 -8
  310. data/lib/trycourier/audiences.rb +0 -45
  311. data/lib/trycourier/audit_events.rb +0 -27
  312. data/lib/trycourier/auth_tokens.rb +0 -23
  313. data/lib/trycourier/automations.rb +0 -67
  314. data/lib/trycourier/brands.rb +0 -70
  315. data/lib/trycourier/bulk.rb +0 -79
  316. data/lib/trycourier/events.rb +0 -35
  317. data/lib/trycourier/exceptions.rb +0 -39
  318. data/lib/trycourier/lists.rb +0 -109
  319. data/lib/trycourier/messages.rb +0 -57
  320. data/lib/trycourier/profiles.rb +0 -64
  321. data/lib/trycourier/session.rb +0 -80
  322. data/lib/trycourier/tenants.rb +0 -43
  323. data/lib/trycourier/version.rb +0 -3
  324. data/trycourier.gemspec +0 -32
metadata CHANGED
@@ -1,89 +1,401 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trycourier
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0.pre.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-09 00:00:00.000000000 Z
11
+ date: 2024-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rspec
14
+ name: async-http-faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.0'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '3.2'
20
- type: :development
22
+ version: '1.0'
23
+ type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.0'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '3.2'
32
+ version: '1.0'
27
33
  - !ruby/object:Gem::Dependency
28
- name: webmock
34
+ name: faraday
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: 1.24.2
34
- type: :development
39
+ version: '1.10'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '3.0'
43
+ type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - ">="
39
48
  - !ruby/object:Gem::Version
40
- version: 1.24.2
49
+ version: '1.10'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '3.0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: faraday-net_http
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '1.0'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '1.0'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '4.0'
73
+ - !ruby/object:Gem::Dependency
74
+ name: faraday-retry
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '1.0'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '3.0'
41
93
  description: Courier is the smartest way to design & deliver notifications. Design
42
94
  your notifications once, deliver them to any channel through one API.
43
- email:
44
- - support@courier.com
95
+ email: support@courier.com
45
96
  executables: []
46
97
  extensions: []
47
98
  extra_rdoc_files: []
48
99
  files:
49
- - ".github/ISSUE_TEMPLATE.md"
50
- - ".github/PULL_REQUEST_TEMPLATE.md"
51
- - ".github/workflows/gem-push.yml"
52
- - ".gitignore"
53
- - ".rspec"
54
- - CHANGELOG.md
55
- - CONTRIBUTING.md
56
- - Gemfile
57
- - Gemfile.lock
58
- - LICENSE
59
- - README.md
60
- - Rakefile
61
- - bin/console
62
- - bin/setup
100
+ - lib/environment.rb
101
+ - lib/gemconfig.rb
102
+ - lib/requests.rb
63
103
  - lib/trycourier.rb
64
- - lib/trycourier/audiences.rb
65
- - lib/trycourier/audit_events.rb
66
- - lib/trycourier/auth_tokens.rb
67
- - lib/trycourier/automations.rb
68
- - lib/trycourier/brands.rb
69
- - lib/trycourier/bulk.rb
70
- - lib/trycourier/events.rb
71
- - lib/trycourier/exceptions.rb
72
- - lib/trycourier/lists.rb
73
- - lib/trycourier/messages.rb
74
- - lib/trycourier/profiles.rb
75
- - lib/trycourier/session.rb
76
- - lib/trycourier/tenants.rb
77
- - lib/trycourier/version.rb
78
- - trycourier.gemspec
104
+ - lib/trycourier/audiences/client.rb
105
+ - lib/trycourier/audiences/types/audience.rb
106
+ - lib/trycourier/audiences/types/audience_list_response.rb
107
+ - lib/trycourier/audiences/types/audience_member.rb
108
+ - lib/trycourier/audiences/types/audience_member_get_response.rb
109
+ - lib/trycourier/audiences/types/audience_member_list_response.rb
110
+ - lib/trycourier/audiences/types/audience_update_response.rb
111
+ - lib/trycourier/audiences/types/base_filter_config.rb
112
+ - lib/trycourier/audiences/types/comparison_operator.rb
113
+ - lib/trycourier/audiences/types/filter.rb
114
+ - lib/trycourier/audiences/types/filter_config.rb
115
+ - lib/trycourier/audiences/types/logical_operator.rb
116
+ - lib/trycourier/audiences/types/nested_filter_config.rb
117
+ - lib/trycourier/audiences/types/operator.rb
118
+ - lib/trycourier/audiences/types/single_filter_config.rb
119
+ - lib/trycourier/audit_events/client.rb
120
+ - lib/trycourier/audit_events/types/actor.rb
121
+ - lib/trycourier/audit_events/types/audit_event.rb
122
+ - lib/trycourier/audit_events/types/get_audit_event_params.rb
123
+ - lib/trycourier/audit_events/types/list_audit_events_params.rb
124
+ - lib/trycourier/audit_events/types/list_audit_events_response.rb
125
+ - lib/trycourier/audit_events/types/target.rb
126
+ - lib/trycourier/auth_tokens/client.rb
127
+ - lib/trycourier/auth_tokens/types/issue_token_response.rb
128
+ - lib/trycourier/automations/client.rb
129
+ - lib/trycourier/automations/types/automation.rb
130
+ - lib/trycourier/automations/types/automation_ad_hoc_invoke_params.rb
131
+ - lib/trycourier/automations/types/automation_cancel_step.rb
132
+ - lib/trycourier/automations/types/automation_delay_step.rb
133
+ - lib/trycourier/automations/types/automation_invoke_params.rb
134
+ - lib/trycourier/automations/types/automation_invoke_response.rb
135
+ - lib/trycourier/automations/types/automation_invoke_step.rb
136
+ - lib/trycourier/automations/types/automation_invoke_template_params.rb
137
+ - lib/trycourier/automations/types/automation_run_context.rb
138
+ - lib/trycourier/automations/types/automation_send_list_step.rb
139
+ - lib/trycourier/automations/types/automation_send_step.rb
140
+ - lib/trycourier/automations/types/automation_step.rb
141
+ - lib/trycourier/automations/types/automation_step_action.rb
142
+ - lib/trycourier/automations/types/automation_step_option.rb
143
+ - lib/trycourier/automations/types/automation_update_profile_step.rb
144
+ - lib/trycourier/automations/types/automation_v_2_send_step.rb
145
+ - lib/trycourier/automations/types/merge_algorithm.rb
146
+ - lib/trycourier/automations/types/profile.rb
147
+ - lib/trycourier/brands/client.rb
148
+ - lib/trycourier/brands/types/brand.rb
149
+ - lib/trycourier/brands/types/brand_colors.rb
150
+ - lib/trycourier/brands/types/brand_get_all_response.rb
151
+ - lib/trycourier/brands/types/brand_parameters.rb
152
+ - lib/trycourier/brands/types/brand_settings.rb
153
+ - lib/trycourier/brands/types/brand_snippet.rb
154
+ - lib/trycourier/brands/types/brand_snippets.rb
155
+ - lib/trycourier/brands/types/brands_response.rb
156
+ - lib/trycourier/bulk/client.rb
157
+ - lib/trycourier/bulk/types/bulk_create_job_response.rb
158
+ - lib/trycourier/bulk/types/bulk_get_job_params.rb
159
+ - lib/trycourier/bulk/types/bulk_get_job_response.rb
160
+ - lib/trycourier/bulk/types/bulk_get_job_users_params.rb
161
+ - lib/trycourier/bulk/types/bulk_get_job_users_response.rb
162
+ - lib/trycourier/bulk/types/bulk_ingest_error.rb
163
+ - lib/trycourier/bulk/types/bulk_ingest_users_params.rb
164
+ - lib/trycourier/bulk/types/bulk_ingest_users_response.rb
165
+ - lib/trycourier/bulk/types/bulk_job_status.rb
166
+ - lib/trycourier/bulk/types/bulk_job_user_status.rb
167
+ - lib/trycourier/bulk/types/bulk_message_user_response.rb
168
+ - lib/trycourier/bulk/types/inbound_bulk_content_message.rb
169
+ - lib/trycourier/bulk/types/inbound_bulk_message.rb
170
+ - lib/trycourier/bulk/types/inbound_bulk_message_user.rb
171
+ - lib/trycourier/bulk/types/inbound_bulk_message_v_1.rb
172
+ - lib/trycourier/bulk/types/inbound_bulk_message_v_2.rb
173
+ - lib/trycourier/bulk/types/inbound_bulk_template_message.rb
174
+ - lib/trycourier/bulk/types/job_details.rb
175
+ - lib/trycourier/commons/types/already_exists.rb
176
+ - lib/trycourier/commons/types/bad_request.rb
177
+ - lib/trycourier/commons/types/base_error.rb
178
+ - lib/trycourier/commons/types/channel_classification.rb
179
+ - lib/trycourier/commons/types/channel_preference.rb
180
+ - lib/trycourier/commons/types/conflict.rb
181
+ - lib/trycourier/commons/types/email.rb
182
+ - lib/trycourier/commons/types/message_not_found.rb
183
+ - lib/trycourier/commons/types/not_found.rb
184
+ - lib/trycourier/commons/types/notification_preference_details.rb
185
+ - lib/trycourier/commons/types/notification_preferences.rb
186
+ - lib/trycourier/commons/types/paging.rb
187
+ - lib/trycourier/commons/types/payment_required.rb
188
+ - lib/trycourier/commons/types/preference_status.rb
189
+ - lib/trycourier/commons/types/recipient_preferences.rb
190
+ - lib/trycourier/commons/types/rule.rb
191
+ - lib/trycourier/commons/types/user_tenant_association.rb
192
+ - lib/trycourier/lists/client.rb
193
+ - lib/trycourier/lists/types/list.rb
194
+ - lib/trycourier/lists/types/list_get_all_response.rb
195
+ - lib/trycourier/lists/types/list_get_subscriptions_response.rb
196
+ - lib/trycourier/lists/types/list_put_params.rb
197
+ - lib/trycourier/lists/types/list_subscription_recipient.rb
198
+ - lib/trycourier/lists/types/put_subscriptions_recipient.rb
199
+ - lib/trycourier/messages/client.rb
200
+ - lib/trycourier/messages/types/list_messages_response.rb
201
+ - lib/trycourier/messages/types/message_details.rb
202
+ - lib/trycourier/messages/types/message_history_response.rb
203
+ - lib/trycourier/messages/types/message_status.rb
204
+ - lib/trycourier/messages/types/reason.rb
205
+ - lib/trycourier/messages/types/render_output.rb
206
+ - lib/trycourier/messages/types/render_output_response.rb
207
+ - lib/trycourier/messages/types/rendered_message_block.rb
208
+ - lib/trycourier/messages/types/rendered_message_content.rb
209
+ - lib/trycourier/notifications/client.rb
210
+ - lib/trycourier/notifications/types/base_check.rb
211
+ - lib/trycourier/notifications/types/block_type.rb
212
+ - lib/trycourier/notifications/types/check.rb
213
+ - lib/trycourier/notifications/types/check_status.rb
214
+ - lib/trycourier/notifications/types/message_routing.rb
215
+ - lib/trycourier/notifications/types/message_routing_channel.rb
216
+ - lib/trycourier/notifications/types/message_routing_method.rb
217
+ - lib/trycourier/notifications/types/notification.rb
218
+ - lib/trycourier/notifications/types/notification_block.rb
219
+ - lib/trycourier/notifications/types/notification_channel.rb
220
+ - lib/trycourier/notifications/types/notification_channel_content.rb
221
+ - lib/trycourier/notifications/types/notification_content.rb
222
+ - lib/trycourier/notifications/types/notification_content_hierarchy.rb
223
+ - lib/trycourier/notifications/types/notification_get_content_response.rb
224
+ - lib/trycourier/notifications/types/notification_list_response.rb
225
+ - lib/trycourier/notifications/types/submission_checks_get_response.rb
226
+ - lib/trycourier/notifications/types/submission_checks_replace_response.rb
227
+ - lib/trycourier/profiles/client.rb
228
+ - lib/trycourier/profiles/types/address.rb
229
+ - lib/trycourier/profiles/types/airship_profile.rb
230
+ - lib/trycourier/profiles/types/airship_profile_audience.rb
231
+ - lib/trycourier/profiles/types/delete_list_subscription_response.rb
232
+ - lib/trycourier/profiles/types/device_type.rb
233
+ - lib/trycourier/profiles/types/discord.rb
234
+ - lib/trycourier/profiles/types/expo.rb
235
+ - lib/trycourier/profiles/types/get_list_subscriptions_list.rb
236
+ - lib/trycourier/profiles/types/get_list_subscriptions_response.rb
237
+ - lib/trycourier/profiles/types/intercom.rb
238
+ - lib/trycourier/profiles/types/intercom_recipient.rb
239
+ - lib/trycourier/profiles/types/merge_profile_response.rb
240
+ - lib/trycourier/profiles/types/ms_teams.rb
241
+ - lib/trycourier/profiles/types/ms_teams_base_properties.rb
242
+ - lib/trycourier/profiles/types/multiple_tokens.rb
243
+ - lib/trycourier/profiles/types/profile_get_parameters.rb
244
+ - lib/trycourier/profiles/types/profile_get_response.rb
245
+ - lib/trycourier/profiles/types/replace_profile_response.rb
246
+ - lib/trycourier/profiles/types/send_direct_message.rb
247
+ - lib/trycourier/profiles/types/send_to_channel.rb
248
+ - lib/trycourier/profiles/types/send_to_ms_teams_channel_id.rb
249
+ - lib/trycourier/profiles/types/send_to_ms_teams_channel_name.rb
250
+ - lib/trycourier/profiles/types/send_to_ms_teams_conversation_id.rb
251
+ - lib/trycourier/profiles/types/send_to_ms_teams_email.rb
252
+ - lib/trycourier/profiles/types/send_to_ms_teams_user_id.rb
253
+ - lib/trycourier/profiles/types/send_to_slack_channel.rb
254
+ - lib/trycourier/profiles/types/send_to_slack_email.rb
255
+ - lib/trycourier/profiles/types/send_to_slack_user_id.rb
256
+ - lib/trycourier/profiles/types/slack.rb
257
+ - lib/trycourier/profiles/types/slack_base_properties.rb
258
+ - lib/trycourier/profiles/types/snooze_rule.rb
259
+ - lib/trycourier/profiles/types/snooze_rule_type.rb
260
+ - lib/trycourier/profiles/types/subscribe_to_lists_request.rb
261
+ - lib/trycourier/profiles/types/subscribe_to_lists_request_list_object.rb
262
+ - lib/trycourier/profiles/types/subscribe_to_lists_response.rb
263
+ - lib/trycourier/profiles/types/token.rb
264
+ - lib/trycourier/profiles/types/user_profile.rb
265
+ - lib/trycourier/send/types/attachment.rb
266
+ - lib/trycourier/send/types/audience_filter.rb
267
+ - lib/trycourier/send/types/audience_recipient.rb
268
+ - lib/trycourier/send/types/base_message.rb
269
+ - lib/trycourier/send/types/base_social_presence.rb
270
+ - lib/trycourier/send/types/brand_settings_email.rb
271
+ - lib/trycourier/send/types/brand_settings_in_app.rb
272
+ - lib/trycourier/send/types/brand_settings_social_presence.rb
273
+ - lib/trycourier/send/types/brand_template.rb
274
+ - lib/trycourier/send/types/brand_template_override.rb
275
+ - lib/trycourier/send/types/channel.rb
276
+ - lib/trycourier/send/types/channel_metadata.rb
277
+ - lib/trycourier/send/types/channel_source.rb
278
+ - lib/trycourier/send/types/content.rb
279
+ - lib/trycourier/send/types/content_message.rb
280
+ - lib/trycourier/send/types/criteria.rb
281
+ - lib/trycourier/send/types/delay.rb
282
+ - lib/trycourier/send/types/elemental_action_node.rb
283
+ - lib/trycourier/send/types/elemental_base_node.rb
284
+ - lib/trycourier/send/types/elemental_channel_node.rb
285
+ - lib/trycourier/send/types/elemental_content.rb
286
+ - lib/trycourier/send/types/elemental_content_sugar.rb
287
+ - lib/trycourier/send/types/elemental_divider_node.rb
288
+ - lib/trycourier/send/types/elemental_group_node.rb
289
+ - lib/trycourier/send/types/elemental_image_node.rb
290
+ - lib/trycourier/send/types/elemental_meta_node.rb
291
+ - lib/trycourier/send/types/elemental_node.rb
292
+ - lib/trycourier/send/types/elemental_quote_node.rb
293
+ - lib/trycourier/send/types/elemental_text_node.rb
294
+ - lib/trycourier/send/types/email_footer.rb
295
+ - lib/trycourier/send/types/email_head.rb
296
+ - lib/trycourier/send/types/email_header.rb
297
+ - lib/trycourier/send/types/expires_in_type.rb
298
+ - lib/trycourier/send/types/expiry.rb
299
+ - lib/trycourier/send/types/i_action_button_style.rb
300
+ - lib/trycourier/send/types/i_alignment.rb
301
+ - lib/trycourier/send/types/i_preferences.rb
302
+ - lib/trycourier/send/types/i_profile_preferences.rb
303
+ - lib/trycourier/send/types/icons.rb
304
+ - lib/trycourier/send/types/in_app_placement.rb
305
+ - lib/trycourier/send/types/invalid_list_pattern_recipient.rb
306
+ - lib/trycourier/send/types/invalid_list_recipient.rb
307
+ - lib/trycourier/send/types/invalid_user_recipient.rb
308
+ - lib/trycourier/send/types/list_filter.rb
309
+ - lib/trycourier/send/types/list_pattern_recipient.rb
310
+ - lib/trycourier/send/types/list_pattern_recipient_type.rb
311
+ - lib/trycourier/send/types/list_recipient.rb
312
+ - lib/trycourier/send/types/list_recipient_type.rb
313
+ - lib/trycourier/send/types/locale.rb
314
+ - lib/trycourier/send/types/locales.rb
315
+ - lib/trycourier/send/types/logo.rb
316
+ - lib/trycourier/send/types/message.rb
317
+ - lib/trycourier/send/types/message_channel_email_override.rb
318
+ - lib/trycourier/send/types/message_channels.rb
319
+ - lib/trycourier/send/types/message_context.rb
320
+ - lib/trycourier/send/types/message_data.rb
321
+ - lib/trycourier/send/types/message_metadata.rb
322
+ - lib/trycourier/send/types/message_providers.rb
323
+ - lib/trycourier/send/types/message_providers_type.rb
324
+ - lib/trycourier/send/types/message_recipient.rb
325
+ - lib/trycourier/send/types/metadata.rb
326
+ - lib/trycourier/send/types/ms_teams_recipient.rb
327
+ - lib/trycourier/send/types/override.rb
328
+ - lib/trycourier/send/types/preference.rb
329
+ - lib/trycourier/send/types/preferences.rb
330
+ - lib/trycourier/send/types/recipient.rb
331
+ - lib/trycourier/send/types/routing.rb
332
+ - lib/trycourier/send/types/routing_channel.rb
333
+ - lib/trycourier/send/types/routing_method.rb
334
+ - lib/trycourier/send/types/routing_strategy_channel.rb
335
+ - lib/trycourier/send/types/routing_strategy_provider.rb
336
+ - lib/trycourier/send/types/rule_type.rb
337
+ - lib/trycourier/send/types/slack_recipient.rb
338
+ - lib/trycourier/send/types/template_message.rb
339
+ - lib/trycourier/send/types/text_align.rb
340
+ - lib/trycourier/send/types/text_style.rb
341
+ - lib/trycourier/send/types/timeout.rb
342
+ - lib/trycourier/send/types/timeouts.rb
343
+ - lib/trycourier/send/types/tracking_override.rb
344
+ - lib/trycourier/send/types/user_recipient.rb
345
+ - lib/trycourier/send/types/user_recipient_type.rb
346
+ - lib/trycourier/send/types/utm.rb
347
+ - lib/trycourier/send/types/widget_background.rb
348
+ - lib/trycourier/templates/client.rb
349
+ - lib/trycourier/templates/types/channel_identifier.rb
350
+ - lib/trycourier/templates/types/list_templates_response.rb
351
+ - lib/trycourier/templates/types/notification_templates.rb
352
+ - lib/trycourier/templates/types/routing_strategy.rb
353
+ - lib/trycourier/templates/types/routing_strategy_method.rb
354
+ - lib/trycourier/templates/types/tag.rb
355
+ - lib/trycourier/templates/types/tag_data.rb
356
+ - lib/trycourier/tenants/client.rb
357
+ - lib/trycourier/tenants/types/default_preferences.rb
358
+ - lib/trycourier/tenants/types/list_users_for_tenant_response.rb
359
+ - lib/trycourier/tenants/types/subscription_topic.rb
360
+ - lib/trycourier/tenants/types/subscription_topic_status.rb
361
+ - lib/trycourier/tenants/types/template_property.rb
362
+ - lib/trycourier/tenants/types/tenant.rb
363
+ - lib/trycourier/tenants/types/tenant_list_response.rb
364
+ - lib/trycourier/translations/client.rb
365
+ - lib/trycourier/types/send_message_response.rb
366
+ - lib/trycourier/users/client.rb
367
+ - lib/trycourier/users/preferences/client.rb
368
+ - lib/trycourier/users/preferences/types/topic_preference.rb
369
+ - lib/trycourier/users/preferences/types/user_preferences_get_response.rb
370
+ - lib/trycourier/users/preferences/types/user_preferences_list_response.rb
371
+ - lib/trycourier/users/preferences/types/user_preferences_update_response.rb
372
+ - lib/trycourier/users/tenants/client.rb
373
+ - lib/trycourier/users/tenants/types/add_user_to_single_tenants_params_profile.rb
374
+ - lib/trycourier/users/tenants/types/list_tenants_for_user_response.rb
375
+ - lib/trycourier/users/tokens/client.rb
376
+ - lib/trycourier/users/tokens/types/delete_user_token_opts.rb
377
+ - lib/trycourier/users/tokens/types/device.rb
378
+ - lib/trycourier/users/tokens/types/expiry_date.rb
379
+ - lib/trycourier/users/tokens/types/get_all_tokens_response.rb
380
+ - lib/trycourier/users/tokens/types/get_user_token_opts.rb
381
+ - lib/trycourier/users/tokens/types/get_user_token_response.rb
382
+ - lib/trycourier/users/tokens/types/get_user_tokens_opts.rb
383
+ - lib/trycourier/users/tokens/types/patch_op.rb
384
+ - lib/trycourier/users/tokens/types/patch_operation.rb
385
+ - lib/trycourier/users/tokens/types/patch_user_token_opts.rb
386
+ - lib/trycourier/users/tokens/types/provider_key.rb
387
+ - lib/trycourier/users/tokens/types/put_user_token_opts.rb
388
+ - lib/trycourier/users/tokens/types/put_user_tokens_opts.rb
389
+ - lib/trycourier/users/tokens/types/token_status.rb
390
+ - lib/trycourier/users/tokens/types/tracking.rb
391
+ - lib/trycourier/users/tokens/types/user_token.rb
392
+ - lib/types_export.rb
79
393
  homepage: https://github.com/trycourier/courier-ruby
80
- licenses:
81
- - MIT
394
+ licenses: []
82
395
  metadata:
83
- allowed_push_host: https://rubygems.org
84
396
  homepage_uri: https://github.com/trycourier/courier-ruby
85
397
  source_code_uri: https://github.com/trycourier/courier-ruby
86
- changelog_uri: https://github.com/trycourier/courier-ruby
398
+ changelog_uri: https://github.com/trycourier/courier-ruby/blob/master/CHANGELOG.md
87
399
  post_install_message:
88
400
  rdoc_options: []
89
401
  require_paths:
@@ -92,12 +404,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
404
  requirements:
93
405
  - - ">="
94
406
  - !ruby/object:Gem::Version
95
- version: 2.3.0
407
+ version: 2.7.0
96
408
  required_rubygems_version: !ruby/object:Gem::Requirement
97
409
  requirements:
98
- - - ">="
410
+ - - ">"
99
411
  - !ruby/object:Gem::Version
100
- version: '0'
412
+ version: 1.3.1
101
413
  requirements: []
102
414
  rubygems_version: 3.1.6
103
415
  signing_key:
@@ -1,17 +0,0 @@
1
- ## Expected Behavior
2
-
3
-
4
- ## Actual Behavior
5
-
6
-
7
- ## Steps to Reproduce the Problem
8
-
9
- 1.
10
- 1.
11
- 1.
12
-
13
- ## Specifications
14
-
15
- - Version:
16
- - Platform:
17
- - Subsystem:
@@ -1,27 +0,0 @@
1
- ## Description of the change
2
-
3
- > Description here
4
-
5
- ## Type of change
6
- - [ ] Bug fix (non-breaking change that fixes an issue)
7
- - [ ] New feature (non-breaking change that adds functionality)
8
- - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
9
-
10
- ## Related issues
11
-
12
- > Fix [#1]()
13
-
14
- ## Checklists
15
-
16
- ### Development
17
-
18
- - [ ] Lint rules pass locally
19
- - [ ] The code changed/added as part of this pull request has been covered with tests
20
- - [ ] All tests related to the changed code pass in development
21
-
22
- ### Code review
23
-
24
- - [ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
25
- - [ ] "Ready for review" label attached to the PR and reviewers mentioned in a comment
26
- - [ ] Changes have been reviewed by at least one other engineer
27
- - [ ] Issue from task tracker has a link to this pull request
@@ -1,51 +0,0 @@
1
- name: Ruby Gem
2
-
3
- on:
4
- push:
5
- branches: [master]
6
- tags:
7
- - v*
8
- pull_request:
9
- branches: [master]
10
-
11
- jobs:
12
- test:
13
- runs-on: ubuntu-latest
14
-
15
- strategy:
16
- matrix:
17
- ruby-version: ['2.7', '3.0', '3.1', 'head']
18
-
19
- steps:
20
- - uses: actions/checkout@v2
21
- - name: Set up Ruby
22
- uses: ruby/setup-ruby@v1
23
- with:
24
- ruby-version: ${{ matrix.ruby-version }}
25
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
- - name: Run tests
27
- # Skipping rubocop for now
28
- # run: bundle exec rake
29
- run: bundle exec rspec spec
30
- build:
31
- name: Build + Publish
32
- needs: test
33
- if: startsWith(github.ref, 'refs/tags/v')
34
- runs-on: ubuntu-latest
35
-
36
- steps:
37
- - uses: actions/checkout@v2
38
- - name: Set up Ruby
39
- uses: ruby/setup-ruby@v1
40
- with:
41
- ruby-version: 2.7
42
- - name: Publish to RubyGems
43
- run: |
44
- mkdir -p $HOME/.gem
45
- touch $HOME/.gem/credentials
46
- chmod 0600 $HOME/.gem/credentials
47
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
48
- gem build *.gemspec
49
- gem push *.gem
50
- env:
51
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
data/.gitignore DELETED
@@ -1,67 +0,0 @@
1
- *.gem
2
- *.rbc
3
- /.config
4
- /coverage/
5
- /InstalledFiles
6
- /pkg/
7
- /spec/reports/
8
- /spec/examples.txt
9
- /test/tmp/
10
- /test/version_tmp/
11
- /tmp/
12
-
13
- # Used by dotenv library to load environment variables.
14
- # .env
15
-
16
- # Ignore Byebug command history file.
17
- .byebug_history
18
-
19
- ## Specific to RubyMotion:
20
- .dat*
21
- .repl_history
22
- build/
23
- *.bridgesupport
24
- build-iPhoneOS/
25
- build-iPhoneSimulator/
26
-
27
- ## Specific to RubyMotion (use of CocoaPods):
28
- #
29
- # We recommend against adding the Pods directory to your .gitignore. However
30
- # you should judge for yourself, the pros and cons are mentioned at:
31
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
32
- #
33
- # vendor/Pods/
34
-
35
- ## Documentation cache and generated files:
36
- /.yardoc/
37
- /_yardoc/
38
- /doc/
39
- /rdoc/
40
-
41
- ## Environment normalization:
42
- /.bundle/
43
- /vendor/bundle
44
- /lib/bundler/man/
45
-
46
- # for a library or gem, you might want to ignore these files since the code is
47
- # intended to run in multiple environments; otherwise, check them in:
48
- # Gemfile.lock
49
- # .ruby-version
50
- # .ruby-gemset
51
-
52
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
53
- .rvmrc
54
-
55
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
- # .rubocop-https?--*
57
-
58
- # via bundle gem <FOO>
59
- /.bundle/
60
- /.yardoc
61
- /_yardoc/
62
- /coverage/
63
- /doc/
64
- /pkg/
65
- /spec/reports/
66
- /tmp/
67
- .rspec_status
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper