n8n-nodes-base 1.87.0 → 1.88.0

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.
Files changed (58) hide show
  1. package/dist/credentials/SalesforceJwtApi.credentials.js +60 -0
  2. package/dist/credentials/SalesforceJwtApi.credentials.js.map +1 -1
  3. package/dist/nodes/Brevo/__schema__/v1.0.0/contact/getAll.json +1 -9
  4. package/dist/nodes/Dropbox/__schema__/v1.0.0/file/download.json +2 -5
  5. package/dist/nodes/Google/Analytics/__schema__/v2.0.0/report/get.json +2 -2
  6. package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/getAll.json +7 -1
  7. package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/get.json +1 -13
  8. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/get.json +1 -7
  9. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/getAll.json +1 -7
  10. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/thread/get.json +4 -4
  11. package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/get.json +1 -35
  12. package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/rate.json +9 -0
  13. package/dist/nodes/HaloPSA/__schema__/v1.0.0/client/getAll.json +147 -1
  14. package/dist/nodes/Hubspot/__schema__/v2.1.0/company/getAll.json +1 -4
  15. package/dist/nodes/Hubspot/__schema__/v2.1.0/contact/search.json +4 -1
  16. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/getAll.json +1 -52
  17. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/search.json +5 -2
  18. package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/get.json +1 -258
  19. package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +9 -0
  20. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +84 -1
  21. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +4 -565
  22. package/dist/nodes/Lemlist/__schema__/v2.0.0/campaign/getAll.json +1 -10
  23. package/dist/nodes/Linear/__schema__/v1.0.0/issue/create.json +12 -1
  24. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.0.0/file/download.json +92 -1
  25. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +3 -81
  26. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/get.json +28 -1
  27. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/getAll.json +82 -1
  28. package/dist/nodes/Nasa/__schema__/v1.0.0/donkiSolarFlare/get.json +4 -1
  29. package/dist/nodes/Notion/__schema__/v2.2.0/databasePage/create.json +1 -4
  30. package/dist/nodes/Notion/__schema__/v2.2.0/databasePage/getAll.json +1 -4
  31. package/dist/nodes/Odoo/__schema__/v1.0.0/custom/get.json +1 -4
  32. package/dist/nodes/Odoo/__schema__/v1.0.0/custom/getAll.json +4 -1
  33. package/dist/nodes/Odoo/__schema__/v1.0.0/opportunity/getAll.json +1 -4
  34. package/dist/nodes/Phantombuster/__schema__/v1.0.0/agent/getOutput.json +1 -10
  35. package/dist/nodes/Pipedrive/__schema__/v1.0.0/person/search.json +12 -1
  36. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/getAll.json +2 -2
  37. package/dist/nodes/Salesforce/__schema__/v1.0.0/opportunity/getAll.json +4 -1
  38. package/dist/nodes/Salesforce/__schema__/v1.0.0/search/query.json +1 -4
  39. package/dist/nodes/ServiceNow/__schema__/v1.0.0/tableRecord/getAll.json +1 -4
  40. package/dist/nodes/Slack/__schema__/v2.3.0/channel/history.json +4 -44
  41. package/dist/nodes/Ssh/__schema__/v1.0.0/command/execute.json +1 -4
  42. package/dist/nodes/Supabase/__schema__/v1.0.0/row/delete.json +7 -1
  43. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/get.json +1 -10
  44. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +1 -4
  45. package/dist/nodes/Transform/Summarize/utils.js +1 -1
  46. package/dist/nodes/Transform/Summarize/utils.js.map +1 -1
  47. package/dist/nodes/Trello/__schema__/v1.0.0/list/getAll.json +1 -4
  48. package/dist/nodes/Trello/__schema__/v1.0.0/list/getCards.json +4 -7
  49. package/dist/nodes/Twitter/__schema__/v2.0.0/tweet/search.json +1 -4
  50. package/dist/nodes/Wordpress/__schema__/v1.0.0/post/getAll.json +9 -1
  51. package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +1 -15
  52. package/dist/test/nodes/FakeCredentialsMap.js +30 -0
  53. package/dist/test/nodes/FakeCredentialsMap.js.map +1 -1
  54. package/dist/test/nodes/Helpers.js +1 -1
  55. package/dist/test/nodes/Helpers.js.map +1 -1
  56. package/dist/types/credentials.json +1 -1
  57. package/dist/types/nodes.json +2 -2
  58. package/package.json +8 -8
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
8
  var __export = (target, all) => {
7
9
  for (var name in all)
@@ -15,12 +17,23 @@ var __copyProps = (to, from, except, desc) => {
15
17
  }
16
18
  return to;
17
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
18
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
29
  var SalesforceJwtApi_credentials_exports = {};
20
30
  __export(SalesforceJwtApi_credentials_exports, {
21
31
  SalesforceJwtApi: () => SalesforceJwtApi
22
32
  });
23
33
  module.exports = __toCommonJS(SalesforceJwtApi_credentials_exports);
34
+ var import_axios = __toESM(require("axios"));
35
+ var import_jsonwebtoken = __toESM(require("jsonwebtoken"));
36
+ var import_moment_timezone = __toESM(require("moment-timezone"));
24
37
  class SalesforceJwtApi {
25
38
  constructor() {
26
39
  this.name = "salesforceJwtApi";
@@ -70,6 +83,53 @@ class SalesforceJwtApi {
70
83
  description: "Use the multiline editor. Make sure it is in standard PEM key format:<br />-----BEGIN PRIVATE KEY-----<br />KEY DATA GOES HERE<br />-----END PRIVATE KEY-----"
71
84
  }
72
85
  ];
86
+ this.test = {
87
+ request: {
88
+ baseURL: '={{$credentials?.environment === "sandbox" ? "https://test.salesforce.com" : "https://login.salesforce.com"}}',
89
+ url: "/services/oauth2/userinfo",
90
+ method: "GET"
91
+ }
92
+ };
93
+ }
94
+ async authenticate(credentials, requestOptions) {
95
+ const now = (0, import_moment_timezone.default)().unix();
96
+ const authUrl = credentials.environment === "sandbox" ? "https://test.salesforce.com" : "https://login.salesforce.com";
97
+ const signature = import_jsonwebtoken.default.sign(
98
+ {
99
+ iss: credentials.clientId,
100
+ sub: credentials.username,
101
+ aud: authUrl,
102
+ exp: now + 3 * 60
103
+ },
104
+ credentials.privateKey,
105
+ {
106
+ algorithm: "RS256",
107
+ header: {
108
+ alg: "RS256"
109
+ }
110
+ }
111
+ );
112
+ const axiosRequestConfig = {
113
+ headers: {
114
+ "Content-Type": "application/x-www-form-urlencoded"
115
+ },
116
+ method: "POST",
117
+ data: new URLSearchParams({
118
+ grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer",
119
+ assertion: signature
120
+ }).toString(),
121
+ url: `${authUrl}/services/oauth2/token`,
122
+ responseType: "json"
123
+ };
124
+ const result = await (0, import_axios.default)(axiosRequestConfig);
125
+ const { access_token } = result.data;
126
+ return {
127
+ ...requestOptions,
128
+ headers: {
129
+ ...requestOptions.headers,
130
+ Authorization: `Bearer ${access_token}`
131
+ }
132
+ };
73
133
  }
74
134
  }
