@bisondesk/core-sdk 1.0.18 → 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
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,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,GAAG,YAAY,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC/B,GAAG,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAC5B,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,GAAG,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC;AAEF,oBAAY,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,WAAW,GAAG;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,IAAI,GAAG;IACjB,OAAO,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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bisondesk/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/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": {
|