@dangl/avacloud-client-node 1.54.19-beta0001-avacloud-preview → 1.54.20-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 +16 -6
- package/api.js +3 -0
- package/api.js.map +1 -1
- package/api.ts +19 -6
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -4174,7 +4174,7 @@ export declare class Invoice implements IInvoice {
|
|
|
4174
4174
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
4175
4175
|
payee?: Payee | undefined;
|
|
4176
4176
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
4177
|
-
about the invoice. */
|
|
4177
|
+
about the invoice. Field BG-1 */
|
|
4178
4178
|
invoiceNotes?: InvoiceNote[] | undefined;
|
|
4179
4179
|
/** The period during which the services or goods were delivered */
|
|
4180
4180
|
invoicePeriod?: InvoicePeriod | undefined;
|
|
@@ -4227,7 +4227,7 @@ export interface IInvoice {
|
|
|
4227
4227
|
/** A payee is someone who receives the payment that is different from the seller */
|
|
4228
4228
|
payee?: IPayee | undefined;
|
|
4229
4229
|
/** If present, this is an unstructured text that can be used to give additional information
|
|
4230
|
-
about the invoice. */
|
|
4230
|
+
about the invoice. Field BG-1 */
|
|
4231
4231
|
invoiceNotes?: IInvoiceNote[] | undefined;
|
|
4232
4232
|
/** The period during which the services or goods were delivered */
|
|
4233
4233
|
invoicePeriod?: IInvoicePeriod | undefined;
|
|
@@ -4455,9 +4455,11 @@ or Tax ID */
|
|
|
4455
4455
|
/** Represents a note / text in an invoice */
|
|
4456
4456
|
export declare class InvoiceNote implements IInvoiceNote {
|
|
4457
4457
|
/** Short summary / heading. Should be a text code from this list:
|
|
4458
|
-
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
4458
|
+
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
4459
|
+
Field BT-21 */
|
|
4459
4460
|
shortText?: string | undefined;
|
|
4460
|
-
/** Explanation of this note
|
|
4461
|
+
/** Explanation of this note
|
|
4462
|
+
Field BT-22 */
|
|
4461
4463
|
longText?: string | undefined;
|
|
4462
4464
|
constructor(data?: IInvoiceNote);
|
|
4463
4465
|
init(_data?: any): void;
|
|
@@ -4467,9 +4469,11 @@ https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm */
|
|
|
4467
4469
|
/** Represents a note / text in an invoice */
|
|
4468
4470
|
export interface IInvoiceNote {
|
|
4469
4471
|
/** Short summary / heading. Should be a text code from this list:
|
|
4470
|
-
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
4472
|
+
https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred4451.htm
|
|
4473
|
+
Field BT-21 */
|
|
4471
4474
|
shortText?: string | undefined;
|
|
4472
|
-
/** Explanation of this note
|
|
4475
|
+
/** Explanation of this note
|
|
4476
|
+
Field BT-22 */
|
|
4473
4477
|
longText?: string | undefined;
|
|
4474
4478
|
}
|
|
4475
4479
|
/** Represents an invoice period with start and end dates */
|
|
@@ -5210,6 +5214,9 @@ please pay attention that the charges given here will be applied to the already
|
|
|
5210
5214
|
total price of the ServiceSpecification, in this case the total price of the invoice
|
|
5211
5215
|
might be different from the total price of the ServiceSpecification. */
|
|
5212
5216
|
charges?: InvoiceCharge[] | undefined;
|
|
5217
|
+
/** Information about the delivery
|
|
5218
|
+
BG-13 in XRechnung */
|
|
5219
|
+
deliveryInformation?: DeliveryInformation | undefined;
|
|
5213
5220
|
constructor(data?: IAvaProjectWrapper);
|
|
5214
5221
|
init(_data?: any): void;
|
|
5215
5222
|
static fromJS(data: any): AvaProjectWrapper;
|
|
@@ -5256,6 +5263,9 @@ please pay attention that the charges given here will be applied to the already
|
|
|
5256
5263
|
total price of the ServiceSpecification, in this case the total price of the invoice
|
|
5257
5264
|
might be different from the total price of the ServiceSpecification. */
|
|
5258
5265
|
charges?: IInvoiceCharge[] | undefined;
|
|
5266
|
+
/** Information about the delivery
|
|
5267
|
+
BG-13 in XRechnung */
|
|
5268
|
+
deliveryInformation?: IDeliveryInformation | undefined;
|
|
5259
5269
|
}
|
|
5260
5270
|
export declare class LoginPost implements ILoginPost {
|
|
5261
5271
|
identifier: string;
|
package/api.js
CHANGED
|
@@ -10356,6 +10356,7 @@ class AvaProjectWrapper {
|
|
|
10356
10356
|
this.charges[i] = item && !item.toJSON ? new InvoiceCharge(item) : item;
|
|
10357
10357
|
}
|
|
10358
10358
|
}
|
|
10359
|
+
this.deliveryInformation = data.deliveryInformation && !data.deliveryInformation.toJSON ? new DeliveryInformation(data.deliveryInformation) : this.deliveryInformation;
|
|
10359
10360
|
}
|
|
10360
10361
|
if (!data) {
|
|
10361
10362
|
this.project = new ProjectDto();
|
|
@@ -10393,6 +10394,7 @@ class AvaProjectWrapper {
|
|
|
10393
10394
|
for (let item of _data["charges"])
|
|
10394
10395
|
this.charges.push(InvoiceCharge.fromJS(item));
|
|
10395
10396
|
}
|
|
10397
|
+
this.deliveryInformation = _data["deliveryInformation"] ? DeliveryInformation.fromJS(_data["deliveryInformation"]) : undefined;
|
|
10396
10398
|
}
|
|
10397
10399
|
}
|
|
10398
10400
|
static fromJS(data) {
|
|
@@ -10433,6 +10435,7 @@ class AvaProjectWrapper {
|
|
|
10433
10435
|
for (let item of this.charges)
|
|
10434
10436
|
data["charges"].push(item.toJSON());
|
|
10435
10437
|
}
|
|
10438
|
+
data["deliveryInformation"] = this.deliveryInformation ? this.deliveryInformation.toJSON() : undefined;
|
|
10436
10439
|
return data;
|
|
10437
10440
|
}
|
|
10438
10441
|
}
|