75
135
  // Annotate the CommonJS export names for ESM import in node:
@@ -1 +1 @@
1
- {"version":3,"sources":["../../credentials/SalesforceJwtApi.credentials.ts"],"sourcesContent":["import type { ICredentialType, INodeProperties } from 'n8n-workflow';\n\nexport class SalesforceJwtApi implements ICredentialType {\n\tname = 'salesforceJwtApi';\n\n\tdisplayName = 'Salesforce JWT API';\n\n\tdocumentationUrl = 'salesforce';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'Environment Type',\n\t\t\tname: 'environment',\n\t\t\ttype: 'options',\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tname: 'Production',\n\t\t\t\t\tvalue: 'production',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'Sandbox',\n\t\t\t\t\tvalue: 'sandbox',\n\t\t\t\t},\n\t\t\t],\n\t\t\tdefault: 'production',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Client ID',\n\t\t\tname: 'clientId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription: 'Consumer Key from Salesforce Connected App',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Username',\n\t\t\tname: 'username',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Private Key',\n\t\t\tname: 'privateKey',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: {\n\t\t\t\tpassword: true,\n\t\t\t},\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription:\n\t\t\t\t'Use the multiline editor. Make sure it is in standard PEM key format:<br />-----BEGIN PRIVATE KEY-----<br />KEY DATA GOES HERE<br />-----END PRIVATE KEY-----',\n\t\t},\n\t];\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,iBAA4C;AAAA,EAAlD;AACN,gBAAO;AAEP,uBAAc;AAEd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,UACA;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,QACD;AAAA,QACA,SAAS;AAAA,MACV;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aAAa;AAAA,MACd;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa;AAAA,UACZ,UAAU;AAAA,QACX;AAAA,QACA,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aACC;AAAA,MACF;AAAA,IACD;AAAA;AACD;","names":[]}
1
+ {"version":3,"sources":["../../credentials/SalesforceJwtApi.credentials.ts"],"sourcesContent":["import type { AxiosRequestConfig } from 'axios';\nimport axios from 'axios';\nimport jwt from 'jsonwebtoken';\nimport moment from 'moment-timezone';\nimport type {\n\tICredentialDataDecryptedObject,\n\tICredentialTestRequest,\n\tICredentialType,\n\tIHttpRequestOptions,\n\tINodeProperties,\n} from 'n8n-workflow';\n\nexport class SalesforceJwtApi implements ICredentialType {\n\tname = 'salesforceJwtApi';\n\n\tdisplayName = 'Salesforce JWT API';\n\n\tdocumentationUrl = 'salesforce';\n\n\tproperties: INodeProperties[] = [\n\t\t{\n\t\t\tdisplayName: 'Environment Type',\n\t\t\tname: 'environment',\n\t\t\ttype: 'options',\n\t\t\toptions: [\n\t\t\t\t{\n\t\t\t\t\tname: 'Production',\n\t\t\t\t\tvalue: 'production',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: 'Sandbox',\n\t\t\t\t\tvalue: 'sandbox',\n\t\t\t\t},\n\t\t\t],\n\t\t\tdefault: 'production',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Client ID',\n\t\t\tname: 'clientId',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription: 'Consumer Key from Salesforce Connected App',\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Username',\n\t\t\tname: 'username',\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'Private Key',\n\t\t\tname: 'privateKey',\n\t\t\ttype: 'string',\n\t\t\ttypeOptions: {\n\t\t\t\tpassword: true,\n\t\t\t},\n\t\t\tdefault: '',\n\t\t\trequired: true,\n\t\t\tdescription:\n\t\t\t\t'Use the multiline editor. Make sure it is in standard PEM key format:<br />-----BEGIN PRIVATE KEY-----<br />KEY DATA GOES HERE<br />-----END PRIVATE KEY-----',\n\t\t},\n\t];\n\n\tasync authenticate(\n\t\tcredentials: ICredentialDataDecryptedObject,\n\t\trequestOptions: IHttpRequestOptions,\n\t): Promise<IHttpRequestOptions> {\n\t\tconst now = moment().unix();\n\t\tconst authUrl =\n\t\t\tcredentials.environment === 'sandbox'\n\t\t\t\t? 'https://test.salesforce.com'\n\t\t\t\t: 'https://login.salesforce.com';\n\t\tconst signature = jwt.sign(\n\t\t\t{\n\t\t\t\tiss: credentials.clientId as string,\n\t\t\t\tsub: credentials.username as string,\n\t\t\t\taud: authUrl,\n\t\t\t\texp: now + 3 * 60,\n\t\t\t},\n\t\t\tcredentials.privateKey as string,\n\t\t\t{\n\t\t\t\talgorithm: 'RS256',\n\t\t\t\theader: {\n\t\t\t\t\talg: 'RS256',\n\t\t\t\t},\n\t\t\t},\n\t\t);\n\n\t\tconst axiosRequestConfig: AxiosRequestConfig = {\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/x-www-form-urlencoded',\n\t\t\t},\n\t\t\tmethod: 'POST',\n\t\t\tdata: new URLSearchParams({\n\t\t\t\tgrant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',\n\t\t\t\tassertion: signature,\n\t\t\t}).toString(),\n\t\t\turl: `${authUrl}/services/oauth2/token`,\n\t\t\tresponseType: 'json',\n\t\t};\n\t\tconst result = await axios(axiosRequestConfig);\n\t\tconst { access_token } = result.data as { access_token: string };\n\n\t\treturn {\n\t\t\t...requestOptions,\n\t\t\theaders: {\n\t\t\t\t...requestOptions.headers,\n\t\t\t\tAuthorization: `Bearer ${access_token}`,\n\t\t\t},\n\t\t};\n\t}\n\n\ttest: ICredentialTestRequest = {\n\t\trequest: {\n\t\t\tbaseURL:\n\t\t\t\t'={{$credentials?.environment === \"sandbox\" ? \"https://test.salesforce.com\" : \"https://login.salesforce.com\"}}',\n\t\t\turl: '/services/oauth2/userinfo',\n\t\t\tmethod: 'GET',\n\t\t},\n\t};\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAkB;AAClB,0BAAgB;AAChB,6BAAmB;AASZ,MAAM,iBAA4C;AAAA,EAAlD;AACN,gBAAO;AAEP,uBAAc;AAEd,4BAAmB;AAEnB,sBAAgC;AAAA,MAC/B;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,UACR;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,UACA;AAAA,YACC,MAAM;AAAA,YACN,OAAO;AAAA,UACR;AAAA,QACD;AAAA,QACA,SAAS;AAAA,MACV;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aAAa;AAAA,MACd;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,SAAS;AAAA,QACT,UAAU;AAAA,MACX;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,MAAM;AAAA,QACN,aAAa;AAAA,UACZ,UAAU;AAAA,QACX;AAAA,QACA,SAAS;AAAA,QACT,UAAU;AAAA,QACV,aACC;AAAA,MACF;AAAA,IACD;AAmDA,gBAA+B;AAAA,MAC9B,SAAS;AAAA,QACR,SACC;AAAA,QACD,KAAK;AAAA,QACL,QAAQ;AAAA,MACT;AAAA,IACD;AAAA;AAAA,EAxDA,MAAM,aACL,aACA,gBAC+B;AAC/B,UAAM,UAAM,uBAAAA,SAAO,EAAE,KAAK;AAC1B,UAAM,UACL,YAAY,gBAAgB,YACzB,gCACA;AACJ,UAAM,YAAY,oBAAAC,QAAI;AAAA,MACrB;AAAA,QACC,KAAK,YAAY;AAAA,QACjB,KAAK,YAAY;AAAA,QACjB,KAAK;AAAA,QACL,KAAK,MAAM,IAAI;AAAA,MAChB;AAAA,MACA,YAAY;AAAA,MACZ;AAAA,QACC,WAAW;AAAA,QACX,QAAQ;AAAA,UACP,KAAK;AAAA,QACN;AAAA,MACD;AAAA,IACD;AAEA,UAAM,qBAAyC;AAAA,MAC9C,SAAS;AAAA,QACR,gBAAgB;AAAA,MACjB;AAAA,MACA,QAAQ;AAAA,MACR,MAAM,IAAI,gBAAgB;AAAA,QACzB,YAAY;AAAA,QACZ,WAAW;AAAA,MACZ,CAAC,EAAE,SAAS;AAAA,MACZ,KAAK,GAAG,OAAO;AAAA,MACf,cAAc;AAAA,IACf;AACA,UAAM,SAAS,UAAM,aAAAC,SAAM,kBAAkB;AAC7C,UAAM,EAAE,aAAa,IAAI,OAAO;AAEhC,WAAO;AAAA,MACN,GAAG;AAAA,MACH,SAAS;AAAA,QACR,GAAG,eAAe;AAAA,QAClB,eAAe,UAAU,YAAY;AAAA,MACtC;AAAA,IACD;AAAA,EACD;AAUD;","names":["moment","jwt","axios"]}
@@ -1,14 +1,6 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
- "attributes": {
5
- "type": "object",
6
- "properties": {
7
- "SMS": {
8
- "type": "string"
9
- }
10
- }
11
- },
12
4
  "createdAt": {
13
5
  "type": "string"
14
6
  },
@@ -37,5 +29,5 @@
37
29
  "type": "boolean"
38
30
  }
39
31
  },
