@neo-edi/types 1.0.11 → 1.0.13
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 +30 -1
- package/dist/index.d.ts +30 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -392,6 +392,35 @@ interface DryRunResult {
|
|
|
392
392
|
preview?: Array<Record<string, unknown>>;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Identifier pattern for mapping incoming identifiers to customers.
|
|
397
|
+
* Used in N8N email automation to route EDI documents.
|
|
398
|
+
*/
|
|
399
|
+
interface IdentifierPattern {
|
|
400
|
+
/** Regex pattern to match against extracted identifier */
|
|
401
|
+
pattern: string;
|
|
402
|
+
/** Customer ID to route to when pattern matches */
|
|
403
|
+
customerId: string;
|
|
404
|
+
/** Priority for pattern matching (lower = higher priority) */
|
|
405
|
+
priority: number;
|
|
406
|
+
/** Optional description of this pattern */
|
|
407
|
+
description?: string;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Response from GET identifier mappings
|
|
411
|
+
*/
|
|
412
|
+
interface GetIdentifierMappingsResponse {
|
|
413
|
+
partnerId: string;
|
|
414
|
+
patterns: IdentifierPattern[];
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Response from SET identifier mappings
|
|
418
|
+
*/
|
|
419
|
+
interface SetIdentifierMappingsResponse {
|
|
420
|
+
partnerId: string;
|
|
421
|
+
patternsCount: number;
|
|
422
|
+
}
|
|
423
|
+
|
|
395
424
|
/**
|
|
396
425
|
* API response wrapper types
|
|
397
426
|
*/
|
|
@@ -442,4 +471,4 @@ interface ListExecutionsParams {
|
|
|
442
471
|
offset?: number;
|
|
443
472
|
}
|
|
444
473
|
|
|
445
|
-
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, GetSubscriptionsParams, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SubCustomer, SubCustomersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -392,6 +392,35 @@ interface DryRunResult {
|
|
|
392
392
|
preview?: Array<Record<string, unknown>>;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Identifier pattern for mapping incoming identifiers to customers.
|
|
397
|
+
* Used in N8N email automation to route EDI documents.
|
|
398
|
+
*/
|
|
399
|
+
interface IdentifierPattern {
|
|
400
|
+
/** Regex pattern to match against extracted identifier */
|
|
401
|
+
pattern: string;
|
|
402
|
+
/** Customer ID to route to when pattern matches */
|
|
403
|
+
customerId: string;
|
|
404
|
+
/** Priority for pattern matching (lower = higher priority) */
|
|
405
|
+
priority: number;
|
|
406
|
+
/** Optional description of this pattern */
|
|
407
|
+
description?: string;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Response from GET identifier mappings
|
|
411
|
+
*/
|
|
412
|
+
interface GetIdentifierMappingsResponse {
|
|
413
|
+
partnerId: string;
|
|
414
|
+
patterns: IdentifierPattern[];
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Response from SET identifier mappings
|
|
418
|
+
*/
|
|
419
|
+
interface SetIdentifierMappingsResponse {
|
|
420
|
+
partnerId: string;
|
|
421
|
+
patternsCount: number;
|
|
422
|
+
}
|
|
423
|
+
|
|
395
424
|
/**
|
|
396
425
|
* API response wrapper types
|
|
397
426
|
*/
|
|
@@ -442,4 +471,4 @@ interface ListExecutionsParams {
|
|
|
442
471
|
offset?: number;
|
|
443
472
|
}
|
|
444
473
|
|
|
445
|
-
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, GetSubscriptionsParams, IngestCsvRequest, IngestCsvResult, ListCustomersParams, ListExecutionsParams, ListMappingTemplatesParams, ListSubCustomersParams, PaginatedData, PaginatedResponse, PartnerCustomerRegistrationResult, RegisterPartnerCustomerRequest, SubCustomer, SubCustomersResponse, UpdateCustomerRequest, UpdateMappingTemplateRequest, UpdatePartnerRequest };
|
|
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 };
|