spree_elta_courier 1.0.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.
- checksums.yaml +7 -0
- data/LICENSE.md +10 -0
- data/README.md +75 -0
- data/Rakefile +21 -0
- data/app/assets/config/spree_elta_courier_manifest.js +3 -0
- data/app/assets/images/integration_icons/elta-courier-logo.png +0 -0
- data/app/controllers/spree/admin/elta_courier_controller.rb +91 -0
- data/app/javascript/spree_elta_courier/application.js +12 -0
- data/app/lib/elta_courier/soap_client.rb +72 -0
- data/app/models/spree/integrations/elta_courier.rb +25 -0
- data/app/models/spree/order_decorator.rb +13 -0
- data/app/models/spree/shipment_decorator.rb +13 -0
- data/app/services/spree_elta_courier/create_voucher.rb +42 -0
- data/app/services/spree_elta_courier/print_vouchers.rb +35 -0
- data/app/views/spree/admin/integrations/forms/_elta_courier.html.erb +16 -0
- data/app/views/spree_elta_courier/_head.html.erb +1 -0
- data/app/views/spree_elta_courier/_order_dropdown_options.html.erb +19 -0
- data/config/importmap.rb +6 -0
- data/config/initializers/spree.rb +9 -0
- data/config/locales/el.yml +18 -0
- data/config/locales/en.yml +18 -0
- data/config/routes.rb +6 -0
- data/lib/generators/spree_elta_courier/install/install_generator.rb +20 -0
- data/lib/spree_elta_courier/configuration.rb +13 -0
- data/lib/spree_elta_courier/engine.rb +39 -0
- data/lib/spree_elta_courier/factories.rb +3 -0
- data/lib/spree_elta_courier/testing_support/factories/elta_courier_integration.rb +10 -0
- data/lib/spree_elta_courier/version.rb +7 -0
- data/lib/spree_elta_courier/wsdl/CREATEAWB02.wsdl +107 -0
- data/lib/spree_elta_courier/wsdl/ELTACOURIERPOSTSIDETA.wsdl +125 -0
- data/lib/spree_elta_courier/wsdl/GETPUDODETAILS.wsdl +81 -0
- data/lib/spree_elta_courier/wsdl/PELB64VG.wsdl +60 -0
- data/lib/spree_elta_courier/wsdl/PELTT03.wsdl +75 -0
- data/lib/spree_elta_courier.rb +11 -0
- metadata +190 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
+
<definitions name="CREATEAWB02" targetNamespace="/CREATEAWB02" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="/CREATEAWB02" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<!-- Micro Focus NetExpress generated WSDL document-->
|
|
4
|
+
<types>
|
|
5
|
+
<schema elementFormDefault="qualified" targetNamespace="/CREATEAWB02" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="/CREATEAWB02">
|
|
6
|
+
<element name="READ">
|
|
7
|
+
<complexType>
|
|
8
|
+
<sequence>
|
|
9
|
+
<element name="pel_user_code" type="string"/>
|
|
10
|
+
<element name="pel_user_pass" type="string"/>
|
|
11
|
+
<element name="pel_apost_code" type="string"/>
|
|
12
|
+
<element name="pel_apost_sub_code" type="string"/>
|
|
13
|
+
<element name="pel_paral_name" type="string"/>
|
|
14
|
+
<element name="pel_paral_address" type="string"/>
|
|
15
|
+
<element name="pel_paral_area" type="string"/>
|
|
16
|
+
<element name="pel_user_lang" type="string"/>
|
|
17
|
+
<element name="pel_paral_tk" type="string"/>
|
|
18
|
+
<element name="pel_paral_thl_1" type="string"/>
|
|
19
|
+
<element name="pel_paral_thl_2" type="string"/>
|
|
20
|
+
<element name="pel_service" type="string"/>
|
|
21
|
+
<element name="pel_baros" type="string"/>
|
|
22
|
+
<element name="pel_temaxia" type="string"/>
|
|
23
|
+
<element name="pel_paral_sxolia" type="string"/>
|
|
24
|
+
<element name="pel_sur_1" type="string"/>
|
|
25
|
+
<element name="pel_sur_2" type="string"/>
|
|
26
|
+
<element name="pel_sur_3" type="string"/>
|
|
27
|
+
<element name="pel_ant_poso" type="string"/>
|
|
28
|
+
<element name="pel_ant_poso1" type="string"/>
|
|
29
|
+
<element name="pel_ant_poso2" type="string"/>
|
|
30
|
+
<element name="pel_ant_poso3" type="string"/>
|
|
31
|
+
<element name="pel_ant_poso4" type="string"/>
|
|
32
|
+
<element name="pel_ant_date1" type="string"/>
|
|
33
|
+
<element name="pel_ant_date2" type="string"/>
|
|
34
|
+
<element name="pel_ant_date3" type="string"/>
|
|
35
|
+
<element name="pel_ant_date4" type="string"/>
|
|
36
|
+
<element name="pel_asf_poso" type="string"/>
|
|
37
|
+
<element name="pel_ref_no" type="string"/>
|
|
38
|
+
<element name="sideta_eidos" type="string"/>
|
|
39
|
+
<element name="pudo_station" type="string"/>
|
|
40
|
+
</sequence>
|
|
41
|
+
</complexType>
|
|
42
|
+
</element>
|
|
43
|
+
<element name="READResponse">
|
|
44
|
+
<complexType>
|
|
45
|
+
<sequence>
|
|
46
|
+
<element name="st_flag" type="integer"/>
|
|
47
|
+
<element name="st_title" type="string"/>
|
|
48
|
+
<element name="vg_code" type="string"/>
|
|
49
|
+
<element name="return_vg" type="string"/>
|
|
50
|
+
<element name="epitagh_vg" type="string"/>
|
|
51
|
+
<element maxOccurs="35" minOccurs="0" name="vg_child" type="string"/>
|
|
52
|
+
<element name="print_fields">
|
|
53
|
+
<complexType>
|
|
54
|
+
<sequence>
|
|
55
|
+
<element name="rec_station_code" type="string"/>
|
|
56
|
+
<element name="rec_station_title" type="string"/>
|
|
57
|
+
<element name="serv_code" type="string"/>
|
|
58
|
+
<element name="serv_title" type="string"/>
|
|
59
|
+
<element name="cod_code" type="string"/>
|
|
60
|
+
<element name="cod_title" type="string"/>
|
|
61
|
+
<element name="sur_code_1" type="string"/>
|
|
62
|
+
<element name="sur_title_1" type="string"/>
|
|
63
|
+
<element name="sur_code_2" type="string"/>
|
|
64
|
+
<element name="sur_title_2" type="string"/>
|
|
65
|
+
<element name="sur_code_3" type="string"/>
|
|
66
|
+
<element name="sur_title_3" type="string"/>
|
|
67
|
+
</sequence>
|
|
68
|
+
</complexType>
|
|
69
|
+
</element>
|
|
70
|
+
</sequence>
|
|
71
|
+
</complexType>
|
|
72
|
+
</element>
|
|
73
|
+
</schema>
|
|
74
|
+
</types>
|
|
75
|
+
<message name="READInput">
|
|
76
|
+
<part element="tns:READ" name="parameters"/>
|
|
77
|
+
</message>
|
|
78
|
+
<message name="READOutput">
|
|
79
|
+
<part element="tns:READResponse" name="parameters"/>
|
|
80
|
+
</message>
|
|
81
|
+
<portType name="CREATEAWB02">
|
|
82
|
+
<operation name="READ">
|
|
83
|
+
<input message="tns:READInput"/>
|
|
84
|
+
<output message="tns:READOutput"/>
|
|
85
|
+
</operation>
|
|
86
|
+
</portType>
|
|
87
|
+
<binding name="CREATEAWB02" type="tns:CREATEAWB02">
|
|
88
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
89
|
+
<operation name="READ">
|
|
90
|
+
<soap:operation soapAction=""/>
|
|
91
|
+
<input>
|
|
92
|
+
<soap:body use="literal"/>
|
|
93
|
+
</input>
|
|
94
|
+
<output>
|
|
95
|
+
<soap:body use="literal"/>
|
|
96
|
+
</output>
|
|
97
|
+
</operation>
|
|
98
|
+
</binding>
|
|
99
|
+
<service name="CREATEAWB02">
|
|
100
|
+
<port binding="tns:CREATEAWB02" name="CREATEAWB02">
|
|
101
|
+
<documentation>
|
|
102
|
+
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
|
|
103
|
+
</documentation>
|
|
104
|
+
<soap:address location="https://wsprod.elta-courier.gr"/>
|
|
105
|
+
</port>
|
|
106
|
+
</service>
|
|
107
|
+
</definitions>
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
+
<definitions name="ELTACOURIERPOSTSIDETA" targetNamespace="/ELTACOURIERPOSTSIDETA" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="/ELTACOURIERPOSTSIDETA" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<!-- Micro Focus NetExpress generated WSDL document-->
|
|
4
|
+
<types>
|
|
5
|
+
<schema elementFormDefault="qualified" targetNamespace="/ELTACOURIERPOSTSIDETA" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="/ELTACOURIERPOSTSIDETA">
|
|
6
|
+
<element name="READ">
|
|
7
|
+
<complexType>
|
|
8
|
+
<sequence>
|
|
9
|
+
<element name="user_details">
|
|
10
|
+
<complexType>
|
|
11
|
+
<sequence>
|
|
12
|
+
<element name="pel_user_code" type="string"/>
|
|
13
|
+
<element name="pel_user_pass" type="string"/>
|
|
14
|
+
<element name="pel_apost_code" type="string"/>
|
|
15
|
+
<element name="pel_apost_sub_code" type="string"/>
|
|
16
|
+
<element name="pel_user_lang" type="string"/>
|
|
17
|
+
</sequence>
|
|
18
|
+
</complexType>
|
|
19
|
+
</element>
|
|
20
|
+
<element name="pel_details">
|
|
21
|
+
<complexType>
|
|
22
|
+
<sequence>
|
|
23
|
+
<element name="pel_paral_name" type="string"/>
|
|
24
|
+
<element name="pel_paral_address" type="string"/>
|
|
25
|
+
<element name="pel_paral_area" type="string"/>
|
|
26
|
+
<element name="pel_paral_tk" type="string"/>
|
|
27
|
+
<element name="pel_paral_thl_1" type="string"/>
|
|
28
|
+
<element name="pel_paral_thl_2" type="string"/>
|
|
29
|
+
<element name="pel_service" type="string"/>
|
|
30
|
+
<element name="pel_baros" type="string"/>
|
|
31
|
+
<element name="pel_temaxia" type="string"/>
|
|
32
|
+
<element name="pel_paral_sxolia" type="string"/>
|
|
33
|
+
<element name="pel_sur_1" type="string"/>
|
|
34
|
+
<element name="pel_sur_2" type="string"/>
|
|
35
|
+
<element name="pel_sur_3" type="string"/>
|
|
36
|
+
<element name="pel_ant_poso" type="string"/>
|
|
37
|
+
<element name="pel_ant_poso1" type="string"/>
|
|
38
|
+
<element name="pel_ant_poso2" type="string"/>
|
|
39
|
+
<element name="pel_ant_poso3" type="string"/>
|
|
40
|
+
<element name="pel_ant_poso4" type="string"/>
|
|
41
|
+
<element name="pel_ant_date1" type="string"/>
|
|
42
|
+
<element name="pel_ant_date2" type="string"/>
|
|
43
|
+
<element name="pel_ant_date3" type="string"/>
|
|
44
|
+
<element name="pel_ant_date4" type="string"/>
|
|
45
|
+
<element name="pel_asf_poso" type="string"/>
|
|
46
|
+
<element name="pel_ref_no" type="string"/>
|
|
47
|
+
<element name="sideta_eidos" type="string"/>
|
|
48
|
+
<element name="pudo_station" type="string"/>
|
|
49
|
+
</sequence>
|
|
50
|
+
</complexType>
|
|
51
|
+
</element>
|
|
52
|
+
<element name="sideta_numbers">
|
|
53
|
+
<complexType>
|
|
54
|
+
<sequence>
|
|
55
|
+
<element name="vg_code" type="string"/>
|
|
56
|
+
<element name="return_vg" type="string"/>
|
|
57
|
+
<element name="epitagh_vg" type="string"/>
|
|
58
|
+
<element maxOccurs="35" minOccurs="0" name="vg_child" type="string"/>
|
|
59
|
+
</sequence>
|
|
60
|
+
</complexType>
|
|
61
|
+
</element>
|
|
62
|
+
</sequence>
|
|
63
|
+
</complexType>
|
|
64
|
+
</element>
|
|
65
|
+
<element name="READResponse">
|
|
66
|
+
<complexType>
|
|
67
|
+
<sequence>
|
|
68
|
+
<element name="st_flag" type="integer"/>
|
|
69
|
+
<element name="st_title" type="string"/>
|
|
70
|
+
<element name="print_fields">
|
|
71
|
+
<complexType>
|
|
72
|
+
<sequence>
|
|
73
|
+
<element name="rec_station_code" type="string"/>
|
|
74
|
+
<element name="rec_station_title" type="string"/>
|
|
75
|
+
<element name="serv_code" type="string"/>
|
|
76
|
+
<element name="serv_title" type="string"/>
|
|
77
|
+
<element name="cod_code" type="string"/>
|
|
78
|
+
<element name="cod_title" type="string"/>
|
|
79
|
+
<element name="sur_code_1" type="string"/>
|
|
80
|
+
<element name="sur_title_1" type="string"/>
|
|
81
|
+
<element name="sur_code_2" type="string"/>
|
|
82
|
+
<element name="sur_title_2" type="string"/>
|
|
83
|
+
<element name="sur_code_3" type="string"/>
|
|
84
|
+
<element name="sur_title_3" type="string"/>
|
|
85
|
+
</sequence>
|
|
86
|
+
</complexType>
|
|
87
|
+
</element>
|
|
88
|
+
</sequence>
|
|
89
|
+
</complexType>
|
|
90
|
+
</element>
|
|
91
|
+
</schema>
|
|
92
|
+
</types>
|
|
93
|
+
<message name="READInput">
|
|
94
|
+
<part element="tns:READ" name="parameters"/>
|
|
95
|
+
</message>
|
|
96
|
+
<message name="READOutput">
|
|
97
|
+
<part element="tns:READResponse" name="parameters"/>
|
|
98
|
+
</message>
|
|
99
|
+
<portType name="ELTACOURIERPOSTSIDETA">
|
|
100
|
+
<operation name="READ">
|
|
101
|
+
<input message="tns:READInput"/>
|
|
102
|
+
<output message="tns:READOutput"/>
|
|
103
|
+
</operation>
|
|
104
|
+
</portType>
|
|
105
|
+
<binding name="ELTACOURIERPOSTSIDETA" type="tns:ELTACOURIERPOSTSIDETA">
|
|
106
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
107
|
+
<operation name="READ">
|
|
108
|
+
<soap:operation soapAction=""/>
|
|
109
|
+
<input>
|
|
110
|
+
<soap:body use="literal"/>
|
|
111
|
+
</input>
|
|
112
|
+
<output>
|
|
113
|
+
<soap:body use="literal"/>
|
|
114
|
+
</output>
|
|
115
|
+
</operation>
|
|
116
|
+
</binding>
|
|
117
|
+
<service name="ELTACOURIERPOSTSIDETA">
|
|
118
|
+
<port binding="tns:ELTACOURIERPOSTSIDETA" name="ELTACOURIERPOSTSIDETA">
|
|
119
|
+
<documentation>
|
|
120
|
+
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
|
|
121
|
+
</documentation>
|
|
122
|
+
<soap:address location="http://localhost:9003"/>
|
|
123
|
+
</port>
|
|
124
|
+
</service>
|
|
125
|
+
</definitions>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
+
<definitions name="GETPUDODETAILS" targetNamespace="/GETPUDODETAILS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="/GETPUDODETAILS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<!-- Micro Focus NetExpress generated WSDL document-->
|
|
4
|
+
<types>
|
|
5
|
+
<schema elementFormDefault="qualified" targetNamespace="/GETPUDODETAILS" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="/GETPUDODETAILS">
|
|
6
|
+
<element name="READ">
|
|
7
|
+
<complexType>
|
|
8
|
+
<sequence>
|
|
9
|
+
<element name="pel_user_code" type="string"/>
|
|
10
|
+
<element name="pel_user_pass" type="string"/>
|
|
11
|
+
<element name="pel_apost_code" type="string"/>
|
|
12
|
+
</sequence>
|
|
13
|
+
</complexType>
|
|
14
|
+
</element>
|
|
15
|
+
<element name="READResponse">
|
|
16
|
+
<complexType>
|
|
17
|
+
<sequence>
|
|
18
|
+
<element name="st_flag" type="integer"/>
|
|
19
|
+
<element name="st_title" type="string"/>
|
|
20
|
+
<element maxOccurs="2500" minOccurs="0" name="pudo_details">
|
|
21
|
+
<complexType>
|
|
22
|
+
<sequence>
|
|
23
|
+
<element name="pudo_codes" type="string"/>
|
|
24
|
+
<element name="pudo_postal_code" type="string"/>
|
|
25
|
+
<element name="pudo_titles_gr" type="string"/>
|
|
26
|
+
<element name="pudo_titles_en" type="string"/>
|
|
27
|
+
<element name="pudo_address_gr" type="string"/>
|
|
28
|
+
<element name="pudo_address_en" type="string"/>
|
|
29
|
+
<element name="pudo_city_gr" type="string"/>
|
|
30
|
+
<element name="pudo_city_en" type="string"/>
|
|
31
|
+
<element name="pudo_county_gr" type="string"/>
|
|
32
|
+
<element name="pudo_county_en" type="string"/>
|
|
33
|
+
<element name="pudo_region_gr" type="string"/>
|
|
34
|
+
<element name="pudo_region_en" type="string"/>
|
|
35
|
+
<element name="pudo_telefon" type="string"/>
|
|
36
|
+
<element name="pudo_daily_operation" type="string"/>
|
|
37
|
+
<element name="pudo_saturday_operation" type="string"/>
|
|
38
|
+
<element name="pudo_sanday_operation" type="string"/>
|
|
39
|
+
<element name="pudo_latitude" type="string"/>
|
|
40
|
+
<element name="pudo_longtitude" type="string"/>
|
|
41
|
+
</sequence>
|
|
42
|
+
</complexType>
|
|
43
|
+
</element>
|
|
44
|
+
</sequence>
|
|
45
|
+
</complexType>
|
|
46
|
+
</element>
|
|
47
|
+
</schema>
|
|
48
|
+
</types>
|
|
49
|
+
<message name="READInput">
|
|
50
|
+
<part element="tns:READ" name="parameters"/>
|
|
51
|
+
</message>
|
|
52
|
+
<message name="READOutput">
|
|
53
|
+
<part element="tns:READResponse" name="parameters"/>
|
|
54
|
+
</message>
|
|
55
|
+
<portType name="GETPUDODETAILS">
|
|
56
|
+
<operation name="READ">
|
|
57
|
+
<input message="tns:READInput"/>
|
|
58
|
+
<output message="tns:READOutput"/>
|
|
59
|
+
</operation>
|
|
60
|
+
</portType>
|
|
61
|
+
<binding name="GETPUDODETAILS" type="tns:GETPUDODETAILS">
|
|
62
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
63
|
+
<operation name="READ">
|
|
64
|
+
<soap:operation soapAction=""/>
|
|
65
|
+
<input>
|
|
66
|
+
<soap:body use="literal"/>
|
|
67
|
+
</input>
|
|
68
|
+
<output>
|
|
69
|
+
<soap:body use="literal"/>
|
|
70
|
+
</output>
|
|
71
|
+
</operation>
|
|
72
|
+
</binding>
|
|
73
|
+
<service name="GETPUDODETAILS">
|
|
74
|
+
<port binding="tns:GETPUDODETAILS" name="GETPUDODETAILS">
|
|
75
|
+
<documentation>
|
|
76
|
+
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
|
|
77
|
+
</documentation>
|
|
78
|
+
<soap:address location="https://wsprod.elta-courier.gr"/>
|
|
79
|
+
</port>
|
|
80
|
+
</service>
|
|
81
|
+
</definitions>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
+
<definitions name="PELB64VG" targetNamespace="/PELB64VG" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="/PELB64VG" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<!-- Micro Focus NetExpress generated WSDL document-->
|
|
4
|
+
<types>
|
|
5
|
+
<schema elementFormDefault="qualified" targetNamespace="/PELB64VG" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="/PELB64VG">
|
|
6
|
+
<element name="READ">
|
|
7
|
+
<complexType>
|
|
8
|
+
<sequence>
|
|
9
|
+
<element name="pel_user_code" type="string"/>
|
|
10
|
+
<element name="pel_user_pass" type="string"/>
|
|
11
|
+
<element name="pel_apost_code" type="string"/>
|
|
12
|
+
<element name="vg_code" type="string"/>
|
|
13
|
+
<element name="paper_size" type="string"/>
|
|
14
|
+
</sequence>
|
|
15
|
+
</complexType>
|
|
16
|
+
</element>
|
|
17
|
+
<element name="READResponse">
|
|
18
|
+
<complexType>
|
|
19
|
+
<sequence>
|
|
20
|
+
<element name="st_flag" type="integer"/>
|
|
21
|
+
<element name="st_title" type="string"/>
|
|
22
|
+
<element name="b64_string" type="string"/>
|
|
23
|
+
</sequence>
|
|
24
|
+
</complexType>
|
|
25
|
+
</element>
|
|
26
|
+
</schema>
|
|
27
|
+
</types>
|
|
28
|
+
<message name="READInput">
|
|
29
|
+
<part element="tns:READ" name="parameters"/>
|
|
30
|
+
</message>
|
|
31
|
+
<message name="READOutput">
|
|
32
|
+
<part element="tns:READResponse" name="parameters"/>
|
|
33
|
+
</message>
|
|
34
|
+
<portType name="PELB64VG">
|
|
35
|
+
<operation name="READ">
|
|
36
|
+
<input message="tns:READInput"/>
|
|
37
|
+
<output message="tns:READOutput"/>
|
|
38
|
+
</operation>
|
|
39
|
+
</portType>
|
|
40
|
+
<binding name="PELB64VG" type="tns:PELB64VG">
|
|
41
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
42
|
+
<operation name="READ">
|
|
43
|
+
<soap:operation soapAction=""/>
|
|
44
|
+
<input>
|
|
45
|
+
<soap:body use="literal"/>
|
|
46
|
+
</input>
|
|
47
|
+
<output>
|
|
48
|
+
<soap:body use="literal"/>
|
|
49
|
+
</output>
|
|
50
|
+
</operation>
|
|
51
|
+
</binding>
|
|
52
|
+
<service name="PELB64VG">
|
|
53
|
+
<port binding="tns:PELB64VG" name="PELB64VG">
|
|
54
|
+
<documentation>
|
|
55
|
+
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
|
|
56
|
+
</documentation>
|
|
57
|
+
<soap:address location="https://wsprod.elta-courier.gr"/>
|
|
58
|
+
</port>
|
|
59
|
+
</service>
|
|
60
|
+
</definitions>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
2
|
+
<definitions name="PELTT03" targetNamespace="/PELTT03" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="/PELTT03" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<!-- Micro Focus NetExpress generated WSDL document-->
|
|
4
|
+
<types>
|
|
5
|
+
<schema elementFormDefault="qualified" targetNamespace="/PELTT03" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="/PELTT03">
|
|
6
|
+
<element name="READ">
|
|
7
|
+
<complexType>
|
|
8
|
+
<sequence>
|
|
9
|
+
<element name="wpel_code" type="string"/>
|
|
10
|
+
<element name="wpel_user" type="integer"/>
|
|
11
|
+
<element name="wpel_pass" type="string"/>
|
|
12
|
+
<element name="wpel_vg" type="string"/>
|
|
13
|
+
<element name="wpel_ref" type="string"/>
|
|
14
|
+
<element name="wpel_flag" type="string"/>
|
|
15
|
+
</sequence>
|
|
16
|
+
</complexType>
|
|
17
|
+
</element>
|
|
18
|
+
<element name="READResponse">
|
|
19
|
+
<complexType>
|
|
20
|
+
<sequence>
|
|
21
|
+
<element name="st_flag" type="integer"/>
|
|
22
|
+
<element name="st_title" type="string"/>
|
|
23
|
+
<element name="pod_date" type="string"/>
|
|
24
|
+
<element name="pod_time" type="string"/>
|
|
25
|
+
<element name="pod_name" type="string"/>
|
|
26
|
+
<element maxOccurs="100" minOccurs="0" name="web_status">
|
|
27
|
+
<complexType>
|
|
28
|
+
<sequence>
|
|
29
|
+
<element name="web_date" type="string"/>
|
|
30
|
+
<element name="web_time" type="string"/>
|
|
31
|
+
<element name="web_station" type="string"/>
|
|
32
|
+
<element name="web_status_title" type="string"/>
|
|
33
|
+
<element name="web_remarks" type="string"/>
|
|
34
|
+
</sequence>
|
|
35
|
+
</complexType>
|
|
36
|
+
</element>
|
|
37
|
+
<element name="web_status_counter" type="integer"/>
|
|
38
|
+
</sequence>
|
|
39
|
+
</complexType>
|
|
40
|
+
</element>
|
|
41
|
+
</schema>
|
|
42
|
+
</types>
|
|
43
|
+
<message name="READInput">
|
|
44
|
+
<part element="tns:READ" name="parameters"/>
|
|
45
|
+
</message>
|
|
46
|
+
<message name="READOutput">
|
|
47
|
+
<part element="tns:READResponse" name="parameters"/>
|
|
48
|
+
</message>
|
|
49
|
+
<portType name="PELTT03">
|
|
50
|
+
<operation name="READ">
|
|
51
|
+
<input message="tns:READInput"/>
|
|
52
|
+
<output message="tns:READOutput"/>
|
|
53
|
+
</operation>
|
|
54
|
+
</portType>
|
|
55
|
+
<binding name="PELTT03" type="tns:PELTT03">
|
|
56
|
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
|
57
|
+
<operation name="READ">
|
|
58
|
+
<soap:operation soapAction=""/>
|
|
59
|
+
<input>
|
|
60
|
+
<soap:body use="literal"/>
|
|
61
|
+
</input>
|
|
62
|
+
<output>
|
|
63
|
+
<soap:body use="literal"/>
|
|
64
|
+
</output>
|
|
65
|
+
</operation>
|
|
66
|
+
</binding>
|
|
67
|
+
<service name="PELTT03">
|
|
68
|
+
<port binding="tns:PELTT03" name="PELTT03">
|
|
69
|
+
<documentation>
|
|
70
|
+
<wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"/>
|
|
71
|
+
</documentation>
|
|
72
|
+
<soap:address location="https://wsprod.elta-courier.gr"/>
|
|
73
|
+
</port>
|
|
74
|
+
</service>
|
|
75
|
+
</definitions>
|
metadata
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: spree_elta_courier
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- OlympusOne
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: spree
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 5.1.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 5.1.0
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: spree_storefront
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 5.1.0
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 5.1.0
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: spree_admin
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 5.1.0
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 5.1.0
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: spree_extension
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: savon
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - "~>"
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '2.15'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - "~>"
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '2.15'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: combine_pdf
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '1.0'
|
|
89
|
+
type: :runtime
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '1.0'
|
|
96
|
+
- !ruby/object:Gem::Dependency
|
|
97
|
+
name: spree_dev_tools
|
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: '0'
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: dotenv
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
117
|
+
type: :development
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
124
|
+
description: Adds the ability to manage Elta Courier vouchers to Spree stores.
|
|
125
|
+
email: info@olympusone.com
|
|
126
|
+
executables: []
|
|
127
|
+
extensions: []
|
|
128
|
+
extra_rdoc_files: []
|
|
129
|
+
files:
|
|
130
|
+
- LICENSE.md
|
|
131
|
+
- README.md
|
|
132
|
+
- Rakefile
|
|
133
|
+
- app/assets/config/spree_elta_courier_manifest.js
|
|
134
|
+
- app/assets/images/integration_icons/elta-courier-logo.png
|
|
135
|
+
- app/controllers/spree/admin/elta_courier_controller.rb
|
|
136
|
+
- app/javascript/spree_elta_courier/application.js
|
|
137
|
+
- app/lib/elta_courier/soap_client.rb
|
|
138
|
+
- app/models/spree/integrations/elta_courier.rb
|
|
139
|
+
- app/models/spree/order_decorator.rb
|
|
140
|
+
- app/models/spree/shipment_decorator.rb
|
|
141
|
+
- app/services/spree_elta_courier/create_voucher.rb
|
|
142
|
+
- app/services/spree_elta_courier/print_vouchers.rb
|
|
143
|
+
- app/views/spree/admin/integrations/forms/_elta_courier.html.erb
|
|
144
|
+
- app/views/spree_elta_courier/_head.html.erb
|
|
145
|
+
- app/views/spree_elta_courier/_order_dropdown_options.html.erb
|
|
146
|
+
- config/importmap.rb
|
|
147
|
+
- config/initializers/spree.rb
|
|
148
|
+
- config/locales/el.yml
|
|
149
|
+
- config/locales/en.yml
|
|
150
|
+
- config/routes.rb
|
|
151
|
+
- lib/generators/spree_elta_courier/install/install_generator.rb
|
|
152
|
+
- lib/spree_elta_courier.rb
|
|
153
|
+
- lib/spree_elta_courier/configuration.rb
|
|
154
|
+
- lib/spree_elta_courier/engine.rb
|
|
155
|
+
- lib/spree_elta_courier/factories.rb
|
|
156
|
+
- lib/spree_elta_courier/testing_support/factories/elta_courier_integration.rb
|
|
157
|
+
- lib/spree_elta_courier/version.rb
|
|
158
|
+
- lib/spree_elta_courier/wsdl/CREATEAWB02.wsdl
|
|
159
|
+
- lib/spree_elta_courier/wsdl/ELTACOURIERPOSTSIDETA.wsdl
|
|
160
|
+
- lib/spree_elta_courier/wsdl/GETPUDODETAILS.wsdl
|
|
161
|
+
- lib/spree_elta_courier/wsdl/PELB64VG.wsdl
|
|
162
|
+
- lib/spree_elta_courier/wsdl/PELTT03.wsdl
|
|
163
|
+
homepage: https://github.com/olympusone/spree_elta_courier
|
|
164
|
+
licenses:
|
|
165
|
+
- MIT
|
|
166
|
+
metadata:
|
|
167
|
+
bug_tracker_uri: https://github.com/olympusone/spree_elta_courier/issues
|
|
168
|
+
changelog_uri: https://github.com/olympusone/spree_elta_courier/releases/tag/v1.0.0
|
|
169
|
+
documentation_uri: https://github.com/olympusone/spree_elta_courier
|
|
170
|
+
homepage_uri: https://github.com/olympusone/spree_elta_courier
|
|
171
|
+
source_code_uri: https://github.com/olympusone/spree_elta_courier/tree/v1.0.0
|
|
172
|
+
rdoc_options: []
|
|
173
|
+
require_paths:
|
|
174
|
+
- lib
|
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - ">="
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '3.0'
|
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
|
+
requirements:
|
|
182
|
+
- - ">="
|
|
183
|
+
- !ruby/object:Gem::Version
|
|
184
|
+
version: '0'
|
|
185
|
+
requirements:
|
|
186
|
+
- none
|
|
187
|
+
rubygems_version: 3.6.9
|
|
188
|
+
specification_version: 4
|
|
189
|
+
summary: Spree Commerce Elta Courier Extension
|
|
190
|
+
test_files: []
|