40
- "version": 1
32
+ "version": 2
41
33
  }
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
- "name": {
5
- "type": "string"
6
- },
7
- "rev": {
4
+ "id": {
8
5
  "type": "string"
9
6
  }
10
7
  },
11
- "version": 1
8
+ "version": 2
12
9
  }
@@ -4,9 +4,9 @@
4
4
  "date": {
5
5
  "type": "string"
6
6
  },
7
- "totalUsers": {
7
+ "sessions": {
8
8
  "type": "string"
9
9
  }
10
10
  },
11
- "version": 1
11
+ "version": 2
12
12
  }
@@ -15,6 +15,9 @@
15
15
  }
16
16
  }
17
17
  },
18
+ "description": {
19
+ "type": "string"
20
+ },
18
21
  "end": {
19
22
  "type": "object",
20
23
  "properties": {
@@ -44,6 +47,9 @@
44
47
  "kind": {
45
48
  "type": "string"
46
49
  },
50
+ "location": {
51
+ "type": "string"
52
+ },
47
53
  "organizer": {
48
54
  "type": "object",
49
55
  "properties": {
@@ -87,5 +93,5 @@
87
93
  "type": "string"
88
94
  }
89
95
  },
90
- "version": 1
96
+ "version": 2
91
97
  }
@@ -12,19 +12,7 @@
12
12
  },
