wco_email 0.1.1.93 → 0.1.1.94

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 253d99a94648253e61907553ca4af20286c9c91a481c2cf6e4c975e5e6046ad0
4
- data.tar.gz: 64d86903130afd27030205a2a15cb4d8e7c37b9659c83b86e9f34bc8e93bced2
3
+ metadata.gz: 318f6c29134529f722d2c9a744a1c8418c46e43a04a7737eca9a99f90207192b
4
+ data.tar.gz: f9569efe2171fd9f2aa9220fcc06aa36a045a53944988b29fa3875200dec8c3f
5
5
  SHA512:
6
- metadata.gz: a27f420dce67f0530737559b8bbe7755ba314b8bfb55326c8bceecedbd9fd3a01b33110a146d9e8c6d9ba6f9764c1529126af79e24320c18177bad6ded825744
7
- data.tar.gz: b6f656bb011bc0a4e598bd7a309660889287fe0710b4b35e660956d07b74994fd9875f0cc2cbdbdcf58f019631ecf298b839291f7bb9abcfe48606d6f1336d5b
6
+ metadata.gz: 7e97db3199a22d6dac3e46588c3936f5d6e7b0310588969bd3fcec991a11ddfa7df4cd68256aaf94d0bd2ca3160b99d81a8dffa738d1050283b3936eefad1a40
7
+ data.tar.gz: f9184199460e22cd78cadbca9f6d5a5d55e4cd7cefee8b5f101f2f865b16f9a9665d39e3f80e53b903d029c4f8d468a6dd780e04f241436a07625383de3e8ed2
@@ -18,6 +18,20 @@ class WcoEmail::ApiController < ActionController::Base
18
18
  render status: :ok, json: { status: :ok }
19
19
  end
20
20
 
21
+ def create_email_message_from_postal
22
+ puts! params, 'create_email_message_from_postal#params'
23
+
24
+ # stub = WcoEmail::MessageStub.find_or_create_by({
25
+ # bucket: params[:bucket],
26
+ # object_key: params[:object_key],
27
+ # })
28
+
29
+ # WcoEmail::MessageIntakeJob.perform_async( stub.id.to_s )
30
+ # render status: :ok, json: { status: :ok }
31
+ end
32
+
33
+
34
+
21
35
  ##
22
36
  ## private
23
37
  ##
data/config/routes.rb CHANGED
@@ -6,16 +6,18 @@ WcoEmail::Engine.routes.draw do
6
6
  get 'analytics', to: 'application#analytics'
7
7
  get 'tinymce', to: 'application#tinymce', as: :application_tinymce
8
8
 
9
- get 'api/contexts/summary', to: '/wco_email/api/contexts#summary'
10
- get 'api/conversations', to: '/wco_email/api/conversations#index'
11
- get 'api/email_action_templates', to: '/wco_email/api/email_action_templates#index'
12
- get 'api/email_filters', to: '/wco_email/api/email_filters#index', defaults: { format: :json }
13
- get 'api/email_filters/:id', to: '/wco_email/api/email_filters#show'
14
- delete 'api/email_filters/:id', to: '/wco_email/api/email_filters#destroy'
15
- post 'api/email_filters', to: '/wco_email/api/email_filters#create'
16
- patch 'api/email_filters/:id', to: '/wco_email/api/email_filters#update'
17
- get 'api/email_templates', to: '/wco_email/api/email_templates#index'
18
- get 'api/tags/:tagname/conversations', to: '/wco_email/api/conversations#index'
9
+ get 'api/contexts/summary', to: '/wco_email/api/contexts#summary'
10
+ get 'api/conversations', to: '/wco_email/api/conversations#index'
11
+ get 'api/email_action_templates', to: '/wco_email/api/email_action_templates#index'
12
+ get 'api/email_filters', to: '/wco_email/api/email_filters#index', defaults: { format: :json }
13
+ get 'api/email_filters/:id', to: '/wco_email/api/email_filters#show'
14
+ delete 'api/email_filters/:id', to: '/wco_email/api/email_filters#destroy'
15
+ post 'api/email_filters', to: '/wco_email/api/email_filters#create'
16
+ patch 'api/email_filters/:id', to: '/wco_email/api/email_filters#update'
17
+ get 'api/email_templates', to: '/wco_email/api/email_templates#index'
18
+ get 'api/tags/:tagname/conversations', to: '/wco_email/api/conversations#index'
19
+
20
+ post 'api/messages/from-postal', to: '/wco_email/api#create_email_message'
19
21
 
20
22
  get 'conversations/in/:tagname', to: '/wco_email/conversations#index', as: :conversations_in
21
23
  get 'conversations/not-in/:tagname_not', to: '/wco_email/conversations#index', as: :conversations_not_in
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.93
4
+ version: 0.1.1.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-23 00:00:00.000000000 Z
11
+ date: 2025-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3