@dangl/avacloud-client-node 1.57.0-avacloud-preview → 1.57.1-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.ts
CHANGED
|
@@ -11853,6 +11853,8 @@ export class Invoice implements IInvoice {
|
|
|
11853
11853
|
buyer?: Organization | undefined;
|
|
11854
11854
|
/** Information about the seller */
|
|
11855
11855
|
seller?: Organization | undefined;
|
|
11856
|
+
/** Information about the sellers tax representative */
|
|
11857
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
11856
11858
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
11857
11859
|
payee?: Payee | undefined;
|
|
11858
11860
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
@@ -11896,6 +11898,7 @@ BG-13 in XRechnung */
|
|
|
11896
11898
|
}
|
|
11897
11899
|
this.buyer = data.buyer && !(<any>data.buyer).toJSON ? new Organization(data.buyer) : <Organization>this.buyer;
|
|
11898
11900
|
this.seller = data.seller && !(<any>data.seller).toJSON ? new Organization(data.seller) : <Organization>this.seller;
|
|
11901
|
+
this.sellerTaxRepresentative = data.sellerTaxRepresentative && !(<any>data.sellerTaxRepresentative).toJSON ? new Organization(data.sellerTaxRepresentative) : <Organization>this.sellerTaxRepresentative;
|
|
11899
11902
|
this.payee = data.payee && !(<any>data.payee).toJSON ? new Payee(data.payee) : <Payee>this.payee;
|
|
11900
11903
|
if (data.invoiceNotes) {
|
|
11901
11904
|
this.invoiceNotes = [];
|
|
@@ -11962,6 +11965,7 @@ BG-13 in XRechnung */
|
|
|
11962
11965
|
}
|
|
11963
11966
|
this.buyer = _data["buyer"] ? Organization.fromJS(_data["buyer"]) : <any>undefined;
|
|
11964
11967
|
this.seller = _data["seller"] ? Organization.fromJS(_data["seller"]) : <any>undefined;
|
|
11968
|
+
this.sellerTaxRepresentative = _data["sellerTaxRepresentative"] ? Organization.fromJS(_data["sellerTaxRepresentative"]) : <any>undefined;
|
|
11965
11969
|
this.payee = _data["payee"] ? Payee.fromJS(_data["payee"]) : <any>undefined;
|
|
11966
11970
|
if (Array.isArray(_data["invoiceNotes"])) {
|
|
11967
11971
|
this.invoiceNotes = [] as any;
|
|
@@ -12052,6 +12056,15 @@ BG-13 in XRechnung */
|
|
|
12052
12056
|
} else {
|
|
12053
12057
|
data["seller"] = <any>undefined;
|
|
12054
12058
|
}
|
|
12059
|
+
if (this.sellerTaxRepresentative) {
|
|
12060
|
+
if (typeof this.sellerTaxRepresentative.toJSON !== "undefined") {
|
|
12061
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative.toJSON();
|
|
12062
|
+
} else {
|
|
12063
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative;
|
|
12064
|
+
}
|
|
12065
|
+
} else {
|
|
12066
|
+
data["sellerTaxRepresentative"] = <any>undefined;
|
|
12067
|
+
}
|
|
12055
12068
|
if (this.payee) {
|
|
12056
12069
|
if (typeof this.payee.toJSON !== "undefined") {
|
|
12057
12070
|
data["payee"] = this.payee.toJSON();
|
|
@@ -12178,6 +12191,8 @@ export interface IInvoice {
|
|
|
12178
12191
|
buyer?: IOrganization | undefined;
|
|
12179
12192
|
/** Information about the seller */
|
|
12180
12193
|
seller?: IOrganization | undefined;
|
|
12194
|
+
/** Information about the sellers tax representative */
|
|
12195
|
+
sellerTaxRepresentative?: IOrganization | undefined;
|
|
12181
12196
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
12182
12197
|
payee?: IPayee | undefined;
|
|
12183
12198
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
@@ -14948,6 +14963,8 @@ might be different from the total price of the ServiceSpecification. */
|
|
|
14948
14963
|
/** Information about the delivery
|
|
14949
14964
|
BG-13 in XRechnung */
|
|
14950
14965
|
deliveryInformation?: DeliveryInformation | undefined;
|
|
14966
|
+
/** Information about the sellers tax representative. BG-11 in XRechnung */
|
|
14967
|
+
sellerTaxRepresentative?: Organization | undefined;
|
|
14951
14968
|
|
|
14952
14969
|
constructor(data?: IAvaProjectWrapper) {
|
|
14953
14970
|
if (data) {
|
|
@@ -14988,6 +15005,7 @@ BG-13 in XRechnung */
|
|
|
14988
15005
|
}
|
|
14989
15006
|
}
|
|
14990
15007
|
this.deliveryInformation = data.deliveryInformation && !(<any>data.deliveryInformation).toJSON ? new DeliveryInformation(data.deliveryInformation) : <DeliveryInformation>this.deliveryInformation;
|
|
15008
|
+
this.sellerTaxRepresentative = data.sellerTaxRepresentative && !(<any>data.sellerTaxRepresentative).toJSON ? new Organization(data.sellerTaxRepresentative) : <Organization>this.sellerTaxRepresentative;
|
|
14991
15009
|
}
|
|
14992
15010
|
if (!data) {
|
|
14993
15011
|
this.project = new ProjectDto();
|
|
@@ -15027,6 +15045,7 @@ BG-13 in XRechnung */
|
|
|
15027
15045
|
this.charges!.push(InvoiceCharge.fromJS(item));
|
|
15028
15046
|
}
|
|
15029
15047
|
this.deliveryInformation = _data["deliveryInformation"] ? DeliveryInformation.fromJS(_data["deliveryInformation"]) : <any>undefined;
|
|
15048
|
+
this.sellerTaxRepresentative = _data["sellerTaxRepresentative"] ? Organization.fromJS(_data["sellerTaxRepresentative"]) : <any>undefined;
|
|
15030
15049
|
}
|
|
15031
15050
|
}
|
|
15032
15051
|
|
|
@@ -15126,6 +15145,15 @@ BG-13 in XRechnung */
|
|
|
15126
15145
|
} else {
|
|
15127
15146
|
data["deliveryInformation"] = <any>undefined;
|
|
15128
15147
|
}
|
|
15148
|
+
if (this.sellerTaxRepresentative) {
|
|
15149
|
+
if (typeof this.sellerTaxRepresentative.toJSON !== "undefined") {
|
|
15150
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative.toJSON();
|
|
15151
|
+
} else {
|
|
15152
|
+
data["sellerTaxRepresentative"] = this.sellerTaxRepresentative;
|
|
15153
|
+
}
|
|
15154
|
+
} else {
|
|
15155
|
+
data["sellerTaxRepresentative"] = <any>undefined;
|
|
15156
|
+
}
|
|
15129
15157
|
return data;
|
|
15130
15158
|
}
|
|
15131
15159
|
}
|
|
@@ -15174,6 +15202,8 @@ might be different from the total price of the ServiceSpecification. */
|
|
|
15174
15202
|
/** Information about the delivery
|
|
15175
15203
|
BG-13 in XRechnung */
|
|
15176
15204
|
deliveryInformation?: IDeliveryInformation | undefined;
|
|
15205
|
+
/** Information about the sellers tax representative. BG-11 in XRechnung */
|
|
15206
|
+
sellerTaxRepresentative?: IOrganization | undefined;
|
|
15177
15207
|
}
|
|
15178
15208
|
|
|
15179
15209
|
/** The target format for the XRechnung export */
|