13
13
  "_updateTime": {
14
14
  "type": "string"
15
- },
16
- "campaigns": {
17
- "type": "array",
18
- "items": {
19
- "type": "string"
20
- }
21
- },
22
- "name": {
23
- "type": "string"
24
- },
25
- "phone": {
26
- "type": "string"
27
15
  }
28
16
  },
29
- "version": 1
17
+ "version": 2
30
18
  }
@@ -80,12 +80,6 @@
80
80
  "to": {
81
81
  "type": "string"
82
82
  },
83
- "x-gm-message-state": {
84
- "type": "string"
85
- },
86
- "x-google-dkim-signature": {
87
- "type": "string"
88
- },
89
83
  "x-google-smtp-source": {
90
84
  "type": "string"
91
85
  },
@@ -147,5 +141,5 @@
147
141
  }
148
142
  }
149
143
  },
150
- "version": 1
144
+ "version": 2
151
145
  }
@@ -106,12 +106,6 @@
106
106
  "subject": {
107
107
  "type": "string"
108
108
  },
109
- "text": {
110
- "type": "string"
111
- },
112
- "textAsHtml": {
113
- "type": "string"
114
- },
115
109
  "threadId": {
116
110
  "type": "string"
117
111
  },
@@ -141,5 +135,5 @@
141
135
  }
