@longvansoftware/storefront-js-client 4.3.4 → 4.3.5
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.
|
@@ -51,6 +51,7 @@ exports.REQUEST_UNPUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
|
|
|
51
51
|
$signType: String
|
|
52
52
|
$includeBuyerTaxCode: Boolean
|
|
53
53
|
$buyerName: String
|
|
54
|
+
$buyerPhone: String
|
|
54
55
|
$buyerTaxCode: String
|
|
55
56
|
$buyerCompany: String
|
|
56
57
|
$buyerAddress: String
|
|
@@ -67,6 +68,7 @@ exports.REQUEST_UNPUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
|
|
|
67
68
|
signType: $signType
|
|
68
69
|
includeBuyerTaxCode: $includeBuyerTaxCode
|
|
69
70
|
buyerName: $buyerName
|
|
71
|
+
buyerPhone: $buyerPhone
|
|
70
72
|
buyerTaxCode: $buyerTaxCode
|
|
71
73
|
buyerCompany: $buyerCompany
|
|
72
74
|
buyerAddress: $buyerAddress
|
|
@@ -94,6 +96,7 @@ exports.REQUEST_PUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
|
|
|
94
96
|
$signType: String
|
|
95
97
|
$includeBuyerTaxCode: Boolean
|
|
96
98
|
$buyerName: String
|
|
99
|
+
$buyerPhone: String
|
|
97
100
|
$buyerTaxCode: String
|
|
98
101
|
$buyerCompany: String
|
|
99
102
|
$buyerAddress: String
|
|
@@ -110,6 +113,7 @@ exports.REQUEST_PUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
|
|
|
110
113
|
signType: $signType
|
|
111
114
|
includeBuyerTaxCode: $includeBuyerTaxCode
|
|
112
115
|
buyerName: $buyerName
|
|
116
|
+
buyerPhone: $buyerPhone
|
|
113
117
|
buyerTaxCode: $buyerTaxCode
|
|
114
118
|
buyerCompany: $buyerCompany
|
|
115
119
|
buyerAddress: $buyerAddress
|
|
@@ -99,7 +99,7 @@ class PaymentService extends serviceSDK_1.Service {
|
|
|
99
99
|
requestUnpublishVatInvoice(VatInvoiceRequest, byUser) {
|
|
100
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
101
|
const mutation = mutations_1.REQUEST_UNPUBLISH_VAT_INVOICE;
|
|
102
|
-
const { sourceId, sourceType, signType, includeBuyerTaxCode, buyerName, buyerTaxCode, buyerCompany, buyerAddress, sendMail, receiverName, receiverEmail, } = VatInvoiceRequest;
|
|
102
|
+
const { sourceId, sourceType, signType, includeBuyerTaxCode, buyerName, buyerPhone, buyerTaxCode, buyerCompany, buyerAddress, sendMail, receiverName, receiverEmail, } = VatInvoiceRequest;
|
|
103
103
|
const variables = {
|
|
104
104
|
partnerId: this.orgId,
|
|
105
105
|
sourceId,
|
|
@@ -107,6 +107,7 @@ class PaymentService extends serviceSDK_1.Service {
|
|
|
107
107
|
signType,
|
|
108
108
|
includeBuyerTaxCode,
|
|
109
109
|
buyerName,
|
|
110
|
+
buyerPhone,
|
|
110
111
|
buyerTaxCode,
|
|
111
112
|
buyerCompany,
|
|
112
113
|
buyerAddress,
|
|
@@ -127,7 +128,7 @@ class PaymentService extends serviceSDK_1.Service {
|
|
|
127
128
|
requestPublishVatInvoice(VatInvoiceRequest, byUser) {
|
|
128
129
|
return __awaiter(this, void 0, void 0, function* () {
|
|
129
130
|
const mutation = mutations_1.REQUEST_PUBLISH_VAT_INVOICE;
|
|
130
|
-
const { sourceId, sourceType, signType, includeBuyerTaxCode, buyerName, buyerTaxCode, buyerCompany, buyerAddress, sendMail, receiverName, receiverEmail, } = VatInvoiceRequest;
|
|
131
|
+
const { sourceId, sourceType, signType, includeBuyerTaxCode, buyerName, buyerPhone, buyerTaxCode, buyerCompany, buyerAddress, sendMail, receiverName, receiverEmail, } = VatInvoiceRequest;
|
|
131
132
|
const variables = {
|
|
132
133
|
partnerId: this.orgId,
|
|
133
134
|
sourceId,
|
|
@@ -135,6 +136,7 @@ class PaymentService extends serviceSDK_1.Service {
|
|
|
135
136
|
signType,
|
|
136
137
|
includeBuyerTaxCode,
|
|
137
138
|
buyerName,
|
|
139
|
+
buyerPhone,
|
|
138
140
|
buyerTaxCode,
|
|
139
141
|
buyerCompany,
|
|
140
142
|
buyerAddress,
|