@twin.org/standards-unece 0.0.3-next.67 → 0.0.3-next.68
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/dist/es/models/bsp/IUneceBirthAddress.js.map +1 -1
- package/dist/es/models/bsp/IUneceContactPerson.js.map +1 -1
- package/dist/es/models/bsp/IUneceCountry.js.map +1 -1
- package/dist/es/models/bsp/IUneceDocument.js.map +1 -1
- package/dist/es/models/bsp/IUneceFinancialInstitutionAddress.js.map +1 -1
- package/dist/es/models/bsp/IUneceGovernmentRegistration.js.map +1 -1
- package/dist/es/models/bsp/IUneceLanguageProficiency.js.map +1 -1
- package/dist/es/models/bsp/IUneceLegalRegistration.js.map +1 -1
- package/dist/es/models/bsp/IUneceLocation.js.map +1 -1
- package/dist/es/models/bsp/IUneceLocationParty.js.map +1 -1
- package/dist/es/models/bsp/IUneceLogisticsLocation.js.map +1 -1
- package/dist/es/models/bsp/IUnecePaymentTerms.js.map +1 -1
- package/dist/es/models/bsp/IUneceServiceCharge.js.map +1 -1
- package/dist/es/models/bsp/IUneceStowaway.js.map +1 -1
- package/dist/es/models/bsp/IUneceTradeAddress.js.map +1 -1
- package/dist/es/models/bsp/IUneceTradeLocation.js.map +1 -1
- package/dist/es/models/bsp/IUneceTransportPerson.js.map +1 -1
- package/dist/es/schemas/UneceBirthAddress.json +3 -0
- package/dist/es/schemas/UneceContactPerson.json +3 -0
- package/dist/es/schemas/UneceCountry.json +3 -0
- package/dist/es/schemas/UneceDocument.json +3 -0
- package/dist/es/schemas/UneceFinancialInstitutionAddress.json +3 -0
- package/dist/es/schemas/UneceGovernmentRegistration.json +3 -0
- package/dist/es/schemas/UneceLanguageProficiency.json +3 -0
- package/dist/es/schemas/UneceLegalRegistration.json +3 -0
- package/dist/es/schemas/UneceLocation.json +3 -0
- package/dist/es/schemas/UneceLocationParty.json +3 -0
- package/dist/es/schemas/UneceLogisticsLocation.json +3 -0
- package/dist/es/schemas/UnecePaymentTerms.json +3 -0
- package/dist/es/schemas/UneceServiceCharge.json +3 -0
- package/dist/es/schemas/UneceStowaway.json +3 -0
- package/dist/es/schemas/UneceTradeAddress.json +3 -0
- package/dist/es/schemas/UneceTradeLocation.json +3 -0
- package/dist/es/schemas/UneceTransportPerson.json +3 -0
- package/dist/types/models/bsp/IUneceBirthAddress.d.ts +2 -1
- package/dist/types/models/bsp/IUneceContactPerson.d.ts +2 -1
- package/dist/types/models/bsp/IUneceCountry.d.ts +2 -1
- package/dist/types/models/bsp/IUneceDocument.d.ts +2 -1
- package/dist/types/models/bsp/IUneceFinancialInstitutionAddress.d.ts +2 -1
- package/dist/types/models/bsp/IUneceGovernmentRegistration.d.ts +2 -1
- package/dist/types/models/bsp/IUneceLanguageProficiency.d.ts +2 -1
- package/dist/types/models/bsp/IUneceLegalRegistration.d.ts +2 -1
- package/dist/types/models/bsp/IUneceLocation.d.ts +2 -1
- package/dist/types/models/bsp/IUneceLocationParty.d.ts +2 -1
- package/dist/types/models/bsp/IUneceLogisticsLocation.d.ts +2 -1
- package/dist/types/models/bsp/IUnecePaymentTerms.d.ts +2 -1
- package/dist/types/models/bsp/IUneceServiceCharge.d.ts +2 -1
- package/dist/types/models/bsp/IUneceStowaway.d.ts +2 -1
- package/dist/types/models/bsp/IUneceTradeAddress.d.ts +2 -1
- package/dist/types/models/bsp/IUneceTradeLocation.d.ts +2 -1
- package/dist/types/models/bsp/IUneceTransportPerson.d.ts +2 -1
- package/docs/changelog.md +7 -0
- package/docs/reference/interfaces/IUneceBirthAddress.md +1 -1
- package/docs/reference/interfaces/IUneceContactPerson.md +1 -1
- package/docs/reference/interfaces/IUneceCountry.md +1 -1
- package/docs/reference/interfaces/IUneceDocument.md +1 -1
- package/docs/reference/interfaces/IUneceFinancialInstitutionAddress.md +1 -1
- package/docs/reference/interfaces/IUneceGovernmentRegistration.md +1 -1
- package/docs/reference/interfaces/IUneceLanguageProficiency.md +1 -1
- package/docs/reference/interfaces/IUneceLegalRegistration.md +1 -1
- package/docs/reference/interfaces/IUneceLocation.md +1 -1
- package/docs/reference/interfaces/IUneceLocationParty.md +1 -1
- package/docs/reference/interfaces/IUneceLogisticsLocation.md +1 -1
- package/docs/reference/interfaces/IUnecePaymentTerms.md +1 -1
- package/docs/reference/interfaces/IUneceServiceCharge.md +1 -1
- package/docs/reference/interfaces/IUneceStowaway.md +1 -1
- package/docs/reference/interfaces/IUneceTradeAddress.md +1 -1
- package/docs/reference/interfaces/IUneceTradeLocation.md +1 -1
- package/docs/reference/interfaces/IUneceTransportPerson.md +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
2
3
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
3
4
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
4
5
|
/**
|
|
@@ -18,7 +19,7 @@ export interface IUneceBirthAddress {
|
|
|
18
19
|
* The identifier of a country for this birth address.
|
|
19
20
|
* @see https://vocabulary.uncefact.org/birthAddressCountryId
|
|
20
21
|
*/
|
|
21
|
-
birthAddressCountryId?: string | IJsonLdValueObject;
|
|
22
|
+
birthAddressCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
22
23
|
/**
|
|
23
24
|
* The name, expressed as text, of the city, town or village of this birth address.
|
|
24
25
|
* @see https://vocabulary.uncefact.org/cityName
|
|
@@ -4,6 +4,7 @@ import type { IUneceCommunication } from "./IUneceCommunication.js";
|
|
|
4
4
|
import type { IUneceEmployerIdentity } from "./IUneceEmployerIdentity.js";
|
|
5
5
|
import type { IUnecePersonIdentity } from "./IUnecePersonIdentity.js";
|
|
6
6
|
import type { IUneceTaxRegistration } from "./IUneceTaxRegistration.js";
|
|
7
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
7
8
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
8
9
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
9
10
|
/**
|
|
@@ -45,7 +46,7 @@ export interface IUneceContactPerson {
|
|
|
45
46
|
* The identifier of the residence country of this contact person.
|
|
46
47
|
* @see https://vocabulary.uncefact.org/countryResidenceCountryId
|
|
47
48
|
*/
|
|
48
|
-
countryResidenceCountryId?: string | IJsonLdValueObject;
|
|
49
|
+
countryResidenceCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
49
50
|
/**
|
|
50
51
|
* An email Uniform Resource Identifier (URI) communication for this contact person.
|
|
51
52
|
* @see https://vocabulary.uncefact.org/emailURICommunication
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { IUneceCountrySubDivision } from "./IUneceCountrySubDivision.js";
|
|
3
3
|
import type { IUneceQuantityType } from "./IUneceQuantityType.js";
|
|
4
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
4
5
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
5
6
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
6
7
|
/**
|
|
@@ -21,7 +22,7 @@ export interface IUneceCountry {
|
|
|
21
22
|
* A unique identifier for this trade country.
|
|
22
23
|
* @see https://vocabulary.uncefact.org/countryId
|
|
23
24
|
*/
|
|
24
|
-
countryId?: string | IJsonLdValueObject;
|
|
25
|
+
countryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
25
26
|
/**
|
|
26
27
|
* A name, expressed as text, of this trade country.
|
|
27
28
|
* @see https://vocabulary.uncefact.org/name
|
|
@@ -13,6 +13,7 @@ import type { IUneceTradeParty } from "./IUneceTradeParty.js";
|
|
|
13
13
|
import type { UneceCommunicationChannelCodeList } from "../lists/uneceCommunicationChannelCodeList.js";
|
|
14
14
|
import type { UneceDocumentCodeList } from "../lists/uneceDocumentCodeList.js";
|
|
15
15
|
import type { UneceDocumentStatusCodeList } from "../lists/uneceDocumentStatusCodeList.js";
|
|
16
|
+
import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
|
|
16
17
|
import type { UneceLineStatusCodeList } from "../lists/uneceLineStatusCodeList.js";
|
|
17
18
|
import type { UneceMessageFunctionCodeList } from "../lists/uneceMessageFunctionCodeList.js";
|
|
18
19
|
import type { UneceReferenceCodeList } from "../lists/uneceReferenceCodeList.js";
|
|
@@ -113,7 +114,7 @@ export interface IUneceDocument {
|
|
|
113
114
|
* An identifier for a language used in this referenced document.
|
|
114
115
|
* @see https://vocabulary.uncefact.org/documentLanguageId
|
|
115
116
|
*/
|
|
116
|
-
documentLanguageId?: string | IJsonLdValueObject;
|
|
117
|
+
documentLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
|
|
117
118
|
/**
|
|
118
119
|
* The code specifying the status of a line in this referenced document.
|
|
119
120
|
* @see https://vocabulary.uncefact.org/documentLineStatusCode
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
2
3
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
3
4
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
4
5
|
/**
|
|
@@ -34,7 +35,7 @@ export interface IUneceFinancialInstitutionAddress {
|
|
|
34
35
|
* The unique identifier of a country for this financial institution address (Reference ISO 3166 and UN/ECE Rec 3).
|
|
35
36
|
* @see https://vocabulary.uncefact.org/countryId
|
|
36
37
|
*/
|
|
37
|
-
countryId?: string | IJsonLdValueObject;
|
|
38
|
+
countryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
38
39
|
/**
|
|
39
40
|
* The name, expressed as text, of the country within this financial institution address.
|
|
40
41
|
* @see https://vocabulary.uncefact.org/countryName
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { IUneceSpecifiedPeriod } from "./IUneceSpecifiedPeriod.js";
|
|
3
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
3
4
|
import type { UneceGovernmentRegistrationTypeCodeList } from "../typeCodes/uneceGovernmentRegistrationTypeCodeList.js";
|
|
4
5
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
5
6
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -25,7 +26,7 @@ export interface IUneceGovernmentRegistration {
|
|
|
25
26
|
* The identifier of the country for this government registration.
|
|
26
27
|
* @see https://vocabulary.uncefact.org/countryId
|
|
27
28
|
*/
|
|
28
|
-
countryId?: string | IJsonLdValueObject;
|
|
29
|
+
countryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
29
30
|
/**
|
|
30
31
|
* The identifier of the country sub-division for this registration.
|
|
31
32
|
* @see https://vocabulary.uncefact.org/countrySubDivisionId
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
2
|
import type { UneceLanguageCodeList } from "../lists/uneceLanguageCodeList.js";
|
|
3
|
+
import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
|
|
3
4
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
4
5
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
5
6
|
/**
|
|
@@ -30,7 +31,7 @@ export interface IUneceLanguageProficiency {
|
|
|
30
31
|
* The identifier of the language for which this personal language proficiency is defined.
|
|
31
32
|
* @see https://vocabulary.uncefact.org/personalLanguageProficiencyLanguageId
|
|
32
33
|
*/
|
|
33
|
-
personalLanguageProficiencyLanguageId?: string | IJsonLdValueObject;
|
|
34
|
+
personalLanguageProficiencyLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
|
|
34
35
|
/**
|
|
35
36
|
* The code specifying the personal reading proficiency level in this language.
|
|
36
37
|
* @see https://vocabulary.uncefact.org/readingLevelCode
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
2
3
|
import type { UneceLegalRegistrationTypeCodeList } from "../typeCodes/uneceLegalRegistrationTypeCodeList.js";
|
|
3
4
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
4
5
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -24,7 +25,7 @@ export interface IUneceLegalRegistration {
|
|
|
24
25
|
* An identifier of the country in which this legal registration is valid.
|
|
25
26
|
* @see https://vocabulary.uncefact.org/countryId
|
|
26
27
|
*/
|
|
27
|
-
countryId?: string | IJsonLdValueObject;
|
|
28
|
+
countryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
28
29
|
/**
|
|
29
30
|
* A unique identifier of the country sub-division for this legal registration.
|
|
30
31
|
* @see https://vocabulary.uncefact.org/countrySubDivisionId
|
|
@@ -15,6 +15,7 @@ import type { IUneceSustainabilityCharacteristic } from "./IUneceSustainabilityC
|
|
|
15
15
|
import type { IUneceSustainabilityInspection } from "./IUneceSustainabilityInspection.js";
|
|
16
16
|
import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
|
|
17
17
|
import type { IUneceTradeParty } from "./IUneceTradeParty.js";
|
|
18
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
18
19
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
19
20
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
20
21
|
/**
|
|
@@ -95,7 +96,7 @@ export interface IUneceLocation {
|
|
|
95
96
|
* The identifier of the country for this referenced location.
|
|
96
97
|
* @see https://vocabulary.uncefact.org/locationCountryId
|
|
97
98
|
*/
|
|
98
|
-
locationCountryId?: string | IJsonLdValueObject;
|
|
99
|
+
locationCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
99
100
|
/**
|
|
100
101
|
* The code specifying the reference type of this referenced location.
|
|
101
102
|
* @see https://vocabulary.uncefact.org/locationReferenceTypeCode
|
|
@@ -5,6 +5,7 @@ import type { IUneceService } from "./IUneceService.js";
|
|
|
5
5
|
import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
|
|
6
6
|
import type { IUneceTradeContact } from "./IUneceTradeContact.js";
|
|
7
7
|
import type { IUneceTransportPerson } from "./IUneceTransportPerson.js";
|
|
8
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
8
9
|
import type { UneceLocationPartyTypeCodeList } from "../typeCodes/uneceLocationPartyTypeCodeList.js";
|
|
9
10
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
10
11
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -25,7 +26,7 @@ export interface IUneceLocationParty {
|
|
|
25
26
|
* A unique country identifier for this location party.
|
|
26
27
|
* @see https://vocabulary.uncefact.org/countryId
|
|
27
28
|
*/
|
|
28
|
-
countryId?: string | IJsonLdValueObject;
|
|
29
|
+
countryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
29
30
|
/**
|
|
30
31
|
* A trade contact defined for this location party.
|
|
31
32
|
* @see https://vocabulary.uncefact.org/definedContact
|
|
@@ -8,6 +8,7 @@ import type { IUneceSpecifiedPeriod } from "./IUneceSpecifiedPeriod.js";
|
|
|
8
8
|
import type { IUneceSubordinateLocation } from "./IUneceSubordinateLocation.js";
|
|
9
9
|
import type { IUneceSupplyChainEvent } from "./IUneceSupplyChainEvent.js";
|
|
10
10
|
import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
|
|
11
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
11
12
|
import type { UneceLocationFunctionCodeList } from "../lists/uneceLocationFunctionCodeList.js";
|
|
12
13
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
13
14
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -74,7 +75,7 @@ export interface IUneceLogisticsLocation {
|
|
|
74
75
|
* The unique identifier of a country for this logistics location.
|
|
75
76
|
* @see https://vocabulary.uncefact.org/logisticsLocationCountryId
|
|
76
77
|
*/
|
|
77
|
-
logisticsLocationCountryId?: string | IJsonLdValueObject;
|
|
78
|
+
logisticsLocationCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
78
79
|
/**
|
|
79
80
|
* A name, expressed as text, of this logistics related location.
|
|
80
81
|
* @see https://vocabulary.uncefact.org/name
|
|
@@ -5,6 +5,7 @@ import type { IUneceMeasureType } from "./IUneceMeasureType.js";
|
|
|
5
5
|
import type { IUnecePaymentDiscountTerms } from "./IUnecePaymentDiscountTerms.js";
|
|
6
6
|
import type { IUnecePaymentPenaltyTerms } from "./IUnecePaymentPenaltyTerms.js";
|
|
7
7
|
import type { IUneceTradeParty } from "./IUneceTradeParty.js";
|
|
8
|
+
import type { UnecePaymentTermsId } from "../lists/unecePaymentTermsId.js";
|
|
8
9
|
import type { UnecePaymentTermsTypeCodeList } from "../lists/unecePaymentTermsTypeCodeList.js";
|
|
9
10
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
10
11
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -101,7 +102,7 @@ export interface IUnecePaymentTerms {
|
|
|
101
102
|
* The unique identifier of these trade payment terms.
|
|
102
103
|
* @see https://vocabulary.uncefact.org/paymentTermsId
|
|
103
104
|
*/
|
|
104
|
-
paymentTermsId?: string | IJsonLdValueObject;
|
|
105
|
+
paymentTermsId?: UnecePaymentTermsId | string | IJsonLdValueObject;
|
|
105
106
|
/**
|
|
106
107
|
* A code specifying the type of trade payment terms.
|
|
107
108
|
* @see https://vocabulary.uncefact.org/paymentTermsTypeCode
|
|
@@ -11,6 +11,7 @@ import type { IUneceUnitMeasureType } from "./IUneceUnitMeasureType.js";
|
|
|
11
11
|
import type { UneceChargePayingPartyRoleCodeList } from "../lists/uneceChargePayingPartyRoleCodeList.js";
|
|
12
12
|
import type { UneceCurrencyCodeList } from "../lists/uneceCurrencyCodeList.js";
|
|
13
13
|
import type { UneceFreightChargeTariffClassCodeList } from "../lists/uneceFreightChargeTariffClassCodeList.js";
|
|
14
|
+
import type { UneceFreightChargeTypeId } from "../lists/uneceFreightChargeTypeId.js";
|
|
14
15
|
import type { UneceLogisticsChargeCalculationBasisCodeList } from "../lists/uneceLogisticsChargeCalculationBasisCodeList.js";
|
|
15
16
|
import type { UneceTransportServiceCategoryCodeList } from "../lists/uneceTransportServiceCategoryCodeList.js";
|
|
16
17
|
import type { UneceTransportServicePaymentArrangementCodeList } from "../lists/uneceTransportServicePaymentArrangementCodeList.js";
|
|
@@ -114,7 +115,7 @@ export interface IUneceServiceCharge {
|
|
|
114
115
|
* The unique identifier for this logistics service charge.
|
|
115
116
|
* @see https://vocabulary.uncefact.org/freightChargeTypeId
|
|
116
117
|
*/
|
|
117
|
-
freightChargeTypeId?: string | IJsonLdValueObject;
|
|
118
|
+
freightChargeTypeId?: UneceFreightChargeTypeId | string | IJsonLdValueObject;
|
|
118
119
|
/**
|
|
119
120
|
* A code specifying a type of freight invoice of this logistics service charge.
|
|
120
121
|
* @see https://vocabulary.uncefact.org/freightInvoiceTypeCode
|
|
@@ -4,6 +4,7 @@ import type { IUneceLanguageProficiency } from "./IUneceLanguageProficiency.js";
|
|
|
4
4
|
import type { IUneceLogisticsLocation } from "./IUneceLogisticsLocation.js";
|
|
5
5
|
import type { IUneceTradeAddress } from "./IUneceTradeAddress.js";
|
|
6
6
|
import type { IUneceTradeContact } from "./IUneceTradeContact.js";
|
|
7
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
7
8
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
8
9
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
9
10
|
/**
|
|
@@ -34,7 +35,7 @@ export interface IUneceStowaway {
|
|
|
34
35
|
* An identifier of a nationality claimed by this found stowaway.
|
|
35
36
|
* @see https://vocabulary.uncefact.org/countryClaimedNationalityId
|
|
36
37
|
*/
|
|
37
|
-
countryClaimedNationalityId?: string | IJsonLdValueObject;
|
|
38
|
+
countryClaimedNationalityId?: UneceCountryId | string | IJsonLdValueObject;
|
|
38
39
|
/**
|
|
39
40
|
* A date, time, date time, or other date time value on which this found stowaway is discovered.
|
|
40
41
|
* @see https://vocabulary.uncefact.org/discoveredDateTime
|
|
@@ -2,6 +2,7 @@ import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
|
2
2
|
import type { IUneceCountry } from "./IUneceCountry.js";
|
|
3
3
|
import type { IUneceGeographicalCoordinate } from "./IUneceGeographicalCoordinate.js";
|
|
4
4
|
import type { UneceAddressTypeCodeList } from "../lists/uneceAddressTypeCodeList.js";
|
|
5
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
5
6
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
6
7
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
7
8
|
/**
|
|
@@ -164,5 +165,5 @@ export interface IUneceTradeAddress {
|
|
|
164
165
|
* The unique identifier of a country for this trade address.
|
|
165
166
|
* @see https://vocabulary.uncefact.org/tradeAddressCountryId
|
|
166
167
|
*/
|
|
167
|
-
tradeAddressCountryId?: string | IJsonLdValueObject;
|
|
168
|
+
tradeAddressCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
168
169
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { IJsonLdValueObject } from "@twin.org/data-json-ld";
|
|
2
|
+
import type { UneceCountryId } from "../lists/uneceCountryId.js";
|
|
2
3
|
import type { UneceLocationFunctionCodeList } from "../lists/uneceLocationFunctionCodeList.js";
|
|
3
4
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
4
5
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -49,5 +50,5 @@ export interface IUneceTradeLocation {
|
|
|
49
50
|
* The unique identifier of a country location used or referenced in trade.
|
|
50
51
|
* @see https://vocabulary.uncefact.org/tradeLocationCountryId
|
|
51
52
|
*/
|
|
52
|
-
tradeLocationCountryId?: string | IJsonLdValueObject;
|
|
53
|
+
tradeLocationCountryId?: UneceCountryId | string | IJsonLdValueObject;
|
|
53
54
|
}
|
|
@@ -8,6 +8,7 @@ import type { IUneceIllness } from "./IUneceIllness.js";
|
|
|
8
8
|
import type { IUneceLogisticsLocation } from "./IUneceLogisticsLocation.js";
|
|
9
9
|
import type { IUnecePersonalEffects } from "./IUnecePersonalEffects.js";
|
|
10
10
|
import type { IUneceStowaway } from "./IUneceStowaway.js";
|
|
11
|
+
import type { UneceLanguageId } from "../lists/uneceLanguageId.js";
|
|
11
12
|
import type { UnecePartyRoleCodeList } from "../lists/unecePartyRoleCodeList.js";
|
|
12
13
|
import type { UneceContextType } from "../uneceContextType.js";
|
|
13
14
|
import type { UneceTypes } from "../uneceTypes.js";
|
|
@@ -171,7 +172,7 @@ export interface IUneceTransportPerson {
|
|
|
171
172
|
* A unique identifier of a language related to this transport person, such as their spoken or correspondence language.
|
|
172
173
|
* @see https://vocabulary.uncefact.org/transportPersonLanguageId
|
|
173
174
|
*/
|
|
174
|
-
transportPersonLanguageId?: string | IJsonLdValueObject;
|
|
175
|
+
transportPersonLanguageId?: UneceLanguageId | string | IJsonLdValueObject;
|
|
175
176
|
/**
|
|
176
177
|
* The name or set of names, expressed as text, by which this transport person is known.
|
|
177
178
|
* @see https://vocabulary.uncefact.org/transportPersonName
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.68](https://github.com/iotaledger/twin-standards/compare/standards-unece-v0.0.3-next.67...standards-unece-v0.0.3-next.68) (2026-06-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* use id types in id unions ([8256206](https://github.com/iotaledger/twin-standards/commit/8256206deb3b276e5d75f91e50941d0f01c5ee9c))
|
|
9
|
+
|
|
3
10
|
## [0.0.3-next.67](https://github.com/iotaledger/twin-standards/compare/standards-unece-v0.0.3-next.66...standards-unece-v0.0.3-next.67) (2026-06-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -26,7 +26,7 @@ JSON-LD Type.
|
|
|
26
26
|
|
|
27
27
|
### birthAddressCountryId? {#birthaddresscountryid}
|
|
28
28
|
|
|
29
|
-
> `optional` **birthAddressCountryId?**: `string` \| `
|
|
29
|
+
> `optional` **birthAddressCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
30
30
|
|
|
31
31
|
The identifier of a country for this birth address.
|
|
32
32
|
|
|
@@ -75,7 +75,7 @@ https://vocabulary.uncefact.org/contactPersonTitleCode
|
|
|
75
75
|
|
|
76
76
|
### countryResidenceCountryId? {#countryresidencecountryid}
|
|
77
77
|
|
|
78
|
-
> `optional` **countryResidenceCountryId?**: `string` \| `
|
|
78
|
+
> `optional` **countryResidenceCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
79
79
|
|
|
80
80
|
The identifier of the residence country of this contact person.
|
|
81
81
|
|
|
@@ -27,7 +27,7 @@ JSON-LD Type.
|
|
|
27
27
|
|
|
28
28
|
### countryId? {#countryid}
|
|
29
29
|
|
|
30
|
-
> `optional` **countryId?**: `string` \| `
|
|
30
|
+
> `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
31
31
|
|
|
32
32
|
A unique identifier for this trade country.
|
|
33
33
|
|
|
@@ -206,7 +206,7 @@ https://vocabulary.uncefact.org/documentAmendmentPurposeCode
|
|
|
206
206
|
|
|
207
207
|
### documentLanguageId? {#documentlanguageid}
|
|
208
208
|
|
|
209
|
-
> `optional` **documentLanguageId?**: `string` \| `
|
|
209
|
+
> `optional` **documentLanguageId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
210
210
|
|
|
211
211
|
An identifier for a language used in this referenced document.
|
|
212
212
|
|
|
@@ -63,7 +63,7 @@ https://vocabulary.uncefact.org/cityName
|
|
|
63
63
|
|
|
64
64
|
### countryId? {#countryid}
|
|
65
65
|
|
|
66
|
-
> `optional` **countryId?**: `string` \| `
|
|
66
|
+
> `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
67
67
|
|
|
68
68
|
The unique identifier of a country for this financial institution address (Reference ISO 3166 and UN/ECE Rec 3).
|
|
69
69
|
|
|
@@ -38,7 +38,7 @@ https://vocabulary.uncefact.org/categoryCode
|
|
|
38
38
|
|
|
39
39
|
### countryId? {#countryid}
|
|
40
40
|
|
|
41
|
-
> `optional` **countryId?**: `string` \| `
|
|
41
|
+
> `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
42
42
|
|
|
43
43
|
The identifier of the country for this government registration.
|
|
44
44
|
|
|
@@ -51,7 +51,7 @@ https://vocabulary.uncefact.org/personalLanguageProficiencyLanguageCode
|
|
|
51
51
|
|
|
52
52
|
### personalLanguageProficiencyLanguageId? {#personallanguageproficiencylanguageid}
|
|
53
53
|
|
|
54
|
-
> `optional` **personalLanguageProficiencyLanguageId?**: `string` \| `
|
|
54
|
+
> `optional` **personalLanguageProficiencyLanguageId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
55
55
|
|
|
56
56
|
The identifier of the language for which this personal language proficiency is defined.
|
|
57
57
|
|
|
@@ -38,7 +38,7 @@ https://vocabulary.uncefact.org/categoryCode
|
|
|
38
38
|
|
|
39
39
|
### countryId? {#countryid}
|
|
40
40
|
|
|
41
|
-
> `optional` **countryId?**: `string` \| `
|
|
41
|
+
> `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
42
42
|
|
|
43
43
|
An identifier of the country in which this legal registration is valid.
|
|
44
44
|
|
|
@@ -171,7 +171,7 @@ https://vocabulary.uncefact.org/includedPolygon
|
|
|
171
171
|
|
|
172
172
|
### locationCountryId? {#locationcountryid}
|
|
173
173
|
|
|
174
|
-
> `optional` **locationCountryId?**: `string` \| `
|
|
174
|
+
> `optional` **locationCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
175
175
|
|
|
176
176
|
The identifier of the country for this referenced location.
|
|
177
177
|
|
|
@@ -26,7 +26,7 @@ JSON-LD Type.
|
|
|
26
26
|
|
|
27
27
|
### countryId? {#countryid}
|
|
28
28
|
|
|
29
|
-
> `optional` **countryId?**: `string` \| `
|
|
29
|
+
> `optional` **countryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
30
30
|
|
|
31
31
|
A unique country identifier for this location party.
|
|
32
32
|
|
|
@@ -135,7 +135,7 @@ https://vocabulary.uncefact.org/locationFunctionTypeCode
|
|
|
135
135
|
|
|
136
136
|
### logisticsLocationCountryId? {#logisticslocationcountryid}
|
|
137
137
|
|
|
138
|
-
> `optional` **logisticsLocationCountryId?**: `string` \| `
|
|
138
|
+
> `optional` **logisticsLocationCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
139
139
|
|
|
140
140
|
The unique identifier of a country for this logistics location.
|
|
141
141
|
|
|
@@ -198,7 +198,7 @@ https://vocabulary.uncefact.org/paymentTermsEventTimeReferenceFromEventCode
|
|
|
198
198
|
|
|
199
199
|
### paymentTermsId? {#paymenttermsid}
|
|
200
200
|
|
|
201
|
-
> `optional` **paymentTermsId?**: `string` \| `
|
|
201
|
+
> `optional` **paymentTermsId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
202
202
|
|
|
203
203
|
The unique identifier of these trade payment terms.
|
|
204
204
|
|
|
@@ -219,7 +219,7 @@ https://vocabulary.uncefact.org/freightChargeTariffClassCode
|
|
|
219
219
|
|
|
220
220
|
### freightChargeTypeId? {#freightchargetypeid}
|
|
221
221
|
|
|
222
|
-
> `optional` **freightChargeTypeId?**: `string` \| `
|
|
222
|
+
> `optional` **freightChargeTypeId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
223
223
|
|
|
224
224
|
The unique identifier for this logistics service charge.
|
|
225
225
|
|
|
@@ -51,7 +51,7 @@ https://vocabulary.uncefact.org/claimedLanguageProficiency
|
|
|
51
51
|
|
|
52
52
|
### countryClaimedNationalityId? {#countryclaimednationalityid}
|
|
53
53
|
|
|
54
|
-
> `optional` **countryClaimedNationalityId?**: `string` \| `
|
|
54
|
+
> `optional` **countryClaimedNationalityId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
55
55
|
|
|
56
56
|
An identifier of a nationality claimed by this found stowaway.
|
|
57
57
|
|
|
@@ -365,7 +365,7 @@ https://vocabulary.uncefact.org/streetName
|
|
|
365
365
|
|
|
366
366
|
### tradeAddressCountryId? {#tradeaddresscountryid}
|
|
367
367
|
|
|
368
|
-
> `optional` **tradeAddressCountryId?**: `string` \| `
|
|
368
|
+
> `optional` **tradeAddressCountryId?**: `string` \| `object` & `object` \| `object` & `object` \| `object` & `object`
|
|
369
369
|
|
|
370
370
|
The unique identifier of a country for this trade address.
|
|
371
371
|
|