142
136
  }
143
137
  },
144
- "version": 1
138
+ "version": 2
145
139
  }
@@ -33,9 +33,6 @@
33
33
  "Delivered-To": {
34
34
  "type": "string"
35
35
  },
36
- "DKIM-Signature": {
37
- "type": "string"
38
- },
39
36
  "From": {
40
37
  "type": "string"
41
38
  },
@@ -62,6 +59,9 @@
62
59
  }
63
60
  }
64
61
  },
62
+ "Message-ID": {
63
+ "type": "string"
64
+ },
65
65
  "MIME-Version": {
66
66
  "type": "string"
67
67
  },
@@ -124,5 +124,5 @@
124
124
  }
125
125
  }
126
126
  },
127
- "version": 1
127
+ "version": 2
128
128
  }
@@ -178,41 +178,7 @@
178
178
  "type": "string"
179
179
  }
180
180
  }
181
- },
182
- "status": {
183
- "type": "object",
184
- "properties": {
185
- "embeddable": {
186
- "type": "boolean"
187
- },
188
- "license": {
189
- "type": "string"
190
- },
191
- "madeForKids": {
192
- "type": "boolean"
193
- },
194
- "privacyStatus": {
195
- "type": "string"
196
- },
197
- "publicStatsViewable": {
198
- "type": "boolean"
199
- },
200
- "uploadStatus": {
201
- "type": "string"
202
- }
203
- }
204
- },
205
- "topicDetails": {
206
- "type": "object",
207
- "properties": {
208
- "topicCategories": {
209
- "type": "array",
210
- "items": {
211
- "type": "string"
212
- }
213
- }
214
- }
215
181
  }
