@neo-edi/types 1.0.13 → 1.0.15
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/index.d.mts +34 -1
- package/dist/index.d.ts +34 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -37,10 +37,24 @@ interface SubCustomer {
|
|
|
37
37
|
isActive: boolean;
|
|
38
38
|
createdAt: Date;
|
|
39
39
|
}
|
|
40
|
+
interface SubCustomerIdentifier {
|
|
41
|
+
id: string;
|
|
42
|
+
identifierType: string;
|
|
43
|
+
identifierValue: string;
|
|
44
|
+
qualifier: string | null;
|
|
45
|
+
isPrimary: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface SubCustomerWithIdentifiers extends SubCustomer {
|
|
48
|
+
identifiers: SubCustomerIdentifier[];
|
|
49
|
+
}
|
|
40
50
|
interface SubCustomersResponse {
|
|
41
51
|
parentCustomerId: string;
|
|
42
52
|
subCustomers: SubCustomer[];
|
|
43
53
|
}
|
|
54
|
+
interface SubCustomersWithIdentifiersResponse {
|
|
55
|
+
parentCustomerId: string;
|
|
56
|
+
subCustomers: SubCustomerWithIdentifiers[];
|
|
57
|
+
}
|
|
44
58
|
interface AddSubCustomerRequest {
|
|
45
59
|
childCustomerId: string;
|
|
46
60
|
}
|
|
@@ -51,8 +65,27 @@ interface AddSubCustomerResponse {
|
|
|
51
65
|
created: boolean;
|
|
52
66
|
activated: boolean;
|
|
53
67
|
}
|
|
68
|
+
interface CreateSubCustomerRequest {
|
|
69
|
+
customerName: string;
|
|
70
|
+
accountNumber?: string;
|
|
71
|
+
isActive?: boolean;
|
|
72
|
+
}
|
|
73
|
+
interface CreateSubCustomerIdentifier {
|
|
74
|
+
id: string;
|
|
75
|
+
identifierType: string;
|
|
76
|
+
identifierValue: string;
|
|
77
|
+
}
|
|
78
|
+
interface CreateSubCustomerResponse {
|
|
79
|
+
hierarchyId: string;
|
|
80
|
+
parentCustomerId: string;
|
|
81
|
+
childCustomerId: string;
|
|
82
|
+
childCustomerName: string;
|
|
83
|
+
identifier?: CreateSubCustomerIdentifier;
|
|
84
|
+
created: boolean;
|
|
85
|
+
}
|
|
54
86
|
interface ListSubCustomersParams {
|
|
55
87
|
includeInactive?: boolean;
|
|
88
|
+
includeIdentifiers?: boolean;
|
|
56
89
|
}
|
|
57
90
|
|
|
58
91
|
/**
|
|
@@ -471,4 +504,4 @@ interface ListExecutionsParams {
|
|
|
471
504
|
offset?: number;
|
|
472
505
|
}
|
|
473
506
|
|
|
474
|
-
export type { AddSubCustomerRequest, AddSubCustomerResponse, Address, ApiErrorResponse, ApiResponse, ApiSuccessResponse, CreateCustomerRequest, CreateMappingTemplateRequest, CreatePartnerRequest, CsvAddHeadersStrategy, CsvAddHeadersTransformation, CsvDataTransformationConfig, CsvDataTransformationStep, CsvHeaderDefinition, CsvHeaderMappingCollection, CsvHeaderMappingConfig, CsvHeaderTableEntry, CustomerSubscription, CustomerSubscriptionsResponse, DryRunResult, Edi852DeliverySummary, Edi852Header, Edi852HeaderFilter, Edi852Item, Edi852Location, Edi852Status, EdiCustomer, EdiMappingTemplate, EdiPartner, EdiPartnerCustomer, ExecutionDetail, ExecutionSummary, GetIdentifierMappingsResponse, GetSubscriptionsParams, IdentifierPattern, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SetIdentifierMappingsResponse, SubCustomer, SubCustomersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|
|
507
|
+
export type { AddSubCustomerRequest, AddSubCustomerResponse, Address, ApiErrorResponse, ApiResponse, ApiSuccessResponse, CreateCustomerRequest, CreateMappingTemplateRequest, CreatePartnerRequest, CreateSubCustomerIdentifier, CreateSubCustomerRequest, CreateSubCustomerResponse, CsvAddHeadersStrategy, CsvAddHeadersTransformation, CsvDataTransformationConfig, CsvDataTransformationStep, CsvHeaderDefinition, CsvHeaderMappingCollection, CsvHeaderMappingConfig, CsvHeaderTableEntry, CustomerSubscription, CustomerSubscriptionsResponse, DryRunResult, Edi852DeliverySummary, Edi852Header, Edi852HeaderFilter, Edi852Item, Edi852Location, Edi852Status, EdiCustomer, EdiMappingTemplate, EdiPartner, EdiPartnerCustomer, ExecutionDetail, ExecutionSummary, GetIdentifierMappingsResponse, GetSubscriptionsParams, IdentifierPattern, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SetIdentifierMappingsResponse, SubCustomer, SubCustomerIdentifier, SubCustomerWithIdentifiers, SubCustomersResponse, SubCustomersWithIdentifiersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|
package/dist/index.d.ts
CHANGED
|
@@ -37,10 +37,24 @@ interface SubCustomer {
|
|
|
37
37
|
isActive: boolean;
|
|
38
38
|
createdAt: Date;
|
|
39
39
|
}
|
|
40
|
+
interface SubCustomerIdentifier {
|
|
41
|
+
id: string;
|
|
42
|
+
identifierType: string;
|
|
43
|
+
identifierValue: string;
|
|
44
|
+
qualifier: string | null;
|
|
45
|
+
isPrimary: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface SubCustomerWithIdentifiers extends SubCustomer {
|
|
48
|
+
identifiers: SubCustomerIdentifier[];
|
|
49
|
+
}
|
|
40
50
|
interface SubCustomersResponse {
|
|
41
51
|
parentCustomerId: string;
|
|
42
52
|
subCustomers: SubCustomer[];
|
|
43
53
|
}
|
|
54
|
+
interface SubCustomersWithIdentifiersResponse {
|
|
55
|
+
parentCustomerId: string;
|
|
56
|
+
subCustomers: SubCustomerWithIdentifiers[];
|
|
57
|
+
}
|
|
44
58
|
interface AddSubCustomerRequest {
|
|
45
59
|
childCustomerId: string;
|
|
46
60
|
}
|
|
@@ -51,8 +65,27 @@ interface AddSubCustomerResponse {
|
|
|
51
65
|
created: boolean;
|
|
52
66
|
activated: boolean;
|
|
53
67
|
}
|
|
68
|
+
interface CreateSubCustomerRequest {
|
|
69
|
+
customerName: string;
|
|
70
|
+
accountNumber?: string;
|
|
71
|
+
isActive?: boolean;
|
|
72
|
+
}
|
|
73
|
+
interface CreateSubCustomerIdentifier {
|
|
74
|
+
id: string;
|
|
75
|
+
identifierType: string;
|
|
76
|
+
identifierValue: string;
|
|
77
|
+
}
|
|
78
|
+
interface CreateSubCustomerResponse {
|
|
79
|
+
hierarchyId: string;
|
|
80
|
+
parentCustomerId: string;
|
|
81
|
+
childCustomerId: string;
|
|
82
|
+
childCustomerName: string;
|
|
83
|
+
identifier?: CreateSubCustomerIdentifier;
|
|
84
|
+
created: boolean;
|
|
85
|
+
}
|
|
54
86
|
interface ListSubCustomersParams {
|
|
55
87
|
includeInactive?: boolean;
|
|
88
|
+
includeIdentifiers?: boolean;
|
|
56
89
|
}
|
|
57
90
|
|
|
58
91
|
/**
|
|
@@ -471,4 +504,4 @@ interface ListExecutionsParams {
|
|
|
471
504
|
offset?: number;
|
|
472
505
|
}
|
|
473
506
|
|
|
474
|
-
export type { AddSubCustomerRequest, AddSubCustomerResponse, Address, ApiErrorResponse, ApiResponse, ApiSuccessResponse, CreateCustomerRequest, CreateMappingTemplateRequest, CreatePartnerRequest, CsvAddHeadersStrategy, CsvAddHeadersTransformation, CsvDataTransformationConfig, CsvDataTransformationStep, CsvHeaderDefinition, CsvHeaderMappingCollection, CsvHeaderMappingConfig, CsvHeaderTableEntry, CustomerSubscription, CustomerSubscriptionsResponse, DryRunResult, Edi852DeliverySummary, Edi852Header, Edi852HeaderFilter, Edi852Item, Edi852Location, Edi852Status, EdiCustomer, EdiMappingTemplate, EdiPartner, EdiPartnerCustomer, ExecutionDetail, ExecutionSummary, GetIdentifierMappingsResponse, GetSubscriptionsParams, IdentifierPattern, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SetIdentifierMappingsResponse, SubCustomer, SubCustomersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|
|
507
|
+
export type { AddSubCustomerRequest, AddSubCustomerResponse, Address, ApiErrorResponse, ApiResponse, ApiSuccessResponse, CreateCustomerRequest, CreateMappingTemplateRequest, CreatePartnerRequest, CreateSubCustomerIdentifier, CreateSubCustomerRequest, CreateSubCustomerResponse, CsvAddHeadersStrategy, CsvAddHeadersTransformation, CsvDataTransformationConfig, CsvDataTransformationStep, CsvHeaderDefinition, CsvHeaderMappingCollection, CsvHeaderMappingConfig, CsvHeaderTableEntry, CustomerSubscription, CustomerSubscriptionsResponse, DryRunResult, Edi852DeliverySummary, Edi852Header, Edi852HeaderFilter, Edi852Item, Edi852Location, Edi852Status, EdiCustomer, EdiMappingTemplate, EdiPartner, EdiPartnerCustomer, ExecutionDetail, ExecutionSummary, GetIdentifierMappingsResponse, GetSubscriptionsParams, IdentifierPattern, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SetIdentifierMappingsResponse, SubCustomer, SubCustomerIdentifier, SubCustomerWithIdentifiers, SubCustomersResponse, SubCustomersWithIdentifiersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|