Version Notes
Added productlisting includes image, link and price, too.
Consider table prefix getting subscribers, too.
Download this release
Release Info
Developer | SK |
Extension | Rapidmail_RMConnect |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.3.1
- app/code/local/Rapidmail/RMConnect/Helper/Data.php +11 -0
- app/code/local/Rapidmail/RMConnect/Model/Catalog/Api.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Catalog/Api/V2.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php +2 -2
- app/code/local/Rapidmail/RMConnect/Model/Version/Api.php +18 -0
- app/code/local/Rapidmail/RMConnect/Model/Version/Api/V2.php +36 -0
- app/code/local/Rapidmail/RMConnect/etc/api.xml +21 -1
- app/code/local/Rapidmail/RMConnect/etc/config.xml +7 -1
- app/code/local/Rapidmail/RMConnect/etc/wsdl.xml +192 -150
- app/etc/modules/Rapidmail_RMConnect.xml +1 -1
- package.xml +62 -7
app/code/local/Rapidmail/RMConnect/Helper/Data.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Data Helper Extension
|
5 |
+
*
|
6 |
+
* @category Rapidmail
|
7 |
+
* @package Rapidmail_RMConnect
|
8 |
+
*/
|
9 |
+
class Rapidmail_RMConnect_Helper_Data extends Mage_Core_Helper_Abstract {
|
10 |
+
|
11 |
+
}
|
app/code/local/Rapidmail/RMConnect/Model/Catalog/Api.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Catalog/Api/V2.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php
CHANGED
@@ -21,7 +21,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
-
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM
|
25 |
|
26 |
return (array)$results;
|
27 |
|
@@ -43,7 +43,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
-
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email =
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
+
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber'));
|
25 |
|
26 |
return (array)$results;
|
27 |
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
+
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email = ' . $db->quote($email) . ' LIMIT 1');
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
app/code/local/Rapidmail/RMConnect/Model/Version/Api.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Newsletters subscribers API Extension
|
5 |
+
*
|
6 |
+
* @category Rapidmail
|
7 |
+
* @package Rapidmail_RMConnect
|
8 |
+
*/
|
9 |
+
|
10 |
+
class Rapidmail_RMConnect_Model_Version_Api extends Mage_Api_Model_Resource_Abstract
|
11 |
+
{
|
12 |
+
public function shopVersion()
|
13 |
+
{
|
14 |
+
}
|
15 |
+
|
16 |
+
}
|
17 |
+
|
18 |
+
?>
|
app/code/local/Rapidmail/RMConnect/Model/Version/Api/V2.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Newsletters subscribers API Extension
|
5 |
+
*
|
6 |
+
* @category Rapidmail
|
7 |
+
* @package Rapidmail_RMConnect
|
8 |
+
*/
|
9 |
+
|
10 |
+
class Rapidmail_RMConnect_Model_Version_Api_V2 extends Mage_Api_Model_Resource_Abstract
|
11 |
+
{
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Returns Shop Version
|
15 |
+
*
|
16 |
+
* @return array
|
17 |
+
*/
|
18 |
+
public function shopVersion()
|
19 |
+
{
|
20 |
+
|
21 |
+
$result = array();
|
22 |
+
|
23 |
+
// Get Shop Version
|
24 |
+
|
25 |
+
$result[] = array(
|
26 |
+
'shop_version' => Mage::getVersion(),
|
27 |
+
'shop_edition' => Mage::getEdition(),
|
28 |
+
'extension_version' => (string)Mage::getConfig()->getModuleConfig('Rapidmail_RMConnect')->version
|
29 |
+
);
|
30 |
+
|
31 |
+
return $result;
|
32 |
+
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
?>
|
app/code/local/Rapidmail/RMConnect/etc/api.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Rapidmail_RMConnect>
|
16 |
-
<version>1.
|
17 |
</Rapidmail_RMConnect>
|
18 |
</modules>
|
19 |
<api>
|
@@ -58,15 +58,35 @@
|
|
58 |
</faults>
|
59 |
</rmconnect_catalog>
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</resources>
|
62 |
<resources_alias>
|
63 |
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
64 |
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
|
|
65 |
</resources_alias>
|
66 |
<v2>
|
67 |
<resources_function_prefix>
|
68 |
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
69 |
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
|
|
70 |
</resources_function_prefix>
|
71 |
</v2>
|
72 |
<acl>
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Rapidmail_RMConnect>
|
16 |
+
<version>1.3.1</version>
|
17 |
</Rapidmail_RMConnect>
|
18 |
</modules>
|
19 |
<api>
|
58 |
</faults>
|
59 |
</rmconnect_catalog>
|
60 |
|
61 |
+
<rmconnect_version translate="title" module="rmconnect">
|
62 |
+
<model>rmconnect/version_api</model>
|
63 |
+
<title>shop version API Extension</title>
|
64 |
+
<acl>core</acl>
|
65 |
+
<methods>
|
66 |
+
<shopVersion translate="title" module="rmconnect">
|
67 |
+
<title>Return shop version</title>
|
68 |
+
<method>shopVersion</method>
|
69 |
+
</shopVersion>
|
70 |
+
</methods>
|
71 |
+
<faults module="rmconnect">
|
72 |
+
<store_not_exists>
|
73 |
+
<code>100</code>
|
74 |
+
<message>Requested store view not found.</message>
|
75 |
+
</store_not_exists>
|
76 |
+
</faults>
|
77 |
+
</rmconnect_version>
|
78 |
+
|
79 |
</resources>
|
80 |
<resources_alias>
|
81 |
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
82 |
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
83 |
+
<rmconnect_version>rmconnect_version</rmconnect_version>
|
84 |
</resources_alias>
|
85 |
<v2>
|
86 |
<resources_function_prefix>
|
87 |
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
88 |
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
89 |
+
<rmconnect_version>rmconnectVersion</rmconnect_version>
|
90 |
</resources_function_prefix>
|
91 |
</v2>
|
92 |
<acl>
|
app/code/local/Rapidmail/RMConnect/etc/config.xml
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
<config>
|
15 |
<modules>
|
16 |
<Rapidmail_RMConnect>
|
17 |
-
<version>1.
|
18 |
</Rapidmail_RMConnect>
|
19 |
</modules>
|
20 |
<global>
|
@@ -23,8 +23,14 @@
|
|
23 |
<rewrite>
|
24 |
<newsletter_api_v2>Rapidmail_RMConnect_Model_Newsletter_Api_V2</newsletter_api_v2>
|
25 |
<catalog_api_v2>Rapidmail_RMConnect_Model_Catalog_Api_V2</catalog_api_v2>
|
|
|
26 |
</rewrite>
|
27 |
</rmconnect>
|
28 |
</models>
|
|
|
|
|
|
|
|
|
|
|
29 |
</global>
|
30 |
</config>
|
14 |
<config>
|
15 |
<modules>
|
16 |
<Rapidmail_RMConnect>
|
17 |
+
<version>1.3.1</version>
|
18 |
</Rapidmail_RMConnect>
|
19 |
</modules>
|
20 |
<global>
|
23 |
<rewrite>
|
24 |
<newsletter_api_v2>Rapidmail_RMConnect_Model_Newsletter_Api_V2</newsletter_api_v2>
|
25 |
<catalog_api_v2>Rapidmail_RMConnect_Model_Catalog_Api_V2</catalog_api_v2>
|
26 |
+
<version_api_v2>Rapidmail_RMConnect_Model_Version_Api_V2</version_api_v2>
|
27 |
</rewrite>
|
28 |
</rmconnect>
|
29 |
</models>
|
30 |
+
<helpers>
|
31 |
+
<rmconnect>
|
32 |
+
<class>Rapidmail_RMConnect_Helper</class>
|
33 |
+
</rmconnect>
|
34 |
+
</helpers>
|
35 |
</global>
|
36 |
</config>
|
app/code/local/Rapidmail/RMConnect/etc/wsdl.xml
CHANGED
@@ -1,150 +1,192 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3 |
-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
4 |
-
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
5 |
-
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
6 |
-
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
|
7 |
-
<types>
|
8 |
-
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
|
9 |
-
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
|
10 |
-
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
|
11 |
-
<complexType name="newsletterSubscriberEntity">
|
12 |
-
<all>
|
13 |
-
<element name="subscriber_id" type="xsd:int" minOccurs="0"/>
|
14 |
-
<element name="store_id" type="xsd:int" minOccurs="0"/>
|
15 |
-
<element name="change_status_at" type="xsd:string" minOccurs="0"/>
|
16 |
-
<element name="customer_id" type="xsd:int" minOccurs="0"/>
|
17 |
-
<element name="subscriber_email" type="xsd:string" minOccurs="0"/>
|
18 |
-
<element name="subscriber_status" type="xsd:int" minOccurs="0"/>
|
19 |
-
</all>
|
20 |
-
</complexType>
|
21 |
-
<complexType name="ArrayOfNewsletterSubscriberEntity">
|
22 |
-
<complexContent>
|
23 |
-
<restriction base="soapenc:Array">
|
24 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:newsletterSubscriberEntity[]"/>
|
25 |
-
</restriction>
|
26 |
-
</complexContent>
|
27 |
-
</complexType>
|
28 |
-
|
29 |
-
<complexType name="catalogProductExtEntity">
|
30 |
-
<all>
|
31 |
-
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
32 |
-
<element name="sku" type="xsd:string" minOccurs="0"/>
|
33 |
-
<element name="name" type="xsd:string" minOccurs="0"/>
|
34 |
-
<element name="image" type="xsd:string" minOccurs="0"/>
|
35 |
-
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
36 |
-
<element name="price" type="xsd:double" minOccurs="0"/>
|
37 |
-
<element name="description" type="xsd:string" minOccurs="0"/>
|
38 |
-
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
39 |
-
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
40 |
-
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
41 |
-
</all>
|
42 |
-
</complexType>
|
43 |
-
<complexType name="ArrayOfCatalogProductExtEntity">
|
44 |
-
<complexContent>
|
45 |
-
<restriction base="soapenc:Array">
|
46 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductExtEntity[]"/>
|
47 |
-
</restriction>
|
48 |
-
</complexContent>
|
49 |
-
</complexType>
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
<
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
</
|
84 |
-
|
85 |
-
|
86 |
-
<
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
</
|
98 |
-
|
99 |
-
<portType name="{{var wsdl.handler}}PortType">
|
100 |
-
<operation name="
|
101 |
-
<documentation>
|
102 |
-
<input message="typens:
|
103 |
-
<output message="typens:
|
104 |
-
</operation>
|
105 |
-
</portType>
|
106 |
-
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
107 |
-
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
108 |
-
<operation name="
|
109 |
-
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
110 |
-
<input>
|
111 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
112 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
113 |
-
</input>
|
114 |
-
<output>
|
115 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
116 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
117 |
-
</output>
|
118 |
-
</operation>
|
119 |
-
</binding>
|
120 |
-
|
121 |
-
<portType name="{{var wsdl.handler}}PortType">
|
122 |
-
<operation name="
|
123 |
-
<documentation>
|
124 |
-
<input message="typens:
|
125 |
-
<output message="typens:
|
126 |
-
</operation>
|
127 |
-
</portType>
|
128 |
-
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
129 |
-
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
130 |
-
<operation name="
|
131 |
-
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
132 |
-
<input>
|
133 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
134 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
135 |
-
</input>
|
136 |
-
<output>
|
137 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
138 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
139 |
-
</output>
|
140 |
-
</operation>
|
141 |
-
</binding>
|
142 |
-
|
143 |
-
<
|
144 |
-
<
|
145 |
-
<
|
146 |
-
|
147 |
-
|
148 |
-
</
|
149 |
-
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
3 |
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
4 |
+
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
5 |
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
6 |
+
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
|
7 |
+
<types>
|
8 |
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
|
9 |
+
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
|
10 |
+
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
|
11 |
+
<complexType name="newsletterSubscriberEntity">
|
12 |
+
<all>
|
13 |
+
<element name="subscriber_id" type="xsd:int" minOccurs="0"/>
|
14 |
+
<element name="store_id" type="xsd:int" minOccurs="0"/>
|
15 |
+
<element name="change_status_at" type="xsd:string" minOccurs="0"/>
|
16 |
+
<element name="customer_id" type="xsd:int" minOccurs="0"/>
|
17 |
+
<element name="subscriber_email" type="xsd:string" minOccurs="0"/>
|
18 |
+
<element name="subscriber_status" type="xsd:int" minOccurs="0"/>
|
19 |
+
</all>
|
20 |
+
</complexType>
|
21 |
+
<complexType name="ArrayOfNewsletterSubscriberEntity">
|
22 |
+
<complexContent>
|
23 |
+
<restriction base="soapenc:Array">
|
24 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:newsletterSubscriberEntity[]"/>
|
25 |
+
</restriction>
|
26 |
+
</complexContent>
|
27 |
+
</complexType>
|
28 |
+
|
29 |
+
<complexType name="catalogProductExtEntity">
|
30 |
+
<all>
|
31 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
32 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
33 |
+
<element name="name" type="xsd:string" minOccurs="0"/>
|
34 |
+
<element name="image" type="xsd:string" minOccurs="0"/>
|
35 |
+
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
36 |
+
<element name="price" type="xsd:double" minOccurs="0"/>
|
37 |
+
<element name="description" type="xsd:string" minOccurs="0"/>
|
38 |
+
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
39 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
40 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
41 |
+
</all>
|
42 |
+
</complexType>
|
43 |
+
<complexType name="ArrayOfCatalogProductExtEntity">
|
44 |
+
<complexContent>
|
45 |
+
<restriction base="soapenc:Array">
|
46 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductExtEntity[]"/>
|
47 |
+
</restriction>
|
48 |
+
</complexContent>
|
49 |
+
</complexType>
|
50 |
+
|
51 |
+
<complexType name="shopVersionEntity">
|
52 |
+
<all>
|
53 |
+
<element name="shop_version" type="xsd:string" minOccurs="0"/>
|
54 |
+
<element name="shop_edition" type="xsd:string" minOccurs="0"/>
|
55 |
+
<element name="extension_version" type="xsd:string" minOccurs="0"/>
|
56 |
+
</all>
|
57 |
+
</complexType>
|
58 |
+
<complexType name="ArrayOfShopVersionEntity">
|
59 |
+
<complexContent>
|
60 |
+
<restriction base="soapenc:Array">
|
61 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:shopVersionEntity[]"/>
|
62 |
+
</restriction>
|
63 |
+
</complexContent>
|
64 |
+
</complexType>
|
65 |
+
|
66 |
+
</schema>
|
67 |
+
</types>
|
68 |
+
|
69 |
+
<message name="rmconnectNewsletterSubscriberListRequest">
|
70 |
+
<part name="sessionId" type="xsd:string"/>
|
71 |
+
</message>
|
72 |
+
<message name="rmconnectNewsletterSubscriberListResponse">
|
73 |
+
<part name="result" type="typens:ArrayOfNewsletterSubscriberEntity"/>
|
74 |
+
</message>
|
75 |
+
|
76 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusRequest">
|
77 |
+
<part name="sessionId" type="xsd:string"/>
|
78 |
+
<part name="email" type="xsd:string"/>
|
79 |
+
<part name="status" type="xsd:int"/>
|
80 |
+
</message>
|
81 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusResponse">
|
82 |
+
<part name="result" type="xsd:int"/>
|
83 |
+
</message>
|
84 |
+
|
85 |
+
<message name="rmconnectCatalogProductListRequest">
|
86 |
+
<part name="sessionId" type="xsd:string"/>
|
87 |
+
</message>
|
88 |
+
<message name="rmconnectCatalogProductListResponse">
|
89 |
+
<part name="result" type="typens:ArrayOfCatalogProductExtEntity"/>
|
90 |
+
</message>
|
91 |
+
|
92 |
+
<message name="rmconnectVersionShopVersionRequest">
|
93 |
+
<part name="sessionId" type="xsd:string"/>
|
94 |
+
</message>
|
95 |
+
<message name="rmconnectVersionShopVersionResponse">
|
96 |
+
<part name="result" type="typens:ArrayOfShopVersionEntity"/>
|
97 |
+
</message>
|
98 |
+
|
99 |
+
<portType name="{{var wsdl.handler}}PortType">
|
100 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
101 |
+
<documentation>Returns newsletter subscribers</documentation>
|
102 |
+
<input message="typens:rmconnectNewsletterSubscriberListRequest"/>
|
103 |
+
<output message="typens:rmconnectNewsletterSubscriberListResponse"/>
|
104 |
+
</operation>
|
105 |
+
</portType>
|
106 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
107 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
108 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
109 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
110 |
+
<input>
|
111 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
112 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
113 |
+
</input>
|
114 |
+
<output>
|
115 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
116 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
117 |
+
</output>
|
118 |
+
</operation>
|
119 |
+
</binding>
|
120 |
+
|
121 |
+
<portType name="{{var wsdl.handler}}PortType">
|
122 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
123 |
+
<documentation>Update newsletter subscriber</documentation>
|
124 |
+
<input message="typens:rmconnectNewsletterSubscriberUpdateStatusRequest"/>
|
125 |
+
<output message="typens:rmconnectNewsletterSubscriberUpdateStatusResponse"/>
|
126 |
+
</operation>
|
127 |
+
</portType>
|
128 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
129 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
130 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
131 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
132 |
+
<input>
|
133 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
134 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
135 |
+
</input>
|
136 |
+
<output>
|
137 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
138 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
139 |
+
</output>
|
140 |
+
</operation>
|
141 |
+
</binding>
|
142 |
+
|
143 |
+
<portType name="{{var wsdl.handler}}PortType">
|
144 |
+
<operation name="rmconnectCatalogProductList">
|
145 |
+
<documentation>Returns catalog products</documentation>
|
146 |
+
<input message="typens:rmconnectCatalogProductListRequest"/>
|
147 |
+
<output message="typens:rmconnectCatalogProductListResponse"/>
|
148 |
+
</operation>
|
149 |
+
</portType>
|
150 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
151 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
152 |
+
<operation name="rmconnectCatalogProductList">
|
153 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
154 |
+
<input>
|
155 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
156 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
157 |
+
</input>
|
158 |
+
<output>
|
159 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
160 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
161 |
+
</output>
|
162 |
+
</operation>
|
163 |
+
</binding>
|
164 |
+
|
165 |
+
<portType name="{{var wsdl.handler}}PortType">
|
166 |
+
<operation name="rmconnectVersionShopVersion">
|
167 |
+
<documentation>Returns shop version informations</documentation>
|
168 |
+
<input message="typens:rmconnectVersionShopVersionRequest"/>
|
169 |
+
<output message="typens:rmconnectVersionShopVersionResponse"/>
|
170 |
+
</operation>
|
171 |
+
</portType>
|
172 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
173 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
174 |
+
<operation name="rmconnectVersionShopVersion">
|
175 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
176 |
+
<input>
|
177 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
178 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
179 |
+
</input>
|
180 |
+
<output>
|
181 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
182 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
183 |
+
</output>
|
184 |
+
</operation>
|
185 |
+
</binding>
|
186 |
+
|
187 |
+
<service name="{{var wsdl.name}}Service">
|
188 |
+
<port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
189 |
+
<soap:address location="{{var wsdl.url}}"/>
|
190 |
+
</port>
|
191 |
+
</service>
|
192 |
+
</definitions>
|
app/etc/modules/Rapidmail_RMConnect.xml
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<depends>
|
18 |
<Mage_Api />
|
19 |
</depends>
|
20 |
-
<version>1.
|
21 |
</Rapidmail_RMConnect>
|
22 |
</modules>
|
23 |
</config>
|
17 |
<depends>
|
18 |
<Mage_Api />
|
19 |
</depends>
|
20 |
+
<version>1.3.1</version>
|
21 |
</Rapidmail_RMConnect>
|
22 |
</modules>
|
23 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
-
<version>1.1
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,66 @@
|
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
-
<notes>Added productlisting includes image, link and price, too
|
16 |
-
|
17 |
-
|
18 |
-
<
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<compatible/>
|
21 |
-
<dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
+
<version>1.3.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
+
<notes>Added productlisting includes image, link and price, too.
|
16 |
+

|
17 |
+
Consider table prefix getting subscribers, too.</notes>
|
18 |
+
<authors>
|
19 |
+
<author>
|
20 |
+
<name>SK</name>
|
21 |
+
<user>auto-generated</user>
|
22 |
+
<email>support@rapidmail.de</email>
|
23 |
+
</author>
|
24 |
+
</authors>
|
25 |
+
<date>2014-03-07</date>
|
26 |
+
<time>11:23:49</time>
|
27 |
+
<contents>
|
28 |
+
<target name="magelocal">
|
29 |
+
<dir name="Rapidmail">
|
30 |
+
<dir name="RMConnect">
|
31 |
+
<dir name="Model">
|
32 |
+
<dir name="Catalog">
|
33 |
+
<dir name="Api">
|
34 |
+
<file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/>
|
35 |
+
</dir>
|
36 |
+
<file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/>
|
37 |
+
</dir>
|
38 |
+
<dir name="Newsletter">
|
39 |
+
<dir name="Api">
|
40 |
+
<file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
41 |
+
</dir>
|
42 |
+
<file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/>
|
43 |
+
</dir>
|
44 |
+
<dir name="Version">
|
45 |
+
<dir name="Api">
|
46 |
+
<file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
47 |
+
</dir>
|
48 |
+
<file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/>
|
49 |
+
</dir>
|
50 |
+
</dir>
|
51 |
+
<dir name="Helper">
|
52 |
+
<file name="Data.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
53 |
+
</dir>
|
54 |
+
<dir name="etc">
|
55 |
+
<file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/>
|
56 |
+
<file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/>
|
57 |
+
<file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/>
|
58 |
+
</dir>
|
59 |
+
</dir>
|
60 |
+
</dir>
|
61 |
+
</target>
|
62 |
+
<target name="mageetc">
|
63 |
+
<dir name="modules">
|
64 |
+
<file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/>
|
65 |
+
</dir>
|
66 |
+
</target>
|
67 |
+
</contents>
|
68 |
<compatible/>
|
69 |
+
<dependencies>
|
70 |
+
<required>
|
71 |
+
<php>
|
72 |
+
<min>5.3.0</min>
|
73 |
+
<max>6.0.0.</max>
|
74 |
+
</php>
|
75 |
+
</required>
|
76 |
+
</dependencies>
|
77 |
</package>
|