bx-rest 0.8.4 → 0.8.5
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/consts/part-name-methods.d.ts +5 -0
- package/esm2022/consts/part-name-methods.mjs +6 -1
- package/esm2022/map/crm/company.mjs +53 -0
- package/esm2022/map/crm/contact.mjs +51 -0
- package/esm2022/map/crm/deal.mjs +63 -0
- package/esm2022/map/crm/index.mjs +5 -0
- package/esm2022/map/crm/lead.mjs +61 -0
- package/esm2022/request-navvy/crm/company.mjs +76 -0
- package/esm2022/request-navvy/crm/contact.mjs +76 -0
- package/esm2022/request-navvy/crm/deal.mjs +76 -0
- package/esm2022/request-navvy/crm/lead.mjs +76 -0
- package/esm2022/request-navvy/crm.mjs +13 -0
- package/esm2022/rest/navvy.mjs +3 -1
- package/esm2022/typification/rest/base.mjs +2 -1
- package/esm2022/typification/rest/crm/company/add.mjs +2 -0
- package/esm2022/typification/rest/crm/company/company.mjs +2 -0
- package/esm2022/typification/rest/crm/company/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/company/get.mjs +2 -0
- package/esm2022/typification/rest/crm/company/index.mjs +7 -0
- package/esm2022/typification/rest/crm/company/list.mjs +2 -0
- package/esm2022/typification/rest/crm/company/update.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/add.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/contact.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/get.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/index.mjs +7 -0
- package/esm2022/typification/rest/crm/contact/list.mjs +2 -0
- package/esm2022/typification/rest/crm/contact/update.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/add.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/deal.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/get.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/index.mjs +7 -0
- package/esm2022/typification/rest/crm/deal/list.mjs +2 -0
- package/esm2022/typification/rest/crm/deal/update.mjs +2 -0
- package/esm2022/typification/rest/crm/index.mjs +5 -0
- package/esm2022/typification/rest/crm/lead/add.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/delete.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/get.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/index.mjs +7 -0
- package/esm2022/typification/rest/crm/lead/lead.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/list.mjs +2 -0
- package/esm2022/typification/rest/crm/lead/update.mjs +2 -0
- package/fesm2022/bx-rest.mjs +532 -0
- package/fesm2022/bx-rest.mjs.map +1 -1
- package/map/crm/company.d.ts +19 -0
- package/map/crm/contact.d.ts +19 -0
- package/map/crm/deal.d.ts +19 -0
- package/map/crm/index.d.ts +4 -0
- package/map/crm/lead.d.ts +19 -0
- package/package.json +1 -1
- package/request-navvy/crm/company.d.ts +59 -0
- package/request-navvy/crm/contact.d.ts +59 -0
- package/request-navvy/crm/deal.d.ts +59 -0
- package/request-navvy/crm/lead.d.ts +59 -0
- package/request-navvy/crm.d.ts +10 -0
- package/rest/navvy.d.ts +2 -0
- package/typification/rest/base.d.ts +1 -0
- package/typification/rest/crm/company/add.d.ts +6 -0
- package/typification/rest/crm/company/company.d.ts +38 -0
- package/typification/rest/crm/company/delete.d.ts +3 -0
- package/typification/rest/crm/company/get.d.ts +3 -0
- package/typification/rest/crm/company/index.d.ts +6 -0
- package/typification/rest/crm/company/list.d.ts +6 -0
- package/typification/rest/crm/company/update.d.ts +7 -0
- package/typification/rest/crm/contact/add.d.ts +6 -0
- package/typification/rest/crm/contact/contact.d.ts +41 -0
- package/typification/rest/crm/contact/delete.d.ts +3 -0
- package/typification/rest/crm/contact/get.d.ts +3 -0
- package/typification/rest/crm/contact/index.d.ts +6 -0
- package/typification/rest/crm/contact/list.d.ts +6 -0
- package/typification/rest/crm/contact/update.d.ts +7 -0
- package/typification/rest/crm/deal/add.d.ts +6 -0
- package/typification/rest/crm/deal/deal.d.ts +47 -0
- package/typification/rest/crm/deal/delete.d.ts +3 -0
- package/typification/rest/crm/deal/get.d.ts +3 -0
- package/typification/rest/crm/deal/index.d.ts +6 -0
- package/typification/rest/crm/deal/list.d.ts +6 -0
- package/typification/rest/crm/deal/update.d.ts +7 -0
- package/typification/rest/crm/index.d.ts +4 -0
- package/typification/rest/crm/lead/add.d.ts +6 -0
- package/typification/rest/crm/lead/delete.d.ts +3 -0
- package/typification/rest/crm/lead/get.d.ts +3 -0
- package/typification/rest/crm/lead/index.d.ts +6 -0
- package/typification/rest/crm/lead/lead.d.ts +52 -0
- package/typification/rest/crm/lead/list.d.ts +6 -0
- package/typification/rest/crm/lead/update.d.ts +7 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { iBXRestYesNo } from '../../base/yes-no';
|
|
2
|
+
export interface iBXRestCrmLead extends iBXRestCrmLeadBase {
|
|
3
|
+
ID: number;
|
|
4
|
+
COMPANY_ID?: number;
|
|
5
|
+
CONTACT_ID?: number;
|
|
6
|
+
ASSIGNED_BY_ID?: number;
|
|
7
|
+
CREATED_BY_ID?: number;
|
|
8
|
+
MODIFY_BY_ID?: number;
|
|
9
|
+
DATE_CREATE?: Date;
|
|
10
|
+
DATE_MODIFY?: Date;
|
|
11
|
+
BIRTHDATE?: Date;
|
|
12
|
+
OPENED?: boolean;
|
|
13
|
+
IS_MANUAL_OPPORTUNITY?: boolean;
|
|
14
|
+
HAS_PHONE?: boolean;
|
|
15
|
+
HAS_EMAIL?: boolean;
|
|
16
|
+
HAS_IMOL?: boolean;
|
|
17
|
+
OPPORTUNITY?: number;
|
|
18
|
+
}
|
|
19
|
+
export interface iBXRestCrmLeadHttp extends iBXRestCrmLeadBase {
|
|
20
|
+
ID: string;
|
|
21
|
+
COMPANY_ID?: string;
|
|
22
|
+
CONTACT_ID?: string;
|
|
23
|
+
ASSIGNED_BY_ID?: string;
|
|
24
|
+
CREATED_BY_ID?: string;
|
|
25
|
+
MODIFY_BY_ID?: string;
|
|
26
|
+
DATE_CREATE?: string;
|
|
27
|
+
DATE_MODIFY?: string;
|
|
28
|
+
BIRTHDATE?: string;
|
|
29
|
+
OPENED?: iBXRestYesNo;
|
|
30
|
+
IS_MANUAL_OPPORTUNITY?: iBXRestYesNo;
|
|
31
|
+
HAS_PHONE?: iBXRestYesNo;
|
|
32
|
+
HAS_EMAIL?: iBXRestYesNo;
|
|
33
|
+
HAS_IMOL?: iBXRestYesNo;
|
|
34
|
+
OPPORTUNITY?: string;
|
|
35
|
+
}
|
|
36
|
+
interface iBXRestCrmLeadBase {
|
|
37
|
+
TITLE?: string;
|
|
38
|
+
HONORIFIC?: string;
|
|
39
|
+
NAME?: string;
|
|
40
|
+
SECOND_NAME?: string;
|
|
41
|
+
LAST_NAME?: string;
|
|
42
|
+
COMPANY_TITLE?: string;
|
|
43
|
+
SOURCE_ID?: string;
|
|
44
|
+
SOURCE_DESCRIPTION?: string;
|
|
45
|
+
STATUS_ID?: string;
|
|
46
|
+
STATUS_DESCRIPTION?: string;
|
|
47
|
+
STATUS_SEMANTIC_ID?: string;
|
|
48
|
+
CURRENCY_ID?: string;
|
|
49
|
+
COMMENTS?: string;
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}
|
|
52
|
+
export {};
|