@dangl/avacloud-client-node 1.56.2-avacloud-preview → 1.56.3-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 +10 -2
- package/api.js +10 -0
- package/api.js.map +1 -1
- package/api.ts +20 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -14725,8 +14725,12 @@ export class LineItemInformation implements ILineItemInformation {
|
|
|
14725
14725
|
/** If used together with StandardIdentifier, this is the scheme identifier
|
|
14726
14726
|
for which standard is used. */
|
|
14727
14727
|
standardSchemeId?: string | undefined;
|
|
14728
|
-
/** A list of classification identifiers for the line item */
|
|
14728
|
+
/** A list of classification identifiers for the line item. You can further use ClassificationTypes to specify the scheme identifier for each classification identifier. */
|
|
14729
14729
|
classificationIdentifiers?: string[] | undefined;
|
|
14730
|
+
/** This is used in connection with ClassificationIdentifiers. It is the scheme identifier
|
|
14731
|
+
for each identifier. If this list is used, it should have the same length as ClassificationIdentifiers, with null or empty values used
|
|
14732
|
+
for non-existing scheme identifiers. */
|
|
14733
|
+
classificationTypes?: string[] | undefined;
|
|
14730
14734
|
/** The origin country code according to ISO 3166-1 in 2 letter format */
|
|
14731
14735
|
countryOfOrigin?: string | undefined;
|
|
14732
14736
|
/** Optional additional attributes for this line item */
|
|
@@ -14761,6 +14765,11 @@ for which standard is used. */
|
|
|
14761
14765
|
for (let item of _data["classificationIdentifiers"])
|
|
14762
14766
|
this.classificationIdentifiers!.push(item);
|
|
14763
14767
|
}
|
|
14768
|
+
if (Array.isArray(_data["classificationTypes"])) {
|
|
14769
|
+
this.classificationTypes = [] as any;
|
|
14770
|
+
for (let item of _data["classificationTypes"])
|
|
14771
|
+
this.classificationTypes!.push(item);
|
|
14772
|
+
}
|
|
14764
14773
|
this.countryOfOrigin = _data["countryOfOrigin"];
|
|
14765
14774
|
if (Array.isArray(_data["attributes"])) {
|
|
14766
14775
|
this.attributes = [] as any;
|
|
@@ -14790,6 +14799,11 @@ for which standard is used. */
|
|
|
14790
14799
|
for (let item of this.classificationIdentifiers)
|
|
14791
14800
|
data["classificationIdentifiers"].push(item);
|
|
14792
14801
|
}
|
|
14802
|
+
if (Array.isArray(this.classificationTypes)) {
|
|
14803
|
+
data["classificationTypes"] = [];
|
|
14804
|
+
for (let item of this.classificationTypes)
|
|
14805
|
+
data["classificationTypes"].push(item);
|
|
14806
|
+
}
|
|
14793
14807
|
data["countryOfOrigin"] = this.countryOfOrigin;
|
|
14794
14808
|
if (Array.isArray(this.attributes)) {
|
|
14795
14809
|
data["attributes"] = [];
|
|
@@ -14819,8 +14833,12 @@ export interface ILineItemInformation {
|
|
|
14819
14833
|
/** If used together with StandardIdentifier, this is the scheme identifier
|
|
14820
14834
|
for which standard is used. */
|
|
14821
14835
|
standardSchemeId?: string | undefined;
|
|
14822
|
-
/** A list of classification identifiers for the line item */
|
|
14836
|
+
/** A list of classification identifiers for the line item. You can further use ClassificationTypes to specify the scheme identifier for each classification identifier. */
|
|
14823
14837
|
classificationIdentifiers?: string[] | undefined;
|
|
14838
|
+
/** This is used in connection with ClassificationIdentifiers. It is the scheme identifier
|
|
14839
|
+
for each identifier. If this list is used, it should have the same length as ClassificationIdentifiers, with null or empty values used
|
|
14840
|
+
for non-existing scheme identifiers. */
|
|
14841
|
+
classificationTypes?: string[] | undefined;
|
|
14824
14842
|
/** The origin country code according to ISO 3166-1 in 2 letter format */
|
|
14825
14843
|
countryOfOrigin?: string | undefined;
|
|
14826
14844
|
/** Optional additional attributes for this line item */
|