nextemos 4.8.2 → 4.8.4
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.
|
@@ -36,3 +36,21 @@ export declare enum AddressPartType {
|
|
|
36
36
|
CorporationName = "CorporationName",
|
|
37
37
|
MobilePhone = "MobilePhone"
|
|
38
38
|
}
|
|
39
|
+
export declare enum AddressInputTypeIds {
|
|
40
|
+
Data = 1,
|
|
41
|
+
FreeText = 2,
|
|
42
|
+
DataBasedFreeText = 3
|
|
43
|
+
}
|
|
44
|
+
export declare enum AddressInputType {
|
|
45
|
+
Data = "Data",
|
|
46
|
+
FreeText = "FreeText",
|
|
47
|
+
DataBasedFreeText = "DataBasedFreeText"
|
|
48
|
+
}
|
|
49
|
+
export declare enum FieldTypeIds {
|
|
50
|
+
TextBox = 1,
|
|
51
|
+
TextArea = 2
|
|
52
|
+
}
|
|
53
|
+
export declare enum FieldType {
|
|
54
|
+
TextBox = "TextBox",
|
|
55
|
+
TextArea = "TextArea"
|
|
56
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddressPartType = exports.AddressPartTypeId = void 0;
|
|
3
|
+
exports.FieldType = exports.FieldTypeIds = exports.AddressInputType = exports.AddressInputTypeIds = exports.AddressPartType = exports.AddressPartTypeId = void 0;
|
|
4
4
|
var AddressPartTypeId;
|
|
5
5
|
(function (AddressPartTypeId) {
|
|
6
6
|
AddressPartTypeId[AddressPartTypeId["Continent"] = 1] = "Continent";
|
|
@@ -41,3 +41,25 @@ var AddressPartType;
|
|
|
41
41
|
AddressPartType["CorporationName"] = "CorporationName";
|
|
42
42
|
AddressPartType["MobilePhone"] = "MobilePhone";
|
|
43
43
|
})(AddressPartType || (exports.AddressPartType = AddressPartType = {}));
|
|
44
|
+
var AddressInputTypeIds;
|
|
45
|
+
(function (AddressInputTypeIds) {
|
|
46
|
+
AddressInputTypeIds[AddressInputTypeIds["Data"] = 1] = "Data";
|
|
47
|
+
AddressInputTypeIds[AddressInputTypeIds["FreeText"] = 2] = "FreeText";
|
|
48
|
+
AddressInputTypeIds[AddressInputTypeIds["DataBasedFreeText"] = 3] = "DataBasedFreeText";
|
|
49
|
+
})(AddressInputTypeIds || (exports.AddressInputTypeIds = AddressInputTypeIds = {}));
|
|
50
|
+
var AddressInputType;
|
|
51
|
+
(function (AddressInputType) {
|
|
52
|
+
AddressInputType["Data"] = "Data";
|
|
53
|
+
AddressInputType["FreeText"] = "FreeText";
|
|
54
|
+
AddressInputType["DataBasedFreeText"] = "DataBasedFreeText";
|
|
55
|
+
})(AddressInputType || (exports.AddressInputType = AddressInputType = {}));
|
|
56
|
+
var FieldTypeIds;
|
|
57
|
+
(function (FieldTypeIds) {
|
|
58
|
+
FieldTypeIds[FieldTypeIds["TextBox"] = 1] = "TextBox";
|
|
59
|
+
FieldTypeIds[FieldTypeIds["TextArea"] = 2] = "TextArea";
|
|
60
|
+
})(FieldTypeIds || (exports.FieldTypeIds = FieldTypeIds = {}));
|
|
61
|
+
var FieldType;
|
|
62
|
+
(function (FieldType) {
|
|
63
|
+
FieldType["TextBox"] = "TextBox";
|
|
64
|
+
FieldType["TextArea"] = "TextArea";
|
|
65
|
+
})(FieldType || (exports.FieldType = FieldType = {}));
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export * from './httpStatusCode';
|
|
|
3
3
|
export * from './productDocumentTypes';
|
|
4
4
|
export * from './productFlags';
|
|
5
5
|
export * from './scopeTypes';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './address';
|
|
7
7
|
export * from './deviceTypes';
|
|
8
8
|
export * from './cartFlags';
|
|
9
9
|
export * from './paymentProviders';
|
package/dist/enums/index.js
CHANGED
|
@@ -19,7 +19,7 @@ __exportStar(require("./httpStatusCode"), exports);
|
|
|
19
19
|
__exportStar(require("./productDocumentTypes"), exports);
|
|
20
20
|
__exportStar(require("./productFlags"), exports);
|
|
21
21
|
__exportStar(require("./scopeTypes"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./address"), exports);
|
|
23
23
|
__exportStar(require("./deviceTypes"), exports);
|
|
24
24
|
__exportStar(require("./cartFlags"), exports);
|
|
25
25
|
__exportStar(require("./paymentProviders"), exports);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AddressInputType, AddressPartType, FieldType } from "nextemos/enums";
|
|
1
2
|
import { IResponse } from "./response";
|
|
2
3
|
export interface IAddressSourceDataResponse extends IResponse {
|
|
3
4
|
data: IAddressSourceData[];
|
|
@@ -34,10 +35,10 @@ export interface IAddress {
|
|
|
34
35
|
updatedBy: number;
|
|
35
36
|
}
|
|
36
37
|
export interface IAddressPart {
|
|
37
|
-
addressPartTypeId:
|
|
38
|
-
addressPartTypeName?: string;
|
|
38
|
+
addressPartTypeId: string | AddressPartType;
|
|
39
|
+
addressPartTypeName?: string | AddressPartType;
|
|
39
40
|
referenceId?: number;
|
|
40
|
-
inputType?: string;
|
|
41
|
+
inputType?: string | AddressInputType;
|
|
41
42
|
valueText?: string;
|
|
42
43
|
valueId?: number;
|
|
43
44
|
valueIntegrationCode?: string;
|
|
@@ -45,9 +46,9 @@ export interface IAddressPart {
|
|
|
45
46
|
export interface IAddressField {
|
|
46
47
|
id: number;
|
|
47
48
|
name: string;
|
|
48
|
-
addressPartTypeId:
|
|
49
|
-
inputTypeId:
|
|
50
|
-
fieldTypeId:
|
|
49
|
+
addressPartTypeId: string | AddressPartType;
|
|
50
|
+
inputTypeId: string | AddressInputType;
|
|
51
|
+
fieldTypeId: string | FieldType;
|
|
51
52
|
isRequired: boolean;
|
|
52
53
|
order: number;
|
|
53
54
|
tenantId: string;
|