@dangl/avacloud-client-node 1.57.0-avacloud-preview → 1.57.1-beta0005-avacloud-preview
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/api.d.ts +8 -0
- package/api.js +26 -0
- package/api.js.map +1 -1
- package/api.ts +30 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -4190,6 +4190,8 @@ export declare class Invoice implements IInvoice {
|
|
|
4190
4190
|
buyer?: Organization | undefined;
|
|
4191
4191
|
/** Information about the seller */
|
|
4192
4192
|
seller?: Organization | undefined;
|
|
4193
|
+
/** Information about the sellers tax representative */
|
|
4194
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
4193
4195
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
4194
4196
|
payee?: Payee | undefined;
|
|
4195
4197
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
@@ -4243,6 +4245,8 @@ export interface IInvoice {
|
|
|
4243
4245
|
buyer?: IOrganization | undefined;
|
|
4244
4246
|
/** Information about the seller */
|
|
4245
4247
|
seller?: IOrganization | undefined;
|
|
4248
|
+
/** Information about the sellers tax representative */
|
|
4249
|
+
sellerTaxRepresentative?: IOrganization | undefined;
|
|
4246
4250
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
4247
4251
|
payee?: IPayee | undefined;
|
|
4248
4252
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
@@ -6036,6 +6040,8 @@ might be different from the total price of the ServiceSpecification. */
|
|
|
6036
6040
|
/** Information about the delivery
|
|
6037
6041
|
BG-13 in XRechnung */
|
|
6038
6042
|
deliveryInformation?: DeliveryInformation | undefined;
|
|
6043
|
+
/** Information about the sellers tax representative. BG-11 in XRechnung */
|
|
6044
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
6039
6045
|
constructor(data?: IAvaProjectWrapper);
|
|
6040
6046
|
init?(_data?: any): void;
|
|
6041
6047
|
static fromJS(data: any): AvaProjectWrapper;
|
|
@@ -6085,6 +6091,8 @@ might be different from the total price of the ServiceSpecification. */
|
|
|
6085
6091
|
/** Information about the delivery
|
|
6086
6092
|
BG-13 in XRechnung */
|
|
6087
6093
|
deliveryInformation?: IDeliveryInformation | undefined;
|
|
6094
|
+
/** Information about the sellers tax representative. BG-11 in XRechnung */
|
|
6095
|
+
sellerTaxRepresentative?: IOrganization | undefined;
|
|
6088
6096
|
}
|
|
6089
6097
|
/** The target format for the XRechnung export */
|
|
6090
6098
|
export declare enum DestinationXRechnungFormat {
|
package/api.js
CHANGED
|
@@ -9763,6 +9763,7 @@ class Invoice {
|
|
|
9763
9763
|
}
|
|
9764
9764
|
this.buyer = data.buyer && !data.buyer.toJSON ? new Organization(data.buyer) : this.buyer;
|
|
9765
9765
|
this.seller = data.seller && !data.seller.toJSON ? new Organization(data.seller) : this.seller;
|
|
9766
|
+
this.sellerTaxRepresentative = data.sellerTaxRepresentative && !data.sellerTaxRepresentative.toJSON ? new Organization(data.sellerTaxRepresentative) : this.sellerTaxRepresentative;
|
|
9766
9767
|
this.payee = data.payee && !data.payee.toJSON ? new Payee(data.payee) : this.payee;
|
|
9767
9768
|
if (data.invoiceNotes) {
|
|
9768
9769
|
this.invoiceNotes = [];
|
|
@@ -9828,6 +9829,7 @@ class Invoice {
|
|
|
9828
9829
|
}
|
|
9829
9830
|
this.buyer = _data["buyer"] ? Organization.fromJS(_data["buyer"]) : undefined;
|
|
9830
9831
|
this.seller = _data["seller"] ? Organization.fromJS(_data["seller"]) : undefined;
|
|
9832
|
+
this.sellerTaxRepresentative = _data["sellerTaxRepresentative"] ? Organization.fromJS(_data["sellerTaxRepresentative"]) : undefined;
|
|
9831
9833
|
this.payee = _data["payee"] ? Payee.fromJS(_data["payee"]) : undefined;
|
|
9832
9834
|
if (Array.isArray(_data["invoiceNotes"])) {
|
|
9833
9835
|
this.invoiceNotes = [];
|
|
@@ -9923,6 +9925,17 @@ class Invoice {
|
|
|
9923
9925
|
else {
|
|
9924
9926
|
data["seller"] = undefined;
|
|
9925
9927
|
}
|
|
9928
|
+
if (this.sellerTaxRepresentative) {
|
|
9929
|
+
if (typeof this.sellerTaxRepresentative.toJSON !== "undefined") {
|
|
9930
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative.toJSON();
|
|
9931
|
+
}
|
|
9932
|
+
else {
|
|
9933
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative;
|
|
9934
|
+
}
|
|
9935
|
+
}
|
|
9936
|
+
else {
|
|
9937
|
+
data["sellerTaxRepresentative"] = undefined;
|
|
9938
|
+
}
|
|
9926
9939
|
if (this.payee) {
|
|
9927
9940
|
if (typeof this.payee.toJSON !== "undefined") {
|
|
9928
9941
|
data["payee"] = this.payee.toJSON();
|
|
@@ -11898,6 +11911,7 @@ class AvaProjectWrapper {
|
|
|
11898
11911
|
}
|
|
11899
11912
|
}
|
|
11900
11913
|
this.deliveryInformation = data.deliveryInformation && !data.deliveryInformation.toJSON ? new DeliveryInformation(data.deliveryInformation) : this.deliveryInformation;
|
|
11914
|
+
this.sellerTaxRepresentative = data.sellerTaxRepresentative && !data.sellerTaxRepresentative.toJSON ? new Organization(data.sellerTaxRepresentative) : this.sellerTaxRepresentative;
|
|
11901
11915
|
}
|
|
11902
11916
|
if (!data) {
|
|
11903
11917
|
this.project = new ProjectDto();
|
|
@@ -11936,6 +11950,7 @@ class AvaProjectWrapper {
|
|
|
11936
11950
|
this.charges.push(InvoiceCharge.fromJS(item));
|
|
11937
11951
|
}
|
|
11938
11952
|
this.deliveryInformation = _data["deliveryInformation"] ? DeliveryInformation.fromJS(_data["deliveryInformation"]) : undefined;
|
|
11953
|
+
this.sellerTaxRepresentative = _data["sellerTaxRepresentative"] ? Organization.fromJS(_data["sellerTaxRepresentative"]) : undefined;
|
|
11939
11954
|
}
|
|
11940
11955
|
}
|
|
11941
11956
|
static fromJS(data) {
|
|
@@ -12047,6 +12062,17 @@ class AvaProjectWrapper {
|
|
|
12047
12062
|
else {
|
|
12048
12063
|
data["deliveryInformation"] = undefined;
|
|
12049
12064
|
}
|
|
12065
|
+
if (this.sellerTaxRepresentative) {
|
|
12066
|
+
if (typeof this.sellerTaxRepresentative.toJSON !== "undefined") {
|
|
12067
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative.toJSON();
|
|
12068
|
+
}
|
|
12069
|
+
else {
|
|
12070
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative;
|
|
12071
|
+
}
|
|
12072
|
+
}
|
|
12073
|
+
else {
|
|
12074
|
+
data["sellerTaxRepresentative"] = undefined;
|
|
12075
|
+
}
|
|
12050
12076
|
return data;
|
|
12051
12077
|
}
|
|
12052
12078
|
}
|