216
182
  },
217
- "version": 1
183
+ "version": 2
218
184
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "success": {
5
+ "type": "boolean"
6
+ }
7
+ },
8
+ "version": 1
9
+ }
@@ -1,18 +1,164 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
+ "accountmanagertech": {
5
+ "type": "integer"
6
+ },
7
+ "accountsid": {
8
+ "type": "string"
9
+ },
10
+ "actionemail": {
11
+ "type": "integer"
12
+ },
13
+ "clearemail": {
14
+ "type": "integer"
15
+ },
16
+ "client_to_invoice": {
17
+ "type": "integer"
18
+ },
19
+ "client_to_invoice_recurring": {
20
+ "type": "integer"
21
+ },
22
+ "colour": {
23
+ "type": "string"
24
+ },
25
+ "confirmemail": {
26
+ "type": "integer"
27
+ },
28
+ "contract_tax_code": {
29
+ "type": "integer"
30
+ },
31
+ "customer_relationship": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "object",
35
+ "properties": {
36
+ "id": {
37
+ "type": "string"
38
+ },
39
+ "name": {
40
+ "type": "string"
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "customer_relationship_list": {
46
+ "type": "string"
47
+ },
48
+ "customertype": {
49
+ "type": "integer"
50
+ },
51
+ "dbc_company_id": {
52
+ "type": "string"
53
+ },
54
+ "default_currency_code": {
55
+ "type": "integer"
56
+ },
57
+ "default_mailbox_id": {
58
+ "type": "integer"
59
+ },
60
+ "excludefrominvoicesync": {
61
+ "type": "boolean"
62
+ },
4
63
  "id": {
5
64
  "type": "integer"
6
65
  },
66
+ "inactive": {
67
+ "type": "boolean"
68
+ },
69
+ "is_account": {
70
+ "type": "boolean"
71
+ },
7
72
  "is_vip": {
8
73
  "type": "boolean"
9
74
  },
75
+ "item_tax_code": {
76
+ "type": "integer"
77
+ },
78
+ "itglue_id": {
79
+ "type": "string"
80
+ },
81
+ "jira_validated": {
82
+ "type": "boolean"
83
+ },
84
+ "key": {
85
+ "type": "integer"
86
+ },
87
+ "mailbox_override": {
88
+ "type": "integer"
89
+ },
90
+ "messagegroup_id": {
91
+ "type": "integer"
92
+ },
10
93
  "name": {
11
94
  "type": "string"
12
95
  },
13
96
  "notes": {
14
97
  "type": "string"
98
+ },
99
+ "overridepdftemplateinvoice": {
100
+ "type": "integer"
101
+ },
102
+ "overridepdftemplatequote": {
103
+ "type": "integer"
104
+ },
105
+ "percentage_to_survey": {
106
+ "type": "integer"
107
+ },
108
+ "prepay_tax_code": {
109
+ "type": "integer"
110
+ },
111
+ "pritech": {
112
+ "type": "integer"
113
+ },
114
+ "qbo_company_id": {
115
+ "type": "string"
116
+ },
117
+ "ref": {
118
+ "type": "string"
119
+ },
120
+ "sectech": {
121
+ "type": "integer"
122
+ },
123
+ "sentinel_resource_group_name": {
124
+ "type": "string"
125
+ },
126
+ "sentinel_subscription_id": {
127
+ "type": "string"
128
+ },
129
+ "sentinel_workspace_name": {
130
+ "type": "string"
131
+ },
132
+ "service_tax_code": {
133
+ "type": "integer"
134
+ },
135
+ "servicenow_validated": {
136
+ "type": "boolean"
137
+ },
138
+ "stopped": {
139
+ "type": "integer"
140
+ },
141
+ "table": {
142
+ "type": "integer"
143
+ },
144
+ "taxable": {
145
+ "type": "boolean"
146
+ },
147
+ "ticket_invoices_for_each_site": {
148
+ "type": "boolean"
149
+ },
150
+ "toplevel_id": {
151
+ "type": "integer"
152
+ },
153
+ "toplevel_name": {
154
+ "type": "string"
155
+ },
156
+ "use": {
157
+ "type": "string"
158
+ },
159
+ "xero_tenant_id": {
160
+ "type": "string"
15
161
  }
16
162
  },
17
- "version": 1
163
+ "version": 2
18
164
  }
