@bisondesk/core-sdk 1.0.17 → 1.0.19
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/lib/types/crm.d.ts +2 -2
- package/lib/types/crm.d.ts.map +1 -1
- package/lib/types/interests.d.ts +6 -17
- package/lib/types/interests.d.ts.map +1 -1
- package/lib/types/picklists.d.ts +6 -4
- package/lib/types/picklists.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/types/crm.ts +2 -2
- package/src/types/interests.ts +6 -5
- package/src/types/picklists.ts +6 -4
- package/tsconfig.tsbuildinfo +6 -6
package/lib/types/crm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PhoneNumberValue } from './fields';
|
|
2
|
-
import {
|
|
2
|
+
import { Interest } from './interests';
|
|
3
3
|
export declare type Organization = {
|
|
4
4
|
countryCode: string;
|
|
5
5
|
createdAt: string;
|
|
@@ -43,6 +43,6 @@ export declare type LeadContact = {
|
|
|
43
43
|
};
|
|
44
44
|
export declare type Lead = {
|
|
45
45
|
contact: LeadContact;
|
|
46
|
-
interests:
|
|
46
|
+
interests: Interest[];
|
|
47
47
|
};
|
|
48
48
|
//# sourceMappingURL=crm.d.ts.map
|
package/lib/types/crm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crm.d.ts","sourceRoot":"","sources":["../../src/types/crm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"crm.d.ts","sourceRoot":"","sources":["../../src/types/crm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,oBAAY,YAAY,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,C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AAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC"}
|
package/lib/types/interests.d.ts
CHANGED
|
@@ -1,32 +1,21 @@
|
|
|
1
|
-
export declare type
|
|
1
|
+
export declare type Interest = {
|
|
2
2
|
adr?: boolean;
|
|
3
|
-
|
|
4
|
-
min: number;
|
|
5
|
-
max: number;
|
|
6
|
-
};
|
|
3
|
+
age?: number;
|
|
7
4
|
axleConfigurations?: string[];
|
|
8
5
|
bodywork?: string;
|
|
9
6
|
category: string;
|
|
10
7
|
crane?: boolean;
|
|
11
8
|
damaged?: boolean;
|
|
12
|
-
|
|
13
|
-
min: number;
|
|
14
|
-
max: number;
|
|
15
|
-
};
|
|
9
|
+
eurnorm?: string;
|
|
16
10
|
horsepowerRange?: {
|
|
17
11
|
min: number;
|
|
18
12
|
max: number;
|
|
19
13
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
max: number;
|
|
23
|
-
};
|
|
14
|
+
isNew?: boolean;
|
|
15
|
+
kilometers?: number;
|
|
24
16
|
makes?: string[];
|
|
25
17
|
models?: string[];
|
|
26
|
-
|
|
27
|
-
min: number;
|
|
28
|
-
max: number;
|
|
29
|
-
};
|
|
18
|
+
price?: number;
|
|
30
19
|
retarderIntarder?: boolean;
|
|
31
20
|
suspensions?: string[];
|
|
32
21
|
tailgate?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interests.d.ts","sourceRoot":"","sources":["../../src/types/interests.ts"],"names":[],"mappings":"AAAA,oBAAY,
|
|
1
|
+
{"version":3,"file":"interests.d.ts","sourceRoot":"","sources":["../../src/types/interests.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ,GAAG;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
package/lib/types/picklists.d.ts
CHANGED
|
@@ -7,10 +7,7 @@ export declare type NewPicklistValue = {
|
|
|
7
7
|
color?: string;
|
|
8
8
|
sortPriority?: number;
|
|
9
9
|
titles: MultiLangValue;
|
|
10
|
-
dependency?:
|
|
11
|
-
fieldId: string;
|
|
12
|
-
values: string[];
|
|
13
|
-
};
|
|
10
|
+
dependency?: PicklistValueDependency;
|
|
14
11
|
};
|
|
15
12
|
export declare type PicklistValue = NewPicklistValue & {
|
|
16
13
|
id: string;
|
|
@@ -40,6 +37,7 @@ export declare type AdHocPicklistValueDisplay = {
|
|
|
40
37
|
};
|
|
41
38
|
export declare type PicklistOptionsRequest = {
|
|
42
39
|
picklistId: string;
|
|
40
|
+
dependencies?: PicklistValueDependency[];
|
|
43
41
|
lang: string;
|
|
44
42
|
};
|
|
45
43
|
export declare type QuickAddPicklistValue = {
|
|
@@ -61,4 +59,8 @@ export declare type PicklistInfo = BasePicklist & {
|
|
|
61
59
|
count: number;
|
|
62
60
|
modifiedAt: string;
|
|
63
61
|
};
|
|
62
|
+
export declare type PicklistValueDependency = {
|
|
63
|
+
picklistId: string;
|
|
64
|
+
values: string[];
|
|
65
|
+
};
|
|
64
66
|
//# sourceMappingURL=picklists.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picklists.d.ts","sourceRoot":"","sources":["../../src/types/picklists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAKlE,oBAAY,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,aAAa,GAAG,gBAAgB,CAAC;CACzC,CAAC;AACF,oBAAY,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"picklists.d.ts","sourceRoot":"","sources":["../../src/types/picklists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAKlE,oBAAY,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,aAAa,GAAG,gBAAgB,CAAC;CACzC,CAAC;AACF,oBAAY,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,CAAC,EAAE,uBAAuB,CAAC;CACtC,CAAC;AACF,oBAAY,aAAa,GAAG,gBAAgB,GAAG;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,oBAAY,wBAAwB,GAAG;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,oBAAY,oBAAoB,GAAG;IACjC,UAAU,EA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ondesk/core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf build dist lib *.tsbuildinfo",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Ivo Anastácio",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@bisondesk/commons-sdk": "^1.0.
|
|
14
|
+
"@bisondesk/commons-sdk": "^1.0.19",
|
|
15
15
|
"joi": "17.4.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
package/src/types/crm.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PhoneNumberValue } from './fields';
|
|
2
|
-
import {
|
|
2
|
+
import { Interest } from './interests';
|
|
3
3
|
|
|
4
4
|
export type Organization = {
|
|
5
5
|
countryCode: string;
|
|
@@ -49,5 +49,5 @@ export type LeadContact = {
|
|
|
49
49
|
|
|
50
50
|
export type Lead = {
|
|
51
51
|
contact: LeadContact;
|
|
52
|
-
interests:
|
|
52
|
+
interests: Interest[];
|
|
53
53
|
};
|
package/src/types/interests.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type Interest = {
|
|
2
2
|
adr?: boolean;
|
|
3
|
-
|
|
3
|
+
age?: number;
|
|
4
4
|
axleConfigurations?: string[];
|
|
5
5
|
bodywork?: string;
|
|
6
6
|
category: string;
|
|
7
7
|
crane?: boolean;
|
|
8
8
|
damaged?: boolean;
|
|
9
|
-
|
|
9
|
+
eurnorm?: string;
|
|
10
10
|
horsepowerRange?: { min: number; max: number };
|
|
11
|
-
|
|
11
|
+
isNew?: boolean;
|
|
12
|
+
kilometers?: number;
|
|
12
13
|
makes?: string[];
|
|
13
14
|
models?: string[];
|
|
14
|
-
|
|
15
|
+
price?: number;
|
|
15
16
|
retarderIntarder?: boolean;
|
|
16
17
|
suspensions?: string[];
|
|
17
18
|
tailgate?: boolean;
|
package/src/types/picklists.ts
CHANGED
|
@@ -11,10 +11,7 @@ export type NewPicklistValue = {
|
|
|
11
11
|
color?: string;
|
|
12
12
|
sortPriority?: number;
|
|
13
13
|
titles: MultiLangValue;
|
|
14
|
-
dependency?:
|
|
15
|
-
fieldId: string;
|
|
16
|
-
values: string[];
|
|
17
|
-
};
|
|
14
|
+
dependency?: PicklistValueDependency;
|
|
18
15
|
};
|
|
19
16
|
export type PicklistValue = NewPicklistValue & {
|
|
20
17
|
id: string;
|
|
@@ -44,6 +41,7 @@ export type AdHocPicklistValueDisplay = {
|
|
|
44
41
|
};
|
|
45
42
|
export type PicklistOptionsRequest = {
|
|
46
43
|
picklistId: string;
|
|
44
|
+
dependencies?: PicklistValueDependency[];
|
|
47
45
|
lang: string;
|
|
48
46
|
};
|
|
49
47
|
export type QuickAddPicklistValue = {
|
|
@@ -65,3 +63,7 @@ export type PicklistInfo = BasePicklist & {
|
|
|
65
63
|
count: number;
|
|
66
64
|
modifiedAt: string;
|
|
67
65
|
};
|
|
66
|
+
export type PicklistValueDependency = {
|
|
67
|
+
picklistId: string;
|
|
68
|
+
values: string[];
|
|
69
|
+
};
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -232,13 +232,13 @@
|
|
|
232
232
|
"affectsGlobalScope": false
|
|
233
233
|
},
|
|
234
234
|
"./src/types/interests.ts": {
|
|
235
|
-
"version": "
|
|
236
|
-
"signature": "
|
|
235
|
+
"version": "e97247467657463e8e03c68b5837f1eaeec8ae49aede5f3de7c931c44b3a8c7a",
|
|
236
|
+
"signature": "bfcb6ecf7fd46502d3b6b7f20520cce22c1c1cd4decb2642c5cb747967e5355d",
|
|
237
237
|
"affectsGlobalScope": false
|
|
238
238
|
},
|
|
239
239
|
"./src/types/crm.ts": {
|
|
240
|
-
"version": "
|
|
241
|
-
"signature": "
|
|
240
|
+
"version": "aac0f3b381def8fb9e90d7a5d9eb917824ceb779266f4a0c43063525cac9a396",
|
|
241
|
+
"signature": "2608b72ebfd53154b4926f99af22a8ea776658c1adbbf3583803e762c4c65119",
|
|
242
242
|
"affectsGlobalScope": false
|
|
243
243
|
},
|
|
244
244
|
"./src/types/search.ts": {
|
|
@@ -257,8 +257,8 @@
|
|
|
257
257
|
"affectsGlobalScope": false
|
|
258
258
|
},
|
|
259
259
|
"./src/types/picklists.ts": {
|
|
260
|
-
"version": "
|
|
261
|
-
"signature": "
|
|
260
|
+
"version": "8eaf2e2385ef63e1eaebec5359df54120bc05459bcc8d1967b2467ac25d6478a",
|
|
261
|
+
"signature": "b489153b83dc8d84f3c382c297a7d52d3c7dcfad31ac1d21a5b2e76f58ffbb28",
|
|
262
262
|
"affectsGlobalScope": false
|
|
263
263
|
},
|
|
264
264
|
"./src/types/storage.ts": {
|