@ikas/storefront 2.0.30 → 2.0.32
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.
- package/build/_virtual/index.js_commonjs-proxy3.js +1 -1
- package/build/_virtual/index.js_commonjs-proxy4.js +1 -1
- package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +1 -0
- package/build/api/contact-form/index.d.ts +2 -1
- package/build/api/contact-form/index.js +1 -1
- package/build/ikas.js +1 -1
- package/build/models/ui/validator/form/contact-form.js +1 -1
- package/build/scripts/generators/types/index.js +1 -1
- package/build/store/base.js +1 -1
- package/build/store/customer.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from'../ext/split-on-first/index.js';export{default}from"../node_modules/split-on-first/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from'../ext/decode-uri-component/index.js';export{default}from"../node_modules/decode-uri-component/index.js";
|
|
@@ -3,8 +3,9 @@ declare type SaveContactForm = {
|
|
|
3
3
|
lastName: string;
|
|
4
4
|
email: string;
|
|
5
5
|
message: string;
|
|
6
|
+
referer: string;
|
|
6
7
|
};
|
|
7
8
|
export declare class IkasContactFormAPI {
|
|
8
|
-
static sendContactFormToMerchant(input: SaveContactForm): Promise<boolean
|
|
9
|
+
static sendContactFormToMerchant(input: SaveContactForm): Promise<boolean>;
|
|
9
10
|
}
|
|
10
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as
|
|
1
|
+
import{__awaiter as e,__generator as n,__makeTemplateObject as r}from'../../ext/tslib/tslib.es6.js';import t from'../../ext/graphql-tag/src/index.js';import{apollo as a}from"../apollo.js";var s,m=function(){function m(){}return m.sendContactFormToMerchant=function(m){return e(this,void 0,void 0,(function(){var e,o,i,l,c;return n(this,(function(n){switch(n.label){case 0:e=t(s||(s=r(["\n mutation sendContactFormToMerchant(\n $email: String!\n $message: String!\n $firstName: String!\n $lastName: String!\n $referer: String\n ) {\n sendContactFormToMerchant(\n email: $email\n message: $message\n firstName: $firstName\n lastName: $lastName\n referer: $referer\n )\n }\n "],["\n mutation sendContactFormToMerchant(\n $email: String!\n $message: String!\n $firstName: String!\n $lastName: String!\n $referer: String\n ) {\n sendContactFormToMerchant(\n email: $email\n message: $message\n firstName: $firstName\n lastName: $lastName\n referer: $referer\n )\n }\n "]))),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,a.getClient().mutate({mutation:e,variables:{email:m.email,message:m.message,firstName:m.firstName,lastName:m.lastName,referer:m.referer}})];case 2:return o=n.sent(),i=o.data,(l=o.errors)&&l.length?(console.log(l),[2,!1]):[2,(null==i?void 0:i.sendContactFormToMerchant)||!1];case 3:return c=n.sent(),console.log(c),[2,!1];case 4:return[2]}}))}))},m}();export{m as IkasContactFormAPI};
|