@greatapps/greatagents 0.1.25 → 0.1.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greatapps/greatagents",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Schemas para GreatAgents",
5
5
  "main": "./src/product.js",
6
6
  "type": "module"
@@ -0,0 +1,10 @@
1
+ import properties from './properties.js';
2
+
3
+ export default {
4
+ product: "greatagents",
5
+ name: "calendar_watches",
6
+ cache: { ttlView: 0, ttlList: 0 },
7
+ params: ["id_account"],
8
+ properties: properties,
9
+ routes: {}
10
+ };
@@ -0,0 +1,78 @@
1
+ export default {
2
+ id: {
3
+ type: "number",
4
+ filterable: true,
5
+ unique: true,
6
+ autoIncrement: true,
7
+ index: true,
8
+ },
9
+ deleted: {
10
+ type: "boolean",
11
+ default: false,
12
+ filterable: true,
13
+ },
14
+ datetime_add: {
15
+ type: "date",
16
+ filterable: true,
17
+ updatable: false,
18
+ },
19
+ datetime_alt: {
20
+ type: "date",
21
+ filterable: true,
22
+ },
23
+ datetime_del: {
24
+ type: "date",
25
+ },
26
+ id_account: {
27
+ type: "number",
28
+ required: true,
29
+ updatable: false,
30
+ filterable: true,
31
+ index: true,
32
+ },
33
+ external_reference: {
34
+ type: "string",
35
+ required: true,
36
+ filterable: true,
37
+ index: true,
38
+ maxLength: 255,
39
+ },
40
+ id_platform_integration: {
41
+ type: "number",
42
+ required: true,
43
+ filterable: true,
44
+ index: true,
45
+ },
46
+ channel_id: {
47
+ type: "string",
48
+ required: true,
49
+ filterable: true,
50
+ index: true,
51
+ maxLength: 100,
52
+ },
53
+ resource_id: {
54
+ type: "string",
55
+ filterable: true,
56
+ maxLength: 255,
57
+ },
58
+ google_calendar_id: {
59
+ type: "string",
60
+ filterable: true,
61
+ maxLength: 255,
62
+ default: "primary",
63
+ },
64
+ sync_token: {
65
+ type: "string",
66
+ },
67
+ expiration: {
68
+ type: "date",
69
+ required: true,
70
+ filterable: true,
71
+ },
72
+ status: {
73
+ type: "string",
74
+ filterable: true,
75
+ maxLength: 20,
76
+ default: "active",
77
+ },
78
+ };
package/src/product.js CHANGED
@@ -10,6 +10,7 @@ import agent_tools from './modules/agent_tools/index.js';
10
10
  import tool_credentials from './modules/tool_credentials/index.js';
11
11
  import contact_users from './modules/contact_users/index.js';
12
12
  import platform_integrations from './modules/platform_integrations/index.js';
13
+ import calendar_watches from './modules/calendar_watches/index.js';
13
14
 
14
15
  /* Shared */
15
16
 
@@ -43,7 +44,8 @@ export default {
43
44
  agent_tools,
44
45
  tool_credentials,
45
46
  contact_users,
46
- platform_integrations
47
+ platform_integrations,
48
+ calendar_watches
47
49
  },
48
50
  documentation: {
49
51
  title: "GreatAgents API",