@trackunit/iris-app-api 0.0.131 → 0.0.132

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.0.132](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.131...iris-app-api/0.0.132) (2023-11-15)
6
+
5
7
  ## [0.0.131](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.130...iris-app-api/0.0.131) (2023-11-14)
6
8
 
7
9
  ## [0.0.130](https://github.com/Trackunit/manager/compare/iris-app-api/0.0.129...iris-app-api/0.0.130) (2023-11-13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-api",
3
- "version": "0.0.131",
3
+ "version": "0.0.132",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "engines": {
@@ -57,56 +57,58 @@ export interface DropDownFieldDefinition extends AbstractCustomFieldDefinition {
57
57
  */
58
58
  valueReplacements?: Record<string, string>;
59
59
  }
60
- export declare enum UnitUs {
61
- acre = "acre",
62
- foot = "foot",
63
- square_foot = "square_foot",
64
- cubic_foot = "cubic_foot",
65
- gallon_liquid = "gallon_liquid",
66
- inch = "inch",
67
- pound = "pound",
68
- pound_per_hour = "pound_per_hour",
69
- pound_per_second = "pound_per_second",
70
- mile = "mile",
71
- mile_per_hour = "mile_per_hour",
72
- ounce = "ounce",
73
- ton_us = "ton_us",
74
- yard = "yard",
75
- pound_per_square_inch = "pound_per_square_inch"
76
- }
77
- export declare enum UnitSi {
78
- newton = "newton",
79
- pascal = "pascal",
80
- kilopascal = "kilopascal",
81
- watt = "watt",
82
- bar = "bar",
83
- centimetre = "centimetre",
84
- millimetre = "millimetre",
85
- metre = "metre",
86
- kilometre = "kilometre",
87
- gram = "gram",
88
- kilogram = "kilogram",
89
- kilowatt = "kilowatt",
90
- kilowatthour = "kilowatthour",
91
- kilogram_per_hour = "kilogram_per_hour",
92
- kilogram_per_second = "kilogram_per_second",
93
- square_kilometre = "square_kilometre",
94
- kilometre_per_hour = "kilometre_per_hour",
95
- litre = "litre",
96
- square_metre = "square_metre",
97
- cubic_metre = "cubic_metre",
98
- metre_per_second = "metre_per_second",
99
- metre_per_second_squared = "metre_per_second_squared",
100
- ton = "ton",
101
- hectare = "hectare",
102
- hour = "hour"
103
- }
60
+ export declare const UnitUs: {
61
+ readonly acre: "acre";
62
+ readonly foot: "foot";
63
+ readonly square_foot: "square_foot";
64
+ readonly cubic_foot: "cubic_foot";
65
+ readonly gallon_liquid: "gallon_liquid";
66
+ readonly inch: "inch";
67
+ readonly pound: "pound";
68
+ readonly pound_per_hour: "pound_per_hour";
69
+ readonly pound_per_second: "pound_per_second";
70
+ readonly mile: "mile";
71
+ readonly mile_per_hour: "mile_per_hour";
72
+ readonly ounce: "ounce";
73
+ readonly ton_us: "ton_us";
74
+ readonly yard: "yard";
75
+ readonly pound_per_square_inch: "pound_per_square_inch";
76
+ };
77
+ export type UnitUsType = (typeof UnitUs)[keyof typeof UnitUs];
78
+ export declare const UnitSi: {
79
+ readonly newton: "newton";
80
+ readonly pascal: "pascal";
81
+ readonly kilopascal: "kilopascal";
82
+ readonly watt: "watt";
83
+ readonly bar: "bar";
84
+ readonly centimetre: "centimetre";
85
+ readonly millimetre: "millimetre";
86
+ readonly metre: "metre";
87
+ readonly kilometre: "kilometre";
88
+ readonly gram: "gram";
89
+ readonly kilogram: "kilogram";
90
+ readonly kilowatt: "kilowatt";
91
+ readonly kilowatthour: "kilowatthour";
92
+ readonly kilogram_per_hour: "kilogram_per_hour";
93
+ readonly kilogram_per_second: "kilogram_per_second";
94
+ readonly square_kilometre: "square_kilometre";
95
+ readonly kilometre_per_hour: "kilometre_per_hour";
96
+ readonly litre: "litre";
97
+ readonly square_metre: "square_metre";
98
+ readonly cubic_metre: "cubic_metre";
99
+ readonly metre_per_second: "metre_per_second";
100
+ readonly metre_per_second_squared: "metre_per_second_squared";
101
+ readonly ton: "ton";
102
+ readonly hectare: "hectare";
103
+ readonly hour: "hour";
104
+ };
105
+ export type UnitSiType = (typeof UnitSi)[keyof typeof UnitSi];
104
106
  export interface DecimalNumberFieldDefinition extends AbstractCustomFieldDefinition {
105
107
  type: "NUMBER";
106
108
  minimum?: number;
107
109
  maximum?: number;
108
- unitSi?: UnitSi;
109
- unitUs?: UnitUs;
110
+ unitSi?: UnitSiType;
111
+ unitUs?: UnitUsType;
110
112
  isInteger: false;
111
113
  }
112
114
  export interface IntegerNumberFieldDefinition extends AbstractCustomFieldDefinition {
@@ -1,50 +1,48 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UnitSi = exports.UnitUs = void 0;
4
- var UnitUs;
5
- (function (UnitUs) {
6
- UnitUs["acre"] = "acre";
7
- UnitUs["foot"] = "foot";
8
- UnitUs["square_foot"] = "square_foot";
9
- UnitUs["cubic_foot"] = "cubic_foot";
10
- UnitUs["gallon_liquid"] = "gallon_liquid";
11
- UnitUs["inch"] = "inch";
12
- UnitUs["pound"] = "pound";
13
- UnitUs["pound_per_hour"] = "pound_per_hour";
14
- UnitUs["pound_per_second"] = "pound_per_second";
15
- UnitUs["mile"] = "mile";
16
- UnitUs["mile_per_hour"] = "mile_per_hour";
17
- UnitUs["ounce"] = "ounce";
18
- UnitUs["ton_us"] = "ton_us";
19
- UnitUs["yard"] = "yard";
20
- UnitUs["pound_per_square_inch"] = "pound_per_square_inch";
21
- })(UnitUs || (exports.UnitUs = UnitUs = {}));
22
- var UnitSi;
23
- (function (UnitSi) {
24
- UnitSi["newton"] = "newton";
25
- UnitSi["pascal"] = "pascal";
26
- UnitSi["kilopascal"] = "kilopascal";
27
- UnitSi["watt"] = "watt";
28
- UnitSi["bar"] = "bar";
29
- UnitSi["centimetre"] = "centimetre";
30
- UnitSi["millimetre"] = "millimetre";
31
- UnitSi["metre"] = "metre";
32
- UnitSi["kilometre"] = "kilometre";
33
- UnitSi["gram"] = "gram";
34
- UnitSi["kilogram"] = "kilogram";
35
- UnitSi["kilowatt"] = "kilowatt";
36
- UnitSi["kilowatthour"] = "kilowatthour";
37
- UnitSi["kilogram_per_hour"] = "kilogram_per_hour";
38
- UnitSi["kilogram_per_second"] = "kilogram_per_second";
39
- UnitSi["square_kilometre"] = "square_kilometre";
40
- UnitSi["kilometre_per_hour"] = "kilometre_per_hour";
41
- UnitSi["litre"] = "litre";
42
- UnitSi["square_metre"] = "square_metre";
43
- UnitSi["cubic_metre"] = "cubic_metre";
44
- UnitSi["metre_per_second"] = "metre_per_second";
45
- UnitSi["metre_per_second_squared"] = "metre_per_second_squared";
46
- UnitSi["ton"] = "ton";
47
- UnitSi["hectare"] = "hectare";
48
- UnitSi["hour"] = "hour";
49
- })(UnitSi || (exports.UnitSi = UnitSi = {}));
4
+ exports.UnitUs = {
5
+ acre: "acre",
6
+ foot: "foot",
7
+ square_foot: "square_foot",
8
+ cubic_foot: "cubic_foot",
9
+ gallon_liquid: "gallon_liquid",
10
+ inch: "inch",
11
+ pound: "pound",
12
+ pound_per_hour: "pound_per_hour",
13
+ pound_per_second: "pound_per_second",
14
+ mile: "mile",
15
+ mile_per_hour: "mile_per_hour",
16
+ ounce: "ounce",
17
+ ton_us: "ton_us",
18
+ yard: "yard",
19
+ pound_per_square_inch: "pound_per_square_inch",
20
+ };
21
+ exports.UnitSi = {
22
+ newton: "newton",
23
+ pascal: "pascal",
24
+ kilopascal: "kilopascal",
25
+ watt: "watt",
26
+ bar: "bar",
27
+ centimetre: "centimetre",
28
+ millimetre: "millimetre",
29
+ metre: "metre",
30
+ kilometre: "kilometre",
31
+ gram: "gram",
32
+ kilogram: "kilogram",
33
+ kilowatt: "kilowatt",
34
+ kilowatthour: "kilowatthour",
35
+ kilogram_per_hour: "kilogram_per_hour",
36
+ kilogram_per_second: "kilogram_per_second",
37
+ square_kilometre: "square_kilometre",
38
+ kilometre_per_hour: "kilometre_per_hour",
39
+ litre: "litre",
40
+ square_metre: "square_metre",
41
+ cubic_metre: "cubic_metre",
42
+ metre_per_second: "metre_per_second",
43
+ metre_per_second_squared: "metre_per_second_squared",
44
+ ton: "ton",
45
+ hectare: "hectare",
46
+ hour: "hour",
47
+ };
50
48
  //# sourceMappingURL=irisAppCustomFields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"irisAppCustomFields.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/irisAppCustomFields.ts"],"names":[],"mappings":";;;AAmFA,IAAY,MAgBX;AAhBD,WAAY,MAAM;IAChB,uBAAa,CAAA;IACb,uBAAa,CAAA;IACb,qCAA2B,CAAA;IAC3B,mCAAyB,CAAA;IACzB,yCAA+B,CAAA;IAC/B,uBAAa,CAAA;IACb,yBAAe,CAAA;IACf,2CAAiC,CAAA;IACjC,+CAAqC,CAAA;IACrC,uBAAa,CAAA;IACb,yCAA+B,CAAA;IAC/B,yBAAe,CAAA;IACf,2BAAiB,CAAA;IACjB,uBAAa,CAAA;IACb,yDAA+C,CAAA;AACjD,CAAC,EAhBW,MAAM,sBAAN,MAAM,QAgBjB;AAED,IAAY,MA0BX;AA1BD,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACjB,2BAAiB,CAAA;IACjB,mCAAyB,CAAA;IACzB,uBAAa,CAAA;IACb,qBAAW,CAAA;IACX,mCAAyB,CAAA;IACzB,mCAAyB,CAAA;IACzB,yBAAe,CAAA;IACf,iCAAuB,CAAA;IACvB,uBAAa,CAAA;IACb,+BAAqB,CAAA;IACrB,+BAAqB,CAAA;IACrB,uCAA6B,CAAA;IAC7B,iDAAuC,CAAA;IACvC,qDAA2C,CAAA;IAC3C,+CAAqC,CAAA;IACrC,mDAAyC,CAAA;IACzC,yBAAe,CAAA;IACf,uCAA6B,CAAA;IAC7B,qCAA2B,CAAA;IAC3B,+CAAqC,CAAA;IACrC,+DAAqD,CAAA;IACrD,qBAAW,CAAA;IACX,6BAAmB,CAAA;IACnB,uBAAa,CAAA;AACf,CAAC,EA1BW,MAAM,sBAAN,MAAM,QA0BjB","sourcesContent":["export declare type CustomFieldDefinitionType =\n | \"STRING\"\n | \"NUMBER\"\n | \"DATE\"\n | \"BOOLEAN\"\n | \"DROPDOWN\"\n | \"EMAIL\"\n | \"PHONE_NUMBER\"\n | \"WEB_ADDRESS\"\n | \"JSON\"\n | \"MONETARY\";\n\nexport declare type EntityType = \"ASSET\" | \"ACCOUNT\" | \"SITE\" | \"GROUP\";\n\nexport interface AbstractCustomFieldDefinition {\n /**\n * The key is the name you use to get the custom field.\n */\n key: string;\n\n /**\n * The type of the entity to attach this custom field on.\n */\n entityType: EntityType;\n\n /**\n * The human readable translation of the key. So what the end customer will see.\n */\n title: string;\n\n /**\n * Should this be visible in the generic UI in Manager.\n */\n uiVisible?: boolean;\n\n /**\n * Should this be editable in the generic UI in Manager. This does not mean you cannot change it inside a app.\n */\n uiEditable?: boolean;\n\n /**\n * The type of this custom field definition\n */\n type: CustomFieldDefinitionType;\n}\n\nexport interface StringFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"STRING\";\n minimumLength?: number;\n maximumLength?: number;\n pattern?: string;\n}\n\nexport interface EmailFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"EMAIL\";\n}\n\nexport interface WebAddressFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"WEB_ADDRESS\";\n}\n\nexport interface PhoneNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"PHONE_NUMBER\";\n}\nexport interface BooleanFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"BOOLEAN\";\n}\n\nexport interface DateFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"DATE\";\n}\n\nexport interface DropDownFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"DROPDOWN\";\n multiSelect?: boolean;\n allValues?: string[];\n /**\n * Map from old values not in the allValues to new values. Used for updating existing data when changing\n * the drop down options.\n */\n valueReplacements?: Record<string, string>;\n}\n\nexport enum UnitUs {\n acre = \"acre\",\n foot = \"foot\",\n square_foot = \"square_foot\",\n cubic_foot = \"cubic_foot\",\n gallon_liquid = \"gallon_liquid\",\n inch = \"inch\",\n pound = \"pound\",\n pound_per_hour = \"pound_per_hour\",\n pound_per_second = \"pound_per_second\",\n mile = \"mile\",\n mile_per_hour = \"mile_per_hour\",\n ounce = \"ounce\",\n ton_us = \"ton_us\",\n yard = \"yard\",\n pound_per_square_inch = \"pound_per_square_inch\",\n}\n\nexport enum UnitSi {\n newton = \"newton\",\n pascal = \"pascal\",\n kilopascal = \"kilopascal\",\n watt = \"watt\",\n bar = \"bar\",\n centimetre = \"centimetre\",\n millimetre = \"millimetre\",\n metre = \"metre\",\n kilometre = \"kilometre\",\n gram = \"gram\",\n kilogram = \"kilogram\",\n kilowatt = \"kilowatt\",\n kilowatthour = \"kilowatthour\",\n kilogram_per_hour = \"kilogram_per_hour\",\n kilogram_per_second = \"kilogram_per_second\",\n square_kilometre = \"square_kilometre\",\n kilometre_per_hour = \"kilometre_per_hour\",\n litre = \"litre\",\n square_metre = \"square_metre\",\n cubic_metre = \"cubic_metre\",\n metre_per_second = \"metre_per_second\",\n metre_per_second_squared = \"metre_per_second_squared\",\n ton = \"ton\",\n hectare = \"hectare\",\n hour = \"hour\",\n}\n\nexport interface DecimalNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"NUMBER\";\n\n minimum?: number;\n maximum?: number;\n\n unitSi?: UnitSi;\n unitUs?: UnitUs;\n\n isInteger: false;\n}\n\nexport interface IntegerNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"NUMBER\";\n\n minimum?: number;\n maximum?: number;\n\n isInteger: true;\n}\n\nexport type JSONValue = string | number | boolean | null | { [x: string]: JSONValue } | JSONValue[];\n\nexport interface JsonFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"JSON\";\n}\n\nexport interface MonetaryFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"MONETARY\";\n /**\n * The currency of the monetary field definition - ISO 4217 compliant.\n */\n currency: string;\n}\n"]}
1
+ {"version":3,"file":"irisAppCustomFields.js","sourceRoot":"","sources":["../../../../../../libs/iris-app-sdk/iris-app-api/src/types/irisAppCustomFields.ts"],"names":[],"mappings":";;;AAmFa,QAAA,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,cAAc,EAAE,gBAAgB;IAChC,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,qBAAqB,EAAE,uBAAuB;CACtC,CAAC;AAGE,QAAA,MAAM,GAAG;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,YAAY,EAAE,cAAc;IAC5B,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,gBAAgB,EAAE,kBAAkB;IACpC,kBAAkB,EAAE,oBAAoB;IACxC,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,gBAAgB,EAAE,kBAAkB;IACpC,wBAAwB,EAAE,0BAA0B;IACpD,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC","sourcesContent":["export declare type CustomFieldDefinitionType =\n | \"STRING\"\n | \"NUMBER\"\n | \"DATE\"\n | \"BOOLEAN\"\n | \"DROPDOWN\"\n | \"EMAIL\"\n | \"PHONE_NUMBER\"\n | \"WEB_ADDRESS\"\n | \"JSON\"\n | \"MONETARY\";\n\nexport declare type EntityType = \"ASSET\" | \"ACCOUNT\" | \"SITE\" | \"GROUP\";\n\nexport interface AbstractCustomFieldDefinition {\n /**\n * The key is the name you use to get the custom field.\n */\n key: string;\n\n /**\n * The type of the entity to attach this custom field on.\n */\n entityType: EntityType;\n\n /**\n * The human readable translation of the key. So what the end customer will see.\n */\n title: string;\n\n /**\n * Should this be visible in the generic UI in Manager.\n */\n uiVisible?: boolean;\n\n /**\n * Should this be editable in the generic UI in Manager. This does not mean you cannot change it inside a app.\n */\n uiEditable?: boolean;\n\n /**\n * The type of this custom field definition\n */\n type: CustomFieldDefinitionType;\n}\n\nexport interface StringFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"STRING\";\n minimumLength?: number;\n maximumLength?: number;\n pattern?: string;\n}\n\nexport interface EmailFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"EMAIL\";\n}\n\nexport interface WebAddressFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"WEB_ADDRESS\";\n}\n\nexport interface PhoneNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"PHONE_NUMBER\";\n}\nexport interface BooleanFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"BOOLEAN\";\n}\n\nexport interface DateFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"DATE\";\n}\n\nexport interface DropDownFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"DROPDOWN\";\n multiSelect?: boolean;\n allValues?: string[];\n /**\n * Map from old values not in the allValues to new values. Used for updating existing data when changing\n * the drop down options.\n */\n valueReplacements?: Record<string, string>;\n}\n\nexport const UnitUs = {\n acre: \"acre\",\n foot: \"foot\",\n square_foot: \"square_foot\",\n cubic_foot: \"cubic_foot\",\n gallon_liquid: \"gallon_liquid\",\n inch: \"inch\",\n pound: \"pound\",\n pound_per_hour: \"pound_per_hour\",\n pound_per_second: \"pound_per_second\",\n mile: \"mile\",\n mile_per_hour: \"mile_per_hour\",\n ounce: \"ounce\",\n ton_us: \"ton_us\",\n yard: \"yard\",\n pound_per_square_inch: \"pound_per_square_inch\",\n} as const;\nexport type UnitUsType = (typeof UnitUs)[keyof typeof UnitUs];\n\nexport const UnitSi = {\n newton: \"newton\",\n pascal: \"pascal\",\n kilopascal: \"kilopascal\",\n watt: \"watt\",\n bar: \"bar\",\n centimetre: \"centimetre\",\n millimetre: \"millimetre\",\n metre: \"metre\",\n kilometre: \"kilometre\",\n gram: \"gram\",\n kilogram: \"kilogram\",\n kilowatt: \"kilowatt\",\n kilowatthour: \"kilowatthour\",\n kilogram_per_hour: \"kilogram_per_hour\",\n kilogram_per_second: \"kilogram_per_second\",\n square_kilometre: \"square_kilometre\",\n kilometre_per_hour: \"kilometre_per_hour\",\n litre: \"litre\",\n square_metre: \"square_metre\",\n cubic_metre: \"cubic_metre\",\n metre_per_second: \"metre_per_second\",\n metre_per_second_squared: \"metre_per_second_squared\",\n ton: \"ton\",\n hectare: \"hectare\",\n hour: \"hour\",\n} as const;\nexport type UnitSiType = (typeof UnitSi)[keyof typeof UnitSi];\n\nexport interface DecimalNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"NUMBER\";\n\n minimum?: number;\n maximum?: number;\n\n unitSi?: UnitSiType;\n unitUs?: UnitUsType;\n\n isInteger: false;\n}\n\nexport interface IntegerNumberFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"NUMBER\";\n\n minimum?: number;\n maximum?: number;\n\n isInteger: true;\n}\n\nexport type JSONValue = string | number | boolean | null | { [x: string]: JSONValue } | JSONValue[];\n\nexport interface JsonFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"JSON\";\n}\n\nexport interface MonetaryFieldDefinition extends AbstractCustomFieldDefinition {\n type: \"MONETARY\";\n /**\n * The currency of the monetary field definition - ISO 4217 compliant.\n */\n currency: string;\n}\n"]}