@@ -45,9 +45,6 @@
45
45
  "timestamp": {
46
46
  "type": "integer"
47
47
  },
48
- "updatedByUserId": {
49
- "type": "integer"
50
- },
51
48
  "useTimestampAsPersistenceTimestamp": {
52
49
  "type": "boolean"
53
50
  },
@@ -76,5 +73,5 @@
76
73
  }
77
74
  }
78
75
  },
79
- "version": 1
76
+ "version": 2
80
77
  }
@@ -16,6 +16,9 @@
16
16
  "createdate": {
17
17
  "type": "string"
18
18
  },
19
+ "email": {
20
+ "type": "string"
21
+ },
19
22
  "hs_object_id": {
20
23
  "type": "string"
21
24
  },
@@ -28,5 +31,5 @@
28
31
  "type": "string"
29
32
  }
30
33
  },
31
- "version": 1
34
+ "version": 2
32
35
  }
@@ -10,57 +10,6 @@
10
10
  "portalId": {
11
11
  "type": "integer"
12
12
  },
13
- "properties": {
14
- "type": "object",
15
- "properties": {
16
- "dealname": {
17
- "type": "object",
18
- "properties": {
19
- "source": {
20
- "type": "string"
21
- },
22
- "timestamp": {
23
- "type": "integer"
24
- },
25
- "value": {
26
- "type": "string"
27
- },
28
- "versions": {
29
- "type": "array",
30
- "items": {
31
- "type": "object",
32
- "properties": {
33
- "name": {
34
- "type": "string"
35
- },
36
- "requestId": {
37
- "type": "string"
38
- },
39
- "source": {
40
- "type": "string"
41
- },
42
- "sourceId": {
43
- "type": "string"
44
- },
45
- "timestamp": {
46
- "type": "integer"
47
- },
48
- "updatedByUserId": {
49
- "type": "integer"
50
- },
51
- "useTimestampAsPersistenceTimestamp": {
52
- "type": "boolean"
53
- },
54
- "value": {
55
- "type": "string"
56
- }
57
- }
58
- }
59
- }
60
- }
61
- }
62
- }
63
- },
64
13
  "stateChanges": {
65
14
  "type": "array",
66
15
  "items": {
@@ -76,5 +25,5 @@
76
25
  }
77
26
  }
78
27
  },
79
- "version": 1
28
+ "version": 2
80
29
  }
@@ -16,7 +16,7 @@
16
16
  "createdate": {
17
17
  "type": "string"
18
18
  },
19
- "dealname": {
19
+ "dealstage": {
20
20
  "type": "string"
21
21
  },
22
22
  "hs_lastmodifieddate": {
@@ -24,6 +24,9 @@
24
24
  },
25
25
  "hs_object_id": {
26
26
  "type": "string"
27
+ },
28
+ "pipeline": {
29
+ "type": "string"
27
30
  }
28
31
  }
29
32
  },
@@ -31,5 +34,5 @@
31
34
  "type": "string"
32
35
  }
33
36
  },
34
- "version": 1
37
+ "version": 2
35
38
  }