@bisondesk/core-sdk 1.0.14 → 1.0.15
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 +23 -0
- package/lib/types/crm.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/types/crm.ts +19 -0
- package/tsconfig.tsbuildinfo +2 -2
package/lib/types/crm.d.ts
CHANGED
|
@@ -12,4 +12,27 @@ export declare type Organization = {
|
|
|
12
12
|
export declare type SearchOrganization = {
|
|
13
13
|
org: Partial<Organization>;
|
|
14
14
|
};
|
|
15
|
+
export declare type SearchContact = {
|
|
16
|
+
org: Partial<Organization>;
|
|
17
|
+
contact: Partial<Contact>;
|
|
18
|
+
};
|
|
19
|
+
export declare type Contact = {
|
|
20
|
+
id: string;
|
|
21
|
+
organizationId: string;
|
|
22
|
+
accountManager?: string;
|
|
23
|
+
language?: string;
|
|
24
|
+
firstName?: string;
|
|
25
|
+
lastName: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
createdBy: string;
|
|
28
|
+
phones: {
|
|
29
|
+
label: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}[];
|
|
32
|
+
emails: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
}[];
|
|
36
|
+
job?: string;
|
|
37
|
+
};
|
|
15
38
|
//# 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,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;IAC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E,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,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.15",
|
|
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.15",
|
|
15
15
|
"joi": "17.4.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
package/src/types/crm.ts
CHANGED
|
@@ -13,3 +13,22 @@ export type Organization = {
|
|
|
13
13
|
export type SearchOrganization = {
|
|
14
14
|
org: Partial<Organization>;
|
|
15
15
|
};
|
|
16
|
+
|
|
17
|
+
export type SearchContact = {
|
|
18
|
+
org: Partial<Organization>;
|
|
19
|
+
contact: Partial<Contact>;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type Contact = {
|
|
23
|
+
id: string;
|
|
24
|
+
organizationId: string;
|
|
25
|
+
accountManager?: string;
|
|
26
|
+
language?: string;
|
|
27
|
+
firstName?: string;
|
|
28
|
+
lastName: string;
|
|
29
|
+
createdAt: string;
|
|
30
|
+
createdBy: string;
|
|
31
|
+
phones: { label: string; value: string }[];
|
|
32
|
+
emails: { label: string; value: string }[];
|
|
33
|
+
job?: string;
|
|
34
|
+
};
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -222,8 +222,8 @@
|
|
|
222
222
|
"affectsGlobalScope": false
|
|
223
223
|
},
|
|
224
224
|
"./src/types/crm.ts": {
|
|
225
|
-
"version": "
|
|
226
|
-
"signature": "
|
|
225
|
+
"version": "ca434b60fb8a49a9f37e056e31d870c053e965359d645c6be8ac997716f49d21",
|
|
226
|
+
"signature": "49f268113541b33e300c94ed6123bb2ab43d383b3eec2d2755d8fbbfaf125793",
|
|
227
227
|
"affectsGlobalScope": false
|
|
228
228
|
},
|
|
229
229
|
"../commons-sdk/lib/types.d.ts": {
|