diff --git a/integrations/.nango/schema.json b/integrations/.nango/schema.json index ed8245c2a..f14f76ec9 100644 --- a/integrations/.nango/schema.json +++ b/integrations/.nango/schema.json @@ -58521,6 +58521,17 @@ }, "email": { "type": "string" + }, + "user_fields": { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } } }, "required": [ diff --git a/integrations/zendesk/mocks/users/User/batchSave.json b/integrations/zendesk/mocks/users/User/batchSave.json index 173c94d66..f54fa6b2c 100644 --- a/integrations/zendesk/mocks/users/User/batchSave.json +++ b/integrations/zendesk/mocks/users/User/batchSave.json @@ -3,138 +3,161 @@ "id": "32763192893073", "firstName": "The", "lastName": "Customer", - "email": "customer@example.com" + "email": "customer@example.com", + "user_fields": {} }, { "id": "32763206658065", "firstName": "Kelvin", "lastName": "Wari", - "email": "hassanwari254@gmail.com" + "email": "hassanwari254@gmail.com", + "user_fields": {} }, { "id": "32763235076113", "firstName": "Zhang", "lastName": "Wei", - "email": "zhang.weixu@example.com" + "email": "zhang.weixu@example.com", + "user_fields": {} }, { "id": "32763235217681", "firstName": "Ingrid", "lastName": "Van", - "email": "ingrid.vandijk@example.com" + "email": "ingrid.vandijk@example.com", + "user_fields": {} }, { "id": "32763266879633", "firstName": "Soobin", "lastName": "Do", - "email": "soobin.do@example.com" + "email": "soobin.do@example.com", + "user_fields": {} }, { "id": "32763282580241", "firstName": "Customer", "lastName": "", - "email": "example@zendesk.com" + "email": "example@zendesk.com", + "user_fields": {} }, { "id": "32768199515537", "firstName": "Roger", "lastName": "Wilco", - "email": null + "email": null, + "user_fields": {} }, { "id": "32768693470737", "firstName": "Roger", "lastName": "Wilco", - "email": null + "email": null, + "user_fields": {} }, { "id": "32768722488209", "firstName": "Roger", "lastName": "Wilco", - "email": null + "email": null, + "user_fields": {} }, { "id": "32768749121553", "firstName": "tests", "lastName": "in", - "email": "tco@test.com" + "email": "tco@test.com", + "user_fields": {} }, { "id": "32777971122577", "firstName": "John", "lastName": "Doe", - "email": "johndoe@example.com" + "email": "johndoe@example.com", + "user_fields": {} }, { "id": "32778022853009", "firstName": "Johns", "lastName": "Doe", - "email": "johndoes@example.com" + "email": "johndoes@example.com", + "user_fields": {} }, { "id": "32778051354129", "firstName": "Johns", "lastName": "Doe", - "email": "johndoes@examples.com" + "email": "johndoes@examples.com", + "user_fields": {} }, { "id": "32778088066961", "firstName": "Johns", "lastName": "Does", - "email": "johndoesss@example.com" + "email": "johndoesss@example.com", + "user_fields": {} }, { "id": "32778096357905", "firstName": "Johnsw", "lastName": "Does", - "email": "johndoesssww@example.com" + "email": "johndoesssww@example.com", + "user_fields": {} }, { "id": "32778150390161", "firstName": "John", "lastName": "Doe", - "email": "customer1@example.com" + "email": "customer1@example.com", + "user_fields": {} }, { "id": "32778203764369", "firstName": "James", "lastName": "Doe", - "email": "jamescustomer@example.com" + "email": "jamescustomer@example.com", + "user_fields": {} }, { "id": "32888998590865", "firstName": "Jane", "lastName": "Doe", - "email": "janedoe@example.com" + "email": "janedoe@example.com", + "user_fields": {} }, { "id": "32889172187409", "firstName": "Sample", "lastName": "User", - "email": "sampleuser-1@gmail.com" + "email": "sampleuser-1@gmail.com", + "user_fields": {} }, { "id": "32889564879505", "firstName": "Sample", "lastName": "User2", - "email": "sampleuser-2@gmail.com" + "email": "sampleuser-2@gmail.com", + "user_fields": {} }, { "id": "32889653118481", "firstName": "Sample", "lastName": "User2", - "email": "sampleuser-2@gmail.comp" + "email": "sampleuser-2@gmail.comp", + "user_fields": {} }, { "id": "32890003697937", "firstName": "Sample", "lastName": "User2999", - "email": "sampleuser-3@gmail.com" + "email": "sampleuser-3@gmail.com", + "user_fields": {} }, { "id": "32981016448017", "firstName": "Sample", "lastName": "User2", - "email": "sampleuser-43@gmail.com" + "email": "sampleuser-43@gmail.com", + "user_fields": {} } -] +] \ No newline at end of file diff --git a/integrations/zendesk/models.ts b/integrations/zendesk/models.ts index c58676634..912e2ac03 100644 --- a/integrations/zendesk/models.ts +++ b/integrations/zendesk/models.ts @@ -25,7 +25,8 @@ export const User = z.object({ id: z.string(), firstName: z.string(), lastName: z.string(), - email: z.string() + email: z.string(), + user_fields: z.record(z.string(), z.any()).optional() }); export type User = z.infer; diff --git a/integrations/zendesk/syncs/users.ts b/integrations/zendesk/syncs/users.ts index 5fe4e1c59..8ee28bddc 100644 --- a/integrations/zendesk/syncs/users.ts +++ b/integrations/zendesk/syncs/users.ts @@ -58,7 +58,8 @@ const sync = createSync({ id: zUser.id.toString(), firstName: firstName || '', lastName: lastName || '', - email: zUser.email + email: zUser.email, + user_fields: zUser.user_fields }; }); diff --git a/integrations/zendesk/types.ts b/integrations/zendesk/types.ts index 020e23869..61dec8ed9 100644 --- a/integrations/zendesk/types.ts +++ b/integrations/zendesk/types.ts @@ -230,7 +230,7 @@ export interface ZendeskUser { suspended: boolean; default_group_id: number; report_csv: boolean; - user_fields: Record; + user_fields?: Record; } interface ZendeskAttachmet { diff --git a/internal/flows.zero.json b/internal/flows.zero.json index 4659ea8ae..fcd599ce5 100644 --- a/internal/flows.zero.json +++ b/internal/flows.zero.json @@ -1,252 +1,4 @@ [ - { - "providerConfigKey": "adp", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of current employees from ADP and maps them to the standard HRIS model", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" - } - ], - "input": "SyncMetadata_adp_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every hour", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_adp_unifiedemployees"], - "version": "0.0.1", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "StandardEmployee": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "employeeNumber": { - "type": "string" - }, - "title": { - "type": "string" - }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" - }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false - }, - "workLocation": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "required": ["name", "type"], - "additionalProperties": false - }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } - }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false - } - }, - "providerSpecific": { - "type": "object", - "additionalProperties": false - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - }, - "SyncMetadata_adp_unifiedemployees": { - "type": "object", - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, { "providerConfigKey": "aircall", "actions": [ @@ -312,29 +64,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_aircall_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_aircall_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_aircall_createuser": { @@ -392,9 +143,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -402,32 +154,32 @@ "actions": [ { "type": "action", - "description": "Create a webhook for a particular base", + "description": "Fetch current user information", "endpoint": { - "method": "POST", - "path": "/webhooks", - "group": "Webhooks" + "method": "GET", + "path": "/whoami", + "group": "Users" }, - "input": "ActionInput_airtable_createwebhook", - "name": "create-webhook", - "output": ["ActionOutput_airtable_createwebhook"], - "scopes": ["webhook:manage"], - "usedModels": ["ActionInput_airtable_createwebhook", "ActionOutput_airtable_createwebhook"], + "input": "ActionInput_airtable_whoami", + "name": "whoami", + "output": ["ActionOutput_airtable_whoami"], + "scopes": ["user.email:read"], + "usedModels": ["ActionInput_airtable_whoami", "ActionOutput_airtable_whoami"], "version": "1.0.0" }, { "type": "action", - "description": "Delete a webhook", + "description": "Create a webhook for a particular base", "endpoint": { - "method": "DELETE", + "method": "POST", "path": "/webhooks", "group": "Webhooks" }, - "input": "ActionInput_airtable_deletewebhook", - "name": "delete-webhook", - "output": ["ActionOutput_airtable_deletewebhook"], + "input": "ActionInput_airtable_createwebhook", + "name": "create-webhook", + "output": ["ActionOutput_airtable_createwebhook"], "scopes": ["webhook:manage"], - "usedModels": ["ActionInput_airtable_deletewebhook", "ActionOutput_airtable_deletewebhook"], + "usedModels": ["ActionInput_airtable_createwebhook", "ActionOutput_airtable_createwebhook"], "version": "1.0.0" }, { @@ -447,60 +199,60 @@ }, { "type": "action", - "description": "Fetch current user information", + "description": "Delete a webhook", "endpoint": { - "method": "GET", - "path": "/whoami", - "group": "Users" + "method": "DELETE", + "path": "/webhooks", + "group": "Webhooks" }, - "input": "ActionInput_airtable_whoami", - "name": "whoami", - "output": ["ActionOutput_airtable_whoami"], - "scopes": ["user.email:read"], - "usedModels": ["ActionInput_airtable_whoami", "ActionOutput_airtable_whoami"], + "input": "ActionInput_airtable_deletewebhook", + "name": "delete-webhook", + "output": ["ActionOutput_airtable_deletewebhook"], + "scopes": ["webhook:manage"], + "usedModels": ["ActionInput_airtable_deletewebhook", "ActionOutput_airtable_deletewebhook"], "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "List all bases", + "description": "Lists all tables with their schema for all bases with a reference to the base id that\nthe table belongs to", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/bases" + "path": "/tables" } ], - "input": "SyncMetadata_airtable_bases", - "name": "bases", - "output": ["Base"], + "input": "SyncMetadata_airtable_tables", + "name": "tables", + "output": ["Table"], "runs": "every day", "scopes": ["schema.bases:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Base", "SyncMetadata_airtable_bases"], + "usedModels": ["Table", "SyncMetadata_airtable_tables"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Lists all tables with their schema for all bases with a reference to the base id that\nthe table belongs to", + "description": "List all bases", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/tables" + "path": "/bases" } ], - "input": "SyncMetadata_airtable_tables", - "name": "tables", - "output": ["Table"], + "input": "SyncMetadata_airtable_bases", + "name": "bases", + "output": ["Base"], "runs": "every day", "scopes": ["schema.bases:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Table", "SyncMetadata_airtable_tables"], + "usedModels": ["Base", "SyncMetadata_airtable_bases"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -512,26 +264,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Base": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "permissionLevel": { - "type": "string", - "enum": ["none", "read", "comment", "edit", "create"] - } - }, - "required": ["id", "name", "permissionLevel"], - "additionalProperties": false - }, - "SyncMetadata_airtable_bases": { + "SyncMetadata_airtable_tables": { "type": "object", "additionalProperties": false }, @@ -602,8 +336,41 @@ "required": ["baseId", "baseName", "id", "name", "views", "fields", "primaryFieldId"], "additionalProperties": false }, - "SyncMetadata_airtable_tables": { + "SyncMetadata_airtable_bases": { + "type": "object", + "additionalProperties": false + }, + "Base": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "permissionLevel": { + "type": "string", + "enum": ["none", "read", "comment", "edit", "create"] + } + }, + "required": ["id", "name", "permissionLevel"], + "additionalProperties": false + }, + "ActionInput_airtable_whoami": { + "type": "null" + }, + "ActionOutput_airtable_whoami": { "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": ["string", "null"] + } + }, + "required": ["id", "email"], "additionalProperties": false }, "ActionInput_airtable_createwebhook": { @@ -735,29 +502,6 @@ "required": ["id", "expirationTime"], "additionalProperties": false }, - "ActionInput_airtable_deletewebhook": { - "type": "object", - "properties": { - "baseId": { - "type": "string" - }, - "webhookId": { - "type": "string" - } - }, - "required": ["baseId", "webhookId"], - "additionalProperties": false - }, - "ActionOutput_airtable_deletewebhook": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, "ActionInput_airtable_listwebhooks": { "type": "object", "properties": { @@ -962,25 +706,33 @@ "required": ["webhooks"], "additionalProperties": false }, - "ActionInput_airtable_whoami": { - "type": "null" - }, - "ActionOutput_airtable_whoami": { + "ActionInput_airtable_deletewebhook": { "type": "object", "properties": { - "id": { + "baseId": { "type": "string" }, - "email": { - "type": ["string", "null"] + "webhookId": { + "type": "string" } }, - "required": ["id", "email"], + "required": ["baseId", "webhookId"], + "additionalProperties": false + }, + "ActionOutput_airtable_deletewebhook": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -988,32 +740,32 @@ "actions": [ { "type": "action", - "description": "Create a webhook for a particular base", + "description": "Fetch current user information", "endpoint": { - "method": "POST", - "path": "/webhooks", - "group": "Webhooks" + "method": "GET", + "path": "/whoami", + "group": "Users" }, - "input": "ActionInput_airtable_createwebhook", - "name": "create-webhook", - "output": ["ActionOutput_airtable_createwebhook"], - "scopes": ["webhook:manage"], - "usedModels": ["ActionInput_airtable_createwebhook", "ActionOutput_airtable_createwebhook"], + "input": "ActionInput_airtable_whoami", + "name": "whoami", + "output": ["ActionOutput_airtable_whoami"], + "scopes": ["user.email:read"], + "usedModels": ["ActionInput_airtable_whoami", "ActionOutput_airtable_whoami"], "version": "1.0.0" }, { "type": "action", - "description": "Delete a webhook", + "description": "Create a webhook for a particular base", "endpoint": { - "method": "DELETE", + "method": "POST", "path": "/webhooks", "group": "Webhooks" }, - "input": "ActionInput_airtable_deletewebhook", - "name": "delete-webhook", - "output": ["ActionOutput_airtable_deletewebhook"], + "input": "ActionInput_airtable_createwebhook", + "name": "create-webhook", + "output": ["ActionOutput_airtable_createwebhook"], "scopes": ["webhook:manage"], - "usedModels": ["ActionInput_airtable_deletewebhook", "ActionOutput_airtable_deletewebhook"], + "usedModels": ["ActionInput_airtable_createwebhook", "ActionOutput_airtable_createwebhook"], "version": "1.0.0" }, { @@ -1033,60 +785,60 @@ }, { "type": "action", - "description": "Fetch current user information", + "description": "Delete a webhook", "endpoint": { - "method": "GET", - "path": "/whoami", - "group": "Users" + "method": "DELETE", + "path": "/webhooks", + "group": "Webhooks" }, - "input": "ActionInput_airtable_whoami", - "name": "whoami", - "output": ["ActionOutput_airtable_whoami"], - "scopes": ["user.email:read"], - "usedModels": ["ActionInput_airtable_whoami", "ActionOutput_airtable_whoami"], + "input": "ActionInput_airtable_deletewebhook", + "name": "delete-webhook", + "output": ["ActionOutput_airtable_deletewebhook"], + "scopes": ["webhook:manage"], + "usedModels": ["ActionInput_airtable_deletewebhook", "ActionOutput_airtable_deletewebhook"], "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "List all bases", + "description": "Lists all tables with their schema for all bases with a reference to the base id that\nthe table belongs to", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/bases" + "path": "/tables" } ], - "input": "SyncMetadata_airtable_bases", - "name": "bases", - "output": ["Base"], + "input": "SyncMetadata_airtable_tables", + "name": "tables", + "output": ["Table"], "runs": "every day", "scopes": ["schema.bases:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Base", "SyncMetadata_airtable_bases"], + "usedModels": ["Table", "SyncMetadata_airtable_tables"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Lists all tables with their schema for all bases with a reference to the base id that\nthe table belongs to", + "description": "List all bases", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/tables" + "path": "/bases" } ], - "input": "SyncMetadata_airtable_tables", - "name": "tables", - "output": ["Table"], + "input": "SyncMetadata_airtable_bases", + "name": "bases", + "output": ["Base"], "runs": "every day", "scopes": ["schema.bases:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Table", "SyncMetadata_airtable_tables"], + "usedModels": ["Base", "SyncMetadata_airtable_bases"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -1098,33 +850,15 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Base": { + "SyncMetadata_airtable_tables": { + "type": "object", + "additionalProperties": false + }, + "Table": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "permissionLevel": { - "type": "string", - "enum": ["none", "read", "comment", "edit", "create"] - } - }, - "required": ["id", "name", "permissionLevel"], - "additionalProperties": false - }, - "SyncMetadata_airtable_bases": { - "type": "object", - "additionalProperties": false - }, - "Table": { - "type": "object", - "properties": { - "baseId": { + "baseId": { "type": "string" }, "baseName": { @@ -1188,8 +922,41 @@ "required": ["baseId", "baseName", "id", "name", "views", "fields", "primaryFieldId"], "additionalProperties": false }, - "SyncMetadata_airtable_tables": { + "SyncMetadata_airtable_bases": { + "type": "object", + "additionalProperties": false + }, + "Base": { "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "permissionLevel": { + "type": "string", + "enum": ["none", "read", "comment", "edit", "create"] + } + }, + "required": ["id", "name", "permissionLevel"], + "additionalProperties": false + }, + "ActionInput_airtable_whoami": { + "type": "null" + }, + "ActionOutput_airtable_whoami": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": ["string", "null"] + } + }, + "required": ["id", "email"], "additionalProperties": false }, "ActionInput_airtable_createwebhook": { @@ -1321,29 +1088,6 @@ "required": ["id", "expirationTime"], "additionalProperties": false }, - "ActionInput_airtable_deletewebhook": { - "type": "object", - "properties": { - "baseId": { - "type": "string" - }, - "webhookId": { - "type": "string" - } - }, - "required": ["baseId", "webhookId"], - "additionalProperties": false - }, - "ActionOutput_airtable_deletewebhook": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, "ActionInput_airtable_listwebhooks": { "type": "object", "properties": { @@ -1548,25 +1292,33 @@ "required": ["webhooks"], "additionalProperties": false }, - "ActionInput_airtable_whoami": { - "type": "null" - }, - "ActionOutput_airtable_whoami": { + "ActionInput_airtable_deletewebhook": { "type": "object", "properties": { - "id": { + "baseId": { "type": "string" }, - "email": { - "type": ["string", "null"] + "webhookId": { + "type": "string" } }, - "required": ["id", "email"], + "required": ["baseId", "webhookId"], + "additionalProperties": false + }, + "ActionOutput_airtable_deletewebhook": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "airtable" }, { @@ -1595,7 +1347,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_algolia_createcontacts": { "type": "object", @@ -1630,9 +1381,10 @@ "required": ["createdAt", "taskID", "objectID"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -1668,30 +1420,30 @@ }, { "type": "action", - "description": "Creates a negation in Anrok.", + "description": "Voids a transaction in Anrok.", "endpoint": { "method": "POST", - "path": "/transactions/negate" + "path": "/transactions/void" }, - "input": "ActionInput_anrok_negatetransaction", - "name": "negate-transaction", - "output": ["ActionOutput_anrok_negatetransaction"], + "input": "ActionInput_anrok_voidtransaction", + "name": "void-transaction", + "output": ["ActionOutput_anrok_voidtransaction"], "scopes": [], - "usedModels": ["ActionInput_anrok_negatetransaction", "ActionOutput_anrok_negatetransaction"], + "usedModels": ["ActionInput_anrok_voidtransaction", "ActionOutput_anrok_voidtransaction"], "version": "1.0.0" }, { "type": "action", - "description": "Voids a transaction in Anrok.", + "description": "Creates a negation in Anrok.", "endpoint": { "method": "POST", - "path": "/transactions/void" + "path": "/transactions/negate" }, - "input": "ActionInput_anrok_voidtransaction", - "name": "void-transaction", - "output": ["ActionOutput_anrok_voidtransaction"], + "input": "ActionInput_anrok_negatetransaction", + "name": "negate-transaction", + "output": ["ActionOutput_anrok_negatetransaction"], "scopes": [], - "usedModels": ["ActionInput_anrok_voidtransaction", "ActionOutput_anrok_voidtransaction"], + "usedModels": ["ActionInput_anrok_negatetransaction", "ActionOutput_anrok_negatetransaction"], "version": "1.0.0" } ], @@ -1703,7 +1455,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_anrok_createephemeraltransaction": { "type": "object", @@ -2148,7 +1899,7 @@ "required": ["succeeded", "failed"], "additionalProperties": false }, - "ActionInput_anrok_negatetransaction": { + "ActionInput_anrok_voidtransaction": { "type": "object", "properties": { "0": { @@ -2156,19 +1907,16 @@ "properties": { "id": { "type": "string" - }, - "voided_id": { - "type": "string" } }, - "required": ["id", "voided_id"], + "required": ["id"], "additionalProperties": false } }, "required": ["0"], "additionalProperties": false }, - "ActionOutput_anrok_negatetransaction": { + "ActionOutput_anrok_voidtransaction": { "type": "object", "properties": { "succeeded": { @@ -2178,12 +1926,9 @@ "properties": { "id": { "type": "string" - }, - "voided_id": { - "type": "string" } }, - "required": ["id", "voided_id"], + "required": ["id"], "additionalProperties": false } }, @@ -2195,12 +1940,9 @@ "id": { "type": "string" }, - "voided_id": { - "type": "string" - }, "validation_errors": {} }, - "required": ["id", "voided_id"], + "required": ["id"], "additionalProperties": false } } @@ -2208,7 +1950,7 @@ "required": ["succeeded", "failed"], "additionalProperties": false }, - "ActionInput_anrok_voidtransaction": { + "ActionInput_anrok_negatetransaction": { "type": "object", "properties": { "0": { @@ -2216,16 +1958,19 @@ "properties": { "id": { "type": "string" + }, + "voided_id": { + "type": "string" } }, - "required": ["id"], + "required": ["id", "voided_id"], "additionalProperties": false } }, "required": ["0"], "additionalProperties": false }, - "ActionOutput_anrok_voidtransaction": { + "ActionOutput_anrok_negatetransaction": { "type": "object", "properties": { "succeeded": { @@ -2235,9 +1980,12 @@ "properties": { "id": { "type": "string" + }, + "voided_id": { + "type": "string" } }, - "required": ["id"], + "required": ["id", "voided_id"], "additionalProperties": false } }, @@ -2249,9 +1997,12 @@ "id": { "type": "string" }, + "voided_id": { + "type": "string" + }, "validation_errors": {} }, - "required": ["id"], + "required": ["id", "voided_id"], "additionalProperties": false } } @@ -2259,9 +2010,10 @@ "required": ["succeeded", "failed"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -2269,32 +2021,16 @@ "actions": [ { "type": "action", - "description": "Create a task using Asana specific fields and return a unified model task. See https://developers.asana.com/reference/createtask for Asana specific fields", - "endpoint": { - "method": "POST", - "path": "/tasks", - "group": "Tasks" - }, - "input": "ActionInput_asana_createtask", - "name": "create-task", - "output": ["ActionOutput_asana_createtask"], - "scopes": [], - "usedModels": ["ActionInput_asana_createtask", "ActionOutput_asana_createtask"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Delete a task.", + "description": "Fetch the workspaces with a limit (default 10) of a user to allow them to selection of projects to sync", "endpoint": { - "method": "DELETE", - "path": "/tasks", - "group": "Tasks" + "method": "GET", + "path": "/workspaces/limit" }, - "input": "ActionInput_asana_deletetask", - "name": "delete-task", - "output": ["ActionOutput_asana_deletetask"], + "input": "ActionInput_asana_fetchworkspaces", + "name": "fetch-workspaces", + "output": ["ActionOutput_asana_fetchworkspaces"], "scopes": [], - "usedModels": ["ActionInput_asana_deletetask", "ActionOutput_asana_deletetask"], + "usedModels": ["ActionInput_asana_fetchworkspaces", "ActionOutput_asana_fetchworkspaces"], "version": "2.0.0" }, { @@ -2313,16 +2049,17 @@ }, { "type": "action", - "description": "Fetch the workspaces with a limit (default 10) of a user to allow them to selection of projects to sync", + "description": "Create a task using Asana specific fields and return a unified model task. See https://developers.asana.com/reference/createtask for Asana specific fields", "endpoint": { - "method": "GET", - "path": "/workspaces/limit" + "method": "POST", + "path": "/tasks", + "group": "Tasks" }, - "input": "ActionInput_asana_fetchworkspaces", - "name": "fetch-workspaces", - "output": ["ActionOutput_asana_fetchworkspaces"], + "input": "ActionInput_asana_createtask", + "name": "create-task", + "output": ["ActionOutput_asana_createtask"], "scopes": [], - "usedModels": ["ActionInput_asana_fetchworkspaces", "ActionOutput_asana_fetchworkspaces"], + "usedModels": ["ActionInput_asana_createtask", "ActionOutput_asana_createtask"], "version": "2.0.0" }, { @@ -2339,31 +2076,24 @@ "scopes": [], "usedModels": ["ActionInput_asana_updatetask", "ActionOutput_asana_updatetask"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Delete a task.", + "endpoint": { + "method": "DELETE", + "path": "/tasks", + "group": "Tasks" + }, + "input": "ActionInput_asana_deletetask", + "name": "delete-task", + "output": ["ActionOutput_asana_deletetask"], + "scopes": [], + "usedModels": ["ActionInput_asana_deletetask", "ActionOutput_asana_deletetask"], + "version": "2.0.0" } ], "syncs": [ - { - "type": "sync", - "description": "Retrieves all projects for a user", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/projects", - "group": "Projects" - } - ], - "input": "SyncMetadata_asana_projects", - "name": "projects", - "output": ["AsanaProject"], - "runs": "every hour", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["AsanaProject", "SyncMetadata_asana_projects"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Retrieve all tasks that exist in the workspace", @@ -2429,6 +2159,28 @@ "usedModels": ["AsanaWorkspace", "SyncMetadata_asana_workspaces"], "version": "2.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Retrieves all projects for a user", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/projects", + "group": "Projects" + } + ], + "input": "SyncMetadata_asana_projects", + "name": "projects", + "output": ["AsanaProject"], + "runs": "every hour", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["AsanaProject", "SyncMetadata_asana_projects"], + "version": "2.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -2438,140 +2190,104 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "AsanaProject": { - "type": "object", - "properties": { - "gid": { - "type": "string" - }, - "resource_type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["gid", "resource_type", "name", "id"], - "additionalProperties": false - }, - "SyncMetadata_asana_projects": { + "SyncMetadata_asana_tasks": { "type": "object", "additionalProperties": false }, "Task": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "task_type": { + "created_at": { "type": ["string", "null"] }, - "title": { + "modified_at": { "type": ["string", "null"] }, - "priority": { - "type": ["string", "null"] + "id": { + "type": "string" }, - "assigned_to": { - "type": ["string", "null"] + "title": { + "type": "string" }, - "due_date": { - "type": ["string", "null"] + "url": { + "type": "string" }, - "notes": { + "status": { + "type": "string" + }, + "description": { "type": ["string", "null"] }, - "returned_associations": { - "type": "object", - "properties": { - "companies": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": ["string", "null"] - } + "assignee": { + "anyOf": [ + { + "type": "object", + "properties": { + "created_at": { + "type": ["string", "null"] }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "contacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": ["string", "null"] - }, - "last_name": { - "type": ["string", "null"] - } + "modified_at": { + "type": ["string", "null"] }, - "required": ["id", "first_name", "last_name"], - "additionalProperties": false - } - }, - "deals": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": ["string", "null"] - } + "id": { + "type": "string" }, - "required": ["id", "name"], - "additionalProperties": false - } + "name": { + "type": "string" + }, + "email": { + "type": ["string", "null"] + }, + "avatar_url": { + "type": ["string", "null"] + } + }, + "required": ["created_at", "modified_at", "id", "name", "email", "avatar_url"], + "additionalProperties": false + }, + { + "type": "null" } - }, - "additionalProperties": false + ] + }, + "due_date": { + "type": ["string", "null"] } }, - "required": ["id", "task_type", "title", "priority", "assigned_to", "due_date", "notes"], + "required": ["created_at", "modified_at", "id", "title", "url", "status", "description", "assignee", "due_date"], "additionalProperties": false }, - "SyncMetadata_asana_tasks": { + "SyncMetadata_asana_users": { "type": "object", "additionalProperties": false }, "User": { "type": "object", "properties": { - "id": { - "type": "string" + "created_at": { + "type": ["string", "null"] }, - "firstName": { + "modified_at": { + "type": ["string", "null"] + }, + "id": { "type": "string" }, - "lastName": { + "name": { "type": "string" }, "email": { - "type": "string" + "type": ["string", "null"] + }, + "avatar_url": { + "type": ["string", "null"] } }, - "required": ["id", "firstName", "lastName", "email"], + "required": ["created_at", "modified_at", "id", "name", "email", "avatar_url"], "additionalProperties": false }, - "SyncMetadata_asana_users": { + "SyncMetadata_asana_workspaces": { "type": "object", "additionalProperties": false }, @@ -2597,8 +2313,96 @@ "required": ["gid", "resource_type", "name", "id", "is_organization"], "additionalProperties": false }, - "SyncMetadata_asana_workspaces": { + "SyncMetadata_asana_projects": { + "type": "object", + "additionalProperties": false + }, + "AsanaProject": { + "type": "object", + "properties": { + "gid": { + "type": "string" + }, + "resource_type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["gid", "resource_type", "name", "id"], + "additionalProperties": false + }, + "ActionInput_asana_fetchworkspaces": { + "type": "object", + "properties": { + "limit": { + "type": "number" + } + }, + "required": ["limit"], + "additionalProperties": false + }, + "ActionOutput_asana_fetchworkspaces": { + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "gid": { + "type": "string" + }, + "resource_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["gid", "resource_type", "name"], + "additionalProperties": false + } + }, + "required": ["0"], + "additionalProperties": false + }, + "ActionInput_asana_fetchprojects": { + "type": "object", + "properties": { + "limit": { + "type": "number" + }, + "workspace": { + "type": "string" + } + }, + "required": ["limit", "workspace"], + "additionalProperties": false + }, + "ActionOutput_asana_fetchprojects": { "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "gid": { + "type": "string" + }, + "resource_type": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["gid", "resource_type", "name"], + "additionalProperties": false + } + }, + "required": ["0"], "additionalProperties": false }, "ActionInput_asana_createtask": { @@ -2686,88 +2490,6 @@ "required": ["created_at", "modified_at", "id", "title", "url", "status", "description", "assignee", "due_date"], "additionalProperties": false }, - "ActionInput_asana_deletetask": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_asana_deletetask": { - "type": "boolean" - }, - "ActionInput_asana_fetchprojects": { - "type": "object", - "properties": { - "limit": { - "type": "number" - }, - "workspace": { - "type": "string" - } - }, - "required": ["limit", "workspace"], - "additionalProperties": false - }, - "ActionOutput_asana_fetchprojects": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "gid": { - "type": "string" - }, - "resource_type": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["gid", "resource_type", "name"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, - "ActionInput_asana_fetchworkspaces": { - "type": "object", - "properties": { - "limit": { - "type": "number" - } - }, - "required": ["limit"], - "additionalProperties": false - }, - "ActionOutput_asana_fetchworkspaces": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "gid": { - "type": "string" - }, - "resource_type": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["gid", "resource_type", "name"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, "ActionInput_asana_updatetask": { "type": "object", "properties": { @@ -2876,15 +2598,59 @@ }, "required": ["created_at", "modified_at", "id", "title", "url", "status", "description", "assignee", "due_date"], "additionalProperties": false + }, + "ActionInput_asana_deletetask": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_asana_deletetask": { + "type": "boolean" } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "ashby", "actions": [ + { + "type": "action", + "description": "Action to consider a candidate for a job", + "endpoint": { + "method": "POST", + "path": "/applications", + "group": "Applications" + }, + "input": "ActionInput_ashby_createapplication", + "name": "create-application", + "output": ["ActionOutput_ashby_createapplication"], + "scopes": [], + "usedModels": ["ActionInput_ashby_createapplication", "ActionOutput_ashby_createapplication"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Action to create a note on a candidate.", + "endpoint": { + "method": "POST", + "path": "/notes", + "group": "Notes" + }, + "input": "ActionInput_ashby_createnote", + "name": "create-note", + "output": ["ActionOutput_ashby_createnote"], + "scopes": [], + "usedModels": ["ActionInput_ashby_createnote", "ActionOutput_ashby_createnote"], + "version": "1.0.0" + }, { "type": "action", "description": "Action to change source of application.", @@ -2945,21 +2711,6 @@ "usedModels": ["ActionInput_ashby_applicationupdatehistory", "ActionOutput_ashby_applicationupdatehistory"], "version": "1.0.0" }, - { - "type": "action", - "description": "Action to consider a candidate for a job", - "endpoint": { - "method": "POST", - "path": "/applications", - "group": "Applications" - }, - "input": "ActionInput_ashby_createapplication", - "name": "create-application", - "output": ["ActionOutput_ashby_createapplication"], - "scopes": [], - "usedModels": ["ActionInput_ashby_createapplication", "ActionOutput_ashby_createapplication"], - "version": "1.0.0" - }, { "type": "action", "description": "Action to create a candidate.", @@ -2975,21 +2726,6 @@ "usedModels": ["ActionInput_ashby_createcandidate", "ActionOutput_ashby_createcandidate"], "version": "1.0.0" }, - { - "type": "action", - "description": "Action to create a note on a candidate.", - "endpoint": { - "method": "POST", - "path": "/notes", - "group": "Notes" - }, - "input": "ActionInput_ashby_createnote", - "name": "create-note", - "output": ["ActionOutput_ashby_createnote"], - "scopes": [], - "usedModels": ["ActionInput_ashby_createnote", "ActionOutput_ashby_createnote"], - "version": "1.0.0" - }, { "type": "action", "description": "List all interview stages for an interview plan in order.", @@ -3059,8 +2795,16 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_ashby_candidates": { + "type": "object", + "properties": { + "candidatelastsyncToken": { + "type": "string" + } + }, + "additionalProperties": false + }, "AshbyCandidate": { "type": "object", "properties": { @@ -3261,10 +3005,10 @@ ], "additionalProperties": false }, - "SyncMetadata_ashby_candidates": { + "SyncMetadata_ashby_jobs": { "type": "object", "properties": { - "candidatelastsyncToken": { + "jobslastsyncToken": { "type": "string" } }, @@ -3397,13 +3141,314 @@ ], "additionalProperties": false }, - "SyncMetadata_ashby_jobs": { + "ActionInput_ashby_createapplication": { "type": "object", "properties": { - "jobslastsyncToken": { + "candidateId": { + "type": "string" + }, + "jobId": { + "type": "string" + }, + "interviewPlanId": { + "type": "string" + }, + "interviewStageId": { + "type": "string" + }, + "sourceId": { + "type": "string" + }, + "creditedToUserId": { "type": "string" } }, + "required": ["candidateId", "jobId", "interviewPlanId", "interviewStageId", "sourceId", "creditedToUserId"], + "additionalProperties": false + }, + "ActionOutput_ashby_createapplication": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "status": { + "type": "string" + }, + "customFields": { + "type": "array", + "items": { + "type": "string" + } + }, + "candidate": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "primaryEmailAddress": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "type": { + "type": "string" + }, + "isPrimary": { + "type": "boolean" + } + }, + "required": ["value", "type", "isPrimary"], + "additionalProperties": false + }, + "primaryPhoneNumber": { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "type": { + "type": "string" + }, + "isPrimary": { + "type": "boolean" + } + }, + "required": ["value", "type", "isPrimary"], + "additionalProperties": false + } + }, + "required": ["id", "name", "primaryEmailAddress", "primaryPhoneNumber"], + "additionalProperties": false + }, + "currentInterviewStage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "orderInInterviewPlan": { + "type": "number" + }, + "interviewPlanId": { + "type": "string" + } + }, + "required": ["id", "title", "type", "orderInInterviewPlan", "interviewPlanId"], + "additionalProperties": false + }, + "source": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "isArchived": { + "type": "boolean" + }, + "sourceType": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "isArchived": { + "type": "boolean" + } + }, + "required": ["id", "title", "isArchived"], + "additionalProperties": false + } + }, + "required": ["id", "title", "isArchived", "sourceType"], + "additionalProperties": false + }, + "archiveReason": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "text": { + "type": "string" + }, + "reasonType": { + "type": "string" + }, + "isArchived": { + "type": "boolean" + } + }, + "required": ["id", "text", "reasonType", "isArchived"], + "additionalProperties": false + }, + "job": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "locationId": { + "type": "string" + }, + "departmentId": { + "type": "string" + } + }, + "required": ["id", "title", "locationId", "departmentId"], + "additionalProperties": false + }, + "creditedToUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "globalRole": { + "type": "string" + }, + "isEnabled": { + "type": "boolean" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + } + }, + "required": ["id", "firstName", "lastName", "email", "globalRole", "isEnabled", "updatedAt"], + "additionalProperties": false + }, + "hiringTeam": { + "type": "array", + "items": { + "type": "string" + } + }, + "appliedViaJobPostingId": { + "type": "string" + } + }, + "required": [ + "id", + "createdAt", + "updatedAt", + "status", + "customFields", + "candidate", + "currentInterviewStage", + "source", + "archiveReason", + "job", + "creditedToUser", + "hiringTeam", + "appliedViaJobPostingId" + ], + "additionalProperties": false + }, + "ActionInput_ashby_createnote": { + "type": "object", + "properties": { + "candidateId": { + "type": "string" + }, + "note": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "value": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": ["value", "type"], + "additionalProperties": false + } + ] + }, + "sendNotifications": { + "type": "boolean" + } + }, + "required": ["candidateId", "note", "sendNotifications"], + "additionalProperties": false + }, + "ActionOutput_ashby_createnote": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "content": { + "type": "string" + }, + "author": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "firstName", "lastName", "email"], + "additionalProperties": false + } + }, + "required": ["id", "createdAt", "content", "author"], "additionalProperties": false }, "ActionInput_ashby_applicationchangesource": { @@ -5799,247 +5844,6 @@ "required": ["success", "errors"], "additionalProperties": false }, - "ActionInput_ashby_createapplication": { - "type": "object", - "properties": { - "candidateId": { - "type": "string" - }, - "jobId": { - "type": "string" - }, - "interviewPlanId": { - "type": "string" - }, - "interviewStageId": { - "type": "string" - }, - "sourceId": { - "type": "string" - }, - "creditedToUserId": { - "type": "string" - } - }, - "required": ["candidateId", "jobId", "interviewPlanId", "interviewStageId", "sourceId", "creditedToUserId"], - "additionalProperties": false - }, - "ActionOutput_ashby_createapplication": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "status": { - "type": "string" - }, - "customFields": { - "type": "array", - "items": { - "type": "string" - } - }, - "candidate": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "primaryEmailAddress": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "type": { - "type": "string" - }, - "isPrimary": { - "type": "boolean" - } - }, - "required": ["value", "type", "isPrimary"], - "additionalProperties": false - }, - "primaryPhoneNumber": { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "type": { - "type": "string" - }, - "isPrimary": { - "type": "boolean" - } - }, - "required": ["value", "type", "isPrimary"], - "additionalProperties": false - } - }, - "required": ["id", "name", "primaryEmailAddress", "primaryPhoneNumber"], - "additionalProperties": false - }, - "currentInterviewStage": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "orderInInterviewPlan": { - "type": "number" - }, - "interviewPlanId": { - "type": "string" - } - }, - "required": ["id", "title", "type", "orderInInterviewPlan", "interviewPlanId"], - "additionalProperties": false - }, - "source": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "isArchived": { - "type": "boolean" - }, - "sourceType": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "isArchived": { - "type": "boolean" - } - }, - "required": ["id", "title", "isArchived"], - "additionalProperties": false - } - }, - "required": ["id", "title", "isArchived", "sourceType"], - "additionalProperties": false - }, - "archiveReason": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "text": { - "type": "string" - }, - "reasonType": { - "type": "string" - }, - "isArchived": { - "type": "boolean" - } - }, - "required": ["id", "text", "reasonType", "isArchived"], - "additionalProperties": false - }, - "job": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "locationId": { - "type": "string" - }, - "departmentId": { - "type": "string" - } - }, - "required": ["id", "title", "locationId", "departmentId"], - "additionalProperties": false - }, - "creditedToUser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "globalRole": { - "type": "string" - }, - "isEnabled": { - "type": "boolean" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - } - }, - "required": ["id", "firstName", "lastName", "email", "globalRole", "isEnabled", "updatedAt"], - "additionalProperties": false - }, - "hiringTeam": { - "type": "array", - "items": { - "type": "string" - } - }, - "appliedViaJobPostingId": { - "type": "string" - } - }, - "required": [ - "id", - "createdAt", - "updatedAt", - "status", - "customFields", - "candidate", - "currentInterviewStage", - "source", - "archiveReason", - "job", - "creditedToUser", - "hiringTeam", - "appliedViaJobPostingId" - ], - "additionalProperties": false - }, "ActionInput_ashby_createcandidate": { "type": "object", "properties": { @@ -6660,75 +6464,6 @@ "required": ["success", "errors"], "additionalProperties": false }, - "ActionInput_ashby_createnote": { - "type": "object", - "properties": { - "candidateId": { - "type": "string" - }, - "note": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "value": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": ["value", "type"], - "additionalProperties": false - } - ] - }, - "sendNotifications": { - "type": "boolean" - } - }, - "required": ["candidateId", "note", "sendNotifications"], - "additionalProperties": false - }, - "ActionOutput_ashby_createnote": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "content": { - "type": "string" - }, - "author": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - } - }, - "required": ["id", "createdAt", "content", "author"], - "additionalProperties": false - }, "ActionInput_ashby_interviewstage": { "type": "object", "properties": { @@ -6774,9 +6509,10 @@ "required": ["stages"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -6785,67 +6521,67 @@ "syncs": [ { "type": "sync", - "description": "Fetches all company records from Attio", + "description": "Fetches all person records from Attio", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/companies", - "group": "Companies" + "path": "/people", + "group": "People" } ], - "input": "SyncMetadata_attio_companies", - "name": "companies", - "output": ["AttioCompany"], + "input": "SyncMetadata_attio_people", + "name": "people", + "output": ["AttioPerson"], "runs": "every hour", "scopes": ["record_permission:read", "object_configuration:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["AttioCompany", "SyncMetadata_attio_companies"], + "usedModels": ["AttioPerson", "SyncMetadata_attio_people"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all deal records from Attio", + "description": "Fetches all company records from Attio", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/deals", - "group": "Deals" + "path": "/companies", + "group": "Companies" } ], - "input": "SyncMetadata_attio_deals", - "name": "deals", - "output": ["AttioDeal"], + "input": "SyncMetadata_attio_companies", + "name": "companies", + "output": ["AttioCompany"], "runs": "every hour", "scopes": ["record_permission:read", "object_configuration:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["AttioDeal", "SyncMetadata_attio_deals"], + "usedModels": ["AttioCompany", "SyncMetadata_attio_companies"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all person records from Attio", + "description": "Fetches all deal records from Attio", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/people", - "group": "People" + "path": "/deals", + "group": "Deals" } ], - "input": "SyncMetadata_attio_people", - "name": "people", - "output": ["AttioPerson"], + "input": "SyncMetadata_attio_deals", + "name": "deals", + "output": ["AttioDeal"], "runs": "every hour", "scopes": ["record_permission:read", "object_configuration:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["AttioPerson", "SyncMetadata_attio_people"], + "usedModels": ["AttioDeal", "SyncMetadata_attio_deals"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -6857,184 +6593,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "AttioCompany": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "workspace_id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "web_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "domains": { - "type": "array", - "items": { - "type": "object", - "properties": { - "domain": { - "type": "string" - }, - "root_domain": { - "type": "string" - } - }, - "required": ["domain", "root_domain"], - "additionalProperties": false - } - }, - "description": { - "type": "string" - }, - "team_member_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "location": { - "type": "object", - "properties": { - "country_code": { - "type": "string" - }, - "line_1": { - "type": ["string", "null"] - }, - "line_2": { - "type": ["string", "null"] - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "postal_code": { - "type": "string" - } - }, - "additionalProperties": false - }, - "categories": { - "type": "array", - "items": { - "type": "string" - } - }, - "logo_url": { - "type": "string" - }, - "twitter_follower_count": { - "type": "number" - }, - "foundation_date": { - "type": "string" - }, - "estimated_arr_usd": { - "type": "number" - }, - "social_links": { - "type": "object", - "properties": { - "linkedin": { - "type": "array", - "items": { - "type": "string" - } - }, - "twitter": { - "type": "array", - "items": { - "type": "string" - } - }, - "facebook": { - "type": "array", - "items": { - "type": "string" - } - }, - "instagram": { - "type": "array", - "items": { - "type": "string" - } - }, - "angellist": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false - } - }, - "required": ["id", "workspace_id", "created_at", "web_url"], - "additionalProperties": false - }, - "SyncMetadata_attio_companies": { - "type": "object", - "additionalProperties": false - }, - "AttioDeal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "workspace_id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "web_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stage_id": { - "type": "string" - }, - "owner_id": { - "type": "string" - }, - "value": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "associated_people_ids": { - "type": "array", - "items": { - "type": "string" - } - }, - "associated_company_id": { - "type": "string" - } - }, - "required": ["id", "workspace_id", "created_at", "web_url"], - "additionalProperties": false - }, - "SyncMetadata_attio_deals": { + "SyncMetadata_attio_people": { "type": "object", "additionalProperties": false }, @@ -7254,13 +6814,189 @@ "required": ["id", "workspace_id", "created_at", "web_url"], "additionalProperties": false }, - "SyncMetadata_attio_people": { + "SyncMetadata_attio_companies": { "type": "object", "additionalProperties": false + }, + "AttioCompany": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "workspace_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "web_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "root_domain": { + "type": "string" + } + }, + "required": ["domain", "root_domain"], + "additionalProperties": false + } + }, + "description": { + "type": "string" + }, + "team_member_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "location": { + "type": "object", + "properties": { + "country_code": { + "type": "string" + }, + "line_1": { + "type": ["string", "null"] + }, + "line_2": { + "type": ["string", "null"] + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "postal_code": { + "type": "string" + } + }, + "additionalProperties": false + }, + "categories": { + "type": "array", + "items": { + "type": "string" + } + }, + "logo_url": { + "type": "string" + }, + "twitter_follower_count": { + "type": "number" + }, + "foundation_date": { + "type": "string" + }, + "estimated_arr_usd": { + "type": "number" + }, + "social_links": { + "type": "object", + "properties": { + "linkedin": { + "type": "array", + "items": { + "type": "string" + } + }, + "twitter": { + "type": "array", + "items": { + "type": "string" + } + }, + "facebook": { + "type": "array", + "items": { + "type": "string" + } + }, + "instagram": { + "type": "array", + "items": { + "type": "string" + } + }, + "angellist": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + }, + "required": ["id", "workspace_id", "created_at", "web_url"], + "additionalProperties": false + }, + "SyncMetadata_attio_deals": { + "type": "object", + "additionalProperties": false + }, + "AttioDeal": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "workspace_id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "web_url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stage_id": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, + "value": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "associated_people_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "associated_company_id": { + "type": "string" + } + }, + "required": ["id", "workspace_id", "created_at", "web_url"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -7268,15 +7004,15 @@ "actions": [ { "type": "action", - "description": "Marks a transaction by changing its status to Committed", + "description": "Creates a new transaction", "endpoint": { - "method": "PUT", + "method": "POST", "path": "/transactions", "group": "Transactions" }, - "input": "ActionInput_avalara_committransaction", - "name": "commit-transaction", - "output": ["ActionOutput_avalara_committransaction"], + "input": "ActionInput_avalara_createtransaction", + "name": "create-transaction", + "output": ["ActionOutput_avalara_createtransaction"], "scopes": [ "AccountAdmin", " AccountOperator", @@ -7285,24 +7021,24 @@ " CompanyAdmin", " CompanyUser", " CSPTester", - " ProStoresOperator", " SSTAdmin", - " TechnicalSupportAdmin" + " TechnicalSupportAdmin", + " TechnicalSupportUser" ], - "usedModels": ["ActionInput_avalara_committransaction", "ActionOutput_avalara_committransaction"], + "usedModels": ["ActionInput_avalara_createtransaction", "ActionOutput_avalara_createtransaction"], "version": "2.0.0" }, { "type": "action", - "description": "Creates a new transaction", + "description": "Marks a transaction by changing its status to Committed", "endpoint": { - "method": "POST", + "method": "PUT", "path": "/transactions", "group": "Transactions" }, - "input": "ActionInput_avalara_createtransaction", - "name": "create-transaction", - "output": ["ActionOutput_avalara_createtransaction"], + "input": "ActionInput_avalara_committransaction", + "name": "commit-transaction", + "output": ["ActionOutput_avalara_committransaction"], "scopes": [ "AccountAdmin", " AccountOperator", @@ -7311,11 +7047,11 @@ " CompanyAdmin", " CompanyUser", " CSPTester", + " ProStoresOperator", " SSTAdmin", - " TechnicalSupportAdmin", - " TechnicalSupportUser" + " TechnicalSupportAdmin" ], - "usedModels": ["ActionInput_avalara_createtransaction", "ActionOutput_avalara_createtransaction"], + "usedModels": ["ActionInput_avalara_committransaction", "ActionOutput_avalara_committransaction"], "version": "2.0.0" }, { @@ -7374,8 +7110,20 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_avalara_transactions": { + "type": "object", + "properties": { + "company": { + "type": "string" + }, + "backfillPeriodMs": { + "type": "number" + } + }, + "required": ["company"], + "additionalProperties": false + }, "Transaction": { "type": "object", "properties": { @@ -8007,39 +7755,6 @@ ], "additionalProperties": false }, - "SyncMetadata_avalara_transactions": { - "type": "object", - "properties": { - "company": { - "type": "string" - }, - "backfillPeriodMs": { - "type": "number" - } - }, - "required": ["company"], - "additionalProperties": false - }, - "ActionInput_avalara_committransaction": { - "type": "object", - "properties": { - "transactionCode": { - "type": "string" - } - }, - "required": ["transactionCode"], - "additionalProperties": false - }, - "ActionOutput_avalara_committransaction": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, "ActionInput_avalara_createtransaction": { "type": "object", "properties": { @@ -8387,6 +8102,26 @@ "required": ["id"], "additionalProperties": false }, + "ActionInput_avalara_committransaction": { + "type": "object", + "properties": { + "transactionCode": { + "type": "string" + } + }, + "required": ["transactionCode"], + "additionalProperties": false + }, + "ActionOutput_avalara_committransaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, "ActionInput_avalara_voidtransaction": { "type": "object", "properties": { @@ -8407,9 +8142,10 @@ "required": ["id"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -8417,15 +8153,15 @@ "actions": [ { "type": "action", - "description": "Marks a transaction by changing its status to Committed", + "description": "Creates a new transaction", "endpoint": { - "method": "PUT", + "method": "POST", "path": "/transactions", "group": "Transactions" }, - "input": "ActionInput_avalara_committransaction", - "name": "commit-transaction", - "output": ["ActionOutput_avalara_committransaction"], + "input": "ActionInput_avalara_createtransaction", + "name": "create-transaction", + "output": ["ActionOutput_avalara_createtransaction"], "scopes": [ "AccountAdmin", " AccountOperator", @@ -8434,24 +8170,24 @@ " CompanyAdmin", " CompanyUser", " CSPTester", - " ProStoresOperator", " SSTAdmin", - " TechnicalSupportAdmin" + " TechnicalSupportAdmin", + " TechnicalSupportUser" ], - "usedModels": ["ActionInput_avalara_committransaction", "ActionOutput_avalara_committransaction"], + "usedModels": ["ActionInput_avalara_createtransaction", "ActionOutput_avalara_createtransaction"], "version": "2.0.0" }, { "type": "action", - "description": "Creates a new transaction", + "description": "Marks a transaction by changing its status to Committed", "endpoint": { - "method": "POST", + "method": "PUT", "path": "/transactions", "group": "Transactions" }, - "input": "ActionInput_avalara_createtransaction", - "name": "create-transaction", - "output": ["ActionOutput_avalara_createtransaction"], + "input": "ActionInput_avalara_committransaction", + "name": "commit-transaction", + "output": ["ActionOutput_avalara_committransaction"], "scopes": [ "AccountAdmin", " AccountOperator", @@ -8460,11 +8196,11 @@ " CompanyAdmin", " CompanyUser", " CSPTester", + " ProStoresOperator", " SSTAdmin", - " TechnicalSupportAdmin", - " TechnicalSupportUser" + " TechnicalSupportAdmin" ], - "usedModels": ["ActionInput_avalara_createtransaction", "ActionOutput_avalara_createtransaction"], + "usedModels": ["ActionInput_avalara_committransaction", "ActionOutput_avalara_committransaction"], "version": "2.0.0" }, { @@ -8523,8 +8259,20 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_avalara_transactions": { + "type": "object", + "properties": { + "company": { + "type": "string" + }, + "backfillPeriodMs": { + "type": "number" + } + }, + "required": ["company"], + "additionalProperties": false + }, "Transaction": { "type": "object", "properties": { @@ -9156,39 +8904,6 @@ ], "additionalProperties": false }, - "SyncMetadata_avalara_transactions": { - "type": "object", - "properties": { - "company": { - "type": "string" - }, - "backfillPeriodMs": { - "type": "number" - } - }, - "required": ["company"], - "additionalProperties": false - }, - "ActionInput_avalara_committransaction": { - "type": "object", - "properties": { - "transactionCode": { - "type": "string" - } - }, - "required": ["transactionCode"], - "additionalProperties": false - }, - "ActionOutput_avalara_committransaction": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, "ActionInput_avalara_createtransaction": { "type": "object", "properties": { @@ -9536,6 +9251,26 @@ "required": ["id"], "additionalProperties": false }, + "ActionInput_avalara_committransaction": { + "type": "object", + "properties": { + "transactionCode": { + "type": "string" + } + }, + "required": ["transactionCode"], + "additionalProperties": false + }, + "ActionOutput_avalara_committransaction": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, "ActionInput_avalara_voidtransaction": { "type": "object", "properties": { @@ -9556,9 +9291,10 @@ "required": ["id"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "avalara" }, { @@ -9626,8 +9362,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_aws_iam_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -9647,10 +9386,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_aws_iam_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_aws_iam_createuser": { "type": "object", "properties": { @@ -9709,9 +9444,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -9732,20 +9468,6 @@ "usedModels": ["ActionInput_bamboohr_basic_createemployee", "ActionOutput_bamboohr_basic_createemployee"], "version": "2.0.0" }, - { - "type": "action", - "description": "Introspection to retrieve available fields", - "endpoint": { - "method": "GET", - "path": "/fields" - }, - "input": "ActionInput_bamboohr_basic_fetchfields", - "name": "fetch-fields", - "output": ["ActionOutput_bamboohr_basic_fetchfields"], - "scopes": [], - "usedModels": ["ActionInput_bamboohr_basic_fetchfields", "ActionOutput_bamboohr_basic_fetchfields"], - "version": "2.0.0" - }, { "type": "action", "description": "Update an existing employee in the system", @@ -9760,6 +9482,20 @@ "scopes": [], "usedModels": ["ActionInput_bamboohr_basic_updateemployee", "ActionOutput_bamboohr_basic_updateemployee"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Introspection to retrieve available fields", + "endpoint": { + "method": "GET", + "path": "/fields" + }, + "input": "ActionInput_bamboohr_basic_fetchfields", + "name": "fetch-fields", + "output": ["ActionOutput_bamboohr_basic_fetchfields"], + "scopes": [], + "usedModels": ["ActionInput_bamboohr_basic_fetchfields", "ActionOutput_bamboohr_basic_fetchfields"], + "version": "2.0.0" } ], "syncs": [ @@ -9815,8 +9551,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_bamboohr_basic_employees": { + "type": "object", + "additionalProperties": false + }, "BamboohrEmployee": { "type": "object", "properties": { @@ -9941,7 +9680,7 @@ ], "additionalProperties": false }, - "SyncMetadata_bamboohr_basic_employees": { + "SyncMetadata_bamboohr_basic_unifiedemployees": { "type": "object", "additionalProperties": false }, @@ -10012,6 +9751,7 @@ "type": "string" } }, + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, "workLocation": { @@ -10148,10 +9888,6 @@ ], "additionalProperties": false }, - "SyncMetadata_bamboohr_basic_unifiedemployees": { - "type": "object", - "additionalProperties": false - }, "ActionInput_bamboohr_basic_createemployee": { "type": "object", "properties": { @@ -10256,51 +9992,6 @@ "required": ["status", "id"], "additionalProperties": false }, - "ActionInput_bamboohr_basic_fetchfields": { - "type": "null" - }, - "ActionOutput_bamboohr_basic_fetchfields": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - } - }, - "required": ["id", "type", "name"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, "ActionInput_bamboohr_basic_updateemployee": { "type": "object", "properties": { @@ -10404,10 +10095,56 @@ }, "required": ["status"], "additionalProperties": false + }, + "ActionInput_bamboohr_basic_fetchfields": { + "type": "null" + }, + "ActionOutput_bamboohr_basic_fetchfields": { + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + } + }, + "required": ["id", "type", "name"], + "additionalProperties": false + } + }, + "required": ["0"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "bamboohr-basic" }, { @@ -10428,20 +10165,6 @@ "usedModels": ["ActionInput_bamboohr_basic_createemployee", "ActionOutput_bamboohr_basic_createemployee"], "version": "2.0.0" }, - { - "type": "action", - "description": "Introspection to retrieve available fields", - "endpoint": { - "method": "GET", - "path": "/fields" - }, - "input": "ActionInput_bamboohr_basic_fetchfields", - "name": "fetch-fields", - "output": ["ActionOutput_bamboohr_basic_fetchfields"], - "scopes": [], - "usedModels": ["ActionInput_bamboohr_basic_fetchfields", "ActionOutput_bamboohr_basic_fetchfields"], - "version": "2.0.0" - }, { "type": "action", "description": "Update an existing employee in the system", @@ -10456,6 +10179,20 @@ "scopes": [], "usedModels": ["ActionInput_bamboohr_basic_updateemployee", "ActionOutput_bamboohr_basic_updateemployee"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Introspection to retrieve available fields", + "endpoint": { + "method": "GET", + "path": "/fields" + }, + "input": "ActionInput_bamboohr_basic_fetchfields", + "name": "fetch-fields", + "output": ["ActionOutput_bamboohr_basic_fetchfields"], + "scopes": [], + "usedModels": ["ActionInput_bamboohr_basic_fetchfields", "ActionOutput_bamboohr_basic_fetchfields"], + "version": "2.0.0" } ], "syncs": [ @@ -10511,8 +10248,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_bamboohr_basic_employees": { + "type": "object", + "additionalProperties": false + }, "BamboohrEmployee": { "type": "object", "properties": { @@ -10637,7 +10377,7 @@ ], "additionalProperties": false }, - "SyncMetadata_bamboohr_basic_employees": { + "SyncMetadata_bamboohr_basic_unifiedemployees": { "type": "object", "additionalProperties": false }, @@ -10708,6 +10448,7 @@ "type": "string" } }, + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, "workLocation": { @@ -10844,10 +10585,6 @@ ], "additionalProperties": false }, - "SyncMetadata_bamboohr_basic_unifiedemployees": { - "type": "object", - "additionalProperties": false - }, "ActionInput_bamboohr_basic_createemployee": { "type": "object", "properties": { @@ -10952,51 +10689,6 @@ "required": ["status", "id"], "additionalProperties": false }, - "ActionInput_bamboohr_basic_fetchfields": { - "type": "null" - }, - "ActionOutput_bamboohr_basic_fetchfields": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - } - }, - "required": ["id", "type", "name"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, "ActionInput_bamboohr_basic_updateemployee": { "type": "object", "properties": { @@ -11100,30 +10792,61 @@ }, "required": ["status"], "additionalProperties": false + }, + "ActionInput_bamboohr_basic_fetchfields": { + "type": "null" + }, + "ActionOutput_bamboohr_basic_fetchfields": { + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + } + }, + "required": ["id", "type", "name"], + "additionalProperties": false + } + }, + "required": ["0"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "basecamp", "actions": [ - { - "type": "action", - "description": "Create a new to-do in a specific project + list. Fetch your todolists via the fetch-todolists action. Identify the list you want to add the todo to and retrieve the id from there.", - "endpoint": { - "method": "POST", - "path": "/todos", - "group": "Todos" - }, - "input": "ActionInput_basecamp_createtodo", - "name": "create-todo", - "output": ["ActionOutput_basecamp_createtodo"], - "scopes": [], - "usedModels": ["ActionInput_basecamp_createtodo", "ActionOutput_basecamp_createtodo"], - "version": "2.0.0" - }, { "type": "action", "description": "Fetch account list and user information from Basecamp", @@ -11168,6 +10891,21 @@ "scopes": [], "usedModels": ["ActionInput_basecamp_fetchtodolists", "ActionOutput_basecamp_fetchtodolists"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Create a new to-do in a specific project + list. Fetch your todolists via the fetch-todolists action. Identify the list you want to add the todo to and retrieve the id from there.", + "endpoint": { + "method": "POST", + "path": "/todos", + "group": "Todos" + }, + "input": "ActionInput_basecamp_createtodo", + "name": "create-todo", + "output": ["ActionOutput_basecamp_createtodo"], + "scopes": [], + "usedModels": ["ActionInput_basecamp_createtodo", "ActionOutput_basecamp_createtodo"], + "version": "2.0.0" } ], "syncs": [ @@ -11201,8 +10939,30 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_basecamp_todos": { + "type": "object", + "properties": { + "projects": { + "type": "array", + "items": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "todoSetId": { + "type": "number" + } + }, + "required": ["projectId", "todoSetId"], + "additionalProperties": false + } + } + }, + "required": ["projects"], + "additionalProperties": false + }, "BasecampTodo": { "type": "object", "properties": { @@ -11283,212 +11043,6 @@ "required": ["id", "content", "completed", "created_at", "updated_at", "bucket_id"], "additionalProperties": false }, - "SyncMetadata_basecamp_todos": { - "type": "object", - "properties": { - "projects": { - "type": "array", - "items": { - "type": "object", - "properties": { - "projectId": { - "type": "number" - }, - "todoSetId": { - "type": "number" - } - }, - "required": ["projectId", "todoSetId"], - "additionalProperties": false - } - } - }, - "required": ["projects"], - "additionalProperties": false - }, - "ActionInput_basecamp_createtodo": { - "type": "object", - "properties": { - "projectId": { - "type": "number" - }, - "todoListId": { - "type": "number" - }, - "content": { - "type": "string" - }, - "description": { - "type": "string" - }, - "due_on": { - "type": "string" - }, - "starts_on": { - "type": "string" - }, - "notify": { - "type": "boolean" - }, - "assigneeEmails": { - "type": "array", - "items": { - "type": "string" - } - }, - "completionSubscriberEmails": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["projectId", "todoListId", "content", "assigneeEmails", "completionSubscriberEmails"], - "additionalProperties": false - }, - "ActionOutput_basecamp_createtodo": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "status": { - "type": "string" - }, - "visible_to_clients": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "title": { - "type": "string" - }, - "inherits_status": { - "type": "boolean" - }, - "type": { - "type": "string" - }, - "url": { - "type": "string" - }, - "app_url": { - "type": "string" - }, - "bookmark_url": { - "type": "string" - }, - "subscription_url": { - "type": "string" - }, - "comments_count": { - "type": "number" - }, - "comments_url": { - "type": "string" - }, - "position": { - "type": "number" - }, - "parent": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "title": { - "type": "string" - }, - "type": { - "type": "string" - }, - "url": { - "type": "string" - }, - "app_url": { - "type": "string" - } - }, - "required": ["id", "title", "type", "url", "app_url"], - "additionalProperties": false - }, - "bucket": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": ["id", "name", "type"], - "additionalProperties": false - }, - "creator": {}, - "description": { - "type": "string" - }, - "completed": { - "type": "boolean" - }, - "content": { - "type": "string" - }, - "starts_on": { - "type": "string" - }, - "due_on": { - "type": "string" - }, - "assignees": { - "type": "array", - "items": {} - }, - "completion_subscribers": { - "type": "array", - "items": {} - }, - "completion_url": { - "type": "string" - } - }, - "required": [ - "id", - "status", - "visible_to_clients", - "created_at", - "updated_at", - "title", - "inherits_status", - "type", - "url", - "app_url", - "bookmark_url", - "subscription_url", - "comments_count", - "comments_url", - "position", - "parent", - "bucket", - "description", - "completed", - "content", - "starts_on", - "due_on", - "assignees", - "completion_subscribers", - "completion_url" - ], - "additionalProperties": false - }, "ActionInput_basecamp_fetchaccounts": { "type": "null" }, @@ -11760,10 +11314,194 @@ }, "required": ["todolists"], "additionalProperties": false + }, + "ActionInput_basecamp_createtodo": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "todoListId": { + "type": "number" + }, + "content": { + "type": "string" + }, + "description": { + "type": "string" + }, + "due_on": { + "type": "string" + }, + "starts_on": { + "type": "string" + }, + "notify": { + "type": "boolean" + }, + "assigneeEmails": { + "type": "array", + "items": { + "type": "string" + } + }, + "completionSubscriberEmails": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["projectId", "todoListId", "content", "assigneeEmails", "completionSubscriberEmails"], + "additionalProperties": false + }, + "ActionOutput_basecamp_createtodo": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "status": { + "type": "string" + }, + "visible_to_clients": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "title": { + "type": "string" + }, + "inherits_status": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "app_url": { + "type": "string" + }, + "bookmark_url": { + "type": "string" + }, + "subscription_url": { + "type": "string" + }, + "comments_count": { + "type": "number" + }, + "comments_url": { + "type": "string" + }, + "position": { + "type": "number" + }, + "parent": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "url": { + "type": "string" + }, + "app_url": { + "type": "string" + } + }, + "required": ["id", "title", "type", "url", "app_url"], + "additionalProperties": false + }, + "bucket": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": ["id", "name", "type"], + "additionalProperties": false + }, + "creator": {}, + "description": { + "type": "string" + }, + "completed": { + "type": "boolean" + }, + "content": { + "type": "string" + }, + "starts_on": { + "type": "string" + }, + "due_on": { + "type": "string" + }, + "assignees": { + "type": "array", + "items": {} + }, + "completion_subscribers": { + "type": "array", + "items": {} + }, + "completion_url": { + "type": "string" + } + }, + "required": [ + "id", + "status", + "visible_to_clients", + "created_at", + "updated_at", + "title", + "inherits_status", + "type", + "url", + "app_url", + "bookmark_url", + "subscription_url", + "comments_count", + "comments_url", + "position", + "parent", + "bucket", + "description", + "completed", + "content", + "starts_on", + "due_on", + "assignees", + "completion_subscribers", + "completion_url" + ], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -11831,8 +11569,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_bill_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -11852,10 +11593,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_bill_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_bill_createuser": { "type": "object", "properties": { @@ -11917,9 +11654,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -11987,8 +11725,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_bill_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -12008,10 +11749,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_bill_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_bill_createuser": { "type": "object", "properties": { @@ -12073,9 +11810,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "bill" }, { @@ -12105,7 +11843,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_bitdefender_getcompanydetails": { "type": "null" @@ -12148,9 +11885,10 @@ "required": ["id", "name", "type", "subscribedServices"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -12205,23 +11943,23 @@ "syncs": [ { "type": "sync", - "description": "Sync the metadata of a specified files or folders paths from Box. A file or folder id or path can be used.", - "auto_start": false, + "description": "Fetches a list of users from Box. Requires an enterprise account.", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/files", - "group": "Files" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_box_files", - "name": "files", - "output": ["BoxDocument"], + "input": "SyncMetadata_box_users", + "name": "users", + "output": ["User"], "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["BoxDocument", "SyncMetadata_box_files"], + "usedModels": ["User", "SyncMetadata_box_users"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -12249,23 +11987,23 @@ }, { "type": "sync", - "description": "Fetches a list of users from Box. Requires an enterprise account.", - "auto_start": true, + "description": "Sync the metadata of a specified files or folders paths from Box. A file or folder id or path can be used.", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/files", + "group": "Files" } ], - "input": "SyncMetadata_box_users", - "name": "users", - "output": ["User"], + "input": "SyncMetadata_box_files", + "name": "files", + "output": ["BoxDocument"], "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_box_users"], + "usedModels": ["BoxDocument", "SyncMetadata_box_files"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -12277,25 +12015,51 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "BoxDocument": { + "SyncMetadata_box_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "email": { "type": "string" }, - "download_url": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "SyncMetadata_box_folders": { + "type": "object", + "additionalProperties": false + }, + "Folder": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { "type": "string" }, "modified_at": { "type": "string" + }, + "url": { + "type": ["string", "null"] } }, - "required": ["id", "name", "download_url", "modified_at"], + "required": ["id", "name", "modified_at", "url"], "additionalProperties": false }, "SyncMetadata_box_files": { @@ -12317,53 +12081,23 @@ "required": ["files", "folders"], "additionalProperties": false }, - "Folder": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "title": { - "type": "string" - }, - "mimeType": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": ["id", "url", "title", "mimeType", "updatedAt"], - "additionalProperties": false - }, - "SyncMetadata_box_folders": { - "type": "object", - "additionalProperties": false - }, - "User": { + "BoxDocument": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "name": { "type": "string" }, - "lastName": { + "download_url": { "type": "string" }, - "email": { + "modified_at": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_box_users": { - "type": "object", + "required": ["id", "name", "download_url", "modified_at"], "additionalProperties": false }, "ActionInput_box_createuser": { @@ -12559,9 +12293,10 @@ "required": ["files", "folders"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -12570,67 +12305,67 @@ "syncs": [ { "type": "sync", - "description": "Fetches analytics for a specified list of books from Brightcrowd.", - "auto_start": false, + "description": "Fetches a list of all books in an account from Brightcrowd.", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/book-analytics", + "path": "/books", "group": "Books" } ], - "input": "SyncMetadata_brightcrowd_bookanalytics", - "name": "book-analytics", - "output": ["BookAnalytics"], + "input": "SyncMetadata_brightcrowd_books", + "name": "books", + "output": ["Book"], "runs": "every day", "scopes": ["bcb.partner/book.read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["BookAnalytics", "SyncMetadata_brightcrowd_bookanalytics"], + "usedModels": ["Book", "SyncMetadata_brightcrowd_books"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of all books in an account from Brightcrowd.", - "auto_start": true, + "description": "Fetches a list of specified books from Brightcrowd.", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/books", + "path": "/books-by-Id", "group": "Books" } ], - "input": "SyncMetadata_brightcrowd_books", - "name": "books", - "output": ["Book"], + "input": "SyncMetadata_brightcrowd_booksbyid", + "name": "books-by-id", + "output": ["BookById"], "runs": "every day", "scopes": ["bcb.partner/book.read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Book", "SyncMetadata_brightcrowd_books"], + "usedModels": ["BookById", "SyncMetadata_brightcrowd_booksbyid"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of specified books from Brightcrowd.", + "description": "Fetches analytics for a specified list of books from Brightcrowd.", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/books-by-Id", + "path": "/book-analytics", "group": "Books" } ], - "input": "SyncMetadata_brightcrowd_booksbyid", - "name": "books-by-id", - "output": ["BookById"], + "input": "SyncMetadata_brightcrowd_bookanalytics", + "name": "book-analytics", + "output": ["BookAnalytics"], "runs": "every day", "scopes": ["bcb.partner/book.read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["BookById", "SyncMetadata_brightcrowd_booksbyid"], + "usedModels": ["BookAnalytics", "SyncMetadata_brightcrowd_bookanalytics"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -12664,298 +12399,9 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "BookAnalytics": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "email": { - "type": "object", - "properties": { - "notifications": { - "type": "array", - "items": { - "type": "object", - "properties": { - "uri": { - "type": "string" - }, - "topicUri": { - "type": "string" - }, - "status": { - "type": "string" - }, - "messageCount": { - "type": "number" - }, - "openCount": { - "type": "number" - }, - "clickCount": { - "type": "number" - }, - "uniqueOpenCount": { - "type": "number" - }, - "uniqueClickCount": { - "type": "number" - }, - "bounceCount": { - "type": "number" - } - }, - "required": [ - "uri", - "topicUri", - "status", - "messageCount", - "openCount", - "clickCount", - "uniqueOpenCount", - "uniqueClickCount", - "bounceCount" - ], - "additionalProperties": false - } - }, - "invitations": { - "type": "object", - "properties": { - "messageCount": { - "type": "number" - }, - "uniqueOpenCount": { - "type": "number" - }, - "uniqueClickCount": { - "type": "number" - }, - "bounceCount": { - "type": "number" - }, - "uniqueInvitationOpenUserCount": { - "type": "number" - }, - "uniqueInvitationBounceUserCount": { - "type": "number" - } - }, - "required": [ - "messageCount", - "uniqueOpenCount", - "uniqueClickCount", - "bounceCount", - "uniqueInvitationOpenUserCount", - "uniqueInvitationBounceUserCount" - ], - "additionalProperties": false - }, - "web": { - "type": "object", - "properties": { - "dateRange": { - "type": "string" - }, - "values": { - "type": "object", - "properties": { - "visitors": { - "type": "number" - }, - "totalPageViews": { - "type": "number" - }, - "sessions": { - "type": "number" - }, - "socialClicks": { - "type": "number" - } - }, - "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], - "additionalProperties": false - }, - "previousValues": { - "type": "object", - "properties": { - "visitors": { - "type": "number" - }, - "totalPageViews": { - "type": "number" - }, - "sessions": { - "type": "number" - }, - "socialClicks": { - "type": "number" - } - }, - "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], - "additionalProperties": false - } - }, - "required": ["dateRange", "values", "previousValues"], - "additionalProperties": false - }, - "book": { - "type": "object", - "properties": { - "values": { - "type": "object", - "properties": { - "pagesCreated": { - "type": "number" - }, - "pagesUpdated": { - "type": "number" - }, - "taggedUsers": { - "type": "number" - } - }, - "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], - "additionalProperties": false - }, - "previousValues": { - "type": "object", - "properties": { - "pagesCreated": { - "type": "number" - }, - "pagesUpdated": { - "type": "number" - }, - "taggedUsers": { - "type": "number" - } - }, - "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], - "additionalProperties": false - } - }, - "required": ["values", "previousValues"], - "additionalProperties": false - } - }, - "required": ["notifications", "invitations", "web", "book"], - "additionalProperties": false - }, - "web": { - "type": "object", - "properties": { - "dateRange": { - "type": "string" - }, - "values": { - "type": "object", - "properties": { - "visitors": { - "type": "number" - }, - "totalPageViews": { - "type": "number" - }, - "sessions": { - "type": "number" - }, - "socialClicks": { - "type": "number" - } - }, - "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], - "additionalProperties": false - }, - "previousValues": { - "type": "object", - "properties": { - "visitors": { - "type": "number" - }, - "totalPageViews": { - "type": "number" - }, - "sessions": { - "type": "number" - }, - "socialClicks": { - "type": "number" - } - }, - "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], - "additionalProperties": false - } - }, - "required": ["dateRange", "values", "previousValues"], - "additionalProperties": false - }, - "book": { - "type": "object", - "properties": { - "values": { - "type": "object", - "properties": { - "pagesCreated": { - "type": "number" - }, - "pagesUpdated": { - "type": "number" - }, - "taggedUsers": { - "type": "number" - } - }, - "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], - "additionalProperties": false - }, - "previousValues": { - "type": "object", - "properties": { - "pagesCreated": { - "type": "number" - }, - "pagesUpdated": { - "type": "number" - }, - "taggedUsers": { - "type": "number" - } - }, - "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], - "additionalProperties": false - } - }, - "required": ["values", "previousValues"], - "additionalProperties": false - } - }, - "required": ["id", "email", "web", "book"], - "additionalProperties": false - }, - "SyncMetadata_brightcrowd_bookanalytics": { + "SyncMetadata_brightcrowd_books": { "type": "object", - "properties": { - "bookIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "timeframe": { - "anyOf": [ - {}, - { - "type": "string", - "const": "all" - } - ] - } - }, - "required": ["bookIds"], "additionalProperties": false }, "Book": { @@ -13306,8 +12752,26 @@ ], "additionalProperties": false }, - "SyncMetadata_brightcrowd_books": { + "SyncMetadata_brightcrowd_booksbyid": { "type": "object", + "properties": { + "bookIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "timeframe": { + "anyOf": [ + {}, + { + "type": "string", + "const": "all" + } + ] + } + }, + "required": ["bookIds"], "additionalProperties": false }, "BookById": { @@ -13658,7 +13122,299 @@ ], "additionalProperties": false }, - "SyncMetadata_brightcrowd_booksbyid": { + "SyncMetadata_brightcrowd_bookanalytics": { + "type": "object", + "properties": { + "bookIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "timeframe": { + "anyOf": [ + {}, + { + "type": "string", + "const": "all" + } + ] + } + }, + "required": ["bookIds"], + "additionalProperties": false + }, + "BookAnalytics": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "object", + "properties": { + "notifications": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uri": { + "type": "string" + }, + "topicUri": { + "type": "string" + }, + "status": { + "type": "string" + }, + "messageCount": { + "type": "number" + }, + "openCount": { + "type": "number" + }, + "clickCount": { + "type": "number" + }, + "uniqueOpenCount": { + "type": "number" + }, + "uniqueClickCount": { + "type": "number" + }, + "bounceCount": { + "type": "number" + } + }, + "required": [ + "uri", + "topicUri", + "status", + "messageCount", + "openCount", + "clickCount", + "uniqueOpenCount", + "uniqueClickCount", + "bounceCount" + ], + "additionalProperties": false + } + }, + "invitations": { + "type": "object", + "properties": { + "messageCount": { + "type": "number" + }, + "uniqueOpenCount": { + "type": "number" + }, + "uniqueClickCount": { + "type": "number" + }, + "bounceCount": { + "type": "number" + }, + "uniqueInvitationOpenUserCount": { + "type": "number" + }, + "uniqueInvitationBounceUserCount": { + "type": "number" + } + }, + "required": [ + "messageCount", + "uniqueOpenCount", + "uniqueClickCount", + "bounceCount", + "uniqueInvitationOpenUserCount", + "uniqueInvitationBounceUserCount" + ], + "additionalProperties": false + }, + "web": { + "type": "object", + "properties": { + "dateRange": { + "type": "string" + }, + "values": { + "type": "object", + "properties": { + "visitors": { + "type": "number" + }, + "totalPageViews": { + "type": "number" + }, + "sessions": { + "type": "number" + }, + "socialClicks": { + "type": "number" + } + }, + "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], + "additionalProperties": false + }, + "previousValues": { + "type": "object", + "properties": { + "visitors": { + "type": "number" + }, + "totalPageViews": { + "type": "number" + }, + "sessions": { + "type": "number" + }, + "socialClicks": { + "type": "number" + } + }, + "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], + "additionalProperties": false + } + }, + "required": ["dateRange", "values", "previousValues"], + "additionalProperties": false + }, + "book": { + "type": "object", + "properties": { + "values": { + "type": "object", + "properties": { + "pagesCreated": { + "type": "number" + }, + "pagesUpdated": { + "type": "number" + }, + "taggedUsers": { + "type": "number" + } + }, + "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], + "additionalProperties": false + }, + "previousValues": { + "type": "object", + "properties": { + "pagesCreated": { + "type": "number" + }, + "pagesUpdated": { + "type": "number" + }, + "taggedUsers": { + "type": "number" + } + }, + "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], + "additionalProperties": false + } + }, + "required": ["values", "previousValues"], + "additionalProperties": false + } + }, + "required": ["notifications", "invitations", "web", "book"], + "additionalProperties": false + }, + "web": { + "type": "object", + "properties": { + "dateRange": { + "type": "string" + }, + "values": { + "type": "object", + "properties": { + "visitors": { + "type": "number" + }, + "totalPageViews": { + "type": "number" + }, + "sessions": { + "type": "number" + }, + "socialClicks": { + "type": "number" + } + }, + "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], + "additionalProperties": false + }, + "previousValues": { + "type": "object", + "properties": { + "visitors": { + "type": "number" + }, + "totalPageViews": { + "type": "number" + }, + "sessions": { + "type": "number" + }, + "socialClicks": { + "type": "number" + } + }, + "required": ["visitors", "totalPageViews", "sessions", "socialClicks"], + "additionalProperties": false + } + }, + "required": ["dateRange", "values", "previousValues"], + "additionalProperties": false + }, + "book": { + "type": "object", + "properties": { + "values": { + "type": "object", + "properties": { + "pagesCreated": { + "type": "number" + }, + "pagesUpdated": { + "type": "number" + }, + "taggedUsers": { + "type": "number" + } + }, + "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], + "additionalProperties": false + }, + "previousValues": { + "type": "object", + "properties": { + "pagesCreated": { + "type": "number" + }, + "pagesUpdated": { + "type": "number" + }, + "taggedUsers": { + "type": "number" + } + }, + "required": ["pagesCreated", "pagesUpdated", "taggedUsers"], + "additionalProperties": false + } + }, + "required": ["values", "previousValues"], + "additionalProperties": false + } + }, + "required": ["id", "email", "web", "book"], + "additionalProperties": false + }, + "SyncMetadata_brightcrowd_pages": { "type": "object", "properties": { "bookIds": { @@ -13948,32 +13704,11 @@ }, "required": ["id", "alias", "name", "status", "content", "created"], "additionalProperties": false - }, - "SyncMetadata_brightcrowd_pages": { - "type": "object", - "properties": { - "bookIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "timeframe": { - "anyOf": [ - {}, - { - "type": "string", - "const": "all" - } - ] - } - }, - "required": ["bookIds"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -13982,43 +13717,43 @@ "syncs": [ { "type": "sync", - "description": "Retrieve all event types per a user", + "description": "Retrieve all upcoming events per a user", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/event/types" + "path": "/events" } ], - "input": "SyncMetadata_cal_com_v2_eventtypes", - "name": "event-types", - "output": ["EventType"], + "input": "SyncMetadata_cal_com_v2_events", + "name": "events", + "output": ["Event"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["EventType", "SyncMetadata_cal_com_v2_eventtypes"], + "usedModels": ["Event", "SyncMetadata_cal_com_v2_events"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Retrieve all upcoming events per a user", + "description": "Retrieve all event types per a user", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/events" + "path": "/event/types" } ], - "input": "SyncMetadata_cal_com_v2_events", - "name": "events", - "output": ["Event"], + "input": "SyncMetadata_cal_com_v2_eventtypes", + "name": "event-types", + "output": ["EventType"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["Event", "SyncMetadata_cal_com_v2_events"], + "usedModels": ["EventType", "SyncMetadata_cal_com_v2_eventtypes"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -14030,355 +13765,589 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "EventType": { + "SyncMetadata_cal_com_v2_events": { + "type": "object", + "additionalProperties": false + }, + "Event": { "type": "object", "properties": { "id": { "type": "string" }, - "uri": { + "title": { "type": "string" }, - "name": { - "type": ["string", "null"] - }, - "active": { - "type": "boolean" + "userPrimaryEmail": { + "type": "string" }, - "booking_method": { + "description": { "type": "string" }, - "slug": { - "type": ["string", "null"] + "customInputs": { + "type": "object", + "additionalProperties": false }, - "scheduling_url": { + "startTime": { "type": "string" }, - "duration": { - "type": "number" + "endTime": { + "type": "string" }, - "duration_options": { - "anyOf": [ - { - "type": "array", - "items": { + "attendees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "timeZone": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "bookingId": { "type": "number" } }, - { - "type": "null" - } - ] - }, - "kind": { - "type": "string" - }, - "pooling_type": { - "type": ["string", "null"] + "required": ["id", "email", "name", "timeZone", "locale", "bookingId"], + "additionalProperties": false + } }, - "type": { - "type": "string" + "metadata": { + "type": "object", + "additionalProperties": false }, - "color": { + "uid": { "type": "string" }, - "created_at": { + "recurringEventId": { "type": "string" }, - "updated_at": { + "location": { "type": "string" }, - "internal_note": { - "type": ["string", "null"] - }, - "description_plain": { - "type": ["string", "null"] - }, - "description_html": { - "type": ["string", "null"] - }, - "profile": { - "anyOf": [ - { + "eventType": { + "type": "object", + "properties": { + "slug": { + "type": "string" + }, + "id": { + "type": "number" + }, + "eventName": { + "type": "string" + }, + "price": { + "type": "number" + }, + "recurringEvent": { "type": "object", - "properties": { - "type": { - "type": "string" - }, - "name": { - "type": "string" - }, - "owner": { - "type": "string" - } - }, - "required": ["type", "name", "owner"], "additionalProperties": false }, - { - "type": "null" + "currency": { + "type": "string" + }, + "metadata": { + "type": "object", + "additionalProperties": false + }, + "seatsShowAttendees": { + "type": "object", + "additionalProperties": false + }, + "seatsShowAvailabilityCount": { + "type": "object", + "additionalProperties": false + }, + "team": { + "type": "object", + "additionalProperties": false } - ] - }, - "secret": { - "type": "boolean" + }, + "required": [ + "slug", + "id", + "eventName", + "price", + "recurringEvent", + "currency", + "metadata", + "seatsShowAttendees", + "seatsShowAvailabilityCount", + "team" + ], + "additionalProperties": false }, - "deleted_at": { - "type": ["string", "null"] + "status": { + "type": "object", + "additionalProperties": false }, - "admin_managed": { + "paid": { "type": "boolean" }, - "locations": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "kind": { - "type": "string" - }, - "phone_number": { - "type": ["number", "null"] - }, - "additional_info": { - "type": ["string", "null"] - } - }, - "required": ["kind"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "custom_questions": { + "payment": { "type": "array", "items": { "type": "object", - "properties": { - "name": { - "type": "string" + "additionalProperties": false + } + }, + "references": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" }, "type": { "type": "string" }, - "position": { - "type": "number" + "uid": { + "type": "string" }, - "enabled": { - "type": "boolean" + "meetingId": { + "type": "string" }, - "required": { - "type": "boolean" + "thirdPartyRecurringEventId": { + "type": "string" }, - "answer_choices": { - "type": "array", - "items": { - "type": "string" - } + "meetingPassword": { + "type": "string" }, - "include_other": { - "type": "boolean" + "meetingUrl": { + "type": "string" + }, + "bookingId": { + "type": "number" + }, + "externalCalendarId": { + "type": "string" + }, + "deleted": { + "type": "object", + "additionalProperties": false + }, + "credentialId": { + "type": "number" } }, - "required": ["name", "type", "position", "enabled", "required", "answer_choices", "include_other"], + "required": [ + "id", + "type", + "uid", + "meetingId", + "thirdPartyRecurringEventId", + "meetingPassword", + "meetingUrl", + "bookingId", + "externalCalendarId", + "deleted", + "credentialId" + ], "additionalProperties": false } }, - "position": { - "type": "number" - } - }, - "required": [ - "id", - "uri", - "name", - "active", - "booking_method", - "slug", - "scheduling_url", - "duration", - "duration_options", - "kind", - "pooling_type", - "type", - "color", - "created_at", - "updated_at", - "internal_note", - "description_plain", - "description_html", - "profile", - "secret", - "deleted_at", - "admin_managed", - "locations", - "custom_questions", - "position" - ], - "additionalProperties": false - }, - "SyncMetadata_cal_com_v2_eventtypes": { - "type": "object", - "additionalProperties": false - }, - "Event": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "start_at": { - "type": "string" - }, - "end_at": { - "type": "string" - }, - "cover_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "description_md": { - "type": "string" - }, - "series_api_id": { - "type": ["string", "null"] - }, - "duration_interval_iso8601": { - "type": "string" - }, - "geo_latitude": { - "type": ["string", "null"] + "isRecorded": { + "type": "boolean" }, - "geo_longitude": { - "type": ["string", "null"] + "seatsReferences": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false + } }, - "geo_address_json": { - "anyOf": [ - { + "user": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "name": { + "type": "string" + }, + "weekStart": { + "type": "string" + }, + "organizationId": { + "type": "number" + }, + "avatarUrl": { + "type": "string" + }, + "profile": { "type": "object", "properties": { - "city": { + "username": { "type": "string" }, - "type": { - "type": "string" + "id": { + "type": "number" }, - "region": { - "type": "string" + "userId": { + "type": "number" }, - "address": { + "uid": { "type": "string" }, - "country": { + "name": { "type": "string" }, - "latitude": { - "type": "string" + "organizationId": { + "type": "number" }, - "place_id": { + "organization": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "slug": { + "type": "string" + }, + "name": { + "type": "string" + }, + "metadata": { + "type": "object", + "additionalProperties": false + } + }, + "required": ["id", "slug", "name", "metadata"], + "additionalProperties": false + }, + "upId": { "type": "string" }, - "longitude": { + "image": { "type": "string" }, - "city_state": { + "brandColor": { "type": "string" }, - "description": { + "darkBrandColor": { "type": "string" }, - "full_address": { + "theme": { "type": "string" + }, + "bookerLayouts": { + "type": "object", + "additionalProperties": false } }, "required": [ - "city", - "type", - "region", - "address", - "country", - "latitude", - "place_id", - "longitude", - "city_state", - "description", - "full_address" + "username", + "id", + "userId", + "uid", + "name", + "organizationId", + "organization", + "upId", + "image", + "brandColor", + "darkBrandColor", + "theme", + "bookerLayouts" ], "additionalProperties": false }, - { - "type": "null" + "bookerUrl": { + "type": "string" } - ] + }, + "required": ["username", "name", "weekStart", "organizationId", "avatarUrl", "profile", "bookerUrl"], + "additionalProperties": false }, - "url": { + "rescheduled": { + "type": "object", + "additionalProperties": false + } + }, + "required": [ + "id", + "title", + "userPrimaryEmail", + "description", + "customInputs", + "startTime", + "endTime", + "attendees", + "metadata", + "uid", + "recurringEventId", + "location", + "eventType", + "status", + "paid", + "payment", + "references", + "isRecorded", + "seatsReferences", + "user", + "rescheduled" + ], + "additionalProperties": false + }, + "SyncMetadata_cal_com_v2_eventtypes": { + "type": "object", + "additionalProperties": false + }, + "EventType": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "timezone": { + "teamId": { + "type": ["null", "number"] + }, + "schedulingType": { + "type": ["null", "string"] + }, + "userId": { + "type": "number" + }, + "metadata": { + "type": "object", + "additionalProperties": false + }, + "description": { + "type": ["string", "null"] + }, + "hidden": { + "type": "boolean" + }, + "slug": { "type": "string" }, - "event_type": { + "length": { + "type": "number" + }, + "title": { "type": "string" }, - "user_api_id": { + "requiresConfirmation": { + "type": "boolean" + }, + "position": { + "type": "number" + }, + "offsetStart": { + "type": "number" + }, + "profileId": { + "type": ["string", "null"] + }, + "eventName": { + "type": ["string", "null"] + }, + "parentId": { + "type": ["number", "null"] + }, + "timeZone": { + "type": ["string", "null"] + }, + "periodType": { "type": "string" }, - "visibility": { + "periodStartDate": { + "type": ["string", "null"] + }, + "periodEndDate": { + "type": ["string", "null"] + }, + "periodDays": { + "type": ["number", "null"] + }, + "periodCountCalendarDays": { + "type": ["number", "null"] + }, + "lockTimeZoneToggleOnBookingPage": { + "type": "boolean" + }, + "requiresBookerEmailVerification": { + "type": "boolean" + }, + "disableGuests": { + "type": "boolean" + }, + "hideCalendarNotes": { + "type": "boolean" + }, + "minimumBookingNotice": { + "type": "number" + }, + "beforeEventBuffer": { + "type": "number" + }, + "afterEventBuffer": { + "type": "number" + }, + "seatsPerTimeSlot": { + "type": ["number", "null"] + }, + "onlyShowFirstAvailableSlot": { + "type": "boolean" + }, + "seatsShowAttendees": { + "type": "boolean" + }, + "seatsShowAvailabilityCount": { + "type": "boolean" + }, + "scheduleId": { + "type": ["number", "null"] + }, + "price": { + "type": "number" + }, + "currency": { "type": "string" }, - "meeting_url": { + "slotInterval": { + "type": ["number", "null"] + }, + "successRedirectUrl": { "type": ["string", "null"] }, - "zoom_meeting_url": { + "isInstantEvent": { + "type": "boolean" + }, + "aiPhoneCallConfig": { + "type": ["string", "null"] + }, + "assignAllTeamMembers": { + "type": "boolean" + }, + "recurringEvent": { + "type": ["boolean", "null"] + }, + "locations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "required": ["type"], + "additionalProperties": false + } + }, + "bookingFields": { + "type": ["string", "null"] + }, + "useEventTypeDestinationCalendarEmail": { + "type": "boolean" + }, + "secondaryEmailId": { + "type": ["string", "null"] + }, + "bookingLimits": { + "type": ["boolean", "null"] + }, + "durationLimits": { + "type": ["boolean", "null"] + }, + "hashedLink": { "type": ["string", "null"] + }, + "children": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false + } + }, + "hosts": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false + } + }, + "userIds": { + "type": "array", + "items": { + "type": "number" + } } }, "required": [ "id", - "created_at", - "start_at", - "end_at", - "cover_url", - "name", + "teamId", + "schedulingType", + "userId", + "metadata", "description", - "description_md", - "series_api_id", - "duration_interval_iso8601", - "geo_latitude", - "geo_longitude", - "geo_address_json", - "url", - "timezone", - "event_type", - "user_api_id", - "visibility", - "meeting_url", - "zoom_meeting_url" + "hidden", + "slug", + "length", + "title", + "requiresConfirmation", + "position", + "offsetStart", + "profileId", + "eventName", + "parentId", + "timeZone", + "periodType", + "periodStartDate", + "periodEndDate", + "periodDays", + "periodCountCalendarDays", + "lockTimeZoneToggleOnBookingPage", + "requiresBookerEmailVerification", + "disableGuests", + "hideCalendarNotes", + "minimumBookingNotice", + "beforeEventBuffer", + "afterEventBuffer", + "seatsPerTimeSlot", + "onlyShowFirstAvailableSlot", + "seatsShowAttendees", + "seatsShowAvailabilityCount", + "scheduleId", + "price", + "currency", + "slotInterval", + "successRedirectUrl", + "isInstantEvent", + "aiPhoneCallConfig", + "assignAllTeamMembers", + "recurringEvent", + "locations", + "bookingFields", + "useEventTypeDestinationCalendarEmail", + "secondaryEmailId", + "bookingLimits", + "durationLimits", + "hashedLink", + "children", + "hosts", + "userIds" ], "additionalProperties": false - }, - "SyncMetadata_cal_com_v2_events": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -14433,23 +14402,23 @@ "syncs": [ { "type": "sync", - "description": "For all events (active and canceled) retrieve the event invitees", + "description": "Retrieve all events per a user", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/event/invitees" + "path": "/events" } ], - "input": "SyncMetadata_calendly_eventinvitees", - "name": "event-invitees", - "output": ["EventInvitee"], + "input": "SyncMetadata_calendly_events", + "name": "events", + "output": ["Event"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["EventInvitee", "SyncMetadata_calendly_eventinvitees"], - "version": "2.0.0", + "usedModels": ["Event", "SyncMetadata_calendly_events"], + "version": "3.0.0", "webhookSubscriptions": [] }, { @@ -14475,23 +14444,23 @@ }, { "type": "sync", - "description": "Retrieve all events per a user", + "description": "For all events (active and canceled) retrieve the event invitees", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/events" + "path": "/event/invitees" } ], - "input": "SyncMetadata_calendly_events", - "name": "events", - "output": ["Event"], + "input": "SyncMetadata_calendly_eventinvitees", + "name": "event-invitees", + "output": ["EventInvitee"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Event", "SyncMetadata_calendly_events"], - "version": "3.0.0", + "usedModels": ["EventInvitee", "SyncMetadata_calendly_eventinvitees"], + "version": "2.0.0", "webhookSubscriptions": [] }, { @@ -14524,176 +14493,142 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "EventInvitee": { + "SyncMetadata_calendly_events": { + "type": "object", + "additionalProperties": false + }, + "Event": { "type": "object", "properties": { "id": { "type": "string" }, - "cancel_url": { - "type": "string" - }, - "created_at": { - "type": "string" - }, - "email": { - "type": "string" - }, - "event": { + "uri": { "type": "string" }, "name": { - "type": "string" - }, - "first_name": { - "type": ["string", "null"] - }, - "last_name": { "type": ["string", "null"] }, - "new_invitee": { + "meeting_notes_plain": { "type": ["string", "null"] }, - "old_invitee": { + "meeting_notes_html": { "type": ["string", "null"] }, - "questions_and_answers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "answer": { - "type": "string" - }, - "position": { - "type": "number" - }, - "question": { - "type": "string" - } - }, - "required": ["answer", "position", "question"], - "additionalProperties": false - } + "status": { + "type": "string", + "enum": ["active", "canceled"] }, - "reschedule_url": { + "start_time": { "type": "string" }, - "rescheduled": { - "type": "boolean" - }, - "status": { + "end_time": { "type": "string" }, - "text_reminder_number": { - "type": ["string", "null"] - }, - "timezone": { + "event_type": { "type": "string" }, - "tracking": { + "location": { "type": "object", "properties": { - "utm_campaign": { - "type": ["string", "null"] + "type": { + "type": "string" }, - "utm_source": { + "location": { "type": ["string", "null"] }, - "utm_medium": { + "join_url": { "type": ["string", "null"] }, - "utm_content": { + "status": { "type": ["string", "null"] }, - "utm_term": { + "additional_info": { "type": ["string", "null"] + } + }, + "additionalProperties": false + }, + "invitees_counter": { + "type": "object", + "properties": { + "total": { + "type": "number" }, - "salesforce_uuid": { - "type": ["string", "null"] + "active": { + "type": "number" + }, + "limit": { + "type": "number" } }, - "required": ["utm_campaign", "utm_source", "utm_medium", "utm_content", "utm_term", "salesforce_uuid"], + "required": ["total", "active", "limit"], "additionalProperties": false }, - "updated_at": { + "created_at": { "type": "string" }, - "uri": { + "updated_at": { "type": "string" }, - "cancellation": { - "type": "object", - "properties": { - "canceled_by": { - "type": "string" - }, - "reason": { - "type": ["string", "null"] - }, - "canceler_type": { - "type": "string" + "event_memberships": { + "type": "array", + "items": { + "type": "object", + "properties": { + "user": { + "type": "string" + }, + "user_email": { + "type": ["string", "null"] + }, + "user_name": { + "type": "string" + }, + "buffered_end_time": { + "type": "string" + }, + "buffered_start_time": { + "type": "string" + } }, - "created_at": { - "type": "string" - } - }, - "required": ["canceled_by", "reason", "canceler_type", "created_at"], - "additionalProperties": false - }, - "routing_form_submission": { - "type": ["string", "null"] + "required": ["user", "user_email", "user_name"], + "additionalProperties": false + } }, - "payment": { - "anyOf": [ - { - "type": "object", - "properties": { - "external_id": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "terms": { - "type": "string" - }, - "successful": { - "type": "boolean" - } + "event_guests": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" }, - "required": ["external_id", "provider", "amount", "currency", "terms", "successful"], - "additionalProperties": false + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } }, - { - "type": "null" - } - ] - }, - "no_show": { - "type": ["string", "null"] + "required": ["email", "created_at", "updated_at"], + "additionalProperties": false + } }, - "reconfirmation": { + "calendar_event": { "anyOf": [ { "type": "object", "properties": { - "created_at": { + "kind": { "type": "string" }, - "confirmed_at": { + "external_id": { "type": "string" } }, - "required": ["created_at", "confirmed_at"], + "required": ["kind", "external_id"], "additionalProperties": false }, { @@ -14701,44 +14636,48 @@ } ] }, - "scheduling_method": { - "type": ["string", "null"] - }, - "invitee_scheduled_by": { - "type": ["string", "null"] + "cancellation": { + "type": "object", + "properties": { + "canceled_by": { + "type": "string" + }, + "reason": { + "type": ["string", "null"] + }, + "canceler_type": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": ["canceled_by", "reason", "canceler_type", "created_at"], + "additionalProperties": false } }, "required": [ "id", - "cancel_url", - "created_at", - "email", - "event", + "uri", "name", - "first_name", - "last_name", - "new_invitee", - "old_invitee", - "questions_and_answers", - "reschedule_url", - "rescheduled", + "meeting_notes_plain", + "meeting_notes_html", "status", - "text_reminder_number", - "timezone", - "tracking", + "start_time", + "end_time", + "event_type", + "location", + "invitees_counter", + "created_at", "updated_at", - "uri", - "cancellation", - "routing_form_submission", - "payment", - "no_show", - "reconfirmation", - "scheduling_method", - "invitee_scheduled_by" + "event_memberships", + "event_guests", + "calendar_event", + "cancellation" ], "additionalProperties": false }, - "SyncMetadata_calendly_eventinvitees": { + "SyncMetadata_calendly_eventtypes": { "type": "object", "additionalProperties": false }, @@ -14934,101 +14873,178 @@ ], "additionalProperties": false }, - "SyncMetadata_calendly_eventtypes": { + "SyncMetadata_calendly_eventinvitees": { "type": "object", "additionalProperties": false }, - "Event": { + "EventInvitee": { "type": "object", "properties": { "id": { "type": "string" }, - "created_at": { + "cancel_url": { "type": "string" }, - "start_at": { + "created_at": { "type": "string" }, - "end_at": { + "email": { "type": "string" }, - "cover_url": { + "event": { "type": "string" }, "name": { "type": "string" }, - "description": { + "first_name": { + "type": ["string", "null"] + }, + "last_name": { + "type": ["string", "null"] + }, + "new_invitee": { + "type": ["string", "null"] + }, + "old_invitee": { + "type": ["string", "null"] + }, + "questions_and_answers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "answer": { + "type": "string" + }, + "position": { + "type": "number" + }, + "question": { + "type": "string" + } + }, + "required": ["answer", "position", "question"], + "additionalProperties": false + } + }, + "reschedule_url": { "type": "string" }, - "description_md": { + "rescheduled": { + "type": "boolean" + }, + "status": { "type": "string" }, - "series_api_id": { + "text_reminder_number": { "type": ["string", "null"] }, - "duration_interval_iso8601": { + "timezone": { "type": "string" }, - "geo_latitude": { - "type": ["string", "null"] + "tracking": { + "type": "object", + "properties": { + "utm_campaign": { + "type": ["string", "null"] + }, + "utm_source": { + "type": ["string", "null"] + }, + "utm_medium": { + "type": ["string", "null"] + }, + "utm_content": { + "type": ["string", "null"] + }, + "utm_term": { + "type": ["string", "null"] + }, + "salesforce_uuid": { + "type": ["string", "null"] + } + }, + "required": ["utm_campaign", "utm_source", "utm_medium", "utm_content", "utm_term", "salesforce_uuid"], + "additionalProperties": false }, - "geo_longitude": { + "updated_at": { + "type": "string" + }, + "uri": { + "type": "string" + }, + "cancellation": { + "type": "object", + "properties": { + "canceled_by": { + "type": "string" + }, + "reason": { + "type": ["string", "null"] + }, + "canceler_type": { + "type": "string" + }, + "created_at": { + "type": "string" + } + }, + "required": ["canceled_by", "reason", "canceler_type", "created_at"], + "additionalProperties": false + }, + "routing_form_submission": { "type": ["string", "null"] }, - "geo_address_json": { + "payment": { "anyOf": [ { "type": "object", "properties": { - "city": { - "type": "string" - }, - "type": { - "type": "string" - }, - "region": { - "type": "string" - }, - "address": { - "type": "string" - }, - "country": { + "external_id": { "type": "string" }, - "latitude": { + "provider": { "type": "string" }, - "place_id": { - "type": "string" + "amount": { + "type": "number" }, - "longitude": { + "currency": { "type": "string" }, - "city_state": { + "terms": { "type": "string" }, - "description": { + "successful": { + "type": "boolean" + } + }, + "required": ["external_id", "provider", "amount", "currency", "terms", "successful"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "no_show": { + "type": ["string", "null"] + }, + "reconfirmation": { + "anyOf": [ + { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "full_address": { + "confirmed_at": { "type": "string" } }, - "required": [ - "city", - "type", - "region", - "address", - "country", - "latitude", - "place_id", - "longitude", - "city_state", - "description", - "full_address" - ], + "required": ["created_at", "confirmed_at"], "additionalProperties": false }, { @@ -15036,53 +15052,44 @@ } ] }, - "url": { - "type": "string" - }, - "timezone": { - "type": "string" - }, - "event_type": { - "type": "string" - }, - "user_api_id": { - "type": "string" - }, - "visibility": { - "type": "string" - }, - "meeting_url": { + "scheduling_method": { "type": ["string", "null"] }, - "zoom_meeting_url": { + "invitee_scheduled_by": { "type": ["string", "null"] } }, "required": [ "id", + "cancel_url", "created_at", - "start_at", - "end_at", - "cover_url", + "email", + "event", "name", - "description", - "description_md", - "series_api_id", - "duration_interval_iso8601", - "geo_latitude", - "geo_longitude", - "geo_address_json", - "url", + "first_name", + "last_name", + "new_invitee", + "old_invitee", + "questions_and_answers", + "reschedule_url", + "rescheduled", + "status", + "text_reminder_number", "timezone", - "event_type", - "user_api_id", - "visibility", - "meeting_url", - "zoom_meeting_url" + "tracking", + "updated_at", + "uri", + "cancellation", + "routing_form_submission", + "payment", + "no_show", + "reconfirmation", + "scheduling_method", + "invitee_scheduled_by" ], "additionalProperties": false }, - "SyncMetadata_calendly_events": { + "SyncMetadata_calendly_users": { "type": "object", "additionalProperties": false }, @@ -15092,21 +15099,17 @@ "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_calendly_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_calendly_createuser": { @@ -15174,28 +15177,15 @@ "required": ["id", "email"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "checkr-partner", "actions": [ - { - "type": "action", - "description": "Fetch the parameters required to trigger a background check", - "endpoint": { - "method": "GET", - "path": "/background-check/service-parameters" - }, - "input": "ActionInput_checkr_partner_backgroundcheckparameters", - "name": "background-check-parameters", - "output": ["ActionOutput_checkr_partner_backgroundcheckparameters"], - "scopes": [], - "usedModels": ["ActionInput_checkr_partner_backgroundcheckparameters", "ActionOutput_checkr_partner_backgroundcheckparameters"], - "version": "2.0.0" - }, { "type": "action", "description": "Fetch the possible services that Checkr offers for a background check", @@ -15212,16 +15202,16 @@ }, { "type": "action", - "description": "Create a candidate", + "description": "Fetch the parameters required to trigger a background check", "endpoint": { - "method": "POST", - "path": "/candidates" + "method": "GET", + "path": "/background-check/service-parameters" }, - "input": "ActionInput_checkr_partner_createcandidate", - "name": "create-candidate", - "output": ["ActionOutput_checkr_partner_createcandidate"], + "input": "ActionInput_checkr_partner_backgroundcheckparameters", + "name": "background-check-parameters", + "output": ["ActionOutput_checkr_partner_backgroundcheckparameters"], "scopes": [], - "usedModels": ["ActionInput_checkr_partner_createcandidate", "ActionOutput_checkr_partner_createcandidate"], + "usedModels": ["ActionInput_checkr_partner_backgroundcheckparameters", "ActionOutput_checkr_partner_backgroundcheckparameters"], "version": "2.0.0" }, { @@ -15237,6 +15227,20 @@ "scopes": [], "usedModels": ["ActionInput_checkr_partner_triggerbackgroundcheck", "ActionOutput_checkr_partner_triggerbackgroundcheck"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Create a candidate", + "endpoint": { + "method": "POST", + "path": "/candidates" + }, + "input": "ActionInput_checkr_partner_createcandidate", + "name": "create-candidate", + "output": ["ActionOutput_checkr_partner_createcandidate"], + "scopes": [], + "usedModels": ["ActionInput_checkr_partner_createcandidate", "ActionOutput_checkr_partner_createcandidate"], + "version": "2.0.0" } ], "syncs": [ @@ -15269,8 +15273,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_checkr_partner_backgroundchecks": { + "type": "object", + "additionalProperties": false + }, "BackgroundCheck": { "type": "object", "properties": { @@ -15299,52 +15306,6 @@ "required": ["id", "status", "service_key", "url", "candidate_id", "created_at"], "additionalProperties": false }, - "SyncMetadata_checkr_partner_backgroundchecks": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_checkr_partner_backgroundcheckparameters": { - "type": "object", - "properties": { - "service_key": { - "type": "string" - } - }, - "required": ["service_key"], - "additionalProperties": false - }, - "ActionOutput_checkr_partner_backgroundcheckparameters": { - "type": "object", - "properties": { - "parameters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "type": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "required": { - "type": "boolean" - } - }, - "required": ["key", "type", "title", "description", "required"], - "additionalProperties": false - } - } - }, - "required": ["parameters"], - "additionalProperties": false - }, "ActionInput_checkr_partner_backgroundcheckservices": { "type": "null" }, @@ -15437,46 +15398,151 @@ "required": ["services"], "additionalProperties": false }, - "ActionInput_checkr_partner_createcandidate": { + "ActionInput_checkr_partner_backgroundcheckparameters": { "type": "object", "properties": { - "city": { - "type": "string" - }, - "country": { - "type": "string" - }, - "state": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "middle_name": { - "type": "string" - }, - "no_middle_name": { - "type": "boolean" - }, - "last_name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "zipcode": { - "type": "string" - }, - "dob": { - "type": "string" - }, - "ssn": { - "type": "string" - }, - "driver_license_number": { + "service_key": { + "type": "string" + } + }, + "required": ["service_key"], + "additionalProperties": false + }, + "ActionOutput_checkr_partner_backgroundcheckparameters": { + "type": "object", + "properties": { + "parameters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + } + }, + "required": ["key", "type", "title", "description", "required"], + "additionalProperties": false + } + } + }, + "required": ["parameters"], + "additionalProperties": false + }, + "ActionInput_checkr_partner_triggerbackgroundcheck": { + "type": "object", + "properties": { + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "service_key": { + "type": "string" + }, + "candidate_id": { + "type": "string" + }, + "node": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["country", "service_key", "candidate_id", "tags"], + "additionalProperties": false + }, + "ActionOutput_checkr_partner_triggerbackgroundcheck": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "applicationId": {}, + "url": { + "type": "string" + }, + "status": { + "type": "string" + }, + "completed_at": { + "type": ["string", "null"] + }, + "candidate_id": { + "type": "string" + }, + "service_key": { + "type": "string" + }, + "deleted_at": { + "type": ["string", "null"] + } + }, + "required": ["created_at", "updated_at", "url", "status", "completed_at", "candidate_id", "service_key", "deleted_at"], + "additionalProperties": false + }, + "ActionInput_checkr_partner_createcandidate": { + "type": "object", + "properties": { + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "middle_name": { + "type": "string" + }, + "no_middle_name": { + "type": "boolean" + }, + "last_name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "zipcode": { + "type": "string" + }, + "dob": { + "type": "string" + }, + "ssn": { + "type": "string" + }, + "driver_license_number": { "type": "string" }, "driver_license_state": { @@ -15619,73 +15685,11 @@ "metadata" ], "additionalProperties": false - }, - "ActionInput_checkr_partner_triggerbackgroundcheck": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "country": { - "type": "string" - }, - "state": { - "type": "string" - }, - "service_key": { - "type": "string" - }, - "candidate_id": { - "type": "string" - }, - "node": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["country", "service_key", "candidate_id", "tags"], - "additionalProperties": false - }, - "ActionOutput_checkr_partner_triggerbackgroundcheck": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "applicationId": {}, - "url": { - "type": "string" - }, - "status": { - "type": "string" - }, - "completed_at": { - "type": ["string", "null"] - }, - "candidate_id": { - "type": "string" - }, - "service_key": { - "type": "string" - }, - "deleted_at": { - "type": ["string", "null"] - } - }, - "required": ["created_at", "updated_at", "url", "status", "completed_at", "candidate_id", "service_key", "deleted_at"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -15721,8 +15725,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_checkr_partner_staging_account": { + "type": "object", + "additionalProperties": false + }, "CheckrPartnerStagingAccount": { "type": "object", "properties": { @@ -15822,14 +15829,11 @@ "uri_name" ], "additionalProperties": false - }, - "SyncMetadata_checkr_partner_staging_account": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -15865,8 +15869,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_clari_copilot_calls": { + "type": "object", + "additionalProperties": false + }, "ClariCopilotCall": { "type": "object", "properties": { @@ -16097,34 +16104,16 @@ "competitor_sentiments" ], "additionalProperties": false - }, - "SyncMetadata_clari_copilot_calls": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "clicksend", "actions": [ - { - "type": "action", - "description": "Fetches basic information about the ClickSend account.", - "endpoint": { - "method": "GET", - "path": "/account", - "group": "Account" - }, - "input": "ActionInput_clicksend_fetchaccount", - "name": "fetch-account", - "output": ["ActionOutput_clicksend_fetchaccount"], - "scopes": [], - "usedModels": ["ActionInput_clicksend_fetchaccount", "ActionOutput_clicksend_fetchaccount"], - "version": "2.0.0" - }, { "type": "action", "description": "Sends an SMS message via ClickSend's API.", @@ -16139,6 +16128,21 @@ "scopes": [], "usedModels": ["ActionInput_clicksend_sendsms", "ActionOutput_clicksend_sendsms"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Fetches basic information about the ClickSend account.", + "endpoint": { + "method": "GET", + "path": "/account", + "group": "Account" + }, + "input": "ActionInput_clicksend_fetchaccount", + "name": "fetch-account", + "output": ["ActionOutput_clicksend_fetchaccount"], + "scopes": [], + "usedModels": ["ActionInput_clicksend_fetchaccount", "ActionOutput_clicksend_fetchaccount"], + "version": "2.0.0" } ], "syncs": [ @@ -16172,8 +16176,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_clicksend_smshistory": { + "type": "object", + "additionalProperties": false + }, "Sms": { "type": "object", "properties": { @@ -16214,47 +16221,6 @@ "required": ["id", "to", "from", "body", "status", "createdAt", "updatedAt"], "additionalProperties": false }, - "SyncMetadata_clicksend_smshistory": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_clicksend_fetchaccount": { - "type": "null" - }, - "ActionOutput_clicksend_fetchaccount": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "balance": { - "type": "string" - }, - "country": { - "type": "string" - }, - "timezone": { - "type": "string" - }, - "accountName": { - "type": "string" - }, - "accountBillingEmail": { - "type": "string" - } - }, - "required": ["id", "name", "email", "phone", "balance", "country", "timezone", "accountName", "accountBillingEmail"], - "additionalProperties": false - }, "ActionInput_clicksend_sendsms": { "type": "object", "properties": { @@ -16307,10 +16273,48 @@ }, "required": ["id", "to", "from", "body", "status", "createdAt", "updatedAt"], "additionalProperties": false + }, + "ActionInput_clicksend_fetchaccount": { + "type": "null" + }, + "ActionOutput_clicksend_fetchaccount": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "country": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "accountName": { + "type": "string" + }, + "accountBillingEmail": { + "type": "string" + } + }, + "required": ["id", "name", "email", "phone", "balance", "country", "timezone", "accountName", "accountBillingEmail"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -16319,43 +16323,43 @@ "syncs": [ { "type": "sync", - "description": "Fetches a list of pages from confluence", + "description": "Fetches a list of spaces from confluence", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/pages" + "path": "/spaces" } ], - "input": "SyncMetadata_confluence_pages", - "name": "pages", - "output": ["ConfluencePage"], + "input": "SyncMetadata_confluence_spaces", + "name": "spaces", + "output": ["ConfluenceSpace"], "runs": "every 4 hours", - "scopes": ["read:page:confluence"], + "scopes": ["read:space:confluence"], "sync_type": "full", "track_deletes": false, - "usedModels": ["ConfluencePage", "SyncMetadata_confluence_pages"], + "usedModels": ["ConfluenceSpace", "SyncMetadata_confluence_spaces"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of spaces from confluence", + "description": "Fetches a list of pages from confluence", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/spaces" + "path": "/pages" } ], - "input": "SyncMetadata_confluence_spaces", - "name": "spaces", - "output": ["ConfluenceSpace"], + "input": "SyncMetadata_confluence_pages", + "name": "pages", + "output": ["ConfluencePage"], "runs": "every 4 hours", - "scopes": ["read:space:confluence"], + "scopes": ["read:page:confluence"], "sync_type": "full", "track_deletes": false, - "usedModels": ["ConfluenceSpace", "SyncMetadata_confluence_spaces"], + "usedModels": ["ConfluencePage", "SyncMetadata_confluence_pages"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -16367,8 +16371,49 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_confluence_spaces": { + "type": "object", + "additionalProperties": false + }, + "ConfluenceSpace": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "status": { + "type": "string" + }, + "authorId": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "homepageId": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": ["id", "key", "name", "type", "status", "authorId", "createdAt", "homepageId", "description"], + "additionalProperties": false + }, + "SyncMetadata_confluence_pages": { + "type": "object", + "additionalProperties": false + }, "ConfluencePage": { "type": "object", "properties": { @@ -16445,52 +16490,11 @@ }, "required": ["id", "title", "status", "authorId", "createdAt", "spaceId", "parentType", "position", "version", "body"], "additionalProperties": false - }, - "SyncMetadata_confluence_pages": { - "type": "object", - "additionalProperties": false - }, - "ConfluenceSpace": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "key": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "status": { - "type": "string" - }, - "authorId": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "homepageId": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "required": ["id", "key", "name", "type", "status", "authorId", "createdAt", "homepageId", "description"], - "additionalProperties": false - }, - "SyncMetadata_confluence_spaces": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -16520,7 +16524,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_databricks_workspace_listwarehouses": { "type": "null" @@ -16624,9 +16627,10 @@ "required": ["warehouses"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -16694,29 +16698,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_datadog_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_datadog_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_datadog_createuser": { @@ -16774,9 +16777,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -16844,29 +16848,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_dialpad_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_dialpad_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_dialpad_createuser": { @@ -16933,9 +16936,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -17003,29 +17007,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_dialpad_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_dialpad_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_dialpad_createuser": { @@ -17092,9 +17095,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "dialpad" }, { @@ -17196,28 +17200,31 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_discourse_activeusers": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "username": { "type": "string" }, - "lastName": { + "name": { "type": "string" }, - "email": { - "type": "string" + "admin": { + "type": "boolean" } }, - "required": ["id", "firstName", "lastName", "email"], + "required": ["id", "username", "name", "admin"], "additionalProperties": false }, - "SyncMetadata_discourse_activeusers": { + "SyncMetadata_discourse_categories": { "type": "object", "additionalProperties": false }, @@ -17227,21 +17234,20 @@ "id": { "type": "string" }, - "url": { + "name": { "type": "string" }, - "name": { + "color": { "type": "string" }, "description": { + "type": ["string", "null"] + }, + "slug": { "type": "string" } }, - "required": ["id", "url", "name", "description"], - "additionalProperties": false - }, - "SyncMetadata_discourse_categories": { - "type": "object", + "required": ["id", "name", "color", "description", "slug"], "additionalProperties": false }, "ActionInput_discourse_createcategory": { @@ -17354,9 +17360,10 @@ "required": ["success", "result"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -17424,29 +17431,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_docusign_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_docusign_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_docusign_createuser": { @@ -17537,9 +17543,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -17607,29 +17614,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_docusign_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_docusign_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_docusign_createuser": { @@ -17720,9 +17726,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "docusign" }, { @@ -17777,44 +17784,44 @@ "syncs": [ { "type": "sync", - "description": "Sync the metadata of a specified files or folders paths from Dropbox. A file or folder id or path can be used.", - "auto_start": false, + "description": "Fetches a list of users from Dropbox. Requires Dropbox Business.", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/files" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_dropbox_files", - "name": "files", - "output": ["Document"], + "input": "SyncMetadata_dropbox_users", + "name": "users", + "output": ["User"], "runs": "every day", - "scopes": ["files.metadata.read"], + "scopes": ["members.read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Document", "SyncMetadata_dropbox_files"], + "usedModels": ["User", "SyncMetadata_dropbox_users"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of users from Dropbox. Requires Dropbox Business.", - "auto_start": true, + "description": "Sync the metadata of a specified files or folders paths from Dropbox. A file or folder id or path can be used.", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/files" } ], - "input": "SyncMetadata_dropbox_users", - "name": "users", - "output": ["User"], + "input": "SyncMetadata_dropbox_files", + "name": "files", + "output": ["Document"], "runs": "every day", - "scopes": ["members.read"], + "scopes": ["files.metadata.read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_dropbox_users"], + "usedModels": ["Document", "SyncMetadata_dropbox_files"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -17826,28 +17833,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Document": { + "SyncMetadata_dropbox_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "url": { - "type": "string" - }, - "title": { + "email": { "type": "string" }, - "mimeType": { + "firstName": { "type": "string" }, - "updatedAt": { + "lastName": { "type": "string" } }, - "required": ["id", "url", "title", "mimeType", "updatedAt"], + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "SyncMetadata_dropbox_files": { @@ -17869,27 +17876,23 @@ "required": ["files", "folders"], "additionalProperties": false }, - "User": { + "Document": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "path": { "type": "string" }, - "lastName": { + "title": { "type": "string" }, - "email": { + "modified_date": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_dropbox_users": { - "type": "object", + "required": ["id", "path", "title", "modified_date"], "additionalProperties": false }, "ActionInput_dropbox_createuser": { @@ -18013,9 +18016,10 @@ "required": ["files", "folders"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -18024,64 +18028,64 @@ "syncs": [ { "type": "sync", - "description": "Fetches a list of groups from evaluagent", + "description": "Fetches a list of users from evaluagent", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/groups" + "path": "/users" } ], - "input": "SyncMetadata_evaluagent_groups", - "name": "groups", - "output": ["EvaluAgentGroup"], + "input": "SyncMetadata_evaluagent_users", + "name": "users", + "output": ["EvaluAgentUser"], "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["EvaluAgentGroup", "SyncMetadata_evaluagent_groups"], + "usedModels": ["EvaluAgentUser", "SyncMetadata_evaluagent_users"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of roles from evaluagent", + "description": "Fetches a list of groups from evaluagent", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/roles" + "path": "/groups" } ], - "input": "SyncMetadata_evaluagent_roles", - "name": "roles", - "output": ["EvaluAgentRole"], + "input": "SyncMetadata_evaluagent_groups", + "name": "groups", + "output": ["EvaluAgentGroup"], "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["EvaluAgentRole", "SyncMetadata_evaluagent_roles"], + "usedModels": ["EvaluAgentGroup", "SyncMetadata_evaluagent_groups"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of users from evaluagent", + "description": "Fetches a list of roles from evaluagent", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users" + "path": "/roles" } ], - "input": "SyncMetadata_evaluagent_users", - "name": "users", - "output": ["EvaluAgentUser"], + "input": "SyncMetadata_evaluagent_roles", + "name": "roles", + "output": ["EvaluAgentRole"], "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["EvaluAgentUser", "SyncMetadata_evaluagent_users"], + "usedModels": ["EvaluAgentRole", "SyncMetadata_evaluagent_roles"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -18093,99 +18097,99 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "EvaluAgentGroup": { + "SyncMetadata_evaluagent_users": { + "type": "object", + "additionalProperties": false + }, + "EvaluAgentUser": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "forename": { "type": "string" }, - "level": { + "surname": { "type": "string" }, - "active": { - "type": "boolean" + "email": { + "type": "string" }, - "parent": { + "username": { "type": "string" }, - "hasChildren": { - "type": "boolean" + "startDate": { + "type": "string", + "format": "date-time" }, - "isCustomReportingGroup": { + "active": { "type": "boolean" + }, + "thirdPartyId": { + "type": ["string", "number"] } }, - "required": ["id", "name", "level", "active", "parent", "hasChildren", "isCustomReportingGroup"], + "required": ["id", "forename", "surname", "email", "username", "startDate", "active", "thirdPartyId"], "additionalProperties": false }, "SyncMetadata_evaluagent_groups": { "type": "object", "additionalProperties": false }, - "EvaluAgentRole": { + "EvaluAgentGroup": { "type": "object", "properties": { "id": { "type": "string" }, - "title": { + "name": { "type": "string" }, - "name": { + "level": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "parent": { "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "isCustomReportingGroup": { + "type": "boolean" } }, - "required": ["id", "title", "name"], + "required": ["id", "name", "level", "active", "parent", "hasChildren", "isCustomReportingGroup"], "additionalProperties": false }, "SyncMetadata_evaluagent_roles": { "type": "object", "additionalProperties": false }, - "EvaluAgentUser": { + "EvaluAgentRole": { "type": "object", "properties": { "id": { "type": "string" }, - "forename": { - "type": "string" - }, - "surname": { - "type": "string" - }, - "email": { + "title": { "type": "string" }, - "username": { + "name": { "type": "string" - }, - "startDate": { - "type": "string", - "format": "date-time" - }, - "active": { - "type": "boolean" - }, - "thirdPartyId": { - "type": ["string", "number"] } }, - "required": ["id", "forename", "surname", "email", "username", "startDate", "active", "thirdPartyId"], - "additionalProperties": false - }, - "SyncMetadata_evaluagent_users": { - "type": "object", + "required": ["id", "title", "name"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -18193,31 +18197,32 @@ "actions": [ { "type": "action", - "description": "Uploads a file to ExactOnline and link it to an invoice", + "description": "Creates a customer in ExactOnline", "endpoint": { "method": "POST", - "path": "/invoices/attach-file" + "path": "/customers", + "group": "Customers" }, - "input": "ActionInput_exact_online_attachfileinvoice", - "name": "attach-file-invoice", - "output": ["ActionOutput_exact_online_attachfileinvoice"], + "input": "ActionInput_exact_online_createcustomer", + "name": "create-customer", + "output": ["ActionOutput_exact_online_createcustomer"], "scopes": [], - "usedModels": ["ActionInput_exact_online_attachfileinvoice", "ActionOutput_exact_online_attachfileinvoice"], + "usedModels": ["ActionInput_exact_online_createcustomer", "ActionOutput_exact_online_createcustomer"], "version": "2.0.0" }, { "type": "action", - "description": "Creates a customer in ExactOnline", + "description": "Updates a customer in ExactOnline", "endpoint": { - "method": "POST", + "method": "PUT", "path": "/customers", "group": "Customers" }, - "input": "ActionInput_exact_online_createcustomer", - "name": "create-customer", - "output": ["ActionOutput_exact_online_createcustomer"], + "input": "ActionInput_exact_online_updatecustomer", + "name": "update-customer", + "output": ["ActionOutput_exact_online_updatecustomer"], "scopes": [], - "usedModels": ["ActionInput_exact_online_createcustomer", "ActionOutput_exact_online_createcustomer"], + "usedModels": ["ActionInput_exact_online_updatecustomer", "ActionOutput_exact_online_updatecustomer"], "version": "2.0.0" }, { @@ -18235,21 +18240,6 @@ "usedModels": ["ActionInput_exact_online_createinvoice", "ActionOutput_exact_online_createinvoice"], "version": "2.0.0" }, - { - "type": "action", - "description": "Updates a customer in ExactOnline", - "endpoint": { - "method": "PUT", - "path": "/customers", - "group": "Customers" - }, - "input": "ActionInput_exact_online_updatecustomer", - "name": "update-customer", - "output": ["ActionOutput_exact_online_updatecustomer"], - "scopes": [], - "usedModels": ["ActionInput_exact_online_updatecustomer", "ActionOutput_exact_online_updatecustomer"], - "version": "2.0.0" - }, { "type": "action", "description": "Updates an invoice in ExactOnline", @@ -18264,6 +18254,20 @@ "scopes": [], "usedModels": ["ActionInput_exact_online_updateinvoice", "ActionOutput_exact_online_updateinvoice"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Uploads a file to ExactOnline and link it to an invoice", + "endpoint": { + "method": "POST", + "path": "/invoices/attach-file" + }, + "input": "ActionInput_exact_online_attachfileinvoice", + "name": "attach-file-invoice", + "output": ["ActionOutput_exact_online_attachfileinvoice"], + "scopes": [], + "usedModels": ["ActionInput_exact_online_attachfileinvoice", "ActionOutput_exact_online_attachfileinvoice"], + "version": "2.0.0" } ], "syncs": [ @@ -18318,8 +18322,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_exact_online_customers": { + "type": "object", + "additionalProperties": false + }, "ExactCustomer": { "type": "object", "properties": { @@ -18363,7 +18370,7 @@ "required": ["id", "division", "name", "email", "taxNumber", "addressLine1", "addressLine2", "city", "zip", "country", "state", "phone"], "additionalProperties": false }, - "SyncMetadata_exact_online_customers": { + "SyncMetadata_exact_online_payments": { "type": "object", "additionalProperties": false }, @@ -18423,47 +18430,58 @@ ], "additionalProperties": false }, - "SyncMetadata_exact_online_payments": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_exact_online_attachfileinvoice": { + "ActionInput_exact_online_createcustomer": { "type": "object", "properties": { - "invoiceId": { + "name": { "type": "string" }, - "customerId": { - "type": "string" + "email": { + "type": ["string", "null"] }, - "subject": { - "type": "string" + "taxNumber": { + "type": ["string", "null"] }, - "filename": { - "type": "string" + "addressLine1": { + "type": ["string", "null"] }, - "content": { - "type": "string" + "addressLine2": { + "type": ["string", "null"] + }, + "city": { + "type": ["string", "null"] + }, + "zip": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "state": { + "type": ["string", "null"] + }, + "phone": { + "type": ["string", "null"] } }, - "required": ["invoiceId", "customerId", "subject", "filename", "content"], + "required": ["name"], "additionalProperties": false }, - "ActionOutput_exact_online_attachfileinvoice": { + "ActionOutput_exact_online_createcustomer": { "type": "object", "properties": { - "success": { - "type": "boolean" + "id": { + "type": "string" } }, - "required": ["success"], + "required": ["id"], "additionalProperties": false }, - "ActionInput_exact_online_createcustomer": { + "ActionInput_exact_online_updatecustomer": { "type": "object", "properties": { "name": { - "type": "string" + "type": ["string", "null"] }, "email": { "type": ["string", "null"] @@ -18491,19 +18509,22 @@ }, "phone": { "type": ["string", "null"] + }, + "id": { + "type": "string" } }, - "required": ["name"], + "required": ["id"], "additionalProperties": false }, - "ActionOutput_exact_online_createcustomer": { + "ActionOutput_exact_online_updatecustomer": { "type": "object", "properties": { - "id": { - "type": "string" + "success": { + "type": "boolean" } }, - "required": ["id"], + "required": ["success"], "additionalProperties": false }, "ActionInput_exact_online_createinvoice": { @@ -18565,47 +18586,31 @@ "required": ["id"], "additionalProperties": false }, - "ActionInput_exact_online_updatecustomer": { + "ActionInput_exact_online_updateinvoice": { "type": "object", "properties": { - "name": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "taxNumber": { - "type": ["string", "null"] - }, - "addressLine1": { - "type": ["string", "null"] - }, - "addressLine2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] + "id": { + "type": "string" }, - "state": { - "type": ["string", "null"] + "deliverTo": { + "type": "string" }, - "phone": { - "type": ["string", "null"] + "currency": { + "type": "string", + "const": "EUR" }, - "id": { + "description": { "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_exact_online_updatecustomer": { + "ActionOutput_exact_online_updateinvoice": { "type": "object", "properties": { "success": { @@ -18615,31 +18620,29 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_exact_online_updateinvoice": { + "ActionInput_exact_online_attachfileinvoice": { "type": "object", "properties": { - "id": { + "invoiceId": { "type": "string" }, - "deliverTo": { + "customerId": { "type": "string" }, - "currency": { - "type": "string", - "const": "EUR" + "subject": { + "type": "string" }, - "description": { + "filename": { "type": "string" }, - "createdAt": { - "type": "string", - "format": "date-time" + "content": { + "type": "string" } }, - "required": ["id"], + "required": ["invoiceId", "customerId", "subject", "filename", "content"], "additionalProperties": false }, - "ActionOutput_exact_online_updateinvoice": { + "ActionOutput_exact_online_attachfileinvoice": { "type": "object", "properties": { "success": { @@ -18649,9 +18652,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -18733,8 +18737,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_expensify_users": { + "type": "object", + "additionalProperties": false + }, "ExpsensifyNullableUser": { "type": "object", "properties": { @@ -18754,10 +18761,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_expensify_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_expensify_createuser": { "type": "object", "properties": { @@ -18933,9 +18936,10 @@ "required": ["policies"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -18964,7 +18968,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_fireflies_addtolive": { "type": "object", @@ -18991,9 +18994,10 @@ "required": ["data"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -19014,21 +19018,6 @@ "usedModels": ["ActionInput_freshdesk_createcontact", "ActionOutput_freshdesk_createcontact"], "version": "2.0.0" }, - { - "type": "action", - "description": "Creates a user in FreshDesk", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_freshdesk_createuser", - "name": "create-user", - "output": ["ActionOutput_freshdesk_createuser"], - "scopes": [], - "usedModels": ["ActionInput_freshdesk_createuser", "ActionOutput_freshdesk_createuser"], - "version": "2.0.0" - }, { "type": "action", "description": "Deletes a contact in FreshDesk", @@ -19044,6 +19033,21 @@ "usedModels": ["ActionInput_freshdesk_deletecontact", "ActionOutput_freshdesk_deletecontact"], "version": "2.0.0" }, + { + "type": "action", + "description": "Creates a user in FreshDesk", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_freshdesk_createuser", + "name": "create-user", + "output": ["ActionOutput_freshdesk_createuser"], + "scopes": [], + "usedModels": ["ActionInput_freshdesk_createuser", "ActionOutput_freshdesk_createuser"], + "version": "2.0.0" + }, { "type": "action", "description": "Deletes a user in FreshDesk", @@ -19155,287 +19159,205 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_freshdesk_articles": { + "type": "object", + "additionalProperties": false + }, "Article": { "type": "object", "properties": { - "title": { - "type": "string" - }, "id": { "type": "string" }, - "url": { + "created_at": { "type": "string" }, - "locale": { + "updated_at": { "type": "string" }, - "user_segment_id": { - "type": ["number", "null"] - }, - "permission_group_id": { + "type": { "type": "number" }, - "author_id": { + "category_id": { "type": "number" }, - "body": { - "type": "string" - }, - "comments_disabled": { - "type": "boolean" + "folder_id": { + "type": "number" }, - "content_tag_ids": { + "hierarchy": { "type": "array", "items": { - "type": "number" + "type": "object", + "properties": { + "level": { + "type": "number" + }, + "type": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "language": { + "type": "string" + } + }, + "required": ["id", "name", "language"], + "additionalProperties": false + } + }, + "required": ["level", "type", "data"], + "additionalProperties": false } }, - "created_at": { - "type": "string" - }, - "draft": { - "type": "boolean" - }, - "edited_at": { - "type": "string" - }, - "html_url": { - "type": "string" + "thumbs_up": { + "type": "number" }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } + "thumbs_down": { + "type": "number" }, - "outdated": { - "type": "boolean" + "hits": { + "type": "number" }, - "outdated_locales": { + "tags": { "type": "array", "items": { "type": "string" } }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" + "seo_data": { + "type": "object", + "properties": { + "meta_title": { + "type": "string" + }, + "meta_description": { + "type": "string" + }, + "meta_keywords": { + "type": "string" + } + }, + "additionalProperties": false }, - "section_id": { + "agent_id": { "type": "number" }, - "source_locale": { + "title": { "type": "string" }, - "updated_at": { + "description": { "type": "string" }, - "vote_count": { - "type": "number" + "description_text": { + "type": "string" }, - "vote_sum": { + "status": { "type": "number" } }, "required": [ - "title", "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", "updated_at", - "vote_count", - "vote_sum" + "type", + "category_id", + "folder_id", + "hierarchy", + "thumbs_up", + "thumbs_down", + "hits", + "seo_data", + "agent_id", + "title", + "description", + "description_text", + "status" ], "additionalProperties": false }, - "SyncMetadata_freshdesk_articles": { + "SyncMetadata_freshdesk_contacts": { "type": "object", "additionalProperties": false }, "Contact": { "type": "object", "properties": { - "name": { - "type": "string" - }, "id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] + "active": { + "type": "boolean" }, "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] + "type": "string" }, - "address_line_2": { - "type": ["string", "null"] + "name": { + "type": "string" }, - "city": { - "type": ["string", "null"] + "createdAt": { + "type": "string" }, - "zip": { - "type": ["string", "null"] + "updatedAt": { + "type": "string" }, - "country": { - "type": ["string", "null"] + "companyId": { + "type": "string" }, - "state": { + "phone": { "type": ["string", "null"] }, - "phone": { + "mobile": { "type": ["string", "null"] }, - "subsidiary": { + "jobTitle": { "type": ["string", "null"] } }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "required": ["id", "active", "email", "name", "createdAt", "updatedAt"], "additionalProperties": false }, - "SyncMetadata_freshdesk_contacts": { + "SyncMetadata_freshdesk_tickets": { "type": "object", "additionalProperties": false }, "Ticket": { "type": "object", "properties": { - "url": { - "type": ["string", "null"] - }, "id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] - }, - "via": { - "anyOf": [ - { - "type": "object", - "properties": { - "channel": { - "type": "string" - }, - "source": { - "type": "object", - "properties": { - "from": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "to": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "rel": { - "type": ["string", "null"] - } - }, - "required": ["from", "to", "rel"], - "additionalProperties": false - } - }, - "required": ["channel", "source"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "generated_timestamp": { - "type": ["number", "null"] - }, "type": { - "type": ["string", "null"] - }, - "subject": { - "type": ["string", "null"] - }, - "raw_subject": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] + "type": "string" }, "priority": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "recipient": { - "type": ["string", "null"] - }, - "requester_id": { - "type": ["number", "null"] + "type": "number" }, - "submitter_id": { - "type": ["number", "null"] + "request_id": { + "type": "number" }, - "assignee_id": { - "type": ["number", "null"] + "response_id": { + "type": "number" }, - "organization_id": { - "type": ["number", "null"] + "source": { + "type": "number" }, - "group_id": { - "type": ["number", "null"] + "subject": { + "type": "string" }, - "collaborator_ids": { + "to_emails": { "anyOf": [ { "type": "array", "items": { - "type": "number" + "type": "string" } }, { @@ -19443,237 +19365,52 @@ } ] }, - "follower_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] + "created_at": { + "type": "string" }, - "email_cc_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] + "updated_at": { + "type": "string" }, - "forum_topic_id": { - "type": ["string", "null"] + "is_escalated": { + "type": "boolean" + } + }, + "required": [ + "id", + "type", + "priority", + "request_id", + "response_id", + "source", + "subject", + "to_emails", + "created_at", + "updated_at", + "is_escalated" + ], + "additionalProperties": false + }, + "SyncMetadata_freshdesk_users": { + "type": "object", + "additionalProperties": false + }, + "User": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "problem_id": { - "type": ["string", "null"] + "email": { + "type": "string" }, - "has_incidents": { - "type": ["boolean", "null"] - }, - "is_public": { - "type": ["boolean", "null"] - }, - "due_at": { - "type": ["string", "null"] - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "custom_fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "satisfaction_rating": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - { - "type": "null" - } - ] - }, - "sharing_agreement_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "custom_status_id": { - "type": ["number", "null"] - }, - "fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "followup_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "ticket_form_id": { - "type": ["number", "null"] - }, - "brand_id": { - "type": ["number", "null"] - }, - "allow_channelback": { - "type": ["boolean", "null"] - }, - "allow_attachments": { - "type": ["boolean", "null"] - }, - "from_messaging_channel": { - "type": ["boolean", "null"] - } - }, - "required": [ - "url", - "id", - "external_id", - "via", - "created_at", - "updated_at", - "generated_timestamp", - "type", - "subject", - "raw_subject", - "description", - "priority", - "status", - "recipient", - "requester_id", - "submitter_id", - "assignee_id", - "organization_id", - "group_id", - "collaborator_ids", - "follower_ids", - "email_cc_ids", - "forum_topic_id", - "problem_id", - "has_incidents", - "is_public", - "due_at", - "tags", - "custom_fields", - "satisfaction_rating", - "sharing_agreement_ids", - "custom_status_id", - "fields", - "followup_ids", - "ticket_form_id", - "brand_id", - "allow_channelback", - "allow_attachments", - "from_messaging_channel" - ], - "additionalProperties": false - }, - "SyncMetadata_freshdesk_tickets": { - "type": "object", - "additionalProperties": false - }, - "User": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" + "firstName": { + "type": "string" }, "lastName": { "type": "string" - }, - "email": { - "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_freshdesk_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_freshdesk_createcontact": { @@ -19800,6 +19537,26 @@ "required": ["id", "active", "email", "name", "createdAt", "updatedAt"], "additionalProperties": false }, + "ActionInput_freshdesk_deletecontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_freshdesk_deletecontact": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, "ActionInput_freshdesk_createuser": { "type": "object", "properties": { @@ -19882,26 +19639,6 @@ "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_freshdesk_deletecontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_freshdesk_deletecontact": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, "ActionInput_freshdesk_deleteuser": { "type": "object", "properties": { @@ -19922,9 +19659,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -19977,60 +19715,224 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_front_conversations": { + "type": "object", + "additionalProperties": false + }, "Conversation": { "type": "object", "properties": { "id": { "type": "string" }, - "created_at": { + "subject": { "type": "string" }, - "updated_at": { - "type": "string" + "status": { + "type": "string", + "enum": ["archived", "unassigned", "deleted", "assigned"] }, - "waiting_since": { - "type": ["string", "null"] + "assignee": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "is_admin": { + "type": "boolean" + }, + "is_available": { + "type": "boolean" + }, + "is_blocked": { + "type": "boolean" + }, + "custom_fields": { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + } + }, + "required": ["id", "email", "first_name", "last_name", "is_admin", "is_available", "is_blocked", "custom_fields"], + "additionalProperties": false + }, + { + "type": "null" + } + ] }, - "snoozed_until": { - "type": ["string", "null"] + "recipient": { + "anyOf": [ + { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "handle": { + "type": "string" + }, + "role": { + "type": "string", + "enum": ["from", "to", "cc", "bcc"] + } + }, + "required": ["name", "handle", "role"], + "additionalProperties": false + }, + { + "type": "null" + } + ] }, - "title": { - "type": ["string", "null"] + "tags": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "highlight": { + "type": ["string", "null"] + }, + "is_private": { + "type": "boolean" + }, + "is_visible_in_conversation_lists": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "description", + "highlight", + "is_private", + "is_visible_in_conversation_lists", + "created_at", + "updated_at" + ], + "additionalProperties": false + } }, - "contacts": { + "links": { "type": "array", "items": { "type": "object", "properties": { - "contact_id": { + "id": { "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "external_url": { + "type": "string" + }, + "custom_fields": { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } } }, - "required": ["contact_id"], + "required": ["id", "name", "type", "external_url", "custom_fields"], "additionalProperties": false } }, - "state": { + "custom_fields": { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + "created_at": { "type": "string" }, - "open": { - "type": "boolean" + "waiting_since": { + "type": "string" }, - "read": { + "is_private": { "type": "boolean" }, - "priority": { - "type": "string" + "scheduled_reminders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "scheduled_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["created_at", "scheduled_at", "updated_at"], + "additionalProperties": false + } } }, - "required": ["id", "created_at", "updated_at", "waiting_since", "snoozed_until", "title", "contacts", "state", "open", "read", "priority"], - "additionalProperties": false - }, - "SyncMetadata_front_conversations": { - "type": "object", + "required": [ + "id", + "subject", + "status", + "assignee", + "recipient", + "tags", + "links", + "custom_fields", + "created_at", + "waiting_since", + "is_private", + "scheduled_reminders" + ], "additionalProperties": false }, "ActionInput_front_conversation": { @@ -20428,9 +20330,10 @@ "required": ["messages"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -20451,6 +20354,21 @@ "usedModels": ["ActionInput_gem_createcandidate", "ActionOutput_gem_createcandidate"], "version": "1.0.0" }, + { + "type": "action", + "description": "Upload a resume for a candidate. Allowed formats are .pdf, .doc, or .docx. The file size must not exceed 2MB.", + "endpoint": { + "method": "POST", + "path": "/candidate-upload-resume", + "group": "Candidates" + }, + "input": "ActionInput_gem_uploadresume", + "name": "upload-resume", + "output": ["ActionOutput_gem_uploadresume"], + "scopes": [], + "usedModels": ["ActionInput_gem_uploadresume", "ActionOutput_gem_uploadresume"], + "version": "1.0.0" + }, { "type": "action", "description": "Create a note for a candidate", @@ -20480,46 +20398,9 @@ "scopes": [], "usedModels": ["ActionInput_gem_updateapplication", "ActionOutput_gem_updateapplication"], "version": "1.0.0" - }, - { - "type": "action", - "description": "Upload a resume for a candidate. Allowed formats are .pdf, .doc, or .docx. The file size must not exceed 2MB.", - "endpoint": { - "method": "POST", - "path": "/candidate-upload-resume", - "group": "Candidates" - }, - "input": "ActionInput_gem_uploadresume", - "name": "upload-resume", - "output": ["ActionOutput_gem_uploadresume"], - "scopes": [], - "usedModels": ["ActionInput_gem_uploadresume", "ActionOutput_gem_uploadresume"], - "version": "1.0.0" } ], "syncs": [ - { - "type": "sync", - "description": "Get a list of all applications from Gem ATS", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/applications", - "group": "Applications" - } - ], - "input": "SyncMetadata_gem_applications", - "name": "applications", - "output": ["Application"], - "runs": "every 1h", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Application", "SyncMetadata_gem_applications"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Get all candidates from Gem ATS", @@ -20588,23 +20469,23 @@ }, { "type": "sync", - "description": "Get a list of all jobs from Gem ATS", + "description": "Get a list of all users from Gem", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/jobs", - "group": "Jobs" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_gem_jobs", - "name": "jobs", - "output": ["Job"], + "input": "SyncMetadata_gem_users", + "name": "users", + "output": ["TeamMemberUser"], "runs": "every 1h", "scopes": [], - "sync_type": "incremental", + "sync_type": "full", "track_deletes": false, - "usedModels": ["Job", "SyncMetadata_gem_jobs"], + "usedModels": ["TeamMemberUser", "SyncMetadata_gem_users"], "version": "1.0.0", "webhookSubscriptions": [] }, @@ -20632,23 +20513,45 @@ }, { "type": "sync", - "description": "Get a list of all users from Gem", + "description": "Get a list of all applications from Gem ATS", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/applications", + "group": "Applications" } ], - "input": "SyncMetadata_gem_users", - "name": "users", - "output": ["TeamMemberUser"], + "input": "SyncMetadata_gem_applications", + "name": "applications", + "output": ["Application"], "runs": "every 1h", "scopes": [], - "sync_type": "full", + "sync_type": "incremental", "track_deletes": false, - "usedModels": ["TeamMemberUser", "SyncMetadata_gem_users"], + "usedModels": ["Application", "SyncMetadata_gem_applications"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Get a list of all jobs from Gem ATS", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/jobs", + "group": "Jobs" + } + ], + "input": "SyncMetadata_gem_jobs", + "name": "jobs", + "output": ["Job"], + "runs": "every 1h", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Job", "SyncMetadata_gem_jobs"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -20660,132 +20563,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Application": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "candidate_id": { - "type": "string" - }, - "applied_at": { - "type": "string" - }, - "rejected_at": { - "type": ["string", "null"] - }, - "last_activity_at": { - "type": "string" - }, - "source": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "public_name": { - "type": "string" - } - }, - "required": ["id", "public_name"], - "additionalProperties": false - }, - "credited_to": { - "type": "string" - }, - "rejection_reason": { - "anyOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "name", "type"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "jobs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "job_post_id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "current_stage": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "deleted_at": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "candidate_id", - "applied_at", - "rejected_at", - "last_activity_at", - "source", - "credited_to", - "rejection_reason", - "jobs", - "job_post_id", - "status", - "current_stage", - "deleted_at" - ], - "additionalProperties": false - }, - "SyncMetadata_gem_applications": { + "SyncMetadata_gem_candidates": { "type": "object", "additionalProperties": false }, @@ -21114,7 +20893,7 @@ ], "additionalProperties": false }, - "SyncMetadata_gem_candidates": { + "SyncMetadata_gem_jobposts": { "type": "object", "additionalProperties": false }, @@ -21155,7 +20934,7 @@ "required": ["id", "title", "active", "live", "first_published_at", "job_id", "content", "created_at", "updated_at", "deleted_at"], "additionalProperties": false }, - "SyncMetadata_gem_jobposts": { + "SyncMetadata_gem_jobstages": { "type": "object", "additionalProperties": false }, @@ -21281,7 +21060,202 @@ "required": ["id", "name", "created_at", "updated_at", "deleted_at", "active", "job_id", "priority", "interviews"], "additionalProperties": false }, - "SyncMetadata_gem_jobstages": { + "SyncMetadata_gem_users": { + "type": "object", + "additionalProperties": false + }, + "TeamMemberUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "name", "email"], + "additionalProperties": false + }, + "SyncMetadata_gem_locations": { + "type": "object", + "additionalProperties": false + }, + "Location": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "location": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "parent_id": { + "type": "string" + }, + "child_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "parent_office_external_id": { + "type": "string" + }, + "child_office_external_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "deleted_at": { + "type": "string" + } + }, + "required": ["id", "name", "location", "parent_id", "child_ids", "parent_office_external_id", "child_office_external_ids", "deleted_at"], + "additionalProperties": false + }, + "SyncMetadata_gem_applications": { + "type": "object", + "additionalProperties": false + }, + "Application": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "candidate_id": { + "type": "string" + }, + "applied_at": { + "type": "string" + }, + "rejected_at": { + "type": ["string", "null"] + }, + "last_activity_at": { + "type": "string" + }, + "source": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "public_name": { + "type": "string" + } + }, + "required": ["id", "public_name"], + "additionalProperties": false + }, + "credited_to": { + "type": "string" + }, + "rejection_reason": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + }, + "required": ["id", "name", "type"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "jobs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + }, + "job_post_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "current_stage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "deleted_at": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "candidate_id", + "applied_at", + "rejected_at", + "last_activity_at", + "source", + "credited_to", + "rejection_reason", + "jobs", + "job_post_id", + "status", + "current_stage", + "deleted_at" + ], + "additionalProperties": false + }, + "SyncMetadata_gem_jobs": { "type": "object", "additionalProperties": false }, @@ -21576,98 +21550,6 @@ ], "additionalProperties": false }, - "SyncMetadata_gem_jobs": { - "type": "object", - "additionalProperties": false - }, - "Location": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "state": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "abbrev": { - "type": "string" - }, - "iso_code": { - "type": "string" - } - }, - "required": ["name", "abbrev", "iso_code"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "country": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "iso_code": { - "type": "string" - } - }, - "required": ["name", "iso_code"], - "additionalProperties": false - }, - "zip_code": { - "type": "string" - }, - "address": { - "type": "string" - }, - "phone_number": { - "type": ["string", "null"] - } - }, - "required": ["id", "name", "description", "city", "state", "country", "zip_code", "address", "phone_number"], - "additionalProperties": false - }, - "SyncMetadata_gem_locations": { - "type": "object", - "additionalProperties": false - }, - "TeamMemberUser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "name", "email"], - "additionalProperties": false - }, - "SyncMetadata_gem_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_gem_createcandidate": { "type": "object", "properties": { @@ -22148,6 +22030,47 @@ ], "additionalProperties": false }, + "ActionInput_gem_uploadresume": { + "type": "object", + "properties": { + "candidate_id": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "resume_file": { + "type": "string" + } + }, + "required": ["candidate_id", "user_id", "resume_file"], + "additionalProperties": false + }, + "ActionOutput_gem_uploadresume": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "candidate_id": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "user_id": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "download_url": { + "type": "string" + } + }, + "required": ["id", "candidate_id", "created_at", "user_id", "filename", "download_url"], + "additionalProperties": false + }, "ActionInput_gem_createnote": { "type": "object", "properties": { @@ -22348,70 +22271,16 @@ "deleted_at" ], "additionalProperties": false - }, - "ActionInput_gem_uploadresume": { - "type": "object", - "properties": { - "candidate_id": { - "type": "string" - }, - "user_id": { - "type": "string" - }, - "resume_file": { - "type": "string" - } - }, - "required": ["candidate_id", "user_id", "resume_file"], - "additionalProperties": false - }, - "ActionOutput_gem_uploadresume": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "candidate_id": { - "type": "string" - }, - "created_at": { - "type": "number" - }, - "user_id": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "download_url": { - "type": "string" - } - }, - "required": ["id", "candidate_id", "created_at", "user_id", "filename", "download_url"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "github", "actions": [ - { - "type": "action", - "description": "List github repos from an organization.", - "endpoint": { - "method": "GET", - "path": "/github/list-repos" - }, - "input": "ActionInput_github_listrepos", - "name": "list-repos", - "output": ["ActionOutput_github_listrepos"], - "scopes": ["read:org"], - "usedModels": ["ActionInput_github_listrepos", "ActionOutput_github_listrepos"], - "version": "2.0.0" - }, { "type": "action", "description": "Write content to a particular github file within a repo. If\nthe file doesn't exist it creates and then writes to it", @@ -22426,6 +22295,20 @@ "scopes": ["repo"], "usedModels": ["ActionInput_github_writefile", "ActionOutput_github_writefile"], "version": "2.0.0" + }, + { + "type": "action", + "description": "List github repos from an organization.", + "endpoint": { + "method": "GET", + "path": "/github/list-repos" + }, + "input": "ActionInput_github_listrepos", + "name": "list-repos", + "output": ["ActionOutput_github_listrepos"], + "scopes": ["read:org"], + "usedModels": ["ActionInput_github_listrepos", "ActionOutput_github_listrepos"], + "version": "2.0.0" } ], "syncs": [ @@ -22501,8 +22384,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_github_issues": { + "type": "object", + "additionalProperties": false + }, "GithubIssue": { "type": "object", "properties": { @@ -22545,7 +22431,7 @@ "required": ["id", "owner", "repo", "issue_number", "title", "author", "author_id", "state", "date_created", "date_last_modified", "body"], "additionalProperties": false }, - "SyncMetadata_github_issues": { + "SyncMetadata_github_issueslite": { "type": "object", "additionalProperties": false }, @@ -22555,105 +22441,56 @@ "id": { "type": "string" }, - "createdAt": { + "owner": { "type": "string" }, - "updatedAt": { + "repo": { "type": "string" }, - "key": { + "issue_number": { + "type": "number" + }, + "title": { "type": "string" }, - "summary": { + "author": { "type": "string" }, - "issueType": { + "author_id": { "type": "string" }, - "status": { + "state": { "type": "string" }, - "assignee": { - "type": ["string", "null"] + "date_created": { + "type": "string", + "format": "date-time" }, - "url": { - "type": "string" + "date_last_modified": { + "type": "string", + "format": "date-time" }, - "webUrl": { + "body": { "type": "string" - }, - "projectId": { + } + }, + "required": ["id", "owner", "repo", "issue_number", "title", "author", "author_id", "state", "date_created", "date_last_modified", "body"], + "additionalProperties": false + }, + "SyncMetadata_github_listfiles": { + "type": "object", + "properties": { + "owner": { "type": "string" }, - "projectKey": { + "repo": { "type": "string" }, - "projectName": { + "branch": { "type": "string" - }, - "comments": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "author": { - "type": "object", - "properties": { - "accountId": { - "type": ["string", "null"] - }, - "active": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "emailAddress": { - "type": ["string", "null"] - } - }, - "required": ["accountId", "active", "displayName", "emailAddress"], - "additionalProperties": false - }, - "body": { - "type": "object", - "additionalProperties": false - } - }, - "required": ["id", "createdAt", "updatedAt", "author", "body"], - "additionalProperties": false - } } }, - "required": [ - "id", - "createdAt", - "updatedAt", - "key", - "summary", - "issueType", - "status", - "assignee", - "url", - "webUrl", - "projectId", - "projectKey", - "projectName", - "comments" - ], - "additionalProperties": false - }, - "SyncMetadata_github_issueslite": { - "type": "object", + "required": ["owner", "repo", "branch"], "additionalProperties": false }, "GithubRepoFile": { @@ -22676,7 +22513,7 @@ "required": ["id", "name", "url", "last_modified_date"], "additionalProperties": false }, - "SyncMetadata_github_listfiles": { + "ActionInput_github_writefile": { "type": "object", "properties": { "owner": { @@ -22685,11 +22522,36 @@ "repo": { "type": "string" }, - "branch": { + "path": { + "type": "string" + }, + "message": { + "type": "string" + }, + "content": { + "type": "string" + }, + "sha": { "type": "string" } }, - "required": ["owner", "repo", "branch"], + "required": ["owner", "repo", "path", "message", "content", "sha"], + "additionalProperties": false + }, + "ActionOutput_github_writefile": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "status": { + "type": "string" + }, + "sha": { + "type": "string" + } + }, + "required": ["url", "status", "sha"], "additionalProperties": false }, "ActionInput_github_listrepos": { @@ -22737,51 +22599,11 @@ }, "required": ["repos"], "additionalProperties": false - }, - "ActionInput_github_writefile": { - "type": "object", - "properties": { - "owner": { - "type": "string" - }, - "repo": { - "type": "string" - }, - "path": { - "type": "string" - }, - "message": { - "type": "string" - }, - "content": { - "type": "string" - }, - "sha": { - "type": "string" - } - }, - "required": ["owner", "repo", "path", "message", "content", "sha"], - "additionalProperties": false - }, - "ActionOutput_github_writefile": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "status": { - "type": "string" - }, - "sha": { - "type": "string" - } - }, - "required": ["url", "status", "sha"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -22806,45 +22628,45 @@ "syncs": [ { "type": "sync", - "description": "Get all pull commits from a Github repository.", + "description": "Get all pull requests from a Github repository.", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/commits", - "group": "Commits" + "path": "/pull-requests", + "group": "Pull Requests" } ], - "input": "SyncMetadata_github_app_commits", - "name": "commits", - "output": ["GithubCommit"], + "input": "SyncMetadata_github_app_pullrequests", + "name": "pull-requests", + "output": ["GithubPullRequest"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GithubCommit", "SyncMetadata_github_app_commits"], + "usedModels": ["GithubPullRequest", "SyncMetadata_github_app_pullrequests"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Get all pull requests from a Github repository.", + "description": "Get all pull commits from a Github repository.", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/pull-requests", - "group": "Pull Requests" + "path": "/commits", + "group": "Commits" } ], - "input": "SyncMetadata_github_app_pullrequests", - "name": "pull-requests", - "output": ["GithubPullRequest"], + "input": "SyncMetadata_github_app_commits", + "name": "commits", + "output": ["GithubCommit"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GithubPullRequest", "SyncMetadata_github_app_pullrequests"], + "usedModels": ["GithubCommit", "SyncMetadata_github_app_commits"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -22856,44 +22678,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GithubCommit": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "branch": { - "type": "string" - }, - "author": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "message": { - "type": "string" - }, - "date": { - "type": "string" - } - }, - "required": ["id", "url", "branch", "author", "message", "date"], - "additionalProperties": false - }, - "SyncMetadata_github_app_commits": { + "SyncMetadata_github_app_pullrequests": { "type": "object", "properties": { "owner": { @@ -23018,7 +22804,7 @@ "required": ["id", "url", "state", "title", "user", "assignees", "reviewers", "draft", "labels", "reviewDecision", "latestComment"], "additionalProperties": false }, - "SyncMetadata_github_app_pullrequests": { + "SyncMetadata_github_app_commits": { "type": "object", "properties": { "owner": { @@ -23037,6 +22823,41 @@ "required": ["owner", "repo"], "additionalProperties": false }, + "GithubCommit": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "author": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "message": { + "type": "string" + }, + "date": { + "type": "string" + } + }, + "required": ["id", "url", "branch", "author", "message", "date"], + "additionalProperties": false + }, "ActionInput_github_app_repositories": { "type": "null" }, @@ -23509,9 +23330,10 @@ "required": ["repositories"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -23536,45 +23358,45 @@ "syncs": [ { "type": "sync", - "description": "Get all pull commits from a Github repository.", + "description": "Get all pull requests from a Github repository.", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/commits", - "group": "Commits" + "path": "/pull-requests", + "group": "Pull Requests" } ], - "input": "SyncMetadata_github_app_commits", - "name": "commits", - "output": ["GithubCommit"], + "input": "SyncMetadata_github_app_pullrequests", + "name": "pull-requests", + "output": ["GithubPullRequest"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GithubCommit", "SyncMetadata_github_app_commits"], + "usedModels": ["GithubPullRequest", "SyncMetadata_github_app_pullrequests"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Get all pull requests from a Github repository.", + "description": "Get all pull commits from a Github repository.", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/pull-requests", - "group": "Pull Requests" + "path": "/commits", + "group": "Commits" } ], - "input": "SyncMetadata_github_app_pullrequests", - "name": "pull-requests", - "output": ["GithubPullRequest"], + "input": "SyncMetadata_github_app_commits", + "name": "commits", + "output": ["GithubCommit"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GithubPullRequest", "SyncMetadata_github_app_pullrequests"], + "usedModels": ["GithubCommit", "SyncMetadata_github_app_commits"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -23586,44 +23408,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GithubCommit": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "branch": { - "type": "string" - }, - "author": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "message": { - "type": "string" - }, - "date": { - "type": "string" - } - }, - "required": ["id", "url", "branch", "author", "message", "date"], - "additionalProperties": false - }, - "SyncMetadata_github_app_commits": { + "SyncMetadata_github_app_pullrequests": { "type": "object", "properties": { "owner": { @@ -23748,7 +23534,7 @@ "required": ["id", "url", "state", "title", "user", "assignees", "reviewers", "draft", "labels", "reviewDecision", "latestComment"], "additionalProperties": false }, - "SyncMetadata_github_app_pullrequests": { + "SyncMetadata_github_app_commits": { "type": "object", "properties": { "owner": { @@ -23767,6 +23553,41 @@ "required": ["owner", "repo"], "additionalProperties": false }, + "GithubCommit": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "author": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "message": { + "type": "string" + }, + "date": { + "type": "string" + } + }, + "required": ["id", "url", "branch", "author", "message", "date"], + "additionalProperties": false + }, "ActionInput_github_app_repositories": { "type": "null" }, @@ -24239,9 +24060,10 @@ "required": ["repositories"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "github-app" }, { @@ -24266,23 +24088,23 @@ "syncs": [ { "type": "sync", - "description": "Fetches a list of call transcripts from Gong", + "description": "Fetches the list of gong users", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/call-transcripts", - "group": "Calls" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_gong_calltranscripts", - "name": "call-transcripts", - "output": ["GongCallTranscriptSyncOutput"], - "runs": "every 1h", - "scopes": ["api:calls:read:transcript"], + "input": "SyncMetadata_gong_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["api:users:read"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GongCallTranscriptSyncOutput", "SyncMetadata_gong_calltranscripts"], + "usedModels": ["User", "SyncMetadata_gong_users"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -24310,23 +24132,23 @@ }, { "type": "sync", - "description": "Fetches the list of gong users", + "description": "Fetches a list of call transcripts from Gong", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/call-transcripts", + "group": "Calls" } ], - "input": "SyncMetadata_gong_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["api:users:read"], + "input": "SyncMetadata_gong_calltranscripts", + "name": "call-transcripts", + "output": ["GongCallTranscriptSyncOutput"], + "runs": "every 1h", + "scopes": ["api:calls:read:transcript"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_gong_users"], + "usedModels": ["GongCallTranscriptSyncOutput", "SyncMetadata_gong_calltranscripts"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -24338,54 +24160,34 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GongCallTranscriptSyncOutput": { + "SyncMetadata_gong_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "transcript": { - "type": "array", - "items": { - "type": "object", - "properties": { - "speaker_id": { - "type": "string" - }, - "topic": { - "type": ["string", "null"] - }, - "sentences": { - "type": "array", - "items": { - "type": "object", - "properties": { - "start": { - "type": "number" - }, - "end": { - "type": "number" - }, - "text": { - "type": "string" - } - }, - "required": ["start", "end", "text"], - "additionalProperties": false - } - } - }, - "required": ["speaker_id", "topic", "sentences"], - "additionalProperties": false - } + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "title": { + "type": ["string", "null"] } }, - "required": ["id", "transcript"], + "required": ["id", "firstName", "lastName", "email", "title"], "additionalProperties": false }, - "SyncMetadata_gong_calltranscripts": { + "SyncMetadata_gong_calls": { "type": "object", "properties": { "backfillPeriodMs": { @@ -24393,15 +24195,6 @@ }, "lastSyncBackfillPeriod": { "type": "number" - }, - "callIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "workspaceId": { - "type": "string" } }, "additionalProperties": false @@ -24679,7 +24472,7 @@ ], "additionalProperties": false }, - "SyncMetadata_gong_calls": { + "SyncMetadata_gong_calltranscripts": { "type": "object", "properties": { "backfillPeriodMs": { @@ -24687,31 +24480,62 @@ }, "lastSyncBackfillPeriod": { "type": "number" + }, + "callIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "workspaceId": { + "type": "string" } }, "additionalProperties": false }, - "User": { + "GongCallTranscriptSyncOutput": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" + "transcript": { + "type": "array", + "items": { + "type": "object", + "properties": { + "speaker_id": { + "type": "string" + }, + "topic": { + "type": ["string", "null"] + }, + "sentences": { + "type": "array", + "items": { + "type": "object", + "properties": { + "start": { + "type": "number" + }, + "end": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": ["start", "end", "text"], + "additionalProperties": false + } + } + }, + "required": ["speaker_id", "topic", "sentences"], + "additionalProperties": false + } } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_gong_users": { - "type": "object", + "required": ["id", "transcript"], "additionalProperties": false }, "ActionInput_gong_fetchcalltranscripts": { @@ -24796,9 +24620,10 @@ "required": ["transcript"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -24823,23 +24648,23 @@ "syncs": [ { "type": "sync", - "description": "Fetches a list of call transcripts from Gong", + "description": "Fetches the list of gong users", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/call-transcripts", - "group": "Calls" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_gong_calltranscripts", - "name": "call-transcripts", - "output": ["GongCallTranscriptSyncOutput"], - "runs": "every 1h", - "scopes": ["api:calls:read:transcript"], + "input": "SyncMetadata_gong_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["api:users:read"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GongCallTranscriptSyncOutput", "SyncMetadata_gong_calltranscripts"], + "usedModels": ["User", "SyncMetadata_gong_users"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -24867,23 +24692,23 @@ }, { "type": "sync", - "description": "Fetches the list of gong users", + "description": "Fetches a list of call transcripts from Gong", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/call-transcripts", + "group": "Calls" } ], - "input": "SyncMetadata_gong_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["api:users:read"], + "input": "SyncMetadata_gong_calltranscripts", + "name": "call-transcripts", + "output": ["GongCallTranscriptSyncOutput"], + "runs": "every 1h", + "scopes": ["api:calls:read:transcript"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_gong_users"], + "usedModels": ["GongCallTranscriptSyncOutput", "SyncMetadata_gong_calltranscripts"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -24895,54 +24720,34 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GongCallTranscriptSyncOutput": { + "SyncMetadata_gong_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "transcript": { - "type": "array", - "items": { - "type": "object", - "properties": { - "speaker_id": { - "type": "string" - }, - "topic": { - "type": ["string", "null"] - }, - "sentences": { - "type": "array", - "items": { - "type": "object", - "properties": { - "start": { - "type": "number" - }, - "end": { - "type": "number" - }, - "text": { - "type": "string" - } - }, - "required": ["start", "end", "text"], - "additionalProperties": false - } - } - }, - "required": ["speaker_id", "topic", "sentences"], - "additionalProperties": false - } + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "title": { + "type": ["string", "null"] } }, - "required": ["id", "transcript"], + "required": ["id", "firstName", "lastName", "email", "title"], "additionalProperties": false }, - "SyncMetadata_gong_calltranscripts": { + "SyncMetadata_gong_calls": { "type": "object", "properties": { "backfillPeriodMs": { @@ -24950,15 +24755,6 @@ }, "lastSyncBackfillPeriod": { "type": "number" - }, - "callIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "workspaceId": { - "type": "string" } }, "additionalProperties": false @@ -25236,7 +25032,7 @@ ], "additionalProperties": false }, - "SyncMetadata_gong_calls": { + "SyncMetadata_gong_calltranscripts": { "type": "object", "properties": { "backfillPeriodMs": { @@ -25244,31 +25040,62 @@ }, "lastSyncBackfillPeriod": { "type": "number" + }, + "callIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "workspaceId": { + "type": "string" } }, "additionalProperties": false }, - "User": { + "GongCallTranscriptSyncOutput": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" + "transcript": { + "type": "array", + "items": { + "type": "object", + "properties": { + "speaker_id": { + "type": "string" + }, + "topic": { + "type": ["string", "null"] + }, + "sentences": { + "type": "array", + "items": { + "type": "object", + "properties": { + "start": { + "type": "number" + }, + "end": { + "type": "number" + }, + "text": { + "type": "string" + } + }, + "required": ["start", "end", "text"], + "additionalProperties": false + } + } + }, + "required": ["speaker_id", "topic", "sentences"], + "additionalProperties": false + } } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_gong_users": { - "type": "object", + "required": ["id", "transcript"], "additionalProperties": false }, "ActionInput_gong_fetchcalltranscripts": { @@ -25353,9 +25180,10 @@ "required": ["transcript"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "gong" }, { @@ -25385,43 +25213,43 @@ }, { "type": "sync", - "description": "Sync all workspace users access tokens", - "auto_start": true, + "description": "Sync all workspace users", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/google/workspace-user-access-tokens" + "path": "/google/workspace-users" } ], - "input": "SyncMetadata_google_workspaceuseraccesstokens", - "name": "workspace-user-access-tokens", - "output": ["GoogleWorkspaceUserToken"], + "input": "SyncMetadata_google_workspaceusers", + "name": "workspace-users", + "output": ["User"], "runs": "every hour", - "scopes": ["https://www.googleapis.com/auth/admin.directory.user.readonly", "https://www.googleapis.com/auth/admin.directory.user.security"], + "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["GoogleWorkspaceUserToken", "SyncMetadata_google_workspaceuseraccesstokens"], + "usedModels": ["User", "SyncMetadata_google_workspaceusers"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Sync all workspace users", - "auto_start": false, + "description": "Sync all workspace users access tokens", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/google/workspace-users" + "path": "/google/workspace-user-access-tokens" } ], - "input": "SyncMetadata_google_workspaceusers", - "name": "workspace-users", - "output": ["User"], + "input": "SyncMetadata_google_workspaceuseraccesstokens", + "name": "workspace-user-access-tokens", + "output": ["GoogleWorkspaceUserToken"], "runs": "every hour", - "scopes": [], + "scopes": ["https://www.googleapis.com/auth/admin.directory.user.readonly", "https://www.googleapis.com/auth/admin.directory.user.security"], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_google_workspaceusers"], + "usedModels": ["GoogleWorkspaceUserToken", "SyncMetadata_google_workspaceuseraccesstokens"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -25433,8 +25261,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_google_workspaceorgunits": { + "type": "object", + "additionalProperties": false + }, "OrganizationalUnit": { "type": "object", "properties": { @@ -25466,81 +25297,130 @@ "required": ["id", "name", "createdAt", "deletedAt", "description", "path", "parentPath", "parentId"], "additionalProperties": false }, - "SyncMetadata_google_workspaceorgunits": { + "SyncMetadata_google_workspaceusers": { "type": "object", + "properties": { + "orgsToSync": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "path": { + "type": "string" + } + }, + "required": ["id", "path"], + "additionalProperties": false + } + } + }, + "required": ["orgsToSync"], "additionalProperties": false }, - "GoogleWorkspaceUserToken": { + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "user_id": { + "email": { "type": "string" }, - "app_name": { - "type": "string" + "displayName": { + "type": ["string", "null"] }, - "anonymous_app": { - "type": "boolean" + "givenName": { + "type": ["string", "null"] }, - "scopes": { + "familyName": { + "type": ["string", "null"] + }, + "picture": { + "type": ["string", "null"] + }, + "type": { "type": "string" + }, + "createdAt": { + "type": ["string", "null"] + }, + "deletedAt": { + "type": ["string", "null"] + }, + "phone": { + "type": "object", + "properties": { + "value": { + "type": ["string", "null"] + }, + "type": { + "type": ["string", "null"] + } + }, + "additionalProperties": false + }, + "organizationId": { + "type": ["string", "null"] + }, + "organizationPath": { + "type": ["string", "null"] + }, + "isAdmin": { + "type": ["boolean", "null"] + }, + "department": { + "type": ["string", "null"] } }, - "required": ["id", "user_id", "app_name", "anonymous_app", "scopes"], + "required": [ + "id", + "email", + "displayName", + "givenName", + "familyName", + "type", + "createdAt", + "deletedAt", + "phone", + "organizationPath", + "isAdmin", + "department" + ], "additionalProperties": false }, "SyncMetadata_google_workspaceuseraccesstokens": { "type": "object", "additionalProperties": false }, - "User": { + "GoogleWorkspaceUserToken": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "user_id": { "type": "string" }, - "lastName": { + "app_name": { "type": "string" }, - "email": { + "anonymous_app": { + "type": "boolean" + }, + "scopes": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_google_workspaceusers": { - "type": "object", - "properties": { - "orgsToSync": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": ["id", "path"], - "additionalProperties": false - } - } - }, - "required": ["orgsToSync"], + "required": ["id", "user_id", "app_name", "anonymous_app", "scopes"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -25548,78 +25428,78 @@ "actions": [ { "type": "action", - "description": "Fetch all user settings from Google Calendar", + "description": "description: Fetch current user information", "endpoint": { "method": "GET", - "path": "/settings", + "path": "/whoami", "group": "Users" }, - "input": "ActionInput_google_calendar_settings", - "name": "settings", - "output": ["ActionOutput_google_calendar_settings"], - "scopes": ["https://www.googleapis.com/auth/calendar.settings.readonly"], - "usedModels": ["ActionInput_google_calendar_settings", "ActionOutput_google_calendar_settings"], + "input": "ActionInput_google_calendar_whoami", + "name": "whoami", + "output": ["ActionOutput_google_calendar_whoami"], + "scopes": [], + "usedModels": ["ActionInput_google_calendar_whoami", "ActionOutput_google_calendar_whoami"], "version": "2.0.0" }, { "type": "action", - "description": "description: Fetch current user information", + "description": "Fetch all user settings from Google Calendar", "endpoint": { "method": "GET", - "path": "/whoami", + "path": "/settings", "group": "Users" }, - "input": "ActionInput_google_calendar_whoami", - "name": "whoami", - "output": ["ActionOutput_google_calendar_whoami"], - "scopes": [], - "usedModels": ["ActionInput_google_calendar_whoami", "ActionOutput_google_calendar_whoami"], + "input": "ActionInput_google_calendar_settings", + "name": "settings", + "output": ["ActionOutput_google_calendar_settings"], + "scopes": ["https://www.googleapis.com/auth/calendar.settings.readonly"], + "usedModels": ["ActionInput_google_calendar_settings", "ActionOutput_google_calendar_settings"], "version": "2.0.0" } ], "syncs": [ { "type": "sync", - "description": "Sync the calendars list of the user", + "description": "Sync calendar events on the primary calendar going back one month and\nsave the entire object as specified by the Google API", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/calendars", - "group": "Calendars" + "path": "/events", + "group": "Events" } ], - "input": "SyncMetadata_google_calendar_calendars", - "name": "calendars", - "output": ["GoogleCalendar"], - "runs": "every hour", + "input": "SyncMetadata_google_calendar_events", + "name": "events", + "output": ["GoogleCalendarEvent"], + "runs": "every 5 minutes", "scopes": ["https://www.googleapis.com/auth/calendar.readonly"], - "sync_type": "full", + "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GoogleCalendar", "SyncMetadata_google_calendar_calendars"], - "version": "2.0.0", + "usedModels": ["GoogleCalendarEvent", "SyncMetadata_google_calendar_events"], + "version": "4.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Sync calendar events on the primary calendar going back one month and\nsave the entire object as specified by the Google API", + "description": "Sync the calendars list of the user", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/events", - "group": "Events" + "path": "/calendars", + "group": "Calendars" } ], - "input": "SyncMetadata_google_calendar_events", - "name": "events", - "output": ["GoogleCalendarEvent"], - "runs": "every 5 minutes", + "input": "SyncMetadata_google_calendar_calendars", + "name": "calendars", + "output": ["GoogleCalendar"], + "runs": "every hour", "scopes": ["https://www.googleapis.com/auth/calendar.readonly"], - "sync_type": "incremental", + "sync_type": "full", "track_deletes": false, - "usedModels": ["GoogleCalendarEvent", "SyncMetadata_google_calendar_events"], - "version": "4.0.0", + "usedModels": ["GoogleCalendar", "SyncMetadata_google_calendar_calendars"], + "version": "2.0.0", "webhookSubscriptions": [] } ], @@ -25630,137 +25510,27 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GoogleCalendar": { + "SyncMetadata_google_calendar_events": { "type": "object", "properties": { - "kind": { - "type": "string" - }, - "etag": { - "type": "string" - }, - "id": { - "type": "string" - }, - "summary": { - "type": "string" - }, - "description": { - "type": "string" - }, - "location": { - "type": "string" - }, - "timeZone": { - "type": "string" - }, - "summaryOverride": { - "type": "string" - }, - "colorId": { - "type": "string" - }, - "backgroundColor": { - "type": "string" - }, - "foregroundColor": { - "type": "string" - }, - "hidden": { - "type": "boolean" - }, - "selected": { - "type": "boolean" - }, - "accessRole": { - "type": "string" - }, - "defaultReminders": { + "calendarsToSync": { "type": "array", "items": { - "type": "object", - "properties": { - "method": { - "type": "string" - }, - "minutes": { - "type": "number" - } - }, - "required": ["method", "minutes"], - "additionalProperties": false + "type": "string" } }, - "notificationSettings": { - "type": "object", - "properties": { - "notifications": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "method": { - "type": "string" - } - }, - "required": ["type", "method"], - "additionalProperties": false - } - } - }, - "required": ["notifications"], - "additionalProperties": false + "timeMin": { + "type": "string" }, - "primary": { - "type": "boolean" + "timeMax": { + "type": "string" }, - "deleted": { + "singleEvents": { "type": "boolean" - }, - "conferenceProperties": { - "type": "object", - "properties": { - "allowedConferenceSolutionTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["allowedConferenceSolutionTypes"], - "additionalProperties": false } }, - "required": [ - "kind", - "etag", - "id", - "summary", - "description", - "location", - "timeZone", - "summaryOverride", - "colorId", - "backgroundColor", - "foregroundColor", - "hidden", - "selected", - "accessRole", - "defaultReminders", - "notificationSettings", - "primary", - "deleted", - "conferenceProperties" - ], - "additionalProperties": false - }, - "SyncMetadata_google_calendar_calendars": { - "type": "object", + "required": ["calendarsToSync"], "additionalProperties": false }, "GoogleCalendarEvent": { @@ -26256,26 +26026,151 @@ "required": ["kind", "etag", "id", "status", "htmlLink", "created", "updated", "summary", "start", "end"], "additionalProperties": false }, - "SyncMetadata_google_calendar_events": { + "SyncMetadata_google_calendar_calendars": { + "type": "object", + "additionalProperties": false + }, + "GoogleCalendar": { "type": "object", "properties": { - "calendarsToSync": { + "kind": { + "type": "string" + }, + "etag": { + "type": "string" + }, + "id": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "description": { + "type": "string" + }, + "location": { + "type": "string" + }, + "timeZone": { + "type": "string" + }, + "summaryOverride": { + "type": "string" + }, + "colorId": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "foregroundColor": { + "type": "string" + }, + "hidden": { + "type": "boolean" + }, + "selected": { + "type": "boolean" + }, + "accessRole": { + "type": "string" + }, + "defaultReminders": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "method": { + "type": "string" + }, + "minutes": { + "type": "number" + } + }, + "required": ["method", "minutes"], + "additionalProperties": false } }, - "timeMin": { - "type": "string" + "notificationSettings": { + "type": "object", + "properties": { + "notifications": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "method": { + "type": "string" + } + }, + "required": ["type", "method"], + "additionalProperties": false + } + } + }, + "required": ["notifications"], + "additionalProperties": false }, - "timeMax": { - "type": "string" + "primary": { + "type": "boolean" }, - "singleEvents": { + "deleted": { "type": "boolean" + }, + "conferenceProperties": { + "type": "object", + "properties": { + "allowedConferenceSolutionTypes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["allowedConferenceSolutionTypes"], + "additionalProperties": false } }, - "required": ["calendarsToSync"], + "required": [ + "kind", + "etag", + "id", + "summary", + "description", + "location", + "timeZone", + "summaryOverride", + "colorId", + "backgroundColor", + "foregroundColor", + "hidden", + "selected", + "accessRole", + "defaultReminders", + "notificationSettings", + "primary", + "deleted", + "conferenceProperties" + ], + "additionalProperties": false + }, + "ActionInput_google_calendar_whoami": { + "type": "null" + }, + "ActionOutput_google_calendar_whoami": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "email"], "additionalProperties": false }, "ActionInput_google_calendar_settings": { @@ -26309,26 +26204,11 @@ }, "required": ["settings"], "additionalProperties": false - }, - "ActionInput_google_calendar_whoami": { - "type": "null" - }, - "ActionOutput_google_calendar_whoami": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "email"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -26349,21 +26229,6 @@ "usedModels": ["ActionInput_google_drive_foldercontent", "ActionOutput_google_drive_foldercontent"], "version": "2.0.0" }, - { - "type": "action", - "description": "Lists all shared drives the user has access to. Returns paginated results with up to 100 drives per page.", - "endpoint": { - "method": "GET", - "path": "/drives", - "group": "Drives" - }, - "input": "ActionInput_google_drive_listdrives", - "name": "list-drives", - "output": ["ActionOutput_google_drive_listdrives"], - "scopes": ["https://www.googleapis.com/auth/drive.readonly"], - "usedModels": ["ActionInput_google_drive_listdrives", "ActionOutput_google_drive_listdrives"], - "version": "2.0.0" - }, { "type": "action", "description": "Uploads a file to Google Drive. The file is uploaded to the root directory\nof the authenticated user's Google Drive account. If a folder ID is provided,\nthe file is uploaded to the specified folder.", @@ -26378,6 +26243,21 @@ "scopes": ["https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive.metadata"], "usedModels": ["ActionInput_google_drive_uploaddocument", "ActionOutput_google_drive_uploaddocument"], "version": "1.0.0" + }, + { + "type": "action", + "description": "Lists all shared drives the user has access to. Returns paginated results with up to 100 drives per page.", + "endpoint": { + "method": "GET", + "path": "/drives", + "group": "Drives" + }, + "input": "ActionInput_google_drive_listdrives", + "name": "list-drives", + "output": ["ActionOutput_google_drive_listdrives"], + "scopes": ["https://www.googleapis.com/auth/drive.readonly"], + "usedModels": ["ActionInput_google_drive_listdrives", "ActionOutput_google_drive_listdrives"], + "version": "2.0.0" } ], "syncs": [ @@ -26433,8 +26313,26 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_google_drive_documents": { + "type": "object", + "properties": { + "files": { + "type": "array", + "items": { + "type": "string" + } + }, + "folders": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["files", "folders"], + "additionalProperties": false + }, "Document": { "type": "object", "properties": { @@ -26457,23 +26355,8 @@ "required": ["id", "url", "title", "mimeType", "updatedAt"], "additionalProperties": false }, - "SyncMetadata_google_drive_documents": { + "SyncMetadata_google_drive_folders": { "type": "object", - "properties": { - "files": { - "type": "array", - "items": { - "type": "string" - } - }, - "folders": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["files", "folders"], "additionalProperties": false }, "Folder": { @@ -26498,10 +26381,6 @@ "required": ["id", "url", "title", "mimeType", "updatedAt"], "additionalProperties": false }, - "SyncMetadata_google_drive_folders": { - "type": "object", - "additionalProperties": false - }, "ActionInput_google_drive_foldercontent": { "type": "object", "properties": { @@ -26598,6 +26477,65 @@ "required": ["files", "folders"], "additionalProperties": false }, + "ActionInput_google_drive_uploaddocument": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "name": { + "type": "string" + }, + "mimeType": { + "type": "string" + }, + "folderId": { + "type": "string" + }, + "description": { + "type": "string" + }, + "isBase64": { + "type": "boolean" + } + }, + "required": ["content", "name", "mimeType"], + "additionalProperties": false + }, + "ActionOutput_google_drive_uploaddocument": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "mimeType": { + "type": "string" + }, + "parents": { + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedTime": { + "type": "string" + }, + "createdTime": { + "type": "string" + }, + "webViewLink": { + "type": "string" + }, + "kind": { + "type": "string" + } + }, + "required": ["id", "name", "mimeType", "parents"], + "additionalProperties": false + }, "ActionInput_google_drive_listdrives": { "type": "object", "properties": { @@ -26765,88 +26703,16 @@ }, "required": ["drives", "next_cursor", "kind"], "additionalProperties": false - }, - "ActionInput_google_drive_uploaddocument": { - "type": "object", - "properties": { - "content": { - "type": "string" - }, - "name": { - "type": "string" - }, - "mimeType": { - "type": "string" - }, - "folderId": { - "type": "string" - }, - "description": { - "type": "string" - }, - "isBase64": { - "type": "boolean" - } - }, - "required": ["content", "name", "mimeType"], - "additionalProperties": false - }, - "ActionOutput_google_drive_uploaddocument": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "mimeType": { - "type": "string" - }, - "parents": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedTime": { - "type": "string" - }, - "createdTime": { - "type": "string" - }, - "webViewLink": { - "type": "string" - }, - "kind": { - "type": "string" - } - }, - "required": ["id", "name", "mimeType", "parents"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "google-mail", "actions": [ - { - "type": "action", - "description": "An action used to fetch the contents of an attachment.", - "endpoint": { - "method": "GET", - "path": "/attachment" - }, - "input": "ActionInput_google_mail_fetchattachment", - "name": "fetch-attachment", - "output": ["ActionOutput_google_mail_fetchattachment"], - "scopes": ["https://www.googleapis.com/auth/gmail.readonly"], - "usedModels": ["ActionInput_google_mail_fetchattachment", "ActionOutput_google_mail_fetchattachment"], - "version": "2.0.0" - }, { "type": "action", "description": "Send an Email using Gmail.", @@ -26861,6 +26727,20 @@ "scopes": ["https://www.googleapis.com/auth/gmail.send"], "usedModels": ["ActionInput_google_mail_sendemail", "ActionOutput_google_mail_sendemail"], "version": "2.0.0" + }, + { + "type": "action", + "description": "An action used to fetch the contents of an attachment.", + "endpoint": { + "method": "GET", + "path": "/attachment" + }, + "input": "ActionInput_google_mail_fetchattachment", + "name": "fetch-attachment", + "output": ["ActionOutput_google_mail_fetchattachment"], + "scopes": ["https://www.googleapis.com/auth/gmail.readonly"], + "usedModels": ["ActionInput_google_mail_fetchattachment", "ActionOutput_google_mail_fetchattachment"], + "version": "2.0.0" } ], "syncs": [ @@ -26916,8 +26796,17 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_google_mail_emails": { + "type": "object", + "properties": { + "backfillPeriodMs": { + "type": "number" + } + }, + "required": ["backfillPeriodMs"], + "additionalProperties": false + }, "GmailEmail": { "type": "object", "properties": { @@ -26968,14 +26857,8 @@ "required": ["id", "sender", "date", "subject", "attachments", "threadId"], "additionalProperties": false }, - "SyncMetadata_google_mail_emails": { + "SyncMetadata_google_mail_labels": { "type": "object", - "properties": { - "backfillPeriodMs": { - "type": "number" - } - }, - "required": ["backfillPeriodMs"], "additionalProperties": false }, "GmailLabel": { @@ -27043,26 +26926,6 @@ ], "additionalProperties": false }, - "SyncMetadata_google_mail_labels": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_google_mail_fetchattachment": { - "type": "object", - "properties": { - "threadId": { - "type": "string" - }, - "attachmentId": { - "type": "string" - } - }, - "required": ["threadId", "attachmentId"], - "additionalProperties": false - }, - "ActionOutput_google_mail_fetchattachment": { - "type": "string" - }, "ActionInput_google_mail_sendemail": { "type": "object", "properties": { @@ -27100,10 +26963,27 @@ }, "required": ["id", "threadId"], "additionalProperties": false + }, + "ActionInput_google_mail_fetchattachment": { + "type": "object", + "properties": { + "threadId": { + "type": "string" + }, + "attachmentId": { + "type": "string" + } + }, + "required": ["threadId", "attachmentId"], + "additionalProperties": false + }, + "ActionOutput_google_mail_fetchattachment": { + "type": "string" } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -27208,429 +27088,12 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Ticket": { - "type": "object", - "properties": { - "url": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "via": { - "anyOf": [ - { - "type": "object", - "properties": { - "channel": { - "type": "string" - }, - "source": { - "type": "object", - "properties": { - "from": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "to": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "rel": { - "type": ["string", "null"] - } - }, - "required": ["from", "to", "rel"], - "additionalProperties": false - } - }, - "required": ["channel", "source"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "generated_timestamp": { - "type": ["number", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "subject": { - "type": ["string", "null"] - }, - "raw_subject": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "priority": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "recipient": { - "type": ["string", "null"] - }, - "requester_id": { - "type": ["number", "null"] - }, - "submitter_id": { - "type": ["number", "null"] - }, - "assignee_id": { - "type": ["number", "null"] - }, - "organization_id": { - "type": ["number", "null"] - }, - "group_id": { - "type": ["number", "null"] - }, - "collaborator_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "follower_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "email_cc_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "forum_topic_id": { - "type": ["string", "null"] - }, - "problem_id": { - "type": ["string", "null"] - }, - "has_incidents": { - "type": ["boolean", "null"] - }, - "is_public": { - "type": ["boolean", "null"] - }, - "due_at": { - "type": ["string", "null"] - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "custom_fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "satisfaction_rating": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - { - "type": "null" - } - ] - }, - "sharing_agreement_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "custom_status_id": { - "type": ["number", "null"] - }, - "fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "followup_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "ticket_form_id": { - "type": ["number", "null"] - }, - "brand_id": { - "type": ["number", "null"] - }, - "allow_channelback": { - "type": ["boolean", "null"] - }, - "allow_attachments": { - "type": ["boolean", "null"] - }, - "from_messaging_channel": { - "type": ["boolean", "null"] - } - }, - "required": [ - "url", - "id", - "external_id", - "via", - "created_at", - "updated_at", - "generated_timestamp", - "type", - "subject", - "raw_subject", - "description", - "priority", - "status", - "recipient", - "requester_id", - "submitter_id", - "assignee_id", - "organization_id", - "group_id", - "collaborator_ids", - "follower_ids", - "email_cc_ids", - "forum_topic_id", - "problem_id", - "has_incidents", - "is_public", - "due_at", - "tags", - "custom_fields", - "satisfaction_rating", - "sharing_agreement_ids", - "custom_status_id", - "fields", - "followup_ids", - "ticket_form_id", - "brand_id", - "allow_channelback", - "allow_attachments", - "from_messaging_channel" - ], - "additionalProperties": false - }, "SyncMetadata_gorgias_tickets": { "type": "object", "additionalProperties": false }, - "GorgiasUser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_gorgias_users": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_gorgias_createticket": { - "type": "object", - "properties": { - "customer": { - "type": "object", - "properties": { - "phone_number": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["phone_number"], - "additionalProperties": false - }, - "ticket": { - "type": "object", - "properties": { - "messages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "attachments": { - "type": "array", - "items": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "size": { - "type": "number" - }, - "content_type": { - "type": "string" - } - }, - "required": ["url", "name", "size", "content_type"], - "additionalProperties": false - } - }, - "body_html": { - "type": "string" - }, - "body_text": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["attachments", "body_html", "body_text", "id"], - "additionalProperties": false - } - } - }, - "required": ["messages"], - "additionalProperties": false - } - }, - "required": ["customer", "ticket"], - "additionalProperties": false - }, - "ActionOutput_gorgias_createticket": { + "Ticket": { "type": "object", "properties": { "id": { @@ -28222,27 +27685,11 @@ ], "additionalProperties": false }, - "ActionInput_gorgias_createuser": { + "SyncMetadata_gorgias_users": { "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "role": { - "type": "string", - "enum": ["admin", "agent", "basic-agent", "lite-agent", "observer-agent"] - } - }, - "required": ["firstName", "lastName", "email"], "additionalProperties": false }, - "ActionOutput_gorgias_createuser": { + "GorgiasUser": { "type": "object", "properties": { "id": { @@ -28261,488 +27708,7 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "ActionInput_gorgias_deleteuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_gorgias_deleteuser": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "gorgias-basic", - "actions": [ - { - "type": "action", - "description": "Creates a new ticket", - "endpoint": { - "method": "POST", - "path": "/ticket", - "group": "Tickets" - }, - "input": "ActionInput_gorgias_createticket", - "name": "create-ticket", - "output": ["ActionOutput_gorgias_createticket"], - "scopes": ["tickets:write", "account:read", "customers:write", "customers:read"], - "usedModels": ["ActionInput_gorgias_createticket", "ActionOutput_gorgias_createticket"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Creates a new user with a role in Gorgias. Defaults to agent if a role is not provided", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_gorgias_createuser", - "name": "create-user", - "output": ["ActionOutput_gorgias_createuser"], - "scopes": ["users:write"], - "usedModels": ["ActionInput_gorgias_createuser", "ActionOutput_gorgias_createuser"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Deletes a user in Gorgias", - "endpoint": { - "method": "DELETE", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_gorgias_deleteuser", - "name": "delete-user", - "output": ["ActionOutput_gorgias_deleteuser"], - "scopes": ["users:write"], - "usedModels": ["ActionInput_gorgias_deleteuser", "ActionOutput_gorgias_deleteuser"], - "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of tickets with their associated messages", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/tickets", - "group": "Tickets" - } - ], - "input": "SyncMetadata_gorgias_tickets", - "name": "tickets", - "output": ["Ticket"], - "runs": "every 6 hours", - "scopes": ["tickets:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Ticket", "SyncMetadata_gorgias_tickets"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches the list of users", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users", - "group": "Users" - } - ], - "input": "SyncMetadata_gorgias_users", - "name": "users", - "output": ["GorgiasUser"], - "runs": "every 6 hours", - "scopes": ["users:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["GorgiasUser", "SyncMetadata_gorgias_users"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Ticket": { - "type": "object", - "properties": { - "url": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "via": { - "anyOf": [ - { - "type": "object", - "properties": { - "channel": { - "type": "string" - }, - "source": { - "type": "object", - "properties": { - "from": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "to": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "rel": { - "type": ["string", "null"] - } - }, - "required": ["from", "to", "rel"], - "additionalProperties": false - } - }, - "required": ["channel", "source"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "generated_timestamp": { - "type": ["number", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "subject": { - "type": ["string", "null"] - }, - "raw_subject": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "priority": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "recipient": { - "type": ["string", "null"] - }, - "requester_id": { - "type": ["number", "null"] - }, - "submitter_id": { - "type": ["number", "null"] - }, - "assignee_id": { - "type": ["number", "null"] - }, - "organization_id": { - "type": ["number", "null"] - }, - "group_id": { - "type": ["number", "null"] - }, - "collaborator_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "follower_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "email_cc_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "forum_topic_id": { - "type": ["string", "null"] - }, - "problem_id": { - "type": ["string", "null"] - }, - "has_incidents": { - "type": ["boolean", "null"] - }, - "is_public": { - "type": ["boolean", "null"] - }, - "due_at": { - "type": ["string", "null"] - }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "custom_fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "satisfaction_rating": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - { - "type": "null" - } - ] - }, - "sharing_agreement_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "custom_status_id": { - "type": ["number", "null"] - }, - "fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "followup_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "ticket_form_id": { - "type": ["number", "null"] - }, - "brand_id": { - "type": ["number", "null"] - }, - "allow_channelback": { - "type": ["boolean", "null"] - }, - "allow_attachments": { - "type": ["boolean", "null"] - }, - "from_messaging_channel": { - "type": ["boolean", "null"] - } - }, - "required": [ - "url", - "id", - "external_id", - "via", - "created_at", - "updated_at", - "generated_timestamp", - "type", - "subject", - "raw_subject", - "description", - "priority", - "status", - "recipient", - "requester_id", - "submitter_id", - "assignee_id", - "organization_id", - "group_id", - "collaborator_ids", - "follower_ids", - "email_cc_ids", - "forum_topic_id", - "problem_id", - "has_incidents", - "is_public", - "due_at", - "tags", - "custom_fields", - "satisfaction_rating", - "sharing_agreement_ids", - "custom_status_id", - "fields", - "followup_ids", - "ticket_form_id", - "brand_id", - "allow_channelback", - "allow_attachments", - "from_messaging_channel" - ], - "additionalProperties": false - }, - "SyncMetadata_gorgias_tickets": { - "type": "object", - "additionalProperties": false - }, - "GorgiasUser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_gorgias_users": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_gorgias_createticket": { + "ActionInput_gorgias_createticket": { "type": "object", "properties": { "customer": { @@ -29461,34 +28427,87 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", - "symLinkTargetName": "gorgias" + "sdkVersion": "0.68.1", + "symLinkTargetName": null }, { - "providerConfigKey": "grammarly", + "providerConfigKey": "gorgias-basic", "actions": [ { "type": "action", - "description": "Deletes a user in Grammarly", + "description": "Creates a new ticket", + "endpoint": { + "method": "POST", + "path": "/ticket", + "group": "Tickets" + }, + "input": "ActionInput_gorgias_createticket", + "name": "create-ticket", + "output": ["ActionOutput_gorgias_createticket"], + "scopes": ["tickets:write", "account:read", "customers:write", "customers:read"], + "usedModels": ["ActionInput_gorgias_createticket", "ActionOutput_gorgias_createticket"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Creates a new user with a role in Gorgias. Defaults to agent if a role is not provided", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_gorgias_createuser", + "name": "create-user", + "output": ["ActionOutput_gorgias_createuser"], + "scopes": ["users:write"], + "usedModels": ["ActionInput_gorgias_createuser", "ActionOutput_gorgias_createuser"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Deletes a user in Gorgias", "endpoint": { "method": "DELETE", "path": "/users", "group": "Users" }, - "input": "ActionInput_grammarly_deleteuser", + "input": "ActionInput_gorgias_deleteuser", "name": "delete-user", - "output": ["ActionOutput_grammarly_deleteuser"], - "scopes": [], - "usedModels": ["ActionInput_grammarly_deleteuser", "ActionOutput_grammarly_deleteuser"], + "output": ["ActionOutput_gorgias_deleteuser"], + "scopes": ["users:write"], + "usedModels": ["ActionInput_gorgias_deleteuser", "ActionOutput_gorgias_deleteuser"], "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches a list of users from Grammarly", + "description": "Fetches a list of tickets with their associated messages", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/tickets", + "group": "Tickets" + } + ], + "input": "SyncMetadata_gorgias_tickets", + "name": "tickets", + "output": ["Ticket"], + "runs": "every 6 hours", + "scopes": ["tickets:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Ticket", "SyncMetadata_gorgias_tickets"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches the list of users", "auto_start": true, "endpoints": [ { @@ -29497,14 +28516,14 @@ "group": "Users" } ], - "input": "SyncMetadata_grammarly_users", + "input": "SyncMetadata_gorgias_users", "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": [], + "output": ["GorgiasUser"], + "runs": "every 6 hours", + "scopes": ["users:read"], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_grammarly_users"], + "usedModels": ["GorgiasUser", "SyncMetadata_gorgias_users"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -29516,1535 +28535,1390 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "User": { + "SyncMetadata_gorgias_tickets": { + "type": "object", + "additionalProperties": false + }, + "Ticket": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_grammarly_users": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_grammarly_deleteuser": { - "type": "object", - "properties": { - "email": { - "type": "string" - } - }, - "required": ["email"], - "additionalProperties": false - }, - "ActionOutput_grammarly_deleteuser": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "greenhouse", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of all organization's applications from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/applications" - } - ], - "input": "SyncMetadata_greenhouse_basic_applications", - "name": "applications", - "output": ["GreenhouseApplication"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseApplication", "SyncMetadata_greenhouse_basic_applications"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of all organization's candidates from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/candidates" - } - ], - "input": "SyncMetadata_greenhouse_basic_candidates", - "name": "candidates", - "output": ["GreenhouseCandidate"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseCandidate", "SyncMetadata_greenhouse_basic_candidates"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of all organization's jobs from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/jobs" - } - ], - "input": "SyncMetadata_greenhouse_basic_jobs", - "name": "jobs", - "output": ["GreenhouseJob"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseJob", "SyncMetadata_greenhouse_basic_jobs"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "GreenhouseApplication": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "candidate_id": { - "type": "string" - }, - "prospect": { - "type": "boolean" - }, - "applied_at": { - "type": "string", - "format": "date-time" - }, - "rejected_at": { - "type": "string", - "format": "date-time" - }, - "last_activity_at": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "properties": { - "address": { - "type": "string" - } - }, - "required": ["address"], - "additionalProperties": false - }, - "source": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "public_name": { - "type": "string" - } - }, - "required": ["id", "public_name"], - "additionalProperties": false - }, - "credited_to": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "employee_id": { - "type": "string" - } - }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], - "additionalProperties": false - }, - "rejection_reason": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { + "assignee_user": { + "anyOf": [ + { "type": "object", "properties": { "id": { - "type": "string" + "type": "number" }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "name", "type"], - "additionalProperties": false - }, - "rejection_details": { - "type": "object", - "properties": { - "custom_fields": { - "type": "object", - "additionalProperties": false - }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false - } - }, - "required": ["custom_fields", "keyed_custom_fields"], - "additionalProperties": false - }, - "jobs": { - "type": "array", - "items": { - "type": "string" - } - }, - "job_post_id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "current_stage": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "answers": { - "type": "array", - "items": { - "type": "string" - } - }, - "prospective_office": { - "type": "object", - "properties": { - "primary_contact_user_id": { - "type": "string" - }, - "parent_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "id": { - "type": "string" - }, - "external_id": { - "type": "string" - }, - "child_ids": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["primary_contact_user_id", "parent_id", "name", "location", "id", "external_id", "child_ids"], - "additionalProperties": false - }, - "prospective_department": { - "type": "object", - "properties": { - "parent_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": "string" - }, - "child_ids": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["parent_id", "name", "id", "external_id", "child_ids"], - "additionalProperties": false - }, - "prospect_detail": { - "type": "object", - "properties": { - "prospect_pool": { - "type": "object", - "properties": { - "id": { + "firstname": { "type": "string" }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "prospect_stage": { - "type": "object", - "properties": { - "id": { + "lastname": { "type": "string" }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "prospect_owner": { - "type": "object", - "properties": { - "id": { + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { "type": "string" }, "name": { "type": "string" + }, + "bio": { + "type": ["string", "null"] } }, - "required": ["id", "name"], + "required": ["id", "firstname", "lastname", "meta", "email", "name", "bio"], "additionalProperties": false + }, + { + "type": "null" } - }, - "required": ["prospect_pool", "prospect_stage", "prospect_owner"], - "additionalProperties": false - }, - "custom_fields": { - "type": "object", - "additionalProperties": false - }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false - }, - "attachments": { - "type": "array", - "items": {} - } - }, - "required": [ - "id", - "candidate_id", - "prospect", - "applied_at", - "rejected_at", - "last_activity_at", - "location", - "source", - "credited_to", - "rejection_reason", - "rejection_details", - "jobs", - "job_post_id", - "status", - "current_stage", - "answers", - "prospective_office", - "prospective_department", - "prospect_detail", - "custom_fields", - "keyed_custom_fields", - "attachments" - ], - "additionalProperties": false - }, - "SyncMetadata_greenhouse_basic_applications": { - "type": "object", - "additionalProperties": false - }, - "GreenhouseCandidate": { - "type": "object", - "properties": { - "id": { - "type": "string" + ] }, - "first_name": { + "channel": { "type": "string" }, - "last_name": { - "type": "string" + "closed_datetime": { + "type": ["string", "null"] }, - "company": { - "type": "string" + "created_datetime": { + "type": ["string", "null"] }, - "title": { + "excerpt": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "last_activity": { - "type": "string", - "format": "date-time" + "external_id": { + "type": ["string", "null"] }, - "is_private": { + "from_agent": { "type": "boolean" }, - "photo_url": { - "type": "string" - }, - "attachments": { - "type": "array", - "items": {} + "integrations": { + "anyOf": [ + { + "type": "array", + "items": {} + }, + { + "type": "null" + } + ] }, - "application_ids": { - "type": "array", - "items": { - "type": "string" - } + "is_unread": { + "type": "boolean" }, - "phone_numbers": { - "type": "array", - "items": { - "type": "string" - } + "language": { + "type": ["string", "null"] }, - "addresses": { - "type": "array", - "items": {} + "last_message_datetime": { + "type": ["string", "null"] }, - "email_addresses": { - "type": "array", - "items": { - "type": "string" - } + "last_received_message_datetime": { + "type": ["string", "null"] }, - "website_addresses": { - "type": "array", - "items": { - "type": "string" - } + "messages_count": { + "type": "number" }, - "social_media_addresses": { + "messages": { "type": "array", "items": { - "type": "string" - } - }, - "recruiter": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "uri": { + "type": "string" + }, + "message_id": { + "type": ["string", "null"] + }, + "integration_id": { + "type": ["number", "null"] + }, + "rule_id": { + "type": ["number", "null"] + }, + "external_id": { + "type": ["string", "null"] + }, + "ticket_id": { + "type": "number" + }, + "channel": { + "type": "string" + }, + "via": { + "type": "string", + "enum": [ + "aircall", + "api", + "chat", + "contact_form", + "email", + "facebook", + "facebook-mention", + "facebook-messenger", + "facebook-recommendations", + "form", + "gorgias_chat", + "help-center", + "helpdesk", + "instagram", + "instagram-ad-comment", + "instagram-comment", + "instagram-direct-message", + "instagram-mention", + "internal-note", + "offline_capture", + "phone", + "rule", + "self_service", + "shopify", + "sms", + "twilio", + "twitter", + "twitter-direct-message", + "whatsapp", + "yotpo", + "yotpo-review", + "zendesk" + ] + }, + "subject": { + "type": ["string", "null"] + }, + "body_text": { + "type": ["string", "null"] + }, + "body_html": { + "type": ["string", "null"] + }, + "stripped_text": { + "type": ["string", "null"] + }, + "stripped_html": { + "type": ["string", "null"] + }, + "stripped_signature": { + "type": ["string", "null"] + }, + "public": { + "type": "boolean" + }, + "from_agent": { + "type": "boolean" + }, + "sender": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "firstname", "lastname", "meta", "email", "name"], + "additionalProperties": false + }, + "receiver": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "firstname", "lastname", "meta", "email", "name"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "attachments": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": ["number", "null"] + }, + "content_type": { + "type": "string" + }, + "public": { + "type": "boolean" + }, + "extra": { + "type": ["string", "null"] + } + }, + "required": ["url", "name", "size", "content_type", "public", "extra"], + "additionalProperties": false + } + }, + { + "type": "null" + } + ] + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "headers": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "actions": { + "anyOf": [ + { + "type": "array", + "items": {} + }, + { + "type": "null" + } + ] + }, + "macros": { + "anyOf": [ + { + "type": "array", + "items": {} + }, + { + "type": "null" + } + ] + }, + "created_datetime": { + "type": ["string", "null"] + }, + "opened_datetime": { + "type": ["string", "null"] + }, + "failed_datetime": { + "type": ["string", "null"] + }, + "last_sending_error": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "deleted_datetime": { + "type": ["string", "null"] + }, + "replied_by": { + "type": ["string", "null"] + }, + "replied_to": { + "type": ["string", "null"] + } }, - "employee_id": { - "type": "string" - } - }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], - "additionalProperties": false + "required": [ + "id", + "uri", + "message_id", + "integration_id", + "rule_id", + "external_id", + "ticket_id", + "channel", + "via", + "subject", + "body_text", + "body_html", + "stripped_text", + "stripped_html", + "stripped_signature", + "public", + "from_agent", + "sender", + "receiver", + "attachments", + "meta", + "headers", + "actions", + "macros", + "created_datetime", + "opened_datetime", + "failed_datetime", + "last_sending_error", + "deleted_datetime" + ], + "additionalProperties": false + } }, - "coordinator": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } }, - "employee_id": { - "type": "string" + { + "type": "null" } - }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], - "additionalProperties": false + ] }, - "can_email": { - "type": "boolean" + "opened_datetime": { + "type": ["string", "null"] }, - "tags": { - "type": "array", - "items": { - "type": "string" - } + "snooze_datetime": { + "type": ["string", "null"] }, - "applications": { - "type": "array", - "items": { - "type": "string" - } + "status": { + "type": "string", + "enum": ["open", "closed"] }, - "educations": { - "type": "array", - "items": { - "type": "string" - } + "subject": { + "type": ["string", "null"] }, - "employments": { + "tags": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "uri": { + "type": ["string", "null"] + }, + "decoration": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "created_datetime": { + "type": ["string", "null"] + }, + "deleted_datetime": { + "type": ["string", "null"] + } + }, + "required": ["id", "name", "uri", "decoration", "created_datetime"], + "additionalProperties": false } }, - "linked_user_ids": { - "type": "string" + "spam": { + "type": ["boolean", "null"] }, - "custom_fields": { - "type": "object", - "additionalProperties": false + "trashed_datetime": { + "type": ["string", "null"] }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false + "updated_datetime": { + "type": ["string", "null"] + }, + "via": { + "type": "string", + "enum": [ + "aircall", + "api", + "chat", + "contact_form", + "email", + "facebook", + "facebook-mention", + "facebook-messenger", + "facebook-recommendations", + "form", + "gorgias_chat", + "help-center", + "helpdesk", + "instagram", + "instagram-ad-comment", + "instagram-comment", + "instagram-direct-message", + "instagram-mention", + "internal-note", + "offline_capture", + "phone", + "rule", + "self_service", + "shopify", + "sms", + "twilio", + "twitter", + "twitter-direct-message", + "whatsapp", + "yotpo", + "yotpo-review", + "zendesk" + ] + }, + "uri": { + "type": "string" } }, "required": [ "id", - "first_name", - "last_name", - "company", - "title", - "created_at", - "updated_at", - "last_activity", - "is_private", - "photo_url", - "attachments", - "application_ids", - "phone_numbers", - "addresses", - "email_addresses", - "website_addresses", - "social_media_addresses", - "recruiter", - "coordinator", - "can_email", + "assignee_user", + "channel", + "closed_datetime", + "created_datetime", + "external_id", + "from_agent", + "is_unread", + "language", + "last_message_datetime", + "last_received_message_datetime", + "messages", + "meta", + "opened_datetime", + "snooze_datetime", + "status", + "subject", "tags", - "applications", - "educations", - "employments", - "linked_user_ids", - "custom_fields", - "keyed_custom_fields" + "spam", + "trashed_datetime", + "updated_datetime", + "via", + "uri" ], "additionalProperties": false }, - "SyncMetadata_greenhouse_basic_candidates": { + "SyncMetadata_gorgias_users": { "type": "object", "additionalProperties": false }, - "GreenhouseJob": { + "GorgiasUser": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { - "type": "string" - }, - "requisition_id": { - "type": "string" - }, - "notes": { + "firstName": { "type": "string" }, - "confidential": { - "type": "boolean" - }, - "status": { + "lastName": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "opened_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean" - }, - "copied_from_id": { + "email": { "type": "string" - }, - "departments": { - "type": "array", - "items": { - "type": "string" - } - }, - "offices": { - "type": "array", - "items": { - "type": "string" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": false - }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false - }, - "hiring_team": { - "type": "object", - "properties": { - "hiring_managers": { - "type": "array", - "items": { - "type": "string" - } - }, - "recruiters": { - "type": "array", - "items": { - "type": "string" - } - }, - "coordinators": { - "type": "array", - "items": { - "type": "string" - } - }, - "sourcers": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["hiring_managers", "recruiters", "coordinators", "sourcers"], - "additionalProperties": false - }, - "openings": { - "type": "array", - "items": { - "type": "string" - } } }, - "required": [ - "id", - "name", - "requisition_id", - "notes", - "confidential", - "status", - "created_at", - "opened_at", - "closed_at", - "updated_at", - "is_template", - "copied_from_id", - "departments", - "offices", - "custom_fields", - "keyed_custom_fields", - "hiring_team", - "openings" - ], + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_greenhouse_basic_jobs": { - "type": "object", - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": "greenhouse-basic" - }, - { - "providerConfigKey": "greenhouse-basic", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of all organization's applications from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/applications" - } - ], - "input": "SyncMetadata_greenhouse_basic_applications", - "name": "applications", - "output": ["GreenhouseApplication"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseApplication", "SyncMetadata_greenhouse_basic_applications"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of all organization's candidates from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/candidates" - } - ], - "input": "SyncMetadata_greenhouse_basic_candidates", - "name": "candidates", - "output": ["GreenhouseCandidate"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseCandidate", "SyncMetadata_greenhouse_basic_candidates"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of all organization's jobs from greenhouse", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/greenhouse-basic/jobs" - } - ], - "input": "SyncMetadata_greenhouse_basic_jobs", - "name": "jobs", - "output": ["GreenhouseJob"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GreenhouseJob", "SyncMetadata_greenhouse_basic_jobs"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "GreenhouseApplication": { + "ActionInput_gorgias_createticket": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "candidate_id": { - "type": "string" - }, - "prospect": { - "type": "boolean" - }, - "applied_at": { - "type": "string", - "format": "date-time" - }, - "rejected_at": { - "type": "string", - "format": "date-time" - }, - "last_activity_at": { - "type": "string", - "format": "date-time" - }, - "location": { - "type": "object", - "properties": { - "address": { - "type": "string" - } - }, - "required": ["address"], - "additionalProperties": false - }, - "source": { + "customer": { "type": "object", "properties": { - "id": { + "phone_number": { "type": "string" }, - "public_name": { + "email": { "type": "string" } }, - "required": ["id", "public_name"], + "required": ["phone_number"], "additionalProperties": false }, - "credited_to": { + "ticket": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "employee_id": { - "type": "string" + "messages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "attachments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": "number" + }, + "content_type": { + "type": "string" + } + }, + "required": ["url", "name", "size", "content_type"], + "additionalProperties": false + } + }, + "body_html": { + "type": "string" + }, + "body_text": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["attachments", "body_html", "body_text", "id"], + "additionalProperties": false + } } }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], + "required": ["messages"], "additionalProperties": false + } + }, + "required": ["customer", "ticket"], + "additionalProperties": false + }, + "ActionOutput_gorgias_createticket": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "rejection_reason": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { + "assignee_user": { + "anyOf": [ + { "type": "object", "properties": { "id": { + "type": "number" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { "type": "string" }, "name": { "type": "string" + }, + "bio": { + "type": ["string", "null"] } }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "required": ["id", "name", "type"], - "additionalProperties": false - }, - "rejection_details": { - "type": "object", - "properties": { - "custom_fields": { - "type": "object", + "required": ["id", "firstname", "lastname", "meta", "email", "name", "bio"], "additionalProperties": false }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false + { + "type": "null" } - }, - "required": ["custom_fields", "keyed_custom_fields"], - "additionalProperties": false - }, - "jobs": { - "type": "array", - "items": { - "type": "string" - } + ] }, - "job_post_id": { + "channel": { "type": "string" }, - "status": { + "closed_datetime": { + "type": ["string", "null"] + }, + "created_datetime": { + "type": ["string", "null"] + }, + "excerpt": { "type": "string" }, - "current_stage": { - "type": "object", - "properties": { - "id": { - "type": "string" + "external_id": { + "type": ["string", "null"] + }, + "from_agent": { + "type": "boolean" + }, + "integrations": { + "anyOf": [ + { + "type": "array", + "items": {} }, - "name": { - "type": "string" + { + "type": "null" } - }, - "required": ["id", "name"], - "additionalProperties": false + ] }, - "answers": { + "is_unread": { + "type": "boolean" + }, + "language": { + "type": ["string", "null"] + }, + "last_message_datetime": { + "type": ["string", "null"] + }, + "last_received_message_datetime": { + "type": ["string", "null"] + }, + "messages_count": { + "type": "number" + }, + "messages": { "type": "array", "items": { - "type": "string" - } - }, - "prospective_office": { - "type": "object", - "properties": { - "primary_contact_user_id": { - "type": "string" - }, - "parent_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "name": { - "type": "string" - } + "type": "object", + "properties": { + "id": { + "type": "number" }, - "required": ["name"], - "additionalProperties": false - }, - "id": { - "type": "string" - }, - "external_id": { - "type": "string" - }, - "child_ids": { - "type": "array", - "items": { + "uri": { "type": "string" - } - } - }, - "required": ["primary_contact_user_id", "parent_id", "name", "location", "id", "external_id", "child_ids"], - "additionalProperties": false - }, - "prospective_department": { - "type": "object", - "properties": { - "parent_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": "string" - }, - "child_ids": { - "type": "array", - "items": { + }, + "message_id": { + "type": ["string", "null"] + }, + "integration_id": { + "type": ["number", "null"] + }, + "rule_id": { + "type": ["number", "null"] + }, + "external_id": { + "type": ["string", "null"] + }, + "ticket_id": { + "type": "number" + }, + "channel": { "type": "string" - } - } - }, - "required": ["parent_id", "name", "id", "external_id", "child_ids"], - "additionalProperties": false - }, - "prospect_detail": { - "type": "object", - "properties": { - "prospect_pool": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } }, - "required": ["id", "name"], - "additionalProperties": false - }, - "prospect_stage": { - "type": "object", - "properties": { - "id": { - "type": "string" + "via": { + "type": "string", + "enum": [ + "aircall", + "api", + "chat", + "contact_form", + "email", + "facebook", + "facebook-mention", + "facebook-messenger", + "facebook-recommendations", + "form", + "gorgias_chat", + "help-center", + "helpdesk", + "instagram", + "instagram-ad-comment", + "instagram-comment", + "instagram-direct-message", + "instagram-mention", + "internal-note", + "offline_capture", + "phone", + "rule", + "self_service", + "shopify", + "sms", + "twilio", + "twitter", + "twitter-direct-message", + "whatsapp", + "yotpo", + "yotpo-review", + "zendesk" + ] + }, + "subject": { + "type": ["string", "null"] + }, + "body_text": { + "type": ["string", "null"] + }, + "body_html": { + "type": ["string", "null"] + }, + "stripped_text": { + "type": ["string", "null"] + }, + "stripped_html": { + "type": ["string", "null"] + }, + "stripped_signature": { + "type": ["string", "null"] + }, + "public": { + "type": "boolean" + }, + "from_agent": { + "type": "boolean" + }, + "sender": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + } }, - "name": { - "type": "string" - } + "required": ["id", "firstname", "lastname", "meta", "email", "name"], + "additionalProperties": false }, - "required": ["id", "name"], - "additionalProperties": false + "receiver": { + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "email": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "firstname", "lastname", "meta", "email", "name"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "attachments": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "size": { + "type": ["number", "null"] + }, + "content_type": { + "type": "string" + }, + "public": { + "type": "boolean" + }, + "extra": { + "type": ["string", "null"] + } + }, + "required": ["url", "name", "size", "content_type", "public", "extra"], + "additionalProperties": false + } + }, + { + "type": "null" + } + ] + }, + "meta": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "headers": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "actions": { + "anyOf": [ + { + "type": "array", + "items": {} + }, + { + "type": "null" + } + ] + }, + "macros": { + "anyOf": [ + { + "type": "array", + "items": {} + }, + { + "type": "null" + } + ] + }, + "created_datetime": { + "type": ["string", "null"] + }, + "opened_datetime": { + "type": ["string", "null"] + }, + "failed_datetime": { + "type": ["string", "null"] + }, + "last_sending_error": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "deleted_datetime": { + "type": ["string", "null"] + }, + "replied_by": { + "type": ["string", "null"] + }, + "replied_to": { + "type": ["string", "null"] + } }, - "prospect_owner": { + "required": [ + "id", + "uri", + "message_id", + "integration_id", + "rule_id", + "external_id", + "ticket_id", + "channel", + "via", + "subject", + "body_text", + "body_html", + "stripped_text", + "stripped_html", + "stripped_signature", + "public", + "from_agent", + "sender", + "receiver", + "attachments", + "meta", + "headers", + "actions", + "macros", + "created_datetime", + "opened_datetime", + "failed_datetime", + "last_sending_error", + "deleted_datetime" + ], + "additionalProperties": false + } + }, + "meta": { + "anyOf": [ + { "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" } - }, - "required": ["prospect_pool", "prospect_stage", "prospect_owner"], - "additionalProperties": false - }, - "custom_fields": { - "type": "object", - "additionalProperties": false - }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false - }, - "attachments": { - "type": "array", - "items": {} - } - }, - "required": [ - "id", - "candidate_id", - "prospect", - "applied_at", - "rejected_at", - "last_activity_at", - "location", - "source", - "credited_to", - "rejection_reason", - "rejection_details", - "jobs", - "job_post_id", - "status", - "current_stage", - "answers", - "prospective_office", - "prospective_department", - "prospect_detail", - "custom_fields", - "keyed_custom_fields", - "attachments" - ], - "additionalProperties": false - }, - "SyncMetadata_greenhouse_basic_applications": { - "type": "object", - "additionalProperties": false - }, - "GreenhouseCandidate": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "company": { - "type": "string" - }, - "title": { - "type": "string" + ] }, - "created_at": { - "type": "string", - "format": "date-time" + "opened_datetime": { + "type": ["string", "null"] }, - "updated_at": { - "type": "string", - "format": "date-time" + "snooze_datetime": { + "type": ["string", "null"] }, - "last_activity": { + "status": { "type": "string", - "format": "date-time" - }, - "is_private": { - "type": "boolean" - }, - "photo_url": { - "type": "string" - }, - "attachments": { - "type": "array", - "items": {} + "enum": ["open", "closed"] }, - "application_ids": { - "type": "array", - "items": { - "type": "string" - } + "subject": { + "type": ["string", "null"] }, - "phone_numbers": { + "tags": { "type": "array", "items": { - "type": "string" - } - }, - "addresses": { - "type": "array", - "items": {} - }, - "email_addresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "website_addresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "social_media_addresses": { - "type": "array", - "items": { - "type": "string" - } - }, - "recruiter": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "employee_id": { - "type": "string" - } - }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], - "additionalProperties": false - }, - "coordinator": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "name": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "uri": { + "type": ["string", "null"] + }, + "decoration": { + "anyOf": [ + { + "type": "object", + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} + } + ] + } + }, + { + "type": "null" + } + ] + }, + "created_datetime": { + "type": ["string", "null"] + }, + "deleted_datetime": { + "type": ["string", "null"] + } }, - "employee_id": { - "type": "string" - } - }, - "required": ["id", "first_name", "last_name", "name", "employee_id"], - "additionalProperties": false - }, - "can_email": { - "type": "boolean" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "applications": { - "type": "array", - "items": { - "type": "string" + "required": ["id", "name", "uri", "decoration", "created_datetime"], + "additionalProperties": false } }, - "educations": { - "type": "array", - "items": { - "type": "string" - } + "spam": { + "type": ["boolean", "null"] }, - "employments": { - "type": "array", - "items": { - "type": "string" - } + "trashed_datetime": { + "type": ["string", "null"] }, - "linked_user_ids": { - "type": "string" + "updated_datetime": { + "type": ["string", "null"] }, - "custom_fields": { - "type": "object", - "additionalProperties": false + "via": { + "type": "string", + "enum": [ + "aircall", + "api", + "chat", + "contact_form", + "email", + "facebook", + "facebook-mention", + "facebook-messenger", + "facebook-recommendations", + "form", + "gorgias_chat", + "help-center", + "helpdesk", + "instagram", + "instagram-ad-comment", + "instagram-comment", + "instagram-direct-message", + "instagram-mention", + "internal-note", + "offline_capture", + "phone", + "rule", + "self_service", + "shopify", + "sms", + "twilio", + "twitter", + "twitter-direct-message", + "whatsapp", + "yotpo", + "yotpo-review", + "zendesk" + ] }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false + "uri": { + "type": "string" } }, "required": [ "id", - "first_name", - "last_name", - "company", - "title", - "created_at", - "updated_at", - "last_activity", - "is_private", - "photo_url", - "attachments", - "application_ids", - "phone_numbers", - "addresses", - "email_addresses", - "website_addresses", - "social_media_addresses", - "recruiter", - "coordinator", - "can_email", + "assignee_user", + "channel", + "closed_datetime", + "created_datetime", + "external_id", + "from_agent", + "is_unread", + "language", + "last_message_datetime", + "last_received_message_datetime", + "messages", + "meta", + "opened_datetime", + "snooze_datetime", + "status", + "subject", "tags", - "applications", - "educations", - "employments", - "linked_user_ids", - "custom_fields", - "keyed_custom_fields" + "spam", + "trashed_datetime", + "updated_datetime", + "via", + "uri" ], "additionalProperties": false }, - "SyncMetadata_greenhouse_basic_candidates": { - "type": "object", - "additionalProperties": false - }, - "GreenhouseJob": { + "ActionInput_gorgias_createuser": { "type": "object", "properties": { - "id": { + "firstName": { "type": "string" }, - "name": { + "lastName": { "type": "string" }, - "requisition_id": { + "email": { "type": "string" }, - "notes": { + "role": { + "type": "string", + "enum": ["admin", "agent", "basic-agent", "lite-agent", "observer-agent"] + } + }, + "required": ["firstName", "lastName", "email"], + "additionalProperties": false + }, + "ActionOutput_gorgias_createuser": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "confidential": { - "type": "boolean" - }, - "status": { + "firstName": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "opened_at": { - "type": "string", - "format": "date-time" - }, - "closed_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "is_template": { - "type": "boolean" - }, - "copied_from_id": { + "lastName": { "type": "string" }, - "departments": { - "type": "array", - "items": { - "type": "string" - } - }, - "offices": { - "type": "array", - "items": { - "type": "string" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": false - }, - "keyed_custom_fields": { - "type": "object", - "additionalProperties": false - }, - "hiring_team": { - "type": "object", - "properties": { - "hiring_managers": { - "type": "array", - "items": { - "type": "string" - } - }, - "recruiters": { - "type": "array", - "items": { - "type": "string" - } - }, - "coordinators": { - "type": "array", - "items": { - "type": "string" - } - }, - "sourcers": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["hiring_managers", "recruiters", "coordinators", "sourcers"], - "additionalProperties": false - }, - "openings": { - "type": "array", - "items": { - "type": "string" - } + "email": { + "type": "string" } }, - "required": [ - "id", - "name", - "requisition_id", - "notes", - "confidential", - "status", - "created_at", - "opened_at", - "closed_at", - "updated_at", - "is_template", - "copied_from_id", - "departments", - "offices", - "custom_fields", - "keyed_custom_fields", - "hiring_team", - "openings" - ], + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_greenhouse_basic_jobs": { + "ActionInput_gorgias_deleteuser": { "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_gorgias_deleteuser": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null + "sdkVersion": "0.68.1", + "symLinkTargetName": "gorgias" }, { - "providerConfigKey": "gusto", + "providerConfigKey": "grammarly", "actions": [ { "type": "action", - "description": "Creates an employee in Gusto.", - "endpoint": { - "method": "POST", - "path": "/employees", - "group": "Employees" - }, - "input": "ActionInput_gusto_createemployee", - "name": "create-employee", - "output": ["ActionOutput_gusto_createemployee"], - "scopes": ["employees:manage"], - "usedModels": ["ActionInput_gusto_createemployee", "ActionOutput_gusto_createemployee"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Terminates an employee in Gusto.", + "description": "Deletes a user in Grammarly", "endpoint": { "method": "DELETE", - "path": "/employees", - "group": "Employees" - }, - "input": "ActionInput_gusto_terminateemployee", - "name": "terminate-employee", - "output": ["ActionOutput_gusto_terminateemployee"], - "scopes": ["employments:write"], - "usedModels": ["ActionInput_gusto_terminateemployee", "ActionOutput_gusto_terminateemployee"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Updates an employee in Gusto.", - "endpoint": { - "method": "PUT", - "path": "/employees", - "group": "Employees" + "path": "/users", + "group": "Users" }, - "input": "ActionInput_gusto_updateemployee", - "name": "update-employee", - "output": ["ActionOutput_gusto_updateemployee"], - "scopes": ["employees:manage"], - "usedModels": ["ActionInput_gusto_updateemployee", "ActionOutput_gusto_updateemployee"], + "input": "ActionInput_grammarly_deleteuser", + "name": "delete-user", + "output": ["ActionOutput_grammarly_deleteuser"], + "scopes": [], + "usedModels": ["ActionInput_grammarly_deleteuser", "ActionOutput_grammarly_deleteuser"], "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches all employees from Gusto", - "auto_start": false, - "endpoints": [ - { - "method": "GET", - "path": "/employees", - "group": "Employees" - } - ], - "input": "SyncMetadata_gusto_employees", - "name": "employees", - "output": ["GustoEmployee"], - "runs": "every 5m", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["GustoEmployee", "SyncMetadata_gusto_employees"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches all employees from Gusto and maps them to the standard HRIS model", - "auto_start": false, + "description": "Fetches a list of users from Grammarly", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_gusto_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every 5m", + "input": "SyncMetadata_grammarly_users", + "name": "users", + "output": ["User"], + "runs": "every day", "scopes": [], - "sync_type": "incremental", + "sync_type": "full", "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_gusto_unifiedemployees"], + "usedModels": ["User", "SyncMetadata_grammarly_users"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -31056,580 +29930,815 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GustoEmployee": { + "SyncMetadata_grammarly_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "uuid": { - "type": "string" - }, - "first_name": { + "firstName": { "type": "string" }, - "last_name": { + "lastName": { "type": "string" }, "email": { "type": "string" }, - "work_email": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "department": { - "type": "string" - }, - "department_uuid": { - "type": "string" - }, - "manager_uuid": { - "type": "string" - }, - "version": { + "__raw": {} + }, + "required": ["id", "firstName", "lastName", "email"], + "additionalProperties": false + }, + "ActionInput_grammarly_deleteuser": { + "type": "object", + "properties": { + "email": { "type": "string" - }, - "terminated": { + } + }, + "required": ["email"], + "additionalProperties": false + }, + "ActionOutput_grammarly_deleteuser": { + "type": "object", + "properties": { + "success": { "type": "boolean" - }, - "onboarded": { - "type": "boolean" - }, - "onboarding_status": { - "type": "string" - }, - "date_of_birth": { - "type": "string" - }, - "has_ssn": { - "type": "boolean" - }, - "custom_fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "company_custom_field_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "type": "string" - }, - "selection_options": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["id", "company_custom_field_id", "name", "description", "type", "value"], - "additionalProperties": false - } - }, - "jobs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "hire_date": { - "type": "string" - }, - "payment_unit": { - "type": "string" - }, - "primary": { - "type": "boolean" - } - }, - "required": ["id", "title", "hire_date", "payment_unit", "primary"], - "additionalProperties": false - } } }, - "required": [ - "id", - "uuid", - "first_name", - "last_name", - "email", - "work_email", - "phone", - "department", - "department_uuid", - "manager_uuid", - "version", - "terminated", - "onboarded", - "onboarding_status", - "date_of_birth", - "has_ssn", - "custom_fields", - "jobs" - ], + "required": ["success"], "additionalProperties": false - }, - "SyncMetadata_gusto_employees": { + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "greenhouse", + "actions": [], + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of all organization's applications from greenhouse", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/greenhouse-basic/applications" + } + ], + "input": "SyncMetadata_greenhouse_basic_applications", + "name": "applications", + "output": ["GreenhouseApplication"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GreenhouseApplication", "SyncMetadata_greenhouse_basic_applications"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of all organization's candidates from greenhouse", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/greenhouse-basic/candidates" + } + ], + "input": "SyncMetadata_greenhouse_basic_candidates", + "name": "candidates", + "output": ["GreenhouseCandidate"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GreenhouseCandidate", "SyncMetadata_greenhouse_basic_candidates"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of all organization's jobs from greenhouse", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/greenhouse-basic/jobs" + } + ], + "input": "SyncMetadata_greenhouse_basic_jobs", + "name": "jobs", + "output": ["GreenhouseJob"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GreenhouseJob", "SyncMetadata_greenhouse_basic_jobs"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_greenhouse_basic_applications": { "type": "object", "additionalProperties": false }, - "StandardEmployee": { + "GreenhouseApplication": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "candidate_id": { "type": "string" }, - "lastName": { - "type": "string" + "prospect": { + "type": "boolean" }, - "email": { - "type": "string" + "applied_at": { + "type": "string", + "format": "date-time" }, - "displayName": { - "type": "string" + "rejected_at": { + "type": "string", + "format": "date-time" }, - "employeeNumber": { - "type": "string" + "last_activity_at": { + "type": "string", + "format": "date-time" }, - "title": { - "type": "string" + "location": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + }, + "required": ["address"], + "additionalProperties": false }, - "department": { + "source": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "public_name": { "type": "string" } }, - "required": ["id", "name"], + "required": ["id", "public_name"], "additionalProperties": false }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" - }, - "manager": { + "credited_to": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "first_name": { "type": "string" }, - "lastName": { + "last_name": { "type": "string" }, - "email": { + "name": { + "type": "string" + }, + "employee_id": { "type": "string" } }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], "additionalProperties": false }, - "workLocation": { + "rejection_reason": { "type": "object", "properties": { + "id": { + "type": "string" + }, "name": { "type": "string" }, "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { "type": "object", "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { + "id": { "type": "string" }, - "postalCode": { + "name": { "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] } }, - "required": ["type"], + "required": ["id", "name"], "additionalProperties": false } }, - "required": ["name", "type"], + "required": ["id", "name", "type"], "additionalProperties": false }, - "addresses": { + "rejection_details": { + "type": "object", + "properties": { + "custom_fields": { + "type": "object", + "additionalProperties": false + }, + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false + } + }, + "required": ["custom_fields", "keyed_custom_fields"], + "additionalProperties": false + }, + "jobs": { "type": "array", "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false + "type": "string" } }, - "phones": { + "job_post_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "current_stage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "answers": { "type": "array", "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] + "type": "string" + } + }, + "prospective_office": { + "type": "object", + "properties": { + "primary_contact_user_id": { + "type": "string" + }, + "parent_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "location": { + "type": "object", + "properties": { + "name": { + "type": "string" + } }, - "number": { + "required": ["name"], + "additionalProperties": false + }, + "id": { + "type": "string" + }, + "external_id": { + "type": "string" + }, + "child_ids": { + "type": "array", + "items": { "type": "string" } - }, - "required": ["type", "number"], - "additionalProperties": false - } + } + }, + "required": ["primary_contact_user_id", "parent_id", "name", "location", "id", "external_id", "child_ids"], + "additionalProperties": false }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { + "prospective_department": { + "type": "object", + "properties": { + "parent_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "external_id": { + "type": "string" + }, + "child_ids": { + "type": "array", + "items": { "type": "string" } + } + }, + "required": ["parent_id", "name", "id", "external_id", "child_ids"], + "additionalProperties": false + }, + "prospect_detail": { + "type": "object", + "properties": { + "prospect_pool": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, - "required": ["type", "address"], - "additionalProperties": false - } + "prospect_stage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "prospect_owner": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + }, + "required": ["prospect_pool", "prospect_stage", "prospect_owner"], + "additionalProperties": false }, - "providerSpecific": { + "custom_fields": { "type": "object", "additionalProperties": false }, - "createdAt": { - "type": "string" + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false }, - "updatedAt": { - "type": "string" + "attachments": { + "type": "array", + "items": {} } }, "required": [ "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" + "candidate_id", + "prospect", + "applied_at", + "rejected_at", + "last_activity_at", + "location", + "source", + "credited_to", + "rejection_reason", + "rejection_details", + "jobs", + "job_post_id", + "status", + "current_stage", + "answers", + "prospective_office", + "prospective_department", + "prospect_detail", + "custom_fields", + "keyed_custom_fields", + "attachments" ], "additionalProperties": false }, - "SyncMetadata_gusto_unifiedemployees": { + "SyncMetadata_greenhouse_basic_candidates": { "type": "object", "additionalProperties": false }, - "ActionInput_gusto_createemployee": { + "GreenhouseCandidate": { "type": "object", "properties": { - "firstName": { + "id": { "type": "string" }, - "lastName": { + "first_name": { "type": "string" }, - "email": { + "last_name": { "type": "string" }, - "middleInitial": { + "company": { "type": "string" }, - "preferredFirstName": { + "title": { "type": "string" }, - "dateOfBirth": { - "type": "string" + "created_at": { + "type": "string", + "format": "date-time" }, - "ssn": { - "type": "string" + "updated_at": { + "type": "string", + "format": "date-time" }, - "selfOnboarding": { + "last_activity": { + "type": "string", + "format": "date-time" + }, + "is_private": { "type": "boolean" - } - }, - "required": ["firstName", "lastName", "email", "dateOfBirth"], - "additionalProperties": false - }, - "ActionOutput_gusto_createemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" }, - "email": { + "photo_url": { "type": "string" }, - "firstName": { - "type": "string" + "attachments": { + "type": "array", + "items": {} }, - "lastName": { - "type": "string" - } - }, - "required": ["id", "email", "firstName", "lastName"], - "additionalProperties": false - }, - "ActionInput_gusto_terminateemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" + "application_ids": { + "type": "array", + "items": { + "type": "string" + } }, - "effectiveDate": { - "type": "string" + "phone_numbers": { + "type": "array", + "items": { + "type": "string" + } }, - "runTerminationPayroll": { + "addresses": { + "type": "array", + "items": {} + }, + "email_addresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "website_addresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "social_media_addresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "recruiter": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "employee_id": { + "type": "string" + } + }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], + "additionalProperties": false + }, + "coordinator": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "employee_id": { + "type": "string" + } + }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], + "additionalProperties": false + }, + "can_email": { "type": "boolean" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "educations": { + "type": "array", + "items": { + "type": "string" + } + }, + "employments": { + "type": "array", + "items": { + "type": "string" + } + }, + "linked_user_ids": { + "type": "string" + }, + "custom_fields": { + "type": "object", + "additionalProperties": false + }, + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false } }, - "required": ["id"], + "required": [ + "id", + "first_name", + "last_name", + "company", + "title", + "created_at", + "updated_at", + "last_activity", + "is_private", + "photo_url", + "attachments", + "application_ids", + "phone_numbers", + "addresses", + "email_addresses", + "website_addresses", + "social_media_addresses", + "recruiter", + "coordinator", + "can_email", + "tags", + "applications", + "educations", + "employments", + "linked_user_ids", + "custom_fields", + "keyed_custom_fields" + ], "additionalProperties": false }, - "ActionOutput_gusto_terminateemployee": { + "SyncMetadata_greenhouse_basic_jobs": { "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], "additionalProperties": false }, - "ActionInput_gusto_updateemployee": { + "GreenhouseJob": { "type": "object", "properties": { "id": { "type": "string" }, - "version": { + "name": { "type": "string" }, - "firstName": { + "requisition_id": { "type": "string" }, - "lastName": { + "notes": { "type": "string" }, - "email": { - "type": "string" + "confidential": { + "type": "boolean" }, - "middleInitial": { + "status": { "type": "string" }, - "preferredFirstName": { - "type": "string" + "created_at": { + "type": "string", + "format": "date-time" }, - "dateOfBirth": { - "type": "string" + "opened_at": { + "type": "string", + "format": "date-time" }, - "ssn": { - "type": "string" + "closed_at": { + "type": "string", + "format": "date-time" }, - "twoPercentShareholder": { + "updated_at": { + "type": "string", + "format": "date-time" + }, + "is_template": { "type": "boolean" - } - }, - "required": ["id", "version"], - "additionalProperties": false - }, - "ActionOutput_gusto_updateemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" }, - "email": { + "copied_from_id": { "type": "string" }, - "firstName": { - "type": "string" + "departments": { + "type": "array", + "items": { + "type": "string" + } }, - "lastName": { - "type": "string" + "offices": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": false + }, + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false + }, + "hiring_team": { + "type": "object", + "properties": { + "hiring_managers": { + "type": "array", + "items": { + "type": "string" + } + }, + "recruiters": { + "type": "array", + "items": { + "type": "string" + } + }, + "coordinators": { + "type": "array", + "items": { + "type": "string" + } + }, + "sourcers": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["hiring_managers", "recruiters", "coordinators", "sourcers"], + "additionalProperties": false + }, + "openings": { + "type": "array", + "items": { + "type": "string" + } } }, - "required": ["id", "email", "firstName", "lastName"], + "required": [ + "id", + "name", + "requisition_id", + "notes", + "confidential", + "status", + "created_at", + "opened_at", + "closed_at", + "updated_at", + "is_template", + "copied_from_id", + "departments", + "offices", + "custom_fields", + "keyed_custom_fields", + "hiring_team", + "openings" + ], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null + "sdkVersion": "0.68.1", + "symLinkTargetName": "greenhouse-basic" }, { - "providerConfigKey": "gusto-demo", - "actions": [ - { - "type": "action", - "description": "Creates an employee in Gusto.", - "endpoint": { - "method": "POST", - "path": "/employees", - "group": "Employees" - }, - "input": "ActionInput_gusto_createemployee", - "name": "create-employee", - "output": ["ActionOutput_gusto_createemployee"], - "scopes": ["employees:manage"], - "usedModels": ["ActionInput_gusto_createemployee", "ActionOutput_gusto_createemployee"], - "version": "1.0.0" - }, + "providerConfigKey": "greenhouse-basic", + "actions": [], + "syncs": [ { - "type": "action", - "description": "Terminates an employee in Gusto.", - "endpoint": { - "method": "DELETE", - "path": "/employees", - "group": "Employees" - }, - "input": "ActionInput_gusto_terminateemployee", - "name": "terminate-employee", - "output": ["ActionOutput_gusto_terminateemployee"], - "scopes": ["employments:write"], - "usedModels": ["ActionInput_gusto_terminateemployee", "ActionOutput_gusto_terminateemployee"], - "version": "1.0.0" + "type": "sync", + "description": "Fetches a list of all organization's applications from greenhouse", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/greenhouse-basic/applications" + } + ], + "input": "SyncMetadata_greenhouse_basic_applications", + "name": "applications", + "output": ["GreenhouseApplication"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GreenhouseApplication", "SyncMetadata_greenhouse_basic_applications"], + "version": "1.0.0", + "webhookSubscriptions": [] }, - { - "type": "action", - "description": "Updates an employee in Gusto.", - "endpoint": { - "method": "PUT", - "path": "/employees", - "group": "Employees" - }, - "input": "ActionInput_gusto_updateemployee", - "name": "update-employee", - "output": ["ActionOutput_gusto_updateemployee"], - "scopes": ["employees:manage"], - "usedModels": ["ActionInput_gusto_updateemployee", "ActionOutput_gusto_updateemployee"], - "version": "1.0.0" - } - ], - "syncs": [ { "type": "sync", - "description": "Fetches all employees from Gusto", - "auto_start": false, + "description": "Fetches a list of all organization's candidates from greenhouse", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees", - "group": "Employees" + "path": "/greenhouse-basic/candidates" } ], - "input": "SyncMetadata_gusto_employees", - "name": "employees", - "output": ["GustoEmployee"], - "runs": "every 5m", + "input": "SyncMetadata_greenhouse_basic_candidates", + "name": "candidates", + "output": ["GreenhouseCandidate"], + "runs": "every 6 hours", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GustoEmployee", "SyncMetadata_gusto_employees"], + "usedModels": ["GreenhouseCandidate", "SyncMetadata_greenhouse_basic_candidates"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all employees from Gusto and maps them to the standard HRIS model", - "auto_start": false, + "description": "Fetches a list of all organization's jobs from greenhouse", + "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" + "path": "/greenhouse-basic/jobs" } ], - "input": "SyncMetadata_gusto_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every 5m", + "input": "SyncMetadata_greenhouse_basic_jobs", + "name": "jobs", + "output": ["GreenhouseJob"], + "runs": "every 6 hours", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_gusto_unifiedemployees"], + "usedModels": ["GreenhouseJob", "SyncMetadata_greenhouse_basic_jobs"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -31641,170 +30750,134 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "GustoEmployee": { + "SyncMetadata_greenhouse_basic_applications": { + "type": "object", + "additionalProperties": false + }, + "GreenhouseApplication": { "type": "object", "properties": { "id": { "type": "string" }, - "uuid": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "work_email": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "department": { - "type": "string" - }, - "department_uuid": { - "type": "string" - }, - "manager_uuid": { - "type": "string" - }, - "version": { + "candidate_id": { "type": "string" }, - "terminated": { + "prospect": { "type": "boolean" }, - "onboarded": { - "type": "boolean" + "applied_at": { + "type": "string", + "format": "date-time" }, - "onboarding_status": { - "type": "string" + "rejected_at": { + "type": "string", + "format": "date-time" }, - "date_of_birth": { - "type": "string" + "last_activity_at": { + "type": "string", + "format": "date-time" }, - "has_ssn": { - "type": "boolean" + "location": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + }, + "required": ["address"], + "additionalProperties": false }, - "custom_fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "company_custom_field_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "type": "string" - }, - "selection_options": { - "type": "array", - "items": { + "source": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "public_name": { + "type": "string" + } + }, + "required": ["id", "public_name"], + "additionalProperties": false + }, + "credited_to": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "employee_id": { + "type": "string" + } + }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], + "additionalProperties": false + }, + "rejection_reason": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { "type": "string" } - } + }, + "required": ["id", "name"], + "additionalProperties": false + } + }, + "required": ["id", "name", "type"], + "additionalProperties": false + }, + "rejection_details": { + "type": "object", + "properties": { + "custom_fields": { + "type": "object", + "additionalProperties": false }, - "required": ["id", "company_custom_field_id", "name", "description", "type", "value"], - "additionalProperties": false - } + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false + } + }, + "required": ["custom_fields", "keyed_custom_fields"], + "additionalProperties": false }, "jobs": { "type": "array", "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "hire_date": { - "type": "string" - }, - "payment_unit": { - "type": "string" - }, - "primary": { - "type": "boolean" - } - }, - "required": ["id", "title", "hire_date", "payment_unit", "primary"], - "additionalProperties": false + "type": "string" } - } - }, - "required": [ - "id", - "uuid", - "first_name", - "last_name", - "email", - "work_email", - "phone", - "department", - "department_uuid", - "manager_uuid", - "version", - "terminated", - "onboarded", - "onboarding_status", - "date_of_birth", - "has_ssn", - "custom_fields", - "jobs" - ], - "additionalProperties": false - }, - "SyncMetadata_gusto_employees": { - "type": "object", - "additionalProperties": false - }, - "StandardEmployee": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "displayName": { - "type": "string" }, - "employeeNumber": { + "job_post_id": { "type": "string" }, - "title": { + "status": { "type": "string" }, - "department": { + "current_stage": { "type": "object", "properties": { "id": { @@ -31817,432 +30890,577 @@ "required": ["id", "name"], "additionalProperties": false }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" + "answers": { + "type": "array", + "items": { + "type": "string" + } }, - "manager": { + "prospective_office": { "type": "object", "properties": { - "id": { + "primary_contact_user_id": { "type": "string" }, - "firstName": { + "parent_id": { "type": "string" }, - "lastName": { + "name": { "type": "string" }, - "email": { + "location": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "id": { + "type": "string" + }, + "external_id": { "type": "string" + }, + "child_ids": { + "type": "array", + "items": { + "type": "string" + } } }, + "required": ["primary_contact_user_id", "parent_id", "name", "location", "id", "external_id", "child_ids"], "additionalProperties": false }, - "workLocation": { + "prospective_department": { "type": "object", "properties": { + "parent_id": { + "type": "string" + }, "name": { "type": "string" }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] + "id": { + "type": "string" }, - "primaryAddress": { + "external_id": { + "type": "string" + }, + "child_ids": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["parent_id", "name", "id", "external_id", "child_ids"], + "additionalProperties": false + }, + "prospect_detail": { + "type": "object", + "properties": { + "prospect_pool": { "type": "object", "properties": { - "street": { + "id": { "type": "string" }, - "city": { + "name": { "type": "string" - }, - "state": { + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "prospect_stage": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "country": { + "name": { "type": "string" - }, - "postalCode": { + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "prospect_owner": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] + "name": { + "type": "string" } }, - "required": ["type"], + "required": ["id", "name"], "additionalProperties": false } }, - "required": ["name", "type"], + "required": ["prospect_pool", "prospect_stage", "prospect_owner"], "additionalProperties": false }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } - }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false - } - }, - "providerSpecific": { + "custom_fields": { "type": "object", "additionalProperties": false }, - "createdAt": { - "type": "string" + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false }, - "updatedAt": { - "type": "string" + "attachments": { + "type": "array", + "items": {} } }, "required": [ "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" + "candidate_id", + "prospect", + "applied_at", + "rejected_at", + "last_activity_at", + "location", + "source", + "credited_to", + "rejection_reason", + "rejection_details", + "jobs", + "job_post_id", + "status", + "current_stage", + "answers", + "prospective_office", + "prospective_department", + "prospect_detail", + "custom_fields", + "keyed_custom_fields", + "attachments" ], "additionalProperties": false }, - "SyncMetadata_gusto_unifiedemployees": { + "SyncMetadata_greenhouse_basic_candidates": { "type": "object", "additionalProperties": false }, - "ActionInput_gusto_createemployee": { + "GreenhouseCandidate": { "type": "object", "properties": { - "firstName": { + "id": { "type": "string" }, - "lastName": { + "first_name": { "type": "string" }, - "email": { + "last_name": { "type": "string" }, - "middleInitial": { + "company": { "type": "string" }, - "preferredFirstName": { + "title": { "type": "string" }, - "dateOfBirth": { - "type": "string" + "created_at": { + "type": "string", + "format": "date-time" }, - "ssn": { - "type": "string" + "updated_at": { + "type": "string", + "format": "date-time" }, - "selfOnboarding": { - "type": "boolean" - } - }, - "required": ["firstName", "lastName", "email", "dateOfBirth"], - "additionalProperties": false - }, - "ActionOutput_gusto_createemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" + "last_activity": { + "type": "string", + "format": "date-time" }, - "email": { - "type": "string" + "is_private": { + "type": "boolean" }, - "firstName": { + "photo_url": { "type": "string" }, - "lastName": { - "type": "string" - } - }, - "required": ["id", "email", "firstName", "lastName"], - "additionalProperties": false - }, - "ActionInput_gusto_terminateemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" + "attachments": { + "type": "array", + "items": {} }, - "effectiveDate": { - "type": "string" + "application_ids": { + "type": "array", + "items": { + "type": "string" + } }, - "runTerminationPayroll": { - "type": "boolean" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_gusto_terminateemployee": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_gusto_updateemployee": { - "type": "object", - "properties": { - "id": { - "type": "string" + "phone_numbers": { + "type": "array", + "items": { + "type": "string" + } }, - "version": { - "type": "string" + "addresses": { + "type": "array", + "items": {} }, - "firstName": { - "type": "string" + "email_addresses": { + "type": "array", + "items": { + "type": "string" + } }, - "lastName": { - "type": "string" + "website_addresses": { + "type": "array", + "items": { + "type": "string" + } }, - "email": { - "type": "string" + "social_media_addresses": { + "type": "array", + "items": { + "type": "string" + } }, - "middleInitial": { - "type": "string" + "recruiter": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "employee_id": { + "type": "string" + } + }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], + "additionalProperties": false }, - "preferredFirstName": { - "type": "string" + "coordinator": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "employee_id": { + "type": "string" + } + }, + "required": ["id", "first_name", "last_name", "name", "employee_id"], + "additionalProperties": false }, - "dateOfBirth": { - "type": "string" + "can_email": { + "type": "boolean" }, - "ssn": { + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "educations": { + "type": "array", + "items": { + "type": "string" + } + }, + "employments": { + "type": "array", + "items": { + "type": "string" + } + }, + "linked_user_ids": { "type": "string" }, - "twoPercentShareholder": { - "type": "boolean" + "custom_fields": { + "type": "object", + "additionalProperties": false + }, + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false } }, - "required": ["id", "version"], + "required": [ + "id", + "first_name", + "last_name", + "company", + "title", + "created_at", + "updated_at", + "last_activity", + "is_private", + "photo_url", + "attachments", + "application_ids", + "phone_numbers", + "addresses", + "email_addresses", + "website_addresses", + "social_media_addresses", + "recruiter", + "coordinator", + "can_email", + "tags", + "applications", + "educations", + "employments", + "linked_user_ids", + "custom_fields", + "keyed_custom_fields" + ], "additionalProperties": false }, - "ActionOutput_gusto_updateemployee": { + "SyncMetadata_greenhouse_basic_jobs": { + "type": "object", + "additionalProperties": false + }, + "GreenhouseJob": { "type": "object", "properties": { "id": { "type": "string" }, - "email": { + "name": { "type": "string" }, - "firstName": { + "requisition_id": { "type": "string" }, - "lastName": { + "notes": { + "type": "string" + }, + "confidential": { + "type": "boolean" + }, + "status": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "opened_at": { + "type": "string", + "format": "date-time" + }, + "closed_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "is_template": { + "type": "boolean" + }, + "copied_from_id": { "type": "string" + }, + "departments": { + "type": "array", + "items": { + "type": "string" + } + }, + "offices": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_fields": { + "type": "object", + "additionalProperties": false + }, + "keyed_custom_fields": { + "type": "object", + "additionalProperties": false + }, + "hiring_team": { + "type": "object", + "properties": { + "hiring_managers": { + "type": "array", + "items": { + "type": "string" + } + }, + "recruiters": { + "type": "array", + "items": { + "type": "string" + } + }, + "coordinators": { + "type": "array", + "items": { + "type": "string" + } + }, + "sourcers": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["hiring_managers", "recruiters", "coordinators", "sourcers"], + "additionalProperties": false + }, + "openings": { + "type": "array", + "items": { + "type": "string" + } } }, - "required": ["id", "email", "firstName", "lastName"], + "required": [ + "id", + "name", + "requisition_id", + "notes", + "confidential", + "status", + "created_at", + "opened_at", + "closed_at", + "updated_at", + "is_template", + "copied_from_id", + "departments", + "offices", + "custom_fields", + "keyed_custom_fields", + "hiring_team", + "openings" + ], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", - "symLinkTargetName": "gusto" + "sdkVersion": "0.68.1", + "symLinkTargetName": null }, { - "providerConfigKey": "hackerrank-work", + "providerConfigKey": "gusto", "actions": [ { "type": "action", - "description": "Action to create an interview on hackerrank work", + "description": "Creates an employee in Gusto.", "endpoint": { "method": "POST", - "path": "/interviews", - "group": "Interviews" + "path": "/employees", + "group": "Employees" }, - "input": "ActionInput_hackerrank_work_createinterview", - "name": "create-interview", - "output": ["ActionOutput_hackerrank_work_createinterview"], - "scopes": [], - "usedModels": ["ActionInput_hackerrank_work_createinterview", "ActionOutput_hackerrank_work_createinterview"], - "version": "2.0.0" + "input": "ActionInput_gusto_createemployee", + "name": "create-employee", + "output": ["ActionOutput_gusto_createemployee"], + "scopes": ["employees:manage"], + "usedModels": ["ActionInput_gusto_createemployee", "ActionOutput_gusto_createemployee"], + "version": "1.0.0" }, { "type": "action", - "description": "Action to create a test on hackerrank work", + "description": "Updates an employee in Gusto.", "endpoint": { - "method": "POST", - "path": "/tests", - "group": "Tests" + "method": "PUT", + "path": "/employees", + "group": "Employees" }, - "input": "ActionInput_hackerrank_work_createtest", - "name": "create-test", - "output": ["ActionOutput_hackerrank_work_createtest"], - "scopes": [], - "usedModels": ["ActionInput_hackerrank_work_createtest", "ActionOutput_hackerrank_work_createtest"], - "version": "2.0.0" + "input": "ActionInput_gusto_updateemployee", + "name": "update-employee", + "output": ["ActionOutput_gusto_updateemployee"], + "scopes": ["employees:manage"], + "usedModels": ["ActionInput_gusto_updateemployee", "ActionOutput_gusto_updateemployee"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Terminates an employee in Gusto.", + "endpoint": { + "method": "DELETE", + "path": "/employees", + "group": "Employees" + }, + "input": "ActionInput_gusto_terminateemployee", + "name": "terminate-employee", + "output": ["ActionOutput_gusto_terminateemployee"], + "scopes": ["employments:write"], + "usedModels": ["ActionInput_gusto_terminateemployee", "ActionOutput_gusto_terminateemployee"], + "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches a list of interviews from hackerrank work", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/interviews", - "group": "Interviews" - } - ], - "input": "SyncMetadata_hackerrank_work_interviews", - "name": "interviews", - "output": ["HackerRankWorkInterview"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["HackerRankWorkInterview", "SyncMetadata_hackerrank_work_interviews"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of teams from hackerrank work", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/teams" - } - ], - "input": "SyncMetadata_hackerrank_work_teams", - "name": "teams", - "output": ["HackerRankWorkTeam"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["HackerRankWorkTeam", "SyncMetadata_hackerrank_work_teams"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of tests from hackerrank work", - "auto_start": true, + "description": "Fetches all employees from Gusto", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/tests", - "group": "Tests" + "path": "/employees", + "group": "Employees" } ], - "input": "SyncMetadata_hackerrank_work_tests", - "name": "tests", - "output": ["HackerRankWorkTest"], - "runs": "every 6 hours", + "input": "SyncMetadata_gusto_employees", + "name": "employees", + "output": ["GustoEmployee"], + "runs": "every 5m", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["HackerRankWorkTest", "SyncMetadata_hackerrank_work_tests"], - "version": "2.0.0", + "usedModels": ["GustoEmployee", "SyncMetadata_gusto_employees"], + "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of users from hackerrank work", - "auto_start": true, + "description": "Fetches all employees from Gusto and maps them to the standard HRIS model", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/users" + "path": "/employees/unified", + "group": "Unified HRIS API" } ], - "input": "SyncMetadata_hackerrank_work_users", - "name": "users", - "output": ["HackerRankWorkUser"], - "runs": "every 6 hours", + "input": "SyncMetadata_gusto_unifiedemployees", + "name": "unified-employees", + "output": ["StandardEmployee"], + "runs": "every 5m", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["HackerRankWorkUser", "SyncMetadata_hackerrank_work_users"], - "version": "2.0.0", + "usedModels": ["StandardEmployee", "SyncMetadata_gusto_unifiedemployees"], + "version": "1.0.0", "webhookSubscriptions": [] } ], @@ -32253,301 +31471,383 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "HackerRankWorkInterview": { + "SyncMetadata_gusto_employees": { + "type": "object", + "additionalProperties": false + }, + "GustoEmployee": { "type": "object", "properties": { "id": { "type": "string" }, - "status": { + "uuid": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "first_name": { + "type": "string" }, - "title": { + "last_name": { "type": "string" }, - "feedback": { + "email": { "type": "string" }, - "notes": { + "work_email": { "type": "string" }, - "metadata": { - "type": "object", - "additionalProperties": false + "phone": { + "type": "string" }, - "quickpad": { - "type": "boolean" + "department": { + "type": "string" }, - "ended_at": { - "type": "string", - "format": "date-time" + "department_uuid": { + "type": "string" }, - "timezone": { + "manager_uuid": { "type": "string" }, - "interview_template_id": { + "version": { "type": "string" }, - "from": { - "type": "string", - "format": "date-time" + "terminated": { + "type": "boolean" }, - "to": { - "type": "string", - "format": "date-time" + "onboarded": { + "type": "boolean" }, - "url": { + "onboarding_status": { "type": "string" }, - "user": { + "date_of_birth": { "type": "string" }, - "thumbs_up": { + "has_ssn": { "type": "boolean" }, - "resume_url": { - "type": "string" - }, - "interviewers": { + "custom_fields": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "company_custom_field_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + }, + "selection_options": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["id", "company_custom_field_id", "name", "description", "type", "value"], + "additionalProperties": false } }, - "candidate": { - "type": "object", - "properties": { - "name": { - "type": "string" + "jobs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "hire_date": { + "type": "string" + }, + "payment_unit": { + "type": "string" + }, + "primary": { + "type": "boolean" + } }, - "email": { - "type": "string" - } - }, - "required": ["name", "email"], - "additionalProperties": false - }, - "result_url": { - "type": "string" - }, - "report_url": { - "type": "string" + "required": ["id", "title", "hire_date", "payment_unit", "primary"], + "additionalProperties": false + } } }, "required": [ "id", - "status", - "created_at", - "updated_at", - "title", - "feedback", - "notes", - "metadata", - "quickpad", - "ended_at", - "timezone", - "interview_template_id", - "from", - "to", - "url", - "user", - "thumbs_up", - "resume_url", - "interviewers", - "candidate", - "result_url", - "report_url" + "uuid", + "first_name", + "last_name", + "email", + "work_email", + "phone", + "department", + "department_uuid", + "manager_uuid", + "version", + "terminated", + "onboarded", + "onboarding_status", + "date_of_birth", + "has_ssn", + "custom_fields", + "jobs" ], "additionalProperties": false }, - "SyncMetadata_hackerrank_work_interviews": { + "SyncMetadata_gusto_unifiedemployees": { "type": "object", "additionalProperties": false }, - "HackerRankWorkTeam": { + "StandardEmployee": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "firstName": { "type": "string" }, - "owner": { + "lastName": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" + "email": { + "type": "string" }, - "recruiter_count": { - "type": "number" + "displayName": { + "type": "string" }, - "developer_count": { - "type": "number" + "employeeNumber": { + "type": "string" }, - "interviewer_count": { - "type": "number" + "title": { + "type": "string" }, - "recruiter_cap": { - "type": "number" + "department": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, - "developer_cap": { - "type": "number" + "employmentType": { + "type": "string", + "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] }, - "interviewer_cap": { - "type": "number" + "employmentStatus": { + "type": "string", + "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] }, - "logo_id": { + "startDate": { "type": "string" }, - "library_access": { - "type": "boolean" - }, - "invite_as": { + "terminationDate": { "type": "string" }, - "locations": { + "manager": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "additionalProperties": false + }, + "workLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["OFFICE", "REMOTE", "HYBRID"] + }, + "primaryAddress": { + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false + } + }, + "required": ["name", "type"], + "additionalProperties": false + }, + "addresses": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false } }, - "departments": { + "phones": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "HOME", "MOBILE"] + }, + "number": { + "type": "string" + } + }, + "required": ["type", "number"], + "additionalProperties": false + } + }, + "emails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "PERSONAL"] + }, + "address": { + "type": "string" + } + }, + "required": ["type", "address"], + "additionalProperties": false } + }, + "providerSpecific": { + "type": "object", + "additionalProperties": false + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } }, "required": [ "id", - "name", - "owner", - "created_at", - "recruiter_count", - "developer_count", - "interviewer_count", - "recruiter_cap", - "developer_cap", - "interviewer_cap", - "logo_id", - "library_access", - "invite_as", - "locations", - "departments" + "firstName", + "lastName", + "email", + "displayName", + "department", + "employmentType", + "employmentStatus", + "startDate", + "workLocation", + "addresses", + "phones", + "emails", + "providerSpecific", + "createdAt", + "updatedAt" ], "additionalProperties": false }, - "SyncMetadata_hackerrank_work_teams": { - "type": "object", - "additionalProperties": false - }, - "HackerRankWorkTest": { + "ActionInput_gusto_createemployee": { "type": "object", "properties": { - "id": { + "firstName": { "type": "string" }, - "unique_id": { + "lastName": { "type": "string" }, - "name": { + "email": { "type": "string" }, - "duration": { - "type": "number" - }, - "owner": { + "middleInitial": { "type": "string" }, - "instructions": { + "preferredFirstName": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "state": { + "dateOfBirth": { "type": "string" }, - "locked": { - "type": "boolean" - }, - "test_type": { + "ssn": { "type": "string" }, - "starred": { - "type": "boolean" - }, - "start_time": { - "type": "string", - "format": "date-time" - }, - "end_time": { - "type": "string", - "format": "date-time" - }, - "draft": { + "selfOnboarding": { "type": "boolean" - }, - "questions": { - "type": "array", - "items": { - "type": "string" - } - }, - "sections": { - "type": "object", - "additionalProperties": false - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "permission": { - "type": "number" } }, - "required": [ - "id", - "unique_id", - "name", - "duration", - "owner", - "instructions", - "created_at", - "state", - "locked", - "test_type", - "starred", - "start_time", - "end_time", - "draft", - "questions", - "sections", - "tags", - "permission" - ], - "additionalProperties": false - }, - "SyncMetadata_hackerrank_work_tests": { - "type": "object", + "required": ["firstName", "lastName", "email", "dateOfBirth"], "additionalProperties": false }, - "HackerRankWorkUser": { + "ActionOutput_gusto_createemployee": { "type": "object", "properties": { "id": { @@ -32556,740 +31856,639 @@ "email": { "type": "string" }, - "firstname": { + "firstName": { "type": "string" }, - "lastname": { + "lastName": { "type": "string" - }, - "country": { + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "ActionInput_gusto_updateemployee": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "role": { + "version": { "type": "string" }, - "status": { + "firstName": { "type": "string" }, - "phone": { + "lastName": { "type": "string" }, - "timezone": { + "email": { "type": "string" }, - "questions_permission": { - "type": "number" - }, - "tests_permission": { - "type": "number" - }, - "interviews_permission": { - "type": "number" - }, - "candidates_permission": { - "type": "number" - }, - "shared_questions_permission": { - "type": "number" - }, - "shared_tests_permission": { - "type": "number" - }, - "shared_interviews_permission": { - "type": "number" - }, - "shared_candidates_permission": { - "type": "number" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "company_admin": { - "type": "boolean" + "middleInitial": { + "type": "string" }, - "team_admin": { - "type": "boolean" + "preferredFirstName": { + "type": "string" }, - "company_id": { + "dateOfBirth": { "type": "string" }, - "teams": { - "type": "array", - "items": {} + "ssn": { + "type": "string" }, - "activated": { + "twoPercentShareholder": { "type": "boolean" - }, - "last_activity_time": { - "type": "string", - "format": "date-time" } }, - "required": [ - "id", - "email", - "firstname", - "lastname", - "country", - "role", - "status", - "phone", - "timezone", - "questions_permission", - "tests_permission", - "interviews_permission", - "candidates_permission", - "shared_questions_permission", - "shared_tests_permission", - "shared_interviews_permission", - "shared_candidates_permission", - "created_at", - "company_admin", - "team_admin", - "company_id", - "teams", - "activated", - "last_activity_time" - ], - "additionalProperties": false - }, - "SyncMetadata_hackerrank_work_users": { - "type": "object", + "required": ["id", "version"], "additionalProperties": false }, - "ActionInput_hackerrank_work_createinterview": { + "ActionOutput_gusto_updateemployee": { "type": "object", "properties": { "id": { "type": "string" }, - "status": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "title": { - "type": "string" - }, - "feedback": { - "type": "string" - }, - "notes": { + "email": { "type": "string" }, - "metadata": { - "type": "object", - "additionalProperties": false - }, - "quickpad": { - "type": "boolean" - }, - "ended_at": { - "type": "string", - "format": "date-time" - }, - "timezone": { + "firstName": { "type": "string" }, - "interview_template_id": { + "lastName": { "type": "string" - }, - "from": { - "type": "string", - "format": "date-time" - }, - "to": { - "type": "string", - "format": "date-time" - }, - "url": { + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "ActionInput_gusto_terminateemployee": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "user": { + "effectiveDate": { "type": "string" }, - "thumbs_up": { + "runTerminationPayroll": { "type": "boolean" - }, - "resume_url": { - "type": "string" - }, - "interviewers": { - "type": "array", - "items": { - "type": "string" - } - }, - "candidate": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["name", "email"], - "additionalProperties": false - }, - "result_url": { - "type": "string" - }, - "report_url": { - "type": "string" - }, - "send_email": { + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_gusto_terminateemployee": { + "type": "object", + "properties": { + "success": { "type": "boolean" - }, - "interview_metadata": { - "type": "object", - "additionalProperties": false } }, - "required": [ - "id", - "status", - "created_at", - "updated_at", - "title", - "feedback", - "notes", - "metadata", - "quickpad", - "ended_at", - "timezone", - "interview_template_id", - "from", - "to", - "url", - "user", - "thumbs_up", - "resume_url", - "interviewers", - "candidate", - "result_url", - "report_url", - "send_email", - "interview_metadata" - ], + "required": ["success"], "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "gusto-demo", + "actions": [ + { + "type": "action", + "description": "Creates an employee in Gusto.", + "endpoint": { + "method": "POST", + "path": "/employees", + "group": "Employees" }, - "ActionOutput_hackerrank_work_createinterview": { + "input": "ActionInput_gusto_createemployee", + "name": "create-employee", + "output": ["ActionOutput_gusto_createemployee"], + "scopes": ["employees:manage"], + "usedModels": ["ActionInput_gusto_createemployee", "ActionOutput_gusto_createemployee"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Updates an employee in Gusto.", + "endpoint": { + "method": "PUT", + "path": "/employees", + "group": "Employees" + }, + "input": "ActionInput_gusto_updateemployee", + "name": "update-employee", + "output": ["ActionOutput_gusto_updateemployee"], + "scopes": ["employees:manage"], + "usedModels": ["ActionInput_gusto_updateemployee", "ActionOutput_gusto_updateemployee"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Terminates an employee in Gusto.", + "endpoint": { + "method": "DELETE", + "path": "/employees", + "group": "Employees" + }, + "input": "ActionInput_gusto_terminateemployee", + "name": "terminate-employee", + "output": ["ActionOutput_gusto_terminateemployee"], + "scopes": ["employments:write"], + "usedModels": ["ActionInput_gusto_terminateemployee", "ActionOutput_gusto_terminateemployee"], + "version": "1.0.0" + } + ], + "syncs": [ + { + "type": "sync", + "description": "Fetches all employees from Gusto", + "auto_start": false, + "endpoints": [ + { + "method": "GET", + "path": "/employees", + "group": "Employees" + } + ], + "input": "SyncMetadata_gusto_employees", + "name": "employees", + "output": ["GustoEmployee"], + "runs": "every 5m", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GustoEmployee", "SyncMetadata_gusto_employees"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches all employees from Gusto and maps them to the standard HRIS model", + "auto_start": false, + "endpoints": [ + { + "method": "GET", + "path": "/employees/unified", + "group": "Unified HRIS API" + } + ], + "input": "SyncMetadata_gusto_unifiedemployees", + "name": "unified-employees", + "output": ["StandardEmployee"], + "runs": "every 5m", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["StandardEmployee", "SyncMetadata_gusto_unifiedemployees"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_gusto_employees": { + "type": "object", + "additionalProperties": false + }, + "GustoEmployee": { "type": "object", "properties": { "id": { "type": "string" }, - "status": { + "uuid": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" + "first_name": { + "type": "string" }, - "title": { + "last_name": { "type": "string" }, - "feedback": { + "email": { "type": "string" }, - "notes": { + "work_email": { "type": "string" }, - "metadata": { - "type": "object", - "additionalProperties": false + "phone": { + "type": "string" }, - "quickpad": { - "type": "boolean" + "department": { + "type": "string" }, - "ended_at": { - "type": "string", - "format": "date-time" + "department_uuid": { + "type": "string" }, - "timezone": { + "manager_uuid": { "type": "string" }, - "interview_template_id": { + "version": { "type": "string" }, - "from": { - "type": "string", - "format": "date-time" + "terminated": { + "type": "boolean" }, - "to": { - "type": "string", - "format": "date-time" + "onboarded": { + "type": "boolean" }, - "url": { + "onboarding_status": { "type": "string" }, - "user": { + "date_of_birth": { "type": "string" }, - "thumbs_up": { + "has_ssn": { "type": "boolean" }, - "resume_url": { - "type": "string" - }, - "interviewers": { + "custom_fields": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "company_custom_field_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + }, + "selection_options": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["id", "company_custom_field_id", "name", "description", "type", "value"], + "additionalProperties": false } }, - "candidate": { - "type": "object", - "properties": { - "name": { - "type": "string" + "jobs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "hire_date": { + "type": "string" + }, + "payment_unit": { + "type": "string" + }, + "primary": { + "type": "boolean" + } }, - "email": { - "type": "string" - } - }, - "required": ["name", "email"], - "additionalProperties": false - }, - "result_url": { - "type": "string" - }, - "report_url": { - "type": "string" + "required": ["id", "title", "hire_date", "payment_unit", "primary"], + "additionalProperties": false + } } }, "required": [ "id", - "status", - "created_at", - "updated_at", - "title", - "feedback", - "notes", - "metadata", - "quickpad", - "ended_at", - "timezone", - "interview_template_id", - "from", - "to", - "url", - "user", - "thumbs_up", - "resume_url", - "interviewers", - "candidate", - "result_url", - "report_url" + "uuid", + "first_name", + "last_name", + "email", + "work_email", + "phone", + "department", + "department_uuid", + "manager_uuid", + "version", + "terminated", + "onboarded", + "onboarding_status", + "date_of_birth", + "has_ssn", + "custom_fields", + "jobs" ], "additionalProperties": false }, - "ActionInput_hackerrank_work_createtest": { + "SyncMetadata_gusto_unifiedemployees": { + "type": "object", + "additionalProperties": false + }, + "StandardEmployee": { "type": "object", "properties": { - "name": { + "id": { "type": "string" }, - "starttime": { - "type": "string", - "format": "date-time" + "firstName": { + "type": "string" }, - "endtime": { - "type": "string", - "format": "date-time" + "lastName": { + "type": "string" }, - "duration": { - "type": "number" + "email": { + "type": "string" }, - "instructions": { + "displayName": { "type": "string" }, - "locked": { - "type": "boolean" + "employeeNumber": { + "type": "string" }, - "draft": { + "title": { "type": "string" }, - "languages": { - "type": "array", - "items": { - "type": "string" - } + "department": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, - "candidate_details": { - "type": "array", - "items": { - "type": "string" - } + "employmentType": { + "type": "string", + "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] }, - "custom_acknowledge_text": { - "type": "string" + "employmentStatus": { + "type": "string", + "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] }, - "cutoff_score": { - "type": "number" + "startDate": { + "type": "string" }, - "master_password": { + "terminationDate": { "type": "string" }, - "hide_compile_test": { - "type": "boolean" + "manager": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "additionalProperties": false }, - "tags": { + "workLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["OFFICE", "REMOTE", "HYBRID"] + }, + "primaryAddress": { + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false + } + }, + "required": ["name", "type"], + "additionalProperties": false + }, + "addresses": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false } }, - "role_ids": { + "phones": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "HOME", "MOBILE"] + }, + "number": { + "type": "string" + } + }, + "required": ["type", "number"], + "additionalProperties": false } }, - "experience": { + "emails": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "PERSONAL"] + }, + "address": { + "type": "string" + } + }, + "required": ["type", "address"], + "additionalProperties": false } }, - "questions": { - "type": "array", - "items": { - "type": "string" - } - }, - "mcq_incorrect_score": { - "type": "number" - }, - "mcq_correct_score": { - "type": "number" - }, - "secure": { - "type": "boolean" - }, - "shuffle_questions": { - "type": "boolean" - }, - "test_admins": { - "type": "array", - "items": { - "type": "string" - } - }, - "hide_template": { - "type": "boolean" - }, - "enable_acknowledgement": { - "type": "boolean" - }, - "enable_proctoring": { - "type": "boolean" - }, - "candidate_tab_switch": { - "type": "boolean" - }, - "track_editor_paste": { - "type": "boolean" + "providerSpecific": { + "type": "object", + "additionalProperties": false }, - "show_copy_paste_prompt": { - "type": "boolean" + "createdAt": { + "type": "string" }, - "ide_config": { + "updatedAt": { "type": "string" } }, "required": [ - "name", - "starttime", - "endtime", - "duration", - "instructions", - "locked", - "draft", - "languages", - "candidate_details", - "custom_acknowledge_text", - "cutoff_score", - "master_password", - "hide_compile_test", - "tags", - "role_ids", - "experience", - "questions", - "mcq_incorrect_score", - "mcq_correct_score", - "secure", - "shuffle_questions", - "test_admins", - "hide_template", - "enable_acknowledgement", - "enable_proctoring", - "candidate_tab_switch", - "track_editor_paste", - "show_copy_paste_prompt", - "ide_config" + "id", + "firstName", + "lastName", + "email", + "displayName", + "department", + "employmentType", + "employmentStatus", + "startDate", + "workLocation", + "addresses", + "phones", + "emails", + "providerSpecific", + "createdAt", + "updatedAt" ], "additionalProperties": false }, - "ActionOutput_hackerrank_work_createtest": { + "ActionInput_gusto_createemployee": { "type": "object", "properties": { - "id": { + "firstName": { "type": "string" }, - "unique_id": { + "lastName": { "type": "string" }, - "name": { + "email": { "type": "string" }, - "duration": { - "type": "number" - }, - "owner": { + "middleInitial": { "type": "string" }, - "instructions": { + "preferredFirstName": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "state": { + "dateOfBirth": { "type": "string" }, - "locked": { - "type": "boolean" - }, - "test_type": { + "ssn": { "type": "string" }, - "starred": { - "type": "boolean" - }, - "start_time": { - "type": "string", - "format": "date-time" - }, - "end_time": { - "type": "string", - "format": "date-time" - }, - "draft": { + "selfOnboarding": { "type": "boolean" - }, - "questions": { - "type": "array", - "items": { - "type": "string" - } - }, - "sections": { - "type": "object", - "additionalProperties": false - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "permission": { - "type": "number" } }, - "required": [ - "id", - "unique_id", - "name", - "duration", - "owner", - "instructions", - "created_at", - "state", - "locked", - "test_type", - "starred", - "start_time", - "end_time", - "draft", - "questions", - "sections", - "tags", - "permission" - ], + "required": ["firstName", "lastName", "email", "dateOfBirth"], "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "harvest", - "actions": [ - { - "type": "action", - "description": "Creates a user in Harvest", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_harvest_createuser", - "name": "create-user", - "output": ["ActionOutput_harvest_createuser"], - "scopes": ["administrator", "manager"], - "usedModels": ["ActionInput_harvest_createuser", "ActionOutput_harvest_createuser"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Deletes a user in Harvest", - "endpoint": { - "method": "DELETE", - "path": "/users", - "group": "Users" }, - "input": "ActionInput_harvest_deleteuser", - "name": "delete-user", - "output": ["ActionOutput_harvest_deleteuser"], - "scopes": ["administrator"], - "usedModels": ["ActionInput_harvest_deleteuser", "ActionOutput_harvest_deleteuser"], - "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches the list of users in Harvest", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users", - "group": "Users" - } - ], - "input": "SyncMetadata_harvest_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["administrator", "manager"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_harvest_users"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "User": { + "ActionOutput_gusto_createemployee": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_harvest_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_harvest_createuser": { + "ActionInput_gusto_updateemployee": { "type": "object", "properties": { - "first_name": { + "id": { "type": "string" }, - "last_name": { + "version": { "type": "string" }, - "email": { + "firstName": { "type": "string" }, - "timezone": { + "lastName": { "type": "string" }, - "has_access_to_all_future_projects": { - "type": "boolean" - }, - "is_contractor": { - "type": "boolean" - }, - "is_active": { - "type": "boolean" + "email": { + "type": "string" }, - "weekly_capacity": { - "type": "number" + "middleInitial": { + "type": "string" }, - "default_hourly_rate": { - "type": "string", - "const": "decimal" + "preferredFirstName": { + "type": "string" }, - "cost_rate": { - "type": "string", - "const": "decimal" + "dateOfBirth": { + "type": "string" }, - "roles": { - "type": "array", - "items": { - "type": "string" - } + "ssn": { + "type": "string" }, - "access_roles": { - "type": "string", - "enum": [ - "administrator", - "manager", - "member", - "project_creator", - "billable_rates_manager", - "managed_projects_invoice_drafter", - "managed_projects_invoice_manager", - "client_and_task_manager", - "time_and_expenses_manager", - "estimates_manager" - ] + "twoPercentShareholder": { + "type": "boolean" } }, - "required": ["first_name", "last_name", "email", "roles"], + "required": ["id", "version"], "additionalProperties": false }, - "ActionOutput_harvest_createuser": { + "ActionOutput_gusto_updateemployee": { "type": "object", "properties": { "id": { @@ -33308,17 +32507,23 @@ "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_harvest_deleteuser": { + "ActionInput_gusto_terminateemployee": { "type": "object", "properties": { "id": { "type": "string" + }, + "effectiveDate": { + "type": "string" + }, + "runTerminationPayroll": { + "type": "boolean" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_harvest_deleteuser": { + "ActionOutput_gusto_terminateemployee": { "type": "object", "properties": { "success": { @@ -33328,57 +32533,131 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null + "sdkVersion": "0.68.1", + "symLinkTargetName": "gusto" }, { - "providerConfigKey": "hibob-service-user", - "actions": [], + "providerConfigKey": "hackerrank-work", + "actions": [ + { + "type": "action", + "description": "Action to create a test on hackerrank work", + "endpoint": { + "method": "POST", + "path": "/tests", + "group": "Tests" + }, + "input": "ActionInput_hackerrank_work_createtest", + "name": "create-test", + "output": ["ActionOutput_hackerrank_work_createtest"], + "scopes": [], + "usedModels": ["ActionInput_hackerrank_work_createtest", "ActionOutput_hackerrank_work_createtest"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Action to create an interview on hackerrank work", + "endpoint": { + "method": "POST", + "path": "/interviews", + "group": "Interviews" + }, + "input": "ActionInput_hackerrank_work_createinterview", + "name": "create-interview", + "output": ["ActionOutput_hackerrank_work_createinterview"], + "scopes": [], + "usedModels": ["ActionInput_hackerrank_work_createinterview", "ActionOutput_hackerrank_work_createinterview"], + "version": "2.0.0" + } + ], "syncs": [ { "type": "sync", - "description": "Fetches a list of all active employees", + "description": "Fetches a list of interviews from hackerrank work", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees", - "group": "Employees" + "path": "/interviews", + "group": "Interviews" } ], - "input": "SyncMetadata_hibob_service_user_employees", - "name": "employees", - "output": ["HibobEmployee"], - "runs": "every hour", + "input": "SyncMetadata_hackerrank_work_interviews", + "name": "interviews", + "output": ["HackerRankWorkInterview"], + "runs": "every 6 hours", "scopes": [], - "sync_type": "full", + "sync_type": "incremental", "track_deletes": false, - "usedModels": ["HibobEmployee", "SyncMetadata_hibob_service_user_employees"], - "version": "1.0.0", + "usedModels": ["HackerRankWorkInterview", "SyncMetadata_hackerrank_work_interviews"], + "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of all employees and maps them to the standardized HRIS model", + "description": "Fetches a list of teams from hackerrank work", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" + "path": "/teams" } ], - "input": "SyncMetadata_hibob_service_user_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every hour", + "input": "SyncMetadata_hackerrank_work_teams", + "name": "teams", + "output": ["HackerRankWorkTeam"], + "runs": "every 6 hours", "scopes": [], - "sync_type": "full", + "sync_type": "incremental", "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_hibob_service_user_unifiedemployees"], - "version": "1.0.0", + "usedModels": ["HackerRankWorkTeam", "SyncMetadata_hackerrank_work_teams"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of tests from hackerrank work", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/tests", + "group": "Tests" + } + ], + "input": "SyncMetadata_hackerrank_work_tests", + "name": "tests", + "output": ["HackerRankWorkTest"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["HackerRankWorkTest", "SyncMetadata_hackerrank_work_tests"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of users from hackerrank work", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users" + } + ], + "input": "SyncMetadata_hackerrank_work_users", + "name": "users", + "output": ["HackerRankWorkUser"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["HackerRankWorkUser", "SyncMetadata_hackerrank_work_users"], + "version": "2.0.0", "webhookSubscriptions": [] } ], @@ -33389,1492 +32668,1317 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "HibobEmployee": { + "SyncMetadata_hackerrank_work_interviews": { + "type": "object", + "additionalProperties": false + }, + "HackerRankWorkInterview": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "status": { "type": "string" }, - "surname": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "title": { "type": "string" }, - "email": { + "feedback": { "type": "string" }, - "displayName": { + "notes": { "type": "string" }, - "work": { + "metadata": { "type": "object", - "properties": { - "title": { - "type": "string" - }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "employmentType": { - "type": "string" - }, - "status": { - "type": "string" - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" - }, - "reportsTo": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "surname": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "surname", "email"], - "additionalProperties": false - }, - "site": { - "type": "string" - }, - "siteType": { - "type": "string" - }, - "address": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - } - }, - "required": ["street", "city", "state", "country", "postalCode"], - "additionalProperties": false - }, - "customFields": { - "type": "object", - "additionalProperties": false - } - }, "additionalProperties": false }, - "personal": { + "quickpad": { + "type": "boolean" + }, + "ended_at": { + "type": "string", + "format": "date-time" + }, + "timezone": { + "type": "string" + }, + "interview_template_id": { + "type": "string" + }, + "from": { + "type": "string", + "format": "date-time" + }, + "to": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "user": { + "type": "string" + }, + "thumbs_up": { + "type": "boolean" + }, + "resume_url": { + "type": "string" + }, + "interviewers": { + "type": "array", + "items": { + "type": "string" + } + }, + "candidate": { "type": "object", "properties": { - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": ["street", "city", "state", "country", "postalCode", "type"], - "additionalProperties": false - } - }, - "workPhone": { - "type": "string" - }, - "homePhone": { - "type": "string" - }, - "mobilePhone": { + "name": { "type": "string" }, "email": { "type": "string" } }, + "required": ["name", "email"], "additionalProperties": false }, - "about": { - "type": "object", - "properties": { - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "additionalProperties": false + "result_url": { + "type": "string" + }, + "report_url": { + "type": "string" } }, - "required": ["id", "firstName", "surname", "email", "displayName"], + "required": [ + "id", + "status", + "created_at", + "updated_at", + "title", + "feedback", + "notes", + "metadata", + "quickpad", + "ended_at", + "timezone", + "interview_template_id", + "from", + "to", + "url", + "user", + "thumbs_up", + "resume_url", + "interviewers", + "candidate", + "result_url", + "report_url" + ], "additionalProperties": false }, - "SyncMetadata_hibob_service_user_employees": { + "SyncMetadata_hackerrank_work_teams": { "type": "object", "additionalProperties": false }, - "StandardEmployee": { + "HackerRankWorkTeam": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "name": { "type": "string" }, - "lastName": { + "owner": { "type": "string" }, - "email": { + "created_at": { + "type": "string", + "format": "date-time" + }, + "recruiter_count": { + "type": "number" + }, + "developer_count": { + "type": "number" + }, + "interviewer_count": { + "type": "number" + }, + "recruiter_cap": { + "type": "number" + }, + "developer_cap": { + "type": "number" + }, + "interviewer_cap": { + "type": "number" + }, + "logo_id": { "type": "string" }, - "displayName": { + "library_access": { + "type": "boolean" + }, + "invite_as": { "type": "string" }, - "employeeNumber": { + "locations": { + "type": "array", + "items": { + "type": "string" + } + }, + "departments": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "id", + "name", + "owner", + "created_at", + "recruiter_count", + "developer_count", + "interviewer_count", + "recruiter_cap", + "developer_cap", + "interviewer_cap", + "logo_id", + "library_access", + "invite_as", + "locations", + "departments" + ], + "additionalProperties": false + }, + "SyncMetadata_hackerrank_work_tests": { + "type": "object", + "additionalProperties": false + }, + "HackerRankWorkTest": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "title": { + "unique_id": { "type": "string" }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false + "name": { + "type": "string" }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] + "duration": { + "type": "number" }, - "employmentStatus": { + "owner": { + "type": "string" + }, + "instructions": { + "type": "string" + }, + "created_at": { "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] + "format": "date-time" }, - "startDate": { + "state": { "type": "string" }, - "terminationDate": { + "locked": { + "type": "boolean" + }, + "test_type": { "type": "string" }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false + "starred": { + "type": "boolean" }, - "workLocation": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "required": ["name", "type"], - "additionalProperties": false + "start_time": { + "type": "string", + "format": "date-time" }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } + "end_time": { + "type": "string", + "format": "date-time" }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } + "draft": { + "type": "boolean" }, - "emails": { + "questions": { "type": "array", "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false + "type": "string" } }, - "providerSpecific": { + "sections": { "type": "object", "additionalProperties": false }, - "createdAt": { - "type": "string" + "tags": { + "type": "array", + "items": { + "type": "string" + } }, - "updatedAt": { - "type": "string" + "permission": { + "type": "number" } }, "required": [ "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" + "unique_id", + "name", + "duration", + "owner", + "instructions", + "created_at", + "state", + "locked", + "test_type", + "starred", + "start_time", + "end_time", + "draft", + "questions", + "sections", + "tags", + "permission" ], "additionalProperties": false }, - "SyncMetadata_hibob_service_user_unifiedemployees": { + "SyncMetadata_hackerrank_work_users": { "type": "object", "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "hubspot", - "actions": [ - { - "type": "action", - "description": "Change a user role. Requires an enterprise account.", - "endpoint": { - "method": "PUT", - "path": "/roles", - "group": "Roles" - }, - "input": "ActionInput_hubspot_changeuserrole", - "name": "change-user-role", - "output": ["ActionOutput_hubspot_changeuserrole"], - "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular scope)"], - "usedModels": ["ActionInput_hubspot_changeuserrole", "ActionOutput_hubspot_changeuserrole"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Create a single company in Hubspot", - "endpoint": { - "method": "POST", - "path": "/companies", - "group": "Companies" - }, - "input": "ActionInput_hubspot_createcompany", - "name": "create-company", - "output": ["ActionOutput_hubspot_createcompany"], - "scopes": ["crm.objects.companies.write", "oauth"], - "usedModels": ["ActionInput_hubspot_createcompany", "ActionOutput_hubspot_createcompany"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Create a single contact in Hubspot", - "endpoint": { - "method": "POST", - "path": "/contact", - "group": "Contacts" - }, - "input": "ActionInput_hubspot_createcontact", - "name": "create-contact", - "output": ["ActionOutput_hubspot_createcontact"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_createcontact", "ActionOutput_hubspot_createcontact"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Creates a single deal in Hubspot", - "endpoint": { - "method": "POST", - "path": "/deals", - "group": "Deals" }, - "input": "ActionInput_hubspot_createdeal", - "name": "create-deal", - "output": ["ActionOutput_hubspot_createdeal"], - "scopes": ["oauth", "crm.objects.deals.write", "oauth"], - "usedModels": ["ActionInput_hubspot_createdeal", "ActionOutput_hubspot_createdeal"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Creates a single note in Hubspot", - "endpoint": { - "method": "POST", - "path": "/note" - }, - "input": "ActionInput_hubspot_createnote", - "name": "create-note", - "output": ["ActionOutput_hubspot_createnote"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_createnote", "ActionOutput_hubspot_createnote"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Create a property in Hubspot", - "endpoint": { - "method": "POST", - "path": "/properties", - "group": "Properties" - }, - "input": "ActionInput_hubspot_createproperty", - "name": "create-property", - "output": ["ActionOutput_hubspot_createproperty"], - "scopes": [ - "oauth", - "crm.schemas.orders.write", - "crm.objects.orders.write", - "crm.schemas.contacts.write", - "crm.schemas.carts.write", - "crm.schemas.deals.write", - "crm.objects.users.write", - "crm.schemas.companies.write", - "crm.objects.carts.write" - ], - "usedModels": ["ActionInput_hubspot_createproperty", "ActionOutput_hubspot_createproperty"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Creates a single task in Hubspot", - "endpoint": { - "method": "POST", - "path": "/tasks", - "group": "Tasks" - }, - "input": "ActionInput_hubspot_createtask", - "name": "create-task", - "output": ["ActionOutput_hubspot_createtask"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_createtask", "ActionOutput_hubspot_createtask"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Creates a single user in Hubspot", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_hubspot_createuser", - "name": "create-user", - "output": ["ActionOutput_hubspot_createuser"], - "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular)"], - "usedModels": ["ActionInput_hubspot_createuser", "ActionOutput_hubspot_createuser"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Deletes a company in Hubspot", - "endpoint": { - "method": "DELETE", - "path": "/companies", - "group": "Companies" - }, - "input": "ActionInput_hubspot_deletecompany", - "name": "delete-company", - "output": ["ActionOutput_hubspot_deletecompany"], - "scopes": ["crm.objects.companies.write", "oauth"], - "usedModels": ["ActionInput_hubspot_deletecompany", "ActionOutput_hubspot_deletecompany"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Deletes a contact in Hubspot", - "endpoint": { - "method": "DELETE", - "path": "/contact", - "group": "Contacts" - }, - "input": "ActionInput_hubspot_deletecontact", - "name": "delete-contact", - "output": ["ActionOutput_hubspot_deletecontact"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_deletecontact", "ActionOutput_hubspot_deletecontact"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Deletes a deal in Hubspot", - "endpoint": { - "method": "DELETE", - "path": "/deal", - "group": "Deals" - }, - "input": "ActionInput_hubspot_deletedeal", - "name": "delete-deal", - "output": ["ActionOutput_hubspot_deletedeal"], - "scopes": ["crm.objects.deals.write", "oauth"], - "usedModels": ["ActionInput_hubspot_deletedeal", "ActionOutput_hubspot_deletedeal"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Deletes a task in Hubspot", - "endpoint": { - "method": "DELETE", - "path": "/tasks", - "group": "Tasks" - }, - "input": "ActionInput_hubspot_deletetask", - "name": "delete-task", - "output": ["ActionOutput_hubspot_deletetask"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_deletetask", "ActionOutput_hubspot_deletetask"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Deletes a user in Hubspot", - "endpoint": { - "method": "DELETE", - "path": "/users", - "group": "Users" + "HackerRankWorkUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstname": { + "type": "string" + }, + "lastname": { + "type": "string" + }, + "country": { + "type": "string" + }, + "role": { + "type": "string" + }, + "status": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "questions_permission": { + "type": "number" + }, + "tests_permission": { + "type": "number" + }, + "interviews_permission": { + "type": "number" + }, + "candidates_permission": { + "type": "number" + }, + "shared_questions_permission": { + "type": "number" + }, + "shared_tests_permission": { + "type": "number" + }, + "shared_interviews_permission": { + "type": "number" + }, + "shared_candidates_permission": { + "type": "number" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "company_admin": { + "type": "boolean" + }, + "team_admin": { + "type": "boolean" + }, + "company_id": { + "type": "string" + }, + "teams": { + "type": "array", + "items": {} + }, + "activated": { + "type": "boolean" + }, + "last_activity_time": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "email", + "firstname", + "lastname", + "country", + "role", + "status", + "phone", + "timezone", + "questions_permission", + "tests_permission", + "interviews_permission", + "candidates_permission", + "shared_questions_permission", + "shared_tests_permission", + "shared_interviews_permission", + "shared_candidates_permission", + "created_at", + "company_admin", + "team_admin", + "company_id", + "teams", + "activated", + "last_activity_time" + ], + "additionalProperties": false }, - "input": "ActionInput_hubspot_deleteuser", - "name": "delete-user", - "output": ["ActionOutput_hubspot_deleteuser"], - "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular)"], - "usedModels": ["ActionInput_hubspot_deleteuser", "ActionOutput_hubspot_deleteuser"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Fetch the account information from Hubspot", - "endpoint": { - "method": "GET", - "path": "/account-information" + "ActionInput_hackerrank_work_createtest": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "starttime": { + "type": "string", + "format": "date-time" + }, + "endtime": { + "type": "string", + "format": "date-time" + }, + "duration": { + "type": "number" + }, + "instructions": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "draft": { + "type": "string" + }, + "languages": { + "type": "array", + "items": { + "type": "string" + } + }, + "candidate_details": { + "type": "array", + "items": { + "type": "string" + } + }, + "custom_acknowledge_text": { + "type": "string" + }, + "cutoff_score": { + "type": "number" + }, + "master_password": { + "type": "string" + }, + "hide_compile_test": { + "type": "boolean" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "role_ids": { + "type": "array", + "items": { + "type": "string" + } + }, + "experience": { + "type": "array", + "items": { + "type": "string" + } + }, + "questions": { + "type": "array", + "items": { + "type": "string" + } + }, + "mcq_incorrect_score": { + "type": "number" + }, + "mcq_correct_score": { + "type": "number" + }, + "secure": { + "type": "boolean" + }, + "shuffle_questions": { + "type": "boolean" + }, + "test_admins": { + "type": "array", + "items": { + "type": "string" + } + }, + "hide_template": { + "type": "boolean" + }, + "enable_acknowledgement": { + "type": "boolean" + }, + "enable_proctoring": { + "type": "boolean" + }, + "candidate_tab_switch": { + "type": "boolean" + }, + "track_editor_paste": { + "type": "boolean" + }, + "show_copy_paste_prompt": { + "type": "boolean" + }, + "ide_config": { + "type": "string" + } + }, + "required": [ + "name", + "starttime", + "endtime", + "duration", + "instructions", + "locked", + "draft", + "languages", + "candidate_details", + "custom_acknowledge_text", + "cutoff_score", + "master_password", + "hide_compile_test", + "tags", + "role_ids", + "experience", + "questions", + "mcq_incorrect_score", + "mcq_correct_score", + "secure", + "shuffle_questions", + "test_admins", + "hide_template", + "enable_acknowledgement", + "enable_proctoring", + "candidate_tab_switch", + "track_editor_paste", + "show_copy_paste_prompt", + "ide_config" + ], + "additionalProperties": false }, - "input": "ActionInput_hubspot_fetchaccountinformation", - "name": "fetch-account-information", - "output": ["ActionOutput_hubspot_fetchaccountinformation"], - "scopes": ["oauth"], - "usedModels": ["ActionInput_hubspot_fetchaccountinformation", "ActionOutput_hubspot_fetchaccountinformation"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Fetch custom objects in Hubspot. Requires Hubspot enterprise", - "endpoint": { - "method": "GET", - "path": "/custom-objects" + "ActionOutput_hackerrank_work_createtest": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "unique_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "duration": { + "type": "number" + }, + "owner": { + "type": "string" + }, + "instructions": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "state": { + "type": "string" + }, + "locked": { + "type": "boolean" + }, + "test_type": { + "type": "string" + }, + "starred": { + "type": "boolean" + }, + "start_time": { + "type": "string", + "format": "date-time" + }, + "end_time": { + "type": "string", + "format": "date-time" + }, + "draft": { + "type": "boolean" + }, + "questions": { + "type": "array", + "items": { + "type": "string" + } + }, + "sections": { + "type": "object", + "additionalProperties": false + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "permission": { + "type": "number" + } + }, + "required": [ + "id", + "unique_id", + "name", + "duration", + "owner", + "instructions", + "created_at", + "state", + "locked", + "test_type", + "starred", + "start_time", + "end_time", + "draft", + "questions", + "sections", + "tags", + "permission" + ], + "additionalProperties": false }, - "input": "ActionInput_hubspot_fetchcustomobjects", - "name": "fetch-custom-objects", - "output": ["ActionOutput_hubspot_fetchcustomobjects"], - "scopes": ["oauth", "crm.schemas.custom.read"], - "usedModels": ["ActionInput_hubspot_fetchcustomobjects", "ActionOutput_hubspot_fetchcustomobjects"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Fetch all pipelines for an object type. Defaults to deals", - "endpoint": { - "method": "GET", - "path": "/pipelines", - "group": "Pipelines" - }, - "input": "ActionInput_hubspot_fetchpipelines", - "name": "fetch-pipelines", - "output": ["ActionOutput_hubspot_fetchpipelines"], - "scopes": ["oauth", "crm.objects.deals.read"], - "usedModels": ["ActionInput_hubspot_fetchpipelines", "ActionOutput_hubspot_fetchpipelines"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Fetch the properties of a specified object", - "endpoint": { - "method": "GET", - "path": "/properties", - "group": "Properties" - }, - "input": "ActionInput_hubspot_fetchproperties", - "name": "fetch-properties", - "output": ["ActionOutput_hubspot_fetchproperties"], - "scopes": [ - "oauth", - "media_bridge.read", - "crm.objects.marketing_events.write", - "crm.schemas.custom.read", - "crm.pipelines.orders.read", - "tickets", - "crm.objects.feedback_submissions.read", - "crm.objects.goals.read", - "crm.objects.custom.write", - "crm.objects.custom.read", - "crm.objects.marketing_events.read", - "timeline", - "e-commerce", - "automation" - ], - "usedModels": ["ActionInput_hubspot_fetchproperties", "ActionOutput_hubspot_fetchproperties"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Fetch the roles on an account. Requires an enterprise account.", - "endpoint": { - "method": "GET", - "path": "/roles", - "group": "Roles" - }, - "input": "ActionInput_hubspot_fetchroles", - "name": "fetch-roles", - "output": ["ActionOutput_hubspot_fetchroles"], - "scopes": ["oauth", "settings.users.read (standard scope)", "crm.objects.users.read (granular scope)"], - "usedModels": ["ActionInput_hubspot_fetchroles", "ActionOutput_hubspot_fetchroles"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Update a single company in Hubspot", - "endpoint": { - "method": "PATCH", - "path": "/companies", - "group": "Companies" - }, - "input": "ActionInput_hubspot_updatecompany", - "name": "update-company", - "output": ["ActionOutput_hubspot_updatecompany"], - "scopes": ["crm.objects.companies.write", "oauth"], - "usedModels": ["ActionInput_hubspot_updatecompany", "ActionOutput_hubspot_updatecompany"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Updates a single contact in Hubspot", - "endpoint": { - "method": "PATCH", - "path": "/contact", - "group": "Contacts" - }, - "input": "ActionInput_hubspot_updatecontact", - "name": "update-contact", - "output": ["ActionOutput_hubspot_updatecontact"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_updatecontact", "ActionOutput_hubspot_updatecontact"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Updates a single deal in Hubspot", - "endpoint": { - "method": "PATCH", - "path": "/deal", - "group": "Deals" - }, - "input": "ActionInput_hubspot_updatedeal", - "name": "update-deal", - "output": ["ActionOutput_hubspot_updatedeal"], - "scopes": ["crm.objects.deals.write", "oauth"], - "usedModels": ["ActionInput_hubspot_updatedeal", "ActionOutput_hubspot_updatedeal"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Updates a single company in Hubspot", - "endpoint": { - "method": "PATCH", - "path": "/tasks", - "group": "Tasks" - }, - "input": "ActionInput_hubspot_updatetask", - "name": "update-task", - "output": ["ActionOutput_hubspot_updatetask"], - "scopes": ["crm.objects.contacts.write", "oauth"], - "usedModels": ["ActionInput_hubspot_updatetask", "ActionOutput_hubspot_updatetask"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Fetch current user information", - "endpoint": { - "method": "GET", - "path": "/whoami", - "group": "Users" - }, - "input": "ActionInput_hubspot_whoami", - "name": "whoami", - "output": ["ActionOutput_hubspot_whoami"], - "scopes": [], - "usedModels": ["ActionInput_hubspot_whoami", "ActionOutput_hubspot_whoami"], - "version": "2.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of companies from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/companies", - "group": "Companies" - } - ], - "input": "SyncMetadata_hubspot_companies", - "name": "companies", - "output": ["Company"], - "runs": "every day", - "scopes": ["crm.objects.companies.read", "oauth"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Company", "SyncMetadata_hubspot_companies"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of contacts from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/contacts", - "group": "Contacts" - } - ], - "input": "SyncMetadata_hubspot_contacts", - "name": "contacts", - "output": ["Contact"], - "runs": "every day", - "scopes": ["crm.objects.contacts.read", "oauth"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Contact", "SyncMetadata_hubspot_contacts"], - "version": "3.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetch hubspot deals", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/currency-codes" - } - ], - "input": "SyncMetadata_hubspot_currencycodes", - "name": "currency-codes", - "output": ["CurrencyCode"], - "runs": "every day", - "scopes": ["oauth", "settings.currencies.read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["CurrencyCode", "SyncMetadata_hubspot_currencycodes"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of deals from Hubspot with their associated companies and contacts", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/deals", - "group": "Deals" - } - ], - "input": "SyncMetadata_hubspot_deals", - "name": "deals", - "output": ["Deal"], - "runs": "every day", - "scopes": ["crm.objects.deals.read", "oauth", "e-commerce (standard scope)", "crm.objects.line_items.read (granular scope)"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Deal", "SyncMetadata_hubspot_deals"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of knowledge base from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/knowledge-base" - } - ], - "input": "SyncMetadata_hubspot_knowledgebase", - "name": "knowledge-base", - "output": ["HubspotKnowledgeBase"], - "runs": "every day", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["HubspotKnowledgeBase", "SyncMetadata_hubspot_knowledgebase"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of owners from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/owners", - "group": "Owners" - } - ], - "input": "SyncMetadata_hubspot_owners", - "name": "owners", - "output": ["HubspotOwner"], - "runs": "every day", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["HubspotOwner", "SyncMetadata_hubspot_owners"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of products from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/products", - "group": "Products" - } - ], - "input": "SyncMetadata_hubspot_products", - "name": "products", - "output": ["Product"], - "runs": "every day", - "scopes": ["e-commerce"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Product", "SyncMetadata_hubspot_products"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of service tickets from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/service-tickets" - } - ], - "input": "SyncMetadata_hubspot_servicetickets", - "name": "service-tickets", - "output": ["HubspotServiceTicket"], - "runs": "every half hour", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["HubspotServiceTicket", "SyncMetadata_hubspot_servicetickets"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of tasks from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/tasks", - "group": "Tasks" - } - ], - "input": "SyncMetadata_hubspot_tasks", - "name": "tasks", - "output": ["Task"], - "runs": "every day", - "scopes": ["crm.objects.contacts.read", "oauth"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Task", "SyncMetadata_hubspot_tasks"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of users from Hubspot", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users", - "group": "Users" - } - ], - "input": "SyncMetadata_hubspot_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["oauth", "settings.users.read (standard scope)", "crm.objects.users.read (granular scope)"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_hubspot_users"], - "version": "2.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Company": { + "ActionInput_hackerrank_work_createinterview": { "type": "object", "properties": { "id": { "type": "string" }, - "created_date": { - "type": ["string", "null"] - }, - "name": { - "type": ["string", "null"] + "status": { + "type": "string" }, - "industry": { - "type": ["string", "null"] + "created_at": { + "type": "string", + "format": "date-time" }, - "description": { - "type": ["string", "null"] + "updated_at": { + "type": "string", + "format": "date-time" }, - "country": { - "type": ["string", "null"] + "title": { + "type": "string" }, - "city": { - "type": ["string", "null"] + "feedback": { + "type": "string" }, - "lead_status": { - "type": ["string", "null"] + "notes": { + "type": "string" }, - "lifecycle_stage": { - "type": ["string", "null"] + "metadata": { + "type": "object", + "additionalProperties": false }, - "owner": { - "type": ["string", "null"] + "quickpad": { + "type": "boolean" }, - "year_founded": { - "type": ["string", "null"] + "ended_at": { + "type": "string", + "format": "date-time" }, - "website_url": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "created_date", - "name", - "industry", - "description", - "country", - "city", - "lead_status", - "lifecycle_stage", - "owner", - "year_founded", - "website_url" - ], - "additionalProperties": false - }, - "SyncMetadata_hubspot_companies": { - "type": "object", - "additionalProperties": false - }, - "Contact": { - "type": "object", - "properties": { - "name": { + "timezone": { "type": "string" }, - "id": { + "interview_template_id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] + "from": { + "type": "string", + "format": "date-time" }, - "address_line_1": { - "type": ["string", "null"] + "to": { + "type": "string", + "format": "date-time" }, - "address_line_2": { - "type": ["string", "null"] + "url": { + "type": "string" }, - "city": { - "type": ["string", "null"] + "user": { + "type": "string" }, - "zip": { - "type": ["string", "null"] + "thumbs_up": { + "type": "boolean" }, - "country": { - "type": ["string", "null"] + "resume_url": { + "type": "string" }, - "state": { - "type": ["string", "null"] + "interviewers": { + "type": "array", + "items": { + "type": "string" + } }, - "phone": { - "type": ["string", "null"] + "candidate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["name", "email"], + "additionalProperties": false }, - "subsidiary": { - "type": ["string", "null"] - } - }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], - "additionalProperties": false - }, - "SyncMetadata_hubspot_contacts": { - "type": "object", - "additionalProperties": false - }, - "CurrencyCode": { - "type": "object", - "properties": { - "id": { + "result_url": { "type": "string" }, - "code": { + "report_url": { "type": "string" }, - "description": { - "type": "string" - } + "send_email": { + "type": "boolean" + }, + "interview_metadata": { + "type": "object", + "additionalProperties": false + } }, - "required": ["id", "code", "description"], - "additionalProperties": false - }, - "SyncMetadata_hubspot_currencycodes": { - "type": "object", + "required": [ + "id", + "status", + "created_at", + "updated_at", + "title", + "feedback", + "notes", + "metadata", + "quickpad", + "ended_at", + "timezone", + "interview_template_id", + "from", + "to", + "url", + "user", + "thumbs_up", + "resume_url", + "interviewers", + "candidate", + "result_url", + "report_url", + "send_email", + "interview_metadata" + ], "additionalProperties": false }, - "Deal": { + "ActionOutput_hackerrank_work_createinterview": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { - "type": ["string", "null"] + "status": { + "type": "string" }, - "amount": { - "type": ["string", "null"] + "created_at": { + "type": "string", + "format": "date-time" }, - "close_date": { - "type": ["string", "null"] + "updated_at": { + "type": "string", + "format": "date-time" }, - "deal_description": { - "type": ["string", "null"] + "title": { + "type": "string" }, - "owner": { - "type": ["string", "null"] + "feedback": { + "type": "string" }, - "deal_stage": { - "type": ["string", "null"] + "notes": { + "type": "string" }, - "deal_probability": { - "type": ["string", "null"] + "metadata": { + "type": "object", + "additionalProperties": false }, - "returned_associations": { + "quickpad": { + "type": "boolean" + }, + "ended_at": { + "type": "string", + "format": "date-time" + }, + "timezone": { + "type": "string" + }, + "interview_template_id": { + "type": "string" + }, + "from": { + "type": "string", + "format": "date-time" + }, + "to": { + "type": "string", + "format": "date-time" + }, + "url": { + "type": "string" + }, + "user": { + "type": "string" + }, + "thumbs_up": { + "type": "boolean" + }, + "resume_url": { + "type": "string" + }, + "interviewers": { + "type": "array", + "items": { + "type": "string" + } + }, + "candidate": { "type": "object", "properties": { - "companies": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": ["string", "null"] - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "contacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "first_name": { - "type": ["string", "null"] - }, - "last_name": { - "type": ["string", "null"] - } - }, - "required": ["id", "first_name", "last_name"], - "additionalProperties": false - } + "name": { + "type": "string" }, - "deals": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": ["string", "null"] - } - }, - "required": ["id", "name"], - "additionalProperties": false - } + "email": { + "type": "string" } }, + "required": ["name", "email"], "additionalProperties": false + }, + "result_url": { + "type": "string" + }, + "report_url": { + "type": "string" } }, - "required": ["id", "name", "amount", "close_date", "deal_description", "owner", "deal_stage", "deal_probability"], + "required": [ + "id", + "status", + "created_at", + "updated_at", + "title", + "feedback", + "notes", + "metadata", + "quickpad", + "ended_at", + "timezone", + "interview_template_id", + "from", + "to", + "url", + "user", + "thumbs_up", + "resume_url", + "interviewers", + "candidate", + "result_url", + "report_url" + ], "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "harvest", + "actions": [ + { + "type": "action", + "description": "Creates a user in Harvest", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" }, - "SyncMetadata_hubspot_deals": { + "input": "ActionInput_harvest_createuser", + "name": "create-user", + "output": ["ActionOutput_harvest_createuser"], + "scopes": ["administrator", "manager"], + "usedModels": ["ActionInput_harvest_createuser", "ActionOutput_harvest_createuser"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a user in Harvest", + "endpoint": { + "method": "DELETE", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_harvest_deleteuser", + "name": "delete-user", + "output": ["ActionOutput_harvest_deleteuser"], + "scopes": ["administrator"], + "usedModels": ["ActionInput_harvest_deleteuser", "ActionOutput_harvest_deleteuser"], + "version": "1.0.0" + } + ], + "syncs": [ + { + "type": "sync", + "description": "Fetches the list of users in Harvest", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users", + "group": "Users" + } + ], + "input": "SyncMetadata_harvest_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["administrator", "manager"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_harvest_users"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_harvest_users": { "type": "object", "additionalProperties": false }, - "HubspotKnowledgeBase": { + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "title": { - "type": "string" - }, - "description": { + "email": { "type": "string" }, - "category": { + "firstName": { "type": "string" }, - "content": { + "lastName": { "type": "string" - }, - "publishDate": { - "type": "number" } }, - "required": ["id", "title", "description", "category", "content", "publishDate"], - "additionalProperties": false - }, - "SyncMetadata_hubspot_knowledgebase": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "HubspotOwner": { + "ActionInput_harvest_createuser": { "type": "object", "properties": { - "id": { + "first_name": { "type": "string" }, - "email": { + "last_name": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "timezone": { "type": "string" }, - "userId": { + "has_access_to_all_future_projects": { + "type": "boolean" + }, + "is_contractor": { + "type": "boolean" + }, + "is_active": { + "type": "boolean" + }, + "weekly_capacity": { "type": "number" }, - "createdAt": { + "default_hourly_rate": { "type": "string", - "format": "date-time" + "const": "decimal" }, - "updatedAt": { + "cost_rate": { "type": "string", - "format": "date-time" + "const": "decimal" }, - "archived": { - "type": "boolean" + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "access_roles": { + "type": "string", + "enum": [ + "administrator", + "manager", + "member", + "project_creator", + "billable_rates_manager", + "managed_projects_invoice_drafter", + "managed_projects_invoice_manager", + "client_and_task_manager", + "time_and_expenses_manager", + "estimates_manager" + ] } }, - "required": ["id", "email", "firstName", "lastName", "userId", "createdAt", "updatedAt", "archived"], - "additionalProperties": false - }, - "SyncMetadata_hubspot_owners": { - "type": "object", + "required": ["first_name", "last_name", "email", "roles"], "additionalProperties": false }, - "Product": { + "ActionOutput_harvest_createuser": { "type": "object", "properties": { - "updatedAt": { + "id": { "type": "string" }, - "createdAt": { + "email": { "type": "string" }, - "id": { + "firstName": { "type": "string" }, - "amount": { - "type": ["number", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "discount": { - "type": ["number", "null"] - }, - "sku": { - "type": ["string", "null"] - }, - "url": { - "type": ["string", "null"] - }, - "name": { + "lastName": { "type": "string" - }, - "price": { + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "ActionInput_harvest_deleteuser": { + "type": "object", + "properties": { + "id": { "type": "string" - }, - "quantity": { - "type": ["number", "null"] - }, - "recurringBillingFrequency": { - "type": ["number", "null"] - }, - "tax": { - "type": ["null", "number"] } }, - "required": [ - "updatedAt", - "createdAt", - "id", - "amount", - "description", - "discount", - "sku", - "url", - "name", - "price", - "quantity", - "recurringBillingFrequency", - "tax" - ], + "required": ["id"], "additionalProperties": false }, - "SyncMetadata_hubspot_products": { + "ActionOutput_harvest_deleteuser": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "hibob-service-user", + "actions": [], + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of all active employees", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/employees", + "group": "Employees" + } + ], + "input": "SyncMetadata_hibob_service_user_employees", + "name": "employees", + "output": ["HibobEmployee"], + "runs": "every hour", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["HibobEmployee", "SyncMetadata_hibob_service_user_employees"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of all employees and maps them to the standardized HRIS model", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/employees/unified", + "group": "Unified HRIS API" + } + ], + "input": "SyncMetadata_hibob_service_user_unifiedemployees", + "name": "unified-employees", + "output": ["StandardEmployee"], + "runs": "every hour", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["StandardEmployee", "SyncMetadata_hibob_service_user_unifiedemployees"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_hibob_service_user_employees": { "type": "object", "additionalProperties": false }, - "HubspotServiceTicket": { + "HibobEmployee": { "type": "object", "properties": { "id": { "type": "string" }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "isArchived": { - "type": "boolean" - }, - "subject": { + "firstName": { "type": "string" }, - "content": { + "surname": { "type": "string" }, - "objectId": { - "type": "number" - }, - "ownerId": { - "type": "number" - }, - "pipeline": { - "type": "number" + "email": { + "type": "string" }, - "pipelineStage": { - "type": "number" + "displayName": { + "type": "string" }, - "ticketCategory": { - "type": ["string", "null"] - }, - "ticketPriority": { - "type": "string" - } - }, - "required": [ - "id", - "createdAt", - "updatedAt", - "isArchived", - "subject", - "content", - "objectId", - "ownerId", - "pipeline", - "pipelineStage", - "ticketCategory", - "ticketPriority" - ], - "additionalProperties": false - }, - "SyncMetadata_hubspot_servicetickets": { - "type": "object", - "additionalProperties": false - }, - "Task": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "task_type": { - "type": ["string", "null"] - }, - "title": { - "type": ["string", "null"] - }, - "priority": { - "type": ["string", "null"] - }, - "assigned_to": { - "type": ["string", "null"] - }, - "due_date": { - "type": ["string", "null"] - }, - "notes": { - "type": ["string", "null"] + "work": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "department": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "employmentType": { + "type": "string" + }, + "status": { + "type": "string" + }, + "startDate": { + "type": "string" + }, + "terminationDate": { + "type": "string" + }, + "reportsTo": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "surname": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "firstName", "surname", "email"], + "additionalProperties": false + }, + "site": { + "type": "string" + }, + "siteType": { + "type": "string" + }, + "address": { + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + } + }, + "required": ["street", "city", "state", "country", "postalCode"], + "additionalProperties": false + }, + "customFields": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false }, - "returned_associations": { + "personal": { "type": "object", "properties": { - "companies": { + "addresses": { "type": "array", "items": { "type": "object", "properties": { - "id": { + "street": { "type": "string" }, - "name": { - "type": ["string", "null"] - } - }, - "required": ["id", "name"], - "additionalProperties": false - } - }, - "contacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { + "city": { "type": "string" }, - "first_name": { - "type": ["string", "null"] + "state": { + "type": "string" }, - "last_name": { - "type": ["string", "null"] - } - }, - "required": ["id", "first_name", "last_name"], - "additionalProperties": false - } - }, - "deals": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { + "country": { "type": "string" }, - "name": { - "type": ["string", "null"] + "postalCode": { + "type": "string" + }, + "type": { + "type": "string" } }, - "required": ["id", "name"], + "required": ["street", "city", "state", "country", "postalCode", "type"], "additionalProperties": false } + }, + "workPhone": { + "type": "string" + }, + "homePhone": { + "type": "string" + }, + "mobilePhone": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "additionalProperties": false + }, + "about": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" } }, "additionalProperties": false } }, - "required": ["id", "task_type", "title", "priority", "assigned_to", "due_date", "notes"], + "required": ["id", "firstName", "surname", "email", "displayName"], "additionalProperties": false }, - "SyncMetadata_hubspot_tasks": { + "SyncMetadata_hibob_service_user_unifiedemployees": { "type": "object", "additionalProperties": false }, - "User": { + "StandardEmployee": { "type": "object", "properties": { "id": { @@ -34888,1084 +33992,1370 @@ }, "email": { "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_hubspot_users": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_hubspot_changeuserrole": { - "type": "object", - "properties": { - "id": { - "type": "string" }, - "firstName": { + "displayName": { "type": "string" }, - "lastName": { + "employeeNumber": { "type": "string" }, - "primaryTeamId": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_hubspot_changeuserrole": { - "type": "object", - "properties": { - "id": { + "title": { "type": "string" }, - "firstName": { - "type": "string" + "department": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, - "lastName": { - "type": "string" + "employmentType": { + "type": "string", + "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] }, - "primaryTeamId": { + "employmentStatus": { + "type": "string", + "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] + }, + "startDate": { "type": "string" }, - "email": { + "terminationDate": { "type": "string" }, - "sendWelcomeEmail": { - "type": "boolean" + "manager": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "firstName", "lastName", "email"], + "additionalProperties": false }, - "roleIds": { + "workLocation": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["OFFICE", "REMOTE", "HYBRID"] + }, + "primaryAddress": { + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false + } + }, + "required": ["name", "type"], + "additionalProperties": false + }, + "addresses": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "street": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["WORK", "HOME"] + } + }, + "required": ["type"], + "additionalProperties": false } }, - "secondaryTeamIds": { + "phones": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "HOME", "MOBILE"] + }, + "number": { + "type": "string" + } + }, + "required": ["type", "number"], + "additionalProperties": false } }, - "superAdmin": { - "type": "boolean" - } - }, - "required": ["id", "email", "roleIds", "secondaryTeamIds", "superAdmin"], - "additionalProperties": false - }, - "ActionInput_hubspot_createcompany": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "industry": { - "type": "string" - }, - "description": { - "type": "string" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "year_founded": { - "type": "string" - }, - "website_url": { - "type": "string" - } - }, - "additionalProperties": false - }, - "ActionOutput_hubspot_createcompany": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_date": { - "type": "string" - }, - "name": { - "type": "string" - }, - "industry": { - "type": "string" - }, - "description": { - "type": "string" - }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" + "emails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["WORK", "PERSONAL"] + }, + "address": { + "type": "string" + } + }, + "required": ["type", "address"], + "additionalProperties": false + } }, - "owner": { - "type": "string" + "providerSpecific": { + "type": "object", + "additionalProperties": false }, - "year_founded": { + "createdAt": { "type": "string" }, - "website_url": { + "updatedAt": { "type": "string" } }, - "required": ["id", "created_date"], + "required": [ + "id", + "firstName", + "lastName", + "email", + "displayName", + "department", + "employmentType", + "employmentStatus", + "startDate", + "workLocation", + "addresses", + "phones", + "emails", + "providerSpecific", + "createdAt", + "updatedAt" + ], "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "hubspot", + "actions": [ + { + "type": "action", + "description": "Fetch current user information", + "endpoint": { + "method": "GET", + "path": "/whoami", + "group": "Users" }, - "ActionInput_hubspot_createcontact": { - "type": "object", - "properties": { - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "job_title": { - "type": "string" - }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" - }, - "salutation": { - "type": "string" - }, - "mobile_phone_number": { - "type": "string" - }, - "website_url": { - "type": "string" - }, - "owner": { - "type": "string" - } - }, - "additionalProperties": false + "input": "ActionInput_hubspot_whoami", + "name": "whoami", + "output": ["ActionOutput_hubspot_whoami"], + "scopes": [], + "usedModels": ["ActionInput_hubspot_whoami", "ActionOutput_hubspot_whoami"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Fetch the properties of a specified object", + "endpoint": { + "method": "GET", + "path": "/properties", + "group": "Properties" }, - "ActionOutput_hubspot_createcontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_date": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "job_title": { - "type": "string" - }, - "last_contacted": { - "type": "string" - }, - "last_activity_date": { - "type": "string" - }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" - }, - "salutation": { - "type": "string" - }, - "mobile_phone_number": { - "type": "string" - }, - "website_url": { - "type": "string" - }, - "owner": { - "type": "string" - } - }, - "required": ["id", "created_date"], - "additionalProperties": false + "input": "ActionInput_hubspot_fetchproperties", + "name": "fetch-properties", + "output": ["ActionOutput_hubspot_fetchproperties"], + "scopes": [ + "oauth", + "media_bridge.read", + "crm.objects.marketing_events.write", + "crm.schemas.custom.read", + "crm.pipelines.orders.read", + "tickets", + "crm.objects.feedback_submissions.read", + "crm.objects.goals.read", + "crm.objects.custom.write", + "crm.objects.custom.read", + "crm.objects.marketing_events.read", + "timeline", + "e-commerce", + "automation" + ], + "usedModels": ["ActionInput_hubspot_fetchproperties", "ActionOutput_hubspot_fetchproperties"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Create a property in Hubspot", + "endpoint": { + "method": "POST", + "path": "/properties", + "group": "Properties" }, - "ActionInput_hubspot_createdeal": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "amount": { - "type": "string" - }, - "close_date": { - "type": "string" - }, - "deal_description": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "deal_stage": { - "type": "string" - }, - "deal_probability": { - "type": "string" - }, - "associations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "to": { - "type": "number" - }, - "types": { - "type": "array", - "items": { - "type": "object", - "properties": { - "association_category": { - "type": "string" - }, - "association_type_Id": { - "type": "number" - } - }, - "required": ["association_category", "association_type_Id"], - "additionalProperties": false - } - } - }, - "required": ["to", "types"], - "additionalProperties": false - } - } - }, - "additionalProperties": false + "input": "ActionInput_hubspot_createproperty", + "name": "create-property", + "output": ["ActionOutput_hubspot_createproperty"], + "scopes": [ + "oauth", + "crm.schemas.orders.write", + "crm.objects.orders.write", + "crm.schemas.contacts.write", + "crm.schemas.carts.write", + "crm.schemas.deals.write", + "crm.objects.users.write", + "crm.schemas.companies.write", + "crm.objects.carts.write" + ], + "usedModels": ["ActionInput_hubspot_createproperty", "ActionOutput_hubspot_createproperty"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates a single deal in Hubspot", + "endpoint": { + "method": "POST", + "path": "/deals", + "group": "Deals" }, - "ActionOutput_hubspot_createdeal": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "amount": { - "type": "string" - }, - "close_date": { - "type": "string" - }, - "deal_description": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "deal_stage": { - "type": "string" - }, - "deal_probability": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_createdeal", + "name": "create-deal", + "output": ["ActionOutput_hubspot_createdeal"], + "scopes": ["oauth", "crm.objects.deals.write", "oauth"], + "usedModels": ["ActionInput_hubspot_createdeal", "ActionOutput_hubspot_createdeal"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Updates a single deal in Hubspot", + "endpoint": { + "method": "PATCH", + "path": "/deal", + "group": "Deals" }, - "ActionInput_hubspot_createnote": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "time_stamp": { - "type": "string" - }, - "created_date": { - "type": "string" - }, - "body": { - "type": "string" - }, - "attachment_ids": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "associations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "to": { - "type": "number" - }, - "types": { - "type": "array", - "items": { - "type": "object", - "properties": { - "association_category": { - "type": "string" - }, - "association_type_Id": { - "type": "number" - } - }, - "required": ["association_category", "association_type_Id"], - "additionalProperties": false - } - } - }, - "required": ["to", "types"], - "additionalProperties": false - } - } - }, - "required": ["time_stamp"], - "additionalProperties": false + "input": "ActionInput_hubspot_updatedeal", + "name": "update-deal", + "output": ["ActionOutput_hubspot_updatedeal"], + "scopes": ["crm.objects.deals.write", "oauth"], + "usedModels": ["ActionInput_hubspot_updatedeal", "ActionOutput_hubspot_updatedeal"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Deletes a deal in Hubspot", + "endpoint": { + "method": "DELETE", + "path": "/deal", + "group": "Deals" }, - "ActionOutput_hubspot_createnote": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "time_stamp": { - "type": "string" - }, - "created_date": { - "type": "string" - }, - "body": { - "type": "string" - }, - "attachment_ids": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "associations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "to": { - "type": "number" - }, - "types": { - "type": "array", - "items": { - "type": "object", - "properties": { - "association_category": { - "type": "string" - }, - "association_type_Id": { - "type": "number" - } - }, - "required": ["association_category", "association_type_Id"], - "additionalProperties": false - } - } - }, - "required": ["to", "types"], - "additionalProperties": false - } - } - }, - "required": ["time_stamp"], - "additionalProperties": false + "input": "ActionInput_hubspot_deletedeal", + "name": "delete-deal", + "output": ["ActionOutput_hubspot_deletedeal"], + "scopes": ["crm.objects.deals.write", "oauth"], + "usedModels": ["ActionInput_hubspot_deletedeal", "ActionOutput_hubspot_deletedeal"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Fetch all pipelines for an object type. Defaults to deals", + "endpoint": { + "method": "GET", + "path": "/pipelines", + "group": "Pipelines" }, - "ActionInput_hubspot_createproperty": { - "type": "object", - "properties": { - "objectType": { - "type": "string" - }, - "data": { - "type": "object", - "properties": { - "hidden": { - "type": "boolean" - }, - "displayOrder": { - "type": "number" - }, - "description": { - "type": "string" - }, - "label": { - "type": "string" - }, - "type": { - "type": "string" - }, - "formField": { - "type": "boolean" - }, - "groupName": { - "type": "string" - }, - "referencedObjectType": { - "type": "string" - }, - "name": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hidden": { - "type": "boolean" - }, - "displayOrder": { - "type": "number" - }, - "description": { - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["hidden", "label", "value"], - "additionalProperties": false - } - }, - "calculationFormula": { - "type": "string" - }, - "hasUniqueValue": { - "type": "boolean" - }, - "fieldType": { - "type": "string" - }, - "externalOptions": { - "type": "boolean" - } - }, - "required": ["label", "type", "groupName", "name", "options", "fieldType"], - "additionalProperties": false - } - }, - "required": ["objectType", "data"], - "additionalProperties": false + "input": "ActionInput_hubspot_fetchpipelines", + "name": "fetch-pipelines", + "output": ["ActionOutput_hubspot_fetchpipelines"], + "scopes": ["oauth", "crm.objects.deals.read"], + "usedModels": ["ActionInput_hubspot_fetchpipelines", "ActionOutput_hubspot_fetchpipelines"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Creates a single user in Hubspot", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" }, - "ActionOutput_hubspot_createproperty": { - "type": "object", - "properties": { - "createdUserId": { - "type": "string" - }, - "hidden": { - "type": "boolean" - }, - "modificationMetadata": { - "type": "object", - "properties": { - "readOnlyOptions": { - "type": "boolean" - }, - "readOnlyValue": { - "type": "boolean" - }, - "readOnlyDefinition": { - "type": "boolean" - }, - "archivable": { - "type": "boolean" - } - }, - "required": ["readOnlyValue", "readOnlyDefinition", "archivable"], - "additionalProperties": false - }, - "displayOrder": { - "type": "number" - }, - "description": { - "type": "string" - }, - "showCurrencySymbol": { - "type": "boolean" - }, - "label": { - "type": "string" - }, - "type": { - "type": "string" - }, - "hubspotDefined": { - "type": "boolean" - }, - "formField": { - "type": "boolean" - }, - "dataSensitivity": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "archivedAt": { - "type": "string" - }, - "archived": { - "type": "boolean" - }, - "groupName": { - "type": "string" - }, - "referencedObjectType": { - "type": "string" - }, - "name": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hidden": { - "type": "boolean" - }, - "displayOrder": { - "type": "number" - }, - "description": { - "type": "string" - }, - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["hidden", "displayOrder", "description", "label", "value"], - "additionalProperties": false - } - }, - "calculationFormula": { - "type": "string" - }, - "hasUniqueValue": { - "type": "boolean" - }, - "fieldType": { - "type": "string" - }, - "updatedUserId": { - "type": "string" - }, - "calculated": { - "type": "boolean" - }, - "externalOptions": { - "type": "boolean" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "createdUserId", - "hidden", - "modificationMetadata", - "displayOrder", - "description", - "label", - "type", - "formField", - "createdAt", - "archived", - "groupName", - "name", - "options", - "hasUniqueValue", - "fieldType", - "updatedUserId", - "calculated", - "externalOptions", - "updatedAt" - ], - "additionalProperties": false - }, - "ActionInput_hubspot_createtask": { - "type": "object", - "properties": { - "task_type": { - "type": "string" - }, - "title": { - "type": "string" - }, - "priority": { - "type": "string" - }, - "assigned_to": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "associations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "to": { - "type": "number" - }, - "types": { - "type": "array", - "items": { - "type": "object", - "properties": { - "association_category": { - "type": "string" - }, - "association_type_Id": { - "type": "number" - } - }, - "required": ["association_category", "association_type_Id"], - "additionalProperties": false - } - } - }, - "required": ["to", "types"], - "additionalProperties": false - } - } - }, - "additionalProperties": false + "input": "ActionInput_hubspot_createuser", + "name": "create-user", + "output": ["ActionOutput_hubspot_createuser"], + "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular)"], + "usedModels": ["ActionInput_hubspot_createuser", "ActionOutput_hubspot_createuser"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a user in Hubspot", + "endpoint": { + "method": "DELETE", + "path": "/users", + "group": "Users" }, - "ActionOutput_hubspot_createtask": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "task_type": { - "type": "string" - }, - "title": { - "type": "string" - }, - "priority": { - "type": "string" - }, - "assigned_to": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "associations": { - "type": "array", - "items": { - "type": "object", - "properties": { - "to": { - "type": "number" - }, - "types": { - "type": "array", - "items": { - "type": "object", - "properties": { - "association_category": { - "type": "string" - }, - "association_type_Id": { - "type": "number" - } - }, - "required": ["association_category", "association_type_Id"], - "additionalProperties": false - } - } - }, - "required": ["to", "types"], - "additionalProperties": false - } - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_deleteuser", + "name": "delete-user", + "output": ["ActionOutput_hubspot_deleteuser"], + "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular)"], + "usedModels": ["ActionInput_hubspot_deleteuser", "ActionOutput_hubspot_deleteuser"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Fetch the roles on an account. Requires an enterprise account.", + "endpoint": { + "method": "GET", + "path": "/roles", + "group": "Roles" }, - "ActionInput_hubspot_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "primaryTeamId": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sendWelcomeEmail": { - "type": "boolean" - }, - "roleId": { - "type": "string" - }, - "secondaryTeamIds": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["email", "secondaryTeamIds"], - "additionalProperties": false + "input": "ActionInput_hubspot_fetchroles", + "name": "fetch-roles", + "output": ["ActionOutput_hubspot_fetchroles"], + "scopes": ["oauth", "settings.users.read (standard scope)", "crm.objects.users.read (granular scope)"], + "usedModels": ["ActionInput_hubspot_fetchroles", "ActionOutput_hubspot_fetchroles"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Change a user role. Requires an enterprise account.", + "endpoint": { + "method": "PUT", + "path": "/roles", + "group": "Roles" }, - "ActionOutput_hubspot_createuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "primaryTeamId": { - "type": "string" - }, - "email": { - "type": "string" - }, - "sendWelcomeEmail": { - "type": "boolean" - }, - "roleIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "secondaryTeamIds": { - "type": "array", - "items": { - "type": "string" - } - }, - "superAdmin": { - "type": "boolean" - } - }, - "required": ["id", "firstName", "lastName", "email", "sendWelcomeEmail", "roleIds", "secondaryTeamIds", "superAdmin"], - "additionalProperties": false + "input": "ActionInput_hubspot_changeuserrole", + "name": "change-user-role", + "output": ["ActionOutput_hubspot_changeuserrole"], + "scopes": ["oauth", "settings.users.write (standard scope)", "crm.objects.users.write (granular scope)"], + "usedModels": ["ActionInput_hubspot_changeuserrole", "ActionOutput_hubspot_changeuserrole"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Fetch the account information from Hubspot", + "endpoint": { + "method": "GET", + "path": "/account-information" }, - "ActionInput_hubspot_deletecompany": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_fetchaccountinformation", + "name": "fetch-account-information", + "output": ["ActionOutput_hubspot_fetchaccountinformation"], + "scopes": ["oauth"], + "usedModels": ["ActionInput_hubspot_fetchaccountinformation", "ActionOutput_hubspot_fetchaccountinformation"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Fetch custom objects in Hubspot. Requires Hubspot enterprise", + "endpoint": { + "method": "GET", + "path": "/custom-objects" }, - "ActionOutput_hubspot_deletecompany": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false + "input": "ActionInput_hubspot_fetchcustomobjects", + "name": "fetch-custom-objects", + "output": ["ActionOutput_hubspot_fetchcustomobjects"], + "scopes": ["oauth", "crm.schemas.custom.read"], + "usedModels": ["ActionInput_hubspot_fetchcustomobjects", "ActionOutput_hubspot_fetchcustomobjects"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Create a single contact in Hubspot", + "endpoint": { + "method": "POST", + "path": "/contact", + "group": "Contacts" }, - "ActionInput_hubspot_deletecontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_createcontact", + "name": "create-contact", + "output": ["ActionOutput_hubspot_createcontact"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_createcontact", "ActionOutput_hubspot_createcontact"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Updates a single contact in Hubspot", + "endpoint": { + "method": "PATCH", + "path": "/contact", + "group": "Contacts" }, - "ActionOutput_hubspot_deletecontact": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false + "input": "ActionInput_hubspot_updatecontact", + "name": "update-contact", + "output": ["ActionOutput_hubspot_updatecontact"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_updatecontact", "ActionOutput_hubspot_updatecontact"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a contact in Hubspot", + "endpoint": { + "method": "DELETE", + "path": "/contact", + "group": "Contacts" }, - "ActionInput_hubspot_deletedeal": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_deletecontact", + "name": "delete-contact", + "output": ["ActionOutput_hubspot_deletecontact"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_deletecontact", "ActionOutput_hubspot_deletecontact"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Create a single company in Hubspot", + "endpoint": { + "method": "POST", + "path": "/companies", + "group": "Companies" }, - "ActionOutput_hubspot_deletedeal": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false + "input": "ActionInput_hubspot_createcompany", + "name": "create-company", + "output": ["ActionOutput_hubspot_createcompany"], + "scopes": ["crm.objects.companies.write", "oauth"], + "usedModels": ["ActionInput_hubspot_createcompany", "ActionOutput_hubspot_createcompany"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Update a single company in Hubspot", + "endpoint": { + "method": "PATCH", + "path": "/companies", + "group": "Companies" }, - "ActionInput_hubspot_deletetask": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_updatecompany", + "name": "update-company", + "output": ["ActionOutput_hubspot_updatecompany"], + "scopes": ["crm.objects.companies.write", "oauth"], + "usedModels": ["ActionInput_hubspot_updatecompany", "ActionOutput_hubspot_updatecompany"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a company in Hubspot", + "endpoint": { + "method": "DELETE", + "path": "/companies", + "group": "Companies" }, - "ActionOutput_hubspot_deletetask": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false + "input": "ActionInput_hubspot_deletecompany", + "name": "delete-company", + "output": ["ActionOutput_hubspot_deletecompany"], + "scopes": ["crm.objects.companies.write", "oauth"], + "usedModels": ["ActionInput_hubspot_deletecompany", "ActionOutput_hubspot_deletecompany"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates a single task in Hubspot", + "endpoint": { + "method": "POST", + "path": "/tasks", + "group": "Tasks" }, - "ActionInput_hubspot_deleteuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "input": "ActionInput_hubspot_createtask", + "name": "create-task", + "output": ["ActionOutput_hubspot_createtask"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_createtask", "ActionOutput_hubspot_createtask"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Updates a single company in Hubspot", + "endpoint": { + "method": "PATCH", + "path": "/tasks", + "group": "Tasks" }, - "ActionOutput_hubspot_deleteuser": { + "input": "ActionInput_hubspot_updatetask", + "name": "update-task", + "output": ["ActionOutput_hubspot_updatetask"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_updatetask", "ActionOutput_hubspot_updatetask"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Deletes a task in Hubspot", + "endpoint": { + "method": "DELETE", + "path": "/tasks", + "group": "Tasks" + }, + "input": "ActionInput_hubspot_deletetask", + "name": "delete-task", + "output": ["ActionOutput_hubspot_deletetask"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_deletetask", "ActionOutput_hubspot_deletetask"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates a single note in Hubspot", + "endpoint": { + "method": "POST", + "path": "/note" + }, + "input": "ActionInput_hubspot_createnote", + "name": "create-note", + "output": ["ActionOutput_hubspot_createnote"], + "scopes": ["crm.objects.contacts.write", "oauth"], + "usedModels": ["ActionInput_hubspot_createnote", "ActionOutput_hubspot_createnote"], + "version": "1.0.0" + } + ], + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of service tickets from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/service-tickets" + } + ], + "input": "SyncMetadata_hubspot_servicetickets", + "name": "service-tickets", + "output": ["HubspotServiceTicket"], + "runs": "every half hour", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["HubspotServiceTicket", "SyncMetadata_hubspot_servicetickets"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of contacts from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/contacts", + "group": "Contacts" + } + ], + "input": "SyncMetadata_hubspot_contacts", + "name": "contacts", + "output": ["Contact"], + "runs": "every day", + "scopes": ["crm.objects.contacts.read", "oauth"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Contact", "SyncMetadata_hubspot_contacts"], + "version": "3.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of companies from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/companies", + "group": "Companies" + } + ], + "input": "SyncMetadata_hubspot_companies", + "name": "companies", + "output": ["Company"], + "runs": "every day", + "scopes": ["crm.objects.companies.read", "oauth"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Company", "SyncMetadata_hubspot_companies"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of deals from Hubspot with their associated companies and contacts", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/deals", + "group": "Deals" + } + ], + "input": "SyncMetadata_hubspot_deals", + "name": "deals", + "output": ["Deal"], + "runs": "every day", + "scopes": ["crm.objects.deals.read", "oauth", "e-commerce (standard scope)", "crm.objects.line_items.read (granular scope)"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Deal", "SyncMetadata_hubspot_deals"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of products from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/products", + "group": "Products" + } + ], + "input": "SyncMetadata_hubspot_products", + "name": "products", + "output": ["Product"], + "runs": "every day", + "scopes": ["e-commerce"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Product", "SyncMetadata_hubspot_products"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of owners from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/owners", + "group": "Owners" + } + ], + "input": "SyncMetadata_hubspot_owners", + "name": "owners", + "output": ["HubspotOwner"], + "runs": "every day", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["HubspotOwner", "SyncMetadata_hubspot_owners"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of users from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users", + "group": "Users" + } + ], + "input": "SyncMetadata_hubspot_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["oauth", "settings.users.read (standard scope)", "crm.objects.users.read (granular scope)"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_hubspot_users"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of knowledge base from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/knowledge-base" + } + ], + "input": "SyncMetadata_hubspot_knowledgebase", + "name": "knowledge-base", + "output": ["HubspotKnowledgeBase"], + "runs": "every day", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["HubspotKnowledgeBase", "SyncMetadata_hubspot_knowledgebase"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of tasks from Hubspot", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/tasks", + "group": "Tasks" + } + ], + "input": "SyncMetadata_hubspot_tasks", + "name": "tasks", + "output": ["Task"], + "runs": "every day", + "scopes": ["crm.objects.contacts.read", "oauth"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Task", "SyncMetadata_hubspot_tasks"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetch hubspot deals", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/currency-codes" + } + ], + "input": "SyncMetadata_hubspot_currencycodes", + "name": "currency-codes", + "output": ["CurrencyCode"], + "runs": "every day", + "scopes": ["oauth", "settings.currencies.read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["CurrencyCode", "SyncMetadata_hubspot_currencycodes"], + "version": "2.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_hubspot_servicetickets": { "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], "additionalProperties": false }, - "ActionInput_hubspot_fetchaccountinformation": { - "type": "null" - }, - "ActionOutput_hubspot_fetchaccountinformation": { + "HubspotServiceTicket": { "type": "object", "properties": { "id": { "type": "string" }, - "type": { - "type": "string" + "createdAt": { + "type": "string", + "format": "date-time" }, - "timeZone": { + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "isArchived": { + "type": "boolean" + }, + "subject": { "type": "string" }, - "companyCurrency": { + "content": { "type": "string" }, - "additionalCurrencies": { - "type": "array", - "items": { - "type": "string" - } + "objectId": { + "type": "number" }, - "utcOffset": { - "type": "string" + "ownerId": { + "type": "number" }, - "utcOffsetMilliseconds": { + "pipeline": { "type": "number" }, - "uiDomain": { - "type": "string" + "pipelineStage": { + "type": "number" }, - "dataHostingLocation": { + "ticketCategory": { + "type": ["string", "null"] + }, + "ticketPriority": { "type": "string" } }, "required": [ "id", - "type", - "timeZone", - "companyCurrency", - "additionalCurrencies", - "utcOffset", - "utcOffsetMilliseconds", - "uiDomain", - "dataHostingLocation" + "createdAt", + "updatedAt", + "isArchived", + "subject", + "content", + "objectId", + "ownerId", + "pipeline", + "pipelineStage", + "ticketCategory", + "ticketPriority" ], "additionalProperties": false }, - "ActionInput_hubspot_fetchcustomobjects": { - "type": "null" + "SyncMetadata_hubspot_contacts": { + "type": "object", + "additionalProperties": false }, - "ActionOutput_hubspot_fetchcustomobjects": { + "Contact": { "type": "object", "properties": { "id": { "type": "string" + }, + "created_date": { + "type": "string" + }, + "first_name": { + "type": ["string", "null"] + }, + "last_name": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "job_title": { + "type": ["string", "null"] + }, + "last_contacted": { + "type": ["string", "null"] + }, + "last_activity_date": { + "type": ["string", "null"] + }, + "lead_status": { + "type": ["string", "null"] + }, + "lifecycle_stage": { + "type": ["string", "null"] + }, + "salutation": { + "type": ["string", "null"] + }, + "mobile_phone_number": { + "type": ["string", "null"] + }, + "website_url": { + "type": ["string", "null"] + }, + "owner": { + "type": ["string", "null"] } }, - "required": ["id"], + "required": [ + "id", + "created_date", + "first_name", + "last_name", + "email", + "job_title", + "last_contacted", + "last_activity_date", + "lead_status", + "lifecycle_stage", + "salutation", + "mobile_phone_number", + "website_url", + "owner" + ], "additionalProperties": false }, - "ActionInput_hubspot_fetchpipelines": { + "SyncMetadata_hubspot_companies": { + "type": "object", + "additionalProperties": false + }, + "Company": { "type": "object", "properties": { - "objectType": { + "id": { "type": "string" + }, + "created_date": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + }, + "industry": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "city": { + "type": ["string", "null"] + }, + "lead_status": { + "type": ["string", "null"] + }, + "lifecycle_stage": { + "type": ["string", "null"] + }, + "owner": { + "type": ["string", "null"] + }, + "year_founded": { + "type": ["string", "null"] + }, + "website_url": { + "type": ["string", "null"] } }, + "required": [ + "id", + "created_date", + "name", + "industry", + "description", + "country", + "city", + "lead_status", + "lifecycle_stage", + "owner", + "year_founded", + "website_url" + ], "additionalProperties": false }, - "ActionOutput_hubspot_fetchpipelines": { + "SyncMetadata_hubspot_deals": { + "type": "object", + "additionalProperties": false + }, + "Deal": { "type": "object", "properties": { - "pipelines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "updatedAt": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "label": { - "type": "string" - }, - "displayOrder": { - "type": "number" - }, - "id": { - "type": "string" - }, - "archived": { - "type": "boolean" - }, - "stages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "updatedAt": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "label": { - "type": "string" - }, - "displayOrder": { - "type": "number" - }, - "metadata": { - "type": "object", - "properties": { - "isClosed": { - "type": "boolean" - }, - "probability": { - "type": "string" - } - }, - "required": ["isClosed", "probability"], - "additionalProperties": false - }, - "id": { - "type": "string" - }, - "archived": { - "type": "boolean" - }, - "writePermissions": { - "type": "string" - } + "id": { + "type": "string" + }, + "name": { + "type": ["string", "null"] + }, + "amount": { + "type": ["string", "null"] + }, + "close_date": { + "type": ["string", "null"] + }, + "deal_description": { + "type": ["string", "null"] + }, + "owner": { + "type": ["string", "null"] + }, + "deal_stage": { + "type": ["string", "null"] + }, + "deal_probability": { + "type": ["string", "null"] + }, + "returned_associations": { + "type": "object", + "properties": { + "companies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": ["updatedAt", "createdAt", "label", "displayOrder", "metadata", "id", "archived", "writePermissions"], - "additionalProperties": false - } + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "name"], + "additionalProperties": false } }, - "required": ["updatedAt", "createdAt", "label", "displayOrder", "id", "archived", "stages"], - "additionalProperties": false + "contacts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": ["string", "null"] + }, + "last_name": { + "type": ["string", "null"] + } + }, + "required": ["id", "first_name", "last_name"], + "additionalProperties": false + } + }, + "deals": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + } + }, + "additionalProperties": false + } + }, + "required": ["id", "name", "amount", "close_date", "deal_description", "owner", "deal_stage", "deal_probability"], + "additionalProperties": false + }, + "SyncMetadata_hubspot_products": { + "type": "object", + "additionalProperties": false + }, + "Product": { + "type": "object", + "properties": { + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "id": { + "type": "string" + }, + "amount": { + "type": ["number", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "discount": { + "type": ["number", "null"] + }, + "sku": { + "type": ["string", "null"] + }, + "url": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "price": { + "type": "string" + }, + "quantity": { + "type": ["number", "null"] + }, + "recurringBillingFrequency": { + "type": ["number", "null"] + }, + "tax": { + "type": ["null", "number"] + } + }, + "required": [ + "updatedAt", + "createdAt", + "id", + "amount", + "description", + "discount", + "sku", + "url", + "name", + "price", + "quantity", + "recurringBillingFrequency", + "tax" + ], + "additionalProperties": false + }, + "SyncMetadata_hubspot_owners": { + "type": "object", + "additionalProperties": false + }, + "HubspotOwner": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "userId": { + "type": "number" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "archived": { + "type": "boolean" + } + }, + "required": ["id", "email", "firstName", "lastName", "userId", "createdAt", "updatedAt", "archived"], + "additionalProperties": false + }, + "SyncMetadata_hubspot_users": { + "type": "object", + "additionalProperties": false + }, + "User": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "roleIds": { + "type": "array", + "items": { + "type": "string" } + }, + "primaryTeamId": { + "type": "string" + }, + "superAdmin": { + "type": "boolean" } }, - "required": ["pipelines"], + "required": ["id", "email", "firstName", "lastName", "roleIds", "superAdmin"], + "additionalProperties": false + }, + "SyncMetadata_hubspot_knowledgebase": { + "type": "object", + "additionalProperties": false + }, + "HubspotKnowledgeBase": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "category": { + "type": "string" + }, + "content": { + "type": "string" + }, + "publishDate": { + "type": "number" + } + }, + "required": ["id", "title", "description", "category", "content", "publishDate"], + "additionalProperties": false + }, + "SyncMetadata_hubspot_tasks": { + "type": "object", + "additionalProperties": false + }, + "Task": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "task_type": { + "type": ["string", "null"] + }, + "title": { + "type": ["string", "null"] + }, + "priority": { + "type": ["string", "null"] + }, + "assigned_to": { + "type": ["string", "null"] + }, + "due_date": { + "type": ["string", "null"] + }, + "notes": { + "type": ["string", "null"] + }, + "returned_associations": { + "type": "object", + "properties": { + "companies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + }, + "contacts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "first_name": { + "type": ["string", "null"] + }, + "last_name": { + "type": ["string", "null"] + } + }, + "required": ["id", "first_name", "last_name"], + "additionalProperties": false + } + }, + "deals": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": ["string", "null"] + } + }, + "required": ["id", "name"], + "additionalProperties": false + } + } + }, + "additionalProperties": false + } + }, + "required": ["id", "task_type", "title", "priority", "assigned_to", "due_date", "notes"], + "additionalProperties": false + }, + "SyncMetadata_hubspot_currencycodes": { + "type": "object", + "additionalProperties": false + }, + "CurrencyCode": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": ["id", "code", "description"], + "additionalProperties": false + }, + "ActionInput_hubspot_whoami": { + "type": "null" + }, + "ActionOutput_hubspot_whoami": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "email"], "additionalProperties": false }, "ActionInput_hubspot_fetchproperties": { @@ -36083,213 +35473,230 @@ "required": ["results"], "additionalProperties": false }, - "ActionInput_hubspot_fetchroles": { - "type": "null" - }, - "ActionOutput_hubspot_fetchroles": { + "ActionInput_hubspot_createproperty": { "type": "object", "properties": { - "results": { - "type": "array", - "items": { - "type": "object", - "properties": { - "requiresBillingWrite": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "id": { - "type": "string" + "objectType": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + }, + "displayOrder": { + "type": "number" + }, + "description": { + "type": "string" + }, + "label": { + "type": "string" + }, + "type": { + "type": "string" + }, + "formField": { + "type": "boolean" + }, + "groupName": { + "type": "string" + }, + "referencedObjectType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + }, + "displayOrder": { + "type": "number" + }, + "description": { + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["hidden", "label", "value"], + "additionalProperties": false } }, - "required": ["requiresBillingWrite", "name", "id"], - "additionalProperties": false - } + "calculationFormula": { + "type": "string" + }, + "hasUniqueValue": { + "type": "boolean" + }, + "fieldType": { + "type": "string" + }, + "externalOptions": { + "type": "boolean" + } + }, + "required": ["label", "type", "groupName", "name", "options", "fieldType"], + "additionalProperties": false } }, - "required": ["results"], + "required": ["objectType", "data"], "additionalProperties": false }, - "ActionInput_hubspot_updatecompany": { + "ActionOutput_hubspot_createproperty": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "industry": { - "type": "string" - }, - "description": { - "type": "string" - }, - "country": { + "createdUserId": { "type": "string" }, - "city": { - "type": "string" + "hidden": { + "type": "boolean" }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "year_founded": { - "type": "string" - }, - "website_url": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_hubspot_updatecompany": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created_date": { - "type": "string" - }, - "name": { - "type": "string" + "modificationMetadata": { + "type": "object", + "properties": { + "readOnlyOptions": { + "type": "boolean" + }, + "readOnlyValue": { + "type": "boolean" + }, + "readOnlyDefinition": { + "type": "boolean" + }, + "archivable": { + "type": "boolean" + } + }, + "required": ["readOnlyValue", "readOnlyDefinition", "archivable"], + "additionalProperties": false }, - "industry": { - "type": "string" + "displayOrder": { + "type": "number" }, "description": { "type": "string" }, - "country": { - "type": "string" - }, - "city": { - "type": "string" - }, - "lead_status": { - "type": "string" - }, - "lifecycle_stage": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "year_founded": { - "type": "string" - }, - "website_url": { - "type": "string" - } - }, - "required": ["id", "created_date"], - "additionalProperties": false - }, - "ActionInput_hubspot_updatecontact": { - "type": "object", - "properties": { - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "job_title": { - "type": "string" - }, - "lead_status": { - "type": "string" + "showCurrencySymbol": { + "type": "boolean" }, - "lifecycle_stage": { + "label": { "type": "string" }, - "salutation": { + "type": { "type": "string" }, - "mobile_phone_number": { - "type": "string" + "hubspotDefined": { + "type": "boolean" }, - "website_url": { - "type": "string" + "formField": { + "type": "boolean" }, - "owner": { + "dataSensitivity": { "type": "string" }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_hubspot_updatecontact": { - "type": "object", - "properties": { - "id": { + "createdAt": { "type": "string" }, - "created_date": { + "archivedAt": { "type": "string" }, - "first_name": { - "type": "string" + "archived": { + "type": "boolean" }, - "last_name": { + "groupName": { "type": "string" }, - "email": { + "referencedObjectType": { "type": "string" }, - "job_title": { + "name": { "type": "string" }, - "last_contacted": { - "type": "string" + "options": { + "type": "array", + "items": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + }, + "displayOrder": { + "type": "number" + }, + "description": { + "type": "string" + }, + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["hidden", "displayOrder", "description", "label", "value"], + "additionalProperties": false + } }, - "last_activity_date": { + "calculationFormula": { "type": "string" }, - "lead_status": { - "type": "string" + "hasUniqueValue": { + "type": "boolean" }, - "lifecycle_stage": { + "fieldType": { "type": "string" }, - "salutation": { + "updatedUserId": { "type": "string" }, - "mobile_phone_number": { - "type": "string" + "calculated": { + "type": "boolean" }, - "website_url": { - "type": "string" + "externalOptions": { + "type": "boolean" }, - "owner": { + "updatedAt": { "type": "string" } }, - "required": ["id", "created_date"], + "required": [ + "createdUserId", + "hidden", + "modificationMetadata", + "displayOrder", + "description", + "label", + "type", + "formField", + "createdAt", + "archived", + "groupName", + "name", + "options", + "hasUniqueValue", + "fieldType", + "updatedUserId", + "calculated", + "externalOptions", + "updatedAt" + ], "additionalProperties": false }, - "ActionInput_hubspot_updatedeal": { + "ActionInput_hubspot_createdeal": { "type": "object", "properties": { - "id": { - "type": "string" - }, "name": { "type": "string" }, @@ -36341,10 +35748,9 @@ } } }, - "required": ["id"], "additionalProperties": false }, - "ActionOutput_hubspot_updatedeal": { + "ActionOutput_hubspot_createdeal": { "type": "object", "properties": { "id": { @@ -36375,28 +35781,31 @@ "required": ["id"], "additionalProperties": false }, - "ActionInput_hubspot_updatetask": { + "ActionInput_hubspot_updatedeal": { "type": "object", "properties": { "id": { "type": "string" }, - "task_type": { + "name": { "type": "string" }, - "title": { + "amount": { "type": "string" }, - "priority": { + "close_date": { "type": "string" }, - "assigned_to": { + "deal_description": { "type": "string" }, - "due_date": { + "owner": { "type": "string" }, - "notes": { + "deal_stage": { + "type": "string" + }, + "deal_probability": { "type": "string" }, "associations": { @@ -36432,559 +35841,3505 @@ "required": ["id"], "additionalProperties": false }, - "ActionOutput_hubspot_updatetask": { + "ActionOutput_hubspot_updatedeal": { "type": "object", "properties": { "id": { "type": "string" }, - "task_type": { + "name": { "type": "string" }, - "title": { + "amount": { "type": "string" }, - "priority": { + "close_date": { "type": "string" }, - "assigned_to": { + "deal_description": { "type": "string" }, - "due_date": { + "owner": { "type": "string" }, - "notes": { + "deal_stage": { "type": "string" }, - "associations": { + "deal_probability": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_hubspot_deletedeal": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_deletedeal": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_hubspot_fetchpipelines": { + "type": "object", + "properties": { + "objectType": { + "type": "string" + } + }, + "additionalProperties": false + }, + "ActionOutput_hubspot_fetchpipelines": { + "type": "object", + "properties": { + "pipelines": { "type": "array", "items": { "type": "object", "properties": { - "to": { + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "label": { + "type": "string" + }, + "displayOrder": { "type": "number" }, - "types": { + "id": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "stages": { "type": "array", "items": { "type": "object", "properties": { - "association_category": { + "updatedAt": { "type": "string" }, - "association_type_Id": { + "createdAt": { + "type": "string" + }, + "label": { + "type": "string" + }, + "displayOrder": { "type": "number" + }, + "metadata": { + "type": "object", + "properties": { + "isClosed": { + "type": "boolean" + }, + "probability": { + "type": "string" + } + }, + "required": ["isClosed", "probability"], + "additionalProperties": false + }, + "id": { + "type": "string" + }, + "archived": { + "type": "boolean" + }, + "writePermissions": { + "type": "string" } }, - "required": ["association_category", "association_type_Id"], + "required": ["updatedAt", "createdAt", "label", "displayOrder", "metadata", "id", "archived", "writePermissions"], "additionalProperties": false } } }, - "required": ["to", "types"], + "required": ["updatedAt", "createdAt", "label", "displayOrder", "id", "archived", "stages"], "additionalProperties": false } } }, - "required": ["id"], + "required": ["pipelines"], "additionalProperties": false }, - "ActionInput_hubspot_whoami": { - "type": "null" - }, - "ActionOutput_hubspot_whoami": { + "ActionInput_hubspot_createuser": { "type": "object", "properties": { - "id": { - "type": "number" + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "primaryTeamId": { + "type": "string" }, "email": { "type": "string" + }, + "sendWelcomeEmail": { + "type": "boolean" + }, + "roleId": { + "type": "string" + }, + "secondaryTeamIds": { + "type": "array", + "items": { + "type": "string" + } } }, - "required": ["id", "email"], + "required": ["email", "secondaryTeamIds"], "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "instantly", - "actions": [ - { - "type": "action", - "description": "Action to set a campaign name", - "endpoint": { - "method": "POST", - "path": "/instantly/set-campaign-name" }, - "input": "ActionInput_instantly_setcampaignname", - "name": "set-campaign-name", - "output": ["ActionOutput_instantly_setcampaignname"], - "scopes": [], - "usedModels": ["ActionInput_instantly_setcampaignname", "ActionOutput_instantly_setcampaignname"], - "version": "1.0.0" - } - ], - "syncs": [], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "ActionInput_instantly_setcampaignname": { + "ActionOutput_hubspot_createuser": { "type": "object", "properties": { - "campaign_id": { + "id": { "type": "string" }, - "name": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "primaryTeamId": { + "type": "string" + }, + "email": { "type": "string" + }, + "sendWelcomeEmail": { + "type": "boolean" + }, + "roleIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "secondaryTeamIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "superAdmin": { + "type": "boolean" } }, - "required": ["campaign_id", "name"], + "required": ["id", "firstName", "lastName", "email", "sendWelcomeEmail", "roleIds", "secondaryTeamIds", "superAdmin"], "additionalProperties": false }, - "ActionOutput_instantly_setcampaignname": { + "ActionInput_hubspot_deleteuser": { "type": "object", "properties": { - "status": { + "id": { "type": "string" } }, - "required": ["status"], + "required": ["id"], "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "intercom", - "actions": [ - { - "type": "action", - "description": "Creates a contact in Intercom", - "endpoint": { - "method": "POST", - "path": "/contact" - }, - "input": "ActionInput_intercom_createcontact", - "name": "create-contact", - "output": ["ActionOutput_intercom_createcontact"], - "scopes": [], - "usedModels": ["ActionInput_intercom_createcontact", "ActionOutput_intercom_createcontact"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Deletes a contact in Intercom", - "endpoint": { - "method": "DELETE", - "path": "/contact" }, - "input": "ActionInput_intercom_deletecontact", - "name": "delete-contact", - "output": ["ActionOutput_intercom_deletecontact"], - "scopes": [], - "usedModels": ["ActionInput_intercom_deletecontact", "ActionOutput_intercom_deletecontact"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Fetch a single article from Intercom", - "endpoint": { - "method": "GET", - "path": "/single-article" + "ActionOutput_hubspot_deleteuser": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false }, - "input": "ActionInput_intercom_fetcharticle", - "name": "fetch-article", - "output": ["ActionOutput_intercom_fetcharticle"], - "scopes": [], - "usedModels": ["ActionInput_intercom_fetcharticle", "ActionOutput_intercom_fetcharticle"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Fetch current user information", - "endpoint": { - "method": "GET", - "path": "/whoami", - "group": "Users" + "ActionInput_hubspot_fetchroles": { + "type": "null" }, - "input": "ActionInput_intercom_whoami", - "name": "whoami", - "output": ["ActionOutput_intercom_whoami"], - "scopes": ["Read admins"], - "usedModels": ["ActionInput_intercom_whoami", "ActionOutput_intercom_whoami"], - "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of articles from Intercom", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/articles" - } - ], - "input": "SyncMetadata_intercom_articles", - "name": "articles", - "output": ["Article"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Article", "SyncMetadata_intercom_articles"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of contacts from Intercom", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/contacts" - } - ], - "input": "SyncMetadata_intercom_contacts", - "name": "contacts", - "output": ["Contact"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Contact", "SyncMetadata_intercom_contacts"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of conversations from Intercom", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/conversations" + "ActionOutput_hubspot_fetchroles": { + "type": "object", + "properties": { + "results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "requiresBillingWrite": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["requiresBillingWrite", "name", "id"], + "additionalProperties": false + } + } }, - { - "method": "GET", - "path": "/conversation-messages" - } - ], - "input": "SyncMetadata_intercom_conversations", - "name": "conversations", - "output": ["Conversation", "ConversationMessage"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Conversation", "ConversationMessage", "SyncMetadata_intercom_conversations"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of admin users from Intercom", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users" - } - ], - "input": "SyncMetadata_intercom_users", - "name": "users", - "output": ["User"], - "runs": "every 6 hours", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_intercom_users"], - "version": "2.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Article": { + "required": ["results"], + "additionalProperties": false + }, + "ActionInput_hubspot_changeuserrole": { "type": "object", "properties": { - "title": { + "id": { "type": "string" }, - "id": { + "firstName": { "type": "string" }, - "url": { + "lastName": { "type": "string" }, - "locale": { + "primaryTeamId": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_changeuserrole": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "user_segment_id": { - "type": ["number", "null"] + "firstName": { + "type": "string" }, - "permission_group_id": { - "type": "number" + "lastName": { + "type": "string" }, - "author_id": { - "type": "number" + "primaryTeamId": { + "type": "string" }, - "body": { + "email": { "type": "string" }, - "comments_disabled": { + "sendWelcomeEmail": { "type": "boolean" }, - "content_tag_ids": { + "roleIds": { "type": "array", "items": { - "type": "number" + "type": "string" } }, - "created_at": { - "type": "string" + "secondaryTeamIds": { + "type": "array", + "items": { + "type": "string" + } }, - "draft": { + "superAdmin": { "type": "boolean" - }, - "edited_at": { + } + }, + "required": ["id", "email", "roleIds", "secondaryTeamIds", "superAdmin"], + "additionalProperties": false + }, + "ActionInput_hubspot_fetchaccountinformation": { + "type": "null" + }, + "ActionOutput_hubspot_fetchaccountinformation": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "html_url": { + "type": { "type": "string" }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } + "timeZone": { + "type": "string" }, - "outdated": { - "type": "boolean" + "companyCurrency": { + "type": "string" }, - "outdated_locales": { + "additionalCurrencies": { "type": "array", "items": { "type": "string" } }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" + "utcOffset": { + "type": "string" }, - "section_id": { + "utcOffsetMilliseconds": { "type": "number" }, - "source_locale": { + "uiDomain": { "type": "string" }, - "updated_at": { + "dataHostingLocation": { "type": "string" - }, - "vote_count": { - "type": "number" - }, - "vote_sum": { - "type": "number" } }, "required": [ - "title", "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", - "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", - "updated_at", - "vote_count", - "vote_sum" + "type", + "timeZone", + "companyCurrency", + "additionalCurrencies", + "utcOffset", + "utcOffsetMilliseconds", + "uiDomain", + "dataHostingLocation" ], "additionalProperties": false }, - "SyncMetadata_intercom_articles": { + "ActionInput_hubspot_fetchcustomobjects": { + "type": "null" + }, + "ActionOutput_hubspot_fetchcustomobjects": { "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], "additionalProperties": false }, - "Contact": { + "ActionInput_hubspot_createcontact": { "type": "object", "properties": { - "name": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "job_title": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "salutation": { + "type": "string" + }, + "mobile_phone_number": { + "type": "string" + }, + "website_url": { "type": "string" }, + "owner": { + "type": "string" + } + }, + "additionalProperties": false + }, + "ActionOutput_hubspot_createcontact": { + "type": "object", + "properties": { "id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] + "created_date": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" }, "email": { - "type": ["string", "null"] + "type": "string" }, - "tax_number": { - "type": ["string", "null"] + "job_title": { + "type": "string" }, - "address_line_1": { - "type": ["string", "null"] + "last_contacted": { + "type": "string" }, - "address_line_2": { - "type": ["string", "null"] + "last_activity_date": { + "type": "string" }, - "city": { - "type": ["string", "null"] + "lead_status": { + "type": "string" }, - "zip": { - "type": ["string", "null"] + "lifecycle_stage": { + "type": "string" }, - "country": { - "type": ["string", "null"] + "salutation": { + "type": "string" }, - "state": { - "type": ["string", "null"] + "mobile_phone_number": { + "type": "string" }, - "phone": { - "type": ["string", "null"] + "website_url": { + "type": "string" }, - "subsidiary": { - "type": ["string", "null"] + "owner": { + "type": "string" } }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "required": ["id", "created_date"], "additionalProperties": false }, - "SyncMetadata_intercom_contacts": { + "ActionInput_hubspot_updatecontact": { "type": "object", + "properties": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "job_title": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "salutation": { + "type": "string" + }, + "mobile_phone_number": { + "type": "string" + }, + "website_url": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["id"], "additionalProperties": false }, - "Conversation": { + "ActionOutput_hubspot_updatecontact": { "type": "object", "properties": { "id": { "type": "string" }, - "created_at": { + "created_date": { "type": "string" }, - "updated_at": { + "first_name": { "type": "string" }, - "waiting_since": { - "type": ["string", "null"] + "last_name": { + "type": "string" }, - "snoozed_until": { - "type": ["string", "null"] + "email": { + "type": "string" }, - "title": { - "type": ["string", "null"] + "job_title": { + "type": "string" }, - "contacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "contact_id": { - "type": "string" - } - }, - "required": ["contact_id"], - "additionalProperties": false - } + "last_contacted": { + "type": "string" }, - "state": { + "last_activity_date": { "type": "string" }, - "open": { - "type": "boolean" + "lead_status": { + "type": "string" }, - "read": { + "lifecycle_stage": { + "type": "string" + }, + "salutation": { + "type": "string" + }, + "mobile_phone_number": { + "type": "string" + }, + "website_url": { + "type": "string" + }, + "owner": { + "type": "string" + } + }, + "required": ["id", "created_date"], + "additionalProperties": false + }, + "ActionInput_hubspot_deletecontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_deletecontact": { + "type": "object", + "properties": { + "success": { "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_hubspot_createcompany": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "priority": { + "industry": { + "type": "string" + }, + "description": { + "type": "string" + }, + "country": { + "type": "string" + }, + "city": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "year_founded": { + "type": "string" + }, + "website_url": { "type": "string" } }, - "required": ["id", "created_at", "updated_at", "waiting_since", "snoozed_until", "title", "contacts", "state", "open", "read", "priority"], "additionalProperties": false }, - "ConversationMessage": { + "ActionOutput_hubspot_createcompany": { "type": "object", "properties": { "id": { "type": "string" }, - "conversation_id": { + "created_date": { "type": "string" }, - "body": { + "name": { "type": "string" }, - "type": { + "industry": { "type": "string" }, - "created_at": { + "description": { "type": "string" }, - "updated_at": { + "country": { "type": "string" }, - "author": { - "type": "object", - "properties": { - "type": { - "type": "string" + "city": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "year_founded": { + "type": "string" + }, + "website_url": { + "type": "string" + } + }, + "required": ["id", "created_date"], + "additionalProperties": false + }, + "ActionInput_hubspot_updatecompany": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "industry": { + "type": "string" + }, + "description": { + "type": "string" + }, + "country": { + "type": "string" + }, + "city": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "year_founded": { + "type": "string" + }, + "website_url": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_updatecompany": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_date": { + "type": "string" + }, + "name": { + "type": "string" + }, + "industry": { + "type": "string" + }, + "description": { + "type": "string" + }, + "country": { + "type": "string" + }, + "city": { + "type": "string" + }, + "lead_status": { + "type": "string" + }, + "lifecycle_stage": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "year_founded": { + "type": "string" + }, + "website_url": { + "type": "string" + } + }, + "required": ["id", "created_date"], + "additionalProperties": false + }, + "ActionInput_hubspot_deletecompany": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_deletecompany": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_hubspot_createtask": { + "type": "object", + "properties": { + "task_type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "priority": { + "type": "string" + }, + "assigned_to": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } }, - "name": { - "type": "string" + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "additionalProperties": false + }, + "ActionOutput_hubspot_createtask": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "task_type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "priority": { + "type": "string" + }, + "assigned_to": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } + }, + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_hubspot_updatetask": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "task_type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "priority": { + "type": "string" + }, + "assigned_to": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } + }, + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_updatetask": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "task_type": { + "type": "string" + }, + "title": { + "type": "string" + }, + "priority": { + "type": "string" + }, + "assigned_to": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } + }, + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_hubspot_deletetask": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_hubspot_deletetask": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_hubspot_createnote": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "time_stamp": { + "type": "string" + }, + "created_date": { + "type": "string" + }, + "body": { + "type": "string" + }, + "attachment_ids": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } + }, + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "required": ["time_stamp"], + "additionalProperties": false + }, + "ActionOutput_hubspot_createnote": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "time_stamp": { + "type": "string" + }, + "created_date": { + "type": "string" + }, + "body": { + "type": "string" + }, + "attachment_ids": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "associations": { + "type": "array", + "items": { + "type": "object", + "properties": { + "to": { + "type": "number" + }, + "types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "association_category": { + "type": "string" + }, + "association_type_Id": { + "type": "number" + } + }, + "required": ["association_category", "association_type_Id"], + "additionalProperties": false + } + } + }, + "required": ["to", "types"], + "additionalProperties": false + } + } + }, + "required": ["time_stamp"], + "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "instantly", + "actions": [ + { + "type": "action", + "description": "Action to set a campaign name", + "endpoint": { + "method": "POST", + "path": "/instantly/set-campaign-name" + }, + "input": "ActionInput_instantly_setcampaignname", + "name": "set-campaign-name", + "output": ["ActionOutput_instantly_setcampaignname"], + "scopes": [], + "usedModels": ["ActionInput_instantly_setcampaignname", "ActionOutput_instantly_setcampaignname"], + "version": "1.0.0" + } + ], + "syncs": [], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ActionInput_instantly_setcampaignname": { + "type": "object", + "properties": { + "campaign_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["campaign_id", "name"], + "additionalProperties": false + }, + "ActionOutput_instantly_setcampaignname": { + "type": "object", + "properties": { + "status": { + "type": "string" + } + }, + "required": ["status"], + "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "intercom", + "actions": [ + { + "type": "action", + "description": "Fetch a single article from Intercom", + "endpoint": { + "method": "GET", + "path": "/single-article" + }, + "input": "ActionInput_intercom_fetcharticle", + "name": "fetch-article", + "output": ["ActionOutput_intercom_fetcharticle"], + "scopes": [], + "usedModels": ["ActionInput_intercom_fetcharticle", "ActionOutput_intercom_fetcharticle"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates a contact in Intercom", + "endpoint": { + "method": "POST", + "path": "/contact" + }, + "input": "ActionInput_intercom_createcontact", + "name": "create-contact", + "output": ["ActionOutput_intercom_createcontact"], + "scopes": [], + "usedModels": ["ActionInput_intercom_createcontact", "ActionOutput_intercom_createcontact"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Deletes a contact in Intercom", + "endpoint": { + "method": "DELETE", + "path": "/contact" + }, + "input": "ActionInput_intercom_deletecontact", + "name": "delete-contact", + "output": ["ActionOutput_intercom_deletecontact"], + "scopes": [], + "usedModels": ["ActionInput_intercom_deletecontact", "ActionOutput_intercom_deletecontact"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Fetch current user information", + "endpoint": { + "method": "GET", + "path": "/whoami", + "group": "Users" + }, + "input": "ActionInput_intercom_whoami", + "name": "whoami", + "output": ["ActionOutput_intercom_whoami"], + "scopes": ["Read admins"], + "usedModels": ["ActionInput_intercom_whoami", "ActionOutput_intercom_whoami"], + "version": "1.0.0" + } + ], + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of conversations from Intercom", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/conversations" + }, + { + "method": "GET", + "path": "/conversation-messages" + } + ], + "input": "SyncMetadata_intercom_conversations", + "name": "conversations", + "output": ["Conversation", "ConversationMessage"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Conversation", "ConversationMessage", "SyncMetadata_intercom_conversations"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of contacts from Intercom", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/contacts" + } + ], + "input": "SyncMetadata_intercom_contacts", + "name": "contacts", + "output": ["Contact"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Contact", "SyncMetadata_intercom_contacts"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of articles from Intercom", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/articles" + } + ], + "input": "SyncMetadata_intercom_articles", + "name": "articles", + "output": ["Article"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Article", "SyncMetadata_intercom_articles"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of admin users from Intercom", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users" + } + ], + "input": "SyncMetadata_intercom_users", + "name": "users", + "output": ["User"], + "runs": "every 6 hours", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_intercom_users"], + "version": "2.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_intercom_conversations": { + "type": "object", + "additionalProperties": false + }, + "Conversation": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "waiting_since": { + "type": ["string", "null"] + }, + "snoozed_until": { + "type": ["string", "null"] + }, + "title": { + "type": ["string", "null"] + }, + "contacts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "contact_id": { + "type": "string" + } + }, + "required": ["contact_id"], + "additionalProperties": false + } + }, + "state": { + "type": "string" + }, + "open": { + "type": "boolean" + }, + "read": { + "type": "boolean" + }, + "priority": { + "type": "string" + } + }, + "required": ["id", "created_at", "updated_at", "waiting_since", "snoozed_until", "title", "contacts", "state", "open", "read", "priority"], + "additionalProperties": false + }, + "ConversationMessage": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "conversation_id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "type": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "author": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["type", "name", "id"], + "additionalProperties": false + } + }, + "required": ["id", "conversation_id", "body", "type", "created_at", "updated_at", "author"], + "additionalProperties": false + }, + "SyncMetadata_intercom_contacts": { + "type": "object", + "additionalProperties": false + }, + "Contact": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "workspace_id": { + "type": "string" + }, + "external_id": { + "type": ["string", "null"] + }, + "type": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phone": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_seen_at": { + "type": ["string", "null"] + }, + "last_replied_at": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "workspace_id", + "external_id", + "type", + "email", + "phone", + "name", + "created_at", + "updated_at", + "last_seen_at", + "last_replied_at" + ], + "additionalProperties": false + }, + "SyncMetadata_intercom_articles": { + "type": "object", + "additionalProperties": false + }, + "Article": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string" + }, + "workspace_id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "body": { + "type": ["string", "null"] + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "url": { + "type": ["string", "null"] + }, + "parent_id": { + "type": ["number", "null"] + }, + "parent_ids": { + "type": "array", + "items": { + "type": "number" + } + }, + "parent_type": { + "type": ["string", "null"] + }, + "default_locale": { + "type": "string" + }, + "translated_content": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "ar": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "bg": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "bs": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ca": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "cs": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "da": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "de": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "el": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "en": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "es": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "et": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "fi": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "fr": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "he": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "hr": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "hu": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "id": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "it": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ja": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ko": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "lt": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "lv": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "mn": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "nb": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "nl": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "pl": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "pt": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ro": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ru": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "sl": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "sr": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "sv": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "tr": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "vi": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "pt-BR": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "zh-CN": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "zh-TW": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": ["string", "null"] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "body": { + "type": "string" + }, + "author_id": { + "type": "number" + }, + "state": { + "type": "string" + }, + "created_at": { + "type": "number" + }, + "updated_at": { + "type": "number" + }, + "url": { + "type": "string" + } + }, + "required": [ + "type", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url" + ], + "additionalProperties": false + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "type", + "ar", + "bg", + "bs", + "ca", + "cs", + "da", + "de", + "el", + "en", + "es", + "et", + "fi", + "fr", + "he", + "hr", + "hu", + "id", + "it", + "ja", + "ko", + "lt", + "lv", + "mn", + "nb", + "nl", + "pl", + "pt", + "ro", + "ru", + "sl", + "sr", + "sv", + "tr", + "vi", + "pt-BR", + "zh-CN", + "zh-TW" + ], + "additionalProperties": false }, - "id": { - "type": "string" + { + "type": "null" } - }, - "required": ["type", "name", "id"], - "additionalProperties": false + ] } }, - "required": ["id", "conversation_id", "body", "type", "created_at", "updated_at", "author"], + "required": [ + "type", + "id", + "workspace_id", + "title", + "description", + "body", + "author_id", + "state", + "created_at", + "updated_at", + "url", + "parent_id", + "parent_ids", + "parent_type" + ], "additionalProperties": false }, - "SyncMetadata_intercom_conversations": { + "SyncMetadata_intercom_users": { "type": "object", "additionalProperties": false }, @@ -36994,130 +39349,17 @@ "id": { "type": "string" }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, "email": { "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_intercom_users": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_intercom_createcontact": { - "type": "object", - "properties": { + }, "firstName": { "type": "string" }, "lastName": { "type": "string" - }, - "email": { - "type": "string" - }, - "external_id": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "avatar": { - "type": "string" - }, - "signed_up_at": { - "type": "number" - }, - "last_seen_at": { - "type": "number" - }, - "owner_id": { - "type": "string" - }, - "unsubscribed_from_emails": { - "type": "boolean" - } - }, - "required": ["firstName", "lastName", "email"], - "additionalProperties": false - }, - "ActionOutput_intercom_createcontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "workspace_id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "type": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phone": { - "type": ["string", "null"] - }, - "name": { - "type": ["string", "null"] - }, - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "last_seen_at": { - "type": ["string", "null"] - }, - "last_replied_at": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "workspace_id", - "external_id", - "type", - "email", - "phone", - "name", - "created_at", - "updated_at", - "last_seen_at", - "last_replied_at" - ], - "additionalProperties": false - }, - "ActionInput_intercom_deletecontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_intercom_deletecontact": { - "type": "object", - "properties": { - "success": { - "type": "boolean" } }, - "required": ["success"], + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_intercom_fetcharticle": { @@ -39143,6 +41385,115 @@ ], "additionalProperties": false }, + "ActionInput_intercom_createcontact": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "external_id": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "signed_up_at": { + "type": "number" + }, + "last_seen_at": { + "type": "number" + }, + "owner_id": { + "type": "string" + }, + "unsubscribed_from_emails": { + "type": "boolean" + } + }, + "required": ["firstName", "lastName", "email"], + "additionalProperties": false + }, + "ActionOutput_intercom_createcontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "workspace_id": { + "type": "string" + }, + "external_id": { + "type": ["string", "null"] + }, + "type": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phone": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_seen_at": { + "type": ["string", "null"] + }, + "last_replied_at": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "workspace_id", + "external_id", + "type", + "email", + "phone", + "name", + "created_at", + "updated_at", + "last_seen_at", + "last_replied_at" + ], + "additionalProperties": false + }, + "ActionInput_intercom_deletecontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_intercom_deletecontact": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, "ActionInput_intercom_whoami": { "type": "null" }, @@ -39159,9 +41510,10 @@ "required": ["id", "email"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -39184,27 +41536,6 @@ } ], "syncs": [ - { - "type": "sync", - "description": "Fetches a list of issue types for a project", - "auto_start": false, - "endpoints": [ - { - "method": "GET", - "path": "/issue-types" - } - ], - "input": "SyncMetadata_jira_issuetypes", - "name": "issue-types", - "output": ["IssueType"], - "runs": "every day", - "scopes": ["read:jira-work"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["IssueType", "SyncMetadata_jira_issuetypes"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches a list of issues from Jira", @@ -39247,6 +41578,27 @@ "usedModels": ["Project", "SyncMetadata_jira_projects"], "version": "1.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of issue types for a project", + "auto_start": false, + "endpoints": [ + { + "method": "GET", + "path": "/issue-types" + } + ], + "input": "SyncMetadata_jira_issuetypes", + "name": "issue-types", + "output": ["IssueType"], + "runs": "every day", + "scopes": ["read:jira-work"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["IssueType", "SyncMetadata_jira_issuetypes"], + "version": "2.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -39256,31 +41608,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "IssueType": { - "type": "object", - "properties": { - "projectId": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "url": { - "type": "string" - } - }, - "required": ["projectId", "id", "name", "description", "url"], - "additionalProperties": false - }, - "SyncMetadata_jira_issuetypes": { + "SyncMetadata_jira_issues": { "type": "object", "properties": { "projectIdsToSync": { @@ -39412,7 +41741,61 @@ ], "additionalProperties": false }, - "SyncMetadata_jira_issues": { + "SyncMetadata_jira_projects": { + "type": "object", + "properties": { + "projectIdsToSync": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + } + }, + "cloudId": { + "type": "string" + }, + "baseUrl": { + "type": "string" + }, + "timeZone": { + "type": "string" + } + }, + "required": ["projectIdsToSync"], + "additionalProperties": false + }, + "Project": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "url": { + "type": "string" + }, + "projectTypeKey": { + "type": "string" + }, + "webUrl": { + "type": "string" + } + }, + "required": ["id", "key", "name", "url", "projectTypeKey", "webUrl"], + "additionalProperties": false + }, + "SyncMetadata_jira_issuetypes": { "type": "object", "properties": { "projectIdsToSync": { @@ -39441,58 +41824,26 @@ "required": ["projectIdsToSync"], "additionalProperties": false }, - "Project": { + "IssueType": { "type": "object", "properties": { - "id": { + "projectId": { "type": "string" }, - "key": { + "id": { "type": "string" }, "name": { "type": "string" }, - "url": { - "type": "string" - }, - "projectTypeKey": { - "type": "string" - }, - "webUrl": { - "type": "string" - } - }, - "required": ["id", "key", "name", "url", "projectTypeKey", "webUrl"], - "additionalProperties": false - }, - "SyncMetadata_jira_projects": { - "type": "object", - "properties": { - "projectIdsToSync": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - } - }, - "cloudId": { - "type": "string" - }, - "baseUrl": { - "type": "string" + "description": { + "type": ["string", "null"] }, - "timeZone": { + "url": { "type": "string" } }, - "required": ["projectIdsToSync"], + "required": ["projectId", "id", "name", "description", "url"], "additionalProperties": false }, "ActionInput_jira_createissue": { @@ -39539,9 +41890,10 @@ "required": ["id", "key", "self"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -39624,8 +41976,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_jira_basic_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -39645,10 +42000,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_jira_basic_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_jira_basic_createuser": { "type": "object", "properties": { @@ -39743,9 +42094,10 @@ "required": ["teams"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -39813,29 +42165,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_keeper_scim_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_keeper_scim_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_keeper_scim_createuser": { @@ -39965,9 +42316,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -40003,8 +42355,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_kustomer_conversations": { + "type": "object", + "additionalProperties": false + }, "KustomerConversation": { "type": "object", "properties": { @@ -40029,14 +42384,11 @@ }, "required": ["type", "id", "attributes", "relationships", "links"], "additionalProperties": false - }, - "SyncMetadata_kustomer_conversations": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -40104,8 +42456,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lastpass_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -40125,10 +42480,6 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_lastpass_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_lastpass_createuser": { "type": "object", "properties": { @@ -40202,9 +42553,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -40241,34 +42593,34 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lattice_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_lattice_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -40313,7 +42665,6 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { "ActionInput_lattice_scim_createuser": { "type": "object", @@ -40370,29 +42721,15 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "lever", "actions": [ - { - "type": "action", - "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", - "endpoint": { - "method": "POST", - "path": "/posts/apply", - "group": "Posts" - }, - "input": "ActionInput_lever_applyposting", - "name": "apply-posting", - "output": ["ActionOutput_lever_applyposting"], - "scopes": [], - "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], - "version": "1.0.0" - }, { "type": "action", "description": "Action to create a note and add it to an opportunity.", @@ -40425,33 +42762,33 @@ }, { "type": "action", - "description": "Get all archived reasons", + "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", "endpoint": { "method": "GET", - "path": "/archived/reasons", - "group": "Archived" + "path": "/stages/limited", + "group": "Stages" }, - "input": "ActionInput_lever_getarchivereasons", - "name": "get-archive-reasons", - "output": ["ActionOutput_lever_getarchivereasons"], + "input": "ActionInput_lever_getstages", + "name": "get-stages", + "output": ["ActionOutput_lever_getstages"], "scopes": [], - "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], - "version": "1.0.0" + "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], + "version": "2.0.0" }, { "type": "action", - "description": "Get single post for your account in Lever", + "description": "Lists all the users in your Lever account. Only active users are included by default.", "endpoint": { "method": "GET", - "path": "/posts/single", - "group": "Posts" + "path": "/users", + "group": "Users" }, - "input": "ActionInput_lever_getposting", - "name": "get-posting", - "output": ["ActionOutput_lever_getposting"], + "input": "ActionInput_lever_users", + "name": "users", + "output": ["ActionOutput_lever_users"], "scopes": [], - "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], - "version": "2.0.0" + "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "version": "1.0.0" }, { "type": "action", @@ -40470,47 +42807,32 @@ }, { "type": "action", - "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", + "description": "Get all archived reasons", "endpoint": { "method": "GET", - "path": "/stages/limited", - "group": "Stages" - }, - "input": "ActionInput_lever_getstages", - "name": "get-stages", - "output": ["ActionOutput_lever_getstages"], - "scopes": [], - "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Update an opportunity", - "endpoint": { - "method": "PATCH", - "path": "/opportunities", - "group": "Opportunities" + "path": "/archived/reasons", + "group": "Archived" }, - "input": "ActionInput_lever_updateopportunity", - "name": "update-opportunity", - "output": ["ActionOutput_lever_updateopportunity"], + "input": "ActionInput_lever_getarchivereasons", + "name": "get-archive-reasons", + "output": ["ActionOutput_lever_getarchivereasons"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], + "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], "version": "1.0.0" }, { "type": "action", - "description": "Update the archived state of an opportunity", + "description": "Get single post for your account in Lever", "endpoint": { - "method": "PUT", - "path": "/opportunities/archived", - "group": "Opportunities" + "method": "GET", + "path": "/posts/single", + "group": "Posts" }, - "input": "ActionInput_lever_updateopportunityarchived", - "name": "update-opportunity-archived", - "output": ["ActionOutput_lever_updateopportunityarchived"], + "input": "ActionInput_lever_getposting", + "name": "get-posting", + "output": ["ActionOutput_lever_getposting"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], "version": "2.0.0" }, { @@ -40575,17 +42897,47 @@ }, { "type": "action", - "description": "Lists all the users in your Lever account. Only active users are included by default.", + "description": "Update the archived state of an opportunity", "endpoint": { - "method": "GET", - "path": "/users", - "group": "Users" + "method": "PUT", + "path": "/opportunities/archived", + "group": "Opportunities" }, - "input": "ActionInput_lever_users", - "name": "users", - "output": ["ActionOutput_lever_users"], + "input": "ActionInput_lever_updateopportunityarchived", + "name": "update-opportunity-archived", + "output": ["ActionOutput_lever_updateopportunityarchived"], "scopes": [], - "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", + "endpoint": { + "method": "POST", + "path": "/posts/apply", + "group": "Posts" + }, + "input": "ActionInput_lever_applyposting", + "name": "apply-posting", + "output": ["ActionOutput_lever_applyposting"], + "scopes": [], + "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Update an opportunity", + "endpoint": { + "method": "PATCH", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_lever_updateopportunity", + "name": "update-opportunity", + "output": ["ActionOutput_lever_updateopportunity"], + "scopes": [], + "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], "version": "1.0.0" } ], @@ -40796,8 +43148,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lever_opportunities": { + "type": "object", + "additionalProperties": false + }, "LeverOpportunity": { "type": "object", "properties": { @@ -40975,7 +43330,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunities": { + "SyncMetadata_lever_opportunitiesapplications": { "type": "object", "additionalProperties": false }, @@ -41106,7 +43461,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesapplications": { + "SyncMetadata_lever_opportunitiesfeedbacks": { "type": "object", "additionalProperties": false }, @@ -41173,7 +43528,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesfeedbacks": { + "SyncMetadata_lever_opportunitiesinterviews": { "type": "object", "additionalProperties": false }, @@ -41266,7 +43621,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesinterviews": { + "SyncMetadata_lever_opportunitiesnotes": { "type": "object", "additionalProperties": false }, @@ -41304,7 +43659,7 @@ "required": ["id", "text", "fields", "user", "secret", "completedAt", "createdAt", "deletedAt"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesnotes": { + "SyncMetadata_lever_opportunitiesoffers": { "type": "object", "additionalProperties": false }, @@ -41365,7 +43720,7 @@ "required": ["id", "createdAt", "status", "creator", "fields", "sentDocument", "signedDocument"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesoffers": { + "SyncMetadata_lever_postings": { "type": "object", "additionalProperties": false }, @@ -41556,7 +43911,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_postings": { + "SyncMetadata_lever_postingsquestions": { "type": "object", "additionalProperties": false }, @@ -41597,7 +43952,7 @@ "required": ["id", "text", "customQuestions", "eeoQuestions", "personalInformation", "urls"], "additionalProperties": false }, - "SyncMetadata_lever_postingsquestions": { + "SyncMetadata_lever_stages": { "type": "object", "additionalProperties": false }, @@ -41614,352 +43969,6 @@ "required": ["id", "text"], "additionalProperties": false }, - "SyncMetadata_lever_stages": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_lever_applyposting": { - "type": "object", - "properties": { - "postId": { - "type": "string" - }, - "send_confirmation_email": { - "type": "boolean" - }, - "personalInformation": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "eeoResponses": { - "type": "object", - "additionalProperties": false - }, - "urls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "CustomQuestions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - } - }, - "required": ["id", "fields"], - "additionalProperties": false - } - }, - "ipAddress": { - "type": "string" - }, - "source": { - "type": "string" - }, - "consent": { - "type": "object", - "properties": { - "marketing": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - }, - "store": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - } - }, - "required": ["marketing", "store"], - "additionalProperties": false - }, - "diversitySurvey": { - "type": "object", - "properties": { - "surveyId": { - "type": "string" - }, - "candidateSelectedLocation": { - "type": "string" - }, - "responses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "questionId": { - "type": "string" - }, - "questionText": { - "type": "string" - }, - "questionType": { - "type": "string" - }, - "answer": { - "type": "string" - } - }, - "required": ["questionId", "questionText", "questionType", "answer"], - "additionalProperties": false - } - } - }, - "required": ["surveyId", "candidateSelectedLocation", "responses"], - "additionalProperties": false - }, - "origin": { - "type": "string" - } - }, - "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], - "additionalProperties": false - }, - "ActionOutput_lever_applyposting": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "headline": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "phones": { - "type": "array", - "items": { - "type": "string" - } - }, - "confidentiality": { - "type": "string" - }, - "location": { - "type": "string" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "archived": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "archivedAt": { - "type": "number" - } - }, - "required": ["reason", "archivedAt"], - "additionalProperties": false - }, - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "lastInteractionAt": { - "type": "number" - }, - "lastAdvancedAt": { - "type": "number" - }, - "snoozedUntil": { - "type": "number" - }, - "archivedAt": { - "type": "number" - }, - "archiveReason": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stageChanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "owner": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, - "origin": { - "type": "string" - }, - "sourcedBy": { - "type": "string" - }, - "applications": { - "type": "array", - "items": { - "type": "string" - } - }, - "resume": { - "type": "string" - }, - "followers": { - "type": "array", - "items": { - "type": "string" - } - }, - "urls": { - "type": "object", - "properties": { - "list": { - "type": "string" - }, - "show": { - "type": "string" - } - }, - "required": ["list", "show"], - "additionalProperties": false - }, - "dataProtection": { - "type": "object", - "additionalProperties": false - }, - "isAnonymized": { - "type": "boolean" - }, - "opportunityLocation": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], - "additionalProperties": false - } - }, - "required": ["success", "response"], - "additionalProperties": false - }, "ActionInput_lever_createnote": { "type": "object", "properties": { @@ -42327,10 +44336,115 @@ ], "additionalProperties": false }, - "ActionInput_lever_getarchivereasons": { + "ActionInput_lever_getstages": { "type": "null" }, - "ActionOutput_lever_getarchivereasons": { + "ActionOutput_lever_getstages": { + "type": "object", + "properties": { + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": ["id", "text"], + "additionalProperties": false + } + } + }, + "required": ["stages"], + "additionalProperties": false + }, + "ActionInput_lever_users": { + "type": "null" + }, + "ActionOutput_lever_users": { + "type": "object", + "properties": { + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "accessRole": { + "type": "string" + }, + "photo": { + "type": ["string", "null"] + }, + "createdAt": { + "type": "number" + }, + "deactivatedAt": { + "type": ["string", "null"] + }, + "externalDirectoryId": { + "type": ["string", "null"] + }, + "linkedContactIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "jobTitle": { + "type": ["string", "null"] + }, + "managerId": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "name", + "username", + "email", + "accessRole", + "photo", + "createdAt", + "deactivatedAt", + "externalDirectoryId", + "linkedContactIds", + "jobTitle", + "managerId" + ], + "additionalProperties": false + } + } + }, + "required": ["users"], + "additionalProperties": false + }, + "ActionInput_lever_getpostings": { + "type": "null" + }, + "ActionOutput_lever_getpostings": { "type": "object", "properties": { "success": { @@ -42520,17 +44634,10 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getposting": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "ActionInput_lever_getarchivereasons": { + "type": "null" }, - "ActionOutput_lever_getposting": { + "ActionOutput_lever_getarchivereasons": { "type": "object", "properties": { "success": { @@ -42720,10 +44827,17 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getpostings": { - "type": "null" + "ActionInput_lever_getposting": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false }, - "ActionOutput_lever_getpostings": { + "ActionOutput_lever_getposting": { "type": "object", "properties": { "success": { @@ -42913,33 +45027,219 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getstages": { - "type": "null" - }, - "ActionOutput_lever_getstages": { + "ActionInput_lever_updateopportunitylinks": { "type": "object", "properties": { - "stages": { + "perform_as": { + "type": "string" + }, + "links": { "type": "array", "items": { - "type": "object", - "properties": { - "id": { + "type": "string" + } + }, + "opportunityId": { + "type": "string" + }, + "delete": { + "type": "boolean" + } + }, + "required": ["links", "opportunityId", "delete"], + "additionalProperties": false + }, + "ActionOutput_lever_updateopportunitylinks": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "headline": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "phones": { + "type": "array", + "items": { + "type": "string" + } + }, + "confidentiality": { + "type": "string" + }, + "location": { + "type": "string" + }, + "links": { + "type": "array", + "items": { "type": "string" + } + }, + "archived": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "archivedAt": { + "type": "number" + } }, - "text": { + "required": ["reason", "archivedAt"], + "additionalProperties": false + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "lastInteractionAt": { + "type": "number" + }, + "lastAdvancedAt": { + "type": "number" + }, + "snoozedUntil": { + "type": "number" + }, + "archivedAt": { + "type": "number" + }, + "archiveReason": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stageChanges": { + "type": "array", + "items": { "type": "string" } }, - "required": ["id", "text"], - "additionalProperties": false - } + "owner": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "origin": { + "type": "string" + }, + "sourcedBy": { + "type": "string" + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "resume": { + "type": "string" + }, + "followers": { + "type": "array", + "items": { + "type": "string" + } + }, + "urls": { + "type": "object", + "properties": { + "list": { + "type": "string" + }, + "show": { + "type": "string" + } + }, + "required": ["list", "show"], + "additionalProperties": false + }, + "dataProtection": { + "type": "object", + "additionalProperties": false + }, + "isAnonymized": { + "type": "boolean" + }, + "opportunityLocation": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], + "additionalProperties": false } }, - "required": ["stages"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunity": { + "ActionInput_lever_updateopportunitysources": { "type": "object", "properties": { "opportunityId": { @@ -42948,47 +45248,29 @@ "perform_as": { "type": "string" }, - "delete": { - "type": "boolean" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, "sources": { "type": "array", "items": { "type": "string" } }, - "stage": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "reason": { - "type": "string" - }, - "cleanInterviews": { + "delete": { "type": "boolean" - }, - "requisitionId": { - "type": "string" } }, - "required": ["opportunityId", "links", "sources", "tags"], + "required": ["opportunityId", "sources", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunity": { + "ActionOutput_lever_updateopportunitysources": { "type": "object", "properties": { - "data": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { "type": "object", "properties": { "id": { @@ -43037,6 +45319,7 @@ "type": "number" } }, + "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -43052,7 +45335,7 @@ "type": "number" }, "snoozedUntil": { - "type": ["number", "null"] + "type": "number" }, "archivedAt": { "type": "number" @@ -43066,33 +45349,7 @@ "stageChanges": { "type": "array", "items": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "toStageId": { - "type": "string" - }, - "toStageIndex": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "userId": { - "type": "string" - } - }, - "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], - "additionalProperties": false - }, - "1": { - "type": "string" - } - }, - "required": ["0", "1"], - "additionalProperties": false + "type": "string" } }, "owner": { @@ -43141,18 +45398,12 @@ "type": "string" } }, + "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "anyOf": [ - { - "type": "object", - "additionalProperties": false - }, - { - "type": "null" - } - ] + "type": "object", + "additionalProperties": false }, "isAnonymized": { "type": "boolean" @@ -43161,35 +45412,62 @@ "type": "string" } }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], "additionalProperties": false } }, - "required": ["data"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunityarchived": { + "ActionInput_lever_updateopportunitystage": { "type": "object", "properties": { "perform_as": { "type": "string" }, - "reason": { - "type": "string" - }, - "requisitionId": { + "stage": { "type": "string" }, "opportunityId": { "type": "string" - }, - "cleanInterviews": { - "type": "boolean" } }, - "required": ["reason", "opportunityId"], + "required": ["stage", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunityarchived": { + "ActionOutput_lever_updateopportunitystage": { "type": "object", "properties": { "success": { @@ -43379,29 +45657,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitylinks": { + "ActionInput_lever_updateopportunitytags": { "type": "object", "properties": { + "opportunityId": { + "type": "string" + }, "perform_as": { "type": "string" }, - "links": { + "tags": { "type": "array", "items": { "type": "string" } }, - "opportunityId": { - "type": "string" - }, "delete": { "type": "boolean" } }, - "required": ["links", "opportunityId", "delete"], + "required": ["opportunityId", "tags", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitylinks": { + "ActionOutput_lever_updateopportunitytags": { "type": "object", "properties": { "success": { @@ -43591,29 +45869,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitysources": { + "ActionInput_lever_updateopportunityarchived": { "type": "object", "properties": { - "opportunityId": { + "perform_as": { "type": "string" }, - "perform_as": { + "reason": { "type": "string" }, - "sources": { - "type": "array", - "items": { - "type": "string" - } + "requisitionId": { + "type": "string" }, - "delete": { + "opportunityId": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" } }, - "required": ["opportunityId", "sources", "delete"], + "required": ["reason", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitysources": { + "ActionOutput_lever_updateopportunityarchived": { "type": "object", "properties": { "success": { @@ -43803,23 +46081,159 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitystage": { + "ActionInput_lever_applyposting": { "type": "object", "properties": { - "perform_as": { + "postId": { "type": "string" }, - "stage": { + "send_confirmation_email": { + "type": "boolean" + }, + "personalInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "eeoResponses": { + "type": "object", + "additionalProperties": false + }, + "urls": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "CustomQuestions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + } + }, + "required": ["id", "fields"], + "additionalProperties": false + } + }, + "ipAddress": { "type": "string" }, - "opportunityId": { + "source": { + "type": "string" + }, + "consent": { + "type": "object", + "properties": { + "marketing": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + }, + "store": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + } + }, + "required": ["marketing", "store"], + "additionalProperties": false + }, + "diversitySurvey": { + "type": "object", + "properties": { + "surveyId": { + "type": "string" + }, + "candidateSelectedLocation": { + "type": "string" + }, + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "questionId": { + "type": "string" + }, + "questionText": { + "type": "string" + }, + "questionType": { + "type": "string" + }, + "answer": { + "type": "string" + } + }, + "required": ["questionId", "questionText", "questionType", "answer"], + "additionalProperties": false + } + } + }, + "required": ["surveyId", "candidateSelectedLocation", "responses"], + "additionalProperties": false + }, + "origin": { "type": "string" } }, - "required": ["stage", "opportunityId"], + "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitystage": { + "ActionOutput_lever_applyposting": { "type": "object", "properties": { "success": { @@ -44009,7 +46423,7 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitytags": { + "ActionInput_lever_updateopportunity": { "type": "object", "properties": { "opportunityId": { @@ -44018,29 +46432,47 @@ "perform_as": { "type": "string" }, + "delete": { + "type": "boolean" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "stage": { + "type": "string" + }, "tags": { "type": "array", "items": { "type": "string" } }, - "delete": { + "reason": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" + }, + "requisitionId": { + "type": "string" } }, - "required": ["opportunityId", "tags", "delete"], + "required": ["opportunityId", "links", "sources", "tags"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitytags": { + "ActionOutput_lever_updateopportunity": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { + "data": { "type": "object", "properties": { "id": { @@ -44089,7 +46521,6 @@ "type": "number" } }, - "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -44105,7 +46536,7 @@ "type": "number" }, "snoozedUntil": { - "type": "number" + "type": ["number", "null"] }, "archivedAt": { "type": "number" @@ -44119,7 +46550,33 @@ "stageChanges": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "toStageId": { + "type": "string" + }, + "toStageIndex": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "userId": { + "type": "string" + } + }, + "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], + "additionalProperties": false + }, + "1": { + "type": "string" + } + }, + "required": ["0", "1"], + "additionalProperties": false } }, "owner": { @@ -44168,12 +46625,18 @@ "type": "string" } }, - "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "type": "object", - "additionalProperties": false + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] }, "isAnonymized": { "type": "boolean" @@ -44182,147 +46645,21 @@ "type": "string" } }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], "additionalProperties": false } }, - "required": ["success", "response"], - "additionalProperties": false - }, - "ActionInput_lever_users": { - "type": "null" - }, - "ActionOutput_lever_users": { - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "accessRole": { - "type": "string" - }, - "photo": { - "type": ["string", "null"] - }, - "createdAt": { - "type": "number" - }, - "deactivatedAt": { - "type": ["string", "null"] - }, - "externalDirectoryId": { - "type": ["string", "null"] - }, - "linkedContactIds": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "jobTitle": { - "type": ["string", "null"] - }, - "managerId": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "name", - "username", - "email", - "accessRole", - "photo", - "createdAt", - "deactivatedAt", - "externalDirectoryId", - "linkedContactIds", - "jobTitle", - "managerId" - ], - "additionalProperties": false - } - } - }, - "required": ["users"], + "required": ["data"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "lever-basic", "actions": [ - { - "type": "action", - "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", - "endpoint": { - "method": "POST", - "path": "/posts/apply", - "group": "Posts" - }, - "input": "ActionInput_lever_applyposting", - "name": "apply-posting", - "output": ["ActionOutput_lever_applyposting"], - "scopes": [], - "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], - "version": "1.0.0" - }, { "type": "action", "description": "Action to create a note and add it to an opportunity.", @@ -44355,33 +46692,33 @@ }, { "type": "action", - "description": "Get all archived reasons", + "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", "endpoint": { "method": "GET", - "path": "/archived/reasons", - "group": "Archived" + "path": "/stages/limited", + "group": "Stages" }, - "input": "ActionInput_lever_getarchivereasons", - "name": "get-archive-reasons", - "output": ["ActionOutput_lever_getarchivereasons"], + "input": "ActionInput_lever_getstages", + "name": "get-stages", + "output": ["ActionOutput_lever_getstages"], "scopes": [], - "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], - "version": "1.0.0" + "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], + "version": "2.0.0" }, { "type": "action", - "description": "Get single post for your account in Lever", + "description": "Lists all the users in your Lever account. Only active users are included by default.", "endpoint": { "method": "GET", - "path": "/posts/single", - "group": "Posts" + "path": "/users", + "group": "Users" }, - "input": "ActionInput_lever_getposting", - "name": "get-posting", - "output": ["ActionOutput_lever_getposting"], + "input": "ActionInput_lever_users", + "name": "users", + "output": ["ActionOutput_lever_users"], "scopes": [], - "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], - "version": "2.0.0" + "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "version": "1.0.0" }, { "type": "action", @@ -44400,47 +46737,32 @@ }, { "type": "action", - "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", + "description": "Get all archived reasons", "endpoint": { "method": "GET", - "path": "/stages/limited", - "group": "Stages" - }, - "input": "ActionInput_lever_getstages", - "name": "get-stages", - "output": ["ActionOutput_lever_getstages"], - "scopes": [], - "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Update an opportunity", - "endpoint": { - "method": "PATCH", - "path": "/opportunities", - "group": "Opportunities" + "path": "/archived/reasons", + "group": "Archived" }, - "input": "ActionInput_lever_updateopportunity", - "name": "update-opportunity", - "output": ["ActionOutput_lever_updateopportunity"], + "input": "ActionInput_lever_getarchivereasons", + "name": "get-archive-reasons", + "output": ["ActionOutput_lever_getarchivereasons"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], + "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], "version": "1.0.0" }, { "type": "action", - "description": "Update the archived state of an opportunity", + "description": "Get single post for your account in Lever", "endpoint": { - "method": "PUT", - "path": "/opportunities/archived", - "group": "Opportunities" + "method": "GET", + "path": "/posts/single", + "group": "Posts" }, - "input": "ActionInput_lever_updateopportunityarchived", - "name": "update-opportunity-archived", - "output": ["ActionOutput_lever_updateopportunityarchived"], + "input": "ActionInput_lever_getposting", + "name": "get-posting", + "output": ["ActionOutput_lever_getposting"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], "version": "2.0.0" }, { @@ -44505,17 +46827,47 @@ }, { "type": "action", - "description": "Lists all the users in your Lever account. Only active users are included by default.", + "description": "Update the archived state of an opportunity", "endpoint": { - "method": "GET", - "path": "/users", - "group": "Users" + "method": "PUT", + "path": "/opportunities/archived", + "group": "Opportunities" }, - "input": "ActionInput_lever_users", - "name": "users", - "output": ["ActionOutput_lever_users"], + "input": "ActionInput_lever_updateopportunityarchived", + "name": "update-opportunity-archived", + "output": ["ActionOutput_lever_updateopportunityarchived"], "scopes": [], - "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", + "endpoint": { + "method": "POST", + "path": "/posts/apply", + "group": "Posts" + }, + "input": "ActionInput_lever_applyposting", + "name": "apply-posting", + "output": ["ActionOutput_lever_applyposting"], + "scopes": [], + "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Update an opportunity", + "endpoint": { + "method": "PATCH", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_lever_updateopportunity", + "name": "update-opportunity", + "output": ["ActionOutput_lever_updateopportunity"], + "scopes": [], + "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], "version": "1.0.0" } ], @@ -44726,8 +47078,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lever_opportunities": { + "type": "object", + "additionalProperties": false + }, "LeverOpportunity": { "type": "object", "properties": { @@ -44905,7 +47260,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunities": { + "SyncMetadata_lever_opportunitiesapplications": { "type": "object", "additionalProperties": false }, @@ -45036,7 +47391,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesapplications": { + "SyncMetadata_lever_opportunitiesfeedbacks": { "type": "object", "additionalProperties": false }, @@ -45103,7 +47458,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesfeedbacks": { + "SyncMetadata_lever_opportunitiesinterviews": { "type": "object", "additionalProperties": false }, @@ -45196,7 +47551,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesinterviews": { + "SyncMetadata_lever_opportunitiesnotes": { "type": "object", "additionalProperties": false }, @@ -45234,7 +47589,7 @@ "required": ["id", "text", "fields", "user", "secret", "completedAt", "createdAt", "deletedAt"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesnotes": { + "SyncMetadata_lever_opportunitiesoffers": { "type": "object", "additionalProperties": false }, @@ -45295,7 +47650,7 @@ "required": ["id", "createdAt", "status", "creator", "fields", "sentDocument", "signedDocument"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesoffers": { + "SyncMetadata_lever_postings": { "type": "object", "additionalProperties": false }, @@ -45486,7 +47841,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_postings": { + "SyncMetadata_lever_postingsquestions": { "type": "object", "additionalProperties": false }, @@ -45527,7 +47882,7 @@ "required": ["id", "text", "customQuestions", "eeoQuestions", "personalInformation", "urls"], "additionalProperties": false }, - "SyncMetadata_lever_postingsquestions": { + "SyncMetadata_lever_stages": { "type": "object", "additionalProperties": false }, @@ -45544,352 +47899,6 @@ "required": ["id", "text"], "additionalProperties": false }, - "SyncMetadata_lever_stages": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_lever_applyposting": { - "type": "object", - "properties": { - "postId": { - "type": "string" - }, - "send_confirmation_email": { - "type": "boolean" - }, - "personalInformation": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "eeoResponses": { - "type": "object", - "additionalProperties": false - }, - "urls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "CustomQuestions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - } - }, - "required": ["id", "fields"], - "additionalProperties": false - } - }, - "ipAddress": { - "type": "string" - }, - "source": { - "type": "string" - }, - "consent": { - "type": "object", - "properties": { - "marketing": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - }, - "store": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - } - }, - "required": ["marketing", "store"], - "additionalProperties": false - }, - "diversitySurvey": { - "type": "object", - "properties": { - "surveyId": { - "type": "string" - }, - "candidateSelectedLocation": { - "type": "string" - }, - "responses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "questionId": { - "type": "string" - }, - "questionText": { - "type": "string" - }, - "questionType": { - "type": "string" - }, - "answer": { - "type": "string" - } - }, - "required": ["questionId", "questionText", "questionType", "answer"], - "additionalProperties": false - } - } - }, - "required": ["surveyId", "candidateSelectedLocation", "responses"], - "additionalProperties": false - }, - "origin": { - "type": "string" - } - }, - "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], - "additionalProperties": false - }, - "ActionOutput_lever_applyposting": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "headline": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "phones": { - "type": "array", - "items": { - "type": "string" - } - }, - "confidentiality": { - "type": "string" - }, - "location": { - "type": "string" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "archived": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "archivedAt": { - "type": "number" - } - }, - "required": ["reason", "archivedAt"], - "additionalProperties": false - }, - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "lastInteractionAt": { - "type": "number" - }, - "lastAdvancedAt": { - "type": "number" - }, - "snoozedUntil": { - "type": "number" - }, - "archivedAt": { - "type": "number" - }, - "archiveReason": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stageChanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "owner": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, - "origin": { - "type": "string" - }, - "sourcedBy": { - "type": "string" - }, - "applications": { - "type": "array", - "items": { - "type": "string" - } - }, - "resume": { - "type": "string" - }, - "followers": { - "type": "array", - "items": { - "type": "string" - } - }, - "urls": { - "type": "object", - "properties": { - "list": { - "type": "string" - }, - "show": { - "type": "string" - } - }, - "required": ["list", "show"], - "additionalProperties": false - }, - "dataProtection": { - "type": "object", - "additionalProperties": false - }, - "isAnonymized": { - "type": "boolean" - }, - "opportunityLocation": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], - "additionalProperties": false - } - }, - "required": ["success", "response"], - "additionalProperties": false - }, "ActionInput_lever_createnote": { "type": "object", "properties": { @@ -46257,10 +48266,115 @@ ], "additionalProperties": false }, - "ActionInput_lever_getarchivereasons": { + "ActionInput_lever_getstages": { "type": "null" }, - "ActionOutput_lever_getarchivereasons": { + "ActionOutput_lever_getstages": { + "type": "object", + "properties": { + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": ["id", "text"], + "additionalProperties": false + } + } + }, + "required": ["stages"], + "additionalProperties": false + }, + "ActionInput_lever_users": { + "type": "null" + }, + "ActionOutput_lever_users": { + "type": "object", + "properties": { + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "accessRole": { + "type": "string" + }, + "photo": { + "type": ["string", "null"] + }, + "createdAt": { + "type": "number" + }, + "deactivatedAt": { + "type": ["string", "null"] + }, + "externalDirectoryId": { + "type": ["string", "null"] + }, + "linkedContactIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "jobTitle": { + "type": ["string", "null"] + }, + "managerId": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "name", + "username", + "email", + "accessRole", + "photo", + "createdAt", + "deactivatedAt", + "externalDirectoryId", + "linkedContactIds", + "jobTitle", + "managerId" + ], + "additionalProperties": false + } + } + }, + "required": ["users"], + "additionalProperties": false + }, + "ActionInput_lever_getpostings": { + "type": "null" + }, + "ActionOutput_lever_getpostings": { "type": "object", "properties": { "success": { @@ -46450,17 +48564,10 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getposting": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "ActionInput_lever_getarchivereasons": { + "type": "null" }, - "ActionOutput_lever_getposting": { + "ActionOutput_lever_getarchivereasons": { "type": "object", "properties": { "success": { @@ -46650,10 +48757,17 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getpostings": { - "type": "null" + "ActionInput_lever_getposting": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false }, - "ActionOutput_lever_getpostings": { + "ActionOutput_lever_getposting": { "type": "object", "properties": { "success": { @@ -46843,33 +48957,219 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getstages": { - "type": "null" - }, - "ActionOutput_lever_getstages": { + "ActionInput_lever_updateopportunitylinks": { "type": "object", "properties": { - "stages": { + "perform_as": { + "type": "string" + }, + "links": { "type": "array", "items": { - "type": "object", - "properties": { - "id": { + "type": "string" + } + }, + "opportunityId": { + "type": "string" + }, + "delete": { + "type": "boolean" + } + }, + "required": ["links", "opportunityId", "delete"], + "additionalProperties": false + }, + "ActionOutput_lever_updateopportunitylinks": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "headline": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "phones": { + "type": "array", + "items": { + "type": "string" + } + }, + "confidentiality": { + "type": "string" + }, + "location": { + "type": "string" + }, + "links": { + "type": "array", + "items": { "type": "string" + } + }, + "archived": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "archivedAt": { + "type": "number" + } }, - "text": { + "required": ["reason", "archivedAt"], + "additionalProperties": false + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "lastInteractionAt": { + "type": "number" + }, + "lastAdvancedAt": { + "type": "number" + }, + "snoozedUntil": { + "type": "number" + }, + "archivedAt": { + "type": "number" + }, + "archiveReason": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stageChanges": { + "type": "array", + "items": { "type": "string" } }, - "required": ["id", "text"], - "additionalProperties": false - } + "owner": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "origin": { + "type": "string" + }, + "sourcedBy": { + "type": "string" + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "resume": { + "type": "string" + }, + "followers": { + "type": "array", + "items": { + "type": "string" + } + }, + "urls": { + "type": "object", + "properties": { + "list": { + "type": "string" + }, + "show": { + "type": "string" + } + }, + "required": ["list", "show"], + "additionalProperties": false + }, + "dataProtection": { + "type": "object", + "additionalProperties": false + }, + "isAnonymized": { + "type": "boolean" + }, + "opportunityLocation": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], + "additionalProperties": false } }, - "required": ["stages"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunity": { + "ActionInput_lever_updateopportunitysources": { "type": "object", "properties": { "opportunityId": { @@ -46878,47 +49178,29 @@ "perform_as": { "type": "string" }, - "delete": { - "type": "boolean" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, "sources": { "type": "array", "items": { "type": "string" } }, - "stage": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "reason": { - "type": "string" - }, - "cleanInterviews": { + "delete": { "type": "boolean" - }, - "requisitionId": { - "type": "string" } }, - "required": ["opportunityId", "links", "sources", "tags"], + "required": ["opportunityId", "sources", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunity": { + "ActionOutput_lever_updateopportunitysources": { "type": "object", "properties": { - "data": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { "type": "object", "properties": { "id": { @@ -46967,6 +49249,7 @@ "type": "number" } }, + "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -46982,7 +49265,7 @@ "type": "number" }, "snoozedUntil": { - "type": ["number", "null"] + "type": "number" }, "archivedAt": { "type": "number" @@ -46996,33 +49279,7 @@ "stageChanges": { "type": "array", "items": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "toStageId": { - "type": "string" - }, - "toStageIndex": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "userId": { - "type": "string" - } - }, - "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], - "additionalProperties": false - }, - "1": { - "type": "string" - } - }, - "required": ["0", "1"], - "additionalProperties": false + "type": "string" } }, "owner": { @@ -47071,18 +49328,12 @@ "type": "string" } }, + "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "anyOf": [ - { - "type": "object", - "additionalProperties": false - }, - { - "type": "null" - } - ] + "type": "object", + "additionalProperties": false }, "isAnonymized": { "type": "boolean" @@ -47091,35 +49342,62 @@ "type": "string" } }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], "additionalProperties": false } }, - "required": ["data"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunityarchived": { + "ActionInput_lever_updateopportunitystage": { "type": "object", "properties": { "perform_as": { "type": "string" }, - "reason": { - "type": "string" - }, - "requisitionId": { + "stage": { "type": "string" }, "opportunityId": { "type": "string" - }, - "cleanInterviews": { - "type": "boolean" } }, - "required": ["reason", "opportunityId"], + "required": ["stage", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunityarchived": { + "ActionOutput_lever_updateopportunitystage": { "type": "object", "properties": { "success": { @@ -47309,29 +49587,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitylinks": { + "ActionInput_lever_updateopportunitytags": { "type": "object", "properties": { + "opportunityId": { + "type": "string" + }, "perform_as": { "type": "string" }, - "links": { + "tags": { "type": "array", "items": { "type": "string" } }, - "opportunityId": { - "type": "string" - }, "delete": { "type": "boolean" } }, - "required": ["links", "opportunityId", "delete"], + "required": ["opportunityId", "tags", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitylinks": { + "ActionOutput_lever_updateopportunitytags": { "type": "object", "properties": { "success": { @@ -47521,29 +49799,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitysources": { + "ActionInput_lever_updateopportunityarchived": { "type": "object", "properties": { - "opportunityId": { + "perform_as": { "type": "string" }, - "perform_as": { + "reason": { "type": "string" }, - "sources": { - "type": "array", - "items": { - "type": "string" - } + "requisitionId": { + "type": "string" }, - "delete": { + "opportunityId": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" } }, - "required": ["opportunityId", "sources", "delete"], + "required": ["reason", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitysources": { + "ActionOutput_lever_updateopportunityarchived": { "type": "object", "properties": { "success": { @@ -47733,23 +50011,159 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitystage": { + "ActionInput_lever_applyposting": { "type": "object", "properties": { - "perform_as": { + "postId": { "type": "string" }, - "stage": { + "send_confirmation_email": { + "type": "boolean" + }, + "personalInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "eeoResponses": { + "type": "object", + "additionalProperties": false + }, + "urls": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "CustomQuestions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + } + }, + "required": ["id", "fields"], + "additionalProperties": false + } + }, + "ipAddress": { "type": "string" }, - "opportunityId": { + "source": { + "type": "string" + }, + "consent": { + "type": "object", + "properties": { + "marketing": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + }, + "store": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + } + }, + "required": ["marketing", "store"], + "additionalProperties": false + }, + "diversitySurvey": { + "type": "object", + "properties": { + "surveyId": { + "type": "string" + }, + "candidateSelectedLocation": { + "type": "string" + }, + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "questionId": { + "type": "string" + }, + "questionText": { + "type": "string" + }, + "questionType": { + "type": "string" + }, + "answer": { + "type": "string" + } + }, + "required": ["questionId", "questionText", "questionType", "answer"], + "additionalProperties": false + } + } + }, + "required": ["surveyId", "candidateSelectedLocation", "responses"], + "additionalProperties": false + }, + "origin": { "type": "string" } }, - "required": ["stage", "opportunityId"], + "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitystage": { + "ActionOutput_lever_applyposting": { "type": "object", "properties": { "success": { @@ -47939,7 +50353,7 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitytags": { + "ActionInput_lever_updateopportunity": { "type": "object", "properties": { "opportunityId": { @@ -47948,29 +50362,47 @@ "perform_as": { "type": "string" }, + "delete": { + "type": "boolean" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "stage": { + "type": "string" + }, "tags": { "type": "array", "items": { "type": "string" } }, - "delete": { + "reason": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" + }, + "requisitionId": { + "type": "string" } }, - "required": ["opportunityId", "tags", "delete"], + "required": ["opportunityId", "links", "sources", "tags"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitytags": { + "ActionOutput_lever_updateopportunity": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { + "data": { "type": "object", "properties": { "id": { @@ -48019,7 +50451,6 @@ "type": "number" } }, - "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -48035,7 +50466,7 @@ "type": "number" }, "snoozedUntil": { - "type": "number" + "type": ["number", "null"] }, "archivedAt": { "type": "number" @@ -48049,7 +50480,33 @@ "stageChanges": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "toStageId": { + "type": "string" + }, + "toStageIndex": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "userId": { + "type": "string" + } + }, + "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], + "additionalProperties": false + }, + "1": { + "type": "string" + } + }, + "required": ["0", "1"], + "additionalProperties": false } }, "owner": { @@ -48098,12 +50555,18 @@ "type": "string" } }, - "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "type": "object", - "additionalProperties": false + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] }, "isAnonymized": { "type": "boolean" @@ -48112,147 +50575,21 @@ "type": "string" } }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], "additionalProperties": false } }, - "required": ["success", "response"], - "additionalProperties": false - }, - "ActionInput_lever_users": { - "type": "null" - }, - "ActionOutput_lever_users": { - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "accessRole": { - "type": "string" - }, - "photo": { - "type": ["string", "null"] - }, - "createdAt": { - "type": "number" - }, - "deactivatedAt": { - "type": ["string", "null"] - }, - "externalDirectoryId": { - "type": ["string", "null"] - }, - "linkedContactIds": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "jobTitle": { - "type": ["string", "null"] - }, - "managerId": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "name", - "username", - "email", - "accessRole", - "photo", - "createdAt", - "deactivatedAt", - "externalDirectoryId", - "linkedContactIds", - "jobTitle", - "managerId" - ], - "additionalProperties": false - } - } - }, - "required": ["users"], + "required": ["data"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "lever" }, { "providerConfigKey": "lever-basic-sandbox", "actions": [ - { - "type": "action", - "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", - "endpoint": { - "method": "POST", - "path": "/posts/apply", - "group": "Posts" - }, - "input": "ActionInput_lever_applyposting", - "name": "apply-posting", - "output": ["ActionOutput_lever_applyposting"], - "scopes": [], - "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], - "version": "1.0.0" - }, { "type": "action", "description": "Action to create a note and add it to an opportunity.", @@ -48285,33 +50622,33 @@ }, { "type": "action", - "description": "Get all archived reasons", + "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", "endpoint": { "method": "GET", - "path": "/archived/reasons", - "group": "Archived" + "path": "/stages/limited", + "group": "Stages" }, - "input": "ActionInput_lever_getarchivereasons", - "name": "get-archive-reasons", - "output": ["ActionOutput_lever_getarchivereasons"], + "input": "ActionInput_lever_getstages", + "name": "get-stages", + "output": ["ActionOutput_lever_getstages"], "scopes": [], - "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], - "version": "1.0.0" + "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], + "version": "2.0.0" }, { "type": "action", - "description": "Get single post for your account in Lever", + "description": "Lists all the users in your Lever account. Only active users are included by default.", "endpoint": { "method": "GET", - "path": "/posts/single", - "group": "Posts" + "path": "/users", + "group": "Users" }, - "input": "ActionInput_lever_getposting", - "name": "get-posting", - "output": ["ActionOutput_lever_getposting"], + "input": "ActionInput_lever_users", + "name": "users", + "output": ["ActionOutput_lever_users"], "scopes": [], - "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], - "version": "2.0.0" + "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "version": "1.0.0" }, { "type": "action", @@ -48330,47 +50667,32 @@ }, { "type": "action", - "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", + "description": "Get all archived reasons", "endpoint": { "method": "GET", - "path": "/stages/limited", - "group": "Stages" - }, - "input": "ActionInput_lever_getstages", - "name": "get-stages", - "output": ["ActionOutput_lever_getstages"], - "scopes": [], - "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Update an opportunity", - "endpoint": { - "method": "PATCH", - "path": "/opportunities", - "group": "Opportunities" + "path": "/archived/reasons", + "group": "Archived" }, - "input": "ActionInput_lever_updateopportunity", - "name": "update-opportunity", - "output": ["ActionOutput_lever_updateopportunity"], + "input": "ActionInput_lever_getarchivereasons", + "name": "get-archive-reasons", + "output": ["ActionOutput_lever_getarchivereasons"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], + "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], "version": "1.0.0" }, { "type": "action", - "description": "Update the archived state of an opportunity", + "description": "Get single post for your account in Lever", "endpoint": { - "method": "PUT", - "path": "/opportunities/archived", - "group": "Opportunities" + "method": "GET", + "path": "/posts/single", + "group": "Posts" }, - "input": "ActionInput_lever_updateopportunityarchived", - "name": "update-opportunity-archived", - "output": ["ActionOutput_lever_updateopportunityarchived"], + "input": "ActionInput_lever_getposting", + "name": "get-posting", + "output": ["ActionOutput_lever_getposting"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], "version": "2.0.0" }, { @@ -48435,17 +50757,47 @@ }, { "type": "action", - "description": "Lists all the users in your Lever account. Only active users are included by default.", + "description": "Update the archived state of an opportunity", "endpoint": { - "method": "GET", - "path": "/users", - "group": "Users" + "method": "PUT", + "path": "/opportunities/archived", + "group": "Opportunities" }, - "input": "ActionInput_lever_users", - "name": "users", - "output": ["ActionOutput_lever_users"], + "input": "ActionInput_lever_updateopportunityarchived", + "name": "update-opportunity-archived", + "output": ["ActionOutput_lever_updateopportunityarchived"], "scopes": [], - "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", + "endpoint": { + "method": "POST", + "path": "/posts/apply", + "group": "Posts" + }, + "input": "ActionInput_lever_applyposting", + "name": "apply-posting", + "output": ["ActionOutput_lever_applyposting"], + "scopes": [], + "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Update an opportunity", + "endpoint": { + "method": "PATCH", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_lever_updateopportunity", + "name": "update-opportunity", + "output": ["ActionOutput_lever_updateopportunity"], + "scopes": [], + "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], "version": "1.0.0" } ], @@ -48656,8 +51008,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lever_opportunities": { + "type": "object", + "additionalProperties": false + }, "LeverOpportunity": { "type": "object", "properties": { @@ -48835,7 +51190,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunities": { + "SyncMetadata_lever_opportunitiesapplications": { "type": "object", "additionalProperties": false }, @@ -48966,7 +51321,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesapplications": { + "SyncMetadata_lever_opportunitiesfeedbacks": { "type": "object", "additionalProperties": false }, @@ -49033,7 +51388,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesfeedbacks": { + "SyncMetadata_lever_opportunitiesinterviews": { "type": "object", "additionalProperties": false }, @@ -49126,7 +51481,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesinterviews": { + "SyncMetadata_lever_opportunitiesnotes": { "type": "object", "additionalProperties": false }, @@ -49164,7 +51519,7 @@ "required": ["id", "text", "fields", "user", "secret", "completedAt", "createdAt", "deletedAt"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesnotes": { + "SyncMetadata_lever_opportunitiesoffers": { "type": "object", "additionalProperties": false }, @@ -49225,7 +51580,7 @@ "required": ["id", "createdAt", "status", "creator", "fields", "sentDocument", "signedDocument"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesoffers": { + "SyncMetadata_lever_postings": { "type": "object", "additionalProperties": false }, @@ -49416,7 +51771,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_postings": { + "SyncMetadata_lever_postingsquestions": { "type": "object", "additionalProperties": false }, @@ -49457,7 +51812,7 @@ "required": ["id", "text", "customQuestions", "eeoQuestions", "personalInformation", "urls"], "additionalProperties": false }, - "SyncMetadata_lever_postingsquestions": { + "SyncMetadata_lever_stages": { "type": "object", "additionalProperties": false }, @@ -49474,352 +51829,6 @@ "required": ["id", "text"], "additionalProperties": false }, - "SyncMetadata_lever_stages": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_lever_applyposting": { - "type": "object", - "properties": { - "postId": { - "type": "string" - }, - "send_confirmation_email": { - "type": "boolean" - }, - "personalInformation": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "eeoResponses": { - "type": "object", - "additionalProperties": false - }, - "urls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "CustomQuestions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - } - }, - "required": ["id", "fields"], - "additionalProperties": false - } - }, - "ipAddress": { - "type": "string" - }, - "source": { - "type": "string" - }, - "consent": { - "type": "object", - "properties": { - "marketing": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - }, - "store": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - } - }, - "required": ["marketing", "store"], - "additionalProperties": false - }, - "diversitySurvey": { - "type": "object", - "properties": { - "surveyId": { - "type": "string" - }, - "candidateSelectedLocation": { - "type": "string" - }, - "responses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "questionId": { - "type": "string" - }, - "questionText": { - "type": "string" - }, - "questionType": { - "type": "string" - }, - "answer": { - "type": "string" - } - }, - "required": ["questionId", "questionText", "questionType", "answer"], - "additionalProperties": false - } - } - }, - "required": ["surveyId", "candidateSelectedLocation", "responses"], - "additionalProperties": false - }, - "origin": { - "type": "string" - } - }, - "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], - "additionalProperties": false - }, - "ActionOutput_lever_applyposting": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "headline": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "phones": { - "type": "array", - "items": { - "type": "string" - } - }, - "confidentiality": { - "type": "string" - }, - "location": { - "type": "string" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "archived": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "archivedAt": { - "type": "number" - } - }, - "required": ["reason", "archivedAt"], - "additionalProperties": false - }, - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "lastInteractionAt": { - "type": "number" - }, - "lastAdvancedAt": { - "type": "number" - }, - "snoozedUntil": { - "type": "number" - }, - "archivedAt": { - "type": "number" - }, - "archiveReason": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stageChanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "owner": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, - "origin": { - "type": "string" - }, - "sourcedBy": { - "type": "string" - }, - "applications": { - "type": "array", - "items": { - "type": "string" - } - }, - "resume": { - "type": "string" - }, - "followers": { - "type": "array", - "items": { - "type": "string" - } - }, - "urls": { - "type": "object", - "properties": { - "list": { - "type": "string" - }, - "show": { - "type": "string" - } - }, - "required": ["list", "show"], - "additionalProperties": false - }, - "dataProtection": { - "type": "object", - "additionalProperties": false - }, - "isAnonymized": { - "type": "boolean" - }, - "opportunityLocation": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], - "additionalProperties": false - } - }, - "required": ["success", "response"], - "additionalProperties": false - }, "ActionInput_lever_createnote": { "type": "object", "properties": { @@ -50187,10 +52196,115 @@ ], "additionalProperties": false }, - "ActionInput_lever_getarchivereasons": { + "ActionInput_lever_getstages": { "type": "null" }, - "ActionOutput_lever_getarchivereasons": { + "ActionOutput_lever_getstages": { + "type": "object", + "properties": { + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": ["id", "text"], + "additionalProperties": false + } + } + }, + "required": ["stages"], + "additionalProperties": false + }, + "ActionInput_lever_users": { + "type": "null" + }, + "ActionOutput_lever_users": { + "type": "object", + "properties": { + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "accessRole": { + "type": "string" + }, + "photo": { + "type": ["string", "null"] + }, + "createdAt": { + "type": "number" + }, + "deactivatedAt": { + "type": ["string", "null"] + }, + "externalDirectoryId": { + "type": ["string", "null"] + }, + "linkedContactIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "jobTitle": { + "type": ["string", "null"] + }, + "managerId": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "name", + "username", + "email", + "accessRole", + "photo", + "createdAt", + "deactivatedAt", + "externalDirectoryId", + "linkedContactIds", + "jobTitle", + "managerId" + ], + "additionalProperties": false + } + } + }, + "required": ["users"], + "additionalProperties": false + }, + "ActionInput_lever_getpostings": { + "type": "null" + }, + "ActionOutput_lever_getpostings": { "type": "object", "properties": { "success": { @@ -50380,17 +52494,10 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getposting": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false + "ActionInput_lever_getarchivereasons": { + "type": "null" }, - "ActionOutput_lever_getposting": { + "ActionOutput_lever_getarchivereasons": { "type": "object", "properties": { "success": { @@ -50580,10 +52687,17 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getpostings": { - "type": "null" + "ActionInput_lever_getposting": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false }, - "ActionOutput_lever_getpostings": { + "ActionOutput_lever_getposting": { "type": "object", "properties": { "success": { @@ -50773,33 +52887,219 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getstages": { - "type": "null" - }, - "ActionOutput_lever_getstages": { + "ActionInput_lever_updateopportunitylinks": { "type": "object", "properties": { - "stages": { + "perform_as": { + "type": "string" + }, + "links": { "type": "array", "items": { - "type": "object", - "properties": { - "id": { + "type": "string" + } + }, + "opportunityId": { + "type": "string" + }, + "delete": { + "type": "boolean" + } + }, + "required": ["links", "opportunityId", "delete"], + "additionalProperties": false + }, + "ActionOutput_lever_updateopportunitylinks": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "headline": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "phones": { + "type": "array", + "items": { + "type": "string" + } + }, + "confidentiality": { + "type": "string" + }, + "location": { + "type": "string" + }, + "links": { + "type": "array", + "items": { "type": "string" + } + }, + "archived": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "archivedAt": { + "type": "number" + } }, - "text": { + "required": ["reason", "archivedAt"], + "additionalProperties": false + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "lastInteractionAt": { + "type": "number" + }, + "lastAdvancedAt": { + "type": "number" + }, + "snoozedUntil": { + "type": "number" + }, + "archivedAt": { + "type": "number" + }, + "archiveReason": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stageChanges": { + "type": "array", + "items": { "type": "string" } }, - "required": ["id", "text"], - "additionalProperties": false - } + "owner": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "origin": { + "type": "string" + }, + "sourcedBy": { + "type": "string" + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "resume": { + "type": "string" + }, + "followers": { + "type": "array", + "items": { + "type": "string" + } + }, + "urls": { + "type": "object", + "properties": { + "list": { + "type": "string" + }, + "show": { + "type": "string" + } + }, + "required": ["list", "show"], + "additionalProperties": false + }, + "dataProtection": { + "type": "object", + "additionalProperties": false + }, + "isAnonymized": { + "type": "boolean" + }, + "opportunityLocation": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], + "additionalProperties": false } }, - "required": ["stages"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunity": { + "ActionInput_lever_updateopportunitysources": { "type": "object", "properties": { "opportunityId": { @@ -50808,47 +53108,29 @@ "perform_as": { "type": "string" }, - "delete": { - "type": "boolean" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, "sources": { "type": "array", "items": { "type": "string" } }, - "stage": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "reason": { - "type": "string" - }, - "cleanInterviews": { + "delete": { "type": "boolean" - }, - "requisitionId": { - "type": "string" } }, - "required": ["opportunityId", "links", "sources", "tags"], + "required": ["opportunityId", "sources", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunity": { + "ActionOutput_lever_updateopportunitysources": { "type": "object", "properties": { - "data": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { "type": "object", "properties": { "id": { @@ -50897,6 +53179,7 @@ "type": "number" } }, + "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -50912,7 +53195,7 @@ "type": "number" }, "snoozedUntil": { - "type": ["number", "null"] + "type": "number" }, "archivedAt": { "type": "number" @@ -50926,33 +53209,7 @@ "stageChanges": { "type": "array", "items": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "toStageId": { - "type": "string" - }, - "toStageIndex": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "userId": { - "type": "string" - } - }, - "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], - "additionalProperties": false - }, - "1": { - "type": "string" - } - }, - "required": ["0", "1"], - "additionalProperties": false + "type": "string" } }, "owner": { @@ -51001,18 +53258,12 @@ "type": "string" } }, + "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "anyOf": [ - { - "type": "object", - "additionalProperties": false - }, - { - "type": "null" - } - ] + "type": "object", + "additionalProperties": false }, "isAnonymized": { "type": "boolean" @@ -51021,35 +53272,62 @@ "type": "string" } }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], "additionalProperties": false } }, - "required": ["data"], + "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunityarchived": { + "ActionInput_lever_updateopportunitystage": { "type": "object", "properties": { "perform_as": { "type": "string" }, - "reason": { - "type": "string" - }, - "requisitionId": { + "stage": { "type": "string" }, "opportunityId": { "type": "string" - }, - "cleanInterviews": { - "type": "boolean" } }, - "required": ["reason", "opportunityId"], + "required": ["stage", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunityarchived": { + "ActionOutput_lever_updateopportunitystage": { "type": "object", "properties": { "success": { @@ -51239,29 +53517,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitylinks": { + "ActionInput_lever_updateopportunitytags": { "type": "object", "properties": { + "opportunityId": { + "type": "string" + }, "perform_as": { "type": "string" }, - "links": { + "tags": { "type": "array", "items": { "type": "string" } }, - "opportunityId": { - "type": "string" - }, "delete": { "type": "boolean" } }, - "required": ["links", "opportunityId", "delete"], + "required": ["opportunityId", "tags", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitylinks": { + "ActionOutput_lever_updateopportunitytags": { "type": "object", "properties": { "success": { @@ -51451,29 +53729,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitysources": { + "ActionInput_lever_updateopportunityarchived": { "type": "object", "properties": { - "opportunityId": { + "perform_as": { "type": "string" }, - "perform_as": { + "reason": { "type": "string" }, - "sources": { - "type": "array", - "items": { - "type": "string" - } + "requisitionId": { + "type": "string" }, - "delete": { + "opportunityId": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" } }, - "required": ["opportunityId", "sources", "delete"], + "required": ["reason", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitysources": { + "ActionOutput_lever_updateopportunityarchived": { "type": "object", "properties": { "success": { @@ -51663,23 +53941,159 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitystage": { + "ActionInput_lever_applyposting": { "type": "object", "properties": { - "perform_as": { + "postId": { "type": "string" }, - "stage": { + "send_confirmation_email": { + "type": "boolean" + }, + "personalInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "eeoResponses": { + "type": "object", + "additionalProperties": false + }, + "urls": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "CustomQuestions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + } + }, + "required": ["id", "fields"], + "additionalProperties": false + } + }, + "ipAddress": { "type": "string" }, - "opportunityId": { + "source": { + "type": "string" + }, + "consent": { + "type": "object", + "properties": { + "marketing": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + }, + "store": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + } + }, + "required": ["marketing", "store"], + "additionalProperties": false + }, + "diversitySurvey": { + "type": "object", + "properties": { + "surveyId": { + "type": "string" + }, + "candidateSelectedLocation": { + "type": "string" + }, + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "questionId": { + "type": "string" + }, + "questionText": { + "type": "string" + }, + "questionType": { + "type": "string" + }, + "answer": { + "type": "string" + } + }, + "required": ["questionId", "questionText", "questionType", "answer"], + "additionalProperties": false + } + } + }, + "required": ["surveyId", "candidateSelectedLocation", "responses"], + "additionalProperties": false + }, + "origin": { "type": "string" } }, - "required": ["stage", "opportunityId"], + "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitystage": { + "ActionOutput_lever_applyposting": { "type": "object", "properties": { "success": { @@ -51869,7 +54283,7 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitytags": { + "ActionInput_lever_updateopportunity": { "type": "object", "properties": { "opportunityId": { @@ -51878,29 +54292,47 @@ "perform_as": { "type": "string" }, + "delete": { + "type": "boolean" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "stage": { + "type": "string" + }, "tags": { "type": "array", "items": { "type": "string" } }, - "delete": { + "reason": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" + }, + "requisitionId": { + "type": "string" } }, - "required": ["opportunityId", "tags", "delete"], + "required": ["opportunityId", "links", "sources", "tags"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitytags": { + "ActionOutput_lever_updateopportunity": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { + "data": { "type": "object", "properties": { "id": { @@ -51949,7 +54381,6 @@ "type": "number" } }, - "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -51965,7 +54396,7 @@ "type": "number" }, "snoozedUntil": { - "type": "number" + "type": ["number", "null"] }, "archivedAt": { "type": "number" @@ -51979,7 +54410,33 @@ "stageChanges": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "toStageId": { + "type": "string" + }, + "toStageIndex": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "userId": { + "type": "string" + } + }, + "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], + "additionalProperties": false + }, + "1": { + "type": "string" + } + }, + "required": ["0", "1"], + "additionalProperties": false } }, "owner": { @@ -52028,12 +54485,18 @@ "type": "string" } }, - "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "type": "object", - "additionalProperties": false + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] }, "isAnonymized": { "type": "boolean" @@ -52042,147 +54505,21 @@ "type": "string" } }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], "additionalProperties": false } }, - "required": ["success", "response"], - "additionalProperties": false - }, - "ActionInput_lever_users": { - "type": "null" - }, - "ActionOutput_lever_users": { - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "accessRole": { - "type": "string" - }, - "photo": { - "type": ["string", "null"] - }, - "createdAt": { - "type": "number" - }, - "deactivatedAt": { - "type": ["string", "null"] - }, - "externalDirectoryId": { - "type": ["string", "null"] - }, - "linkedContactIds": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "jobTitle": { - "type": ["string", "null"] - }, - "managerId": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "name", - "username", - "email", - "accessRole", - "photo", - "createdAt", - "deactivatedAt", - "externalDirectoryId", - "linkedContactIds", - "jobTitle", - "managerId" - ], - "additionalProperties": false - } - } - }, - "required": ["users"], + "required": ["data"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "lever" }, { "providerConfigKey": "lever-sandbox", "actions": [ - { - "type": "action", - "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", - "endpoint": { - "method": "POST", - "path": "/posts/apply", - "group": "Posts" - }, - "input": "ActionInput_lever_applyposting", - "name": "apply-posting", - "output": ["ActionOutput_lever_applyposting"], - "scopes": [], - "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], - "version": "1.0.0" - }, { "type": "action", "description": "Action to create a note and add it to an opportunity.", @@ -52215,33 +54552,33 @@ }, { "type": "action", - "description": "Get all archived reasons", + "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", "endpoint": { "method": "GET", - "path": "/archived/reasons", - "group": "Archived" + "path": "/stages/limited", + "group": "Stages" }, - "input": "ActionInput_lever_getarchivereasons", - "name": "get-archive-reasons", - "output": ["ActionOutput_lever_getarchivereasons"], + "input": "ActionInput_lever_getstages", + "name": "get-stages", + "output": ["ActionOutput_lever_getstages"], "scopes": [], - "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], - "version": "1.0.0" + "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], + "version": "2.0.0" }, { "type": "action", - "description": "Get single post for your account in Lever", + "description": "Lists all the users in your Lever account. Only active users are included by default.", "endpoint": { "method": "GET", - "path": "/posts/single", - "group": "Posts" + "path": "/users", + "group": "Users" }, - "input": "ActionInput_lever_getposting", - "name": "get-posting", - "output": ["ActionOutput_lever_getposting"], + "input": "ActionInput_lever_users", + "name": "users", + "output": ["ActionOutput_lever_users"], "scopes": [], - "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], - "version": "2.0.0" + "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "version": "1.0.0" }, { "type": "action", @@ -52260,47 +54597,32 @@ }, { "type": "action", - "description": "Action to get lists all pipeline stages. Note that this does \nnot paginate the response so it is possible that not all stages \nare returned.", + "description": "Get all archived reasons", "endpoint": { "method": "GET", - "path": "/stages/limited", - "group": "Stages" - }, - "input": "ActionInput_lever_getstages", - "name": "get-stages", - "output": ["ActionOutput_lever_getstages"], - "scopes": [], - "usedModels": ["ActionInput_lever_getstages", "ActionOutput_lever_getstages"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Update an opportunity", - "endpoint": { - "method": "PATCH", - "path": "/opportunities", - "group": "Opportunities" + "path": "/archived/reasons", + "group": "Archived" }, - "input": "ActionInput_lever_updateopportunity", - "name": "update-opportunity", - "output": ["ActionOutput_lever_updateopportunity"], + "input": "ActionInput_lever_getarchivereasons", + "name": "get-archive-reasons", + "output": ["ActionOutput_lever_getarchivereasons"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], + "usedModels": ["ActionInput_lever_getarchivereasons", "ActionOutput_lever_getarchivereasons"], "version": "1.0.0" }, { "type": "action", - "description": "Update the archived state of an opportunity", + "description": "Get single post for your account in Lever", "endpoint": { - "method": "PUT", - "path": "/opportunities/archived", - "group": "Opportunities" + "method": "GET", + "path": "/posts/single", + "group": "Posts" }, - "input": "ActionInput_lever_updateopportunityarchived", - "name": "update-opportunity-archived", - "output": ["ActionOutput_lever_updateopportunityarchived"], + "input": "ActionInput_lever_getposting", + "name": "get-posting", + "output": ["ActionOutput_lever_getposting"], "scopes": [], - "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "usedModels": ["ActionInput_lever_getposting", "ActionOutput_lever_getposting"], "version": "2.0.0" }, { @@ -52365,17 +54687,47 @@ }, { "type": "action", - "description": "Lists all the users in your Lever account. Only active users are included by default.", + "description": "Update the archived state of an opportunity", "endpoint": { - "method": "GET", - "path": "/users", - "group": "Users" + "method": "PUT", + "path": "/opportunities/archived", + "group": "Opportunities" }, - "input": "ActionInput_lever_users", - "name": "users", - "output": ["ActionOutput_lever_users"], + "input": "ActionInput_lever_updateopportunityarchived", + "name": "update-opportunity-archived", + "output": ["ActionOutput_lever_updateopportunityarchived"], "scopes": [], - "usedModels": ["ActionInput_lever_users", "ActionOutput_lever_users"], + "usedModels": ["ActionInput_lever_updateopportunityarchived", "ActionOutput_lever_updateopportunityarchived"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Submit an application on behalf of a candidate. This endpoint can only be used to submit applications to published or unlisted postings.", + "endpoint": { + "method": "POST", + "path": "/posts/apply", + "group": "Posts" + }, + "input": "ActionInput_lever_applyposting", + "name": "apply-posting", + "output": ["ActionOutput_lever_applyposting"], + "scopes": [], + "usedModels": ["ActionInput_lever_applyposting", "ActionOutput_lever_applyposting"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Update an opportunity", + "endpoint": { + "method": "PATCH", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_lever_updateopportunity", + "name": "update-opportunity", + "output": ["ActionOutput_lever_updateopportunity"], + "scopes": [], + "usedModels": ["ActionInput_lever_updateopportunity", "ActionOutput_lever_updateopportunity"], "version": "1.0.0" } ], @@ -52586,8 +54938,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_lever_opportunities": { + "type": "object", + "additionalProperties": false + }, "LeverOpportunity": { "type": "object", "properties": { @@ -52765,7 +55120,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunities": { + "SyncMetadata_lever_opportunitiesapplications": { "type": "object", "additionalProperties": false }, @@ -52896,7 +55251,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesapplications": { + "SyncMetadata_lever_opportunitiesfeedbacks": { "type": "object", "additionalProperties": false }, @@ -52963,7 +55318,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesfeedbacks": { + "SyncMetadata_lever_opportunitiesinterviews": { "type": "object", "additionalProperties": false }, @@ -53056,7 +55411,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesinterviews": { + "SyncMetadata_lever_opportunitiesnotes": { "type": "object", "additionalProperties": false }, @@ -53094,7 +55449,7 @@ "required": ["id", "text", "fields", "user", "secret", "completedAt", "createdAt", "deletedAt"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesnotes": { + "SyncMetadata_lever_opportunitiesoffers": { "type": "object", "additionalProperties": false }, @@ -53155,7 +55510,7 @@ "required": ["id", "createdAt", "status", "creator", "fields", "sentDocument", "signedDocument"], "additionalProperties": false }, - "SyncMetadata_lever_opportunitiesoffers": { + "SyncMetadata_lever_postings": { "type": "object", "additionalProperties": false }, @@ -53346,7 +55701,7 @@ ], "additionalProperties": false }, - "SyncMetadata_lever_postings": { + "SyncMetadata_lever_postingsquestions": { "type": "object", "additionalProperties": false }, @@ -53387,7 +55742,7 @@ "required": ["id", "text", "customQuestions", "eeoQuestions", "personalInformation", "urls"], "additionalProperties": false }, - "SyncMetadata_lever_postingsquestions": { + "SyncMetadata_lever_stages": { "type": "object", "additionalProperties": false }, @@ -53401,353 +55756,7 @@ "type": "string" } }, - "required": ["id", "text"], - "additionalProperties": false - }, - "SyncMetadata_lever_stages": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_lever_applyposting": { - "type": "object", - "properties": { - "postId": { - "type": "string" - }, - "send_confirmation_email": { - "type": "boolean" - }, - "personalInformation": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "eeoResponses": { - "type": "object", - "additionalProperties": false - }, - "urls": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["name", "value"], - "additionalProperties": false - } - }, - "CustomQuestions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - } - }, - "required": ["id", "fields"], - "additionalProperties": false - } - }, - "ipAddress": { - "type": "string" - }, - "source": { - "type": "string" - }, - "consent": { - "type": "object", - "properties": { - "marketing": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - }, - "store": { - "type": "object", - "properties": { - "provided": { - "type": "boolean" - }, - "compliancePolicyId": { - "type": "string" - } - }, - "required": ["provided", "compliancePolicyId"], - "additionalProperties": false - } - }, - "required": ["marketing", "store"], - "additionalProperties": false - }, - "diversitySurvey": { - "type": "object", - "properties": { - "surveyId": { - "type": "string" - }, - "candidateSelectedLocation": { - "type": "string" - }, - "responses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "questionId": { - "type": "string" - }, - "questionText": { - "type": "string" - }, - "questionType": { - "type": "string" - }, - "answer": { - "type": "string" - } - }, - "required": ["questionId", "questionText", "questionType", "answer"], - "additionalProperties": false - } - } - }, - "required": ["surveyId", "candidateSelectedLocation", "responses"], - "additionalProperties": false - }, - "origin": { - "type": "string" - } - }, - "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], - "additionalProperties": false - }, - "ActionOutput_lever_applyposting": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "headline": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "phones": { - "type": "array", - "items": { - "type": "string" - } - }, - "confidentiality": { - "type": "string" - }, - "location": { - "type": "string" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "archived": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "archivedAt": { - "type": "number" - } - }, - "required": ["reason", "archivedAt"], - "additionalProperties": false - }, - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "lastInteractionAt": { - "type": "number" - }, - "lastAdvancedAt": { - "type": "number" - }, - "snoozedUntil": { - "type": "number" - }, - "archivedAt": { - "type": "number" - }, - "archiveReason": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stageChanges": { - "type": "array", - "items": { - "type": "string" - } - }, - "owner": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, - "origin": { - "type": "string" - }, - "sourcedBy": { - "type": "string" - }, - "applications": { - "type": "array", - "items": { - "type": "string" - } - }, - "resume": { - "type": "string" - }, - "followers": { - "type": "array", - "items": { - "type": "string" - } - }, - "urls": { - "type": "object", - "properties": { - "list": { - "type": "string" - }, - "show": { - "type": "string" - } - }, - "required": ["list", "show"], - "additionalProperties": false - }, - "dataProtection": { - "type": "object", - "additionalProperties": false - }, - "isAnonymized": { - "type": "boolean" - }, - "opportunityLocation": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], - "additionalProperties": false - } - }, - "required": ["success", "response"], + "required": ["id", "text"], "additionalProperties": false }, "ActionInput_lever_createnote": { @@ -54117,6 +56126,304 @@ ], "additionalProperties": false }, + "ActionInput_lever_getstages": { + "type": "null" + }, + "ActionOutput_lever_getstages": { + "type": "object", + "properties": { + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": ["id", "text"], + "additionalProperties": false + } + } + }, + "required": ["stages"], + "additionalProperties": false + }, + "ActionInput_lever_users": { + "type": "null" + }, + "ActionOutput_lever_users": { + "type": "object", + "properties": { + "users": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "accessRole": { + "type": "string" + }, + "photo": { + "type": ["string", "null"] + }, + "createdAt": { + "type": "number" + }, + "deactivatedAt": { + "type": ["string", "null"] + }, + "externalDirectoryId": { + "type": ["string", "null"] + }, + "linkedContactIds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "jobTitle": { + "type": ["string", "null"] + }, + "managerId": { + "type": ["string", "null"] + } + }, + "required": [ + "id", + "name", + "username", + "email", + "accessRole", + "photo", + "createdAt", + "deactivatedAt", + "externalDirectoryId", + "linkedContactIds", + "jobTitle", + "managerId" + ], + "additionalProperties": false + } + } + }, + "required": ["users"], + "additionalProperties": false + }, + "ActionInput_lever_getpostings": { + "type": "null" + }, + "ActionOutput_lever_getpostings": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "headline": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "phones": { + "type": "array", + "items": { + "type": "string" + } + }, + "confidentiality": { + "type": "string" + }, + "location": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "archived": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "archivedAt": { + "type": "number" + } + }, + "required": ["reason", "archivedAt"], + "additionalProperties": false + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "lastInteractionAt": { + "type": "number" + }, + "lastAdvancedAt": { + "type": "number" + }, + "snoozedUntil": { + "type": "number" + }, + "archivedAt": { + "type": "number" + }, + "archiveReason": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stageChanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "owner": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "origin": { + "type": "string" + }, + "sourcedBy": { + "type": "string" + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "resume": { + "type": "string" + }, + "followers": { + "type": "array", + "items": { + "type": "string" + } + }, + "urls": { + "type": "object", + "properties": { + "list": { + "type": "string" + }, + "show": { + "type": "string" + } + }, + "required": ["list", "show"], + "additionalProperties": false + }, + "dataProtection": { + "type": "object", + "additionalProperties": false + }, + "isAnonymized": { + "type": "boolean" + }, + "opportunityLocation": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], + "additionalProperties": false + } + }, + "required": ["success", "response"], + "additionalProperties": false + }, "ActionInput_lever_getarchivereasons": { "type": "null" }, @@ -54510,10 +56817,241 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getpostings": { - "type": "null" + "ActionInput_lever_updateopportunitylinks": { + "type": "object", + "properties": { + "perform_as": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "opportunityId": { + "type": "string" + }, + "delete": { + "type": "boolean" + } + }, + "required": ["links", "opportunityId", "delete"], + "additionalProperties": false + }, + "ActionOutput_lever_updateopportunitylinks": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "opportunityId": { + "type": "string" + }, + "response": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "headline": { + "type": "string" + }, + "contact": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "phones": { + "type": "array", + "items": { + "type": "string" + } + }, + "confidentiality": { + "type": "string" + }, + "location": { + "type": "string" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "archived": { + "type": "object", + "properties": { + "reason": { + "type": "string" + }, + "archivedAt": { + "type": "number" + } + }, + "required": ["reason", "archivedAt"], + "additionalProperties": false + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "lastInteractionAt": { + "type": "number" + }, + "lastAdvancedAt": { + "type": "number" + }, + "snoozedUntil": { + "type": "number" + }, + "archivedAt": { + "type": "number" + }, + "archiveReason": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "stageChanges": { + "type": "array", + "items": { + "type": "string" + } + }, + "owner": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "origin": { + "type": "string" + }, + "sourcedBy": { + "type": "string" + }, + "applications": { + "type": "array", + "items": { + "type": "string" + } + }, + "resume": { + "type": "string" + }, + "followers": { + "type": "array", + "items": { + "type": "string" + } + }, + "urls": { + "type": "object", + "properties": { + "list": { + "type": "string" + }, + "show": { + "type": "string" + } + }, + "required": ["list", "show"], + "additionalProperties": false + }, + "dataProtection": { + "type": "object", + "additionalProperties": false + }, + "isAnonymized": { + "type": "boolean" + }, + "opportunityLocation": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "headline", + "contact", + "emails", + "phones", + "confidentiality", + "location", + "links", + "archived", + "createdAt", + "updatedAt", + "lastInteractionAt", + "lastAdvancedAt", + "snoozedUntil", + "archivedAt", + "archiveReason", + "stage", + "stageChanges", + "owner", + "tags", + "sources", + "origin", + "sourcedBy", + "applications", + "resume", + "followers", + "urls", + "dataProtection", + "isAnonymized", + "opportunityLocation" + ], + "additionalProperties": false + } + }, + "required": ["success", "response"], + "additionalProperties": false + }, + "ActionInput_lever_updateopportunitysources": { + "type": "object", + "properties": { + "opportunityId": { + "type": "string" + }, + "perform_as": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "delete": { + "type": "boolean" + } + }, + "required": ["opportunityId", "sources", "delete"], + "additionalProperties": false }, - "ActionOutput_lever_getpostings": { + "ActionOutput_lever_updateopportunitysources": { "type": "object", "properties": { "success": { @@ -54703,283 +57241,23 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_getstages": { - "type": "null" - }, - "ActionOutput_lever_getstages": { - "type": "object", - "properties": { - "stages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["id", "text"], - "additionalProperties": false - } - } - }, - "required": ["stages"], - "additionalProperties": false - }, - "ActionInput_lever_updateopportunity": { + "ActionInput_lever_updateopportunitystage": { "type": "object", "properties": { - "opportunityId": { - "type": "string" - }, "perform_as": { "type": "string" }, - "delete": { - "type": "boolean" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, "stage": { "type": "string" }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "reason": { - "type": "string" - }, - "cleanInterviews": { - "type": "boolean" - }, - "requisitionId": { - "type": "string" - } - }, - "required": ["opportunityId", "links", "sources", "tags"], - "additionalProperties": false - }, - "ActionOutput_lever_updateopportunity": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "headline": { - "type": "string" - }, - "contact": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "phones": { - "type": "array", - "items": { - "type": "string" - } - }, - "confidentiality": { - "type": "string" - }, - "location": { - "type": "string" - }, - "links": { - "type": "array", - "items": { - "type": "string" - } - }, - "archived": { - "type": "object", - "properties": { - "reason": { - "type": "string" - }, - "archivedAt": { - "type": "number" - } - }, - "additionalProperties": false - }, - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "lastInteractionAt": { - "type": "number" - }, - "lastAdvancedAt": { - "type": "number" - }, - "snoozedUntil": { - "type": ["number", "null"] - }, - "archivedAt": { - "type": "number" - }, - "archiveReason": { - "type": "string" - }, - "stage": { - "type": "string" - }, - "stageChanges": { - "type": "array", - "items": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "toStageId": { - "type": "string" - }, - "toStageIndex": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "userId": { - "type": "string" - } - }, - "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], - "additionalProperties": false - }, - "1": { - "type": "string" - } - }, - "required": ["0", "1"], - "additionalProperties": false - } - }, - "owner": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "sources": { - "type": "array", - "items": { - "type": "string" - } - }, - "origin": { - "type": "string" - }, - "sourcedBy": { - "type": "string" - }, - "applications": { - "type": "array", - "items": { - "type": "string" - } - }, - "resume": { - "type": "string" - }, - "followers": { - "type": "array", - "items": { - "type": "string" - } - }, - "urls": { - "type": "object", - "properties": { - "list": { - "type": "string" - }, - "show": { - "type": "string" - } - }, - "additionalProperties": false - }, - "dataProtection": { - "anyOf": [ - { - "type": "object", - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "isAnonymized": { - "type": "boolean" - }, - "opportunityLocation": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["data"], - "additionalProperties": false - }, - "ActionInput_lever_updateopportunityarchived": { - "type": "object", - "properties": { - "perform_as": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "requisitionId": { - "type": "string" - }, "opportunityId": { "type": "string" - }, - "cleanInterviews": { - "type": "boolean" } }, - "required": ["reason", "opportunityId"], + "required": ["stage", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunityarchived": { + "ActionOutput_lever_updateopportunitystage": { "type": "object", "properties": { "success": { @@ -55169,29 +57447,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitylinks": { + "ActionInput_lever_updateopportunitytags": { "type": "object", "properties": { + "opportunityId": { + "type": "string" + }, "perform_as": { "type": "string" }, - "links": { + "tags": { "type": "array", "items": { "type": "string" } }, - "opportunityId": { - "type": "string" - }, "delete": { "type": "boolean" } }, - "required": ["links", "opportunityId", "delete"], + "required": ["opportunityId", "tags", "delete"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitylinks": { + "ActionOutput_lever_updateopportunitytags": { "type": "object", "properties": { "success": { @@ -55381,29 +57659,29 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitysources": { + "ActionInput_lever_updateopportunityarchived": { "type": "object", "properties": { - "opportunityId": { + "perform_as": { "type": "string" }, - "perform_as": { + "reason": { "type": "string" }, - "sources": { - "type": "array", - "items": { - "type": "string" - } + "requisitionId": { + "type": "string" }, - "delete": { + "opportunityId": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" } }, - "required": ["opportunityId", "sources", "delete"], + "required": ["reason", "opportunityId"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitysources": { + "ActionOutput_lever_updateopportunityarchived": { "type": "object", "properties": { "success": { @@ -55593,23 +57871,159 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitystage": { + "ActionInput_lever_applyposting": { "type": "object", "properties": { - "perform_as": { + "postId": { "type": "string" }, - "stage": { + "send_confirmation_email": { + "type": "boolean" + }, + "personalInformation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "eeoResponses": { + "type": "object", + "additionalProperties": false + }, + "urls": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["name", "value"], + "additionalProperties": false + } + }, + "CustomQuestions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + } + }, + "required": ["id", "fields"], + "additionalProperties": false + } + }, + "ipAddress": { "type": "string" }, - "opportunityId": { + "source": { + "type": "string" + }, + "consent": { + "type": "object", + "properties": { + "marketing": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + }, + "store": { + "type": "object", + "properties": { + "provided": { + "type": "boolean" + }, + "compliancePolicyId": { + "type": "string" + } + }, + "required": ["provided", "compliancePolicyId"], + "additionalProperties": false + } + }, + "required": ["marketing", "store"], + "additionalProperties": false + }, + "diversitySurvey": { + "type": "object", + "properties": { + "surveyId": { + "type": "string" + }, + "candidateSelectedLocation": { + "type": "string" + }, + "responses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "questionId": { + "type": "string" + }, + "questionText": { + "type": "string" + }, + "questionType": { + "type": "string" + }, + "answer": { + "type": "string" + } + }, + "required": ["questionId", "questionText", "questionType", "answer"], + "additionalProperties": false + } + } + }, + "required": ["surveyId", "candidateSelectedLocation", "responses"], + "additionalProperties": false + }, + "origin": { "type": "string" } }, - "required": ["stage", "opportunityId"], + "required": ["postId", "personalInformation", "eeoResponses", "urls", "CustomQuestions"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitystage": { + "ActionOutput_lever_applyposting": { "type": "object", "properties": { "success": { @@ -55799,7 +58213,7 @@ "required": ["success", "response"], "additionalProperties": false }, - "ActionInput_lever_updateopportunitytags": { + "ActionInput_lever_updateopportunity": { "type": "object", "properties": { "opportunityId": { @@ -55808,29 +58222,47 @@ "perform_as": { "type": "string" }, + "delete": { + "type": "boolean" + }, + "links": { + "type": "array", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "items": { + "type": "string" + } + }, + "stage": { + "type": "string" + }, "tags": { "type": "array", "items": { "type": "string" } }, - "delete": { + "reason": { + "type": "string" + }, + "cleanInterviews": { "type": "boolean" + }, + "requisitionId": { + "type": "string" } }, - "required": ["opportunityId", "tags", "delete"], + "required": ["opportunityId", "links", "sources", "tags"], "additionalProperties": false }, - "ActionOutput_lever_updateopportunitytags": { + "ActionOutput_lever_updateopportunity": { "type": "object", "properties": { - "success": { - "type": "boolean" - }, - "opportunityId": { - "type": "string" - }, - "response": { + "data": { "type": "object", "properties": { "id": { @@ -55879,7 +58311,6 @@ "type": "number" } }, - "required": ["reason", "archivedAt"], "additionalProperties": false }, "createdAt": { @@ -55895,7 +58326,7 @@ "type": "number" }, "snoozedUntil": { - "type": "number" + "type": ["number", "null"] }, "archivedAt": { "type": "number" @@ -55909,7 +58340,33 @@ "stageChanges": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "toStageId": { + "type": "string" + }, + "toStageIndex": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "userId": { + "type": "string" + } + }, + "required": ["toStageId", "toStageIndex", "updatedAt", "userId"], + "additionalProperties": false + }, + "1": { + "type": "string" + } + }, + "required": ["0", "1"], + "additionalProperties": false } }, "owner": { @@ -55958,12 +58415,18 @@ "type": "string" } }, - "required": ["list", "show"], "additionalProperties": false }, "dataProtection": { - "type": "object", - "additionalProperties": false + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] }, "isAnonymized": { "type": "boolean" @@ -55972,147 +58435,21 @@ "type": "string" } }, - "required": [ - "id", - "name", - "headline", - "contact", - "emails", - "phones", - "confidentiality", - "location", - "links", - "archived", - "createdAt", - "updatedAt", - "lastInteractionAt", - "lastAdvancedAt", - "snoozedUntil", - "archivedAt", - "archiveReason", - "stage", - "stageChanges", - "owner", - "tags", - "sources", - "origin", - "sourcedBy", - "applications", - "resume", - "followers", - "urls", - "dataProtection", - "isAnonymized", - "opportunityLocation" - ], "additionalProperties": false } }, - "required": ["success", "response"], - "additionalProperties": false - }, - "ActionInput_lever_users": { - "type": "null" - }, - "ActionOutput_lever_users": { - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "accessRole": { - "type": "string" - }, - "photo": { - "type": ["string", "null"] - }, - "createdAt": { - "type": "number" - }, - "deactivatedAt": { - "type": ["string", "null"] - }, - "externalDirectoryId": { - "type": ["string", "null"] - }, - "linkedContactIds": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "jobTitle": { - "type": ["string", "null"] - }, - "managerId": { - "type": ["string", "null"] - } - }, - "required": [ - "id", - "name", - "username", - "email", - "accessRole", - "photo", - "createdAt", - "deactivatedAt", - "externalDirectoryId", - "linkedContactIds", - "jobTitle", - "managerId" - ], - "additionalProperties": false - } - } - }, - "required": ["users"], + "required": ["data"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "lever" }, { "providerConfigKey": "linear", "actions": [ - { - "type": "action", - "description": "Create an issue in Linear", - "endpoint": { - "method": "POST", - "path": "/issues", - "group": "Issues" - }, - "input": "ActionInput_linear_createissue", - "name": "create-issue", - "output": ["ActionOutput_linear_createissue"], - "scopes": ["issues:create"], - "usedModels": ["ActionInput_linear_createissue", "ActionOutput_linear_createissue"], - "version": "2.0.0" - }, { "type": "action", "description": "Introspection endpoint to fetch the fields available per a model", @@ -56143,6 +58480,21 @@ "usedModels": ["ActionInput_linear_fetchmodels", "ActionOutput_linear_fetchmodels"], "version": "1.0.0" }, + { + "type": "action", + "description": "Create an issue in Linear", + "endpoint": { + "method": "POST", + "path": "/issues", + "group": "Issues" + }, + "input": "ActionInput_linear_createissue", + "name": "create-issue", + "output": ["ActionOutput_linear_createissue"], + "scopes": ["issues:create"], + "usedModels": ["ActionInput_linear_createissue", "ActionOutput_linear_createissue"], + "version": "2.0.0" + }, { "type": "action", "description": "Fetch the teams from Linear", @@ -56182,28 +58534,6 @@ "version": "2.0.0", "webhookSubscriptions": [] }, - { - "type": "sync", - "description": "Fetches a list of milesontes from Linear", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/milestones", - "group": "Milestones" - } - ], - "input": "SyncMetadata_linear_milestones", - "name": "milestones", - "output": ["LinearMilestone"], - "runs": "every 6min", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["LinearMilestone", "SyncMetadata_linear_milestones"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches a list of projects from Linear", @@ -56228,23 +58558,23 @@ }, { "type": "sync", - "description": "Fetches a list of roadmaps from Linear", + "description": "Fetches a list of users from Linear", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/roadmaps", - "group": "Roadmaps" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_linear_roadmaps", - "name": "roadmaps", - "output": ["LinearRoadmap"], + "input": "SyncMetadata_linear_users", + "name": "users", + "output": ["LinearUser"], "runs": "every 5min", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["LinearRoadmap", "SyncMetadata_linear_roadmaps"], + "usedModels": ["LinearUser", "SyncMetadata_linear_users"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -56272,25 +58602,47 @@ }, { "type": "sync", - "description": "Fetches a list of users from Linear", + "description": "Fetches a list of roadmaps from Linear", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/roadmaps", + "group": "Roadmaps" } ], - "input": "SyncMetadata_linear_users", - "name": "users", - "output": ["LinearUser"], + "input": "SyncMetadata_linear_roadmaps", + "name": "roadmaps", + "output": ["LinearRoadmap"], "runs": "every 5min", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["LinearUser", "SyncMetadata_linear_users"], + "usedModels": ["LinearRoadmap", "SyncMetadata_linear_roadmaps"], "version": "2.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of milesontes from Linear", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/milestones", + "group": "Milestones" + } + ], + "input": "SyncMetadata_linear_milestones", + "name": "milestones", + "output": ["LinearMilestone"], + "runs": "every 6min", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["LinearMilestone", "SyncMetadata_linear_milestones"], + "version": "1.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -56300,8 +58652,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_linear_issues": { + "type": "object", + "additionalProperties": false + }, "LinearIssue": { "type": "object", "properties": { @@ -56358,21 +58713,21 @@ ], "additionalProperties": false }, - "SyncMetadata_linear_issues": { + "SyncMetadata_linear_projects": { "type": "object", "additionalProperties": false }, - "LinearMilestone": { + "LinearProject": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "url": { "type": "string" }, - "progress": { - "type": "number" + "name": { + "type": "string" }, "description": { "type": ["string", "null"] @@ -56383,37 +58738,50 @@ "updatedAt": { "type": "string" }, - "status": { + "teamId": { "type": "string" - }, - "project": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false } }, - "required": ["id", "name", "progress", "description", "createdAt", "updatedAt", "status", "project"], + "required": ["id", "url", "name", "description", "createdAt", "updatedAt", "teamId"], "additionalProperties": false }, - "SyncMetadata_linear_milestones": { + "SyncMetadata_linear_users": { "type": "object", "additionalProperties": false }, - "LinearProject": { + "LinearUser": { "type": "object", "properties": { "id": { "type": "string" }, - "url": { + "admin": { + "type": "boolean" + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "avatarUrl": { + "type": ["string", "null"] + } + }, + "required": ["id", "admin", "email", "firstName", "avatarUrl"], + "additionalProperties": false + }, + "SyncMetadata_linear_teams": { + "type": "object", + "additionalProperties": false + }, + "LinearTeam": { + "type": "object", + "properties": { + "id": { "type": "string" }, "name": { @@ -56427,15 +58795,12 @@ }, "updatedAt": { "type": "string" - }, - "teamId": { - "type": "string" } }, - "required": ["id", "url", "name", "description", "createdAt", "updatedAt", "teamId"], + "required": ["id", "name", "description", "createdAt", "updatedAt"], "additionalProperties": false }, - "SyncMetadata_linear_projects": { + "SyncMetadata_linear_roadmaps": { "type": "object", "additionalProperties": false }, @@ -56467,11 +58832,11 @@ "required": ["id", "name", "description", "createdAt", "updatedAt", "teamId", "projectIds"], "additionalProperties": false }, - "SyncMetadata_linear_roadmaps": { + "SyncMetadata_linear_milestones": { "type": "object", "additionalProperties": false }, - "LinearTeam": { + "LinearMilestone": { "type": "object", "properties": { "id": { @@ -56480,6 +58845,9 @@ "name": { "type": "string" }, + "progress": { + "type": "number" + }, "description": { "type": ["string", "null"] }, @@ -56488,42 +58856,72 @@ }, "updatedAt": { "type": "string" + }, + "status": { + "type": "string" + }, + "project": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false } }, - "required": ["id", "name", "description", "createdAt", "updatedAt"], + "required": ["id", "name", "progress", "description", "createdAt", "updatedAt", "status", "project"], "additionalProperties": false }, - "SyncMetadata_linear_teams": { + "ActionInput_linear_fetchfields": { "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], "additionalProperties": false }, - "LinearUser": { + "ActionOutput_linear_fetchfields": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "admin": { - "type": "boolean" - }, - "email": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "avatarUrl": { - "type": ["string", "null"] + "fields": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false + } } }, - "required": ["id", "admin", "email", "firstName", "avatarUrl"], + "required": ["fields"], "additionalProperties": false }, - "SyncMetadata_linear_users": { + "ActionInput_linear_fetchmodels": { + "type": "null" + }, + "ActionOutput_linear_fetchmodels": { "type": "object", + "properties": { + "models": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + } + } + }, + "required": ["models"], "additionalProperties": false }, "ActionInput_linear_createissue": { @@ -56619,53 +59017,6 @@ ], "additionalProperties": false }, - "ActionInput_linear_fetchfields": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_linear_fetchfields": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false - } - } - }, - "required": ["fields"], - "additionalProperties": false - }, - "ActionInput_linear_fetchmodels": { - "type": "null" - }, - "ActionOutput_linear_fetchmodels": { - "type": "object", - "properties": { - "models": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - } - } - }, - "required": ["models"], - "additionalProperties": false - }, "ActionInput_linear_fetchteams": { "type": "object", "properties": { @@ -56714,9 +59065,10 @@ "required": ["teams", "pageInfo"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -56768,8 +59120,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_linkedin_messages": { + "type": "object", + "additionalProperties": false + }, "LinkedInMessage": { "type": "object", "properties": { @@ -56954,10 +59309,6 @@ ], "additionalProperties": false }, - "SyncMetadata_linkedin_messages": { - "type": "object", - "additionalProperties": false - }, "ActionInput_linkedin_post": { "type": "object", "properties": { @@ -56987,9 +59338,10 @@ "required": ["succcess"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -57025,8 +59377,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_luma_listevents": { + "type": "object", + "additionalProperties": false + }, "Event": { "type": "object", "properties": { @@ -57170,14 +59525,11 @@ "zoom_meeting_url" ], "additionalProperties": false - }, - "SyncMetadata_luma_listevents": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -57215,17 +59567,17 @@ }, { "type": "action", - "description": "Enables a disabled user.", + "description": "Updates an existing, active user in Metabase.", "endpoint": { "method": "PUT", - "path": "/users/enable", + "path": "/users", "group": "Users" }, - "input": "ActionInput_metabase_enableuser", - "name": "enable-user", - "output": ["ActionOutput_metabase_enableuser"], + "input": "ActionInput_metabase_updateuser", + "name": "update-user", + "output": ["ActionOutput_metabase_updateuser"], "scopes": [], - "usedModels": ["ActionInput_metabase_enableuser", "ActionOutput_metabase_enableuser"], + "usedModels": ["ActionInput_metabase_updateuser", "ActionOutput_metabase_updateuser"], "version": "1.0.0" }, { @@ -57245,17 +59597,17 @@ }, { "type": "action", - "description": "Updates an existing, active user in Metabase.", + "description": "Enables a disabled user.", "endpoint": { "method": "PUT", - "path": "/users", + "path": "/users/enable", "group": "Users" }, - "input": "ActionInput_metabase_updateuser", - "name": "update-user", - "output": ["ActionOutput_metabase_updateuser"], + "input": "ActionInput_metabase_enableuser", + "name": "enable-user", + "output": ["ActionOutput_metabase_enableuser"], "scopes": [], - "usedModels": ["ActionInput_metabase_updateuser", "ActionOutput_metabase_updateuser"], + "usedModels": ["ActionInput_metabase_enableuser", "ActionOutput_metabase_enableuser"], "version": "1.0.0" } ], @@ -57290,8 +59642,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_metabase_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { @@ -57306,15 +59661,14 @@ }, "email": { "type": "string" + }, + "active": { + "type": "boolean" } }, "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_metabase_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_metabase_createuser": { "type": "object", "properties": { @@ -57373,17 +59727,35 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_metabase_enableuser": { + "ActionInput_metabase_updateuser": { "type": "object", "properties": { "id": { "type": "number" + }, + "email": { + "type": ["string", "null"] + }, + "first_name": { + "type": ["string", "null"] + }, + "last_name": { + "type": ["string", "null"] + }, + "is_group_manager": { + "type": ["boolean", "null"] + }, + "locale": { + "type": ["string", "null"] + }, + "is_superuser": { + "type": ["boolean", "null"] } }, - "required": ["id"], + "required": ["id", "email", "first_name", "last_name", "is_group_manager", "locale", "is_superuser"], "additionalProperties": false }, - "ActionOutput_metabase_enableuser": { + "ActionOutput_metabase_updateuser": { "type": "object", "properties": { "success": { @@ -57425,35 +59797,17 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "ActionInput_metabase_updateuser": { + "ActionInput_metabase_enableuser": { "type": "object", "properties": { "id": { "type": "number" - }, - "email": { - "type": ["string", "null"] - }, - "first_name": { - "type": ["string", "null"] - }, - "last_name": { - "type": ["string", "null"] - }, - "is_group_manager": { - "type": ["boolean", "null"] - }, - "locale": { - "type": ["string", "null"] - }, - "is_superuser": { - "type": ["boolean", "null"] } }, - "required": ["id", "email", "first_name", "last_name", "is_group_manager", "locale", "is_superuser"], + "required": ["id"], "additionalProperties": false }, - "ActionOutput_metabase_updateuser": { + "ActionOutput_metabase_enableuser": { "type": "object", "properties": { "success": { @@ -57463,37 +59817,16 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "microsoft-teams", "actions": [], "syncs": [ - { - "type": "sync", - "description": "Continuously fetches messages from Microsoft Teams channels and chats.\nDetails: incremental sync, goes back 10 days on first sync, metadata tracks last sync per channel/chat.", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/messages", - "group": "Messsages" - } - ], - "input": "SyncMetadata_microsoft_teams_messages", - "name": "messages", - "output": ["TeamsMessage"], - "runs": "every hour", - "scopes": ["ChannelMessage.Read.All", "Chat.Read.All"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["TeamsMessage", "SyncMetadata_microsoft_teams_messages"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Continuously fetches groups from either Microsoft 365 or Azure Active\nDirectory.\nDetails: full refresh, support deletes, goes back all time, metadata\nis not required.", @@ -57537,6 +59870,28 @@ "usedModels": ["User", "SyncMetadata_microsoft_teams_users"], "version": "2.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Continuously fetches messages from Microsoft Teams channels and chats.\nDetails: incremental sync, goes back 10 days on first sync, metadata tracks last sync per channel/chat.", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/messages", + "group": "Messsages" + } + ], + "input": "SyncMetadata_microsoft_teams_messages", + "name": "messages", + "output": ["TeamsMessage"], + "runs": "every hour", + "scopes": ["ChannelMessage.Read.All", "Chat.Read.All"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["TeamsMessage", "SyncMetadata_microsoft_teams_messages"], + "version": "1.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -57546,212 +59901,43 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "TeamsMessage": { + "SyncMetadata_microsoft_teams_orgunits": { + "type": "object", + "additionalProperties": false + }, + "OrganizationalUnit": { "type": "object", "properties": { "id": { "type": "string" }, - "channelId": { - "type": ["string", "null"] - }, - "chatId": { - "type": ["string", "null"] - }, - "content": { - "type": ["string", "null"] - }, - "createdDateTime": { + "name": { "type": "string" }, - "lastModifiedDateTime": { + "createdAt": { "type": ["string", "null"] }, - "deletedDateTime": { + "deletedAt": { "type": ["string", "null"] }, - "from": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "id": { - "type": ["string", "null"] - }, - "displayName": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - } - }, - "required": ["id", "displayName", "email"], - "additionalProperties": false - } - }, - "required": ["user"], - "additionalProperties": false - }, - "importance": { + "description": { "type": ["string", "null"] }, - "messageType": { - "type": "string" - }, - "subject": { + "path": { "type": ["string", "null"] }, - "webUrl": { + "parentPath": { "type": ["string", "null"] }, - "attachments": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "contentType": { - "type": "string" - }, - "contentUrl": { - "type": ["string", "null"] - }, - "name": { - "type": ["string", "null"] - }, - "thumbnailUrl": { - "type": ["string", "null"] - } - }, - "required": ["id", "contentType", "contentUrl", "name", "thumbnailUrl"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "reactions": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "reactionType": { - "type": "string" - }, - "createdDateTime": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "displayName": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - } - }, - "required": ["id", "displayName", "email"], - "additionalProperties": false - } - }, - "required": ["reactionType", "createdDateTime", "user"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "replies": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "content": { - "type": ["string", "null"] - }, - "createdDateTime": { - "type": "string" - }, - "from": { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "id": { - "type": ["string", "null"] - }, - "displayName": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - } - }, - "required": ["id", "displayName", "email"], - "additionalProperties": false - } - }, - "required": ["user"], - "additionalProperties": false - } - }, - "required": ["id", "content", "createdDateTime", "from"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "raw_json": { - "type": "string" + "parentId": { + "type": ["string", "null"] } }, - "required": [ - "id", - "channelId", - "chatId", - "content", - "createdDateTime", - "lastModifiedDateTime", - "deletedDateTime", - "from", - "importance", - "messageType", - "subject", - "webUrl", - "attachments", - "reactions", - "replies", - "raw_json" - ], + "required": ["id", "name", "createdAt", "deletedAt", "description", "path", "parentPath", "parentId"], "additionalProperties": false }, - "SyncMetadata_microsoft_teams_messages": { + "SyncMetadata_microsoft_teams_users": { "type": "object", "properties": { "orgsToSync": { @@ -57772,61 +59958,81 @@ "required": ["orgsToSync"], "additionalProperties": false }, - "OrganizationalUnit": { + "User": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { + "email": { "type": "string" }, - "createdAt": { + "displayName": { "type": ["string", "null"] }, - "deletedAt": { + "givenName": { "type": ["string", "null"] }, - "description": { + "familyName": { "type": ["string", "null"] }, - "path": { + "picture": { "type": ["string", "null"] }, - "parentPath": { + "type": { + "type": "string" + }, + "createdAt": { "type": ["string", "null"] }, - "parentId": { + "deletedAt": { "type": ["string", "null"] - } - }, - "required": ["id", "name", "createdAt", "deletedAt", "description", "path", "parentPath", "parentId"], - "additionalProperties": false - }, - "SyncMetadata_microsoft_teams_orgunits": { - "type": "object", - "additionalProperties": false - }, - "User": { - "type": "object", - "properties": { - "id": { - "type": "string" }, - "firstName": { - "type": "string" + "phone": { + "type": "object", + "properties": { + "value": { + "type": ["string", "null"] + }, + "type": { + "type": ["string", "null"] + } + }, + "required": ["value", "type"], + "additionalProperties": false }, - "lastName": { - "type": "string" + "organizationId": { + "type": ["string", "null"] }, - "email": { - "type": "string" + "organizationPath": { + "type": ["string", "null"] + }, + "isAdmin": { + "type": ["boolean", "null"] + }, + "department": { + "type": ["string", "null"] } }, - "required": ["id", "firstName", "lastName", "email"], + "required": [ + "id", + "email", + "displayName", + "givenName", + "familyName", + "picture", + "type", + "createdAt", + "deletedAt", + "phone", + "organizationId", + "organizationPath", + "isAdmin", + "department" + ], "additionalProperties": false }, - "SyncMetadata_microsoft_teams_users": { + "SyncMetadata_microsoft_teams_messages": { "type": "object", "properties": { "orgsToSync": { @@ -57846,323 +60052,219 @@ }, "required": ["orgsToSync"], "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "namely-pat", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of current employees from Namely and maps them to the standard HRIS model", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" - } - ], - "input": "SyncMetadata_namely_pat_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every 1h", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_namely_pat_unifiedemployees"], - "version": "0.0.1", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "StandardEmployee": { + }, + "TeamsMessage": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "employeeNumber": { - "type": "string" - }, - "title": { - "type": "string" - }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false + "channelId": { + "type": ["string", "null"] }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] + "chatId": { + "type": ["string", "null"] }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] + "content": { + "type": ["string", "null"] }, - "startDate": { + "createdDateTime": { "type": "string" }, - "terminationDate": { - "type": "string" + "lastModifiedDateTime": { + "type": ["string", "null"] }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false + "deletedDateTime": { + "type": ["string", "null"] }, - "workLocation": { + "from": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { + "user": { "type": "object", "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" + "id": { + "type": ["string", "null"] }, - "postalCode": { - "type": "string" + "displayName": { + "type": ["string", "null"] }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] + "email": { + "type": ["string", "null"] } }, - "required": ["type"], + "required": ["id", "displayName", "email"], "additionalProperties": false } }, - "required": ["name", "type"], + "required": ["user"], "additionalProperties": false }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] + "importance": { + "type": ["string", "null"] + }, + "messageType": { + "type": "string" + }, + "subject": { + "type": ["string", "null"] + }, + "webUrl": { + "type": ["string", "null"] + }, + "attachments": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "contentType": { + "type": "string" + }, + "contentUrl": { + "type": ["string", "null"] + }, + "name": { + "type": ["string", "null"] + }, + "thumbnailUrl": { + "type": ["string", "null"] + } + }, + "required": ["id", "contentType", "contentUrl", "name", "thumbnailUrl"], + "additionalProperties": false } }, - "required": ["type"], - "additionalProperties": false - } + { + "type": "null" + } + ] }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" + "reactions": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "reactionType": { + "type": "string" + }, + "createdDateTime": { + "type": "string" + }, + "user": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "displayName": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + } + }, + "required": ["id", "displayName", "email"], + "additionalProperties": false + } + }, + "required": ["reactionType", "createdDateTime", "user"], + "additionalProperties": false } }, - "required": ["type", "number"], - "additionalProperties": false - } + { + "type": "null" + } + ] }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" + "replies": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "content": { + "type": ["string", "null"] + }, + "createdDateTime": { + "type": "string" + }, + "from": { + "type": "object", + "properties": { + "user": { + "type": "object", + "properties": { + "id": { + "type": ["string", "null"] + }, + "displayName": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + } + }, + "required": ["id", "displayName", "email"], + "additionalProperties": false + } + }, + "required": ["user"], + "additionalProperties": false + } + }, + "required": ["id", "content", "createdDateTime", "from"], + "additionalProperties": false } }, - "required": ["type", "address"], - "additionalProperties": false - } - }, - "providerSpecific": { - "type": "object", - "additionalProperties": false - }, - "createdAt": { - "type": "string" + { + "type": "null" + } + ] }, - "updatedAt": { + "raw_json": { "type": "string" } }, "required": [ "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" + "channelId", + "chatId", + "content", + "createdDateTime", + "lastModifiedDateTime", + "deletedDateTime", + "from", + "importance", + "messageType", + "subject", + "webUrl", + "attachments", + "reactions", + "replies", + "raw_json" ], "additionalProperties": false - }, - "SyncMetadata_namely_pat_unifiedemployees": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "netsuite-tba", "actions": [ - { - "type": "action", - "description": "Creates a vendor bill in Netsuite.", - "endpoint": { - "method": "POST", - "path": "/bills", - "group": "Bills" - }, - "input": "ActionInput_netsuite_tba_billcreate", - "name": "bill-create", - "output": ["ActionOutput_netsuite_tba_billcreate"], - "scopes": [], - "usedModels": ["ActionInput_netsuite_tba_billcreate", "ActionOutput_netsuite_tba_billcreate"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Updates an existing vendor bill in Netsuite.", - "endpoint": { - "method": "PUT", - "path": "/bills", - "group": "Bills" - }, - "input": "ActionInput_netsuite_tba_billupdate", - "name": "bill-update", - "output": ["ActionOutput_netsuite_tba_billupdate"], - "scopes": [], - "usedModels": ["ActionInput_netsuite_tba_billupdate", "ActionOutput_netsuite_tba_billupdate"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Creates a credit note in Netsuite", - "endpoint": { - "method": "POST", - "path": "/credit-notes", - "group": "Credit Notes" - }, - "input": "ActionInput_netsuite_tba_creditnotecreate", - "name": "credit-note-create", - "output": ["ActionOutput_netsuite_tba_creditnotecreate"], - "scopes": [], - "usedModels": ["ActionInput_netsuite_tba_creditnotecreate", "ActionOutput_netsuite_tba_creditnotecreate"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Updates a credit note in Netsuite", - "endpoint": { - "method": "PUT", - "path": "/credit-notes", - "group": "Credit Notes" - }, - "input": "ActionInput_netsuite_tba_creditnoteupdate", - "name": "credit-note-update", - "output": ["ActionOutput_netsuite_tba_creditnoteupdate"], - "scopes": [], - "usedModels": ["ActionInput_netsuite_tba_creditnoteupdate", "ActionOutput_netsuite_tba_creditnoteupdate"], - "version": "2.0.0" - }, { "type": "action", "description": "Creates a customer in Netsuite", @@ -58193,21 +60295,6 @@ "usedModels": ["ActionInput_netsuite_tba_customerupdate", "ActionOutput_netsuite_tba_customerupdate"], "version": "2.0.0" }, - { - "type": "action", - "description": "Fetches all fields in Netsuite", - "endpoint": { - "method": "GET", - "path": "/fetch-fields", - "group": "Fields" - }, - "input": "ActionInput_netsuite_tba_fetchfields", - "name": "fetch-fields", - "output": ["ActionOutput_netsuite_tba_fetchfields"], - "scopes": [], - "usedModels": ["ActionInput_netsuite_tba_fetchfields", "ActionOutput_netsuite_tba_fetchfields"], - "version": "2.0.0" - }, { "type": "action", "description": "Creates an invoice in Netsuite", @@ -58268,6 +60355,36 @@ "usedModels": ["ActionInput_netsuite_tba_paymentupdate", "ActionOutput_netsuite_tba_paymentupdate"], "version": "2.0.0" }, + { + "type": "action", + "description": "Creates a credit note in Netsuite", + "endpoint": { + "method": "POST", + "path": "/credit-notes", + "group": "Credit Notes" + }, + "input": "ActionInput_netsuite_tba_creditnotecreate", + "name": "credit-note-create", + "output": ["ActionOutput_netsuite_tba_creditnotecreate"], + "scopes": [], + "usedModels": ["ActionInput_netsuite_tba_creditnotecreate", "ActionOutput_netsuite_tba_creditnotecreate"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Updates a credit note in Netsuite", + "endpoint": { + "method": "PUT", + "path": "/credit-notes", + "group": "Credit Notes" + }, + "input": "ActionInput_netsuite_tba_creditnoteupdate", + "name": "credit-note-update", + "output": ["ActionOutput_netsuite_tba_creditnoteupdate"], + "scopes": [], + "usedModels": ["ActionInput_netsuite_tba_creditnoteupdate", "ActionOutput_netsuite_tba_creditnoteupdate"], + "version": "2.0.0" + }, { "type": "action", "description": "Creates a purchase order in Netsuite", @@ -58297,93 +60414,139 @@ "scopes": [], "usedModels": ["ActionInput_netsuite_tba_purchaseorderupdate", "ActionOutput_netsuite_tba_purchaseorderupdate"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates a vendor bill in Netsuite.", + "endpoint": { + "method": "POST", + "path": "/bills", + "group": "Bills" + }, + "input": "ActionInput_netsuite_tba_billcreate", + "name": "bill-create", + "output": ["ActionOutput_netsuite_tba_billcreate"], + "scopes": [], + "usedModels": ["ActionInput_netsuite_tba_billcreate", "ActionOutput_netsuite_tba_billcreate"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Updates an existing vendor bill in Netsuite.", + "endpoint": { + "method": "PUT", + "path": "/bills", + "group": "Bills" + }, + "input": "ActionInput_netsuite_tba_billupdate", + "name": "bill-update", + "output": ["ActionOutput_netsuite_tba_billupdate"], + "scopes": [], + "usedModels": ["ActionInput_netsuite_tba_billupdate", "ActionOutput_netsuite_tba_billupdate"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Fetches all fields in Netsuite", + "endpoint": { + "method": "GET", + "path": "/fetch-fields", + "group": "Fields" + }, + "input": "ActionInput_netsuite_tba_fetchfields", + "name": "fetch-fields", + "output": ["ActionOutput_netsuite_tba_fetchfields"], + "scopes": [], + "usedModels": ["ActionInput_netsuite_tba_fetchfields", "ActionOutput_netsuite_tba_fetchfields"], + "version": "2.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches all credit notes in Netsuite", + "description": "Fetches all customers in Netsuite", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/credit-notes", - "group": "Credit Notes" + "path": "/customers", + "group": "Customers" } ], - "input": "SyncMetadata_netsuite_tba_creditnotes", - "name": "credit-notes", - "output": ["NetsuiteCreditNote"], + "input": "SyncMetadata_netsuite_tba_customers", + "name": "customers", + "output": ["NetsuiteCustomer"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["NetsuiteCreditNote", "SyncMetadata_netsuite_tba_creditnotes"], + "usedModels": ["NetsuiteCustomer", "SyncMetadata_netsuite_tba_customers"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all customers in Netsuite", + "description": "Fetches all payments received from customers in Netsuite", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/customers", - "group": "Customers" + "path": "/payments", + "group": "Payments" } ], - "input": "SyncMetadata_netsuite_tba_customers", - "name": "customers", - "output": ["NetsuiteCustomer"], + "input": "SyncMetadata_netsuite_tba_payments", + "name": "payments", + "output": ["NetsuitePayment"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["NetsuiteCustomer", "SyncMetadata_netsuite_tba_customers"], + "usedModels": ["NetsuitePayment", "SyncMetadata_netsuite_tba_payments"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all JournalEntries in Netsuite", + "description": "Fetches all invoices in Netsuite", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/general-ledger" + "path": "/invoices", + "group": "Invoices" } ], - "input": "SyncMetadata_netsuite_tba_generalledger", - "name": "general-ledger", - "output": ["GeneralLedger"], + "input": "SyncMetadata_netsuite_tba_invoices", + "name": "invoices", + "output": ["NetsuiteInvoice"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GeneralLedger", "SyncMetadata_netsuite_tba_generalledger"], + "usedModels": ["NetsuiteInvoice", "SyncMetadata_netsuite_tba_invoices"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches all invoices in Netsuite", + "description": "Fetches all credit notes in Netsuite", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/invoices", - "group": "Invoices" + "path": "/credit-notes", + "group": "Credit Notes" } ], - "input": "SyncMetadata_netsuite_tba_invoices", - "name": "invoices", - "output": ["NetsuiteInvoice"], + "input": "SyncMetadata_netsuite_tba_creditnotes", + "name": "credit-notes", + "output": ["NetsuiteCreditNote"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["NetsuiteInvoice", "SyncMetadata_netsuite_tba_invoices"], + "usedModels": ["NetsuiteCreditNote", "SyncMetadata_netsuite_tba_creditnotes"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -58410,23 +60573,22 @@ }, { "type": "sync", - "description": "Fetches all payments received from customers in Netsuite", + "description": "Fetches all JournalEntries in Netsuite", "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/payments", - "group": "Payments" + "path": "/general-ledger" } ], - "input": "SyncMetadata_netsuite_tba_payments", - "name": "payments", - "output": ["NetsuitePayment"], + "input": "SyncMetadata_netsuite_tba_generalledger", + "name": "general-ledger", + "output": ["GeneralLedger"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["NetsuitePayment", "SyncMetadata_netsuite_tba_payments"], + "usedModels": ["GeneralLedger", "SyncMetadata_netsuite_tba_generalledger"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -58438,65 +60600,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "NetsuiteCreditNote": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "customerId": { - "type": "string" - }, - "currency": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "createdAt": { - "type": "string" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemId": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "amount": { - "type": "number" - }, - "vatCode": { - "type": "string" - }, - "description": { - "type": "string" - }, - "locationId": { - "type": "string" - } - }, - "required": ["itemId", "quantity", "amount"], - "additionalProperties": false - } - }, - "total": { - "type": "number" - }, - "status": { - "type": "string" - } - }, - "required": ["id", "customerId", "currency", "description", "createdAt", "lines", "total", "status"], - "additionalProperties": false - }, - "SyncMetadata_netsuite_tba_creditnotes": { + "SyncMetadata_netsuite_tba_customers": { "type": "object", "properties": { "timezone": { @@ -58548,7 +60653,7 @@ "required": ["id", "externalId", "name", "email", "taxNumber", "phone", "addressLine1", "addressLine2", "city", "zip", "country", "state"], "additionalProperties": false }, - "SyncMetadata_netsuite_tba_customers": { + "SyncMetadata_netsuite_tba_payments": { "type": "object", "properties": { "timezone": { @@ -58557,112 +60662,109 @@ }, "additionalProperties": false }, - "GeneralLedger": { + "NetsuitePayment": { "type": "object", "properties": { "id": { "type": "string" }, - "date": { + "description": { + "type": "string" + }, + "customerId": { "type": ["string", "null"] }, - "number": { - "type": "number" + "amount": { + "type": ["number", "null"] }, - "reference": { + "createdAt": { "type": ["string", "null"] }, - "sourceId": { + "currency": { "type": ["string", "null"] }, - "sourceType": { + "paymentReference": { "type": ["string", "null"] }, - "createdDate": { + "status": { + "type": ["string", "null"] + }, + "applyTo": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["id", "customerId", "amount", "createdAt", "currency", "paymentReference", "status", "applyTo"], + "additionalProperties": false + }, + "SyncMetadata_netsuite_tba_invoices": { + "type": "object", + "properties": { + "timezone": { + "type": "string" + } + }, + "additionalProperties": false + }, + "NetsuiteInvoice": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "customerId": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "description": { "type": ["string", "null"] }, + "createdAt": { + "type": "string" + }, "lines": { "type": "array", "items": { "type": "object", "properties": { - "journalLineId": { - "type": "string" - }, - "accountId": { - "type": "string" - }, - "accountCode": { - "type": "string" - }, - "accountName": { - "type": "string" - }, - "description": { + "itemId": { "type": "string" }, - "netAmount": { - "type": "number" - }, - "grossAmount": { + "quantity": { "type": "number" }, - "taxAmount": { + "amount": { "type": "number" }, - "taxType": { + "vatCode": { "type": "string" }, - "taxName": { + "description": { "type": "string" }, - "trackingCategories": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "option": { - "type": "string" - }, - "trackingCategoryId": { - "type": "string" - }, - "trackingOptionId": { - "type": "string" - }, - "options": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["name", "option", "trackingCategoryId", "trackingOptionId", "options"], - "additionalProperties": false - } + "locationId": { + "type": "string" } }, - "required": [ - "journalLineId", - "accountId", - "accountCode", - "accountName", - "netAmount", - "grossAmount", - "taxAmount", - "trackingCategories" - ], + "required": ["itemId", "quantity", "amount"], "additionalProperties": false } + }, + "total": { + "type": "number" + }, + "status": { + "type": "string" } }, - "required": ["id", "date", "number", "reference", "sourceId", "sourceType", "createdDate", "lines"], + "required": ["id", "customerId", "currency", "description", "createdAt", "lines", "total", "status"], "additionalProperties": false }, - "SyncMetadata_netsuite_tba_generalledger": { + "SyncMetadata_netsuite_tba_creditnotes": { "type": "object", "properties": { "timezone": { @@ -58671,7 +60773,7 @@ }, "additionalProperties": false }, - "NetsuiteInvoice": { + "NetsuiteCreditNote": { "type": "object", "properties": { "id": { @@ -58727,7 +60829,7 @@ "required": ["id", "customerId", "currency", "description", "createdAt", "lines", "total", "status"], "additionalProperties": false }, - "SyncMetadata_netsuite_tba_invoices": { + "SyncMetadata_netsuite_tba_locations": { "type": "object", "properties": { "timezone": { @@ -58802,7 +60904,7 @@ "required": ["id", "isInactive", "name", "lastModifiedDate", "address", "returnAddress", "useBins"], "additionalProperties": false }, - "SyncMetadata_netsuite_tba_locations": { + "SyncMetadata_netsuite_tba_generalledger": { "type": "object", "properties": { "timezone": { @@ -58811,370 +60913,190 @@ }, "additionalProperties": false }, - "NetsuitePayment": { + "GeneralLedger": { "type": "object", "properties": { "id": { "type": "string" }, - "description": { - "type": "string" - }, - "customerId": { - "type": ["string", "null"] - }, - "amount": { - "type": ["number", "null"] - }, - "createdAt": { - "type": ["string", "null"] - }, - "currency": { - "type": ["string", "null"] - }, - "paymentReference": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "applyTo": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["id", "customerId", "amount", "createdAt", "currency", "paymentReference", "status", "applyTo"], - "additionalProperties": false - }, - "SyncMetadata_netsuite_tba_payments": { - "type": "object", - "properties": { - "timezone": { - "type": "string" - } - }, - "additionalProperties": false - }, - "ActionInput_netsuite_tba_billcreate": { - "type": "object", - "properties": { - "vendorId": { + "date": { "type": "string" }, - "tranDate": { + "transactionId": { "type": "string" }, - "currency": { - "type": "string" + "void": { + "type": "boolean" }, - "dueDate": { - "type": "string" + "approved": { + "type": "boolean" }, - "status": { + "currency": { "type": "string" }, - "memo": { + "createdDate": { "type": "string" }, - "externalId": { + "updatedDate": { "type": "string" }, - "location": { - "type": "string" + "isReversal": { + "type": "boolean" }, "subsidiary": { - "type": "string" - }, - "department": { - "type": "string" - }, - "class": { - "type": "string" - }, - "terms": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, "lines": { "type": "array", "items": { "type": "object", "properties": { - "itemId": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "amount": { - "type": "number" - }, - "description": { - "type": "string" - }, - "rate": { - "type": "number" - }, - "locationId": { - "type": "string" - }, - "departmentId": { + "journalLineId": { "type": "string" }, - "classId": { + "accountId": { "type": "string" }, - "customerId": { + "accountName": { "type": "string" }, - "isBillable": { + "cleared": { "type": "boolean" }, - "taxDetails": { - "type": "object", - "properties": { - "taxCode": { - "type": "string" - }, - "taxRate": { - "type": "number" - } - }, - "additionalProperties": false + "credit": { + "type": "number" }, - "inventoryDetail": { - "type": "object", - "properties": { - "binNumber": { - "type": "string" - }, - "expirationDate": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "serialNumber": { - "type": "string" - } - }, - "additionalProperties": false + "debit": { + "type": "number" + }, + "description": { + "type": "string" } }, - "required": ["itemId", "quantity", "amount"], + "required": ["journalLineId", "accountId", "accountName", "cleared", "description"], "additionalProperties": false } - }, - "billingAddress": { - "type": "object", - "properties": { - "addr1": { - "type": "string" - }, - "addr2": { - "type": "string" - }, - "addr3": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "country": { - "type": "string" - } - }, - "additionalProperties": false - }, - "taxDetails": { - "type": "object", - "properties": { - "taxCode": { - "type": "string" - }, - "taxRate": { - "type": "number" - } - }, - "additionalProperties": false - } - }, - "required": ["vendorId", "tranDate", "currency", "lines"], - "additionalProperties": false - }, - "ActionOutput_netsuite_tba_billcreate": { - "type": "object", - "properties": { - "id": { - "type": "string" } }, - "required": ["id"], + "required": [ + "id", + "date", + "transactionId", + "void", + "approved", + "currency", + "createdDate", + "updatedDate", + "isReversal", + "subsidiary", + "lines" + ], "additionalProperties": false }, - "ActionInput_netsuite_tba_billupdate": { + "ActionInput_netsuite_tba_customercreate": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "vendorId": { - "type": "string" - }, - "tranDate": { + "externalId": { "type": "string" }, - "currency": { + "name": { "type": "string" }, - "dueDate": { + "email": { "type": "string" }, - "status": { + "taxNumber": { "type": "string" }, - "memo": { + "addressLine1": { "type": "string" }, - "externalId": { + "addressLine2": { "type": "string" }, - "location": { + "city": { "type": "string" }, - "subsidiary": { + "zip": { "type": "string" }, - "department": { + "country": { "type": "string" }, - "class": { + "state": { "type": "string" }, - "terms": { + "phone": { + "type": "string" + } + }, + "required": ["externalId", "name"], + "additionalProperties": false + }, + "ActionOutput_netsuite_tba_customercreate": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_netsuite_tba_customerupdate": { + "type": "object", + "properties": { + "externalId": { "type": "string" }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "itemId": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "amount": { - "type": "number" - }, - "description": { - "type": "string" - }, - "rate": { - "type": "number" - }, - "locationId": { - "type": "string" - }, - "departmentId": { - "type": "string" - }, - "classId": { - "type": "string" - }, - "customerId": { - "type": "string" - }, - "isBillable": { - "type": "boolean" - }, - "taxDetails": { - "type": "object", - "properties": { - "taxCode": { - "type": "string" - }, - "taxRate": { - "type": "number" - } - }, - "additionalProperties": false - }, - "inventoryDetail": { - "type": "object", - "properties": { - "binNumber": { - "type": "string" - }, - "expirationDate": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "serialNumber": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["itemId", "quantity", "amount"], - "additionalProperties": false - } - }, - "billingAddress": { - "type": "object", - "properties": { - "addr1": { - "type": "string" - }, - "addr2": { - "type": "string" - }, - "addr3": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "country": { - "type": "string" - } - }, - "additionalProperties": false + "name": { + "type": "string" }, - "taxDetails": { - "type": "object", - "properties": { - "taxCode": { - "type": "string" - }, - "taxRate": { - "type": "number" - } - }, - "additionalProperties": false + "email": { + "type": "string" + }, + "taxNumber": { + "type": "string" + }, + "addressLine1": { + "type": "string" + }, + "addressLine2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "id": { + "type": "string" } }, - "required": ["id", "lines"], + "required": ["id"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_billupdate": { + "ActionOutput_netsuite_tba_customerupdate": { "type": "object", "properties": { "success": { @@ -59184,21 +61106,21 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_netsuite_tba_creditnotecreate": { + "ActionInput_netsuite_tba_invoicecreate": { "type": "object", "properties": { "customerId": { "type": "string" }, - "status": { - "type": "string" - }, "currency": { "type": "string" }, "description": { "type": "string" }, + "status": { + "type": "string" + }, "lines": { "type": "array", "items": { @@ -59218,6 +61140,9 @@ }, "description": { "type": "string" + }, + "locationId": { + "type": "string" } }, "required": ["itemId", "quantity", "amount"], @@ -59225,10 +61150,10 @@ } } }, - "required": ["customerId", "status", "currency", "lines"], + "required": ["customerId", "currency", "status", "lines"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_creditnotecreate": { + "ActionOutput_netsuite_tba_invoicecreate": { "type": "object", "properties": { "id": { @@ -59238,21 +61163,21 @@ "required": ["id"], "additionalProperties": false }, - "ActionInput_netsuite_tba_creditnoteupdate": { + "ActionInput_netsuite_tba_invoiceupdate": { "type": "object", "properties": { "customerId": { "type": "string" }, - "status": { - "type": "string" - }, "currency": { "type": "string" }, "description": { "type": "string" }, + "status": { + "type": "string" + }, "lines": { "type": "array", "items": { @@ -59272,6 +61197,9 @@ }, "description": { "type": "string" + }, + "locationId": { + "type": "string" } }, "required": ["itemId", "quantity", "amount"], @@ -59280,12 +61208,15 @@ }, "id": { "type": "string" + }, + "locationId": { + "type": "string" } }, - "required": ["customerId", "status", "currency", "lines", "id"], + "required": ["status", "lines", "id"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_creditnoteupdate": { + "ActionOutput_netsuite_tba_invoiceupdate": { "type": "object", "properties": { "success": { @@ -59295,47 +61226,38 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_netsuite_tba_customercreate": { + "ActionInput_netsuite_tba_paymentcreate": { "type": "object", "properties": { - "externalId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "taxNumber": { - "type": "string" - }, - "addressLine1": { + "customerId": { "type": "string" }, - "addressLine2": { - "type": "string" + "amount": { + "type": "number" }, - "city": { + "currency": { "type": "string" }, - "zip": { + "paymentReference": { "type": "string" }, - "country": { - "type": "string" + "applyTo": { + "type": "array", + "items": { + "type": "string" + } }, - "state": { + "status": { "type": "string" }, - "phone": { + "description": { "type": "string" } }, - "required": ["externalId", "name"], + "required": ["customerId", "amount", "currency", "paymentReference", "applyTo", "status"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_customercreate": { + "ActionOutput_netsuite_tba_paymentcreate": { "type": "object", "properties": { "id": { @@ -59345,50 +61267,41 @@ "required": ["id"], "additionalProperties": false }, - "ActionInput_netsuite_tba_customerupdate": { + "ActionInput_netsuite_tba_paymentupdate": { "type": "object", "properties": { - "externalId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "taxNumber": { - "type": "string" - }, - "addressLine1": { + "customerId": { "type": "string" }, - "addressLine2": { - "type": "string" + "amount": { + "type": "number" }, - "city": { + "currency": { "type": "string" }, - "zip": { + "paymentReference": { "type": "string" }, - "country": { - "type": "string" + "applyTo": { + "type": "array", + "items": { + "type": "string" + } }, - "state": { + "status": { "type": "string" }, - "phone": { + "description": { "type": "string" }, "id": { "type": "string" } }, - "required": ["id"], + "required": ["customerId", "id"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_customerupdate": { + "ActionOutput_netsuite_tba_paymentupdate": { "type": "object", "properties": { "success": { @@ -59398,252 +61311,73 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_netsuite_tba_fetchfields": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_netsuite_tba_fetchfields": { + "ActionInput_netsuite_tba_creditnotecreate": { "type": "object", "properties": { - "id": { + "customerId": { "type": "string" }, - "schema": { + "status": { "type": "string" }, - "title": { + "currency": { "type": "string" }, "description": { "type": "string" }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "properties": { - "type": "object", - "additionalProperties": false - }, - "required": { + "lines": { "type": "array", "items": { - "type": "string" - } - }, - "items": { - "anyOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "schema": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "properties": { - "type": "object", - "additionalProperties": false - }, - "required": { - "type": "array", - "items": { - "type": "string" - } - }, - "enum": { - "type": "array", - "items": {} - }, - "definitions": { - "type": "object", - "additionalProperties": false - }, - "additionalProperties": { - "type": "boolean" - }, - "default": {} + "type": "object", + "properties": { + "itemId": { + "type": "string" }, - "additionalProperties": false - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "schema": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "properties": { - "type": "object", - "additionalProperties": false - }, - "required": { - "type": "array", - "items": { - "type": "string" - } - }, - "enum": { - "type": "array", - "items": {} - }, - "definitions": { - "type": "object", - "additionalProperties": false - }, - "additionalProperties": { - "type": "boolean" - }, - "default": {} - }, - "additionalProperties": false + "quantity": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "vatCode": { + "type": "string" + }, + "description": { + "type": "string" } - } - ] - }, - "enum": { - "type": "array", - "items": {} - }, - "definitions": { - "type": "object", - "additionalProperties": false - }, - "additionalProperties": { - "anyOf": [ - { - "type": "boolean" }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "schema": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "properties": { - "type": "object", - "additionalProperties": false - }, - "required": { - "type": "array", - "items": { - "type": "string" - } - }, - "enum": { - "type": "array", - "items": {} - }, - "definitions": { - "type": "object", - "additionalProperties": false - }, - "additionalProperties": { - "type": "boolean" - }, - "default": {} - }, - "additionalProperties": false - } - ] - }, - "default": {} + "required": ["itemId", "quantity", "amount"], + "additionalProperties": false + } + } }, + "required": ["customerId", "status", "currency", "lines"], "additionalProperties": false }, - "ActionInput_netsuite_tba_invoicecreate": { + "ActionOutput_netsuite_tba_creditnotecreate": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_netsuite_tba_creditnoteupdate": { "type": "object", "properties": { "customerId": { "type": "string" }, - "currency": { + "status": { "type": "string" }, - "description": { + "currency": { "type": "string" }, - "status": { + "description": { "type": "string" }, "lines": { @@ -59665,33 +61399,33 @@ }, "description": { "type": "string" - }, - "locationId": { - "type": "string" } }, "required": ["itemId", "quantity", "amount"], "additionalProperties": false } + }, + "id": { + "type": "string" } }, - "required": ["customerId", "currency", "status", "lines"], + "required": ["customerId", "status", "currency", "lines", "id"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_invoicecreate": { + "ActionOutput_netsuite_tba_creditnoteupdate": { "type": "object", "properties": { - "id": { - "type": "string" + "success": { + "type": "boolean" } }, - "required": ["id"], + "required": ["success"], "additionalProperties": false }, - "ActionInput_netsuite_tba_invoiceupdate": { + "ActionInput_netsuite_tba_purchaseordercreate": { "type": "object", "properties": { - "customerId": { + "vendorId": { "type": "string" }, "currency": { @@ -59703,6 +61437,12 @@ "status": { "type": "string" }, + "tranDate": { + "type": "string" + }, + "dueDate": { + "type": "string" + }, "lines": { "type": "array", "items": { @@ -59717,72 +61457,150 @@ "amount": { "type": "number" }, - "vatCode": { - "type": "string" - }, "description": { "type": "string" }, "locationId": { "type": "string" + }, + "rate": { + "type": "number" + }, + "department": { + "type": "string" + }, + "class": { + "type": "string" + }, + "createWorkOrder": { + "type": "boolean" + }, + "inventoryDetail": { + "anyOf": [ + { + "type": "object", + "properties": { + "binNumber": { + "type": "string" + }, + "expirationDate": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "serialNumber": { + "type": "string" + }, + "toBinNumber": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] } }, "required": ["itemId", "quantity", "amount"], "additionalProperties": false } }, - "id": { + "customForm": { "type": "string" }, - "locationId": { - "type": "string" - } - }, - "required": ["status", "lines", "id"], - "additionalProperties": false - }, - "ActionOutput_netsuite_tba_invoiceupdate": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_netsuite_tba_paymentcreate": { - "type": "object", - "properties": { - "customerId": { + "location": { "type": "string" }, - "amount": { - "type": "number" + "subsidiary": { + "type": "string" }, - "currency": { + "department": { "type": "string" }, - "paymentReference": { + "class": { "type": "string" }, - "applyTo": { - "type": "array", - "items": { - "type": "string" - } + "taxDetails": { + "anyOf": [ + { + "type": "object", + "properties": { + "taxCode": { + "type": "string" + }, + "taxRate": { + "type": "number" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] }, - "status": { - "type": "string" + "billingAddress": { + "type": "object", + "properties": { + "addr1": { + "type": "string" + }, + "addr2": { + "type": "string" + }, + "addr3": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "country": { + "type": "string" + } + }, + "additionalProperties": false }, - "description": { - "type": "string" + "shippingAddress": { + "type": "object", + "properties": { + "addr1": { + "type": "string" + }, + "addr2": { + "type": "string" + }, + "addr3": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "country": { + "type": "string" + } + }, + "additionalProperties": false } }, - "required": ["customerId", "amount", "currency", "paymentReference", "applyTo", "status"], + "required": ["vendorId", "status", "lines", "billingAddress", "shippingAddress"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_paymentcreate": { + "ActionOutput_netsuite_tba_purchaseordercreate": { "type": "object", "properties": { "id": { @@ -59792,53 +61610,12 @@ "required": ["id"], "additionalProperties": false }, - "ActionInput_netsuite_tba_paymentupdate": { + "ActionInput_netsuite_tba_purchaseorderupdate": { "type": "object", "properties": { - "customerId": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "paymentReference": { - "type": "string" - }, - "applyTo": { - "type": "array", - "items": { - "type": "string" - } - }, - "status": { - "type": "string" - }, - "description": { - "type": "string" - }, "id": { "type": "string" - } - }, - "required": ["customerId", "id"], - "additionalProperties": false - }, - "ActionOutput_netsuite_tba_paymentupdate": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_netsuite_tba_purchaseordercreate": { - "type": "object", - "properties": { + }, "vendorId": { "type": "string" }, @@ -59937,6 +61714,74 @@ "class": { "type": "string" }, + "billingAddress": { + "anyOf": [ + { + "type": "object", + "properties": { + "addr1": { + "type": "string" + }, + "addr2": { + "type": "string" + }, + "addr3": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "country": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "shippingAddress": { + "anyOf": [ + { + "type": "object", + "properties": { + "addr1": { + "type": "string" + }, + "addr2": { + "type": "string" + }, + "addr3": { + "type": "string" + }, + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "country": { + "type": "string" + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, "taxDetails": { "anyOf": [ { @@ -59955,6 +61800,129 @@ "type": "null" } ] + } + }, + "required": ["id", "lines"], + "additionalProperties": false + }, + "ActionOutput_netsuite_tba_purchaseorderupdate": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_netsuite_tba_billcreate": { + "type": "object", + "properties": { + "vendorId": { + "type": "string" + }, + "tranDate": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "dueDate": { + "type": "string" + }, + "status": { + "type": "string" + }, + "memo": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "location": { + "type": "string" + }, + "subsidiary": { + "type": "string" + }, + "department": { + "type": "string" + }, + "class": { + "type": "string" + }, + "terms": { + "type": "string" + }, + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemId": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "description": { + "type": "string" + }, + "rate": { + "type": "number" + }, + "locationId": { + "type": "string" + }, + "departmentId": { + "type": "string" + }, + "classId": { + "type": "string" + }, + "customerId": { + "type": "string" + }, + "isBillable": { + "type": "boolean" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxCode": { + "type": "string" + }, + "taxRate": { + "type": "number" + } + }, + "additionalProperties": false + }, + "inventoryDetail": { + "type": "object", + "properties": { + "binNumber": { + "type": "string" + }, + "expirationDate": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "serialNumber": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "required": ["itemId", "quantity", "amount"], + "additionalProperties": false + } }, "billingAddress": { "type": "object", @@ -59983,7 +61951,145 @@ }, "additionalProperties": false }, - "shippingAddress": { + "taxDetails": { + "type": "object", + "properties": { + "taxCode": { + "type": "string" + }, + "taxRate": { + "type": "number" + } + }, + "additionalProperties": false + } + }, + "required": ["vendorId", "tranDate", "currency", "lines"], + "additionalProperties": false + }, + "ActionOutput_netsuite_tba_billcreate": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionInput_netsuite_tba_billupdate": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "vendorId": { + "type": "string" + }, + "tranDate": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "dueDate": { + "type": "string" + }, + "status": { + "type": "string" + }, + "memo": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "location": { + "type": "string" + }, + "subsidiary": { + "type": "string" + }, + "department": { + "type": "string" + }, + "class": { + "type": "string" + }, + "terms": { + "type": "string" + }, + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "itemId": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "description": { + "type": "string" + }, + "rate": { + "type": "number" + }, + "locationId": { + "type": "string" + }, + "departmentId": { + "type": "string" + }, + "classId": { + "type": "string" + }, + "customerId": { + "type": "string" + }, + "isBillable": { + "type": "boolean" + }, + "taxDetails": { + "type": "object", + "properties": { + "taxCode": { + "type": "string" + }, + "taxRate": { + "type": "number" + } + }, + "additionalProperties": false + }, + "inventoryDetail": { + "type": "object", + "properties": { + "binNumber": { + "type": "string" + }, + "expirationDate": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "serialNumber": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "required": ["itemId", "quantity", "amount"], + "additionalProperties": false + } + }, + "billingAddress": { "type": "object", "properties": { "addr1": { @@ -60009,229 +62115,270 @@ } }, "additionalProperties": false + }, + "taxDetails": { + "type": "object", + "properties": { + "taxCode": { + "type": "string" + }, + "taxRate": { + "type": "number" + } + }, + "additionalProperties": false } }, - "required": ["vendorId", "status", "lines", "billingAddress", "shippingAddress"], + "required": ["id", "lines"], "additionalProperties": false }, - "ActionOutput_netsuite_tba_purchaseordercreate": { + "ActionOutput_netsuite_tba_billupdate": { "type": "object", "properties": { - "id": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_netsuite_tba_fetchfields": { + "type": "object", + "properties": { + "name": { "type": "string" } }, - "required": ["id"], + "required": ["name"], "additionalProperties": false }, - "ActionInput_netsuite_tba_purchaseorderupdate": { + "ActionOutput_netsuite_tba_fetchfields": { "type": "object", "properties": { "id": { "type": "string" }, - "vendorId": { + "schema": { "type": "string" }, - "currency": { + "title": { "type": "string" }, "description": { "type": "string" }, - "status": { - "type": "string" - }, - "tranDate": { - "type": "string" + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, - "dueDate": { - "type": "string" + "properties": { + "type": "object", + "additionalProperties": false }, - "lines": { + "required": { "type": "array", "items": { - "type": "object", - "properties": { - "itemId": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "amount": { - "type": "number" - }, - "description": { - "type": "string" - }, - "locationId": { - "type": "string" - }, - "rate": { - "type": "number" - }, - "department": { - "type": "string" - }, - "class": { - "type": "string" - }, - "createWorkOrder": { - "type": "boolean" - }, - "inventoryDetail": { - "anyOf": [ - { - "type": "object", - "properties": { - "binNumber": { - "type": "string" - }, - "expirationDate": { - "type": "string" - }, - "quantity": { - "type": "number" - }, - "serialNumber": { - "type": "string" - }, - "toBinNumber": { - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - } - }, - "required": ["itemId", "quantity", "amount"], - "additionalProperties": false + "type": "string" } }, - "customForm": { - "type": "string" - }, - "location": { - "type": "string" - }, - "subsidiary": { - "type": "string" - }, - "department": { - "type": "string" - }, - "class": { - "type": "string" - }, - "billingAddress": { + "items": { "anyOf": [ { "type": "object", "properties": { - "addr1": { + "id": { "type": "string" }, - "addr2": { + "schema": { "type": "string" }, - "addr3": { + "title": { "type": "string" }, - "city": { + "description": { "type": "string" }, - "state": { - "type": "string" + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, - "zip": { - "type": "string" + "properties": { + "type": "object", + "additionalProperties": false }, - "country": { - "type": "string" - } + "required": { + "type": "array", + "items": { + "type": "string" + } + }, + "enum": { + "type": "array", + "items": {} + }, + "definitions": { + "type": "object", + "additionalProperties": false + }, + "additionalProperties": { + "type": "boolean" + }, + "default": {} }, "additionalProperties": false }, { - "type": "null" + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "schema": { + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "properties": { + "type": "object", + "additionalProperties": false + }, + "required": { + "type": "array", + "items": { + "type": "string" + } + }, + "enum": { + "type": "array", + "items": {} + }, + "definitions": { + "type": "object", + "additionalProperties": false + }, + "additionalProperties": { + "type": "boolean" + }, + "default": {} + }, + "additionalProperties": false + } } ] }, - "shippingAddress": { + "enum": { + "type": "array", + "items": {} + }, + "definitions": { + "type": "object", + "additionalProperties": false + }, + "additionalProperties": { "anyOf": [ + { + "type": "boolean" + }, { "type": "object", "properties": { - "addr1": { + "id": { "type": "string" }, - "addr2": { + "schema": { "type": "string" }, - "addr3": { + "title": { "type": "string" }, - "city": { + "description": { "type": "string" }, - "state": { - "type": "string" + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] }, - "zip": { - "type": "string" + "properties": { + "type": "object", + "additionalProperties": false }, - "country": { - "type": "string" - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "taxDetails": { - "anyOf": [ - { - "type": "object", - "properties": { - "taxCode": { - "type": "string" + "required": { + "type": "array", + "items": { + "type": "string" + } }, - "taxRate": { - "type": "number" - } + "enum": { + "type": "array", + "items": {} + }, + "definitions": { + "type": "object", + "additionalProperties": false + }, + "additionalProperties": { + "type": "boolean" + }, + "default": {} }, "additionalProperties": false - }, - { - "type": "null" } ] - } - }, - "required": ["id", "lines"], - "additionalProperties": false - }, - "ActionOutput_netsuite_tba_purchaseorderupdate": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } + }, + "default": {} }, - "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -60267,8 +62414,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_next_cloud_ocs_users": { + "type": "object", + "additionalProperties": false + }, "NextCloudUser": { "type": "object", "properties": { @@ -60477,34 +62627,16 @@ "backendCapabilities" ], "additionalProperties": false - }, - "SyncMetadata_next_cloud_ocs_users": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "notion", "actions": [ - { - "type": "action", - "description": "Create a new row in a specified Notion database. \nThe properties are mapped to Notion-compatible formats based on the database schema. \nSupported property types include:\n- `title` (string): Creates a title property.\n- `select` (string): Creates a select property.\n- `multi_select` (array of strings): Creates a multi-select property.\n- `status` (string): Creates a status property.\n- `date` (string or object): Supports ISO date strings or objects with a `start` field.\n- `checkbox` (boolean): Creates a checkbox property.\n- `number` (number): Creates a number property.\n- `url` (string): Creates a URL property.\n- `email` (string): Creates an email property.\n- `phone_number` (string): Creates a phone number property.\n- `rich_text` (string): Creates a rich text property.\n- `relation` (array of IDs): Creates a relation property.", - "endpoint": { - "method": "POST", - "path": "/databases/row", - "group": "Databases" - }, - "input": "ActionInput_notion_createdatabaserow", - "name": "create-database-row", - "output": ["ActionOutput_notion_createdatabaserow"], - "scopes": [], - "usedModels": ["ActionInput_notion_createdatabaserow", "ActionOutput_notion_createdatabaserow"], - "version": "2.0.0" - }, { "type": "action", "description": "Retrieve the entity type as well as an id for a Notion entity to later call\nfetch-database or fetch-rich-page based on the type.", @@ -60519,6 +62651,21 @@ "scopes": [], "usedModels": ["ActionInput_notion_fetchcontentmetadata", "ActionOutput_notion_fetchcontentmetadata"], "version": "2.0.0" + }, + { + "type": "action", + "description": "Create a new row in a specified Notion database. \nThe properties are mapped to Notion-compatible formats based on the database schema. \nSupported property types include:\n- `title` (string): Creates a title property.\n- `select` (string): Creates a select property.\n- `multi_select` (array of strings): Creates a multi-select property.\n- `status` (string): Creates a status property.\n- `date` (string or object): Supports ISO date strings or objects with a `start` field.\n- `checkbox` (boolean): Creates a checkbox property.\n- `number` (number): Creates a number property.\n- `url` (string): Creates a URL property.\n- `email` (string): Creates an email property.\n- `phone_number` (string): Creates a phone number property.\n- `rich_text` (string): Creates a rich text property.\n- `relation` (array of IDs): Creates a relation property.", + "endpoint": { + "method": "POST", + "path": "/databases/row", + "group": "Databases" + }, + "input": "ActionInput_notion_createdatabaserow", + "name": "create-database-row", + "output": ["ActionOutput_notion_createdatabaserow"], + "scopes": [], + "usedModels": ["ActionInput_notion_createdatabaserow", "ActionOutput_notion_createdatabaserow"], + "version": "2.0.0" } ], "syncs": [ @@ -60546,46 +62693,46 @@ }, { "type": "sync", - "description": "Sync a database content with each row as an entry. Store the top level\ndatabase information in the metadata to be able to reconcile the database", + "description": "Fetches a list of users from Notion", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/databases", - "group": "Databases" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_notion_databases", - "name": "databases", - "output": ["NotionCompleteDatabase"], - "runs": "every 1h", + "input": "SyncMetadata_notion_users", + "name": "users", + "output": ["User"], + "runs": "every day", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["NotionCompleteDatabase", "SyncMetadata_notion_databases"], - "version": "2.0.0", + "usedModels": ["User", "SyncMetadata_notion_users"], + "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of users from Notion", + "description": "Sync a database content with each row as an entry. Store the top level\ndatabase information in the metadata to be able to reconcile the database", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/databases", + "group": "Databases" } ], - "input": "SyncMetadata_notion_users", - "name": "users", - "output": ["User"], - "runs": "every day", + "input": "SyncMetadata_notion_databases", + "name": "databases", + "output": ["NotionCompleteDatabase"], + "runs": "every 1h", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_notion_users"], - "version": "1.0.0", + "usedModels": ["NotionCompleteDatabase", "SyncMetadata_notion_databases"], + "version": "2.0.0", "webhookSubscriptions": [] } ], @@ -60596,8 +62743,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_notion_contentmetadata": { + "type": "object", + "additionalProperties": false + }, "ContentMetadata": { "type": "object", "properties": { @@ -60624,7 +62774,33 @@ "required": ["id", "type", "last_modified"], "additionalProperties": false }, - "SyncMetadata_notion_contentmetadata": { + "SyncMetadata_notion_users": { + "type": "object", + "additionalProperties": false + }, + "User": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": ["string", "null"] + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "isBot": { + "type": "boolean" + } + }, + "required": ["id", "email", "firstName", "lastName", "isBot"], + "additionalProperties": false + }, + "SyncMetadata_notion_databases": { "type": "object", "additionalProperties": false }, @@ -60661,31 +62837,42 @@ "required": ["id", "row", "meta"], "additionalProperties": false }, - "SyncMetadata_notion_databases": { + "ActionInput_notion_fetchcontentmetadata": { "type": "object", + "properties": { + "url": { + "type": "string" + }, + "id": { + "type": "string" + } + }, "additionalProperties": false }, - "User": { + "ActionOutput_notion_fetchcontentmetadata": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "path": { "type": "string" }, - "lastName": { + "type": { + "type": "string", + "enum": ["page", "database"] + }, + "last_modified": { "type": "string" }, - "email": { + "title": { + "type": "string" + }, + "parent_id": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_notion_users": { - "type": "object", + "required": ["id", "type", "last_modified"], "additionalProperties": false }, "ActionInput_notion_createdatabaserow": { @@ -60725,53 +62912,31 @@ }, "required": ["success", "addedProperties"], "additionalProperties": false - }, - "ActionInput_notion_fetchcontentmetadata": { - "type": "object", - "properties": { - "url": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "additionalProperties": false - }, - "ActionOutput_notion_fetchcontentmetadata": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "path": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["page", "database"] - }, - "last_modified": { - "type": "string" - }, - "title": { - "type": "string" - }, - "parent_id": { - "type": "string" - } - }, - "required": ["id", "type", "last_modified"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "okta", "actions": [ + { + "type": "action", + "description": "Creates a new user in your Okta org without credentials.", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_okta_createuser", + "name": "create-user", + "output": ["ActionOutput_okta_createuser"], + "scopes": ["okta.users.manage"], + "usedModels": ["ActionInput_okta_createuser", "ActionOutput_okta_createuser"], + "version": "2.0.0" + }, { "type": "action", "description": "Adds a new group with the OKTA_GROUP type to your org", @@ -60801,21 +62966,6 @@ "usedModels": ["ActionInput_okta_addusergroup", "ActionOutput_okta_addusergroup"], "version": "1.0.0" }, - { - "type": "action", - "description": "Creates a new user in your Okta org without credentials.", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_okta_createuser", - "name": "create-user", - "output": ["ActionOutput_okta_createuser"], - "scopes": ["okta.users.manage"], - "usedModels": ["ActionInput_okta_createuser", "ActionOutput_okta_createuser"], - "version": "2.0.0" - }, { "type": "action", "description": "Unassigns a user from a group with the OKTA_GROUP type", @@ -60863,14 +63013,80 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_okta_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, + "status": { + "type": "string" + }, + "created": { + "type": "string" + }, + "activated": { + "type": "string" + }, + "statusChanged": { + "type": "string" + }, + "lastLogin": { + "type": ["string", "null"] + }, + "lastUpdated": { + "type": "string" + }, + "passwordChanged": { + "type": ["string", "null"] + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "profile": { + "type": "object", + "properties": { + "firstName": { + "type": ["string", "null"] + }, + "lastName": { + "type": ["string", "null"] + }, + "mobilePhone": { + "type": ["string", "null"] + }, + "secondEmail": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], + "additionalProperties": false + } + }, + "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], + "additionalProperties": false + }, + "ActionInput_okta_createuser": { + "type": "object", + "properties": { "firstName": { "type": "string" }, @@ -60879,13 +63095,81 @@ }, "email": { "type": "string" + }, + "login": { + "type": "string" + }, + "mobilePhone": { + "type": ["string", "null"] } }, - "required": ["id", "firstName", "lastName", "email"], + "required": ["firstName", "lastName", "email", "login"], "additionalProperties": false }, - "SyncMetadata_okta_users": { + "ActionOutput_okta_createuser": { "type": "object", + "properties": { + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created": { + "type": "string" + }, + "activated": { + "type": "string" + }, + "statusChanged": { + "type": "string" + }, + "lastLogin": { + "type": ["string", "null"] + }, + "lastUpdated": { + "type": "string" + }, + "passwordChanged": { + "type": ["string", "null"] + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "profile": { + "type": "object", + "properties": { + "firstName": { + "type": ["string", "null"] + }, + "lastName": { + "type": ["string", "null"] + }, + "mobilePhone": { + "type": ["string", "null"] + }, + "secondEmail": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], + "additionalProperties": false + } + }, + "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], "additionalProperties": false }, "ActionInput_okta_addgroup": { @@ -60995,94 +63279,6 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_okta_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "login": { - "type": "string" - }, - "mobilePhone": { - "type": ["string", "null"] - } - }, - "required": ["firstName", "lastName", "email", "login"], - "additionalProperties": false - }, - "ActionOutput_okta_createuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "created": { - "type": "string" - }, - "activated": { - "type": "string" - }, - "statusChanged": { - "type": "string" - }, - "lastLogin": { - "type": ["string", "null"] - }, - "lastUpdated": { - "type": "string" - }, - "passwordChanged": { - "type": ["string", "null"] - }, - "type": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "profile": { - "type": "object", - "properties": { - "firstName": { - "type": ["string", "null"] - }, - "lastName": { - "type": ["string", "null"] - }, - "mobilePhone": { - "type": ["string", "null"] - }, - "secondEmail": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], - "additionalProperties": false - } - }, - "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], - "additionalProperties": false - }, "ActionInput_okta_removeusergroup": { "type": "object", "properties": { @@ -61106,14 +63302,30 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "okta-preview", "actions": [ + { + "type": "action", + "description": "Creates a new user in your Okta org without credentials.", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_okta_createuser", + "name": "create-user", + "output": ["ActionOutput_okta_createuser"], + "scopes": ["okta.users.manage"], + "usedModels": ["ActionInput_okta_createuser", "ActionOutput_okta_createuser"], + "version": "2.0.0" + }, { "type": "action", "description": "Adds a new group with the OKTA_GROUP type to your org", @@ -61143,21 +63355,6 @@ "usedModels": ["ActionInput_okta_addusergroup", "ActionOutput_okta_addusergroup"], "version": "1.0.0" }, - { - "type": "action", - "description": "Creates a new user in your Okta org without credentials.", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_okta_createuser", - "name": "create-user", - "output": ["ActionOutput_okta_createuser"], - "scopes": ["okta.users.manage"], - "usedModels": ["ActionInput_okta_createuser", "ActionOutput_okta_createuser"], - "version": "2.0.0" - }, { "type": "action", "description": "Unassigns a user from a group with the OKTA_GROUP type", @@ -61205,14 +63402,80 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_okta_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, + "status": { + "type": "string" + }, + "created": { + "type": "string" + }, + "activated": { + "type": "string" + }, + "statusChanged": { + "type": "string" + }, + "lastLogin": { + "type": ["string", "null"] + }, + "lastUpdated": { + "type": "string" + }, + "passwordChanged": { + "type": ["string", "null"] + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "profile": { + "type": "object", + "properties": { + "firstName": { + "type": ["string", "null"] + }, + "lastName": { + "type": ["string", "null"] + }, + "mobilePhone": { + "type": ["string", "null"] + }, + "secondEmail": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], + "additionalProperties": false + } + }, + "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], + "additionalProperties": false + }, + "ActionInput_okta_createuser": { + "type": "object", + "properties": { "firstName": { "type": "string" }, @@ -61221,13 +63484,81 @@ }, "email": { "type": "string" + }, + "login": { + "type": "string" + }, + "mobilePhone": { + "type": ["string", "null"] } }, - "required": ["id", "firstName", "lastName", "email"], + "required": ["firstName", "lastName", "email", "login"], "additionalProperties": false }, - "SyncMetadata_okta_users": { + "ActionOutput_okta_createuser": { "type": "object", + "properties": { + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "created": { + "type": "string" + }, + "activated": { + "type": "string" + }, + "statusChanged": { + "type": "string" + }, + "lastLogin": { + "type": ["string", "null"] + }, + "lastUpdated": { + "type": "string" + }, + "passwordChanged": { + "type": ["string", "null"] + }, + "type": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "profile": { + "type": "object", + "properties": { + "firstName": { + "type": ["string", "null"] + }, + "lastName": { + "type": ["string", "null"] + }, + "mobilePhone": { + "type": ["string", "null"] + }, + "secondEmail": { + "type": ["string", "null"] + }, + "login": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], + "additionalProperties": false + } + }, + "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], "additionalProperties": false }, "ActionInput_okta_addgroup": { @@ -61337,94 +63668,6 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_okta_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "login": { - "type": "string" - }, - "mobilePhone": { - "type": ["string", "null"] - } - }, - "required": ["firstName", "lastName", "email", "login"], - "additionalProperties": false - }, - "ActionOutput_okta_createuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "created": { - "type": "string" - }, - "activated": { - "type": "string" - }, - "statusChanged": { - "type": "string" - }, - "lastLogin": { - "type": ["string", "null"] - }, - "lastUpdated": { - "type": "string" - }, - "passwordChanged": { - "type": ["string", "null"] - }, - "type": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "profile": { - "type": "object", - "properties": { - "firstName": { - "type": ["string", "null"] - }, - "lastName": { - "type": ["string", "null"] - }, - "mobilePhone": { - "type": ["string", "null"] - }, - "secondEmail": { - "type": ["string", "null"] - }, - "login": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["firstName", "lastName", "mobilePhone", "secondEmail", "login", "email"], - "additionalProperties": false - } - }, - "required": ["id", "status", "created", "activated", "statusChanged", "lastLogin", "lastUpdated", "passwordChanged", "type", "profile"], - "additionalProperties": false - }, "ActionInput_okta_removeusergroup": { "type": "object", "properties": { @@ -61448,9 +63691,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "okta" }, { @@ -61540,8 +63784,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_one_drive_userfiles": { + "type": "object", + "additionalProperties": false + }, "OneDriveFile": { "type": "object", "properties": { @@ -61599,8 +63846,36 @@ ], "additionalProperties": false }, - "SyncMetadata_one_drive_userfiles": { + "SyncMetadata_one_drive_userfilesselection": { "type": "object", + "properties": { + "drives": { + "type": "array", + "items": { + "type": "string" + } + }, + "pickedFiles": { + "type": "array", + "items": { + "type": "object", + "properties": { + "driveId": { + "type": "string" + }, + "fileIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["driveId", "fileIds"], + "additionalProperties": false + } + } + }, + "required": ["drives", "pickedFiles"], "additionalProperties": false }, "OneDriveFileSelection": { @@ -61660,38 +63935,6 @@ ], "additionalProperties": false }, - "SyncMetadata_one_drive_userfilesselection": { - "type": "object", - "properties": { - "drives": { - "type": "array", - "items": { - "type": "string" - } - }, - "pickedFiles": { - "type": "array", - "items": { - "type": "object", - "properties": { - "driveId": { - "type": "string" - }, - "fileIds": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["driveId", "fileIds"], - "additionalProperties": false - } - } - }, - "required": ["drives", "pickedFiles"], - "additionalProperties": false - }, "ActionInput_one_drive_fetchfile": { "type": "object", "properties": { @@ -61750,9 +63993,10 @@ "required": ["drives"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -61776,7 +64020,7 @@ "runs": "every hour", "scopes": ["OneDrive.ReadWrite", "offline_access"], "sync_type": "full", - "track_deletes": false, + "track_deletes": true, "usedModels": ["OneDriveFileSelection", "SyncMetadata_one_drive_personal_userfilesselection"], "version": "1.0.0", "webhookSubscriptions": [] @@ -61784,13 +64028,24 @@ ], "onEventScripts": { "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] + "pre-connection-deletion": [] }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_one_drive_personal_userfilesselection": { + "type": "object", + "properties": { + "fileIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["fileIds"], + "additionalProperties": false + }, "OneDriveFileSelection": { "type": "object", "properties": { @@ -61817,7 +64072,7 @@ }, "raw_source": { "type": "object", - "additionalProperties": false + "additionalProperties": true }, "updated_at": { "type": "string" @@ -61847,23 +64102,11 @@ "drive_id" ], "additionalProperties": false - }, - "SyncMetadata_one_drive_personal_userfilesselection": { - "type": "object", - "properties": { - "fileIds": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["fileIds"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.65.0)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -61872,45 +64115,45 @@ "syncs": [ { "type": "sync", - "description": "Fetch all employees from Oracle HCM in the native Oracle data model", + "description": "Fetch all employees from Oracle HCM", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees", - "group": "Oracle HCM API" + "path": "/employees/unified", + "group": "Unified HRIS API" } ], - "input": "SyncMetadata_oracle_hcm_employees", - "name": "employees", - "output": ["Employee"], + "input": "SyncMetadata_oracle_hcm_unifiedemployees", + "name": "unified-employees", + "output": ["StandardEmployee"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Employee", "SyncMetadata_oracle_hcm_employees"], + "usedModels": ["StandardEmployee", "SyncMetadata_oracle_hcm_unifiedemployees"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetch all employees from Oracle HCM", + "description": "Fetch all employees from Oracle HCM in the native Oracle data model", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" + "path": "/employees", + "group": "Oracle HCM API" } ], - "input": "SyncMetadata_oracle_hcm_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], + "input": "SyncMetadata_oracle_hcm_employees", + "name": "employees", + "output": ["Employee"], "runs": "every hour", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_oracle_hcm_unifiedemployees"], + "usedModels": ["Employee", "SyncMetadata_oracle_hcm_employees"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -61922,55 +64165,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Employee": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "user_name": { - "type": ["string", "null"] - }, - "first_name": { - "type": "string" - }, - "last_name": { - "type": "string" - }, - "active": { - "type": "boolean" - }, - "email": { - "type": "string" - }, - "role": { - "type": "string" - }, - "department": { - "type": "string" - }, - "site": { - "type": "string" - }, - "country": { - "type": ["string", "null"] - }, - "external_id": { - "type": "string" - }, - "employment_relationship": { - "type": "string" - }, - "phone_number": { - "type": ["string", "null"] - } - }, - "required": ["id", "user_name", "email", "role", "department", "site", "phone_number"], - "additionalProperties": false - }, - "SyncMetadata_oracle_hcm_employees": { + "SyncMetadata_oracle_hcm_unifiedemployees": { "type": "object", "additionalProperties": false }, @@ -62168,22 +64364,210 @@ "employmentStatus", "startDate", "workLocation", - "addresses", - "phones", - "emails", "providerSpecific", "createdAt", "updatedAt" ], "additionalProperties": false }, - "SyncMetadata_oracle_hcm_unifiedemployees": { + "SyncMetadata_oracle_hcm_employees": { "type": "object", "additionalProperties": false + }, + "Employee": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "personNumber": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "workEmail": { + "type": "string" + }, + "title": { + "type": "string" + }, + "departmentId": { + "type": "string" + }, + "departmentName": { + "type": "string" + }, + "assignmentStatusType": { + "type": "string" + }, + "startDate": { + "type": "string" + }, + "terminationDate": { + "type": "string" + }, + "managerId": { + "type": "string" + }, + "managerName": { + "type": "string" + }, + "workLocationName": { + "type": "string" + }, + "workLocationType": { + "type": "string" + }, + "correspondenceLanguage": { + "type": ["string", "null"] + }, + "bloodType": { + "type": ["string", "null"] + }, + "dateOfBirth": { + "type": ["string", "null"] + }, + "dateOfDeath": { + "type": ["string", "null"] + }, + "countryOfBirth": { + "type": ["string", "null"] + }, + "regionOfBirth": { + "type": ["string", "null"] + }, + "townOfBirth": { + "type": ["string", "null"] + }, + "applicantNumber": { + "type": ["string", "null"] + }, + "createdBy": { + "type": "string" + }, + "lastUpdatedBy": { + "type": "string" + }, + "creationDate": { + "type": "string" + }, + "lastUpdateDate": { + "type": "string" + }, + "workLocationAddress": { + "type": "object", + "properties": { + "addressLine1": { + "type": ["string", "null"] + }, + "addressLine2": { + "type": ["string", "null"] + }, + "townOrCity": { + "type": ["string", "null"] + }, + "region2": { + "type": ["string", "null"] + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": ["string", "null"] + }, + "addressType": { + "type": "string" + }, + "primaryFlag": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "addresses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "addressLine1": { + "type": ["string", "null"] + }, + "addressLine2": { + "type": ["string", "null"] + }, + "townOrCity": { + "type": ["string", "null"] + }, + "region2": { + "type": ["string", "null"] + }, + "country": { + "type": "string" + }, + "postalCode": { + "type": ["string", "null"] + }, + "addressType": { + "type": "string" + }, + "primaryFlag": { + "type": "boolean" + } + }, + "additionalProperties": false + } + }, + "phones": { + "type": "array", + "items": { + "type": "object", + "properties": { + "phoneType": { + "type": "string" + }, + "phoneNumber": { + "type": "string" + }, + "primaryFlag": { + "type": "boolean" + } + }, + "additionalProperties": false + } + }, + "emails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "emailType": { + "type": "string" + }, + "emailAddress": { + "type": "string" + }, + "primaryFlag": { + "type": "boolean" + } + }, + "additionalProperties": false + } + } + }, + "required": ["id"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -62200,46 +64584,11 @@ "name": "fetch-attachment", "output": ["ActionOutput_outlook_fetchattachment"], "scopes": ["Mail.Read"], - "usedModels": ["ActionInput_outlook_fetchattachment", "ActionOutput_outlook_fetchattachment"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "An action used to fetch the contents of an attachment.", - "endpoint": { - "method": "GET", - "path": "/fetch-event-content" - }, - "input": "ActionInput_outlook_fetcheventcontent", - "name": "fetch-event-content", - "output": ["ActionOutput_outlook_fetcheventcontent"], - "scopes": ["Mail.Read"], - "usedModels": ["ActionInput_outlook_fetcheventcontent", "ActionOutput_outlook_fetcheventcontent"], - "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Sync the calendars list of the user", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/calendars" - } - ], - "input": "SyncMetadata_outlook_calendars", - "name": "calendars", - "output": ["OutlookCalendar"], - "runs": "every hour", - "scopes": ["Calendars.Read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["OutlookCalendar", "SyncMetadata_outlook_calendars"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, + "usedModels": ["ActionInput_outlook_fetchattachment", "ActionOutput_outlook_fetchattachment"], + "version": "1.0.0" + } + ], + "syncs": [ { "type": "sync", "description": "Fetches a list of emails from outlook. Goes back default to 1 year\nbut metadata can be set using the `backfillPeriodMs` property\nto change the lookback. The property should be set in milliseconds.", @@ -62282,6 +64631,27 @@ "version": "2.0.0", "webhookSubscriptions": [] }, + { + "type": "sync", + "description": "Sync the calendars list of the user", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/calendars" + } + ], + "input": "SyncMetadata_outlook_calendars", + "name": "calendars", + "output": ["OutlookCalendar"], + "runs": "every hour", + "scopes": ["Calendars.Read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["OutlookCalendar", "SyncMetadata_outlook_calendars"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Fetches a list of folders from outlook.", @@ -62311,100 +64681,15 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "OutlookCalendar": { + "SyncMetadata_outlook_emails": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "allowedOnlineMeetingProviders": { - "type": "array", - "items": { - "type": "string" - } - }, - "canEdit": { - "type": "boolean" - }, - "canShare": { - "type": "boolean" - }, - "canViewPrivateItems": { - "type": "boolean" - }, - "changeKey": { - "type": "string" - }, - "color": { - "type": "string", - "enum": [ - "auto", - "lightBlue", - "lightGreen", - "lightOrange", - "lightGray", - "lightYellow", - "lightTeal", - "lightPink", - "lightBrown", - "lightRed", - "maxColor" - ] - }, - "defaultOnlineMeetingProvider": { - "type": "string" - }, - "hexColor": { - "type": "string" - }, - "isDefaultCalendar": { - "type": "boolean" - }, - "isRemovable": { - "type": "boolean" - }, - "isTallyingResponses": { - "type": "boolean" - }, - "name": { - "type": "string" - }, - "owner": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["address", "name"], - "additionalProperties": false + "backfillPeriodMs": { + "type": "number" } }, - "required": [ - "id", - "allowedOnlineMeetingProviders", - "canEdit", - "canShare", - "canViewPrivateItems", - "changeKey", - "color", - "defaultOnlineMeetingProvider", - "hexColor", - "isDefaultCalendar", - "isRemovable", - "isTallyingResponses", - "name", - "owner" - ], - "additionalProperties": false - }, - "SyncMetadata_outlook_calendars": { - "type": "object", + "required": ["backfillPeriodMs"], "additionalProperties": false }, "OutlookEmail": { @@ -62457,7 +64742,7 @@ "required": ["id", "date", "subject", "body", "attachments", "threadId"], "additionalProperties": false }, - "SyncMetadata_outlook_emails": { + "SyncMetadata_outlook_events": { "type": "object", "properties": { "backfillPeriodMs": { @@ -62870,339 +65155,152 @@ ], "additionalProperties": false }, - "SyncMetadata_outlook_events": { + "SyncMetadata_outlook_calendars": { "type": "object", - "properties": { - "backfillPeriodMs": { - "type": "number" - } - }, - "required": ["backfillPeriodMs"], "additionalProperties": false }, - "OutlookFolder": { + "OutlookCalendar": { "type": "object", "properties": { "id": { "type": "string" }, - "displayName": { - "type": "string" - }, - "parentFolderId": { - "type": "string" - }, - "childFolderCount": { - "type": "number" + "allowedOnlineMeetingProviders": { + "type": "array", + "items": { + "type": "string" + } }, - "unreadItemCount": { - "type": "number" + "canEdit": { + "type": "boolean" }, - "totalItemCount": { - "type": "number" + "canShare": { + "type": "boolean" }, - "isHidden": { + "canViewPrivateItems": { "type": "boolean" - } - }, - "required": ["id", "displayName", "parentFolderId", "childFolderCount", "unreadItemCount", "totalItemCount", "isHidden"], - "additionalProperties": false - }, - "SyncMetadata_outlook_folders": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_outlook_fetchattachment": { - "type": "object", - "properties": { - "threadId": { - "type": "string" }, - "attachmentId": { - "type": "string" - } - }, - "required": ["threadId", "attachmentId"], - "additionalProperties": false - }, - "ActionOutput_outlook_fetchattachment": { - "type": "string" - }, - "ActionInput_outlook_fetcheventcontent": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_outlook_fetcheventcontent": { - "type": "object", - "properties": { - "content": { + "changeKey": { "type": "string" }, - "contentType": { + "color": { "type": "string", - "enum": ["text", "html"] - } - }, - "required": ["content", "contentType"], - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "paycom", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of current employees from Paycom and maps them to the standard HRIS model", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" - } - ], - "input": "SyncMetadata_paycom_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every hour", - "scopes": [], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_paycom_unifiedemployees"], - "version": "0.0.1", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "StandardEmployee": { - "type": "object", - "properties": { - "id": { - "type": "string" + "enum": [ + "auto", + "lightBlue", + "lightGreen", + "lightOrange", + "lightGray", + "lightYellow", + "lightTeal", + "lightPink", + "lightBrown", + "lightRed", + "maxColor" + ] }, - "firstName": { + "defaultOnlineMeetingProvider": { "type": "string" }, - "lastName": { + "hexColor": { "type": "string" }, - "email": { - "type": "string" + "isDefaultCalendar": { + "type": "boolean" }, - "displayName": { - "type": "string" + "isRemovable": { + "type": "boolean" }, - "employeeNumber": { - "type": "string" + "isTallyingResponses": { + "type": "boolean" }, - "title": { + "name": { "type": "string" }, - "department": { + "owner": { "type": "object", "properties": { - "id": { + "address": { "type": "string" }, "name": { "type": "string" } }, - "required": ["id", "name"], + "required": ["address", "name"], "additionalProperties": false - }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { + } + }, + "required": [ + "id", + "allowedOnlineMeetingProviders", + "canEdit", + "canShare", + "canViewPrivateItems", + "changeKey", + "color", + "defaultOnlineMeetingProvider", + "hexColor", + "isDefaultCalendar", + "isRemovable", + "isTallyingResponses", + "name", + "owner" + ], + "additionalProperties": false + }, + "SyncMetadata_outlook_folders": { + "type": "object", + "additionalProperties": false + }, + "OutlookFolder": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "terminationDate": { + "displayName": { "type": "string" }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false - }, - "workLocation": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "required": ["name", "type"], - "additionalProperties": false - }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } + "parentFolderId": { + "type": "string" }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } + "childFolderCount": { + "type": "number" }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false - } + "unreadItemCount": { + "type": "number" }, - "providerSpecific": { - "type": "object", - "additionalProperties": false + "totalItemCount": { + "type": "number" }, - "createdAt": { + "isHidden": { + "type": "boolean" + } + }, + "required": ["id", "displayName", "parentFolderId", "childFolderCount", "unreadItemCount", "totalItemCount", "isHidden"], + "additionalProperties": false + }, + "ActionInput_outlook_fetchattachment": { + "type": "object", + "properties": { + "threadId": { "type": "string" }, - "updatedAt": { + "attachmentId": { "type": "string" } }, - "required": [ - "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" - ], + "required": ["threadId", "attachmentId"], "additionalProperties": false }, - "SyncMetadata_paycom_unifiedemployees": { - "type": "object", - "additionalProperties": false + "ActionOutput_outlook_fetchattachment": { + "type": "string" } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -63239,34 +65337,34 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_paylocity_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_paylocity_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -63302,21 +65400,6 @@ "usedModels": ["ActionInput_pennylane_createinvoice", "ActionOutput_pennylane_createinvoice"], "version": "2.0.0" }, - { - "type": "action", - "description": "Action to create a product in pennylane", - "endpoint": { - "method": "POST", - "path": "/products", - "group": "Products" - }, - "input": "ActionInput_pennylane_createproduct", - "name": "create-product", - "output": ["ActionOutput_pennylane_createproduct"], - "scopes": [], - "usedModels": ["ActionInput_pennylane_createproduct", "ActionOutput_pennylane_createproduct"], - "version": "2.0.0" - }, { "type": "action", "description": "Action to create a supplier in pennylane", @@ -63364,32 +65447,47 @@ }, { "type": "action", - "description": "Action to update a product in pennylane", + "description": "Action to update a supplier in pennylane", "endpoint": { "method": "PATCH", + "path": "/suppliers", + "group": "Suppliers" + }, + "input": "ActionInput_pennylane_updatesupplier", + "name": "update-supplier", + "output": ["ActionOutput_pennylane_updatesupplier"], + "scopes": [], + "usedModels": ["ActionInput_pennylane_updatesupplier", "ActionOutput_pennylane_updatesupplier"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Action to create a product in pennylane", + "endpoint": { + "method": "POST", "path": "/products", "group": "Products" }, - "input": "ActionInput_pennylane_updateproduct", - "name": "update-product", - "output": ["ActionOutput_pennylane_updateproduct"], + "input": "ActionInput_pennylane_createproduct", + "name": "create-product", + "output": ["ActionOutput_pennylane_createproduct"], "scopes": [], - "usedModels": ["ActionInput_pennylane_updateproduct", "ActionOutput_pennylane_updateproduct"], + "usedModels": ["ActionInput_pennylane_createproduct", "ActionOutput_pennylane_createproduct"], "version": "2.0.0" }, { "type": "action", - "description": "Action to update a supplier in pennylane", + "description": "Action to update a product in pennylane", "endpoint": { "method": "PATCH", - "path": "/suppliers", - "group": "Suppliers" + "path": "/products", + "group": "Products" }, - "input": "ActionInput_pennylane_updatesupplier", - "name": "update-supplier", - "output": ["ActionOutput_pennylane_updatesupplier"], + "input": "ActionInput_pennylane_updateproduct", + "name": "update-product", + "output": ["ActionOutput_pennylane_updateproduct"], "scopes": [], - "usedModels": ["ActionInput_pennylane_updatesupplier", "ActionOutput_pennylane_updatesupplier"], + "usedModels": ["ActionInput_pennylane_updateproduct", "ActionOutput_pennylane_updateproduct"], "version": "2.0.0" } ], @@ -63416,6 +65514,28 @@ "version": "2.0.0", "webhookSubscriptions": [] }, + { + "type": "sync", + "description": "Fetches a list of suppliers from pennylane", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/suppliers", + "group": "Suppliers" + } + ], + "input": "SyncMetadata_pennylane_suppliers", + "name": "suppliers", + "output": ["PennylaneSupplier"], + "runs": "every 6 hours", + "scopes": ["supplier_invoices"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["PennylaneSupplier", "SyncMetadata_pennylane_suppliers"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Fetches a list of customer invoices from pennylane", @@ -63459,28 +65579,6 @@ "usedModels": ["PennylaneProduct", "SyncMetadata_pennylane_products"], "version": "2.0.0", "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of suppliers from pennylane", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/suppliers", - "group": "Suppliers" - } - ], - "input": "SyncMetadata_pennylane_suppliers", - "name": "suppliers", - "output": ["PennylaneSupplier"], - "runs": "every 6 hours", - "scopes": ["supplier_invoices"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["PennylaneSupplier", "SyncMetadata_pennylane_suppliers"], - "version": "2.0.0", - "webhookSubscriptions": [] } ], "onEventScripts": { @@ -63490,8 +65588,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_pennylane_customers": { + "type": "object", + "additionalProperties": false + }, "PennylaneCustomer": { "type": "object", "properties": { @@ -63591,7 +65692,69 @@ "required": ["id"], "additionalProperties": false }, - "SyncMetadata_pennylane_customers": { + "SyncMetadata_pennylane_suppliers": { + "type": "object", + "additionalProperties": false + }, + "PennylaneSupplier": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "reg_no": { + "type": "string" + }, + "address": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "city": { + "type": "string" + }, + "country_alpha2": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "vat_number": { + "type": "string" + }, + "source_id": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "iban": { + "type": "string" + }, + "payment_conditions": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["name", "id", "address", "postal_code", "city", "country_alpha2", "emails"], + "additionalProperties": false + }, + "SyncMetadata_pennylane_invoices": { "type": "object", "additionalProperties": false }, @@ -64109,7 +66272,7 @@ ], "additionalProperties": false }, - "SyncMetadata_pennylane_invoices": { + "SyncMetadata_pennylane_products": { "type": "object", "additionalProperties": false }, @@ -64153,72 +66316,6 @@ "required": ["id", "source_id", "label", "unit", "price", "vat_rate", "currency"], "additionalProperties": false }, - "SyncMetadata_pennylane_products": { - "type": "object", - "additionalProperties": false - }, - "PennylaneSupplier": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "reg_no": { - "type": "string" - }, - "address": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "city": { - "type": "string" - }, - "country_alpha2": { - "type": "string" - }, - "recipient": { - "type": "string" - }, - "vat_number": { - "type": "string" - }, - "source_id": { - "type": "string" - }, - "emails": { - "type": "array", - "items": { - "type": "string" - } - }, - "iban": { - "type": "string" - }, - "payment_conditions": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "reference": { - "type": "string" - }, - "notes": { - "type": "string" - } - }, - "required": ["name", "id", "address", "postal_code", "city", "country_alpha2", "emails"], - "additionalProperties": false - }, - "SyncMetadata_pennylane_suppliers": { - "type": "object", - "additionalProperties": false - }, "ActionInput_pennylane_createcustomer": { "type": "object", "properties": { @@ -64620,56 +66717,6 @@ "required": ["success", "source_id"], "additionalProperties": false }, - "ActionInput_pennylane_createproduct": { - "type": "object", - "properties": { - "source_id": { - "type": "string" - }, - "label": { - "type": "string" - }, - "description": { - "type": "string" - }, - "unit": { - "type": "string" - }, - "price_before_tax": { - "type": "number" - }, - "price": { - "type": "number" - }, - "vat_rate": { - "type": "string" - }, - "currency": { - "type": "string" - }, - "reference": { - "type": ["string", "null"] - }, - "substance": { - "type": ["string", "null"] - } - }, - "required": ["source_id", "label", "unit", "price", "vat_rate", "currency"], - "additionalProperties": false - }, - "ActionOutput_pennylane_createproduct": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - }, - "source_id": { - "type": "string" - } - }, - "required": ["success", "source_id"], - "additionalProperties": false - }, "ActionInput_pennylane_createsupplier": { "type": "object", "properties": { @@ -65338,7 +67385,75 @@ "required": ["success", "source_id"], "additionalProperties": false }, - "ActionInput_pennylane_updateproduct": { + "ActionInput_pennylane_updatesupplier": { + "type": "object", + "properties": { + "source_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "reg_no": { + "type": "string" + }, + "address": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "city": { + "type": "string" + }, + "country_alpha2": { + "type": "string" + }, + "recipient": { + "type": "string" + }, + "vat_number": { + "type": "string" + }, + "emails": { + "type": "array", + "items": { + "type": "string" + } + }, + "iban": { + "type": "string" + }, + "payment_conditions": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["source_id", "emails"], + "additionalProperties": false + }, + "ActionOutput_pennylane_updatesupplier": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + }, + "source_id": { + "type": "string" + } + }, + "required": ["success", "source_id"], + "additionalProperties": false + }, + "ActionInput_pennylane_createproduct": { "type": "object", "properties": { "source_id": { @@ -65372,10 +67487,10 @@ "type": ["string", "null"] } }, - "required": ["source_id"], + "required": ["source_id", "label", "unit", "price", "vat_rate", "currency"], "additionalProperties": false }, - "ActionOutput_pennylane_updateproduct": { + "ActionOutput_pennylane_createproduct": { "type": "object", "properties": { "success": { @@ -65388,62 +67503,44 @@ "required": ["success", "source_id"], "additionalProperties": false }, - "ActionInput_pennylane_updatesupplier": { + "ActionInput_pennylane_updateproduct": { "type": "object", "properties": { "source_id": { "type": "string" }, - "name": { - "type": "string" - }, - "reg_no": { - "type": "string" - }, - "address": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "city": { - "type": "string" - }, - "country_alpha2": { + "label": { "type": "string" }, - "recipient": { + "description": { "type": "string" }, - "vat_number": { + "unit": { "type": "string" }, - "emails": { - "type": "array", - "items": { - "type": "string" - } + "price_before_tax": { + "type": "number" }, - "iban": { - "type": "string" + "price": { + "type": "number" }, - "payment_conditions": { + "vat_rate": { "type": "string" }, - "phone": { + "currency": { "type": "string" }, "reference": { - "type": "string" + "type": ["string", "null"] }, - "notes": { - "type": "string" + "substance": { + "type": ["string", "null"] } }, - "required": ["source_id", "emails"], + "required": ["source_id"], "additionalProperties": false }, - "ActionOutput_pennylane_updatesupplier": { + "ActionOutput_pennylane_updateproduct": { "type": "object", "properties": { "success": { @@ -65456,9 +67553,10 @@ "required": ["success", "source_id"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -65526,29 +67624,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_perimeter81_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_perimeter81_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_perimeter81_createuser": { @@ -65642,9 +67739,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -65743,8 +67841,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_pipedrive_activities": { + "type": "object", + "additionalProperties": false + }, "PipeDriveActivity": { "type": "object", "properties": { @@ -65903,7 +68004,7 @@ ], "additionalProperties": false }, - "SyncMetadata_pipedrive_activities": { + "SyncMetadata_pipedrive_deals": { "type": "object", "additionalProperties": false }, @@ -66005,7 +68106,7 @@ ], "additionalProperties": false }, - "SyncMetadata_pipedrive_deals": { + "SyncMetadata_pipedrive_organizations": { "type": "object", "additionalProperties": false }, @@ -66104,7 +68205,7 @@ ], "additionalProperties": false }, - "SyncMetadata_pipedrive_organizations": { + "SyncMetadata_pipedrive_persons": { "type": "object", "additionalProperties": false }, @@ -66180,14 +68281,11 @@ "cc_email" ], "additionalProperties": false - }, - "SyncMetadata_pipedrive_persons": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -66195,152 +68293,167 @@ "actions": [ { "type": "action", - "description": "Creates a single account in QuickBooks.", + "description": "Creates a single customer in QuickBooks.", "endpoint": { "method": "POST", - "path": "/accounts", - "group": "Accounts" + "path": "/customers", + "group": "Customers" }, - "input": "ActionInput_quickbooks_createaccount", - "name": "create-account", - "output": ["ActionOutput_quickbooks_createaccount"], + "input": "ActionInput_quickbooks_createcustomer", + "name": "create-customer", + "output": ["ActionOutput_quickbooks_createcustomer"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createaccount", "ActionOutput_quickbooks_createaccount"], + "usedModels": ["ActionInput_quickbooks_createcustomer", "ActionOutput_quickbooks_createcustomer"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single bill in QuickBooks.", + "description": "Update a single customer in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/bills", - "group": "Bills" + "method": "PUT", + "path": "/customers", + "group": "Customers" }, - "input": "ActionInput_quickbooks_createbill", - "name": "create-bill", - "output": ["ActionOutput_quickbooks_createbill"], + "input": "ActionInput_quickbooks_updatecustomer", + "name": "update-customer", + "output": ["ActionOutput_quickbooks_updatecustomer"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createbill", "ActionOutput_quickbooks_createbill"], + "usedModels": ["ActionInput_quickbooks_updatecustomer", "ActionOutput_quickbooks_updatecustomer"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single credit memo in QuickBooks.", + "description": "Creates a single journal entry in QuickBooks.", "endpoint": { "method": "POST", - "path": "/credit-memos", - "group": "Credit Memos" + "path": "/journal-entries", + "group": "Journal Entries" }, - "input": "ActionInput_quickbooks_createcreditmemo", - "name": "create-credit-memo", - "output": ["ActionOutput_quickbooks_createcreditmemo"], + "input": "ActionInput_quickbooks_createjournalentry", + "name": "create-journal-entry", + "output": ["ActionOutput_quickbooks_createjournalentry"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createcreditmemo", "ActionOutput_quickbooks_createcreditmemo"], + "usedModels": ["ActionInput_quickbooks_createjournalentry", "ActionOutput_quickbooks_createjournalentry"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single customer in QuickBooks.", + "description": "Update a single journal entry in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/customers", - "group": "Customers" + "method": "PUT", + "path": "/journal-entries", + "group": "Journal Entries" }, - "input": "ActionInput_quickbooks_createcustomer", - "name": "create-customer", - "output": ["ActionOutput_quickbooks_createcustomer"], + "input": "ActionInput_quickbooks_updatejournalentry", + "name": "update-journal-entry", + "output": ["ActionOutput_quickbooks_updatejournalentry"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createcustomer", "ActionOutput_quickbooks_createcustomer"], + "usedModels": ["ActionInput_quickbooks_updatejournalentry", "ActionOutput_quickbooks_updatejournalentry"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single invoice in QuickBooks.", + "description": "Creates a single item in QuickBooks.", "endpoint": { "method": "POST", - "path": "/invoices", - "group": "Invoices" + "path": "/items", + "group": "Items" }, - "input": "ActionInput_quickbooks_createinvoice", - "name": "create-invoice", - "output": ["ActionOutput_quickbooks_createinvoice"], + "input": "ActionInput_quickbooks_createitem", + "name": "create-item", + "output": ["ActionOutput_quickbooks_createitem"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createinvoice", "ActionOutput_quickbooks_createinvoice"], + "usedModels": ["ActionInput_quickbooks_createitem", "ActionOutput_quickbooks_createitem"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single item in QuickBooks.", + "description": "Update a single item in QuickBooks.", "endpoint": { - "method": "POST", + "method": "PUT", "path": "/items", "group": "Items" }, - "input": "ActionInput_quickbooks_createitem", - "name": "create-item", - "output": ["ActionOutput_quickbooks_createitem"], + "input": "ActionInput_quickbooks_updateitem", + "name": "update-item", + "output": ["ActionOutput_quickbooks_updateitem"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createitem", "ActionOutput_quickbooks_createitem"], + "usedModels": ["ActionInput_quickbooks_updateitem", "ActionOutput_quickbooks_updateitem"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single journal entry in QuickBooks.", + "description": "Creates a single account in QuickBooks.", "endpoint": { "method": "POST", - "path": "/journal-entries", - "group": "Journal Entries" + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_quickbooks_createjournalentry", - "name": "create-journal-entry", - "output": ["ActionOutput_quickbooks_createjournalentry"], + "input": "ActionInput_quickbooks_createaccount", + "name": "create-account", + "output": ["ActionOutput_quickbooks_createaccount"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createjournalentry", "ActionOutput_quickbooks_createjournalentry"], + "usedModels": ["ActionInput_quickbooks_createaccount", "ActionOutput_quickbooks_createaccount"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Updates a single account in QuickBooks.", + "endpoint": { + "method": "PUT", + "path": "/accounts", + "group": "Accounts" + }, + "input": "ActionInput_quickbooks_updateaccount", + "name": "update-account", + "output": ["ActionOutput_quickbooks_updateaccount"], + "scopes": ["com.intuit.quickbooks.accounting"], + "usedModels": ["ActionInput_quickbooks_updateaccount", "ActionOutput_quickbooks_updateaccount"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single payment in QuickBooks.", + "description": "Creates a single invoice in QuickBooks.", "endpoint": { "method": "POST", - "path": "/payments", - "group": "Payments" + "path": "/invoices", + "group": "Invoices" }, - "input": "ActionInput_quickbooks_createpayment", - "name": "create-payment", - "output": ["ActionOutput_quickbooks_createpayment"], + "input": "ActionInput_quickbooks_createinvoice", + "name": "create-invoice", + "output": ["ActionOutput_quickbooks_createinvoice"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createpayment", "ActionOutput_quickbooks_createpayment"], + "usedModels": ["ActionInput_quickbooks_createinvoice", "ActionOutput_quickbooks_createinvoice"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single purchase order in QuickBooks.", + "description": "Updates a single invoice in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/purchase-orders", - "group": "Purchase Orders" + "method": "PUT", + "path": "/invoices", + "group": "Invoices" }, - "input": "ActionInput_quickbooks_createpurchaseorder", - "name": "create-purchase-order", - "output": ["ActionOutput_quickbooks_createpurchaseorder"], + "input": "ActionInput_quickbooks_updateinvoice", + "name": "update-invoice", + "output": ["ActionOutput_quickbooks_updateinvoice"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createpurchaseorder", "ActionOutput_quickbooks_createpurchaseorder"], + "usedModels": ["ActionInput_quickbooks_updateinvoice", "ActionOutput_quickbooks_updateinvoice"], "version": "1.0.0" }, { "type": "action", - "description": "Updates a single account in QuickBooks.", + "description": "Creates a single credit memo in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/accounts", - "group": "Accounts" + "method": "POST", + "path": "/credit-memos", + "group": "Credit Memos" }, - "input": "ActionInput_quickbooks_updateaccount", - "name": "update-account", - "output": ["ActionOutput_quickbooks_updateaccount"], + "input": "ActionInput_quickbooks_createcreditmemo", + "name": "create-credit-memo", + "output": ["ActionOutput_quickbooks_createcreditmemo"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateaccount", "ActionOutput_quickbooks_updateaccount"], + "usedModels": ["ActionInput_quickbooks_createcreditmemo", "ActionOutput_quickbooks_createcreditmemo"], "version": "1.0.0" }, { @@ -66360,62 +68473,47 @@ }, { "type": "action", - "description": "Update a single customer in QuickBooks.", - "endpoint": { - "method": "PUT", - "path": "/customers", - "group": "Customers" - }, - "input": "ActionInput_quickbooks_updatecustomer", - "name": "update-customer", - "output": ["ActionOutput_quickbooks_updatecustomer"], - "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updatecustomer", "ActionOutput_quickbooks_updatecustomer"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Updates a single invoice in QuickBooks.", + "description": "Creates a single payment in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/invoices", - "group": "Invoices" + "method": "POST", + "path": "/payments", + "group": "Payments" }, - "input": "ActionInput_quickbooks_updateinvoice", - "name": "update-invoice", - "output": ["ActionOutput_quickbooks_updateinvoice"], + "input": "ActionInput_quickbooks_createpayment", + "name": "create-payment", + "output": ["ActionOutput_quickbooks_createpayment"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateinvoice", "ActionOutput_quickbooks_updateinvoice"], + "usedModels": ["ActionInput_quickbooks_createpayment", "ActionOutput_quickbooks_createpayment"], "version": "1.0.0" }, { "type": "action", - "description": "Update a single item in QuickBooks.", + "description": "Creates a single purchase order in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/items", - "group": "Items" + "method": "POST", + "path": "/purchase-orders", + "group": "Purchase Orders" }, - "input": "ActionInput_quickbooks_updateitem", - "name": "update-item", - "output": ["ActionOutput_quickbooks_updateitem"], + "input": "ActionInput_quickbooks_createpurchaseorder", + "name": "create-purchase-order", + "output": ["ActionOutput_quickbooks_createpurchaseorder"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateitem", "ActionOutput_quickbooks_updateitem"], + "usedModels": ["ActionInput_quickbooks_createpurchaseorder", "ActionOutput_quickbooks_createpurchaseorder"], "version": "1.0.0" }, { "type": "action", - "description": "Update a single journal entry in QuickBooks.", + "description": "Creates a single bill in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/journal-entries", - "group": "Journal Entries" + "method": "POST", + "path": "/bills", + "group": "Bills" }, - "input": "ActionInput_quickbooks_updatejournalentry", - "name": "update-journal-entry", - "output": ["ActionOutput_quickbooks_updatejournalentry"], + "input": "ActionInput_quickbooks_createbill", + "name": "create-bill", + "output": ["ActionOutput_quickbooks_createbill"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updatejournalentry", "ActionOutput_quickbooks_updatejournalentry"], + "usedModels": ["ActionInput_quickbooks_createbill", "ActionOutput_quickbooks_createbill"], "version": "1.0.0" } ], @@ -66442,6 +68540,28 @@ "version": "1.0.0", "webhookSubscriptions": [] }, + { + "type": "sync", + "description": "Fetches all QuickBooks bills", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/bills", + "group": "Bills" + } + ], + "input": "SyncMetadata_quickbooks_bills", + "name": "bills", + "output": ["Bill"], + "runs": "every hour", + "scopes": ["com.intuit.quickbooks.accounting"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Bill", "SyncMetadata_quickbooks_bills"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Fetches all QuickBooks bill payments", @@ -66466,23 +68586,23 @@ }, { "type": "sync", - "description": "Fetches all QuickBooks bills", + "description": "Fetches all QuickBooks deposits", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/bills", - "group": "Bills" + "path": "/deposits", + "group": "Deposits" } ], - "input": "SyncMetadata_quickbooks_bills", - "name": "bills", - "output": ["Bill"], + "input": "SyncMetadata_quickbooks_deposits", + "name": "deposits", + "output": ["Deposit"], "runs": "every hour", "scopes": ["com.intuit.quickbooks.accounting"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Bill", "SyncMetadata_quickbooks_bills"], + "usedModels": ["Deposit", "SyncMetadata_quickbooks_deposits"], "version": "1.0.0", "webhookSubscriptions": [] }, @@ -66530,28 +68650,6 @@ "version": "1.0.0", "webhookSubscriptions": [] }, - { - "type": "sync", - "description": "Fetches all QuickBooks deposits", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/deposits", - "group": "Deposits" - } - ], - "input": "SyncMetadata_quickbooks_deposits", - "name": "deposits", - "output": ["Deposit"], - "runs": "every hour", - "scopes": ["com.intuit.quickbooks.accounting"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Deposit", "SyncMetadata_quickbooks_deposits"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches all invoices in QuickBooks. Handles both active and voided invoices, saving or deleting them based on their status.", @@ -66654,356 +68752,50 @@ "input": "SyncMetadata_quickbooks_purchases", "name": "purchases", "output": ["Purchase"], - "runs": "every hour", - "scopes": ["com.intuit.quickbooks.accounting"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Purchase", "SyncMetadata_quickbooks_purchases"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches all QuickBooks transfers", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/transfers", - "group": "Transfers" - } - ], - "input": "SyncMetadata_quickbooks_transfers", - "name": "transfers", - "output": ["Transfer"], - "runs": "every hour", - "scopes": ["com.intuit.quickbooks.accounting"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Transfer", "SyncMetadata_quickbooks_transfers"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Account": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "tax_type": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "class": { - "type": "string" - }, - "bank_account_type": { - "type": "string" - }, - "reporting_code": { - "type": "string" - }, - "reporting_code_name": { - "type": "string" - }, - "currency_code": { - "type": "string" - } - }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_accounts": { - "type": "object", - "additionalProperties": false - }, - "BillPayment": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" - }, - "linkedTxn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - } - }, - "required": ["amount", "linkedTxn"], - "additionalProperties": false - } - } - }, - "required": ["id", "txn_date", "total_amount", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_billpayments": { - "type": "object", - "additionalProperties": false - }, - "Bill": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "sales_term_id": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "balance": { - "type": "number" - }, - "txn_date": { - "type": "string" - }, - "currency": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" - }, - "ap_account_id": { - "type": "string" - }, - "ap_account_name": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "detail_type": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - } - }, - "required": ["id", "detail_type", "amount"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_bills": { - "type": "object", - "additionalProperties": false - }, - "CreditMemo": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "balance_cents": { - "type": "number" - }, - "total_amt_cents": { - "type": "number" - }, - "bill_address": { - "anyOf": [ - { - "type": "object", - "properties": { - "city": { - "type": ["string", "null"] - }, - "line1": { - "type": ["string", "null"] - }, - "postal_code": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - } - }, - "required": ["city", "line1", "postal_code", "country", "id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "qty": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "amount_cents": { - "type": "number" - } - }, - "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], - "additionalProperties": false - } - }, - "remaining_credit": { - "type": "number" - }, - "customer_name": { - "type": ["string", "null"] - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "txn_date", - "balance_cents", - "total_amt_cents", - "bill_address", - "items", - "remaining_credit", - "customer_name" - ], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_creditmemos": { - "type": "object", - "additionalProperties": false - }, - "Customer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "is_paying_customer": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "modified_at": { - "type": "string" - } - }, - "required": ["id", "name", "email", "is_paying_customer", "created_at", "modified_at"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_customers": { + "runs": "every hour", + "scopes": ["com.intuit.quickbooks.accounting"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Purchase", "SyncMetadata_quickbooks_purchases"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches all QuickBooks transfers", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/transfers", + "group": "Transfers" + } + ], + "input": "SyncMetadata_quickbooks_transfers", + "name": "transfers", + "output": ["Transfer"], + "runs": "every hour", + "scopes": ["com.intuit.quickbooks.accounting"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Transfer", "SyncMetadata_quickbooks_transfers"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_quickbooks_accounts": { "type": "object", "additionalProperties": false }, - "Deposit": { + "Account": { "type": "object", "properties": { "created_at": { @@ -67015,169 +68807,59 @@ "id": { "type": "string" }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "detail_type": { - "type": "string" - }, - "deposit_account_id": { - "type": "string" - }, - "deposit_account_name": { - "type": "string" - } - }, - "required": ["amount"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "txn_date", "total_amount", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_deposits": { - "type": "object", - "additionalProperties": false - }, - "Invoice": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] - }, - "external_contact_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "id": { + "fully_qualified_name": { "type": "string" }, - "issuing_date": { - "type": ["string", "null"] - }, - "payment_due_date": { - "type": ["string", "null"] - }, - "status": { + "name": { "type": "string" }, - "number": { + "account_type": { "type": "string" }, - "currency": { + "account_sub_type": { "type": "string" }, - "purchase_order": { - "type": ["string", "null"] - }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account_code": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "discount_amount_cents": { - "type": ["number", "null"] - }, - "discount_rate": { - "type": ["number", "null"] - }, - "item_id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], - "additionalProperties": false - } - } - }, - "required": ["type", "external_contact_id", "id", "issuing_date", "payment_due_date", "status", "currency", "purchase_order", "fees"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_invoices": { - "type": "object", - "additionalProperties": false - }, - "Item": { - "type": "object", - "properties": { - "id": { + "classification": { "type": "string" }, - "item_code": { - "type": ["string", "null"] + "current_balance_cents": { + "type": "number" }, - "name": { - "type": "string" + "active": { + "type": "boolean" }, "description": { "type": ["string", "null"] }, - "account_code": { + "acct_num": { "type": ["string", "null"] + }, + "sub_account": { + "type": "boolean" } }, - "required": ["id", "item_code", "name", "description", "account_code"], + "required": [ + "created_at", + "updated_at", + "id", + "fully_qualified_name", + "name", + "account_type", + "account_sub_type", + "classification", + "current_balance_cents", + "active", + "description", + "acct_num", + "sub_account" + ], "additionalProperties": false }, - "SyncMetadata_quickbooks_items": { + "SyncMetadata_quickbooks_bills": { "type": "object", "additionalProperties": false }, - "JournalEntry": { + "Bill": { "type": "object", "properties": { "created_at": { @@ -67189,159 +68871,36 @@ "id": { "type": "string" }, - "date": { - "type": ["string", "null"] - }, - "currency": { + "sales_term_id": { "type": "string" }, - "note": { + "due_date": { "type": "string" }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "net_amount": { - "type": "number" - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" - }, - "class_id": { - "type": "string" - }, - "class_name": { - "type": "string" - } - }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_journalentries": { - "type": "object", - "additionalProperties": false - }, - "Payment": { - "type": "object", - "properties": { - "date": { - "type": ["string", "null"] - }, - "amount_cents": { + "balance": { "type": "number" }, - "external_contact_id": { - "type": "string" - }, - "account_code": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "invoice_id": { - "type": ["string", "null"] - }, - "credit_note_id": { - "type": ["string", "null"] - } - }, - "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_payments": { - "type": "object", - "additionalProperties": false - }, - "Purchase": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "account_id": { + "txn_date": { "type": "string" }, - "account_name": { + "currency": { "type": "string" }, - "payment_type": { + "vendor_id": { "type": "string" }, - "entity_type": { + "vendor_name": { "type": "string" }, - "entity_id": { + "ap_account_id": { "type": "string" }, - "entity_name": { + "ap_account_name": { "type": "string" }, "total_amount": { "type": "number" }, - "print_status": { - "type": "string" - }, - "doc_number": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "currency": { - "type": "string" - }, "lines": { "type": "array", "items": { @@ -67350,25 +68909,16 @@ "id": { "type": "string" }, - "description": { - "type": "string" - }, "detail_type": { "type": "string" }, "amount": { "type": "number" }, - "account_name": { - "type": "string" - }, "account_id": { "type": "string" }, - "billable_status": { - "type": "string" - }, - "tax_code": { + "account_name": { "type": "string" } }, @@ -67377,181 +68927,75 @@ } } }, - "required": ["created_at", "updated_at", "id", "payment_type", "total_amount", "txn_date", "currency", "lines"], + "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], "additionalProperties": false }, - "SyncMetadata_quickbooks_purchases": { + "SyncMetadata_quickbooks_billpayments": { "type": "object", "additionalProperties": false }, - "Transfer": { + "BillPayment": { "type": "object", "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, "id": { "type": "string" }, - "from_account_id": { - "type": "string" - }, - "from_account_name": { - "type": "string" - }, - "to_account_id": { - "type": "string" - }, - "to_account_name": { + "vendor_id": { "type": "string" }, - "amount": { - "type": "number" - }, - "currency": { + "vendor_name": { "type": "string" }, "txn_date": { "type": "string" }, - "private_note": { - "type": "string" - } - }, - "required": ["created_at", "updated_at", "id", "amount", "currency", "txn_date"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_transfers": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_quickbooks_createaccount": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "account_type": { - "type": "string" - }, - "account_sub_type": { - "type": "string" - }, - "description": { - "type": "string" - }, - "acct_num": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_createaccount": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "fully_qualified_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "account_type": { - "type": "string" - }, - "account_sub_type": { - "type": "string" - }, - "classification": { - "type": "string" - }, - "current_balance_cents": { + "total_amount": { "type": "number" }, - "active": { - "type": "boolean" - }, - "description": { - "type": ["string", "null"] - }, - "acct_num": { - "type": ["string", "null"] - }, - "sub_account": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "fully_qualified_name", - "name", - "account_type", - "account_sub_type", - "classification", - "current_balance_cents", - "active", - "description", - "acct_num", - "sub_account" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_createbill": { - "type": "object", - "properties": { "currency": { "type": "string" }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { + "private_note": { "type": "string" }, - "line": { + "lines": { "type": "array", "items": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "detail_type": { - "type": "string" - }, "amount": { "type": "number" }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" + "linkedTxn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } } }, - "required": ["id", "detail_type", "amount"], + "required": ["amount", "linkedTxn"], "additionalProperties": false } } }, - "required": ["currency", "vendor_id", "line"], + "required": ["id", "txn_date", "total_amount", "currency", "lines"], "additionalProperties": false }, - "ActionOutput_quickbooks_createbill": { + "SyncMetadata_quickbooks_deposits": { + "type": "object", + "additionalProperties": false + }, + "Deposit": { "type": "object", "properties": { "created_at": { @@ -67563,36 +69007,24 @@ "id": { "type": "string" }, - "sales_term_id": { + "account_id": { "type": "string" }, - "due_date": { + "account_name": { "type": "string" }, - "balance": { - "type": "number" - }, "txn_date": { "type": "string" }, - "currency": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" + "total_amount": { + "type": "number" }, - "ap_account_id": { + "currency": { "type": "string" }, - "ap_account_name": { + "private_note": { "type": "string" }, - "total_amount": { - "type": "number" - }, "lines": { "type": "array", "items": { @@ -67601,125 +69033,32 @@ "id": { "type": "string" }, - "detail_type": { - "type": "string" - }, "amount": { "type": "number" }, - "account_id": { + "detail_type": { "type": "string" }, - "account_name": { + "deposit_account_id": { + "type": "string" + }, + "deposit_account_name": { "type": "string" } }, - "required": ["id", "detail_type", "amount"], + "required": ["amount"], "additionalProperties": false } } }, - "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], + "required": ["created_at", "updated_at", "id", "txn_date", "total_amount", "currency", "lines"], "additionalProperties": false }, - "ActionInput_quickbooks_createcreditmemo": { + "SyncMetadata_quickbooks_creditmemos": { "type": "object", - "properties": { - "customer_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "detail_type": { - "type": "string" - }, - "amount_cents": { - "type": "number" - }, - "sales_item_line_detail": { - "type": "object", - "properties": { - "item_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["item_ref"], - "additionalProperties": false - }, - "quantity": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "discount_rate": { - "type": "number" - }, - "description": { - "type": "string" - } - }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], - "additionalProperties": false - } - }, - "due_date": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createcreditmemo": { + "CreditMemo": { "type": "object", "properties": { "created_at": { @@ -67815,92 +69154,11 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createcustomer": { + "SyncMetadata_quickbooks_customers": { "type": "object", - "properties": { - "display_name": { - "type": "string" - }, - "suffix": { - "type": "string" - }, - "title": { - "type": "string" - }, - "given_name": { - "type": "string" - }, - "company_name": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "primary_email": { - "type": "string" - }, - "primary_phone": { - "type": "string" - }, - "bill_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "city": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - } - }, - "additionalProperties": false - }, - "ship_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "city": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["bill_address", "ship_address"], "additionalProperties": false }, - "ActionOutput_quickbooks_createcustomer": { + "Customer": { "type": "object", "properties": { "created_at": { @@ -68008,104 +69266,11 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createinvoice": { + "SyncMetadata_quickbooks_invoices": { "type": "object", - "properties": { - "customer_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "detail_type": { - "type": "string" - }, - "amount_cents": { - "type": "number" - }, - "sales_item_line_detail": { - "type": "object", - "properties": { - "item_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["item_ref"], - "additionalProperties": false - }, - "quantity": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "discount_rate": { - "type": "number" - }, - "description": { - "type": "string" - } - }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], - "additionalProperties": false - } - }, - "due_date": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createinvoice": { + "Invoice": { "type": "object", "properties": { "created_at": { @@ -68201,74 +69366,182 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createitem": { + "SyncMetadata_quickbooks_items": { + "type": "object", + "additionalProperties": false + }, + "Item": { "type": "object", "properties": { - "track_qty_onHand": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { "type": "boolean" }, - "qty_on_hand": { + "type": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "name": { + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_journalentries": { + "type": "object", + "additionalProperties": false + }, + "JournalEntry": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "expense_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "updated_at": { + "type": "string" }, - "income_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "id": { + "type": "string" }, - "asset_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" + "date": { + "type": ["string", "null"] + }, + "currency": { + "type": "string" + }, + "note": { + "type": "string" + }, + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { + "type": "string" + } }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "additionalProperties": false + } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_payments": { + "type": "object", + "additionalProperties": false + }, + "Payment": { + "type": "object", + "properties": { + "created_at": { + "type": "string" }, - "inv_start_date": { + "updated_at": { "type": "string" }, - "unit_price_cents": { - "type": "number" + "id": { + "type": "string" }, - "purchase_cost_cents": { + "amount_cents": { "type": "number" }, - "type": { + "customer_name": { + "type": ["string", "null"] + }, + "txn_date": { "type": "string" } }, - "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef"], + "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], "additionalProperties": false }, - "ActionOutput_quickbooks_createitem": { + "SyncMetadata_quickbooks_purchases": { + "type": "object", + "additionalProperties": false + }, + "Purchase": { "type": "object", "properties": { "created_at": { @@ -68280,230 +69553,207 @@ "id": { "type": "string" }, - "name": { + "account_id": { "type": "string" }, - "active": { - "type": "boolean" + "account_name": { + "type": "string" }, - "type": { + "payment_type": { "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity_type": { + "type": "string" }, - "purchase_cost_cents": { + "entity_id": { + "type": "string" + }, + "entity_name": { + "type": "string" + }, + "total_amount": { "type": "number" }, - "qty_on_hand": { - "type": ["number", "null"] + "print_status": { + "type": "string" }, - "inv_start_date": { - "type": ["string", "null"] + "doc_number": { + "type": "string" }, - "description": { - "type": ["string", "null"] + "txn_date": { + "type": "string" }, - "track_qty_onHand": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "name", - "active", - "type", - "unit_price_cents", - "purchase_cost_cents", - "qty_on_hand", - "inv_start_date", - "description", - "track_qty_onHand" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_createjournalentry": { - "type": "object", - "properties": { - "line_items": { + "currency": { + "type": "string" + }, + "lines": { "type": "array", "items": { "type": "object", "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, "detail_type": { "type": "string" }, "amount": { "type": "number" }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "account_name": { + "type": "string" }, - "description": { + "account_id": { "type": "string" }, - "line_num": { - "type": "number" + "billable_status": { + "type": "string" }, - "journal_entry_line_detail": { - "type": "object", - "properties": { - "journal_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "tax_applicable_on": { - "type": "string" - }, - "entity": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "entity_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["entity_ref"], - "additionalProperties": false - }, - "tax_inclusive_amt": { - "type": "number" - }, - "class_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "department_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "billable_status": { - "type": "string" - }, - "tax_amount": { - "type": "number" - } - }, - "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], - "additionalProperties": false + "tax_code": { + "type": "string" } }, - "required": ["detail_type", "amount", "project_ref", "journal_entry_line_detail"], + "required": ["id", "detail_type", "amount"], "additionalProperties": false } + } + }, + "required": ["created_at", "updated_at", "id", "payment_type", "total_amount", "txn_date", "currency", "lines"], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_transfers": { + "type": "object", + "additionalProperties": false + }, + "Transfer": { + "type": "object", + "properties": { + "created_at": { + "type": "string" }, - "journal_code_ref": { + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "from_account_id": { + "type": "string" + }, + "from_account_name": { + "type": "string" + }, + "to_account_id": { + "type": "string" + }, + "to_account_name": { + "type": "string" + }, + "amount": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "txn_date": { + "type": "string" + }, + "private_note": { + "type": "string" + } + }, + "required": ["created_at", "updated_at", "id", "amount", "currency", "txn_date"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createcustomer": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + }, + "suffix": { + "type": "string" + }, + "title": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "company_name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "primary_phone": { + "type": "string" + }, + "bill_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false }, - "currency_ref": { + "ship_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false } }, - "required": ["line_items", "journal_code_ref", "currency_ref"], + "required": ["bill_address", "ship_address"], "additionalProperties": false }, - "ActionOutput_quickbooks_createjournalentry": { + "ActionOutput_quickbooks_createcustomer": { "type": "object", "properties": { "created_at": { @@ -68515,122 +69765,197 @@ "id": { "type": "string" }, - "date": { + "given_name": { "type": ["string", "null"] }, - "currency": { - "type": "string" + "display_name": { + "type": ["string", "null"] }, - "note": { - "type": "string" + "active": { + "type": "boolean" }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "net_amount": { - "type": "number" - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" + "balance_cents": { + "type": "number" + }, + "taxable": { + "type": "boolean" + }, + "primary_email": { + "type": ["string", "null"] + }, + "primary_phone": { + "type": ["string", "null"] + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } }, - "class_id": { - "type": "string" + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ship_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } }, - "class_name": { - "type": "string" - } + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], - "additionalProperties": false - } + { + "type": "null" + } + ] } }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "required": [ + "created_at", + "updated_at", + "id", + "given_name", + "display_name", + "active", + "balance_cents", + "taxable", + "primary_email", + "primary_phone", + "bill_address", + "ship_address" + ], "additionalProperties": false }, - "ActionInput_quickbooks_createpayment": { + "ActionInput_quickbooks_updatecustomer": { "type": "object", "properties": { - "total_amount_cents": { - "type": "number" + "display_name": { + "type": "string" + }, + "suffix": { + "type": "string" + }, + "title": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "company_name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "primary_phone": { + "type": "string" }, - "customer_ref": { + "bill_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { + }, + "city": { "type": "string" }, - "value": { + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false }, - "project_ref": { + "ship_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false + }, + "id": { + "type": "string" + }, + "sync_token": { + "type": "string" + }, + "active": { + "type": "boolean" } }, - "required": ["total_amount_cents", "customer_ref", "currency_ref", "project_ref"], + "required": ["bill_address", "ship_address", "id", "sync_token"], "additionalProperties": false }, - "ActionOutput_quickbooks_createpayment": { + "ActionOutput_quickbooks_updatecustomer": { "type": "object", "properties": { "created_at": { @@ -68642,67 +69967,139 @@ "id": { "type": "string" }, - "amount_cents": { + "given_name": { + "type": ["string", "null"] + }, + "display_name": { + "type": ["string", "null"] + }, + "active": { + "type": "boolean" + }, + "balance_cents": { "type": "number" }, - "customer_name": { + "taxable": { + "type": "boolean" + }, + "primary_email": { "type": ["string", "null"] }, - "txn_date": { - "type": "string" + "primary_phone": { + "type": ["string", "null"] + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ship_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] } }, - "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], + "required": [ + "created_at", + "updated_at", + "id", + "given_name", + "display_name", + "active", + "balance_cents", + "taxable", + "primary_email", + "primary_phone", + "bill_address", + "ship_address" + ], "additionalProperties": false }, - "ActionInput_quickbooks_createpurchaseorder": { + "ActionInput_quickbooks_createjournalentry": { "type": "object", "properties": { - "ap_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "vendor_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { + "line_items": { "type": "array", "items": { "type": "object", "properties": { - "id": { + "detail_type": { "type": "string" }, - "amount_cents": { + "amount": { "type": "number" }, - "detail_type": { - "type": "string", - "const": "ItemBasedExpenseLineDetail" + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "item_based_expense_line_detail": { + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "journal_entry_line_detail": { "type": "object", "properties": { - "item_ref": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -68715,7 +70112,11 @@ "required": ["value"], "additionalProperties": false }, - "price_level_ref": { + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "account_ref": { "type": "object", "properties": { "name": { @@ -68728,16 +70129,36 @@ "required": ["value"], "additionalProperties": false }, - "qty": { - "type": "number" + "tax_applicable_on": { + "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "entity_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["entity_ref"], + "additionalProperties": false }, "tax_inclusive_amt": { "type": "number" }, - "customer_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -68750,7 +70171,7 @@ "required": ["value"], "additionalProperties": false }, - "class_ref": { + "department_ref": { "type": "object", "properties": { "name": { @@ -68776,280 +70197,22 @@ "required": ["value"], "additionalProperties": false }, - "markup_info": { - "anyOf": [ - { - "type": "object", - "properties": { - "price_level_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "percent": { - "type": "number" - }, - "mark_up_income_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "billable_status": { - "type": "string", - "enum": ["Billable", "NotBillable", "HasBeenBilled"] - } - }, - "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["amount_cents", "detail_type"], - "additionalProperties": false - } - }, - "sync_token": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "global_tax_calculation": { - "type": "string", - "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] - }, - "txn_date": { - "type": "string" - }, - "custom_field": { - "type": "array", - "items": { - "type": "object", - "properties": { - "definition_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "string_value": { - "type": "string" - } - }, - "required": ["definition_id"], - "additionalProperties": false - } - }, - "po_email": { - "type": ["string", "null"] - }, - "class_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "sales_term_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - }, - "memo": { - "type": "string" - }, - "po_status": { - "type": "string", - "enum": ["Open", "Closed"] - }, - "transaction_location_type": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "metadata": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - } - }, - "required": ["created_at", "updated_at"], - "additionalProperties": false - }, - "doc_number": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "ship_method_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "txn_tax_detail": { - "type": "object", - "properties": { - "txn_tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "total_tax_cents": { - "type": "number" - }, - "tax_line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" - }, - "detail_type": { + "billable_status": { "type": "string" }, - "tax_line_detail": { - "type": "string", - "const": "TaxLineDetail" + "tax_amount": { + "type": "number" } }, - "required": ["amount", "detail_type", "tax_line_detail"], + "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], "additionalProperties": false } - } - }, - "required": ["txn_tax_code_ref"], - "additionalProperties": false + }, + "required": ["detail_type", "amount", "project_ref", "journal_entry_line_detail"], + "additionalProperties": false + } }, - "ship_to": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -69062,122 +70225,7 @@ "required": ["value"], "additionalProperties": false }, - "exchange_rate": { - "type": "number" - }, - "ship_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "vendor_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "email_status": { - "type": "string" - }, - "total_amt_cents": { - "type": "number" - }, - "recur_data_ref": { + "currency_ref": { "type": "object", "properties": { "name": { @@ -69191,63 +70239,100 @@ "additionalProperties": false } }, - "required": [ - "ap_account_ref", - "vendor_ref", - "line", - "currency_ref", - "custom_field", - "class_ref", - "sales_term_ref", - "linked_txn", - "metadata", - "ship_method_ref", - "txn_tax_detail", - "ship_to", - "total_amt_cents", - "recur_data_ref" - ], + "required": ["line_items", "journal_code_ref", "currency_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createpurchaseorder": { + "ActionOutput_quickbooks_createjournalentry": { "type": "object", "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, "id": { "type": "string" }, - "created_at": { + "date": { + "type": ["string", "null"] + }, + "currency": { "type": "string" }, - "updated_at": { + "note": { "type": "string" }, - "ap_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { + "type": "string" + } }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "additionalProperties": false + } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "ActionInput_quickbooks_updatejournalentry": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "vendor_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "sync_token": { + "type": "string" }, - "line": { + "sparse": { + "type": "boolean" + }, + "line_items": { "type": "array", "items": { "type": "object", @@ -69255,17 +70340,35 @@ "id": { "type": "string" }, - "amount_cents": { + "detail_type": { + "type": "string" + }, + "amount": { "type": "number" }, - "detail_type": { - "type": "string", - "const": "ItemBasedExpenseLineDetail" + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "item_based_expense_line_detail": { + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "journal_entry_line_detail": { "type": "object", "properties": { - "item_ref": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -69278,7 +70381,11 @@ "required": ["value"], "additionalProperties": false }, - "price_level_ref": { + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "account_ref": { "type": "object", "properties": { "name": { @@ -69291,16 +70398,36 @@ "required": ["value"], "additionalProperties": false }, - "qty": { - "type": "number" + "tax_applicable_on": { + "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "entity_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["entity_ref"], + "additionalProperties": false }, "tax_inclusive_amt": { "type": "number" }, - "customer_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -69313,7 +70440,7 @@ "required": ["value"], "additionalProperties": false }, - "class_ref": { + "department_ref": { "type": "object", "properties": { "name": { @@ -69339,147 +70466,215 @@ "required": ["value"], "additionalProperties": false }, - "markup_info": { - "anyOf": [ - { - "type": "object", - "properties": { - "price_level_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "percent": { - "type": "number" - }, - "mark_up_income_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, "billable_status": { - "type": "string", - "enum": ["Billable", "NotBillable", "HasBeenBilled"] + "type": "string" + }, + "tax_amount": { + "type": "number" } }, + "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false + } + }, + "required": ["detail_type", "project_ref", "journal_entry_line_detail"], + "additionalProperties": false + } + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "global_tax_calculation": { + "type": "string" + }, + "doc_number": { + "type": "string" + }, + "private_note": { + "type": "string" + }, + "exchange_rate": { + "type": "number" + }, + "transaction_location_type": { + "type": "string" + }, + "txn_tax_detail": { + "type": "object", + "properties": { + "txn_tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" } }, - "project_ref": { + "required": ["value"], + "additionalProperties": false + }, + "total_tax": { + "type": "number" + }, + "tax_line": { + "type": "array", + "items": { "type": "object", "properties": { - "name": { + "detail_type": { "type": "string" }, - "value": { - "type": "string" + "tax_line_detail": { + "type": "object", + "properties": { + "tax_rate_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "net_amount_taxable": { + "type": "number" + }, + "percent_based": { + "type": "boolean" + }, + "tax_percent": { + "type": "number" + } + }, + "required": ["tax_rate_ref"], + "additionalProperties": false + }, + "amount": { + "type": "number" } }, - "required": ["value"], + "required": ["detail_type"], "additionalProperties": false } - }, - "required": ["amount_cents", "detail_type"], - "additionalProperties": false - } + } + }, + "required": ["txn_tax_code_ref"], + "additionalProperties": false + }, + "adjustment": { + "type": "boolean" + } + }, + "required": ["id", "sync_token", "line_items", "currency_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updatejournalentry": { + "type": "object", + "properties": { + "created_at": { + "type": "string" }, - "sync_token": { + "updated_at": { "type": "string" }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "id": { + "type": "string" }, - "global_tax_calculation": { - "type": "string", - "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + "date": { + "type": ["string", "null"] }, - "txn_date": { + "currency": { "type": "string" }, - "custom_field": { + "note": { + "type": "string" + }, + "lines": { "type": "array", "items": { "type": "object", "properties": { - "definition_id": { + "id": { "type": "string" }, - "name": { + "type": { "type": "string" }, - "type": { + "account_id": { "type": "string" }, - "string_value": { + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { "type": "string" } }, - "required": ["definition_id"], + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], "additionalProperties": false } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createitem": { + "type": "object", + "properties": { + "track_qty_onHand": { + "type": "boolean" }, - "po_email": { - "type": ["string", "null"] + "qty_on_hand": { + "type": "number" }, - "class_ref": { + "name": { + "type": "string" + }, + "expense_accountRef": { "type": "object", "properties": { "name": { @@ -69492,7 +70687,7 @@ "required": ["value"], "additionalProperties": false }, - "sales_term_ref": { + "income_accountRef": { "type": "object", "properties": { "name": { @@ -69505,58 +70700,104 @@ "required": ["value"], "additionalProperties": false }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } + "asset_accountRef": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "memo": { + "inv_start_date": { "type": "string" }, - "po_status": { - "type": "string", - "enum": ["Open", "Closed"] + "unit_price_cents": { + "type": "number" }, - "transaction_location_type": { + "purchase_cost_cents": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createitem": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "due_date": { + "updated_at": { "type": "string" }, - "metadata": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - } - }, - "required": ["created_at", "updated_at"], - "additionalProperties": false + "id": { + "type": "string" }, - "doc_number": { + "name": { "type": "string" }, - "private_note": { + "active": { + "type": "boolean" + }, + "type": { "type": "string" }, - "ship_method_ref": { + "unit_price_cents": { + "type": "number" + }, + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_updateitem": { + "type": "object", + "properties": { + "track_qty_onHand": { + "type": "boolean" + }, + "qty_on_hand": { + "type": "number" + }, + "name": { + "type": "string" + }, + "expense_accountRef": { "type": "object", "properties": { "name": { @@ -69569,50 +70810,20 @@ "required": ["value"], "additionalProperties": false }, - "txn_tax_detail": { + "income_accountRef": { "type": "object", "properties": { - "txn_tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "total_tax_cents": { - "type": "number" + "name": { + "type": "string" }, - "tax_line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" - }, - "detail_type": { - "type": "string" - }, - "tax_line_detail": { - "type": "string", - "const": "TaxLineDetail" - } - }, - "required": ["amount", "detail_type", "tax_line_detail"], - "additionalProperties": false - } + "value": { + "type": "string" } }, - "required": ["txn_tax_code_ref"], + "required": ["value"], "additionalProperties": false }, - "ship_to": { + "asset_accountRef": { "type": "object", "properties": { "name": { @@ -69625,136 +70836,167 @@ "required": ["value"], "additionalProperties": false }, - "exchange_rate": { + "inv_start_date": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "ship_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] + "purchase_cost_cents": { + "type": "number" }, - "vendor_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] + "type": { + "type": "string" }, - "email_status": { + "id": { "type": "string" }, - "total_amt_cents": { + "sync_token": { + "type": "string" + }, + "active": { + "type": "boolean" + } + }, + "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef", "id", "sync_token"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updateitem": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "recur_data_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_createaccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "account_type": { + "type": "string" + }, + "account_sub_type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "acct_num": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createaccount": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "fully_qualified_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "account_type": { + "type": "string" + }, + "account_sub_type": { + "type": "string" + }, + "classification": { + "type": "string" + }, + "current_balance_cents": { + "type": "number" + }, + "active": { + "type": "boolean" + }, + "description": { + "type": ["string", "null"] + }, + "acct_num": { + "type": ["string", "null"] + }, + "sub_account": { + "type": "boolean" } }, - "required": ["id", "created_at", "updated_at", "ap_account_ref", "vendor_ref", "line", "total_amt_cents"], + "required": [ + "created_at", + "updated_at", + "id", + "fully_qualified_name", + "name", + "account_type", + "account_sub_type", + "classification", + "current_balance_cents", + "active", + "description", + "acct_num", + "sub_account" + ], "additionalProperties": false }, "ActionInput_quickbooks_updateaccount": { @@ -69848,7 +71090,7 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_updatecreditmemo": { + "ActionInput_quickbooks_createinvoice": { "type": "object", "properties": { "customer_ref": { @@ -69940,21 +71182,12 @@ }, "required": ["value"], "additionalProperties": false - }, - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "active": { - "type": "boolean" } }, - "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], + "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatecreditmemo": { + "ActionOutput_quickbooks_createinvoice": { "type": "object", "properties": { "created_at": { @@ -70029,11 +71262,11 @@ "additionalProperties": false } }, - "remaining_credit": { - "type": "number" + "due_date": { + "type": "string" }, - "customer_name": { - "type": ["string", "null"] + "deposit_cents": { + "type": "number" } }, "required": [ @@ -70045,90 +71278,497 @@ "total_amt_cents", "bill_address", "items", - "remaining_credit", - "customer_name" + "due_date", + "deposit_cents" ], "additionalProperties": false }, - "ActionInput_quickbooks_updatecustomer": { + "ActionInput_quickbooks_updateinvoice": { "type": "object", "properties": { - "display_name": { - "type": "string" + "customer_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "suffix": { + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } + }, + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { "type": "string" }, - "title": { + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "id": { "type": "string" }, - "given_name": { + "sync_token": { "type": "string" }, - "company_name": { + "active": { + "type": "boolean" + } + }, + "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updateinvoice": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "notes": { + "updated_at": { "type": "string" }, - "primary_email": { + "id": { "type": "string" }, - "primary_phone": { + "txn_date": { "type": "string" }, + "balance_cents": { + "type": "number" + }, + "total_amt_cents": { + "type": "number" + }, "bill_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "city": { - "type": "string" + { + "type": "null" + } + ] + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } }, - "postal_code": { + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "deposit_cents": { + "type": "number" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "txn_date", + "balance_cents", + "total_amt_cents", + "bill_address", + "items", + "due_date", + "deposit_cents" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_createcreditmemo": { + "type": "object", + "properties": { + "customer_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "country": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } }, - "lat": { + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "long": { + "value": { "type": "string" } }, + "required": ["value"], "additionalProperties": false }, - "ship_address": { + "project_ref": { "type": "object", "properties": { - "line1": { + "name": { "type": "string" }, - "line2": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["customer_ref", "line", "currency_ref", "project_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createcreditmemo": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "txn_date": { + "type": "string" + }, + "balance_cents": { + "type": "number" + }, + "total_amt_cents": { + "type": "number" + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "city": { + { + "type": "null" + } + ] + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } + }, + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "remaining_credit": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "txn_date", + "balance_cents", + "total_amt_cents", + "bill_address", + "items", + "remaining_credit", + "customer_name" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_updatecreditmemo": { + "type": "object", + "properties": { + "customer_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "postal_code": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } }, - "country": { + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "lat": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "long": { + "value": { "type": "string" } }, + "required": ["value"], "additionalProperties": false }, "id": { @@ -70141,10 +71781,10 @@ "type": "boolean" } }, - "required": ["bill_address", "ship_address", "id", "sync_token"], + "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatecustomer": { + "ActionOutput_quickbooks_updatecreditmemo": { "type": "object", "properties": { "created_at": { @@ -70156,26 +71796,14 @@ "id": { "type": "string" }, - "given_name": { - "type": ["string", "null"] - }, - "display_name": { - "type": ["string", "null"] - }, - "active": { - "type": "boolean" + "txn_date": { + "type": "string" }, "balance_cents": { "type": "number" }, - "taxable": { - "type": "boolean" - }, - "primary_email": { - "type": ["string", "null"] - }, - "primary_phone": { - "type": ["string", "null"] + "total_amt_cents": { + "type": "number" }, "bill_address": { "anyOf": [ @@ -70206,55 +71834,58 @@ } ] }, - "ship_address": { - "anyOf": [ - { - "type": "object", - "properties": { - "city": { - "type": ["string", "null"] - }, - "line1": { - "type": ["string", "null"] - }, - "postal_code": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - } + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": ["city", "line1", "postal_code", "country", "id"], - "additionalProperties": false + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } }, - { - "type": "null" - } - ] + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "remaining_credit": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] } }, "required": [ "created_at", "updated_at", "id", - "given_name", - "display_name", - "active", + "txn_date", "balance_cents", - "taxable", - "primary_email", - "primary_phone", + "total_amt_cents", "bill_address", - "ship_address" + "items", + "remaining_credit", + "customer_name" ], "additionalProperties": false }, - "ActionInput_quickbooks_updateinvoice": { + "ActionInput_quickbooks_createpayment": { "type": "object", "properties": { + "total_amount_cents": { + "type": "number" + }, "customer_ref": { "type": "object", "properties": { @@ -70268,18 +71899,106 @@ "required": ["value"], "additionalProperties": false }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["total_amount_cents", "customer_ref", "currency_ref", "project_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createpayment": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] + }, + "txn_date": { + "type": "string" + } + }, + "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createpurchaseorder": { + "type": "object", + "properties": { + "ap_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "vendor_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, "line": { "type": "array", "items": { "type": "object", "properties": { - "detail_type": { + "id": { "type": "string" }, "amount_cents": { "type": "number" }, - "sales_item_line_detail": { + "detail_type": { + "type": "string", + "const": "ItemBasedExpenseLineDetail" + }, + "item_based_expense_line_detail": { "type": "object", "properties": { "item_ref": { @@ -70294,45 +72013,342 @@ }, "required": ["value"], "additionalProperties": false + }, + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "tax_inclusive_amt": { + "type": "number" + }, + "customer_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "class_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "markup_info": { + "anyOf": [ + { + "type": "object", + "properties": { + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "percent": { + "type": "number" + }, + "mark_up_income_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "billable_status": { + "type": "string", + "enum": ["Billable", "NotBillable", "HasBeenBilled"] + } + }, + "additionalProperties": false + }, + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["amount_cents", "detail_type"], + "additionalProperties": false + } + }, + "sync_token": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "global_tax_calculation": { + "type": "string", + "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + }, + "txn_date": { + "type": "string" + }, + "custom_field": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definition_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "string_value": { + "type": "string" + } + }, + "required": ["definition_id"], + "additionalProperties": false + } + }, + "po_email": { + "type": ["string", "null"] + }, + "class_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "sales_term_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "memo": { + "type": "string" + }, + "po_status": { + "type": "string", + "enum": ["Open", "Closed"] + }, + "transaction_location_type": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "metadata": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["created_at", "updated_at"], + "additionalProperties": false + }, + "doc_number": { + "type": "string" + }, + "private_note": { + "type": "string" + }, + "ship_method_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "txn_tax_detail": { + "type": "object", + "properties": { + "txn_tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "total_tax_cents": { + "type": "number" + }, + "tax_line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "amount": { + "type": "number" + }, + "detail_type": { + "type": "string" + }, + "tax_line_detail": { + "type": "string", + "const": "TaxLineDetail" } }, - "required": ["item_ref"], + "required": ["amount", "detail_type", "tax_line_detail"], "additionalProperties": false - }, - "quantity": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "discount_rate": { - "type": "number" - }, - "description": { - "type": "string" } - }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], - "additionalProperties": false - } - }, - "due_date": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" } }, - "required": ["value"], + "required": ["txn_tax_code_ref"], "additionalProperties": false }, - "project_ref": { + "ship_to": { "type": "object", "properties": { "name": { @@ -70345,62 +72361,55 @@ "required": ["value"], "additionalProperties": false }, - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "active": { - "type": "boolean" - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_updateinvoice": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "balance_cents": { - "type": "number" - }, - "total_amt_cents": { + "exchange_rate": { "type": "number" }, - "bill_address": { + "ship_addr": { "anyOf": [ { "type": "object", "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, "city": { - "type": ["string", "null"] + "type": "string" }, - "line1": { - "type": ["string", "null"] + "sub_division_code": { + "type": "string" }, "postal_code": { - "type": ["string", "null"] + "type": "string" }, "country": { - "type": ["string", "null"] + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" }, "id": { "type": "string" } }, - "required": ["city", "line1", "postal_code", "country", "id"], + "required": ["id"], "additionalProperties": false }, { @@ -70408,65 +72417,66 @@ } ] }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "qty": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" + "vendor_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } }, - "amount_cents": { - "type": "number" - } + "required": ["id"], + "additionalProperties": false }, - "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], - "additionalProperties": false - } + { + "type": "null" + } + ] }, - "due_date": { + "email_status": { "type": "string" }, - "deposit_cents": { - "type": "number" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "txn_date", - "balance_cents", - "total_amt_cents", - "bill_address", - "items", - "due_date", - "deposit_cents" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_updateitem": { - "type": "object", - "properties": { - "track_qty_onHand": { - "type": "boolean" - }, - "qty_on_hand": { + "total_amt_cents": { "type": "number" }, - "name": { - "type": "string" - }, - "expense_accountRef": { + "recur_data_ref": { "type": "object", "properties": { "name": { @@ -70478,8 +72488,39 @@ }, "required": ["value"], "additionalProperties": false + } + }, + "required": [ + "ap_account_ref", + "vendor_ref", + "line", + "currency_ref", + "custom_field", + "class_ref", + "sales_term_ref", + "linked_txn", + "metadata", + "ship_method_ref", + "txn_tax_detail", + "ship_to", + "total_amt_cents", + "recur_data_ref" + ], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createpurchaseorder": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "income_accountRef": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "ap_account_ref": { "type": "object", "properties": { "name": { @@ -70492,7 +72533,7 @@ "required": ["value"], "additionalProperties": false }, - "asset_accountRef": { + "vendor_ref": { "type": "object", "properties": { "name": { @@ -70505,100 +72546,7 @@ "required": ["value"], "additionalProperties": false }, - "inv_start_date": { - "type": "string" - }, - "unit_price_cents": { - "type": "number" - }, - "purchase_cost_cents": { - "type": "number" - }, - "type": { - "type": "string" - }, - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "active": { - "type": "boolean" - } - }, - "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef", "id", "sync_token"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_updateitem": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "active": { - "type": "boolean" - }, - "type": { - "type": "string" - }, - "unit_price_cents": { - "type": "number" - }, - "purchase_cost_cents": { - "type": "number" - }, - "qty_on_hand": { - "type": ["number", "null"] - }, - "inv_start_date": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "track_qty_onHand": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "name", - "active", - "type", - "unit_price_cents", - "purchase_cost_cents", - "qty_on_hand", - "inv_start_date", - "description", - "track_qty_onHand" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_updatejournalentry": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "sparse": { - "type": "boolean" - }, - "line_items": { + "line": { "type": "array", "items": { "type": "object", @@ -70606,35 +72554,17 @@ "id": { "type": "string" }, - "detail_type": { - "type": "string" - }, - "amount": { + "amount_cents": { "type": "number" }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" + "detail_type": { + "type": "string", + "const": "ItemBasedExpenseLineDetail" }, - "journal_entry_line_detail": { + "item_based_expense_line_detail": { "type": "object", "properties": { - "journal_code_ref": { + "item_ref": { "type": "object", "properties": { "name": { @@ -70647,11 +72577,7 @@ "required": ["value"], "additionalProperties": false }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "account_ref": { + "price_level_ref": { "type": "object", "properties": { "name": { @@ -70664,36 +72590,16 @@ "required": ["value"], "additionalProperties": false }, - "tax_applicable_on": { - "type": "string" + "qty": { + "type": "number" }, - "entity": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "entity_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["entity_ref"], - "additionalProperties": false + "unit_price_cents": { + "type": "number" }, "tax_inclusive_amt": { "type": "number" }, - "class_ref": { + "customer_ref": { "type": "object", "properties": { "name": { @@ -70706,7 +72612,7 @@ "required": ["value"], "additionalProperties": false }, - "department_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -70732,22 +72638,147 @@ "required": ["value"], "additionalProperties": false }, + "markup_info": { + "anyOf": [ + { + "type": "object", + "properties": { + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "percent": { + "type": "number" + }, + "mark_up_income_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, "billable_status": { + "type": "string", + "enum": ["Billable", "NotBillable", "HasBeenBilled"] + } + }, + "additionalProperties": false + }, + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "project_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "tax_amount": { - "type": "number" + "value": { + "type": "string" } }, - "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], + "required": ["value"], "additionalProperties": false } }, - "required": ["detail_type", "project_ref", "journal_entry_line_detail"], + "required": ["amount_cents", "detail_type"], + "additionalProperties": false + } + }, + "sync_token": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "global_tax_calculation": { + "type": "string", + "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + }, + "txn_date": { + "type": "string" + }, + "custom_field": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definition_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "string_value": { + "type": "string" + } + }, + "required": ["definition_id"], "additionalProperties": false } }, - "currency_ref": { + "po_email": { + "type": ["string", "null"] + }, + "class_ref": { "type": "object", "properties": { "name": { @@ -70760,21 +72791,83 @@ "required": ["value"], "additionalProperties": false }, - "global_tax_calculation": { + "sales_term_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "memo": { "type": "string" }, - "doc_number": { + "po_status": { + "type": "string", + "enum": ["Open", "Closed"] + }, + "transaction_location_type": { "type": "string" }, - "private_note": { + "due_date": { "type": "string" }, - "exchange_rate": { - "type": "number" + "metadata": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["created_at", "updated_at"], + "additionalProperties": false }, - "transaction_location_type": { + "doc_number": { + "type": "string" + }, + "private_note": { "type": "string" }, + "ship_method_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, "txn_tax_detail": { "type": "object", "properties": { @@ -70791,7 +72884,7 @@ "required": ["value"], "additionalProperties": false }, - "total_tax": { + "total_tax_cents": { "type": "number" }, "tax_line": { @@ -70799,43 +72892,18 @@ "items": { "type": "object", "properties": { + "amount": { + "type": "number" + }, "detail_type": { "type": "string" }, "tax_line_detail": { - "type": "object", - "properties": { - "tax_rate_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "net_amount_taxable": { - "type": "number" - }, - "percent_based": { - "type": "boolean" - }, - "tax_percent": { - "type": "number" - } - }, - "required": ["tax_rate_ref"], - "additionalProperties": false - }, - "amount": { - "type": "number" + "type": "string", + "const": "TaxLineDetail" } }, - "required": ["detail_type"], + "required": ["amount", "detail_type", "tax_line_detail"], "additionalProperties": false } } @@ -70843,14 +72911,193 @@ "required": ["txn_tax_code_ref"], "additionalProperties": false }, - "adjustment": { - "type": "boolean" + "ship_to": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "exchange_rate": { + "type": "number" + }, + "ship_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "vendor_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "email_status": { + "type": "string" + }, + "total_amt_cents": { + "type": "number" + }, + "recur_data_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false } }, - "required": ["id", "sync_token", "line_items", "currency_ref"], + "required": ["id", "created_at", "updated_at", "ap_account_ref", "vendor_ref", "line", "total_amt_cents"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatejournalentry": { + "ActionInput_quickbooks_createbill": { + "type": "object", + "properties": { + "currency": { + "type": "string" + }, + "vendor_id": { + "type": "string" + }, + "vendor_name": { + "type": "string" + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "detail_type": { + "type": "string" + }, + "amount": { + "type": "number" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + } + }, + "required": ["id", "detail_type", "amount"], + "additionalProperties": false + } + } + }, + "required": ["currency", "vendor_id", "line"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createbill": { "type": "object", "properties": { "created_at": { @@ -70862,15 +73109,36 @@ "id": { "type": "string" }, - "date": { - "type": ["string", "null"] + "sales_term_id": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "balance": { + "type": "number" + }, + "txn_date": { + "type": "string" }, "currency": { "type": "string" }, - "note": { + "vendor_id": { + "type": "string" + }, + "vendor_name": { + "type": "string" + }, + "ap_account_id": { "type": "string" }, + "ap_account_name": { + "type": "string" + }, + "total_amount": { + "type": "number" + }, "lines": { "type": "array", "items": { @@ -70879,58 +73147,31 @@ "id": { "type": "string" }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { + "detail_type": { "type": "string" }, - "net_amount": { + "amount": { "type": "number" }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" - }, - "class_id": { + "account_id": { "type": "string" }, - "class_name": { + "account_name": { "type": "string" } }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "required": ["id", "detail_type", "amount"], "additionalProperties": false } } }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -70938,152 +73179,167 @@ "actions": [ { "type": "action", - "description": "Creates a single account in QuickBooks.", + "description": "Creates a single customer in QuickBooks.", "endpoint": { "method": "POST", - "path": "/accounts", - "group": "Accounts" + "path": "/customers", + "group": "Customers" }, - "input": "ActionInput_quickbooks_createaccount", - "name": "create-account", - "output": ["ActionOutput_quickbooks_createaccount"], + "input": "ActionInput_quickbooks_createcustomer", + "name": "create-customer", + "output": ["ActionOutput_quickbooks_createcustomer"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createaccount", "ActionOutput_quickbooks_createaccount"], + "usedModels": ["ActionInput_quickbooks_createcustomer", "ActionOutput_quickbooks_createcustomer"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single bill in QuickBooks.", + "description": "Update a single customer in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/bills", - "group": "Bills" + "method": "PUT", + "path": "/customers", + "group": "Customers" }, - "input": "ActionInput_quickbooks_createbill", - "name": "create-bill", - "output": ["ActionOutput_quickbooks_createbill"], + "input": "ActionInput_quickbooks_updatecustomer", + "name": "update-customer", + "output": ["ActionOutput_quickbooks_updatecustomer"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createbill", "ActionOutput_quickbooks_createbill"], + "usedModels": ["ActionInput_quickbooks_updatecustomer", "ActionOutput_quickbooks_updatecustomer"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single credit memo in QuickBooks.", + "description": "Creates a single journal entry in QuickBooks.", "endpoint": { "method": "POST", - "path": "/credit-memos", - "group": "Credit Memos" + "path": "/journal-entries", + "group": "Journal Entries" }, - "input": "ActionInput_quickbooks_createcreditmemo", - "name": "create-credit-memo", - "output": ["ActionOutput_quickbooks_createcreditmemo"], + "input": "ActionInput_quickbooks_createjournalentry", + "name": "create-journal-entry", + "output": ["ActionOutput_quickbooks_createjournalentry"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createcreditmemo", "ActionOutput_quickbooks_createcreditmemo"], + "usedModels": ["ActionInput_quickbooks_createjournalentry", "ActionOutput_quickbooks_createjournalentry"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single customer in QuickBooks.", + "description": "Update a single journal entry in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/customers", - "group": "Customers" + "method": "PUT", + "path": "/journal-entries", + "group": "Journal Entries" }, - "input": "ActionInput_quickbooks_createcustomer", - "name": "create-customer", - "output": ["ActionOutput_quickbooks_createcustomer"], + "input": "ActionInput_quickbooks_updatejournalentry", + "name": "update-journal-entry", + "output": ["ActionOutput_quickbooks_updatejournalentry"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createcustomer", "ActionOutput_quickbooks_createcustomer"], + "usedModels": ["ActionInput_quickbooks_updatejournalentry", "ActionOutput_quickbooks_updatejournalentry"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single invoice in QuickBooks.", + "description": "Creates a single item in QuickBooks.", "endpoint": { "method": "POST", - "path": "/invoices", - "group": "Invoices" + "path": "/items", + "group": "Items" }, - "input": "ActionInput_quickbooks_createinvoice", - "name": "create-invoice", - "output": ["ActionOutput_quickbooks_createinvoice"], + "input": "ActionInput_quickbooks_createitem", + "name": "create-item", + "output": ["ActionOutput_quickbooks_createitem"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createinvoice", "ActionOutput_quickbooks_createinvoice"], + "usedModels": ["ActionInput_quickbooks_createitem", "ActionOutput_quickbooks_createitem"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single item in QuickBooks.", + "description": "Update a single item in QuickBooks.", "endpoint": { - "method": "POST", + "method": "PUT", "path": "/items", "group": "Items" }, - "input": "ActionInput_quickbooks_createitem", - "name": "create-item", - "output": ["ActionOutput_quickbooks_createitem"], + "input": "ActionInput_quickbooks_updateitem", + "name": "update-item", + "output": ["ActionOutput_quickbooks_updateitem"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createitem", "ActionOutput_quickbooks_createitem"], + "usedModels": ["ActionInput_quickbooks_updateitem", "ActionOutput_quickbooks_updateitem"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single journal entry in QuickBooks.", + "description": "Creates a single account in QuickBooks.", "endpoint": { "method": "POST", - "path": "/journal-entries", - "group": "Journal Entries" + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_quickbooks_createjournalentry", - "name": "create-journal-entry", - "output": ["ActionOutput_quickbooks_createjournalentry"], + "input": "ActionInput_quickbooks_createaccount", + "name": "create-account", + "output": ["ActionOutput_quickbooks_createaccount"], + "scopes": ["com.intuit.quickbooks.accounting"], + "usedModels": ["ActionInput_quickbooks_createaccount", "ActionOutput_quickbooks_createaccount"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Updates a single account in QuickBooks.", + "endpoint": { + "method": "PUT", + "path": "/accounts", + "group": "Accounts" + }, + "input": "ActionInput_quickbooks_updateaccount", + "name": "update-account", + "output": ["ActionOutput_quickbooks_updateaccount"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createjournalentry", "ActionOutput_quickbooks_createjournalentry"], + "usedModels": ["ActionInput_quickbooks_updateaccount", "ActionOutput_quickbooks_updateaccount"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single payment in QuickBooks.", + "description": "Creates a single invoice in QuickBooks.", "endpoint": { "method": "POST", - "path": "/payments", - "group": "Payments" + "path": "/invoices", + "group": "Invoices" }, - "input": "ActionInput_quickbooks_createpayment", - "name": "create-payment", - "output": ["ActionOutput_quickbooks_createpayment"], + "input": "ActionInput_quickbooks_createinvoice", + "name": "create-invoice", + "output": ["ActionOutput_quickbooks_createinvoice"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createpayment", "ActionOutput_quickbooks_createpayment"], + "usedModels": ["ActionInput_quickbooks_createinvoice", "ActionOutput_quickbooks_createinvoice"], "version": "1.0.0" }, { "type": "action", - "description": "Creates a single purchase order in QuickBooks.", + "description": "Updates a single invoice in QuickBooks.", "endpoint": { - "method": "POST", - "path": "/purchase-orders", - "group": "Purchase Orders" + "method": "PUT", + "path": "/invoices", + "group": "Invoices" }, - "input": "ActionInput_quickbooks_createpurchaseorder", - "name": "create-purchase-order", - "output": ["ActionOutput_quickbooks_createpurchaseorder"], + "input": "ActionInput_quickbooks_updateinvoice", + "name": "update-invoice", + "output": ["ActionOutput_quickbooks_updateinvoice"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_createpurchaseorder", "ActionOutput_quickbooks_createpurchaseorder"], + "usedModels": ["ActionInput_quickbooks_updateinvoice", "ActionOutput_quickbooks_updateinvoice"], "version": "1.0.0" }, { "type": "action", - "description": "Updates a single account in QuickBooks.", + "description": "Creates a single credit memo in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/accounts", - "group": "Accounts" + "method": "POST", + "path": "/credit-memos", + "group": "Credit Memos" }, - "input": "ActionInput_quickbooks_updateaccount", - "name": "update-account", - "output": ["ActionOutput_quickbooks_updateaccount"], + "input": "ActionInput_quickbooks_createcreditmemo", + "name": "create-credit-memo", + "output": ["ActionOutput_quickbooks_createcreditmemo"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateaccount", "ActionOutput_quickbooks_updateaccount"], + "usedModels": ["ActionInput_quickbooks_createcreditmemo", "ActionOutput_quickbooks_createcreditmemo"], "version": "1.0.0" }, { @@ -71103,62 +73359,47 @@ }, { "type": "action", - "description": "Update a single customer in QuickBooks.", - "endpoint": { - "method": "PUT", - "path": "/customers", - "group": "Customers" - }, - "input": "ActionInput_quickbooks_updatecustomer", - "name": "update-customer", - "output": ["ActionOutput_quickbooks_updatecustomer"], - "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updatecustomer", "ActionOutput_quickbooks_updatecustomer"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Updates a single invoice in QuickBooks.", + "description": "Creates a single payment in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/invoices", - "group": "Invoices" + "method": "POST", + "path": "/payments", + "group": "Payments" }, - "input": "ActionInput_quickbooks_updateinvoice", - "name": "update-invoice", - "output": ["ActionOutput_quickbooks_updateinvoice"], + "input": "ActionInput_quickbooks_createpayment", + "name": "create-payment", + "output": ["ActionOutput_quickbooks_createpayment"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateinvoice", "ActionOutput_quickbooks_updateinvoice"], + "usedModels": ["ActionInput_quickbooks_createpayment", "ActionOutput_quickbooks_createpayment"], "version": "1.0.0" }, { "type": "action", - "description": "Update a single item in QuickBooks.", + "description": "Creates a single purchase order in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/items", - "group": "Items" + "method": "POST", + "path": "/purchase-orders", + "group": "Purchase Orders" }, - "input": "ActionInput_quickbooks_updateitem", - "name": "update-item", - "output": ["ActionOutput_quickbooks_updateitem"], + "input": "ActionInput_quickbooks_createpurchaseorder", + "name": "create-purchase-order", + "output": ["ActionOutput_quickbooks_createpurchaseorder"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updateitem", "ActionOutput_quickbooks_updateitem"], + "usedModels": ["ActionInput_quickbooks_createpurchaseorder", "ActionOutput_quickbooks_createpurchaseorder"], "version": "1.0.0" }, { "type": "action", - "description": "Update a single journal entry in QuickBooks.", + "description": "Creates a single bill in QuickBooks.", "endpoint": { - "method": "PUT", - "path": "/journal-entries", - "group": "Journal Entries" + "method": "POST", + "path": "/bills", + "group": "Bills" }, - "input": "ActionInput_quickbooks_updatejournalentry", - "name": "update-journal-entry", - "output": ["ActionOutput_quickbooks_updatejournalentry"], + "input": "ActionInput_quickbooks_createbill", + "name": "create-bill", + "output": ["ActionOutput_quickbooks_createbill"], "scopes": ["com.intuit.quickbooks.accounting"], - "usedModels": ["ActionInput_quickbooks_updatejournalentry", "ActionOutput_quickbooks_updatejournalentry"], + "usedModels": ["ActionInput_quickbooks_createbill", "ActionOutput_quickbooks_createbill"], "version": "1.0.0" } ], @@ -71185,6 +73426,28 @@ "version": "1.0.0", "webhookSubscriptions": [] }, + { + "type": "sync", + "description": "Fetches all QuickBooks bills", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/bills", + "group": "Bills" + } + ], + "input": "SyncMetadata_quickbooks_bills", + "name": "bills", + "output": ["Bill"], + "runs": "every hour", + "scopes": ["com.intuit.quickbooks.accounting"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Bill", "SyncMetadata_quickbooks_bills"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Fetches all QuickBooks bill payments", @@ -71209,23 +73472,23 @@ }, { "type": "sync", - "description": "Fetches all QuickBooks bills", + "description": "Fetches all QuickBooks deposits", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/bills", - "group": "Bills" + "path": "/deposits", + "group": "Deposits" } ], - "input": "SyncMetadata_quickbooks_bills", - "name": "bills", - "output": ["Bill"], + "input": "SyncMetadata_quickbooks_deposits", + "name": "deposits", + "output": ["Deposit"], "runs": "every hour", "scopes": ["com.intuit.quickbooks.accounting"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Bill", "SyncMetadata_quickbooks_bills"], + "usedModels": ["Deposit", "SyncMetadata_quickbooks_deposits"], "version": "1.0.0", "webhookSubscriptions": [] }, @@ -71273,28 +73536,6 @@ "version": "1.0.0", "webhookSubscriptions": [] }, - { - "type": "sync", - "description": "Fetches all QuickBooks deposits", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/deposits", - "group": "Deposits" - } - ], - "input": "SyncMetadata_quickbooks_deposits", - "name": "deposits", - "output": ["Deposit"], - "runs": "every hour", - "scopes": ["com.intuit.quickbooks.accounting"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Deposit", "SyncMetadata_quickbooks_deposits"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches all invoices in QuickBooks. Handles both active and voided invoices, saving or deleting them based on their status.", @@ -71400,353 +73641,47 @@ "runs": "every hour", "scopes": ["com.intuit.quickbooks.accounting"], "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Purchase", "SyncMetadata_quickbooks_purchases"], - "version": "1.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches all QuickBooks transfers", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/transfers", - "group": "Transfers" - } - ], - "input": "SyncMetadata_quickbooks_transfers", - "name": "transfers", - "output": ["Transfer"], - "runs": "every hour", - "scopes": ["com.intuit.quickbooks.accounting"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Transfer", "SyncMetadata_quickbooks_transfers"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Account": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "tax_type": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "class": { - "type": "string" - }, - "bank_account_type": { - "type": "string" - }, - "reporting_code": { - "type": "string" - }, - "reporting_code_name": { - "type": "string" - }, - "currency_code": { - "type": "string" - } - }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_accounts": { - "type": "object", - "additionalProperties": false - }, - "BillPayment": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" - }, - "linkedTxn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - } - }, - "required": ["amount", "linkedTxn"], - "additionalProperties": false - } - } - }, - "required": ["id", "txn_date", "total_amount", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_billpayments": { - "type": "object", - "additionalProperties": false - }, - "Bill": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "sales_term_id": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "balance": { - "type": "number" - }, - "txn_date": { - "type": "string" - }, - "currency": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" - }, - "ap_account_id": { - "type": "string" - }, - "ap_account_name": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "detail_type": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - } - }, - "required": ["id", "detail_type", "amount"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_bills": { - "type": "object", - "additionalProperties": false - }, - "CreditMemo": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "balance_cents": { - "type": "number" - }, - "total_amt_cents": { - "type": "number" - }, - "bill_address": { - "anyOf": [ - { - "type": "object", - "properties": { - "city": { - "type": ["string", "null"] - }, - "line1": { - "type": ["string", "null"] - }, - "postal_code": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - } - }, - "required": ["city", "line1", "postal_code", "country", "id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "qty": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "amount_cents": { - "type": "number" - } - }, - "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], - "additionalProperties": false - } - }, - "remaining_credit": { - "type": "number" - }, - "customer_name": { - "type": ["string", "null"] - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "txn_date", - "balance_cents", - "total_amt_cents", - "bill_address", - "items", - "remaining_credit", - "customer_name" - ], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_creditmemos": { - "type": "object", - "additionalProperties": false - }, - "Customer": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "email": { - "type": "string" - }, - "is_paying_customer": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "modified_at": { - "type": "string" - } - }, - "required": ["id", "name", "email", "is_paying_customer", "created_at", "modified_at"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_customers": { + "track_deletes": false, + "usedModels": ["Purchase", "SyncMetadata_quickbooks_purchases"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches all QuickBooks transfers", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/transfers", + "group": "Transfers" + } + ], + "input": "SyncMetadata_quickbooks_transfers", + "name": "transfers", + "output": ["Transfer"], + "runs": "every hour", + "scopes": ["com.intuit.quickbooks.accounting"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Transfer", "SyncMetadata_quickbooks_transfers"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_quickbooks_accounts": { "type": "object", "additionalProperties": false }, - "Deposit": { + "Account": { "type": "object", "properties": { "created_at": { @@ -71758,169 +73693,59 @@ "id": { "type": "string" }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "total_amount": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "detail_type": { - "type": "string" - }, - "deposit_account_id": { - "type": "string" - }, - "deposit_account_name": { - "type": "string" - } - }, - "required": ["amount"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "txn_date", "total_amount", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_deposits": { - "type": "object", - "additionalProperties": false - }, - "Invoice": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] - }, - "external_contact_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "id": { + "fully_qualified_name": { "type": "string" }, - "issuing_date": { - "type": ["string", "null"] - }, - "payment_due_date": { - "type": ["string", "null"] - }, - "status": { + "name": { "type": "string" }, - "number": { + "account_type": { "type": "string" }, - "currency": { + "account_sub_type": { "type": "string" }, - "purchase_order": { - "type": ["string", "null"] - }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account_code": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "discount_amount_cents": { - "type": ["number", "null"] - }, - "discount_rate": { - "type": ["number", "null"] - }, - "item_id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], - "additionalProperties": false - } - } - }, - "required": ["type", "external_contact_id", "id", "issuing_date", "payment_due_date", "status", "currency", "purchase_order", "fees"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_invoices": { - "type": "object", - "additionalProperties": false - }, - "Item": { - "type": "object", - "properties": { - "id": { + "classification": { "type": "string" }, - "item_code": { - "type": ["string", "null"] + "current_balance_cents": { + "type": "number" }, - "name": { - "type": "string" + "active": { + "type": "boolean" }, "description": { "type": ["string", "null"] }, - "account_code": { + "acct_num": { "type": ["string", "null"] + }, + "sub_account": { + "type": "boolean" } }, - "required": ["id", "item_code", "name", "description", "account_code"], + "required": [ + "created_at", + "updated_at", + "id", + "fully_qualified_name", + "name", + "account_type", + "account_sub_type", + "classification", + "current_balance_cents", + "active", + "description", + "acct_num", + "sub_account" + ], "additionalProperties": false }, - "SyncMetadata_quickbooks_items": { + "SyncMetadata_quickbooks_bills": { "type": "object", "additionalProperties": false }, - "JournalEntry": { + "Bill": { "type": "object", "properties": { "created_at": { @@ -71932,159 +73757,36 @@ "id": { "type": "string" }, - "date": { - "type": ["string", "null"] - }, - "currency": { + "sales_term_id": { "type": "string" }, - "note": { + "due_date": { "type": "string" }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "net_amount": { - "type": "number" - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" - }, - "class_id": { - "type": "string" - }, - "class_name": { - "type": "string" - } - }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], - "additionalProperties": false - } - } - }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_journalentries": { - "type": "object", - "additionalProperties": false - }, - "Payment": { - "type": "object", - "properties": { - "date": { - "type": ["string", "null"] - }, - "amount_cents": { + "balance": { "type": "number" }, - "external_contact_id": { - "type": "string" - }, - "account_code": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "invoice_id": { - "type": ["string", "null"] - }, - "credit_note_id": { - "type": ["string", "null"] - } - }, - "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_payments": { - "type": "object", - "additionalProperties": false - }, - "Purchase": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "account_id": { + "txn_date": { "type": "string" }, - "account_name": { + "currency": { "type": "string" }, - "payment_type": { + "vendor_id": { "type": "string" }, - "entity_type": { + "vendor_name": { "type": "string" }, - "entity_id": { + "ap_account_id": { "type": "string" }, - "entity_name": { + "ap_account_name": { "type": "string" }, "total_amount": { "type": "number" }, - "print_status": { - "type": "string" - }, - "doc_number": { - "type": "string" - }, - "txn_date": { - "type": "string" - }, - "currency": { - "type": "string" - }, "lines": { "type": "array", "items": { @@ -72093,25 +73795,16 @@ "id": { "type": "string" }, - "description": { - "type": "string" - }, "detail_type": { "type": "string" }, "amount": { "type": "number" }, - "account_name": { - "type": "string" - }, "account_id": { "type": "string" }, - "billable_status": { - "type": "string" - }, - "tax_code": { + "account_name": { "type": "string" } }, @@ -72120,181 +73813,75 @@ } } }, - "required": ["created_at", "updated_at", "id", "payment_type", "total_amount", "txn_date", "currency", "lines"], + "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], "additionalProperties": false }, - "SyncMetadata_quickbooks_purchases": { + "SyncMetadata_quickbooks_billpayments": { "type": "object", "additionalProperties": false }, - "Transfer": { + "BillPayment": { "type": "object", "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, "id": { "type": "string" }, - "from_account_id": { - "type": "string" - }, - "from_account_name": { - "type": "string" - }, - "to_account_id": { - "type": "string" - }, - "to_account_name": { + "vendor_id": { "type": "string" }, - "amount": { - "type": "number" - }, - "currency": { + "vendor_name": { "type": "string" }, "txn_date": { "type": "string" }, - "private_note": { - "type": "string" - } - }, - "required": ["created_at", "updated_at", "id", "amount", "currency", "txn_date"], - "additionalProperties": false - }, - "SyncMetadata_quickbooks_transfers": { - "type": "object", - "additionalProperties": false - }, - "ActionInput_quickbooks_createaccount": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "account_type": { - "type": "string" - }, - "account_sub_type": { - "type": "string" - }, - "description": { - "type": "string" - }, - "acct_num": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_createaccount": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "fully_qualified_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "account_type": { - "type": "string" - }, - "account_sub_type": { - "type": "string" - }, - "classification": { - "type": "string" - }, - "current_balance_cents": { + "total_amount": { "type": "number" }, - "active": { - "type": "boolean" - }, - "description": { - "type": ["string", "null"] - }, - "acct_num": { - "type": ["string", "null"] - }, - "sub_account": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "fully_qualified_name", - "name", - "account_type", - "account_sub_type", - "classification", - "current_balance_cents", - "active", - "description", - "acct_num", - "sub_account" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_createbill": { - "type": "object", - "properties": { "currency": { "type": "string" }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { + "private_note": { "type": "string" }, - "line": { + "lines": { "type": "array", "items": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "detail_type": { - "type": "string" - }, "amount": { "type": "number" }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" + "linkedTxn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } } }, - "required": ["id", "detail_type", "amount"], + "required": ["amount", "linkedTxn"], "additionalProperties": false } } }, - "required": ["currency", "vendor_id", "line"], + "required": ["id", "txn_date", "total_amount", "currency", "lines"], "additionalProperties": false }, - "ActionOutput_quickbooks_createbill": { + "SyncMetadata_quickbooks_deposits": { + "type": "object", + "additionalProperties": false + }, + "Deposit": { "type": "object", "properties": { "created_at": { @@ -72306,36 +73893,24 @@ "id": { "type": "string" }, - "sales_term_id": { + "account_id": { "type": "string" }, - "due_date": { + "account_name": { "type": "string" }, - "balance": { - "type": "number" - }, "txn_date": { "type": "string" }, - "currency": { - "type": "string" - }, - "vendor_id": { - "type": "string" - }, - "vendor_name": { - "type": "string" + "total_amount": { + "type": "number" }, - "ap_account_id": { + "currency": { "type": "string" }, - "ap_account_name": { + "private_note": { "type": "string" }, - "total_amount": { - "type": "number" - }, "lines": { "type": "array", "items": { @@ -72344,125 +73919,32 @@ "id": { "type": "string" }, - "detail_type": { - "type": "string" - }, "amount": { "type": "number" }, - "account_id": { + "detail_type": { "type": "string" }, - "account_name": { + "deposit_account_id": { + "type": "string" + }, + "deposit_account_name": { "type": "string" } }, - "required": ["id", "detail_type", "amount"], + "required": ["amount"], "additionalProperties": false } } }, - "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], + "required": ["created_at", "updated_at", "id", "txn_date", "total_amount", "currency", "lines"], "additionalProperties": false }, - "ActionInput_quickbooks_createcreditmemo": { + "SyncMetadata_quickbooks_creditmemos": { "type": "object", - "properties": { - "customer_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "detail_type": { - "type": "string" - }, - "amount_cents": { - "type": "number" - }, - "sales_item_line_detail": { - "type": "object", - "properties": { - "item_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["item_ref"], - "additionalProperties": false - }, - "quantity": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "discount_rate": { - "type": "number" - }, - "description": { - "type": "string" - } - }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], - "additionalProperties": false - } - }, - "due_date": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createcreditmemo": { + "CreditMemo": { "type": "object", "properties": { "created_at": { @@ -72558,92 +74040,11 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createcustomer": { + "SyncMetadata_quickbooks_customers": { "type": "object", - "properties": { - "display_name": { - "type": "string" - }, - "suffix": { - "type": "string" - }, - "title": { - "type": "string" - }, - "given_name": { - "type": "string" - }, - "company_name": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "primary_email": { - "type": "string" - }, - "primary_phone": { - "type": "string" - }, - "bill_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "city": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - } - }, - "additionalProperties": false - }, - "ship_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "city": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": ["bill_address", "ship_address"], "additionalProperties": false }, - "ActionOutput_quickbooks_createcustomer": { + "Customer": { "type": "object", "properties": { "created_at": { @@ -72751,104 +74152,11 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createinvoice": { + "SyncMetadata_quickbooks_invoices": { "type": "object", - "properties": { - "customer_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "detail_type": { - "type": "string" - }, - "amount_cents": { - "type": "number" - }, - "sales_item_line_detail": { - "type": "object", - "properties": { - "item_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["item_ref"], - "additionalProperties": false - }, - "quantity": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" - }, - "discount_rate": { - "type": "number" - }, - "description": { - "type": "string" - } - }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], - "additionalProperties": false - } - }, - "due_date": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createinvoice": { + "Invoice": { "type": "object", "properties": { "created_at": { @@ -72944,74 +74252,182 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_createitem": { + "SyncMetadata_quickbooks_items": { + "type": "object", + "additionalProperties": false + }, + "Item": { "type": "object", "properties": { - "track_qty_onHand": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { "type": "boolean" }, - "qty_on_hand": { + "type": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "name": { + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_journalentries": { + "type": "object", + "additionalProperties": false + }, + "JournalEntry": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "expense_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "updated_at": { + "type": "string" }, - "income_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "id": { + "type": "string" }, - "asset_accountRef": { - "type": "object", - "properties": { - "name": { - "type": "string" + "date": { + "type": ["string", "null"] + }, + "currency": { + "type": "string" + }, + "note": { + "type": "string" + }, + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { + "type": "string" + } }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "additionalProperties": false + } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_payments": { + "type": "object", + "additionalProperties": false + }, + "Payment": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" }, - "inv_start_date": { + "id": { "type": "string" }, - "unit_price_cents": { + "amount_cents": { "type": "number" }, - "purchase_cost_cents": { - "type": "number" + "customer_name": { + "type": ["string", "null"] }, - "type": { + "txn_date": { "type": "string" } }, - "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef"], + "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], "additionalProperties": false }, - "ActionOutput_quickbooks_createitem": { + "SyncMetadata_quickbooks_purchases": { + "type": "object", + "additionalProperties": false + }, + "Purchase": { "type": "object", "properties": { "created_at": { @@ -73023,230 +74439,207 @@ "id": { "type": "string" }, - "name": { + "account_id": { "type": "string" }, - "active": { - "type": "boolean" + "account_name": { + "type": "string" }, - "type": { + "payment_type": { "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity_type": { + "type": "string" }, - "purchase_cost_cents": { + "entity_id": { + "type": "string" + }, + "entity_name": { + "type": "string" + }, + "total_amount": { "type": "number" }, - "qty_on_hand": { - "type": ["number", "null"] + "print_status": { + "type": "string" }, - "inv_start_date": { - "type": ["string", "null"] + "doc_number": { + "type": "string" }, - "description": { - "type": ["string", "null"] + "txn_date": { + "type": "string" }, - "track_qty_onHand": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "name", - "active", - "type", - "unit_price_cents", - "purchase_cost_cents", - "qty_on_hand", - "inv_start_date", - "description", - "track_qty_onHand" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_createjournalentry": { - "type": "object", - "properties": { - "line_items": { + "currency": { + "type": "string" + }, + "lines": { "type": "array", "items": { "type": "object", "properties": { + "id": { + "type": "string" + }, + "description": { + "type": "string" + }, "detail_type": { "type": "string" }, "amount": { "type": "number" }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "account_name": { + "type": "string" }, - "description": { + "account_id": { "type": "string" }, - "line_num": { - "type": "number" + "billable_status": { + "type": "string" }, - "journal_entry_line_detail": { - "type": "object", - "properties": { - "journal_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "tax_applicable_on": { - "type": "string" - }, - "entity": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "entity_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["entity_ref"], - "additionalProperties": false - }, - "tax_inclusive_amt": { - "type": "number" - }, - "class_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "department_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "billable_status": { - "type": "string" - }, - "tax_amount": { - "type": "number" - } - }, - "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], - "additionalProperties": false + "tax_code": { + "type": "string" } }, - "required": ["detail_type", "amount", "project_ref", "journal_entry_line_detail"], + "required": ["id", "detail_type", "amount"], "additionalProperties": false } + } + }, + "required": ["created_at", "updated_at", "id", "payment_type", "total_amount", "txn_date", "currency", "lines"], + "additionalProperties": false + }, + "SyncMetadata_quickbooks_transfers": { + "type": "object", + "additionalProperties": false + }, + "Transfer": { + "type": "object", + "properties": { + "created_at": { + "type": "string" }, - "journal_code_ref": { + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "from_account_id": { + "type": "string" + }, + "from_account_name": { + "type": "string" + }, + "to_account_id": { + "type": "string" + }, + "to_account_name": { + "type": "string" + }, + "amount": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "txn_date": { + "type": "string" + }, + "private_note": { + "type": "string" + } + }, + "required": ["created_at", "updated_at", "id", "amount", "currency", "txn_date"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createcustomer": { + "type": "object", + "properties": { + "display_name": { + "type": "string" + }, + "suffix": { + "type": "string" + }, + "title": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "company_name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "primary_phone": { + "type": "string" + }, + "bill_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false }, - "currency_ref": { + "ship_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false } }, - "required": ["line_items", "journal_code_ref", "currency_ref"], + "required": ["bill_address", "ship_address"], "additionalProperties": false }, - "ActionOutput_quickbooks_createjournalentry": { + "ActionOutput_quickbooks_createcustomer": { "type": "object", "properties": { "created_at": { @@ -73258,122 +74651,197 @@ "id": { "type": "string" }, - "date": { + "given_name": { "type": ["string", "null"] }, - "currency": { - "type": "string" + "display_name": { + "type": ["string", "null"] }, - "note": { - "type": "string" + "active": { + "type": "boolean" }, - "lines": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { - "type": "string" - }, - "net_amount": { - "type": "number" - }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" + "balance_cents": { + "type": "number" + }, + "taxable": { + "type": "boolean" + }, + "primary_email": { + "type": ["string", "null"] + }, + "primary_phone": { + "type": ["string", "null"] + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } }, - "class_id": { - "type": "string" + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ship_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } }, - "class_name": { - "type": "string" - } + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], - "additionalProperties": false - } + { + "type": "null" + } + ] } }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "required": [ + "created_at", + "updated_at", + "id", + "given_name", + "display_name", + "active", + "balance_cents", + "taxable", + "primary_email", + "primary_phone", + "bill_address", + "ship_address" + ], "additionalProperties": false }, - "ActionInput_quickbooks_createpayment": { + "ActionInput_quickbooks_updatecustomer": { "type": "object", "properties": { - "total_amount_cents": { - "type": "number" + "display_name": { + "type": "string" }, - "customer_ref": { + "suffix": { + "type": "string" + }, + "title": { + "type": "string" + }, + "given_name": { + "type": "string" + }, + "company_name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "primary_email": { + "type": "string" + }, + "primary_phone": { + "type": "string" + }, + "bill_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { + }, + "city": { "type": "string" }, - "value": { + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false }, - "project_ref": { + "ship_address": { "type": "object", "properties": { - "name": { + "line1": { "type": "string" }, - "value": { + "line2": { + "type": "string" + }, + "city": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { "type": "string" } }, - "required": ["value"], "additionalProperties": false + }, + "id": { + "type": "string" + }, + "sync_token": { + "type": "string" + }, + "active": { + "type": "boolean" } }, - "required": ["total_amount_cents", "customer_ref", "currency_ref", "project_ref"], + "required": ["bill_address", "ship_address", "id", "sync_token"], "additionalProperties": false }, - "ActionOutput_quickbooks_createpayment": { + "ActionOutput_quickbooks_updatecustomer": { "type": "object", "properties": { "created_at": { @@ -73385,67 +74853,139 @@ "id": { "type": "string" }, - "amount_cents": { + "given_name": { + "type": ["string", "null"] + }, + "display_name": { + "type": ["string", "null"] + }, + "active": { + "type": "boolean" + }, + "balance_cents": { "type": "number" }, - "customer_name": { + "taxable": { + "type": "boolean" + }, + "primary_email": { "type": ["string", "null"] }, - "txn_date": { - "type": "string" + "primary_phone": { + "type": ["string", "null"] + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "ship_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] } }, - "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], + "required": [ + "created_at", + "updated_at", + "id", + "given_name", + "display_name", + "active", + "balance_cents", + "taxable", + "primary_email", + "primary_phone", + "bill_address", + "ship_address" + ], "additionalProperties": false }, - "ActionInput_quickbooks_createpurchaseorder": { + "ActionInput_quickbooks_createjournalentry": { "type": "object", "properties": { - "ap_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "vendor_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "line": { + "line_items": { "type": "array", "items": { "type": "object", "properties": { - "id": { + "detail_type": { "type": "string" }, - "amount_cents": { + "amount": { "type": "number" }, - "detail_type": { - "type": "string", - "const": "ItemBasedExpenseLineDetail" + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "item_based_expense_line_detail": { + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "journal_entry_line_detail": { "type": "object", "properties": { - "item_ref": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -73458,7 +74998,11 @@ "required": ["value"], "additionalProperties": false }, - "price_level_ref": { + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "account_ref": { "type": "object", "properties": { "name": { @@ -73471,16 +75015,36 @@ "required": ["value"], "additionalProperties": false }, - "qty": { - "type": "number" + "tax_applicable_on": { + "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "entity_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["entity_ref"], + "additionalProperties": false }, "tax_inclusive_amt": { "type": "number" }, - "customer_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -73493,7 +75057,7 @@ "required": ["value"], "additionalProperties": false }, - "class_ref": { + "department_ref": { "type": "object", "properties": { "name": { @@ -73515,284 +75079,26 @@ "value": { "type": "string" } - }, - "required": ["value"], - "additionalProperties": false - }, - "markup_info": { - "anyOf": [ - { - "type": "object", - "properties": { - "price_level_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "percent": { - "type": "number" - }, - "mark_up_income_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "billable_status": { - "type": "string", - "enum": ["Billable", "NotBillable", "HasBeenBilled"] - } - }, - "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["amount_cents", "detail_type"], - "additionalProperties": false - } - }, - "sync_token": { - "type": "string" - }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "global_tax_calculation": { - "type": "string", - "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] - }, - "txn_date": { - "type": "string" - }, - "custom_field": { - "type": "array", - "items": { - "type": "object", - "properties": { - "definition_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "string_value": { - "type": "string" - } - }, - "required": ["definition_id"], - "additionalProperties": false - } - }, - "po_email": { - "type": ["string", "null"] - }, - "class_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "sales_term_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } - }, - "memo": { - "type": "string" - }, - "po_status": { - "type": "string", - "enum": ["Open", "Closed"] - }, - "transaction_location_type": { - "type": "string" - }, - "due_date": { - "type": "string" - }, - "metadata": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - } - }, - "required": ["created_at", "updated_at"], - "additionalProperties": false - }, - "doc_number": { - "type": "string" - }, - "private_note": { - "type": "string" - }, - "ship_method_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "txn_tax_detail": { - "type": "object", - "properties": { - "txn_tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "total_tax_cents": { - "type": "number" - }, - "tax_line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" + }, + "required": ["value"], + "additionalProperties": false }, - "detail_type": { + "billable_status": { "type": "string" }, - "tax_line_detail": { - "type": "string", - "const": "TaxLineDetail" + "tax_amount": { + "type": "number" } }, - "required": ["amount", "detail_type", "tax_line_detail"], + "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], "additionalProperties": false } - } - }, - "required": ["txn_tax_code_ref"], - "additionalProperties": false + }, + "required": ["detail_type", "amount", "project_ref", "journal_entry_line_detail"], + "additionalProperties": false + } }, - "ship_to": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -73805,122 +75111,7 @@ "required": ["value"], "additionalProperties": false }, - "exchange_rate": { - "type": "number" - }, - "ship_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "vendor_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "email_status": { - "type": "string" - }, - "total_amt_cents": { - "type": "number" - }, - "recur_data_ref": { + "currency_ref": { "type": "object", "properties": { "name": { @@ -73934,63 +75125,100 @@ "additionalProperties": false } }, - "required": [ - "ap_account_ref", - "vendor_ref", - "line", - "currency_ref", - "custom_field", - "class_ref", - "sales_term_ref", - "linked_txn", - "metadata", - "ship_method_ref", - "txn_tax_detail", - "ship_to", - "total_amt_cents", - "recur_data_ref" - ], + "required": ["line_items", "journal_code_ref", "currency_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_createpurchaseorder": { + "ActionOutput_quickbooks_createjournalentry": { "type": "object", "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, "id": { "type": "string" }, - "created_at": { + "date": { + "type": ["string", "null"] + }, + "currency": { "type": "string" }, - "updated_at": { + "note": { "type": "string" }, - "ap_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" + "lines": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { + "type": "string" + } }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "additionalProperties": false + } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "ActionInput_quickbooks_updatejournalentry": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "vendor_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "sync_token": { + "type": "string" }, - "line": { + "sparse": { + "type": "boolean" + }, + "line_items": { "type": "array", "items": { "type": "object", @@ -73998,17 +75226,35 @@ "id": { "type": "string" }, - "amount_cents": { + "detail_type": { + "type": "string" + }, + "amount": { "type": "number" }, - "detail_type": { - "type": "string", - "const": "ItemBasedExpenseLineDetail" + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "item_based_expense_line_detail": { + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "journal_entry_line_detail": { "type": "object", "properties": { - "item_ref": { + "journal_code_ref": { "type": "object", "properties": { "name": { @@ -74021,7 +75267,11 @@ "required": ["value"], "additionalProperties": false }, - "price_level_ref": { + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "account_ref": { "type": "object", "properties": { "name": { @@ -74034,16 +75284,36 @@ "required": ["value"], "additionalProperties": false }, - "qty": { - "type": "number" + "tax_applicable_on": { + "type": "string" }, - "unit_price_cents": { - "type": "number" + "entity": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "entity_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["entity_ref"], + "additionalProperties": false }, "tax_inclusive_amt": { "type": "number" }, - "customer_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -74056,7 +75326,7 @@ "required": ["value"], "additionalProperties": false }, - "class_ref": { + "department_ref": { "type": "object", "properties": { "name": { @@ -74082,147 +75352,215 @@ "required": ["value"], "additionalProperties": false }, - "markup_info": { - "anyOf": [ - { - "type": "object", - "properties": { - "price_level_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "percent": { - "type": "number" - }, - "mark_up_income_account_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, "billable_status": { - "type": "string", - "enum": ["Billable", "NotBillable", "HasBeenBilled"] + "type": "string" + }, + "tax_amount": { + "type": "number" } }, + "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" - }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } - }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false + } + }, + "required": ["detail_type", "project_ref", "journal_entry_line_detail"], + "additionalProperties": false + } + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "global_tax_calculation": { + "type": "string" + }, + "doc_number": { + "type": "string" + }, + "private_note": { + "type": "string" + }, + "exchange_rate": { + "type": "number" + }, + "transaction_location_type": { + "type": "string" + }, + "txn_tax_detail": { + "type": "object", + "properties": { + "txn_tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" } }, - "project_ref": { + "required": ["value"], + "additionalProperties": false + }, + "total_tax": { + "type": "number" + }, + "tax_line": { + "type": "array", + "items": { "type": "object", "properties": { - "name": { + "detail_type": { "type": "string" }, - "value": { - "type": "string" + "tax_line_detail": { + "type": "object", + "properties": { + "tax_rate_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "net_amount_taxable": { + "type": "number" + }, + "percent_based": { + "type": "boolean" + }, + "tax_percent": { + "type": "number" + } + }, + "required": ["tax_rate_ref"], + "additionalProperties": false + }, + "amount": { + "type": "number" } }, - "required": ["value"], + "required": ["detail_type"], "additionalProperties": false } - }, - "required": ["amount_cents", "detail_type"], - "additionalProperties": false - } + } + }, + "required": ["txn_tax_code_ref"], + "additionalProperties": false + }, + "adjustment": { + "type": "boolean" + } + }, + "required": ["id", "sync_token", "line_items", "currency_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updatejournalentry": { + "type": "object", + "properties": { + "created_at": { + "type": "string" }, - "sync_token": { + "updated_at": { "type": "string" }, - "currency_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "id": { + "type": "string" }, - "global_tax_calculation": { - "type": "string", - "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + "date": { + "type": ["string", "null"] }, - "txn_date": { + "currency": { "type": "string" }, - "custom_field": { + "note": { + "type": "string" + }, + "lines": { "type": "array", "items": { "type": "object", "properties": { - "definition_id": { + "id": { "type": "string" }, - "name": { + "type": { "type": "string" }, - "type": { + "account_id": { "type": "string" }, - "string_value": { + "account_name": { + "type": "string" + }, + "net_amount": { + "type": "number" + }, + "posting_type": { + "type": "string", + "enum": ["Debit", "Credit"] + }, + "description": { + "type": "string" + }, + "entity_type": { + "type": "string" + }, + "entity_type_id": { + "type": "string" + }, + "entity_type_name": { + "type": "string" + }, + "department_id": { + "type": "string" + }, + "department_name": { + "type": "string" + }, + "class_id": { + "type": "string" + }, + "class_name": { "type": "string" } }, - "required": ["definition_id"], + "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], "additionalProperties": false } + } + }, + "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createitem": { + "type": "object", + "properties": { + "track_qty_onHand": { + "type": "boolean" }, - "po_email": { - "type": ["string", "null"] + "qty_on_hand": { + "type": "number" }, - "class_ref": { + "name": { + "type": "string" + }, + "expense_accountRef": { "type": "object", "properties": { "name": { @@ -74235,7 +75573,7 @@ "required": ["value"], "additionalProperties": false }, - "sales_term_ref": { + "income_accountRef": { "type": "object", "properties": { "name": { @@ -74248,58 +75586,104 @@ "required": ["value"], "additionalProperties": false }, - "linked_txn": { - "type": "array", - "items": { - "type": "object", - "properties": { - "txn_id": { - "type": "string" - }, - "txn_type": { - "type": "string" - }, - "txn_line_id": { - "type": "string" - } + "asset_accountRef": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "required": ["txn_id", "txn_type"], - "additionalProperties": false - } + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "memo": { + "inv_start_date": { "type": "string" }, - "po_status": { - "type": "string", - "enum": ["Open", "Closed"] + "unit_price_cents": { + "type": "number" }, - "transaction_location_type": { + "purchase_cost_cents": { + "type": "number" + }, + "type": { + "type": "string" + } + }, + "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createitem": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "due_date": { + "updated_at": { "type": "string" }, - "metadata": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - } - }, - "required": ["created_at", "updated_at"], - "additionalProperties": false + "id": { + "type": "string" }, - "doc_number": { + "name": { "type": "string" }, - "private_note": { + "active": { + "type": "boolean" + }, + "type": { "type": "string" }, - "ship_method_ref": { + "unit_price_cents": { + "type": "number" + }, + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_updateitem": { + "type": "object", + "properties": { + "track_qty_onHand": { + "type": "boolean" + }, + "qty_on_hand": { + "type": "number" + }, + "name": { + "type": "string" + }, + "expense_accountRef": { "type": "object", "properties": { "name": { @@ -74312,50 +75696,20 @@ "required": ["value"], "additionalProperties": false }, - "txn_tax_detail": { + "income_accountRef": { "type": "object", "properties": { - "txn_tax_code_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "total_tax_cents": { - "type": "number" + "name": { + "type": "string" }, - "tax_line": { - "type": "array", - "items": { - "type": "object", - "properties": { - "amount": { - "type": "number" - }, - "detail_type": { - "type": "string" - }, - "tax_line_detail": { - "type": "string", - "const": "TaxLineDetail" - } - }, - "required": ["amount", "detail_type", "tax_line_detail"], - "additionalProperties": false - } + "value": { + "type": "string" } }, - "required": ["txn_tax_code_ref"], + "required": ["value"], "additionalProperties": false }, - "ship_to": { + "asset_accountRef": { "type": "object", "properties": { "name": { @@ -74368,136 +75722,167 @@ "required": ["value"], "additionalProperties": false }, - "exchange_rate": { + "inv_start_date": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "ship_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] + "purchase_cost_cents": { + "type": "number" }, - "vendor_addr": { - "anyOf": [ - { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" - }, - "line3": { - "type": "string" - }, - "line4": { - "type": "string" - }, - "line5": { - "type": "string" - }, - "city": { - "type": "string" - }, - "sub_division_code": { - "type": "string" - }, - "postal_code": { - "type": "string" - }, - "country": { - "type": "string" - }, - "country_sub_division_code": { - "type": "string" - }, - "lat": { - "type": "string" - }, - "long": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - { - "type": "null" - } - ] + "type": { + "type": "string" }, - "email_status": { + "id": { "type": "string" }, - "total_amt_cents": { + "sync_token": { + "type": "string" + }, + "active": { + "type": "boolean" + } + }, + "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef", "id", "sync_token"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updateitem": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "type": { + "type": "string" + }, + "unit_price_cents": { "type": "number" }, - "recur_data_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false + "purchase_cost_cents": { + "type": "number" + }, + "qty_on_hand": { + "type": ["number", "null"] + }, + "inv_start_date": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "track_qty_onHand": { + "type": "boolean" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "name", + "active", + "type", + "unit_price_cents", + "purchase_cost_cents", + "qty_on_hand", + "inv_start_date", + "description", + "track_qty_onHand" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_createaccount": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "account_type": { + "type": "string" + }, + "account_sub_type": { + "type": "string" + }, + "description": { + "type": "string" + }, + "acct_num": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createaccount": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "fully_qualified_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "account_type": { + "type": "string" + }, + "account_sub_type": { + "type": "string" + }, + "classification": { + "type": "string" + }, + "current_balance_cents": { + "type": "number" + }, + "active": { + "type": "boolean" + }, + "description": { + "type": ["string", "null"] + }, + "acct_num": { + "type": ["string", "null"] + }, + "sub_account": { + "type": "boolean" } }, - "required": ["id", "created_at", "updated_at", "ap_account_ref", "vendor_ref", "line", "total_amt_cents"], + "required": [ + "created_at", + "updated_at", + "id", + "fully_qualified_name", + "name", + "account_type", + "account_sub_type", + "classification", + "current_balance_cents", + "active", + "description", + "acct_num", + "sub_account" + ], "additionalProperties": false }, "ActionInput_quickbooks_updateaccount": { @@ -74591,7 +75976,7 @@ ], "additionalProperties": false }, - "ActionInput_quickbooks_updatecreditmemo": { + "ActionInput_quickbooks_createinvoice": { "type": "object", "properties": { "customer_ref": { @@ -74683,21 +76068,12 @@ }, "required": ["value"], "additionalProperties": false - }, - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "active": { - "type": "boolean" } }, - "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], + "required": ["customer_ref", "line", "currency_ref", "project_ref"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatecreditmemo": { + "ActionOutput_quickbooks_createinvoice": { "type": "object", "properties": { "created_at": { @@ -74772,11 +76148,11 @@ "additionalProperties": false } }, - "remaining_credit": { - "type": "number" + "due_date": { + "type": "string" }, - "customer_name": { - "type": ["string", "null"] + "deposit_cents": { + "type": "number" } }, "required": [ @@ -74788,90 +76164,497 @@ "total_amt_cents", "bill_address", "items", - "remaining_credit", - "customer_name" + "due_date", + "deposit_cents" ], "additionalProperties": false }, - "ActionInput_quickbooks_updatecustomer": { + "ActionInput_quickbooks_updateinvoice": { "type": "object", "properties": { - "display_name": { - "type": "string" + "customer_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "suffix": { + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } + }, + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { "type": "string" }, - "title": { + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "id": { "type": "string" }, - "given_name": { + "sync_token": { "type": "string" }, - "company_name": { + "active": { + "type": "boolean" + } + }, + "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_updateinvoice": { + "type": "object", + "properties": { + "created_at": { "type": "string" }, - "notes": { + "updated_at": { "type": "string" }, - "primary_email": { + "id": { "type": "string" }, - "primary_phone": { + "txn_date": { "type": "string" }, + "balance_cents": { + "type": "number" + }, + "total_amt_cents": { + "type": "number" + }, "bill_address": { - "type": "object", - "properties": { - "line1": { - "type": "string" - }, - "line2": { - "type": "string" + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "city": { - "type": "string" + { + "type": "null" + } + ] + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } }, - "postal_code": { + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "deposit_cents": { + "type": "number" + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "txn_date", + "balance_cents", + "total_amt_cents", + "bill_address", + "items", + "due_date", + "deposit_cents" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_createcreditmemo": { + "type": "object", + "properties": { + "customer_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "country": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } }, - "lat": { + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "long": { + "value": { "type": "string" } }, + "required": ["value"], "additionalProperties": false }, - "ship_address": { + "project_ref": { "type": "object", "properties": { - "line1": { + "name": { "type": "string" }, - "line2": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["customer_ref", "line", "currency_ref", "project_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createcreditmemo": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "txn_date": { + "type": "string" + }, + "balance_cents": { + "type": "number" + }, + "total_amt_cents": { + "type": "number" + }, + "bill_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "city": { + "type": ["string", "null"] + }, + "line1": { + "type": ["string", "null"] + }, + "postal_code": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "id": { + "type": "string" + } + }, + "required": ["city", "line1", "postal_code", "country", "id"], + "additionalProperties": false }, - "city": { + { + "type": "null" + } + ] + }, + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } + }, + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "remaining_credit": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] + } + }, + "required": [ + "created_at", + "updated_at", + "id", + "txn_date", + "balance_cents", + "total_amt_cents", + "bill_address", + "items", + "remaining_credit", + "customer_name" + ], + "additionalProperties": false + }, + "ActionInput_quickbooks_updatecreditmemo": { + "type": "object", + "properties": { + "customer_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "postal_code": { + "value": { "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "detail_type": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "sales_item_line_detail": { + "type": "object", + "properties": { + "item_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["item_ref"], + "additionalProperties": false + }, + "quantity": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "discount_rate": { + "type": "number" + }, + "description": { + "type": "string" + } }, - "country": { + "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "additionalProperties": false + } + }, + "due_date": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "lat": { + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "long": { + "value": { "type": "string" } }, + "required": ["value"], "additionalProperties": false }, "id": { @@ -74884,10 +76667,10 @@ "type": "boolean" } }, - "required": ["bill_address", "ship_address", "id", "sync_token"], + "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatecustomer": { + "ActionOutput_quickbooks_updatecreditmemo": { "type": "object", "properties": { "created_at": { @@ -74899,26 +76682,14 @@ "id": { "type": "string" }, - "given_name": { - "type": ["string", "null"] - }, - "display_name": { - "type": ["string", "null"] - }, - "active": { - "type": "boolean" + "txn_date": { + "type": "string" }, "balance_cents": { "type": "number" }, - "taxable": { - "type": "boolean" - }, - "primary_email": { - "type": ["string", "null"] - }, - "primary_phone": { - "type": ["string", "null"] + "total_amt_cents": { + "type": "number" }, "bill_address": { "anyOf": [ @@ -74949,55 +76720,58 @@ } ] }, - "ship_address": { - "anyOf": [ - { - "type": "object", - "properties": { - "city": { - "type": ["string", "null"] - }, - "line1": { - "type": ["string", "null"] - }, - "postal_code": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - } + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": ["city", "line1", "postal_code", "country", "id"], - "additionalProperties": false + "description": { + "type": ["string", "null"] + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "amount_cents": { + "type": "number" + } }, - { - "type": "null" - } - ] + "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], + "additionalProperties": false + } + }, + "remaining_credit": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] } }, "required": [ "created_at", "updated_at", "id", - "given_name", - "display_name", - "active", + "txn_date", "balance_cents", - "taxable", - "primary_email", - "primary_phone", + "total_amt_cents", "bill_address", - "ship_address" + "items", + "remaining_credit", + "customer_name" ], "additionalProperties": false }, - "ActionInput_quickbooks_updateinvoice": { + "ActionInput_quickbooks_createpayment": { "type": "object", "properties": { + "total_amount_cents": { + "type": "number" + }, "customer_ref": { "type": "object", "properties": { @@ -75011,18 +76785,106 @@ "required": ["value"], "additionalProperties": false }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "required": ["total_amount_cents", "customer_ref", "currency_ref", "project_ref"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createpayment": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "id": { + "type": "string" + }, + "amount_cents": { + "type": "number" + }, + "customer_name": { + "type": ["string", "null"] + }, + "txn_date": { + "type": "string" + } + }, + "required": ["created_at", "updated_at", "id", "amount_cents", "customer_name", "txn_date"], + "additionalProperties": false + }, + "ActionInput_quickbooks_createpurchaseorder": { + "type": "object", + "properties": { + "ap_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "vendor_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, "line": { "type": "array", "items": { "type": "object", "properties": { - "detail_type": { + "id": { "type": "string" }, "amount_cents": { "type": "number" }, - "sales_item_line_detail": { + "detail_type": { + "type": "string", + "const": "ItemBasedExpenseLineDetail" + }, + "item_based_expense_line_detail": { "type": "object", "properties": { "item_ref": { @@ -75037,29 +76899,161 @@ }, "required": ["value"], "additionalProperties": false + }, + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "qty": { + "type": "number" + }, + "unit_price_cents": { + "type": "number" + }, + "tax_inclusive_amt": { + "type": "number" + }, + "customer_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "class_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "markup_info": { + "anyOf": [ + { + "type": "object", + "properties": { + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "percent": { + "type": "number" + }, + "mark_up_income_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "billable_status": { + "type": "string", + "enum": ["Billable", "NotBillable", "HasBeenBilled"] } }, - "required": ["item_ref"], "additionalProperties": false }, - "quantity": { - "type": "number" + "description": { + "type": "string" }, - "unit_price_cents": { + "line_num": { "type": "number" }, - "discount_rate": { - "type": "number" + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } }, - "description": { - "type": "string" + "project_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false } }, - "required": ["detail_type", "amount_cents", "sales_item_line_detail"], + "required": ["amount_cents", "detail_type"], "additionalProperties": false } }, - "due_date": { + "sync_token": { "type": "string" }, "currency_ref": { @@ -75075,7 +77069,39 @@ "required": ["value"], "additionalProperties": false }, - "project_ref": { + "global_tax_calculation": { + "type": "string", + "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + }, + "txn_date": { + "type": "string" + }, + "custom_field": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definition_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "string_value": { + "type": "string" + } + }, + "required": ["definition_id"], + "additionalProperties": false + } + }, + "po_email": { + "type": ["string", "null"] + }, + "class_ref": { "type": "object", "properties": { "name": { @@ -75088,62 +77114,188 @@ "required": ["value"], "additionalProperties": false }, - "id": { - "type": "string" + "sales_term_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "sync_token": { + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "memo": { "type": "string" }, - "active": { - "type": "boolean" - } - }, - "required": ["customer_ref", "line", "currency_ref", "project_ref", "id", "sync_token"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_updateinvoice": { - "type": "object", - "properties": { - "created_at": { + "po_status": { + "type": "string", + "enum": ["Open", "Closed"] + }, + "transaction_location_type": { "type": "string" }, - "updated_at": { + "due_date": { "type": "string" }, - "id": { + "metadata": { + "type": "object", + "properties": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["created_at", "updated_at"], + "additionalProperties": false + }, + "doc_number": { "type": "string" }, - "txn_date": { + "private_note": { "type": "string" }, - "balance_cents": { - "type": "number" + "ship_method_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "txn_tax_detail": { + "type": "object", + "properties": { + "txn_tax_code_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "total_tax_cents": { + "type": "number" + }, + "tax_line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "amount": { + "type": "number" + }, + "detail_type": { + "type": "string" + }, + "tax_line_detail": { + "type": "string", + "const": "TaxLineDetail" + } + }, + "required": ["amount", "detail_type", "tax_line_detail"], + "additionalProperties": false + } + } + }, + "required": ["txn_tax_code_ref"], + "additionalProperties": false + }, + "ship_to": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, - "total_amt_cents": { + "exchange_rate": { "type": "number" }, - "bill_address": { + "ship_addr": { "anyOf": [ { "type": "object", "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, "city": { - "type": ["string", "null"] + "type": "string" }, - "line1": { - "type": ["string", "null"] + "sub_division_code": { + "type": "string" }, "postal_code": { - "type": ["string", "null"] + "type": "string" }, "country": { - "type": ["string", "null"] + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" }, "id": { "type": "string" } }, - "required": ["city", "line1", "postal_code", "country", "id"], + "required": ["id"], "additionalProperties": false }, { @@ -75151,65 +77303,66 @@ } ] }, - "items": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "qty": { - "type": "number" - }, - "unit_price_cents": { - "type": "number" + "vendor_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } }, - "amount_cents": { - "type": "number" - } + "required": ["id"], + "additionalProperties": false }, - "required": ["id", "description", "qty", "unit_price_cents", "amount_cents"], - "additionalProperties": false - } + { + "type": "null" + } + ] }, - "due_date": { + "email_status": { "type": "string" }, - "deposit_cents": { - "type": "number" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "txn_date", - "balance_cents", - "total_amt_cents", - "bill_address", - "items", - "due_date", - "deposit_cents" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_updateitem": { - "type": "object", - "properties": { - "track_qty_onHand": { - "type": "boolean" - }, - "qty_on_hand": { + "total_amt_cents": { "type": "number" }, - "name": { - "type": "string" - }, - "expense_accountRef": { + "recur_data_ref": { "type": "object", "properties": { "name": { @@ -75221,8 +77374,39 @@ }, "required": ["value"], "additionalProperties": false + } + }, + "required": [ + "ap_account_ref", + "vendor_ref", + "line", + "currency_ref", + "custom_field", + "class_ref", + "sales_term_ref", + "linked_txn", + "metadata", + "ship_method_ref", + "txn_tax_detail", + "ship_to", + "total_amt_cents", + "recur_data_ref" + ], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createpurchaseorder": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "income_accountRef": { + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "ap_account_ref": { "type": "object", "properties": { "name": { @@ -75235,7 +77419,7 @@ "required": ["value"], "additionalProperties": false }, - "asset_accountRef": { + "vendor_ref": { "type": "object", "properties": { "name": { @@ -75248,100 +77432,7 @@ "required": ["value"], "additionalProperties": false }, - "inv_start_date": { - "type": "string" - }, - "unit_price_cents": { - "type": "number" - }, - "purchase_cost_cents": { - "type": "number" - }, - "type": { - "type": "string" - }, - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "active": { - "type": "boolean" - } - }, - "required": ["name", "expense_accountRef", "income_accountRef", "asset_accountRef", "id", "sync_token"], - "additionalProperties": false - }, - "ActionOutput_quickbooks_updateitem": { - "type": "object", - "properties": { - "created_at": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "active": { - "type": "boolean" - }, - "type": { - "type": "string" - }, - "unit_price_cents": { - "type": "number" - }, - "purchase_cost_cents": { - "type": "number" - }, - "qty_on_hand": { - "type": ["number", "null"] - }, - "inv_start_date": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "track_qty_onHand": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "updated_at", - "id", - "name", - "active", - "type", - "unit_price_cents", - "purchase_cost_cents", - "qty_on_hand", - "inv_start_date", - "description", - "track_qty_onHand" - ], - "additionalProperties": false - }, - "ActionInput_quickbooks_updatejournalentry": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "sync_token": { - "type": "string" - }, - "sparse": { - "type": "boolean" - }, - "line_items": { + "line": { "type": "array", "items": { "type": "object", @@ -75349,35 +77440,17 @@ "id": { "type": "string" }, - "detail_type": { - "type": "string" - }, - "amount": { + "amount_cents": { "type": "number" }, - "project_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "description": { - "type": "string" - }, - "line_num": { - "type": "number" + "detail_type": { + "type": "string", + "const": "ItemBasedExpenseLineDetail" }, - "journal_entry_line_detail": { + "item_based_expense_line_detail": { "type": "object", "properties": { - "journal_code_ref": { + "item_ref": { "type": "object", "properties": { "name": { @@ -75390,11 +77463,7 @@ "required": ["value"], "additionalProperties": false }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "account_ref": { + "price_level_ref": { "type": "object", "properties": { "name": { @@ -75407,36 +77476,16 @@ "required": ["value"], "additionalProperties": false }, - "tax_applicable_on": { - "type": "string" + "qty": { + "type": "number" }, - "entity": { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "entity_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - } - }, - "required": ["entity_ref"], - "additionalProperties": false + "unit_price_cents": { + "type": "number" }, "tax_inclusive_amt": { "type": "number" }, - "class_ref": { + "customer_ref": { "type": "object", "properties": { "name": { @@ -75449,7 +77498,7 @@ "required": ["value"], "additionalProperties": false }, - "department_ref": { + "class_ref": { "type": "object", "properties": { "name": { @@ -75475,48 +77524,235 @@ "required": ["value"], "additionalProperties": false }, + "markup_info": { + "anyOf": [ + { + "type": "object", + "properties": { + "price_level_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "percent": { + "type": "number" + }, + "mark_up_income_account_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, "billable_status": { + "type": "string", + "enum": ["Billable", "NotBillable", "HasBeenBilled"] + } + }, + "additionalProperties": false + }, + "description": { + "type": "string" + }, + "line_num": { + "type": "number" + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], + "additionalProperties": false + } + }, + "project_ref": { + "type": "object", + "properties": { + "name": { "type": "string" }, - "tax_amount": { - "type": "number" + "value": { + "type": "string" } }, - "required": ["journal_code_ref", "posting_type", "account_ref", "class_ref", "department_ref", "tax_code_ref"], + "required": ["value"], "additionalProperties": false } }, - "required": ["detail_type", "project_ref", "journal_entry_line_detail"], + "required": ["amount_cents", "detail_type"], + "additionalProperties": false + } + }, + "sync_token": { + "type": "string" + }, + "currency_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "global_tax_calculation": { + "type": "string", + "enum": ["TaxExcluded", "TaxInclusive", "NotApplicable"] + }, + "txn_date": { + "type": "string" + }, + "custom_field": { + "type": "array", + "items": { + "type": "object", + "properties": { + "definition_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "string_value": { + "type": "string" + } + }, + "required": ["definition_id"], + "additionalProperties": false + } + }, + "po_email": { + "type": ["string", "null"] + }, + "class_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "sales_term_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "linked_txn": { + "type": "array", + "items": { + "type": "object", + "properties": { + "txn_id": { + "type": "string" + }, + "txn_type": { + "type": "string" + }, + "txn_line_id": { + "type": "string" + } + }, + "required": ["txn_id", "txn_type"], "additionalProperties": false } }, - "currency_ref": { + "memo": { + "type": "string" + }, + "po_status": { + "type": "string", + "enum": ["Open", "Closed"] + }, + "transaction_location_type": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "metadata": { "type": "object", "properties": { - "name": { + "created_at": { "type": "string" }, - "value": { + "updated_at": { "type": "string" } }, - "required": ["value"], + "required": ["created_at", "updated_at"], "additionalProperties": false }, - "global_tax_calculation": { - "type": "string" - }, "doc_number": { "type": "string" }, "private_note": { "type": "string" }, - "exchange_rate": { - "type": "number" - }, - "transaction_location_type": { - "type": "string" + "ship_method_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false }, "txn_tax_detail": { "type": "object", @@ -75534,7 +77770,7 @@ "required": ["value"], "additionalProperties": false }, - "total_tax": { + "total_tax_cents": { "type": "number" }, "tax_line": { @@ -75542,43 +77778,18 @@ "items": { "type": "object", "properties": { + "amount": { + "type": "number" + }, "detail_type": { "type": "string" }, "tax_line_detail": { - "type": "object", - "properties": { - "tax_rate_ref": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": ["value"], - "additionalProperties": false - }, - "net_amount_taxable": { - "type": "number" - }, - "percent_based": { - "type": "boolean" - }, - "tax_percent": { - "type": "number" - } - }, - "required": ["tax_rate_ref"], - "additionalProperties": false - }, - "amount": { - "type": "number" + "type": "string", + "const": "TaxLineDetail" } }, - "required": ["detail_type"], + "required": ["amount", "detail_type", "tax_line_detail"], "additionalProperties": false } } @@ -75586,14 +77797,193 @@ "required": ["txn_tax_code_ref"], "additionalProperties": false }, - "adjustment": { - "type": "boolean" + "ship_to": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false + }, + "exchange_rate": { + "type": "number" + }, + "ship_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "vendor_addr": { + "anyOf": [ + { + "type": "object", + "properties": { + "line1": { + "type": "string" + }, + "line2": { + "type": "string" + }, + "line3": { + "type": "string" + }, + "line4": { + "type": "string" + }, + "line5": { + "type": "string" + }, + "city": { + "type": "string" + }, + "sub_division_code": { + "type": "string" + }, + "postal_code": { + "type": "string" + }, + "country": { + "type": "string" + }, + "country_sub_division_code": { + "type": "string" + }, + "lat": { + "type": "string" + }, + "long": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "email_status": { + "type": "string" + }, + "total_amt_cents": { + "type": "number" + }, + "recur_data_ref": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": ["value"], + "additionalProperties": false } }, - "required": ["id", "sync_token", "line_items", "currency_ref"], + "required": ["id", "created_at", "updated_at", "ap_account_ref", "vendor_ref", "line", "total_amt_cents"], "additionalProperties": false }, - "ActionOutput_quickbooks_updatejournalentry": { + "ActionInput_quickbooks_createbill": { + "type": "object", + "properties": { + "currency": { + "type": "string" + }, + "vendor_id": { + "type": "string" + }, + "vendor_name": { + "type": "string" + }, + "line": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "detail_type": { + "type": "string" + }, + "amount": { + "type": "number" + }, + "account_id": { + "type": "string" + }, + "account_name": { + "type": "string" + } + }, + "required": ["id", "detail_type", "amount"], + "additionalProperties": false + } + } + }, + "required": ["currency", "vendor_id", "line"], + "additionalProperties": false + }, + "ActionOutput_quickbooks_createbill": { "type": "object", "properties": { "created_at": { @@ -75605,15 +77995,36 @@ "id": { "type": "string" }, - "date": { - "type": ["string", "null"] + "sales_term_id": { + "type": "string" + }, + "due_date": { + "type": "string" + }, + "balance": { + "type": "number" + }, + "txn_date": { + "type": "string" }, "currency": { "type": "string" }, - "note": { + "vendor_id": { + "type": "string" + }, + "vendor_name": { + "type": "string" + }, + "ap_account_id": { + "type": "string" + }, + "ap_account_name": { "type": "string" }, + "total_amount": { + "type": "number" + }, "lines": { "type": "array", "items": { @@ -75622,58 +78033,31 @@ "id": { "type": "string" }, - "type": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "account_name": { + "detail_type": { "type": "string" }, - "net_amount": { + "amount": { "type": "number" }, - "posting_type": { - "type": "string", - "enum": ["Debit", "Credit"] - }, - "description": { - "type": "string" - }, - "entity_type": { - "type": "string" - }, - "entity_type_id": { - "type": "string" - }, - "entity_type_name": { - "type": "string" - }, - "department_id": { - "type": "string" - }, - "department_name": { - "type": "string" - }, - "class_id": { + "account_id": { "type": "string" }, - "class_name": { + "account_name": { "type": "string" } }, - "required": ["id", "type", "account_id", "account_name", "net_amount", "posting_type", "description"], + "required": ["id", "detail_type", "amount"], "additionalProperties": false } } }, - "required": ["created_at", "updated_at", "id", "date", "currency", "lines"], + "required": ["created_at", "updated_at", "id", "due_date", "balance", "txn_date", "currency", "vendor_id", "total_amount", "lines"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "quickbooks" }, { @@ -75741,63 +78125,177 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "User": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, "SyncMetadata_ramp_users": { "type": "object", "additionalProperties": false }, - "ActionInput_ramp_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "role": { - "type": "string" - }, - "departmentId": { - "type": "string" - }, - "directManagerId": { - "type": "string" - }, - "idempotencyKey": { - "type": "string" - }, - "locationId": { - "type": "string" - } - }, - "required": ["firstName", "lastName", "email"], - "additionalProperties": false - }, - "ActionOutput_ramp_createuser": { + "User": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "ActionInput_ramp_createuser": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "role": { + "type": "string" + }, + "departmentId": { + "type": "string" + }, + "directManagerId": { + "type": "string" + }, + "idempotencyKey": { + "type": "string" + }, + "locationId": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "email"], + "additionalProperties": false + }, + "ActionOutput_ramp_createuser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + } + }, + "required": ["id", "email", "firstName", "lastName"], + "additionalProperties": false + }, + "ActionInput_ramp_disableuser": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_ramp_disableuser": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + } + }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "ramp-sandbox", + "actions": [ + { + "type": "action", + "description": "Creates a user in Ramp", + "endpoint": { + "method": "POST", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_ramp_createuser", + "name": "create-user", + "output": ["ActionOutput_ramp_createuser"], + "scopes": ["users:write"], + "usedModels": ["ActionInput_ramp_createuser", "ActionOutput_ramp_createuser"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a user in Ramp by id", + "endpoint": { + "method": "DELETE", + "path": "/users", + "group": "Users" + }, + "input": "ActionInput_ramp_disableuser", + "name": "disable-user", + "output": ["ActionOutput_ramp_disableuser"], + "scopes": ["users:write"], + "usedModels": ["ActionInput_ramp_disableuser", "ActionOutput_ramp_disableuser"], + "version": "1.0.0" + } + ], + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of users from Ramp", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users", + "group": "Users" + } + ], + "input": "SyncMetadata_ramp_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["users:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_ramp_users"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_ramp_users": { + "type": "object", + "additionalProperties": false + }, + "User": { "type": "object", "properties": { "id": { @@ -75816,121 +78314,6 @@ "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_ramp_disableuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_ramp_disableuser": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "ramp-sandbox", - "actions": [ - { - "type": "action", - "description": "Creates a user in Ramp", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_ramp_createuser", - "name": "create-user", - "output": ["ActionOutput_ramp_createuser"], - "scopes": ["users:write"], - "usedModels": ["ActionInput_ramp_createuser", "ActionOutput_ramp_createuser"], - "version": "1.0.0" - }, - { - "type": "action", - "description": "Deletes a user in Ramp by id", - "endpoint": { - "method": "DELETE", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_ramp_disableuser", - "name": "disable-user", - "output": ["ActionOutput_ramp_disableuser"], - "scopes": ["users:write"], - "usedModels": ["ActionInput_ramp_disableuser", "ActionOutput_ramp_disableuser"], - "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of users from Ramp", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users", - "group": "Users" - } - ], - "input": "SyncMetadata_ramp_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["users:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_ramp_users"], - "version": "1.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "User": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_ramp_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_ramp_createuser": { "type": "object", "properties": { @@ -76001,9 +78384,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "ramp" }, { @@ -76056,35 +78440,59 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_recharge_customers": { + "type": "object", + "additionalProperties": false + }, "Customer": { "type": "object", "properties": { "id": { "type": "string" }, - "name": { - "type": "string" + "phone_number": { + "type": ["string", "null"] }, - "email": { - "type": "string" + "first_name": { + "type": ["string", "null"] }, - "is_paying_customer": { - "type": "boolean" + "last_name": { + "type": ["string", "null"] }, - "created_at": { - "type": "string" + "email": { + "type": ["string", "null"] }, - "modified_at": { - "type": "string" + "subscriptions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "name": { + "type": "string" + }, + "start_date": { + "type": "string" + }, + "end_date": { + "type": ["string", "null"] + }, + "next_charge_scheduled_at": { + "type": ["string", "null"] + } + }, + "required": ["id", "type", "name", "start_date", "end_date", "next_charge_scheduled_at"], + "additionalProperties": false + } } }, - "required": ["id", "name", "email", "is_paying_customer", "created_at", "modified_at"], - "additionalProperties": false - }, - "SyncMetadata_recharge_customers": { - "type": "object", + "required": ["id", "phone_number", "first_name", "last_name", "email", "subscriptions"], "additionalProperties": false }, "ActionInput_recharge_upsertcustomers": { @@ -76309,9 +78717,10 @@ "required": ["action", "response"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -76319,85 +78728,85 @@ "actions": [ { "type": "action", - "description": "Fetches all candidate activities list from RecruiterFlow", + "description": "Fetches all candidate scorecards from RecruiterFlow", "endpoint": { "method": "GET", - "path": "/candidate-activities-list", + "path": "/candidate-scorecards", "group": "Candidates" }, - "input": "ActionInput_recruiterflow_candidateactivitieslist", - "name": "candidate-activities-list", - "output": ["ActionOutput_recruiterflow_candidateactivitieslist"], + "input": "ActionInput_recruiterflow_candidatescorecards", + "name": "candidate-scorecards", + "output": ["ActionOutput_recruiterflow_candidatescorecards"], "scopes": [], - "usedModels": ["ActionInput_recruiterflow_candidateactivitieslist", "ActionOutput_recruiterflow_candidateactivitieslist"], - "version": "3.0.0" + "usedModels": ["ActionInput_recruiterflow_candidatescorecards", "ActionOutput_recruiterflow_candidatescorecards"], + "version": "2.0.0" }, { "type": "action", - "description": "Fetches all candidate activities stage movements from RecruiterFlow", + "description": "Fetches all job pipelines from RecruiterFlow", "endpoint": { "method": "GET", - "path": "/candidate-activities-stage-movements", - "group": "Candidates" + "path": "/job-pipelines", + "group": "Jobs" }, - "input": "ActionInput_recruiterflow_candidateactivitiesstagemovements", - "name": "candidate-activities-stage-movements", - "output": ["ActionOutput_recruiterflow_candidateactivitiesstagemovements"], + "input": "ActionInput_recruiterflow_jobpipelines", + "name": "job-pipelines", + "output": ["ActionOutput_recruiterflow_jobpipelines"], "scopes": [], - "usedModels": ["ActionInput_recruiterflow_candidateactivitiesstagemovements", "ActionOutput_recruiterflow_candidateactivitiesstagemovements"], + "usedModels": ["ActionInput_recruiterflow_jobpipelines", "ActionOutput_recruiterflow_jobpipelines"], "version": "2.0.0" }, { "type": "action", - "description": "Fetches all candidate scorecards from RecruiterFlow", + "description": "Fetches all candidate activities list from RecruiterFlow", "endpoint": { "method": "GET", - "path": "/candidate-scorecards", + "path": "/candidate-activities-list", "group": "Candidates" }, - "input": "ActionInput_recruiterflow_candidatescorecards", - "name": "candidate-scorecards", - "output": ["ActionOutput_recruiterflow_candidatescorecards"], + "input": "ActionInput_recruiterflow_candidateactivitieslist", + "name": "candidate-activities-list", + "output": ["ActionOutput_recruiterflow_candidateactivitieslist"], "scopes": [], - "usedModels": ["ActionInput_recruiterflow_candidatescorecards", "ActionOutput_recruiterflow_candidatescorecards"], - "version": "2.0.0" + "usedModels": ["ActionInput_recruiterflow_candidateactivitieslist", "ActionOutput_recruiterflow_candidateactivitieslist"], + "version": "3.0.0" }, { "type": "action", - "description": "Fetches all job pipelines from RecruiterFlow", + "description": "Fetches all candidate activities stage movements from RecruiterFlow", "endpoint": { "method": "GET", - "path": "/job-pipelines", - "group": "Jobs" + "path": "/candidate-activities-stage-movements", + "group": "Candidates" }, - "input": "ActionInput_recruiterflow_jobpipelines", - "name": "job-pipelines", - "output": ["ActionOutput_recruiterflow_jobpipelines"], + "input": "ActionInput_recruiterflow_candidateactivitiesstagemovements", + "name": "candidate-activities-stage-movements", + "output": ["ActionOutput_recruiterflow_candidateactivitiesstagemovements"], "scopes": [], - "usedModels": ["ActionInput_recruiterflow_jobpipelines", "ActionOutput_recruiterflow_jobpipelines"], + "usedModels": ["ActionInput_recruiterflow_candidateactivitiesstagemovements", "ActionOutput_recruiterflow_candidateactivitiesstagemovements"], "version": "2.0.0" } ], "syncs": [ { "type": "sync", - "description": "Syncs all candidate activity types from RecruiterFlow", + "description": "Syncs all users from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/candidate-activity-types", - "group": "Candidates" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_recruiterflow_candidateactivitytypes", - "name": "candidate-activity-types", - "output": ["RecruiterFlowCandidateActivityType"], + "input": "SyncMetadata_recruiterflow_users", + "name": "users", + "output": ["RecruiterFlowUser"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowCandidateActivityType", "SyncMetadata_recruiterflow_candidateactivitytypes"], + "usedModels": ["RecruiterFlowUser", "SyncMetadata_recruiterflow_users"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -76425,89 +78834,89 @@ }, { "type": "sync", - "description": "Syncs all employment types from RecruiterFlow", + "description": "Syncs all candidate activity types from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/employment-types", - "group": "Employments" + "path": "/candidate-activity-types", + "group": "Candidates" } ], - "input": "SyncMetadata_recruiterflow_employmenttypes", - "name": "employment-types", - "output": ["RecruiterFlowEmploymentType"], + "input": "SyncMetadata_recruiterflow_candidateactivitytypes", + "name": "candidate-activity-types", + "output": ["RecruiterFlowCandidateActivityType"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowEmploymentType", "SyncMetadata_recruiterflow_employmenttypes"], + "usedModels": ["RecruiterFlowCandidateActivityType", "SyncMetadata_recruiterflow_candidateactivitytypes"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Syncs all job departments from RecruiterFlow", + "description": "Syncs all jobs from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/job-departments", + "path": "/jobs", "group": "Jobs" } ], - "input": "SyncMetadata_recruiterflow_jobdepartments", - "name": "job-departments", - "output": ["RecruiterFlowJobDepartment"], + "input": "SyncMetadata_recruiterflow_jobs", + "name": "jobs", + "output": ["RecruiterFlowJob"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowJobDepartment", "SyncMetadata_recruiterflow_jobdepartments"], + "usedModels": ["RecruiterFlowJob", "SyncMetadata_recruiterflow_jobs"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Syncs all job remote statuses from RecruiterFlow", + "description": "Syncs all job stage names from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/job-remote-statuses", + "path": "/job-stage-names", "group": "Jobs" } ], - "input": "SyncMetadata_recruiterflow_jobremotestatuses", - "name": "job-remote-statuses", - "output": ["RecruiterFlowJobRemoteStatus"], + "input": "SyncMetadata_recruiterflow_jobstagenames", + "name": "job-stage-names", + "output": ["RecruiterFlowLeanJobStageName"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowJobRemoteStatus", "SyncMetadata_recruiterflow_jobremotestatuses"], + "usedModels": ["RecruiterFlowLeanJobStageName", "SyncMetadata_recruiterflow_jobstagenames"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Syncs all job stage names from RecruiterFlow", + "description": "Syncs all job departments from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/job-stage-names", + "path": "/job-departments", "group": "Jobs" } ], - "input": "SyncMetadata_recruiterflow_jobstagenames", - "name": "job-stage-names", - "output": ["RecruiterFlowLeanJobStageName"], + "input": "SyncMetadata_recruiterflow_jobdepartments", + "name": "job-departments", + "output": ["RecruiterFlowJobDepartment"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowLeanJobStageName", "SyncMetadata_recruiterflow_jobstagenames"], + "usedModels": ["RecruiterFlowJobDepartment", "SyncMetadata_recruiterflow_jobdepartments"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -76535,23 +78944,23 @@ }, { "type": "sync", - "description": "Syncs all jobs from RecruiterFlow", + "description": "Syncs all job remote statuses from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/jobs", + "path": "/job-remote-statuses", "group": "Jobs" } ], - "input": "SyncMetadata_recruiterflow_jobs", - "name": "jobs", - "output": ["RecruiterFlowJob"], + "input": "SyncMetadata_recruiterflow_jobremotestatuses", + "name": "job-remote-statuses", + "output": ["RecruiterFlowJobRemoteStatus"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowJob", "SyncMetadata_recruiterflow_jobs"], + "usedModels": ["RecruiterFlowJobRemoteStatus", "SyncMetadata_recruiterflow_jobremotestatuses"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -76579,45 +78988,45 @@ }, { "type": "sync", - "description": "Syncs all organization locations from RecruiterFlow", + "description": "Syncs all employment types from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/organization-locations", - "group": "Organizations" + "path": "/employment-types", + "group": "Employments" } ], - "input": "SyncMetadata_recruiterflow_organizationlocations", - "name": "organization-locations", - "output": ["RecruiterFlowOrganizationLocation"], + "input": "SyncMetadata_recruiterflow_employmenttypes", + "name": "employment-types", + "output": ["RecruiterFlowEmploymentType"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowOrganizationLocation", "SyncMetadata_recruiterflow_organizationlocations"], + "usedModels": ["RecruiterFlowEmploymentType", "SyncMetadata_recruiterflow_employmenttypes"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Syncs all users from RecruiterFlow", + "description": "Syncs all organization locations from RecruiterFlow", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/organization-locations", + "group": "Organizations" } ], - "input": "SyncMetadata_recruiterflow_users", - "name": "users", - "output": ["RecruiterFlowUser"], + "input": "SyncMetadata_recruiterflow_organizationlocations", + "name": "organization-locations", + "output": ["RecruiterFlowOrganizationLocation"], "runs": "every hour", "scopes": [], "sync_type": "full", "track_deletes": false, - "usedModels": ["RecruiterFlowUser", "SyncMetadata_recruiterflow_users"], + "usedModels": ["RecruiterFlowOrganizationLocation", "SyncMetadata_recruiterflow_organizationlocations"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -76629,40 +79038,40 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "RecruiterFlowCandidateActivityType": { + "SyncMetadata_recruiterflow_users": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowUser": { "type": "object", "properties": { - "category": { - "type": "string" - }, "id": { "type": "string" }, - "is_archived": { - "type": "boolean" - }, - "is_custom": { - "type": "boolean" + "email": { + "type": "string" }, - "name": { + "first_name": { "type": "string" }, - "rank": { - "type": "number" + "last_name": { + "type": "string" }, - "track_last_contacted": { - "type": "boolean" + "role": { + "type": "array", + "items": { + "type": "string" + } }, - "track_last_engaged": { - "type": "boolean" + "img_link": { + "type": ["string", "null"] } }, - "required": ["category", "id", "is_archived", "is_custom", "name", "rank", "track_last_contacted", "track_last_engaged"], + "required": ["id", "email", "first_name", "last_name", "img_link"], "additionalProperties": false }, - "SyncMetadata_recruiterflow_candidateactivitytypes": { + "SyncMetadata_recruiterflow_candidates": { "type": "object", "additionalProperties": false }, @@ -76819,98 +79228,42 @@ ], "additionalProperties": false }, - "SyncMetadata_recruiterflow_candidates": { + "SyncMetadata_recruiterflow_candidateactivitytypes": { "type": "object", "additionalProperties": false }, - "RecruiterFlowEmploymentType": { + "RecruiterFlowCandidateActivityType": { "type": "object", "properties": { - "id": { + "category": { "type": "string" }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "SyncMetadata_recruiterflow_employmenttypes": { - "type": "object", - "additionalProperties": false - }, - "RecruiterFlowJobDepartment": { - "type": "object", - "properties": { "id": { "type": "string" }, - "name": { - "type": "string" + "is_archived": { + "type": "boolean" }, - "count": { - "type": "number" - } - }, - "required": ["id", "name", "count"], - "additionalProperties": false - }, - "SyncMetadata_recruiterflow_jobdepartments": { - "type": "object", - "additionalProperties": false - }, - "RecruiterFlowJobRemoteStatus": { - "type": "object", - "properties": { - "id": { - "type": "string" + "is_custom": { + "type": "boolean" }, "name": { "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "SyncMetadata_recruiterflow_jobremotestatuses": { - "type": "object", - "additionalProperties": false - }, - "RecruiterFlowLeanJobStageName": { - "type": "object", - "properties": { - "id": { - "type": "string" }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "SyncMetadata_recruiterflow_jobstagenames": { - "type": "object", - "additionalProperties": false - }, - "RecruiterFlowJobStatus": { - "type": "object", - "properties": { - "id": { - "type": "string" + "rank": { + "type": "number" }, - "name": { - "type": "string" + "track_last_contacted": { + "type": "boolean" }, - "color": { - "type": "string" + "track_last_engaged": { + "type": "boolean" } }, - "required": ["id", "name", "color"], + "required": ["category", "id", "is_archived", "is_custom", "name", "rank", "track_last_contacted", "track_last_engaged"], "additionalProperties": false }, - "SyncMetadata_recruiterflow_jobstatuses": { + "SyncMetadata_recruiterflow_jobs": { "type": "object", "additionalProperties": false }, @@ -77075,7 +79428,81 @@ ], "additionalProperties": false }, - "SyncMetadata_recruiterflow_jobs": { + "SyncMetadata_recruiterflow_jobstagenames": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowLeanJobStageName": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "SyncMetadata_recruiterflow_jobdepartments": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowJobDepartment": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "count": { + "type": "number" + } + }, + "required": ["id", "name", "count"], + "additionalProperties": false + }, + "SyncMetadata_recruiterflow_jobstatuses": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowJobStatus": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string" + } + }, + "required": ["id", "name", "color"], + "additionalProperties": false + }, + "SyncMetadata_recruiterflow_jobremotestatuses": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowJobRemoteStatus": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "SyncMetadata_recruiterflow_locations": { "type": "object", "additionalProperties": false }, @@ -77119,7 +79546,24 @@ "required": ["id", "name", "location_type", "location_type_id"], "additionalProperties": false }, - "SyncMetadata_recruiterflow_locations": { + "SyncMetadata_recruiterflow_employmenttypes": { + "type": "object", + "additionalProperties": false + }, + "RecruiterFlowEmploymentType": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false + }, + "SyncMetadata_recruiterflow_organizationlocations": { "type": "object", "additionalProperties": false }, @@ -77151,40 +79595,219 @@ "required": ["id", "name"], "additionalProperties": false }, - "SyncMetadata_recruiterflow_organizationlocations": { - "type": "object", - "additionalProperties": false - }, - "RecruiterFlowUser": { + "ActionInput_recruiterflow_candidatescorecards": { "type": "object", "properties": { "id": { "type": "string" }, - "email": { - "type": "string" - }, - "first_name": { + "job_id": { "type": "string" + } + }, + "required": ["id", "job_id"], + "additionalProperties": false + }, + "ActionOutput_recruiterflow_candidatescorecards": { + "type": "object", + "properties": { + "candidate": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "first_name": { + "type": "string" + } + }, + "required": ["id", "name"], + "additionalProperties": false }, - "last_name": { + "job": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "scorecard": { + "type": "array", + "items": { + "type": "object", + "properties": { + "attributes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "category": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "rank": { + "type": "number" + }, + "rating": { + "type": "number" + } + }, + "required": ["category", "name", "notes", "rank", "rating"], + "additionalProperties": false + } + }, + "bottomline": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "number" + }, + "last_name": { + "type": "string" + }, + "middle_name": { + "type": "string" + }, + "name": { + "type": "string" + }, + "notes": { + "type": "string" + }, + "questions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "category_name": { + "type": "string" + }, + "id": { + "type": "number" + }, + "response": { + "type": "string" + }, + "text": { + "type": "string" + } + }, + "required": ["category_name", "id", "response", "text"], + "additionalProperties": false + } + }, + "result_id": { + "type": "number" + }, + "submission_time": { + "type": "string" + }, + "user_id": { + "type": "number" + } + }, + "required": [ + "attributes", + "bottomline", + "first_name", + "id", + "last_name", + "middle_name", + "name", + "notes", + "questions", + "result_id", + "submission_time", + "user_id" + ], + "additionalProperties": false + } + } + }, + "required": ["id", "name", "scorecard"], + "additionalProperties": false + } + } + }, + "required": ["id", "name", "stages"], + "additionalProperties": false + } + } + }, + "required": ["candidate", "job"], + "additionalProperties": false + }, + "ActionInput_recruiterflow_jobpipelines": { + "type": "object", + "properties": { + "job_id": { "type": "string" + } + }, + "required": ["job_id"], + "additionalProperties": false + }, + "ActionOutput_recruiterflow_jobpipelines": { + "type": "object", + "properties": { + "detail": { + "type": "array", + "items": {} }, - "role": { + "summary": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "count": { + "type": "number" + } + }, + "required": ["id", "name", "count"], + "additionalProperties": false } - }, - "img_link": { - "type": ["string", "null"] } }, - "required": ["id", "email", "first_name", "last_name", "img_link"], - "additionalProperties": false - }, - "SyncMetadata_recruiterflow_users": { - "type": "object", + "required": ["detail", "summary"], "additionalProperties": false }, "ActionInput_recruiterflow_candidateactivitieslist": { @@ -77445,245 +80068,16 @@ }, "required": ["data"], "additionalProperties": false - }, - "ActionInput_recruiterflow_candidatescorecards": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "job_id": { - "type": "string" - } - }, - "required": ["id", "job_id"], - "additionalProperties": false - }, - "ActionOutput_recruiterflow_candidatescorecards": { - "type": "object", - "properties": { - "candidate": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "first_name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "job": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "stages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "scorecard": { - "type": "array", - "items": { - "type": "object", - "properties": { - "attributes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "category": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "name": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "rank": { - "type": "number" - }, - "rating": { - "type": "number" - } - }, - "required": ["category", "name", "notes", "rank", "rating"], - "additionalProperties": false - } - }, - "bottomline": { - "type": "string" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "number" - }, - "last_name": { - "type": "string" - }, - "middle_name": { - "type": "string" - }, - "name": { - "type": "string" - }, - "notes": { - "type": "string" - }, - "questions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "category_name": { - "type": "string" - }, - "id": { - "type": "number" - }, - "response": { - "type": "string" - }, - "text": { - "type": "string" - } - }, - "required": ["category_name", "id", "response", "text"], - "additionalProperties": false - } - }, - "result_id": { - "type": "number" - }, - "submission_time": { - "type": "string" - }, - "user_id": { - "type": "number" - } - }, - "required": [ - "attributes", - "bottomline", - "first_name", - "id", - "last_name", - "middle_name", - "name", - "notes", - "questions", - "result_id", - "submission_time", - "user_id" - ], - "additionalProperties": false - } - } - }, - "required": ["id", "name", "scorecard"], - "additionalProperties": false - } - } - }, - "required": ["id", "name", "stages"], - "additionalProperties": false - } - } - }, - "required": ["candidate", "job"], - "additionalProperties": false - }, - "ActionInput_recruiterflow_jobpipelines": { - "type": "object", - "properties": { - "job_id": { - "type": "string" - } - }, - "required": ["job_id"], - "additionalProperties": false - }, - "ActionOutput_recruiterflow_jobpipelines": { - "type": "object", - "properties": { - "detail": { - "type": "array", - "items": {} - }, - "summary": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "count": { - "type": "number" - } - }, - "required": ["id", "name", "count"], - "additionalProperties": false - } - } - }, - "required": ["detail", "summary"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "ring-central", "actions": [ - { - "type": "action", - "description": "Creates a new external contact in RingCentral.", - "endpoint": { - "method": "POST", - "path": "/contacts", - "group": "Contacts" - }, - "input": "ActionInput_ring_central_createcontact", - "name": "create-contact", - "output": ["ActionOutput_ring_central_createcontact"], - "scopes": ["Contacts"], - "usedModels": ["ActionInput_ring_central_createcontact", "ActionOutput_ring_central_createcontact"], - "version": "1.0.0" - }, { "type": "action", "description": "Creates a user in RingCentral", @@ -77728,50 +80122,65 @@ "scopes": [], "usedModels": ["ActionInput_ring_central_getcompanyinfo", "ActionOutput_ring_central_getcompanyinfo"], "version": "1.0.0" + }, + { + "type": "action", + "description": "Creates a new external contact in RingCentral.", + "endpoint": { + "method": "POST", + "path": "/contacts", + "group": "Contacts" + }, + "input": "ActionInput_ring_central_createcontact", + "name": "create-contact", + "output": ["ActionOutput_ring_central_createcontact"], + "scopes": ["Contacts"], + "usedModels": ["ActionInput_ring_central_createcontact", "ActionOutput_ring_central_createcontact"], + "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches the list of external contacts from RingCentral", + "description": "Fetches the list of users from RingCentral", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/contacts", - "group": "Contacts" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_ring_central_contacts", - "name": "contacts", - "output": ["Contact"], + "input": "SyncMetadata_ring_central_users", + "name": "users", + "output": ["User"], "runs": "every day", - "scopes": ["ReadContacts"], + "scopes": ["ReadAccounts"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Contact", "SyncMetadata_ring_central_contacts"], + "usedModels": ["User", "SyncMetadata_ring_central_users"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches the list of users from RingCentral", + "description": "Fetches the list of external contacts from RingCentral", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/contacts", + "group": "Contacts" } ], - "input": "SyncMetadata_ring_central_users", - "name": "users", - "output": ["User"], + "input": "SyncMetadata_ring_central_contacts", + "name": "contacts", + "output": ["Contact"], "runs": "every day", - "scopes": ["ReadAccounts"], + "scopes": ["ReadContacts"], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_ring_central_users"], + "usedModels": ["Contact", "SyncMetadata_ring_central_contacts"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -77783,55 +80192,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Contact": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] - }, - "address_line_2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "state": { - "type": ["string", "null"] - }, - "phone": { - "type": ["string", "null"] - }, - "subsidiary": { - "type": ["string", "null"] - } - }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], - "additionalProperties": false - }, - "SyncMetadata_ring_central_contacts": { + "SyncMetadata_ring_central_users": { "type": "object", "additionalProperties": false }, @@ -77841,66 +80203,24 @@ "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_ring_central_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_ring_central_createcontact": { + "SyncMetadata_ring_central_contacts": { "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phoneNumbers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["work", "mobile", "other"] - }, - "value": { - "type": "string" - } - }, - "required": ["type", "value"], - "additionalProperties": false - } - }, - "company": { - "type": "string" - }, - "jobTitle": { - "type": "string" - }, - "notes": { - "type": "string" - } - }, - "required": ["phoneNumbers"], "additionalProperties": false }, - "ActionOutput_ring_central_createcontact": { + "Contact": { "type": "object", "properties": { "id": { @@ -78148,30 +80468,103 @@ }, "required": ["id", "name", "status", "serviceInfo", "operator"], "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "ring-central-sandbox", - "actions": [ - { - "type": "action", - "description": "Creates a new external contact in RingCentral.", - "endpoint": { - "method": "POST", - "path": "/contacts", - "group": "Contacts" }, - "input": "ActionInput_ring_central_createcontact", - "name": "create-contact", - "output": ["ActionOutput_ring_central_createcontact"], - "scopes": ["Contacts"], - "usedModels": ["ActionInput_ring_central_createcontact", "ActionOutput_ring_central_createcontact"], - "version": "1.0.0" + "ActionInput_ring_central_createcontact": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["work", "mobile", "other"] + }, + "value": { + "type": "string" + } + }, + "required": ["type", "value"], + "additionalProperties": false + } + }, + "company": { + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["phoneNumbers"], + "additionalProperties": false + }, + "ActionOutput_ring_central_createcontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["work", "mobile", "other"] + }, + "value": { + "type": "string" + } + }, + "required": ["type", "value"], + "additionalProperties": false + } + }, + "company": { + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + } }, + "$comment": "This file was generated by Nango (v0.68.1)" + }, + "sdkVersion": "0.68.1", + "symLinkTargetName": null + }, + { + "providerConfigKey": "ring-central-sandbox", + "actions": [ { "type": "action", "description": "Creates a user in RingCentral", @@ -78216,50 +80609,65 @@ "scopes": [], "usedModels": ["ActionInput_ring_central_getcompanyinfo", "ActionOutput_ring_central_getcompanyinfo"], "version": "1.0.0" + }, + { + "type": "action", + "description": "Creates a new external contact in RingCentral.", + "endpoint": { + "method": "POST", + "path": "/contacts", + "group": "Contacts" + }, + "input": "ActionInput_ring_central_createcontact", + "name": "create-contact", + "output": ["ActionOutput_ring_central_createcontact"], + "scopes": ["Contacts"], + "usedModels": ["ActionInput_ring_central_createcontact", "ActionOutput_ring_central_createcontact"], + "version": "1.0.0" } ], "syncs": [ { "type": "sync", - "description": "Fetches the list of external contacts from RingCentral", + "description": "Fetches the list of users from RingCentral", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/contacts", - "group": "Contacts" + "path": "/users", + "group": "Users" } ], - "input": "SyncMetadata_ring_central_contacts", - "name": "contacts", - "output": ["Contact"], + "input": "SyncMetadata_ring_central_users", + "name": "users", + "output": ["User"], "runs": "every day", - "scopes": ["ReadContacts"], + "scopes": ["ReadAccounts"], "sync_type": "full", "track_deletes": false, - "usedModels": ["Contact", "SyncMetadata_ring_central_contacts"], + "usedModels": ["User", "SyncMetadata_ring_central_users"], "version": "1.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches the list of users from RingCentral", + "description": "Fetches the list of external contacts from RingCentral", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/users", - "group": "Users" + "path": "/contacts", + "group": "Contacts" } ], - "input": "SyncMetadata_ring_central_users", - "name": "users", - "output": ["User"], + "input": "SyncMetadata_ring_central_contacts", + "name": "contacts", + "output": ["Contact"], "runs": "every day", - "scopes": ["ReadAccounts"], + "scopes": ["ReadContacts"], "sync_type": "full", "track_deletes": false, - "usedModels": ["User", "SyncMetadata_ring_central_users"], + "usedModels": ["Contact", "SyncMetadata_ring_central_contacts"], "version": "1.0.0", "webhookSubscriptions": [] } @@ -78271,55 +80679,8 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Contact": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] - }, - "address_line_2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "state": { - "type": ["string", "null"] - }, - "phone": { - "type": ["string", "null"] - }, - "subsidiary": { - "type": ["string", "null"] - } - }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], - "additionalProperties": false - }, - "SyncMetadata_ring_central_contacts": { + "SyncMetadata_ring_central_users": { "type": "object", "additionalProperties": false }, @@ -78329,66 +80690,24 @@ "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_ring_central_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, - "ActionInput_ring_central_createcontact": { + "SyncMetadata_ring_central_contacts": { "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "phoneNumbers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["work", "mobile", "other"] - }, - "value": { - "type": "string" - } - }, - "required": ["type", "value"], - "additionalProperties": false - } - }, - "company": { - "type": "string" - }, - "jobTitle": { - "type": "string" - }, - "notes": { - "type": "string" - } - }, - "required": ["phoneNumbers"], "additionalProperties": false }, - "ActionOutput_ring_central_createcontact": { + "Contact": { "type": "object", "properties": { "id": { @@ -78636,10 +80955,98 @@ }, "required": ["id", "name", "status", "serviceInfo", "operator"], "additionalProperties": false + }, + "ActionInput_ring_central_createcontact": { + "type": "object", + "properties": { + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["work", "mobile", "other"] + }, + "value": { + "type": "string" + } + }, + "required": ["type", "value"], + "additionalProperties": false + } + }, + "company": { + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["phoneNumbers"], + "additionalProperties": false + }, + "ActionOutput_ring_central_createcontact": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "phoneNumbers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["work", "mobile", "other"] + }, + "value": { + "type": "string" + } + }, + "required": ["type", "value"], + "additionalProperties": false + } + }, + "company": { + "type": "string" + }, + "jobTitle": { + "type": "string" + }, + "notes": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "ring-central" }, { @@ -78676,55 +81083,79 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_sage_intacct_oauth_accounts": { + "type": "object", + "additionalProperties": false + }, "Account": { "type": "object", "properties": { "id": { "type": "string" }, - "code": { + "key": { "type": "string" }, "name": { "type": "string" }, - "type": { + "account_type": { "type": "string" }, - "tax_type": { + "normal_balance": { "type": "string" }, - "description": { - "type": ["string", "null"] - }, - "class": { + "status": { "type": "string" }, - "bank_account_type": { - "type": "string" + "disallow_direct_posting": { + "type": "boolean" }, - "reporting_code": { + "closing_type": { "type": "string" }, - "reporting_code_name": { + "alternative_GLAccount": { "type": "string" }, - "currency_code": { - "type": "string" + "audit": { + "type": "object", + "properties": { + "created_date_time": { + "type": "string" + }, + "modified_date_time": { + "type": "string" + }, + "created_by": { + "type": "string" + }, + "modified_by": { + "type": "string" + } + }, + "required": ["created_date_time", "modified_date_time", "created_by", "modified_by"], + "additionalProperties": false } }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], - "additionalProperties": false - }, - "SyncMetadata_sage_intacct_oauth_accounts": { - "type": "object", + "required": [ + "id", + "key", + "name", + "account_type", + "normal_balance", + "status", + "disallow_direct_posting", + "closing_type", + "alternative_GLAccount", + "audit" + ], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -78732,17 +81163,16 @@ "actions": [ { "type": "action", - "description": "Create a single account in salesforce", + "description": "Fetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to \"Task\"\nData Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result.", "endpoint": { - "method": "POST", - "path": "/accounts", - "group": "Accounts" + "method": "GET", + "path": "/fields" }, - "input": "ActionInput_salesforce_createaccount", - "name": "create-account", - "output": ["ActionOutput_salesforce_createaccount"], + "input": "ActionInput_salesforce_fetchfields", + "name": "fetch-fields", + "output": ["ActionOutput_salesforce_fetchfields"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createaccount", "ActionOutput_salesforce_createaccount"], + "usedModels": ["ActionInput_salesforce_fetchfields", "ActionOutput_salesforce_fetchfields"], "version": "2.0.0" }, { @@ -78762,62 +81192,62 @@ }, { "type": "action", - "description": "Create a single lead in salesforce", + "description": "Update a single contact in salesforce", "endpoint": { - "method": "POST", - "path": "/leads", - "group": "Leads" + "method": "PATCH", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_salesforce_createlead", - "name": "create-lead", - "output": ["ActionOutput_salesforce_createlead"], + "input": "ActionInput_salesforce_updatecontact", + "name": "update-contact", + "output": ["ActionOutput_salesforce_updatecontact"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createlead", "ActionOutput_salesforce_createlead"], + "usedModels": ["ActionInput_salesforce_updatecontact", "ActionOutput_salesforce_updatecontact"], "version": "2.0.0" }, { "type": "action", - "description": "Create a single opportunity in salesforce", + "description": "Delete a single contact in salesforce", "endpoint": { - "method": "POST", - "path": "/opportunities", - "group": "Opportunities" + "method": "DELETE", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_salesforce_createopportunity", - "name": "create-opportunity", - "output": ["ActionOutput_salesforce_createopportunity"], + "input": "ActionInput_salesforce_deletecontact", + "name": "delete-contact", + "output": ["ActionOutput_salesforce_deletecontact"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createopportunity", "ActionOutput_salesforce_createopportunity"], + "usedModels": ["ActionInput_salesforce_deletecontact", "ActionOutput_salesforce_deletecontact"], "version": "2.0.0" }, { "type": "action", - "description": "Delete a single account in salesforce", + "description": "Create a single lead in salesforce", "endpoint": { - "method": "DELETE", - "path": "/accounts", - "group": "Accounts" + "method": "POST", + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_salesforce_deleteaccount", - "name": "delete-account", - "output": ["ActionOutput_salesforce_deleteaccount"], + "input": "ActionInput_salesforce_createlead", + "name": "create-lead", + "output": ["ActionOutput_salesforce_createlead"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deleteaccount", "ActionOutput_salesforce_deleteaccount"], + "usedModels": ["ActionInput_salesforce_createlead", "ActionOutput_salesforce_createlead"], "version": "2.0.0" }, { "type": "action", - "description": "Delete a single contact in salesforce", + "description": "Update a single lead in salesforce", "endpoint": { - "method": "DELETE", - "path": "/contacts", - "group": "Contacts" + "method": "PATCH", + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_salesforce_deletecontact", - "name": "delete-contact", - "output": ["ActionOutput_salesforce_deletecontact"], + "input": "ActionInput_salesforce_updatelead", + "name": "update-lead", + "output": ["ActionOutput_salesforce_updatelead"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deletecontact", "ActionOutput_salesforce_deletecontact"], + "usedModels": ["ActionInput_salesforce_updatelead", "ActionOutput_salesforce_updatelead"], "version": "2.0.0" }, { @@ -78837,31 +81267,17 @@ }, { "type": "action", - "description": "Delete a single opportunity in salesforce", - "endpoint": { - "method": "DELETE", - "path": "/opportunities", - "group": "Opportunities" - }, - "input": "ActionInput_salesforce_deleteopportunity", - "name": "delete-opportunity", - "output": ["ActionOutput_salesforce_deleteopportunity"], - "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deleteopportunity", "ActionOutput_salesforce_deleteopportunity"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Fetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to \"Task\"\nData Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result.", + "description": "Create a single account in salesforce", "endpoint": { - "method": "GET", - "path": "/fields" + "method": "POST", + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_salesforce_fetchfields", - "name": "fetch-fields", - "output": ["ActionOutput_salesforce_fetchfields"], + "input": "ActionInput_salesforce_createaccount", + "name": "create-account", + "output": ["ActionOutput_salesforce_createaccount"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_fetchfields", "ActionOutput_salesforce_fetchfields"], + "usedModels": ["ActionInput_salesforce_createaccount", "ActionOutput_salesforce_createaccount"], "version": "2.0.0" }, { @@ -78881,32 +81297,32 @@ }, { "type": "action", - "description": "Update a single contact in salesforce", + "description": "Delete a single account in salesforce", "endpoint": { - "method": "PATCH", - "path": "/contacts", - "group": "Contacts" + "method": "DELETE", + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_salesforce_updatecontact", - "name": "update-contact", - "output": ["ActionOutput_salesforce_updatecontact"], + "input": "ActionInput_salesforce_deleteaccount", + "name": "delete-account", + "output": ["ActionOutput_salesforce_deleteaccount"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_updatecontact", "ActionOutput_salesforce_updatecontact"], + "usedModels": ["ActionInput_salesforce_deleteaccount", "ActionOutput_salesforce_deleteaccount"], "version": "2.0.0" }, { "type": "action", - "description": "Update a single lead in salesforce", + "description": "Create a single opportunity in salesforce", "endpoint": { - "method": "PATCH", - "path": "/leads", - "group": "Leads" + "method": "POST", + "path": "/opportunities", + "group": "Opportunities" }, - "input": "ActionInput_salesforce_updatelead", - "name": "update-lead", - "output": ["ActionOutput_salesforce_updatelead"], + "input": "ActionInput_salesforce_createopportunity", + "name": "create-opportunity", + "output": ["ActionOutput_salesforce_createopportunity"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_updatelead", "ActionOutput_salesforce_updatelead"], + "usedModels": ["ActionInput_salesforce_createopportunity", "ActionOutput_salesforce_createopportunity"], "version": "2.0.0" }, { @@ -78924,6 +81340,21 @@ "usedModels": ["ActionInput_salesforce_updateopportunity", "ActionOutput_salesforce_updateopportunity"], "version": "2.0.0" }, + { + "type": "action", + "description": "Delete a single opportunity in salesforce", + "endpoint": { + "method": "DELETE", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_salesforce_deleteopportunity", + "name": "delete-opportunity", + "output": ["ActionOutput_salesforce_deleteopportunity"], + "scopes": ["offline_access", "api"], + "usedModels": ["ActionInput_salesforce_deleteopportunity", "ActionOutput_salesforce_deleteopportunity"], + "version": "2.0.0" + }, { "type": "action", "description": "Fetch current user information", @@ -78963,27 +81394,6 @@ "version": "2.0.0", "webhookSubscriptions": [] }, - { - "type": "sync", - "description": "Fetches a list of articles from salesforce", - "auto_start": false, - "endpoints": [ - { - "method": "GET", - "path": "/articles" - } - ], - "input": "SyncMetadata_salesforce_articles", - "name": "articles", - "output": ["Article"], - "runs": "every day", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Article", "SyncMetadata_salesforce_articles"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches a list of contacts from salesforce", @@ -79030,23 +81440,22 @@ }, { "type": "sync", - "description": "Fetches a list of opportunities from salesforce", - "auto_start": true, + "description": "Fetches a list of articles from salesforce", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/opportunities", - "group": "Opportunities" + "path": "/articles" } ], - "input": "SyncMetadata_salesforce_opportunities", - "name": "opportunities", - "output": ["Opportunity"], - "runs": "every hour", - "scopes": ["offline_access", "api"], + "input": "SyncMetadata_salesforce_articles", + "name": "articles", + "output": ["Article"], + "runs": "every day", + "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Opportunity", "SyncMetadata_salesforce_opportunities"], + "usedModels": ["Article", "SyncMetadata_salesforce_articles"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -79057,17 +81466,39 @@ "endpoints": [ { "method": "GET", - "path": "/tickets" + "path": "/tickets" + } + ], + "input": "SyncMetadata_salesforce_tickets", + "name": "tickets", + "output": ["Ticket"], + "runs": "every day", + "scopes": [], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Ticket", "SyncMetadata_salesforce_tickets"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of opportunities from salesforce", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/opportunities", + "group": "Opportunities" } ], - "input": "SyncMetadata_salesforce_tickets", - "name": "tickets", - "output": ["Ticket"], - "runs": "every day", - "scopes": [], + "input": "SyncMetadata_salesforce_opportunities", + "name": "opportunities", + "output": ["Opportunity"], + "runs": "every hour", + "scopes": ["offline_access", "api"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Ticket", "SyncMetadata_salesforce_tickets"], + "usedModels": ["Opportunity", "SyncMetadata_salesforce_opportunities"], "version": "2.0.0", "webhookSubscriptions": [] } @@ -79079,225 +81510,124 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Account": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "tax_type": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "class": { - "type": "string" - }, - "bank_account_type": { - "type": "string" - }, - "reporting_code": { - "type": "string" - }, - "reporting_code_name": { - "type": "string" - }, - "currency_code": { - "type": "string" - } - }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], - "additionalProperties": false - }, "SyncMetadata_salesforce_accounts": { "type": "object", "additionalProperties": false }, - "Article": { + "Account": { "type": "object", "properties": { - "title": { - "type": "string" - }, "id": { "type": "string" }, - "url": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "user_segment_id": { - "type": ["number", "null"] - }, - "permission_group_id": { - "type": "number" - }, - "author_id": { - "type": "number" - }, - "body": { + "name": { "type": "string" }, - "comments_disabled": { - "type": "boolean" + "description": { + "type": ["string", "null"] }, - "content_tag_ids": { - "type": "array", - "items": { - "type": "number" - } + "website": { + "type": ["string", "null"] }, - "created_at": { - "type": "string" + "industry": { + "type": ["string", "null"] }, - "draft": { - "type": "boolean" + "billing_city": { + "type": ["string", "null"] }, - "edited_at": { - "type": "string" + "billing_country": { + "type": ["string", "null"] }, - "html_url": { + "owner_id": { "type": "string" }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "outdated": { - "type": "boolean" - }, - "outdated_locales": { - "type": "array", - "items": { - "type": "string" - } - }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" - }, - "section_id": { - "type": "number" - }, - "source_locale": { + "owner_name": { "type": "string" }, - "updated_at": { + "last_modified_date": { "type": "string" - }, - "vote_count": { - "type": "number" - }, - "vote_sum": { - "type": "number" } }, "required": [ - "title", "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", - "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", - "updated_at", - "vote_count", - "vote_sum" + "name", + "description", + "website", + "industry", + "billing_city", + "billing_country", + "owner_id", + "owner_name", + "last_modified_date" ], "additionalProperties": false }, - "SyncMetadata_salesforce_articles": { + "SyncMetadata_salesforce_contacts": { "type": "object", - "properties": { - "customFields": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["customFields"], "additionalProperties": false }, "Contact": { "type": "object", "properties": { - "name": { - "type": "string" - }, "id": { "type": "string" }, - "external_id": { + "first_name": { "type": ["string", "null"] }, - "email": { - "type": ["string", "null"] + "last_name": { + "type": "string" }, - "tax_number": { + "account_name": { "type": ["string", "null"] }, - "address_line_1": { + "account_id": { "type": ["string", "null"] }, - "address_line_2": { + "email": { "type": ["string", "null"] }, - "city": { - "type": ["string", "null"] + "owner_id": { + "type": "string" }, - "zip": { - "type": ["string", "null"] + "owner_name": { + "type": "string" }, - "country": { + "mobile": { "type": ["string", "null"] }, - "state": { + "phone": { "type": ["string", "null"] }, - "phone": { + "salutation": { "type": ["string", "null"] }, - "subsidiary": { + "title": { "type": ["string", "null"] + }, + "last_modified_date": { + "type": "string" } }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "required": [ + "id", + "first_name", + "last_name", + "account_name", + "account_id", + "email", + "owner_id", + "owner_name", + "mobile", + "phone", + "salutation", + "title", + "last_modified_date" + ], "additionalProperties": false }, - "SyncMetadata_salesforce_contacts": { + "SyncMetadata_salesforce_leads": { "type": "object", "additionalProperties": false }, @@ -79361,432 +81691,224 @@ ], "additionalProperties": false }, - "SyncMetadata_salesforce_leads": { + "SyncMetadata_salesforce_articles": { "type": "object", + "properties": { + "customFields": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["customFields"], "additionalProperties": false }, - "Opportunity": { + "Article": { "type": "object", "properties": { "id": { "type": "string" }, - "opportunity_name": { - "type": "string" - }, - "account_name": { - "type": ["string", "null"] - }, - "account_id": { - "type": ["string", "null"] - }, - "amount": { - "type": ["number", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "close_date": { - "type": "string" - }, - "created_by_id": { - "type": "string" - }, - "created_by": { - "type": "string" - }, - "owner_id": { - "type": "string" - }, - "owner_name": { + "title": { "type": "string" }, - "stage": { + "content": { "type": "string" }, - "probability": { - "type": ["number", "null"] - }, - "type": { - "type": ["string", "null"] - }, "last_modified_date": { "type": "string" } }, - "required": [ - "id", - "opportunity_name", - "account_name", - "account_id", - "amount", - "description", - "close_date", - "created_by_id", - "created_by", - "owner_id", - "owner_name", - "stage", - "probability", - "type", - "last_modified_date" - ], + "required": ["id", "title", "content", "last_modified_date"], "additionalProperties": false }, - "SyncMetadata_salesforce_opportunities": { + "SyncMetadata_salesforce_tickets": { "type": "object", "additionalProperties": false }, "Ticket": { "type": "object", "properties": { - "url": { - "type": ["string", "null"] - }, "id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] - }, - "via": { - "anyOf": [ - { - "type": "object", - "properties": { - "channel": { - "type": "string" - }, - "source": { - "type": "object", - "properties": { - "from": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "to": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "rel": { - "type": ["string", "null"] - } - }, - "required": ["from", "to", "rel"], - "additionalProperties": false - } - }, - "required": ["channel", "source"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "generated_timestamp": { - "type": ["number", "null"] - }, - "type": { - "type": ["string", "null"] + "case_number": { + "type": "string" }, "subject": { "type": ["string", "null"] }, - "raw_subject": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "priority": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "recipient": { + "account_id": { "type": ["string", "null"] }, - "requester_id": { - "type": ["number", "null"] - }, - "submitter_id": { - "type": ["number", "null"] - }, - "assignee_id": { - "type": ["number", "null"] - }, - "organization_id": { - "type": ["number", "null"] - }, - "group_id": { - "type": ["number", "null"] - }, - "collaborator_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "follower_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "email_cc_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "forum_topic_id": { + "account_name": { "type": ["string", "null"] }, - "problem_id": { + "contact_id": { "type": ["string", "null"] }, - "has_incidents": { - "type": ["boolean", "null"] - }, - "is_public": { - "type": ["boolean", "null"] - }, - "due_at": { + "contact_name": { "type": ["string", "null"] }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "custom_fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "satisfaction_rating": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - { - "type": "null" - } - ] - }, - "sharing_agreement_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] + "owner_id": { + "type": "string" }, - "custom_status_id": { - "type": ["number", "null"] + "owner_name": { + "type": ["string", "null"] }, - "fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] + "priority": { + "type": "string" }, - "followup_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] + "status": { + "type": "string" }, - "ticket_form_id": { - "type": ["number", "null"] + "description": { + "type": ["string", "null"] }, - "brand_id": { - "type": ["number", "null"] + "type": { + "type": ["string", "null"] }, - "allow_channelback": { - "type": ["boolean", "null"] + "created_date": { + "type": "string" }, - "allow_attachments": { - "type": ["boolean", "null"] + "closed_date": { + "type": ["string", "null"] }, - "from_messaging_channel": { - "type": ["boolean", "null"] + "origin": { + "type": ["string", "null"] + }, + "is_closed": { + "type": "boolean" + }, + "is_escalated": { + "type": "boolean" + }, + "conversation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "created_date": { + "type": "string" + }, + "created_by": { + "type": "string" + } + }, + "required": ["id", "body", "created_date", "created_by"], + "additionalProperties": false + } + }, + "last_modified_date": { + "type": "string" } }, "required": [ - "url", "id", - "external_id", - "via", - "created_at", - "updated_at", - "generated_timestamp", - "type", + "case_number", "subject", - "raw_subject", - "description", + "account_id", + "account_name", + "contact_id", + "contact_name", + "owner_id", + "owner_name", "priority", "status", - "recipient", - "requester_id", - "submitter_id", - "assignee_id", - "organization_id", - "group_id", - "collaborator_ids", - "follower_ids", - "email_cc_ids", - "forum_topic_id", - "problem_id", - "has_incidents", - "is_public", - "due_at", - "tags", - "custom_fields", - "satisfaction_rating", - "sharing_agreement_ids", - "custom_status_id", - "fields", - "followup_ids", - "ticket_form_id", - "brand_id", - "allow_channelback", - "allow_attachments", - "from_messaging_channel" + "description", + "type", + "created_date", + "closed_date", + "origin", + "is_closed", + "is_escalated", + "conversation", + "last_modified_date" ], "additionalProperties": false }, - "SyncMetadata_salesforce_tickets": { + "SyncMetadata_salesforce_opportunities": { "type": "object", "additionalProperties": false }, - "ActionInput_salesforce_createaccount": { + "Opportunity": { "type": "object", "properties": { - "description": { + "id": { "type": "string" }, - "website": { + "opportunity_name": { "type": "string" }, - "industry": { + "account_name": { + "type": ["string", "null"] + }, + "account_id": { + "type": ["string", "null"] + }, + "amount": { + "type": ["number", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "close_date": { "type": "string" }, - "billing_city": { + "created_by_id": { "type": "string" }, - "billing_country": { + "created_by": { "type": "string" }, "owner_id": { "type": "string" }, + "owner_name": { + "type": "string" + }, + "stage": { + "type": "string" + }, + "probability": { + "type": ["number", "null"] + }, + "type": { + "type": ["string", "null"] + }, + "last_modified_date": { + "type": "string" + } + }, + "required": [ + "id", + "opportunity_name", + "account_name", + "account_id", + "amount", + "description", + "close_date", + "created_by_id", + "created_by", + "owner_id", + "owner_name", + "stage", + "probability", + "type", + "last_modified_date" + ], + "additionalProperties": false + }, + "ActionInput_salesforce_fetchfields": { + "type": "object", + "properties": { "name": { "type": "string" } @@ -79794,21 +81916,80 @@ "required": ["name"], "additionalProperties": false }, - "ActionOutput_salesforce_createaccount": { + "ActionOutput_salesforce_fetchfields": { "type": "object", "properties": { - "id": { - "type": "string" + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "type": { + "type": "string" + }, + "referenceTo": { + "type": "array", + "items": { + "type": "string" + } + }, + "relationshipName": { + "type": ["string", "null"] + } + }, + "required": ["name", "label", "type", "referenceTo", "relationshipName"], + "additionalProperties": false + } }, - "success": { - "type": "boolean" + "childRelationships": { + "type": "array", + "items": { + "type": "object", + "properties": { + "object": { + "type": "string" + }, + "relationshipName": { + "type": ["string", "null"] + }, + "field": { + "type": "string" + } + }, + "required": ["object", "relationshipName", "field"], + "additionalProperties": false + } }, - "errors": { + "validationRules": { "type": "array", - "items": {} + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "errorConditionFormula": { + "type": "string" + }, + "errorMessage": { + "type": "string" + } + }, + "required": ["id", "name", "errorConditionFormula", "errorMessage"], + "additionalProperties": false + } } }, - "required": ["id", "success", "errors"], + "required": ["fields", "childRelationships", "validationRules"], "additionalProperties": false }, "ActionInput_salesforce_createcontact": { @@ -79862,98 +82043,111 @@ "required": ["id", "success", "errors"], "additionalProperties": false }, - "ActionInput_salesforce_createlead": { + "ActionInput_salesforce_updatecontact": { "type": "object", "properties": { "first_name": { "type": "string" }, - "email": { + "account_id": { "type": "string" }, "owner_id": { "type": "string" }, - "phone": { + "email": { "type": "string" }, - "salutation": { + "mobile": { "type": "string" }, - "title": { + "phone": { "type": "string" }, - "website": { + "salutation": { "type": "string" }, - "industry": { + "title": { "type": "string" }, - "last_name": { + "id": { "type": "string" }, - "company_name": { + "last_name": { "type": "string" } }, - "required": ["last_name", "company_name"], + "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_createlead": { + "ActionOutput_salesforce_updatecontact": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_salesforce_deletecontact": { "type": "object", "properties": { "id": { "type": "string" - }, + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_salesforce_deletecontact": { + "type": "object", + "properties": { "success": { "type": "boolean" - }, - "errors": { - "type": "array", - "items": {} } }, - "required": ["id", "success", "errors"], + "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_createopportunity": { + "ActionInput_salesforce_createlead": { "type": "object", "properties": { - "account_id": { + "first_name": { "type": "string" }, - "amount": { - "type": "number" + "email": { + "type": "string" }, - "description": { + "owner_id": { "type": "string" }, - "created_by_id": { + "phone": { "type": "string" }, - "owner_id": { + "salutation": { "type": "string" }, - "probability": { - "type": "number" + "title": { + "type": "string" }, - "type": { + "website": { "type": "string" }, - "opportunity_name": { + "industry": { "type": "string" }, - "close_date": { + "last_name": { "type": "string" }, - "stage": { + "company_name": { "type": "string" } }, - "required": ["opportunity_name", "close_date", "stage"], + "required": ["last_name", "company_name"], "additionalProperties": false }, - "ActionOutput_salesforce_createopportunity": { + "ActionOutput_salesforce_createlead": { "type": "object", "properties": { "id": { @@ -79970,57 +82164,47 @@ "required": ["id", "success", "errors"], "additionalProperties": false }, - "ActionInput_salesforce_deleteaccount": { + "ActionInput_salesforce_updatelead": { "type": "object", "properties": { - "id": { + "first_name": { "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_salesforce_deleteaccount": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_salesforce_deletecontact": { - "type": "object", - "properties": { - "id": { + }, + "email": { "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_salesforce_deletecontact": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_salesforce_deletelead": { - "type": "object", - "properties": { + }, + "owner_id": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "salutation": { + "type": "string" + }, + "title": { + "type": "string" + }, + "website": { + "type": "string" + }, + "industry": { + "type": "string" + }, "id": { "type": "string" + }, + "last_name": { + "type": "string" + }, + "company_name": { + "type": "string" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_deletelead": { + "ActionOutput_salesforce_updatelead": { "type": "object", "properties": { "success": { @@ -80030,7 +82214,7 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_deleteopportunity": { + "ActionInput_salesforce_deletelead": { "type": "object", "properties": { "id": { @@ -80040,103 +82224,17 @@ "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_deleteopportunity": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_salesforce_fetchfields": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_salesforce_fetchfields": { - "type": "object", - "properties": { - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "type": { - "type": "string" - }, - "referenceTo": { - "type": "array", - "items": { - "type": "string" - } - }, - "relationshipName": { - "type": ["string", "null"] - } - }, - "required": ["name", "label", "type", "referenceTo", "relationshipName"], - "additionalProperties": false - } - }, - "childRelationships": { - "type": "array", - "items": { - "type": "object", - "properties": { - "object": { - "type": "string" - }, - "relationshipName": { - "type": ["string", "null"] - }, - "field": { - "type": "string" - } - }, - "required": ["object", "relationshipName", "field"], - "additionalProperties": false - } - }, - "validationRules": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "errorConditionFormula": { - "type": "string" - }, - "errorMessage": { - "type": "string" - } - }, - "required": ["id", "name", "errorConditionFormula", "errorMessage"], - "additionalProperties": false - } + "ActionOutput_salesforce_deletelead": { + "type": "object", + "properties": { + "success": { + "type": "boolean" } }, - "required": ["fields", "childRelationships", "validationRules"], + "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_updateaccount": { + "ActionInput_salesforce_createaccount": { "type": "object", "properties": { "description": { @@ -80157,64 +82255,62 @@ "owner_id": { "type": "string" }, - "id": { - "type": "string" - }, "name": { "type": "string" } }, - "required": ["id"], + "required": ["name"], "additionalProperties": false }, - "ActionOutput_salesforce_updateaccount": { + "ActionOutput_salesforce_createaccount": { "type": "object", "properties": { + "id": { + "type": "string" + }, "success": { "type": "boolean" + }, + "errors": { + "type": "array", + "items": {} } }, - "required": ["success"], + "required": ["id", "success", "errors"], "additionalProperties": false }, - "ActionInput_salesforce_updatecontact": { + "ActionInput_salesforce_updateaccount": { "type": "object", "properties": { - "first_name": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "owner_id": { + "description": { "type": "string" }, - "email": { + "website": { "type": "string" }, - "mobile": { + "industry": { "type": "string" }, - "phone": { + "billing_city": { "type": "string" }, - "salutation": { + "billing_country": { "type": "string" }, - "title": { + "owner_id": { "type": "string" }, "id": { "type": "string" }, - "last_name": { + "name": { "type": "string" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_updatecontact": { + "ActionOutput_salesforce_updateaccount": { "type": "object", "properties": { "success": { @@ -80224,54 +82320,78 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_updatelead": { + "ActionInput_salesforce_deleteaccount": { "type": "object", "properties": { - "first_name": { + "id": { "type": "string" - }, - "email": { + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_salesforce_deleteaccount": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_salesforce_createopportunity": { + "type": "object", + "properties": { + "account_id": { "type": "string" }, - "owner_id": { - "type": "string" + "amount": { + "type": "number" }, - "phone": { + "description": { "type": "string" }, - "salutation": { + "created_by_id": { "type": "string" }, - "title": { + "owner_id": { "type": "string" }, - "website": { - "type": "string" + "probability": { + "type": "number" }, - "industry": { + "type": { "type": "string" }, - "id": { + "opportunity_name": { "type": "string" }, - "last_name": { + "close_date": { "type": "string" }, - "company_name": { + "stage": { "type": "string" } }, - "required": ["id"], + "required": ["opportunity_name", "close_date", "stage"], "additionalProperties": false }, - "ActionOutput_salesforce_updatelead": { + "ActionOutput_salesforce_createopportunity": { "type": "object", "properties": { + "id": { + "type": "string" + }, "success": { "type": "boolean" + }, + "errors": { + "type": "array", + "items": {} } }, - "required": ["success"], + "required": ["id", "success", "errors"], "additionalProperties": false }, "ActionInput_salesforce_updateopportunity": { @@ -80324,6 +82444,26 @@ "required": ["success"], "additionalProperties": false }, + "ActionInput_salesforce_deleteopportunity": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_salesforce_deleteopportunity": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, "ActionInput_salesforce_whoami": { "type": "null" }, @@ -80340,9 +82480,10 @@ "required": ["id", "email"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -80350,17 +82491,16 @@ "actions": [ { "type": "action", - "description": "Create a single account in salesforce", + "description": "Fetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to \"Task\"\nData Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result.", "endpoint": { - "method": "POST", - "path": "/accounts", - "group": "Accounts" + "method": "GET", + "path": "/fields" }, - "input": "ActionInput_salesforce_createaccount", - "name": "create-account", - "output": ["ActionOutput_salesforce_createaccount"], + "input": "ActionInput_salesforce_fetchfields", + "name": "fetch-fields", + "output": ["ActionOutput_salesforce_fetchfields"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createaccount", "ActionOutput_salesforce_createaccount"], + "usedModels": ["ActionInput_salesforce_fetchfields", "ActionOutput_salesforce_fetchfields"], "version": "2.0.0" }, { @@ -80380,62 +82520,62 @@ }, { "type": "action", - "description": "Create a single lead in salesforce", + "description": "Update a single contact in salesforce", "endpoint": { - "method": "POST", - "path": "/leads", - "group": "Leads" + "method": "PATCH", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_salesforce_createlead", - "name": "create-lead", - "output": ["ActionOutput_salesforce_createlead"], + "input": "ActionInput_salesforce_updatecontact", + "name": "update-contact", + "output": ["ActionOutput_salesforce_updatecontact"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createlead", "ActionOutput_salesforce_createlead"], + "usedModels": ["ActionInput_salesforce_updatecontact", "ActionOutput_salesforce_updatecontact"], "version": "2.0.0" }, { "type": "action", - "description": "Create a single opportunity in salesforce", + "description": "Delete a single contact in salesforce", "endpoint": { - "method": "POST", - "path": "/opportunities", - "group": "Opportunities" + "method": "DELETE", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_salesforce_createopportunity", - "name": "create-opportunity", - "output": ["ActionOutput_salesforce_createopportunity"], + "input": "ActionInput_salesforce_deletecontact", + "name": "delete-contact", + "output": ["ActionOutput_salesforce_deletecontact"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_createopportunity", "ActionOutput_salesforce_createopportunity"], + "usedModels": ["ActionInput_salesforce_deletecontact", "ActionOutput_salesforce_deletecontact"], "version": "2.0.0" }, { "type": "action", - "description": "Delete a single account in salesforce", + "description": "Create a single lead in salesforce", "endpoint": { - "method": "DELETE", - "path": "/accounts", - "group": "Accounts" + "method": "POST", + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_salesforce_deleteaccount", - "name": "delete-account", - "output": ["ActionOutput_salesforce_deleteaccount"], + "input": "ActionInput_salesforce_createlead", + "name": "create-lead", + "output": ["ActionOutput_salesforce_createlead"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deleteaccount", "ActionOutput_salesforce_deleteaccount"], + "usedModels": ["ActionInput_salesforce_createlead", "ActionOutput_salesforce_createlead"], "version": "2.0.0" }, { "type": "action", - "description": "Delete a single contact in salesforce", + "description": "Update a single lead in salesforce", "endpoint": { - "method": "DELETE", - "path": "/contacts", - "group": "Contacts" + "method": "PATCH", + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_salesforce_deletecontact", - "name": "delete-contact", - "output": ["ActionOutput_salesforce_deletecontact"], + "input": "ActionInput_salesforce_updatelead", + "name": "update-lead", + "output": ["ActionOutput_salesforce_updatelead"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deletecontact", "ActionOutput_salesforce_deletecontact"], + "usedModels": ["ActionInput_salesforce_updatelead", "ActionOutput_salesforce_updatelead"], "version": "2.0.0" }, { @@ -80455,31 +82595,17 @@ }, { "type": "action", - "description": "Delete a single opportunity in salesforce", - "endpoint": { - "method": "DELETE", - "path": "/opportunities", - "group": "Opportunities" - }, - "input": "ActionInput_salesforce_deleteopportunity", - "name": "delete-opportunity", - "output": ["ActionOutput_salesforce_deleteopportunity"], - "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_deleteopportunity", "ActionOutput_salesforce_deleteopportunity"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Fetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to \"Task\"\nData Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result.", + "description": "Create a single account in salesforce", "endpoint": { - "method": "GET", - "path": "/fields" + "method": "POST", + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_salesforce_fetchfields", - "name": "fetch-fields", - "output": ["ActionOutput_salesforce_fetchfields"], + "input": "ActionInput_salesforce_createaccount", + "name": "create-account", + "output": ["ActionOutput_salesforce_createaccount"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_fetchfields", "ActionOutput_salesforce_fetchfields"], + "usedModels": ["ActionInput_salesforce_createaccount", "ActionOutput_salesforce_createaccount"], "version": "2.0.0" }, { @@ -80499,32 +82625,32 @@ }, { "type": "action", - "description": "Update a single contact in salesforce", + "description": "Delete a single account in salesforce", "endpoint": { - "method": "PATCH", - "path": "/contacts", - "group": "Contacts" + "method": "DELETE", + "path": "/accounts", + "group": "Accounts" }, - "input": "ActionInput_salesforce_updatecontact", - "name": "update-contact", - "output": ["ActionOutput_salesforce_updatecontact"], + "input": "ActionInput_salesforce_deleteaccount", + "name": "delete-account", + "output": ["ActionOutput_salesforce_deleteaccount"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_updatecontact", "ActionOutput_salesforce_updatecontact"], + "usedModels": ["ActionInput_salesforce_deleteaccount", "ActionOutput_salesforce_deleteaccount"], "version": "2.0.0" }, { "type": "action", - "description": "Update a single lead in salesforce", + "description": "Create a single opportunity in salesforce", "endpoint": { - "method": "PATCH", - "path": "/leads", - "group": "Leads" + "method": "POST", + "path": "/opportunities", + "group": "Opportunities" }, - "input": "ActionInput_salesforce_updatelead", - "name": "update-lead", - "output": ["ActionOutput_salesforce_updatelead"], + "input": "ActionInput_salesforce_createopportunity", + "name": "create-opportunity", + "output": ["ActionOutput_salesforce_createopportunity"], "scopes": ["offline_access", "api"], - "usedModels": ["ActionInput_salesforce_updatelead", "ActionOutput_salesforce_updatelead"], + "usedModels": ["ActionInput_salesforce_createopportunity", "ActionOutput_salesforce_createopportunity"], "version": "2.0.0" }, { @@ -80542,6 +82668,21 @@ "usedModels": ["ActionInput_salesforce_updateopportunity", "ActionOutput_salesforce_updateopportunity"], "version": "2.0.0" }, + { + "type": "action", + "description": "Delete a single opportunity in salesforce", + "endpoint": { + "method": "DELETE", + "path": "/opportunities", + "group": "Opportunities" + }, + "input": "ActionInput_salesforce_deleteopportunity", + "name": "delete-opportunity", + "output": ["ActionOutput_salesforce_deleteopportunity"], + "scopes": ["offline_access", "api"], + "usedModels": ["ActionInput_salesforce_deleteopportunity", "ActionOutput_salesforce_deleteopportunity"], + "version": "2.0.0" + }, { "type": "action", "description": "Fetch current user information", @@ -80581,27 +82722,6 @@ "version": "2.0.0", "webhookSubscriptions": [] }, - { - "type": "sync", - "description": "Fetches a list of articles from salesforce", - "auto_start": false, - "endpoints": [ - { - "method": "GET", - "path": "/articles" - } - ], - "input": "SyncMetadata_salesforce_articles", - "name": "articles", - "output": ["Article"], - "runs": "every day", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Article", "SyncMetadata_salesforce_articles"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches a list of contacts from salesforce", @@ -80648,23 +82768,22 @@ }, { "type": "sync", - "description": "Fetches a list of opportunities from salesforce", - "auto_start": true, + "description": "Fetches a list of articles from salesforce", + "auto_start": false, "endpoints": [ { "method": "GET", - "path": "/opportunities", - "group": "Opportunities" + "path": "/articles" } ], - "input": "SyncMetadata_salesforce_opportunities", - "name": "opportunities", - "output": ["Opportunity"], - "runs": "every hour", - "scopes": ["offline_access", "api"], + "input": "SyncMetadata_salesforce_articles", + "name": "articles", + "output": ["Article"], + "runs": "every day", + "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Opportunity", "SyncMetadata_salesforce_opportunities"], + "usedModels": ["Article", "SyncMetadata_salesforce_articles"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -80688,6 +82807,28 @@ "usedModels": ["Ticket", "SyncMetadata_salesforce_tickets"], "version": "2.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of opportunities from salesforce", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/opportunities", + "group": "Opportunities" + } + ], + "input": "SyncMetadata_salesforce_opportunities", + "name": "opportunities", + "output": ["Opportunity"], + "runs": "every hour", + "scopes": ["offline_access", "api"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Opportunity", "SyncMetadata_salesforce_opportunities"], + "version": "2.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -80697,225 +82838,124 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "Account": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "code": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "tax_type": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "class": { - "type": "string" - }, - "bank_account_type": { - "type": "string" - }, - "reporting_code": { - "type": "string" - }, - "reporting_code_name": { - "type": "string" - }, - "currency_code": { - "type": "string" - } - }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], - "additionalProperties": false - }, "SyncMetadata_salesforce_accounts": { "type": "object", "additionalProperties": false }, - "Article": { + "Account": { "type": "object", "properties": { - "title": { - "type": "string" - }, "id": { "type": "string" }, - "url": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "user_segment_id": { - "type": ["number", "null"] - }, - "permission_group_id": { - "type": "number" - }, - "author_id": { - "type": "number" - }, - "body": { + "name": { "type": "string" }, - "comments_disabled": { - "type": "boolean" + "description": { + "type": ["string", "null"] }, - "content_tag_ids": { - "type": "array", - "items": { - "type": "number" - } + "website": { + "type": ["string", "null"] }, - "created_at": { - "type": "string" + "industry": { + "type": ["string", "null"] }, - "draft": { - "type": "boolean" + "billing_city": { + "type": ["string", "null"] }, - "edited_at": { - "type": "string" + "billing_country": { + "type": ["string", "null"] }, - "html_url": { + "owner_id": { "type": "string" }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "outdated": { - "type": "boolean" - }, - "outdated_locales": { - "type": "array", - "items": { - "type": "string" - } - }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" - }, - "section_id": { - "type": "number" - }, - "source_locale": { + "owner_name": { "type": "string" }, - "updated_at": { + "last_modified_date": { "type": "string" - }, - "vote_count": { - "type": "number" - }, - "vote_sum": { - "type": "number" } }, "required": [ - "title", "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", - "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", - "updated_at", - "vote_count", - "vote_sum" - ], - "additionalProperties": false - }, - "SyncMetadata_salesforce_articles": { - "type": "object", - "properties": { - "customFields": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": ["customFields"], + "name", + "description", + "website", + "industry", + "billing_city", + "billing_country", + "owner_id", + "owner_name", + "last_modified_date" + ], + "additionalProperties": false + }, + "SyncMetadata_salesforce_contacts": { + "type": "object", "additionalProperties": false }, "Contact": { "type": "object", "properties": { - "name": { - "type": "string" - }, "id": { "type": "string" }, - "external_id": { + "first_name": { "type": ["string", "null"] }, - "email": { - "type": ["string", "null"] + "last_name": { + "type": "string" }, - "tax_number": { + "account_name": { "type": ["string", "null"] }, - "address_line_1": { + "account_id": { "type": ["string", "null"] }, - "address_line_2": { + "email": { "type": ["string", "null"] }, - "city": { - "type": ["string", "null"] + "owner_id": { + "type": "string" }, - "zip": { - "type": ["string", "null"] + "owner_name": { + "type": "string" }, - "country": { + "mobile": { "type": ["string", "null"] }, - "state": { + "phone": { "type": ["string", "null"] }, - "phone": { + "salutation": { "type": ["string", "null"] }, - "subsidiary": { + "title": { "type": ["string", "null"] + }, + "last_modified_date": { + "type": "string" } }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "required": [ + "id", + "first_name", + "last_name", + "account_name", + "account_id", + "email", + "owner_id", + "owner_name", + "mobile", + "phone", + "salutation", + "title", + "last_modified_date" + ], "additionalProperties": false }, - "SyncMetadata_salesforce_contacts": { + "SyncMetadata_salesforce_leads": { "type": "object", "additionalProperties": false }, @@ -80979,7 +83019,150 @@ ], "additionalProperties": false }, - "SyncMetadata_salesforce_leads": { + "SyncMetadata_salesforce_articles": { + "type": "object", + "properties": { + "customFields": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["customFields"], + "additionalProperties": false + }, + "Article": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "content": { + "type": "string" + }, + "last_modified_date": { + "type": "string" + } + }, + "required": ["id", "title", "content", "last_modified_date"], + "additionalProperties": false + }, + "SyncMetadata_salesforce_tickets": { + "type": "object", + "additionalProperties": false + }, + "Ticket": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "case_number": { + "type": "string" + }, + "subject": { + "type": ["string", "null"] + }, + "account_id": { + "type": ["string", "null"] + }, + "account_name": { + "type": ["string", "null"] + }, + "contact_id": { + "type": ["string", "null"] + }, + "contact_name": { + "type": ["string", "null"] + }, + "owner_id": { + "type": "string" + }, + "owner_name": { + "type": ["string", "null"] + }, + "priority": { + "type": "string" + }, + "status": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "type": { + "type": ["string", "null"] + }, + "created_date": { + "type": "string" + }, + "closed_date": { + "type": ["string", "null"] + }, + "origin": { + "type": ["string", "null"] + }, + "is_closed": { + "type": "boolean" + }, + "is_escalated": { + "type": "boolean" + }, + "conversation": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "body": { + "type": "string" + }, + "created_date": { + "type": "string" + }, + "created_by": { + "type": "string" + } + }, + "required": ["id", "body", "created_date", "created_by"], + "additionalProperties": false + } + }, + "last_modified_date": { + "type": "string" + } + }, + "required": [ + "id", + "case_number", + "subject", + "account_id", + "account_name", + "contact_id", + "contact_name", + "owner_id", + "owner_name", + "priority", + "status", + "description", + "type", + "created_date", + "closed_date", + "origin", + "is_closed", + "is_escalated", + "conversation", + "last_modified_date" + ], + "additionalProperties": false + }, + "SyncMetadata_salesforce_opportunities": { "type": "object", "additionalProperties": false }, @@ -81051,368 +83234,127 @@ ], "additionalProperties": false }, - "SyncMetadata_salesforce_opportunities": { + "ActionInput_salesforce_fetchfields": { "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], "additionalProperties": false }, - "Ticket": { + "ActionOutput_salesforce_fetchfields": { "type": "object", "properties": { - "url": { - "type": ["string", "null"] - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "via": { - "anyOf": [ - { - "type": "object", - "properties": { - "channel": { + "fields": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "label": { + "type": "string" + }, + "type": { + "type": "string" + }, + "referenceTo": { + "type": "array", + "items": { "type": "string" - }, - "source": { - "type": "object", - "properties": { - "from": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "to": { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - "rel": { - "type": ["string", "null"] - } - }, - "required": ["from", "to", "rel"], - "additionalProperties": false } }, - "required": ["channel", "source"], - "additionalProperties": false - }, - { - "type": "null" - } - ] - }, - "created_at": { - "type": ["string", "null"] - }, - "updated_at": { - "type": ["string", "null"] - }, - "generated_timestamp": { - "type": ["number", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "subject": { - "type": ["string", "null"] - }, - "raw_subject": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "priority": { - "type": ["string", "null"] - }, - "status": { - "type": ["string", "null"] - }, - "recipient": { - "type": ["string", "null"] - }, - "requester_id": { - "type": ["number", "null"] - }, - "submitter_id": { - "type": ["number", "null"] - }, - "assignee_id": { - "type": ["number", "null"] - }, - "organization_id": { - "type": ["number", "null"] - }, - "group_id": { - "type": ["number", "null"] - }, - "collaborator_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "follower_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "email_cc_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" + "relationshipName": { + "type": ["string", "null"] } }, - { - "type": "null" - } - ] - }, - "forum_topic_id": { - "type": ["string", "null"] - }, - "problem_id": { - "type": ["string", "null"] - }, - "has_incidents": { - "type": ["boolean", "null"] - }, - "is_public": { - "type": ["boolean", "null"] - }, - "due_at": { - "type": ["string", "null"] + "required": ["name", "label", "type", "referenceTo", "relationshipName"], + "additionalProperties": false + } }, - "tags": { - "anyOf": [ - { - "type": "array", - "items": { + "childRelationships": { + "type": "array", + "items": { + "type": "object", + "properties": { + "object": { + "type": "string" + }, + "relationshipName": { + "type": ["string", "null"] + }, + "field": { "type": "string" } }, - { - "type": "null" - } - ] - }, - "custom_fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "satisfaction_rating": { - "anyOf": [ - { - "type": "object", - "additionalProperties": { - "anyOf": [ - {}, - { - "not": {} - } - ] - } - }, - { - "type": "null" - } - ] - }, - "sharing_agreement_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "custom_status_id": { - "type": ["number", "null"] - }, - "fields": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "value": { - "type": ["string", "null"] - } - }, - "required": ["id", "value"], - "additionalProperties": false - } - }, - { - "type": "null" - } - ] - }, - "followup_ids": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "number" - } - }, - { - "type": "null" - } - ] - }, - "ticket_form_id": { - "type": ["number", "null"] - }, - "brand_id": { - "type": ["number", "null"] - }, - "allow_channelback": { - "type": ["boolean", "null"] - }, - "allow_attachments": { - "type": ["boolean", "null"] + "required": ["object", "relationshipName", "field"], + "additionalProperties": false + } }, - "from_messaging_channel": { - "type": ["boolean", "null"] + "validationRules": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "errorConditionFormula": { + "type": "string" + }, + "errorMessage": { + "type": "string" + } + }, + "required": ["id", "name", "errorConditionFormula", "errorMessage"], + "additionalProperties": false + } } }, - "required": [ - "url", - "id", - "external_id", - "via", - "created_at", - "updated_at", - "generated_timestamp", - "type", - "subject", - "raw_subject", - "description", - "priority", - "status", - "recipient", - "requester_id", - "submitter_id", - "assignee_id", - "organization_id", - "group_id", - "collaborator_ids", - "follower_ids", - "email_cc_ids", - "forum_topic_id", - "problem_id", - "has_incidents", - "is_public", - "due_at", - "tags", - "custom_fields", - "satisfaction_rating", - "sharing_agreement_ids", - "custom_status_id", - "fields", - "followup_ids", - "ticket_form_id", - "brand_id", - "allow_channelback", - "allow_attachments", - "from_messaging_channel" - ], - "additionalProperties": false - }, - "SyncMetadata_salesforce_tickets": { - "type": "object", + "required": ["fields", "childRelationships", "validationRules"], "additionalProperties": false }, - "ActionInput_salesforce_createaccount": { + "ActionInput_salesforce_createcontact": { "type": "object", "properties": { - "description": { + "first_name": { "type": "string" }, - "website": { + "account_id": { "type": "string" }, - "industry": { + "owner_id": { "type": "string" }, - "billing_city": { + "email": { "type": "string" }, - "billing_country": { + "mobile": { "type": "string" }, - "owner_id": { + "phone": { "type": "string" }, - "name": { + "salutation": { + "type": "string" + }, + "title": { + "type": "string" + }, + "last_name": { "type": "string" } }, - "required": ["name"], + "required": ["last_name"], "additionalProperties": false }, - "ActionOutput_salesforce_createaccount": { + "ActionOutput_salesforce_createcontact": { "type": "object", "properties": { "id": { @@ -81429,7 +83371,7 @@ "required": ["id", "success", "errors"], "additionalProperties": false }, - "ActionInput_salesforce_createcontact": { + "ActionInput_salesforce_updatecontact": { "type": "object", "properties": { "first_name": { @@ -81456,28 +83398,44 @@ "title": { "type": "string" }, + "id": { + "type": "string" + }, "last_name": { "type": "string" } }, - "required": ["last_name"], + "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_createcontact": { + "ActionOutput_salesforce_updatecontact": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, + "ActionInput_salesforce_deletecontact": { "type": "object", "properties": { "id": { "type": "string" - }, + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_salesforce_deletecontact": { + "type": "object", + "properties": { "success": { "type": "boolean" - }, - "errors": { - "type": "array", - "items": {} } }, - "required": ["id", "success", "errors"], + "required": ["success"], "additionalProperties": false }, "ActionInput_salesforce_createlead": { @@ -81534,91 +83492,47 @@ "required": ["id", "success", "errors"], "additionalProperties": false }, - "ActionInput_salesforce_createopportunity": { + "ActionInput_salesforce_updatelead": { "type": "object", "properties": { - "account_id": { - "type": "string" - }, - "amount": { - "type": "number" - }, - "description": { + "first_name": { "type": "string" }, - "created_by_id": { + "email": { "type": "string" }, "owner_id": { "type": "string" }, - "probability": { - "type": "number" + "phone": { + "type": "string" }, - "type": { + "salutation": { "type": "string" }, - "opportunity_name": { + "title": { "type": "string" }, - "close_date": { + "website": { "type": "string" }, - "stage": { + "industry": { "type": "string" - } - }, - "required": ["opportunity_name", "close_date", "stage"], - "additionalProperties": false - }, - "ActionOutput_salesforce_createopportunity": { - "type": "object", - "properties": { + }, "id": { "type": "string" }, - "success": { - "type": "boolean" - }, - "errors": { - "type": "array", - "items": {} - } - }, - "required": ["id", "success", "errors"], - "additionalProperties": false - }, - "ActionInput_salesforce_deleteaccount": { - "type": "object", - "properties": { - "id": { + "last_name": { "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_salesforce_deleteaccount": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_salesforce_deletecontact": { - "type": "object", - "properties": { - "id": { + }, + "company_name": { "type": "string" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_deletecontact": { + "ActionOutput_salesforce_updatelead": { "type": "object", "properties": { "success": { @@ -81648,29 +83562,27 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_deleteopportunity": { + "ActionInput_salesforce_createaccount": { "type": "object", "properties": { - "id": { + "description": { "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_salesforce_deleteopportunity": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_salesforce_fetchfields": { - "type": "object", - "properties": { + }, + "website": { + "type": "string" + }, + "industry": { + "type": "string" + }, + "billing_city": { + "type": "string" + }, + "billing_country": { + "type": "string" + }, + "owner_id": { + "type": "string" + }, "name": { "type": "string" } @@ -81678,80 +83590,21 @@ "required": ["name"], "additionalProperties": false }, - "ActionOutput_salesforce_fetchfields": { + "ActionOutput_salesforce_createaccount": { "type": "object", "properties": { - "fields": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "label": { - "type": "string" - }, - "type": { - "type": "string" - }, - "referenceTo": { - "type": "array", - "items": { - "type": "string" - } - }, - "relationshipName": { - "type": ["string", "null"] - } - }, - "required": ["name", "label", "type", "referenceTo", "relationshipName"], - "additionalProperties": false - } + "id": { + "type": "string" }, - "childRelationships": { - "type": "array", - "items": { - "type": "object", - "properties": { - "object": { - "type": "string" - }, - "relationshipName": { - "type": ["string", "null"] - }, - "field": { - "type": "string" - } - }, - "required": ["object", "relationshipName", "field"], - "additionalProperties": false - } + "success": { + "type": "boolean" }, - "validationRules": { + "errors": { "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "errorConditionFormula": { - "type": "string" - }, - "errorMessage": { - "type": "string" - } - }, - "required": ["id", "name", "errorConditionFormula", "errorMessage"], - "additionalProperties": false - } + "items": {} } }, - "required": ["fields", "childRelationships", "validationRules"], + "required": ["id", "success", "errors"], "additionalProperties": false }, "ActionInput_salesforce_updateaccount": { @@ -81795,44 +83648,17 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_updatecontact": { + "ActionInput_salesforce_deleteaccount": { "type": "object", "properties": { - "first_name": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "owner_id": { - "type": "string" - }, - "email": { - "type": "string" - }, - "mobile": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "salutation": { - "type": "string" - }, - "title": { - "type": "string" - }, "id": { "type": "string" - }, - "last_name": { - "type": "string" } }, "required": ["id"], "additionalProperties": false }, - "ActionOutput_salesforce_updatecontact": { + "ActionOutput_salesforce_deleteaccount": { "type": "object", "properties": { "success": { @@ -81842,54 +83668,58 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_salesforce_updatelead": { + "ActionInput_salesforce_createopportunity": { "type": "object", "properties": { - "first_name": { - "type": "string" - }, - "email": { + "account_id": { "type": "string" }, - "owner_id": { - "type": "string" + "amount": { + "type": "number" }, - "phone": { + "description": { "type": "string" }, - "salutation": { + "created_by_id": { "type": "string" }, - "title": { + "owner_id": { "type": "string" }, - "website": { - "type": "string" + "probability": { + "type": "number" }, - "industry": { + "type": { "type": "string" }, - "id": { + "opportunity_name": { "type": "string" }, - "last_name": { + "close_date": { "type": "string" }, - "company_name": { + "stage": { "type": "string" } }, - "required": ["id"], + "required": ["opportunity_name", "close_date", "stage"], "additionalProperties": false }, - "ActionOutput_salesforce_updatelead": { + "ActionOutput_salesforce_createopportunity": { "type": "object", "properties": { + "id": { + "type": "string" + }, "success": { "type": "boolean" + }, + "errors": { + "type": "array", + "items": {} } }, - "required": ["success"], + "required": ["id", "success", "errors"], "additionalProperties": false }, "ActionInput_salesforce_updateopportunity": { @@ -81942,6 +83772,26 @@ "required": ["success"], "additionalProperties": false }, + "ActionInput_salesforce_deleteopportunity": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_salesforce_deleteopportunity": { + "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], + "additionalProperties": false + }, "ActionInput_salesforce_whoami": { "type": "null" }, @@ -81958,9 +83808,10 @@ "required": ["id", "email"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "salesforce" }, { @@ -81991,45 +83842,45 @@ }, { "type": "sync", - "description": "Fetches a list of organizational groups from sap success factors", + "description": "Fetches a list of locations from sap success factors", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/groups", - "group": "Groups" + "path": "/locations", + "group": "Locations" } ], - "input": "SyncMetadata_sap_success_factors_groups", - "name": "groups", - "output": ["Group"], + "input": "SyncMetadata_sap_success_factors_locations", + "name": "locations", + "output": ["Location"], "runs": "every 6 hours", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Group", "SyncMetadata_sap_success_factors_groups"], + "usedModels": ["Location", "SyncMetadata_sap_success_factors_locations"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetches a list of locations from sap success factors", + "description": "Fetches a list of organizational groups from sap success factors", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/locations", - "group": "Locations" + "path": "/groups", + "group": "Groups" } ], - "input": "SyncMetadata_sap_success_factors_locations", - "name": "locations", - "output": ["Location"], + "input": "SyncMetadata_sap_success_factors_groups", + "name": "groups", + "output": ["Group"], "runs": "every 6 hours", "scopes": [], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Location", "SyncMetadata_sap_success_factors_locations"], + "usedModels": ["Group", "SyncMetadata_sap_success_factors_groups"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -82063,82 +83914,148 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_sap_success_factors_employees": { + "type": "object", + "additionalProperties": false + }, "Employee": { "type": "object", "properties": { "id": { "type": "string" }, - "user_name": { - "type": ["string", "null"] - }, - "first_name": { + "personIdExternal": { "type": "string" }, - "last_name": { + "firstName": { "type": "string" }, - "active": { - "type": "boolean" - }, - "email": { + "lastName": { "type": "string" }, - "role": { + "preferredName": { "type": "string" }, - "department": { + "gender": { "type": "string" }, - "site": { + "nationality": { "type": "string" }, - "country": { + "maritalStatus": { "type": ["string", "null"] }, - "external_id": { - "type": "string" + "dateOfBirth": { + "type": ["string", "null"] }, - "employment_relationship": { + "countryOfBirth": { + "type": ["string", "null"] + }, + "createdDateTime": { "type": "string" }, - "phone_number": { - "type": ["string", "null"] + "lastModifiedDateTime": { + "type": "string" } }, - "required": ["id", "user_name", "email", "role", "department", "site", "phone_number"], + "required": [ + "id", + "personIdExternal", + "firstName", + "lastName", + "preferredName", + "gender", + "nationality", + "maritalStatus", + "dateOfBirth", + "countryOfBirth", + "createdDateTime", + "lastModifiedDateTime" + ], "additionalProperties": false }, - "SyncMetadata_sap_success_factors_employees": { + "SyncMetadata_sap_success_factors_locations": { "type": "object", "additionalProperties": false }, - "Group": { + "Location": { "type": "object", "properties": { "id": { "type": "string" }, - "active": { - "type": "boolean" + "externalCode": { + "type": "string" }, - "created_at": { + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "status": { + "type": "string" + }, + "startDate": { + "type": "string" + }, + "endDate": { + "type": "string" + }, + "timezone": { + "type": "string" + }, + "createdDateTime": { + "type": "string" + }, + "lastModifiedDateTime": { + "type": "string" + }, + "country": { + "type": "string" + }, + "state": { + "type": ["string", "null"] + }, + "city": { + "type": ["string", "null"] + }, + "zipCode": { + "type": ["string", "null"] + }, + "addressLine1": { "type": ["string", "null"] }, - "name": { - "type": "string" + "addressLine2": { + "type": ["string", "null"] } }, - "required": ["id", "active", "created_at", "name"], + "required": [ + "id", + "externalCode", + "name", + "description", + "status", + "startDate", + "endDate", + "timezone", + "createdDateTime", + "lastModifiedDateTime", + "country", + "state", + "city", + "zipCode", + "addressLine1", + "addressLine2" + ], "additionalProperties": false }, "SyncMetadata_sap_success_factors_groups": { "type": "object", "additionalProperties": false }, - "Location": { + "Group": { "type": "object", "properties": { "id": { @@ -82147,62 +84064,66 @@ "name": { "type": "string" }, + "name_localized": { + "type": "string" + }, + "name_en_US": { + "type": "string" + }, + "name_defaultValue": { + "type": "string" + }, "description": { "type": ["string", "null"] }, - "city": { + "startDate": { + "type": "string" + }, + "endDate": { + "type": "string" + }, + "parent": { "type": ["string", "null"] }, - "state": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "abbrev": { - "type": "string" - }, - "iso_code": { - "type": "string" - } - }, - "required": ["name", "abbrev", "iso_code"], - "additionalProperties": false - }, - { - "type": "null" - } - ] + "costCenter": { + "type": ["string", "null"] }, - "country": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "iso_code": { - "type": "string" - } - }, - "required": ["name", "iso_code"], - "additionalProperties": false + "headOfUnit": { + "type": ["string", "null"] }, - "zip_code": { + "status": { "type": "string" }, - "address": { + "createdDateTime": { "type": "string" }, - "phone_number": { - "type": ["string", "null"] + "lastModifiedDateTime": { + "type": "string" + }, + "entityUUID": { + "type": "string" } }, - "required": ["id", "name", "description", "city", "state", "country", "zip_code", "address", "phone_number"], + "required": [ + "id", + "name", + "name_localized", + "name_en_US", + "name_defaultValue", + "description", + "startDate", + "endDate", + "parent", + "costCenter", + "headOfUnit", + "status", + "createdDateTime", + "lastModifiedDateTime", + "entityUUID" + ], "additionalProperties": false }, - "SyncMetadata_sap_success_factors_locations": { + "SyncMetadata_sap_success_factors_unifiedemployees": { "type": "object", "additionalProperties": false }, @@ -82257,6 +84178,9 @@ "terminationDate": { "type": "string" }, + "terminationType": { + "type": "string" + }, "manager": { "type": "object", "properties": { @@ -82273,6 +84197,7 @@ "type": "string" } }, + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, "workLocation": { @@ -82305,14 +84230,14 @@ }, "type": { "type": "string", - "enum": ["WORK", "HOME"] + "enum": ["HOME", "WORK"] } }, - "required": ["type"], + "required": ["street", "city", "state", "country", "postalCode", "type"], "additionalProperties": false } }, - "required": ["name", "type"], + "required": ["name", "type", "primaryAddress"], "additionalProperties": false }, "addresses": { @@ -82337,10 +84262,10 @@ }, "type": { "type": "string", - "enum": ["WORK", "HOME"] + "enum": ["HOME", "WORK"] } }, - "required": ["type"], + "required": ["street", "city", "state", "country", "postalCode", "type"], "additionalProperties": false } }, @@ -82395,10 +84320,13 @@ "lastName", "email", "displayName", + "employeeNumber", + "title", "department", "employmentType", "employmentStatus", "startDate", + "manager", "workLocation", "addresses", "phones", @@ -82408,33 +84336,16 @@ "updatedAt" ], "additionalProperties": false - }, - "SyncMetadata_sap_success_factors_unifiedemployees": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "sharepoint-online", "actions": [ - { - "type": "action", - "description": "This action will be used to fetch the latest file download_url which can be used to download the actual file.", - "endpoint": { - "method": "GET", - "path": "/fetch-file" - }, - "input": "ActionInput_sharepoint_online_fetchfile", - "name": "fetch-file", - "output": ["ActionOutput_sharepoint_online_fetchfile"], - "scopes": ["MyFiles.Read", "offline_access"], - "usedModels": ["ActionInput_sharepoint_online_fetchfile", "ActionOutput_sharepoint_online_fetchfile"], - "version": "2.0.0" - }, { "type": "action", "description": "This action will be used to display a list of sites to the end-user, who will pick the ones he wants to sync.\nThe connection metadata should be set based on the file selection.", @@ -82448,30 +84359,23 @@ "scopes": ["Sites.Read.All", "Sites.Selected", "offline_access"], "usedModels": ["ActionInput_sharepoint_online_listsharedsites", "ActionOutput_sharepoint_online_listsharedsites"], "version": "3.0.0" + }, + { + "type": "action", + "description": "This action will be used to fetch the latest file download_url which can be used to download the actual file.", + "endpoint": { + "method": "GET", + "path": "/fetch-file" + }, + "input": "ActionInput_sharepoint_online_fetchfile", + "name": "fetch-file", + "output": ["ActionOutput_sharepoint_online_fetchfile"], + "scopes": ["MyFiles.Read", "offline_access"], + "usedModels": ["ActionInput_sharepoint_online_fetchfile", "ActionOutput_sharepoint_online_fetchfile"], + "version": "2.0.0" } ], "syncs": [ - { - "type": "sync", - "description": "This sync will be used to sync file metadata from SharePoint site based on the ones the user has picked.", - "auto_start": false, - "endpoints": [ - { - "method": "GET", - "path": "/shared-files/selected" - } - ], - "input": "SyncMetadata_sharepoint_online_sharedsitesselection", - "name": "shared-sites-selection", - "output": ["FileMetadata"], - "runs": "every 1 hour", - "scopes": ["Sites.Read.All", "Sites.Selected", "MyFiles.Read", "Files.Read.All", "Files.Read.Selected", "offline_access"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["FileMetadata", "SyncMetadata_sharepoint_online_sharedsitesselection"], - "version": "3.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetch all files from the user's drive and sync the metadata for each file.", @@ -82513,6 +84417,27 @@ "usedModels": ["SelectedUserFileMetadata", "SyncMetadata_sharepoint_online_userfilesselection"], "version": "1.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "This sync will be used to sync file metadata from SharePoint site based on the ones the user has picked.", + "auto_start": false, + "endpoints": [ + { + "method": "GET", + "path": "/shared-files/selected" + } + ], + "input": "SyncMetadata_sharepoint_online_sharedsitesselection", + "name": "shared-sites-selection", + "output": ["FileMetadata"], + "runs": "every 1 hour", + "scopes": ["Sites.Read.All", "Sites.Selected", "MyFiles.Read", "Files.Read.All", "Files.Read.Selected", "offline_access"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["FileMetadata", "SyncMetadata_sharepoint_online_sharedsitesselection"], + "version": "3.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -82522,9 +84447,12 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "FileMetadata": { + "SyncMetadata_sharepoint_online_userfiles": { + "type": "object", + "additionalProperties": false + }, + "UserFileMetadata": { "type": "object", "properties": { "siteId": { @@ -82551,7 +84479,10 @@ "path": { "type": "string" }, - "raw_source": {}, + "raw_source": { + "type": "object", + "additionalProperties": false + }, "updated_at": { "type": "string" }, @@ -82574,6 +84505,7 @@ "is_folder", "mime_type", "path", + "raw_source", "updated_at", "download_url", "created_at", @@ -82581,7 +84513,7 @@ ], "additionalProperties": false }, - "SyncMetadata_sharepoint_online_sharedsitesselection": { + "SyncMetadata_sharepoint_online_userfilesselection": { "type": "object", "properties": { "sharedSites": { @@ -82613,7 +84545,7 @@ "required": ["sharedSites", "pickedFiles"], "additionalProperties": false }, - "UserFileMetadata": { + "SelectedUserFileMetadata": { "type": "object", "properties": { "siteId": { @@ -82674,11 +84606,39 @@ ], "additionalProperties": false }, - "SyncMetadata_sharepoint_online_userfiles": { + "SyncMetadata_sharepoint_online_sharedsitesselection": { "type": "object", + "properties": { + "sharedSites": { + "type": "array", + "items": { + "type": "string" + } + }, + "pickedFiles": { + "type": "array", + "items": { + "type": "object", + "properties": { + "siteId": { + "type": "string" + }, + "fileIds": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["siteId", "fileIds"], + "additionalProperties": false + } + } + }, + "required": ["sharedSites", "pickedFiles"], "additionalProperties": false }, - "SelectedUserFileMetadata": { + "FileMetadata": { "type": "object", "properties": { "siteId": { @@ -82705,10 +84665,7 @@ "path": { "type": "string" }, - "raw_source": { - "type": "object", - "additionalProperties": false - }, + "raw_source": {}, "updated_at": { "type": "string" }, @@ -82731,7 +84688,6 @@ "is_folder", "mime_type", "path", - "raw_source", "updated_at", "download_url", "created_at", @@ -82739,36 +84695,36 @@ ], "additionalProperties": false }, - "SyncMetadata_sharepoint_online_userfilesselection": { + "ActionInput_sharepoint_online_listsharedsites": { + "type": "null" + }, + "ActionOutput_sharepoint_online_listsharedsites": { "type": "object", "properties": { - "sharedSites": { - "type": "array", - "items": { - "type": "string" - } - }, - "pickedFiles": { + "sitesToSync": { "type": "array", "items": { "type": "object", "properties": { - "siteId": { + "id": { "type": "string" }, - "fileIds": { - "type": "array", - "items": { - "type": "string" - } + "name": { + "type": "string" + }, + "createdDateTime": { + "type": "string" + }, + "webUrl": { + "type": "string" } }, - "required": ["siteId", "fileIds"], + "required": ["id", "name", "createdDateTime", "webUrl"], "additionalProperties": false } } }, - "required": ["sharedSites", "pickedFiles"], + "required": ["sitesToSync"], "additionalProperties": false }, "ActionInput_sharepoint_online_fetchfile": { @@ -82796,42 +84752,11 @@ }, "required": ["id", "download_url"], "additionalProperties": false - }, - "ActionInput_sharepoint_online_listsharedsites": { - "type": "null" - }, - "ActionOutput_sharepoint_online_listsharedsites": { - "type": "object", - "properties": { - "sitesToSync": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "createdDateTime": { - "type": "string" - }, - "webUrl": { - "type": "string" - } - }, - "required": ["id", "name", "createdDateTime", "webUrl"], - "additionalProperties": false - } - } - }, - "required": ["sitesToSync"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -82868,40 +84793,259 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_shopify_orders": { + "type": "object", + "additionalProperties": false + }, "Order": { "type": "object", "properties": { "id": { "type": "string" }, - "status": { + "name": { "type": "string" }, - "total_amount": { - "type": "number" + "created_at": { + "type": "string" }, - "currency": { + "updated_at": { "type": "string" }, - "created_at": { + "processed_at": { "type": "string" }, - "modified_at": { + "currency_code": { + "type": "string" + }, + "presentment_currency_code": { "type": "string" + }, + "confirmed": { + "type": "boolean" + }, + "cancelled_at": { + "type": ["string", "null"] + }, + "cancel_reason": { + "type": ["string", "null"] + }, + "closed": { + "type": "boolean" + }, + "closed_at": { + "type": ["string", "null"] + }, + "fully_paid": { + "type": "boolean" + }, + "customer": { + "anyOf": [ + { + "type": "object", + "properties": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "email": { + "type": ["string", "null"] + }, + "phone": { + "type": ["string", "null"] + } + }, + "required": ["first_name", "last_name", "display_name", "email", "phone"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "total_price_set": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency_code": { + "type": "string" + } + }, + "required": ["amount", "currency_code"], + "additionalProperties": false + }, + "subtotal_price_set": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency_code": { + "type": "string" + } + }, + "required": ["amount", "currency_code"], + "additionalProperties": false + }, + "total_tax_set": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency_code": { + "type": "string" + } + }, + "required": ["amount", "currency_code"], + "additionalProperties": false + }, + "shipping_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "address1": { + "type": "string" + }, + "address2": { + "type": ["string", "null"] + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "province": { + "type": ["string", "null"] + }, + "zip": { + "type": ["string", "null"] + } + }, + "required": ["address1", "address2", "city", "country", "province", "zip"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "billing_address": { + "anyOf": [ + { + "type": "object", + "properties": { + "address1": { + "type": "string" + }, + "address2": { + "type": ["string", "null"] + }, + "city": { + "type": "string" + }, + "country": { + "type": "string" + }, + "province": { + "type": ["string", "null"] + }, + "zip": { + "type": ["string", "null"] + } + }, + "required": ["address1", "address2", "city", "country", "province", "zip"], + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "line_item": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "original_total_set": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency_code": { + "type": "string" + } + }, + "required": ["amount", "currency_code"], + "additionalProperties": false + }, + "discounted_total_set": { + "type": "object", + "properties": { + "amount": { + "type": "string" + }, + "currency_code": { + "type": "string" + } + }, + "required": ["amount", "currency_code"], + "additionalProperties": false + } + }, + "required": ["id", "name", "quantity", "original_total_set", "discounted_total_set"], + "additionalProperties": false + } } }, - "required": ["id", "status", "total_amount", "currency", "created_at", "modified_at"], - "additionalProperties": false - }, - "SyncMetadata_shopify_orders": { - "type": "object", + "required": [ + "id", + "name", + "created_at", + "updated_at", + "processed_at", + "currency_code", + "presentment_currency_code", + "confirmed", + "cancelled_at", + "cancel_reason", + "closed", + "closed_at", + "fully_paid", + "customer", + "total_price_set", + "subtotal_price_set", + "total_tax_set", + "shipping_address", + "billing_address", + "line_item" + ], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -82924,6 +85068,27 @@ } ], "syncs": [ + { + "type": "sync", + "description": "Syncs information about all Users on the Slack workspace", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users" + } + ], + "input": "SyncMetadata_slack_users", + "name": "users", + "output": ["SlackUser"], + "runs": "every hour", + "scopes": ["users:read", "users:read.email"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["SlackUser", "SyncMetadata_slack_users"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Syncs information about all Slack channels. Which channels get synced\n(public, private, IMs, group DMs) depends on the scopes. If\njoinPublicChannels is set to true, the bot will automatically join all\npublic channels as well. Scopes: At least one of channels:read,\ngroups:read, mpim:read, im:read. To also join public channels:\nchannels:join", @@ -82974,27 +85139,6 @@ "usedModels": ["SlackMessage", "SlackMessageReply", "SlackMessageReaction", "SyncMetadata_slack_messages"], "version": "2.0.1", "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Syncs information about all Users on the Slack workspace", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users" - } - ], - "input": "SyncMetadata_slack_users", - "name": "users", - "output": ["SlackUser"], - "runs": "every hour", - "scopes": ["users:read", "users:read.email"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["SlackUser", "SyncMetadata_slack_users"], - "version": "2.0.0", - "webhookSubscriptions": [] } ], "onEventScripts": { @@ -83004,8 +85148,116 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_slack_users": { + "type": "object", + "additionalProperties": false + }, + "SlackUser": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "team_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "tz": { + "type": "string" + }, + "tz_label": { + "type": "string" + }, + "tz_offset": { + "type": "number" + }, + "profile": { + "type": "object", + "properties": { + "avatar_hash": { + "type": "string" + }, + "real_name": { + "type": ["string", "null"] + }, + "display_name": { + "type": ["string", "null"] + }, + "real_name_normalized": { + "type": ["string", "null"] + }, + "display_name_normalized": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "image_original": { + "type": ["string", "null"] + } + }, + "required": ["avatar_hash", "real_name", "display_name", "real_name_normalized", "display_name_normalized", "email"], + "additionalProperties": false + }, + "is_admin": { + "type": "boolean" + }, + "is_owner": { + "type": "boolean" + }, + "is_primary_owner": { + "type": "boolean" + }, + "is_restricted": { + "type": "boolean" + }, + "is_ultra_restricted": { + "type": "boolean" + }, + "is_bot": { + "type": "boolean" + }, + "updated": { + "type": "number" + }, + "is_app_user": { + "type": "boolean" + }, + "raw_json": { + "type": "string" + } + }, + "required": [ + "id", + "team_id", + "name", + "deleted", + "tz", + "tz_label", + "tz_offset", + "profile", + "is_admin", + "is_owner", + "is_primary_owner", + "is_restricted", + "is_ultra_restricted", + "is_bot", + "updated", + "is_app_user", + "raw_json" + ], + "additionalProperties": false + }, + "SyncMetadata_slack_channels": { + "type": "object", + "additionalProperties": false + }, "SlackChannel": { "type": "object", "properties": { @@ -83078,8 +85330,16 @@ ], "additionalProperties": false }, - "SyncMetadata_slack_channels": { + "SyncMetadata_slack_messages": { "type": "object", + "properties": { + "channelsLastSyncDate": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, "additionalProperties": false }, "SlackMessage": { @@ -83271,123 +85531,6 @@ "required": ["id", "message_ts", "thread_ts", "channel_id", "user_id", "reaction_name"], "additionalProperties": false }, - "SyncMetadata_slack_messages": { - "type": "object", - "properties": { - "channelsLastSyncDate": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "SlackUser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "team_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "deleted": { - "type": "boolean" - }, - "tz": { - "type": "string" - }, - "tz_label": { - "type": "string" - }, - "tz_offset": { - "type": "number" - }, - "profile": { - "type": "object", - "properties": { - "avatar_hash": { - "type": "string" - }, - "real_name": { - "type": ["string", "null"] - }, - "display_name": { - "type": ["string", "null"] - }, - "real_name_normalized": { - "type": ["string", "null"] - }, - "display_name_normalized": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "image_original": { - "type": ["string", "null"] - } - }, - "required": ["avatar_hash", "real_name", "display_name", "real_name_normalized", "display_name_normalized", "email"], - "additionalProperties": false - }, - "is_admin": { - "type": "boolean" - }, - "is_owner": { - "type": "boolean" - }, - "is_primary_owner": { - "type": "boolean" - }, - "is_restricted": { - "type": "boolean" - }, - "is_ultra_restricted": { - "type": "boolean" - }, - "is_bot": { - "type": "boolean" - }, - "updated": { - "type": "number" - }, - "is_app_user": { - "type": "boolean" - }, - "raw_json": { - "type": "string" - } - }, - "required": [ - "id", - "team_id", - "name", - "deleted", - "tz", - "tz_label", - "tz_offset", - "profile", - "is_admin", - "is_owner", - "is_primary_owner", - "is_restricted", - "is_ultra_restricted", - "is_bot", - "updated", - "is_app_user", - "raw_json" - ], - "additionalProperties": false - }, - "SyncMetadata_slack_users": { - "type": "object", - "additionalProperties": false - }, "ActionInput_slack_sendmessage": { "type": "object", "properties": { @@ -83429,9 +85572,10 @@ "required": ["ok", "raw_json"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -83514,29 +85658,28 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_smartsheet_users": { + "type": "object", + "additionalProperties": false + }, "User": { "type": "object", "properties": { "id": { "type": "string" }, - "firstName": { + "email": { "type": "string" }, - "lastName": { + "firstName": { "type": "string" }, - "email": { + "lastName": { "type": "string" } }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, - "SyncMetadata_smartsheet_users": { - "type": "object", + "required": ["id", "email", "firstName", "lastName"], "additionalProperties": false }, "ActionInput_smartsheet_createuser": { @@ -83614,9 +85757,10 @@ "required": ["success"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -83653,8 +85797,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_stripe_app_subscriptions": { + "type": "object", + "additionalProperties": false + }, "Subscription": { "type": "object", "properties": { @@ -84073,18 +86220,15 @@ "status", "transfer_data", "trial_end", - "trial_settings", - "trial_start" - ], - "additionalProperties": false - }, - "SyncMetadata_stripe_app_subscriptions": { - "type": "object", + "trial_settings", + "trial_start" + ], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -84121,8 +86265,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_stripe_app_subscriptions": { + "type": "object", + "additionalProperties": false + }, "Subscription": { "type": "object", "properties": { @@ -84545,14 +86692,11 @@ "trial_start" ], "additionalProperties": false - }, - "SyncMetadata_stripe_app_subscriptions": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": "stripe-app" }, { @@ -84588,8 +86732,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_teamtailor_candidates": { + "type": "object", + "additionalProperties": false + }, "TeamtailorCandidate": { "type": "object", "properties": { @@ -84949,520 +87096,21 @@ "job_applications", "questions", "answers", - "locations", - "uploads", - "custom_field_values", - "partner_results" - ], - "additionalProperties": false - } - }, - "required": ["id", "type", "links", "attributes", "relationships"], - "additionalProperties": false - }, - "SyncMetadata_teamtailor_candidates": { - "type": "object", - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "ukg-pro", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetch all employees from UKG Pro and maps them to the standard HRIS model", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" - } - ], - "input": "SyncMetadata_ukg_pro_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every hour", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_ukg_pro_unifiedemployees"], - "version": "0.0.1", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "StandardEmployee": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "employeeNumber": { - "type": "string" - }, - "title": { - "type": "string" - }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" - }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false - }, - "workLocation": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "required": ["name", "type"], - "additionalProperties": false - }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } - }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false - } - }, - "providerSpecific": { - "type": "object", - "additionalProperties": false - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - }, - "SyncMetadata_ukg_pro_unifiedemployees": { - "type": "object", - "additionalProperties": false - } - } - }, - "sdkVersion": "0.69.14", - "symLinkTargetName": null - }, - { - "providerConfigKey": "ukg-ready", - "actions": [], - "syncs": [ - { - "type": "sync", - "description": "Fetch all employees from UKG Ready and maps them to the standard HRIS model", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/employees/unified", - "group": "Unified HRIS API" - } - ], - "input": "SyncMetadata_ukg_ready_unifiedemployees", - "name": "unified-employees", - "output": ["StandardEmployee"], - "runs": "every hour", - "scopes": [], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["StandardEmployee", "SyncMetadata_ukg_ready_unifiedemployees"], - "version": "0.0.1", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "StandardEmployee": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "employeeNumber": { - "type": "string" - }, - "title": { - "type": "string" - }, - "department": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": ["id", "name"], - "additionalProperties": false - }, - "employmentType": { - "type": "string", - "enum": ["FULL_TIME", "PART_TIME", "CONTRACTOR", "INTERN", "TEMPORARY", "OTHER"] - }, - "employmentStatus": { - "type": "string", - "enum": ["ACTIVE", "TERMINATED", "ON_LEAVE", "SUSPENDED", "PENDING"] - }, - "startDate": { - "type": "string" - }, - "terminationDate": { - "type": "string" - }, - "manager": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "additionalProperties": false - }, - "workLocation": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["OFFICE", "REMOTE", "HYBRID"] - }, - "primaryAddress": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "required": ["name", "type"], - "additionalProperties": false - }, - "addresses": { - "type": "array", - "items": { - "type": "object", - "properties": { - "street": { - "type": "string" - }, - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "postalCode": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["WORK", "HOME"] - } - }, - "required": ["type"], - "additionalProperties": false - } - }, - "phones": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "HOME", "MOBILE"] - }, - "number": { - "type": "string" - } - }, - "required": ["type", "number"], - "additionalProperties": false - } - }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["WORK", "PERSONAL"] - }, - "address": { - "type": "string" - } - }, - "required": ["type", "address"], - "additionalProperties": false - } - }, - "providerSpecific": { - "type": "object", - "additionalProperties": false - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "firstName", - "lastName", - "email", - "displayName", - "department", - "employmentType", - "employmentStatus", - "startDate", - "workLocation", - "addresses", - "phones", - "emails", - "providerSpecific", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - }, - "SyncMetadata_ukg_ready_unifiedemployees": { - "type": "object", + "locations", + "uploads", + "custom_field_values", + "partner_results" + ], + "additionalProperties": false + } + }, + "required": ["id", "type", "links", "attributes", "relationships"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -85470,60 +87118,61 @@ "actions": [ { "type": "action", - "description": "Create a company in the system", + "description": "Create a lead with with information about the federal agency, the name, due date, posted date, solicitation number, naics category or categories, the city, state, country, and description.", "endpoint": { "method": "POST", - "path": "/company" + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_unanet_createcompany", - "name": "create-company", - "output": ["ActionOutput_unanet_createcompany"], + "input": "ActionInput_unanet_createlead", + "name": "create-lead", + "output": ["ActionOutput_unanet_createlead"], "scopes": [], - "usedModels": ["ActionInput_unanet_createcompany", "ActionOutput_unanet_createcompany"], - "version": "1.0.0" + "usedModels": ["ActionInput_unanet_createlead", "ActionOutput_unanet_createlead"], + "version": "2.0.0" }, { "type": "action", - "description": "Create a contact in the system", + "description": "Update a lead with any changed information about the federal agency, the name, due date, posted date, solicitation number, naics category or categories, the city, state, country, and description.", "endpoint": { - "method": "POST", - "path": "/contacts", - "group": "Contacts" + "method": "PUT", + "path": "/leads", + "group": "Leads" }, - "input": "ActionInput_unanet_createcontact", - "name": "create-contact", - "output": ["ActionOutput_unanet_createcontact"], + "input": "ActionInput_unanet_updatelead", + "name": "update-lead", + "output": ["ActionOutput_unanet_updatelead"], "scopes": [], - "usedModels": ["ActionInput_unanet_createcontact", "ActionOutput_unanet_createcontact"], + "usedModels": ["ActionInput_unanet_updatelead", "ActionOutput_unanet_updatelead"], "version": "2.0.0" }, { "type": "action", - "description": "Create a lead with with information about the federal agency, the name, due date, posted date, solicitation number, naics category or categories, the city, state, country, and description.", + "description": "Fetch all leads", "endpoint": { - "method": "POST", + "method": "GET", "path": "/leads", "group": "Leads" }, - "input": "ActionInput_unanet_createlead", - "name": "create-lead", - "output": ["ActionOutput_unanet_createlead"], + "input": "ActionInput_unanet_getleads", + "name": "get-leads", + "output": ["ActionOutput_unanet_getleads"], "scopes": [], - "usedModels": ["ActionInput_unanet_createlead", "ActionOutput_unanet_createlead"], - "version": "2.0.0" + "usedModels": ["ActionInput_unanet_getleads", "ActionOutput_unanet_getleads"], + "version": "1.0.0" }, { "type": "action", - "description": "Create an opportunity in the system. Requires a stage that exists\nin the system. Use the list-stages action to find the appropriate stage.", + "description": "Get the schema of any entity. Useful to know the properties of any object that exists in the system.", "endpoint": { - "method": "POST", - "path": "/opportunity" + "method": "GET", + "path": "/schema" }, - "input": "ActionInput_unanet_createopportunity", - "name": "create-opportunity", - "output": ["ActionOutput_unanet_createopportunity"], + "input": "ActionInput_unanet_getschema", + "name": "get-schema", + "output": ["ActionOutput_unanet_getschema"], "scopes": [], - "usedModels": ["ActionInput_unanet_createopportunity", "ActionOutput_unanet_createopportunity"], + "usedModels": ["ActionInput_unanet_getschema", "ActionOutput_unanet_getschema"], "version": "1.0.0" }, { @@ -85542,60 +87191,59 @@ }, { "type": "action", - "description": "Fetch all leads", + "description": "Create a company in the system", "endpoint": { - "method": "GET", - "path": "/leads", - "group": "Leads" + "method": "POST", + "path": "/company" }, - "input": "ActionInput_unanet_getleads", - "name": "get-leads", - "output": ["ActionOutput_unanet_getleads"], + "input": "ActionInput_unanet_createcompany", + "name": "create-company", + "output": ["ActionOutput_unanet_createcompany"], "scopes": [], - "usedModels": ["ActionInput_unanet_getleads", "ActionOutput_unanet_getleads"], + "usedModels": ["ActionInput_unanet_createcompany", "ActionOutput_unanet_createcompany"], "version": "1.0.0" }, { "type": "action", - "description": "Get the schema of any entity. Useful to know the properties of any object that exists in the system.", + "description": "Create an opportunity in the system. Requires a stage that exists\nin the system. Use the list-stages action to find the appropriate stage.", "endpoint": { - "method": "GET", - "path": "/schema" + "method": "POST", + "path": "/opportunity" }, - "input": "ActionInput_unanet_getschema", - "name": "get-schema", - "output": ["ActionOutput_unanet_getschema"], + "input": "ActionInput_unanet_createopportunity", + "name": "create-opportunity", + "output": ["ActionOutput_unanet_createopportunity"], "scopes": [], - "usedModels": ["ActionInput_unanet_getschema", "ActionOutput_unanet_getschema"], + "usedModels": ["ActionInput_unanet_createopportunity", "ActionOutput_unanet_createopportunity"], "version": "1.0.0" }, { "type": "action", - "description": "List all the stages that exist in the system. Use this action to find\nthe correct stage to be able to create an opportunity.", + "description": "Create a contact in the system", "endpoint": { - "method": "GET", - "path": "/stages" + "method": "POST", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_unanet_liststages", - "name": "list-stages", - "output": ["ActionOutput_unanet_liststages"], + "input": "ActionInput_unanet_createcontact", + "name": "create-contact", + "output": ["ActionOutput_unanet_createcontact"], "scopes": [], - "usedModels": ["ActionInput_unanet_liststages", "ActionOutput_unanet_liststages"], + "usedModels": ["ActionInput_unanet_createcontact", "ActionOutput_unanet_createcontact"], "version": "2.0.0" }, { "type": "action", - "description": "Update a lead with any changed information about the federal agency, the name, due date, posted date, solicitation number, naics category or categories, the city, state, country, and description.", + "description": "List all the stages that exist in the system. Use this action to find\nthe correct stage to be able to create an opportunity.", "endpoint": { - "method": "PUT", - "path": "/leads", - "group": "Leads" + "method": "GET", + "path": "/stages" }, - "input": "ActionInput_unanet_updatelead", - "name": "update-lead", - "output": ["ActionOutput_unanet_updatelead"], + "input": "ActionInput_unanet_liststages", + "name": "list-stages", + "output": ["ActionOutput_unanet_liststages"], "scopes": [], - "usedModels": ["ActionInput_unanet_updatelead", "ActionOutput_unanet_updatelead"], + "usedModels": ["ActionInput_unanet_liststages", "ActionOutput_unanet_liststages"], "version": "2.0.0" } ], @@ -85607,328 +87255,7 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { - "ActionInput_unanet_createcompany": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "federalAgency": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "companyId": { - "type": "number" - }, - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "acronym": { - "type": "string" - }, - "address1": { - "type": "string" - }, - "address2": { - "type": "string" - }, - "address3": { - "type": "string" - }, - "isHeadquarters": { - "type": "boolean" - }, - "parentCompanyId": { - "type": "number" - }, - "parentCompanyName": { - "type": "string" - }, - "childCount": { - "type": "number" - }, - "addrLat": { - "type": "number" - }, - "addrLong": { - "type": "number" - } - }, - "required": ["name"], - "additionalProperties": false - } - }, - "required": ["name", "federalAgency"], - "additionalProperties": false - }, - "ActionOutput_unanet_createcompany": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "federalAgency": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "companyId": { - "type": "number" - }, - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "acronym": { - "type": "string" - }, - "address1": { - "type": "string" - }, - "address2": { - "type": "string" - }, - "address3": { - "type": "string" - }, - "isHeadquarters": { - "type": "boolean" - }, - "parentCompanyId": { - "type": "number" - }, - "parentCompanyName": { - "type": "string" - }, - "childCount": { - "type": "number" - }, - "addrLat": { - "type": "number" - }, - "addrLong": { - "type": "number" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "shortName": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "required": ["name", "externalId", "shortName", "description"], - "additionalProperties": false - }, - "ActionInput_unanet_createcontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "federalAgency": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "companyId": { - "type": "number" - }, - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "acronym": { - "type": "string" - }, - "address1": { - "type": "string" - }, - "address2": { - "type": "string" - }, - "address3": { - "type": "string" - }, - "isHeadquarters": { - "type": "boolean" - }, - "parentCompanyId": { - "type": "number" - }, - "parentCompanyName": { - "type": "string" - }, - "childCount": { - "type": "number" - }, - "addrLat": { - "type": "number" - }, - "addrLong": { - "type": "number" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "position": { - "type": "string" - }, - "emailAddress": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "fax": { - "type": "string" - } - }, - "required": ["firstName", "lastName", "federalAgency", "position", "emailAddress", "phone", "fax"], - "additionalProperties": false - }, - "ActionOutput_unanet_createcontact": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "federalAgency": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "companyId": { - "type": "number" - }, - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "acronym": { - "type": "string" - }, - "address1": { - "type": "string" - }, - "address2": { - "type": "string" - }, - "address3": { - "type": "string" - }, - "isHeadquarters": { - "type": "boolean" - }, - "parentCompanyId": { - "type": "number" - }, - "parentCompanyName": { - "type": "string" - }, - "childCount": { - "type": "number" - }, - "addrLat": { - "type": "number" - }, - "addrLong": { - "type": "number" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "position": { - "type": "string" - }, - "emailAddress": { - "type": "string" - }, - "phone": { - "type": "string" - }, - "fax": { - "type": "string" - } - }, - "required": ["firstName", "lastName", "federalAgency", "position", "emailAddress", "phone", "fax"], - "additionalProperties": false - }, "ActionInput_unanet_createlead": { "type": "object", "properties": { @@ -86165,36 +87492,9 @@ ], "additionalProperties": false }, - "ActionInput_unanet_createopportunity": { + "ActionInput_unanet_updatelead": { "type": "object", "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "dueDate": { - "type": "string" - }, "federalAgency": { "type": "object", "properties": { @@ -86253,32 +87553,38 @@ "required": ["name"], "additionalProperties": false }, - "stage": { + "name": { "type": "string" }, - "active": { - "type": "boolean" - } - }, - "required": ["name", "description", "externalId", "dueDate", "federalAgency", "stage", "active"], - "additionalProperties": false - }, - "ActionOutput_unanet_createopportunity": { - "type": "object", - "properties": { - "city": { + "dueDate": { "type": "string" }, - "state": { + "postedDate": { "type": "string" }, - "country": { + "solicitationNumber": { + "type": "string" + }, + "naicsCategory": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "city": { "type": "string" }, - "zip": { + "state": { "type": "string" }, - "name": { + "country": { "type": "string" }, "description": { @@ -86286,13 +87592,26 @@ }, "id": { "type": "string" - }, - "externalId": { - "type": "string" - }, - "dueDate": { - "type": "string" - }, + } + }, + "required": [ + "federalAgency", + "name", + "dueDate", + "postedDate", + "solicitationNumber", + "naicsCategory", + "city", + "state", + "country", + "description", + "id" + ], + "additionalProperties": false + }, + "ActionOutput_unanet_updatelead": { + "type": "object", + "properties": { "federalAgency": { "type": "object", "properties": { @@ -86351,114 +87670,66 @@ "required": ["name"], "additionalProperties": false }, - "stage": { + "name": { "type": "string" }, - "active": { - "type": "boolean" - } - }, - "required": ["name", "description", "externalId", "dueDate", "federalAgency", "stage", "active"], - "additionalProperties": false - }, - "ActionInput_unanet_getcompany": { - "type": "object", - "properties": { - "name": { + "dueDate": { "type": "string" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "ActionOutput_unanet_getcompany": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "federalAgency": { - "type": "object", - "properties": { - "city": { - "type": "string" - }, - "state": { - "type": "string" - }, - "country": { - "type": "string" - }, - "zip": { - "type": "string" - }, - "companyId": { - "type": "number" - }, - "name": { - "type": "string" - }, - "externalId": { - "type": "string" - }, - "acronym": { - "type": "string" - }, - "address1": { - "type": "string" - }, - "address2": { - "type": "string" - }, - "address3": { - "type": "string" - }, - "isHeadquarters": { - "type": "boolean" - }, - "parentCompanyId": { - "type": "number" - }, - "parentCompanyName": { - "type": "string" - }, - "childCount": { - "type": "number" - }, - "addrLat": { - "type": "number" - }, - "addrLong": { - "type": "number" - } - }, - "required": ["name"], - "additionalProperties": false - }, - "shortName": { - "type": "string" - }, - "description": { + }, + "postedDate": { + "type": "string" + }, + "solicitationNumber": { + "type": "string" + }, + "naicsCategory": { + "anyOf": [ + { "type": "string" }, - "id": { - "type": "string" + { + "type": "array", + "items": { + "type": "string" + } } - }, - "required": ["name", "externalId", "shortName", "description"], - "additionalProperties": false + ] }, - "1": { - "type": "null" + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "id": { + "type": "string" } }, - "required": ["0", "1"], + "required": [ + "federalAgency", + "name", + "dueDate", + "postedDate", + "solicitationNumber", + "naicsCategory", + "city", + "state", + "country", + "description", + "id" + ], "additionalProperties": false }, "ActionInput_unanet_getleads": { @@ -86703,38 +87974,112 @@ "required": ["0"], "additionalProperties": false }, - "ActionInput_unanet_liststages": { - "type": "null" + "ActionInput_unanet_getcompany": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false }, - "ActionOutput_unanet_liststages": { + "ActionOutput_unanet_getcompany": { "type": "object", "properties": { - "stages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" + "0": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "federalAgency": { + "type": "object", + "properties": { + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "companyId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "acronym": { + "type": "string" + }, + "address1": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "address3": { + "type": "string" + }, + "isHeadquarters": { + "type": "boolean" + }, + "parentCompanyId": { + "type": "number" + }, + "parentCompanyName": { + "type": "string" + }, + "childCount": { + "type": "number" + }, + "addrLat": { + "type": "number" + }, + "addrLong": { + "type": "number" + } }, - "status": { - "type": "string" - } + "required": ["name"], + "additionalProperties": false }, - "required": ["id", "name", "status"], - "additionalProperties": false - } + "shortName": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["name", "externalId", "shortName", "description"], + "additionalProperties": false + }, + "1": { + "type": "null" } }, - "required": ["stages"], + "required": ["0", "1"], "additionalProperties": false }, - "ActionInput_unanet_updatelead": { + "ActionInput_unanet_createcompany": { "type": "object", "properties": { + "name": { + "type": "string" + }, "federalAgency": { "type": "object", "properties": { @@ -86792,32 +88137,94 @@ }, "required": ["name"], "additionalProperties": false - }, + } + }, + "required": ["name", "federalAgency"], + "additionalProperties": false + }, + "ActionOutput_unanet_createcompany": { + "type": "object", + "properties": { "name": { "type": "string" }, - "dueDate": { - "type": "string" - }, - "postedDate": { - "type": "string" - }, - "solicitationNumber": { + "externalId": { "type": "string" }, - "naicsCategory": { - "anyOf": [ - { + "federalAgency": { + "type": "object", + "properties": { + "city": { "type": "string" }, - { - "type": "array", - "items": { - "type": "string" - } + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "companyId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "acronym": { + "type": "string" + }, + "address1": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "address3": { + "type": "string" + }, + "isHeadquarters": { + "type": "boolean" + }, + "parentCompanyId": { + "type": "number" + }, + "parentCompanyName": { + "type": "string" + }, + "childCount": { + "type": "number" + }, + "addrLat": { + "type": "number" + }, + "addrLong": { + "type": "number" } - ] + }, + "required": ["name"], + "additionalProperties": false + }, + "shortName": { + "type": "string" }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": ["name", "externalId", "shortName", "description"], + "additionalProperties": false + }, + "ActionInput_unanet_createopportunity": { + "type": "object", + "properties": { "city": { "type": "string" }, @@ -86827,31 +88234,122 @@ "country": { "type": "string" }, + "zip": { + "type": "string" + }, + "name": { + "type": "string" + }, "description": { "type": "string" }, "id": { "type": "string" + }, + "externalId": { + "type": "string" + }, + "dueDate": { + "type": "string" + }, + "federalAgency": { + "type": "object", + "properties": { + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "companyId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "acronym": { + "type": "string" + }, + "address1": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "address3": { + "type": "string" + }, + "isHeadquarters": { + "type": "boolean" + }, + "parentCompanyId": { + "type": "number" + }, + "parentCompanyName": { + "type": "string" + }, + "childCount": { + "type": "number" + }, + "addrLat": { + "type": "number" + }, + "addrLong": { + "type": "number" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "stage": { + "type": "string" + }, + "active": { + "type": "boolean" } }, - "required": [ - "federalAgency", - "name", - "dueDate", - "postedDate", - "solicitationNumber", - "naicsCategory", - "city", - "state", - "country", - "description", - "id" - ], + "required": ["name", "description", "externalId", "dueDate", "federalAgency", "stage", "active"], "additionalProperties": false }, - "ActionOutput_unanet_updatelead": { + "ActionOutput_unanet_createopportunity": { "type": "object", "properties": { + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "dueDate": { + "type": "string" + }, "federalAgency": { "type": "object", "properties": { @@ -86910,71 +88408,221 @@ "required": ["name"], "additionalProperties": false }, - "name": { + "stage": { "type": "string" }, - "dueDate": { + "active": { + "type": "boolean" + } + }, + "required": ["name", "description", "externalId", "dueDate", "federalAgency", "stage", "active"], + "additionalProperties": false + }, + "ActionInput_unanet_createcontact": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "postedDate": { + "firstName": { "type": "string" }, - "solicitationNumber": { + "lastName": { "type": "string" }, - "naicsCategory": { - "anyOf": [ - { + "federalAgency": { + "type": "object", + "properties": { + "city": { "type": "string" }, - { - "type": "array", - "items": { - "type": "string" - } + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "companyId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "acronym": { + "type": "string" + }, + "address1": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "address3": { + "type": "string" + }, + "isHeadquarters": { + "type": "boolean" + }, + "parentCompanyId": { + "type": "number" + }, + "parentCompanyName": { + "type": "string" + }, + "childCount": { + "type": "number" + }, + "addrLat": { + "type": "number" + }, + "addrLong": { + "type": "number" } - ] + }, + "required": ["name"], + "additionalProperties": false }, - "city": { + "position": { "type": "string" }, - "state": { + "emailAddress": { "type": "string" }, - "country": { + "phone": { "type": "string" }, - "description": { + "fax": { + "type": "string" + } + }, + "required": ["firstName", "lastName", "federalAgency", "position", "emailAddress", "phone", "fax"], + "additionalProperties": false + }, + "ActionOutput_unanet_createcontact": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "createdAt": { + "firstName": { "type": "string" }, - "updatedAt": { + "lastName": { "type": "string" }, - "id": { + "federalAgency": { + "type": "object", + "properties": { + "city": { + "type": "string" + }, + "state": { + "type": "string" + }, + "country": { + "type": "string" + }, + "zip": { + "type": "string" + }, + "companyId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "acronym": { + "type": "string" + }, + "address1": { + "type": "string" + }, + "address2": { + "type": "string" + }, + "address3": { + "type": "string" + }, + "isHeadquarters": { + "type": "boolean" + }, + "parentCompanyId": { + "type": "number" + }, + "parentCompanyName": { + "type": "string" + }, + "childCount": { + "type": "number" + }, + "addrLat": { + "type": "number" + }, + "addrLong": { + "type": "number" + } + }, + "required": ["name"], + "additionalProperties": false + }, + "position": { + "type": "string" + }, + "emailAddress": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "fax": { "type": "string" } }, - "required": [ - "federalAgency", - "name", - "dueDate", - "postedDate", - "solicitationNumber", - "naicsCategory", - "city", - "state", - "country", - "description", - "id" - ], + "required": ["firstName", "lastName", "federalAgency", "position", "emailAddress", "phone", "fax"], + "additionalProperties": false + }, + "ActionInput_unanet_liststages": { + "type": "null" + }, + "ActionOutput_unanet_liststages": { + "type": "object", + "properties": { + "stages": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": ["id", "name", "status"], + "additionalProperties": false + } + } + }, + "required": ["stages"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -87010,8 +88658,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_wildix_pbx_colleagues": { + "type": "object", + "additionalProperties": false + }, "WildixPbxColleague": { "type": "object", "properties": { @@ -87039,14 +88690,11 @@ }, "required": ["id", "name", "extension", "email", "mobilePhone", "licenseType", "language"], "additionalProperties": false - }, - "SyncMetadata_wildix_pbx_colleagues": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -87103,8 +88751,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_woocommerce_customers": { + "type": "object", + "additionalProperties": false + }, "Customer": { "type": "object", "properties": { @@ -87130,7 +88781,7 @@ "required": ["id", "name", "email", "is_paying_customer", "created_at", "modified_at"], "additionalProperties": false }, - "SyncMetadata_woocommerce_customers": { + "SyncMetadata_woocommerce_orders": { "type": "object", "additionalProperties": false }, @@ -87158,14 +88809,11 @@ }, "required": ["id", "status", "total_amount", "currency", "created_at", "modified_at"], "additionalProperties": false - }, - "SyncMetadata_woocommerce_orders": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -87358,8 +89006,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_workable_candidates": { + "type": "object", + "additionalProperties": false + }, "WorkableCandidate": { "type": "object", "properties": { @@ -87467,7 +89118,7 @@ ], "additionalProperties": false }, - "SyncMetadata_workable_candidates": { + "SyncMetadata_workable_candidatesactivities": { "type": "object", "additionalProperties": false }, @@ -87511,7 +89162,7 @@ "required": ["id", "action", "stage_name", "created_at", "body", "member", "rating"], "additionalProperties": false }, - "SyncMetadata_workable_candidatesactivities": { + "SyncMetadata_workable_candidatesoffer": { "type": "object", "additionalProperties": false }, @@ -87553,7 +89204,7 @@ "required": ["id", "candidate", "created_at", "document_variables", "documents", "state"], "additionalProperties": false }, - "SyncMetadata_workable_candidatesoffer": { + "SyncMetadata_workable_jobs": { "type": "object", "additionalProperties": false }, @@ -87686,7 +89337,7 @@ ], "additionalProperties": false }, - "SyncMetadata_workable_jobs": { + "SyncMetadata_workable_jobscandidates": { "type": "object", "additionalProperties": false }, @@ -87797,7 +89448,7 @@ ], "additionalProperties": false }, - "SyncMetadata_workable_jobscandidates": { + "SyncMetadata_workable_jobsquestions": { "type": "object", "additionalProperties": false }, @@ -87843,7 +89494,7 @@ "required": ["id", "body", "type", "required", "single_answer", "choices", "supported_file_types", "max_file_size"], "additionalProperties": false }, - "SyncMetadata_workable_jobsquestions": { + "SyncMetadata_workable_members": { "type": "object", "additionalProperties": false }, @@ -87869,10 +89520,6 @@ "required": ["id", "name", "headline", "email", "role"], "additionalProperties": false }, - "SyncMetadata_workable_members": { - "type": "object", - "additionalProperties": false - }, "ActionInput_workable_createcandidate": { "type": "object", "properties": { @@ -88332,9 +89979,10 @@ "required": ["id"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -88437,8 +90085,16 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_workday_employees": { + "type": "object", + "properties": { + "lagMinutes": { + "type": "number" + } + }, + "additionalProperties": false + }, "Employee": { "type": "object", "properties": { @@ -88485,13 +90141,8 @@ "required": ["id", "user_name", "email", "role", "department", "site", "phone_number"], "additionalProperties": false }, - "SyncMetadata_workday_employees": { + "SyncMetadata_workday_groups": { "type": "object", - "properties": { - "lagMinutes": { - "type": "number" - } - }, "additionalProperties": false }, "Group": { @@ -88513,7 +90164,7 @@ "required": ["id", "active", "created_at", "name"], "additionalProperties": false }, - "SyncMetadata_workday_groups": { + "SyncMetadata_workday_locations": { "type": "object", "additionalProperties": false }, @@ -88581,8 +90232,13 @@ "required": ["id", "name", "description", "city", "state", "country", "zip_code", "address", "phone_number"], "additionalProperties": false }, - "SyncMetadata_workday_locations": { + "SyncMetadata_workday_unifiedemployees": { "type": "object", + "properties": { + "lagMinutes": { + "type": "number" + } + }, "additionalProperties": false }, "StandardEmployee": { @@ -88787,19 +90443,11 @@ "updatedAt" ], "additionalProperties": false - }, - "SyncMetadata_workday_unifiedemployees": { - "type": "object", - "properties": { - "lagMinutes": { - "type": "number" - } - }, - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -88822,17 +90470,17 @@ }, { "type": "action", - "description": "Creates one or more credit notes in Xero.\nNote: Does NOT check if the credit note already exists.", + "description": "Updates one or multiple contacts in Xero. Only fields that are passed in are modified. If a field should not be changed, omit it in the input. The id field is mandatory.", "endpoint": { - "method": "POST", - "path": "/credit-notes", - "group": "Credit Notes" + "method": "PUT", + "path": "/contacts", + "group": "Contacts" }, - "input": "ActionInput_xero_createcreditnote", - "name": "create-credit-note", - "output": ["ActionOutput_xero_createcreditnote"], - "scopes": ["accounting.transactions"], - "usedModels": ["ActionInput_xero_createcreditnote", "ActionOutput_xero_createcreditnote"], + "input": "ActionInput_xero_updatecontact", + "name": "update-contact", + "output": ["ActionOutput_xero_updatecontact"], + "scopes": ["accounting.contacts"], + "usedModels": ["ActionInput_xero_updatecontact", "ActionOutput_xero_updatecontact"], "version": "2.0.0" }, { @@ -88852,17 +90500,47 @@ }, { "type": "action", - "description": "Creates one or more items in Xero.\nNote: Does NOT check if the item already exists.", + "description": "Updates one or more invoices in Xero. To delete an invoice\nthat is in DRAFT or SUBMITTED set the status to DELETED. If an\ninvoice has been AUTHORISED it can't be deleted but you can set\nthe status to VOIDED.", + "endpoint": { + "method": "PUT", + "path": "/invoices", + "group": "Invoices" + }, + "input": "ActionInput_xero_updateinvoice", + "name": "update-invoice", + "output": ["ActionOutput_xero_updateinvoice"], + "scopes": ["accounting.transactions"], + "usedModels": ["ActionInput_xero_updateinvoice", "ActionOutput_xero_updateinvoice"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Creates one or more credit notes in Xero.\nNote: Does NOT check if the credit note already exists.", "endpoint": { "method": "POST", - "path": "/items", - "group": "Items" + "path": "/credit-notes", + "group": "Credit Notes" }, - "input": "ActionInput_xero_createitem", - "name": "create-item", - "output": ["ActionOutput_xero_createitem"], - "scopes": ["accounting.settings"], - "usedModels": ["ActionInput_xero_createitem", "ActionOutput_xero_createitem"], + "input": "ActionInput_xero_createcreditnote", + "name": "create-credit-note", + "output": ["ActionOutput_xero_createcreditnote"], + "scopes": ["accounting.transactions"], + "usedModels": ["ActionInput_xero_createcreditnote", "ActionOutput_xero_createcreditnote"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Updates one or more credit notes in Xero.", + "endpoint": { + "method": "PUT", + "path": "/credit-notes", + "group": "Credit Notes" + }, + "input": "ActionInput_xero_updatecreditnote", + "name": "update-credit-note", + "output": ["ActionOutput_xero_updatecreditnote"], + "scopes": ["accounting.transactions"], + "usedModels": ["ActionInput_xero_updatecreditnote", "ActionOutput_xero_updatecreditnote"], "version": "2.0.0" }, { @@ -88880,6 +90558,21 @@ "usedModels": ["ActionInput_xero_createpayment", "ActionOutput_xero_createpayment"], "version": "2.0.0" }, + { + "type": "action", + "description": "Creates one or more items in Xero.\nNote: Does NOT check if the item already exists.", + "endpoint": { + "method": "POST", + "path": "/items", + "group": "Items" + }, + "input": "ActionInput_xero_createitem", + "name": "create-item", + "output": ["ActionOutput_xero_createitem"], + "scopes": ["accounting.settings"], + "usedModels": ["ActionInput_xero_createitem", "ActionOutput_xero_createitem"], + "version": "2.0.0" + }, { "type": "action", "description": "Fetches all the tenants the connection has access to.\nThis can be used to set the metadata to the selected tenant.", @@ -88895,51 +90588,6 @@ "usedModels": ["ActionInput_xero_gettenants", "ActionOutput_xero_gettenants"], "version": "1.0.0" }, - { - "type": "action", - "description": "Updates one or multiple contacts in Xero. Only fields that are passed in are modified. If a field should not be changed, omit it in the input. The id field is mandatory.", - "endpoint": { - "method": "PUT", - "path": "/contacts", - "group": "Contacts" - }, - "input": "ActionInput_xero_updatecontact", - "name": "update-contact", - "output": ["ActionOutput_xero_updatecontact"], - "scopes": ["accounting.contacts"], - "usedModels": ["ActionInput_xero_updatecontact", "ActionOutput_xero_updatecontact"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Updates one or more credit notes in Xero.", - "endpoint": { - "method": "PUT", - "path": "/credit-notes", - "group": "Credit Notes" - }, - "input": "ActionInput_xero_updatecreditnote", - "name": "update-credit-note", - "output": ["ActionOutput_xero_updatecreditnote"], - "scopes": ["accounting.transactions"], - "usedModels": ["ActionInput_xero_updatecreditnote", "ActionOutput_xero_updatecreditnote"], - "version": "2.0.0" - }, - { - "type": "action", - "description": "Updates one or more invoices in Xero. To delete an invoice\nthat is in DRAFT or SUBMITTED set the status to DELETED. If an\ninvoice has been AUTHORISED it can't be deleted but you can set\nthe status to VOIDED.", - "endpoint": { - "method": "PUT", - "path": "/invoices", - "group": "Invoices" - }, - "input": "ActionInput_xero_updateinvoice", - "name": "update-invoice", - "output": ["ActionOutput_xero_updateinvoice"], - "scopes": ["accounting.transactions"], - "usedModels": ["ActionInput_xero_updateinvoice", "ActionOutput_xero_updateinvoice"], - "version": "2.0.0" - }, { "type": "action", "description": "Updates one or more items in Xero.", @@ -88957,50 +90605,6 @@ } ], "syncs": [ - { - "type": "sync", - "description": "Fetches all accounts in Xero (chart of accounts). Incremental sync, detects deletes, metadata is not required.", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/accounts", - "group": "Accounts" - } - ], - "input": "SyncMetadata_xero_accounts", - "name": "accounts", - "output": ["Account"], - "runs": "every hour", - "scopes": ["accounting.settings"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Account", "SyncMetadata_xero_accounts"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches all bank transactions in Xero. Incremental sync, detects deletes, metadata is not required.", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/bank-transactions", - "group": "Bank Transactions" - } - ], - "input": "SyncMetadata_xero_banktransactions", - "name": "bank-transactions", - "output": ["BankTransaction"], - "runs": "every hour", - "scopes": ["accounting.transactions"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["BankTransaction", "SyncMetadata_xero_banktransactions"], - "version": "3.0.0", - "webhookSubscriptions": [] - }, { "type": "sync", "description": "Fetches all Xero contacts.\nDetails: incremental sync, detects deletes, metadata is not required.", @@ -89025,45 +90629,45 @@ }, { "type": "sync", - "description": "Fetches all credit notes in Xero. Incremental sync.", + "description": "Fetches all accounts in Xero (chart of accounts). Incremental sync, detects deletes, metadata is not required.", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/credit-notes", - "group": "Credit Notes" + "path": "/accounts", + "group": "Accounts" } ], - "input": "SyncMetadata_xero_creditnotes", - "name": "credit-notes", - "output": ["CreditNote"], + "input": "SyncMetadata_xero_accounts", + "name": "accounts", + "output": ["Account"], "runs": "every hour", - "scopes": ["accounting.transactions"], + "scopes": ["accounting.settings"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["CreditNote", "SyncMetadata_xero_creditnotes"], + "usedModels": ["Account", "SyncMetadata_xero_accounts"], "version": "2.0.0", "webhookSubscriptions": [] }, { "type": "sync", - "description": "Fetch all general ledger entries in Xero", + "description": "Fetches all items in Xero. Incremental sync, does not detect deletes, metadata is not\nrequired.", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/general-ledger", - "group": "General Ledger" + "path": "/items", + "group": "Items" } ], - "input": "SyncMetadata_xero_generalledger", - "name": "general-ledger", - "output": ["GeneralLedger"], + "input": "SyncMetadata_xero_items", + "name": "items", + "output": ["Item"], "runs": "every hour", - "scopes": ["accounting.journals.read"], + "scopes": ["accounting.settings"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["GeneralLedger", "SyncMetadata_xero_generalledger"], + "usedModels": ["Item", "SyncMetadata_xero_items"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -89091,23 +90695,45 @@ }, { "type": "sync", - "description": "Fetches all items in Xero. Incremental sync, does not detect deletes, metadata is not\nrequired.", + "description": "Fetches all bank transactions in Xero. Incremental sync, detects deletes, metadata is not required.", "auto_start": true, "endpoints": [ { "method": "GET", - "path": "/items", - "group": "Items" + "path": "/bank-transactions", + "group": "Bank Transactions" } ], - "input": "SyncMetadata_xero_items", - "name": "items", - "output": ["Item"], + "input": "SyncMetadata_xero_banktransactions", + "name": "bank-transactions", + "output": ["BankTransaction"], "runs": "every hour", - "scopes": ["accounting.settings"], + "scopes": ["accounting.transactions"], "sync_type": "incremental", "track_deletes": false, - "usedModels": ["Item", "SyncMetadata_xero_items"], + "usedModels": ["BankTransaction", "SyncMetadata_xero_banktransactions"], + "version": "3.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetch all general ledger entries in Xero", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/general-ledger", + "group": "General Ledger" + } + ], + "input": "SyncMetadata_xero_generalledger", + "name": "general-ledger", + "output": ["GeneralLedger"], + "runs": "every hour", + "scopes": ["accounting.journals.read"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["GeneralLedger", "SyncMetadata_xero_generalledger"], "version": "2.0.0", "webhookSubscriptions": [] }, @@ -89154,6 +90780,28 @@ "usedModels": ["Payment", "SyncMetadata_xero_payments"], "version": "2.0.0", "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches all credit notes in Xero. Incremental sync.", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/credit-notes", + "group": "Credit Notes" + } + ], + "input": "SyncMetadata_xero_creditnotes", + "name": "credit-notes", + "output": ["CreditNote"], + "runs": "every hour", + "scopes": ["accounting.transactions"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["CreditNote", "SyncMetadata_xero_creditnotes"], + "version": "2.0.0", + "webhookSubscriptions": [] } ], "onEventScripts": { @@ -89163,8 +90811,61 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_xero_contacts": { + "type": "object", + "additionalProperties": false + }, + "Contact": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "string" + }, + "external_id": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "tax_number": { + "type": ["string", "null"] + }, + "address_line_1": { + "type": ["string", "null"] + }, + "address_line_2": { + "type": ["string", "null"] + }, + "city": { + "type": ["string", "null"] + }, + "zip": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "state": { + "type": ["string", "null"] + }, + "phone": { + "type": ["string", "null"] + }, + "subsidiary": { + "type": ["string", "null"] + } + }, + "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "additionalProperties": false + }, + "SyncMetadata_xero_accounts": { + "type": "object", + "additionalProperties": false + }, "Account": { "type": "object", "properties": { @@ -89202,10 +90903,121 @@ "type": "string" } }, - "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], + "required": ["id", "name", "type", "tax_type", "description", "class", "bank_account_type", "reporting_code", "reporting_code_name"], + "additionalProperties": false + }, + "SyncMetadata_xero_items": { + "type": "object", + "additionalProperties": false + }, + "Item": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "account_code": { + "type": ["string", "null"] + } + }, + "required": ["id", "item_code", "name", "description", "account_code"], + "additionalProperties": false + }, + "SyncMetadata_xero_invoices": { + "type": "object", + "additionalProperties": false + }, + "Invoice": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["ACCPAY", "ACCREC"] + }, + "external_contact_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "issuing_date": { + "type": ["string", "null"] + }, + "payment_due_date": { + "type": ["string", "null"] + }, + "status": { + "type": "string" + }, + "number": { + "type": "string" + }, + "currency": { + "type": "string" + }, + "purchase_order": { + "type": ["string", "null"] + }, + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account_code": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "discount_amount_cents": { + "type": ["number", "null"] + }, + "discount_rate": { + "type": ["number", "null"] + }, + "item_id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "units": { + "type": ["number", "null"] + }, + "precise_unit_amount": { + "type": ["number", "null"] + }, + "amount_cents": { + "type": ["number", "null"] + }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], + "additionalProperties": false + } + } + }, + "required": ["type", "external_contact_id", "id", "issuing_date", "payment_due_date", "status", "currency", "purchase_order", "fees"], "additionalProperties": false }, - "SyncMetadata_xero_accounts": { + "SyncMetadata_xero_banktransactions": { "type": "object", "additionalProperties": false }, @@ -89381,138 +91193,7 @@ ], "additionalProperties": false }, - "SyncMetadata_xero_banktransactions": { - "type": "object", - "additionalProperties": false - }, - "Contact": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] - }, - "address_line_2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "state": { - "type": ["string", "null"] - }, - "phone": { - "type": ["string", "null"] - }, - "subsidiary": { - "type": ["string", "null"] - } - }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], - "additionalProperties": false - }, - "SyncMetadata_xero_contacts": { - "type": "object", - "additionalProperties": false - }, - "CreditNote": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "external_contact_id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "number": { - "type": "string" - }, - "is_taxable": { - "type": "boolean" - }, - "tax_rate_id": { - "type": "string" - }, - "tax_rate": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "reference": { - "type": "string" - }, - "issuing_date": { - "type": ["string", "null"] - }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "item_id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "account_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id"], - "additionalProperties": false - } - } - }, - "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], - "additionalProperties": false - }, - "SyncMetadata_xero_creditnotes": { + "SyncMetadata_xero_generalledger": { "type": "object", "additionalProperties": false }, @@ -89621,118 +91302,7 @@ "required": ["id", "date", "number", "reference", "sourceId", "sourceType", "createdDate", "lines"], "additionalProperties": false }, - "SyncMetadata_xero_generalledger": { - "type": "object", - "additionalProperties": false - }, - "Invoice": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] - }, - "external_contact_id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "id": { - "type": "string" - }, - "issuing_date": { - "type": ["string", "null"] - }, - "payment_due_date": { - "type": ["string", "null"] - }, - "status": { - "type": "string" - }, - "number": { - "type": "string" - }, - "currency": { - "type": "string" - }, - "purchase_order": { - "type": ["string", "null"] - }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account_code": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "discount_amount_cents": { - "type": ["number", "null"] - }, - "discount_rate": { - "type": ["number", "null"] - }, - "item_id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], - "additionalProperties": false - } - } - }, - "required": ["type", "external_contact_id", "id", "issuing_date", "payment_due_date", "status", "currency", "purchase_order", "fees"], - "additionalProperties": false - }, - "SyncMetadata_xero_invoices": { - "type": "object", - "additionalProperties": false - }, - "Item": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "account_code": { - "type": ["string", "null"] - } - }, - "required": ["id", "item_code", "name", "description", "account_code"], - "additionalProperties": false - }, - "SyncMetadata_xero_items": { + "SyncMetadata_xero_organisations": { "type": "object", "additionalProperties": false }, @@ -89951,7 +91521,7 @@ ], "additionalProperties": false }, - "SyncMetadata_xero_organisations": { + "SyncMetadata_xero_payments": { "type": "object", "additionalProperties": false }, @@ -89989,8 +91559,85 @@ "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id"], "additionalProperties": false }, - "SyncMetadata_xero_payments": { + "SyncMetadata_xero_creditnotes": { + "type": "object", + "additionalProperties": false + }, + "CreditNote": { "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "external_contact_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "number": { + "type": "string" + }, + "is_taxable": { + "type": "boolean" + }, + "tax_rate_id": { + "type": "string" + }, + "tax_rate": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "issuing_date": { + "type": ["string", "null"] + }, + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "item_id": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "description": { + "type": ["string", "null"] + }, + "units": { + "type": ["number", "null"] + }, + "precise_unit_amount": { + "type": ["number", "null"] + }, + "account_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "amount_cents": { + "type": ["number", "null"] + }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "required": ["item_id"], + "additionalProperties": false + } + } + }, + "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], "additionalProperties": false }, "ActionInput_xero_createcontact": { @@ -90161,247 +91808,154 @@ "required": ["succeededContacts", "failedContacts"], "additionalProperties": false }, - "ActionInput_xero_createcreditnote": { + "ActionInput_xero_updatecontact": { "type": "object", "properties": { "0": { "type": "object", "properties": { - "id": { + "name": { "type": "string" }, - "type": { + "id": { "type": "string" }, - "external_contact_id": { - "type": "string" + "external_id": { + "type": ["string", "null"] }, - "status": { - "type": "string" + "email": { + "type": ["string", "null"] }, - "number": { - "type": "string" + "tax_number": { + "type": ["string", "null"] }, - "is_taxable": { - "type": "boolean" + "address_line_1": { + "type": ["string", "null"] }, - "tax_rate_id": { - "type": "string" + "address_line_2": { + "type": ["string", "null"] }, - "tax_rate": { - "type": "number" + "city": { + "type": ["string", "null"] }, - "currency": { - "type": "string" + "zip": { + "type": ["string", "null"] }, - "reference": { - "type": "string" + "country": { + "type": ["string", "null"] }, - "issuing_date": { + "state": { "type": ["string", "null"] }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "item_id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "account_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id"], - "additionalProperties": false - } + "phone": { + "type": ["string", "null"] + }, + "subsidiary": { + "type": ["string", "null"] } }, - "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], + "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], "additionalProperties": false } }, "required": ["0"], "additionalProperties": false }, - "ActionOutput_xero_createcreditnote": { + "ActionOutput_xero_updatecontact": { "type": "object", "properties": { - "succeededCreditNotes": { + "succeededContacts": { "type": "array", "items": { "type": "object", "properties": { - "id": { - "type": "string" - }, - "type": { - "type": "string" - }, - "external_contact_id": { - "type": "string" - }, - "status": { - "type": "string" - }, - "number": { - "type": "string" - }, - "is_taxable": { - "type": "boolean" - }, - "tax_rate_id": { - "type": "string" - }, - "tax_rate": { - "type": "number" - }, - "currency": { - "type": "string" - }, - "reference": { + "name": { "type": "string" - }, - "issuing_date": { - "type": ["string", "null"] - }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "item_id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "account_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id"], - "additionalProperties": false - } + }, + "id": { + "type": "string" + }, + "external_id": { + "type": ["string", "null"] + }, + "email": { + "type": ["string", "null"] + }, + "tax_number": { + "type": ["string", "null"] + }, + "address_line_1": { + "type": ["string", "null"] + }, + "address_line_2": { + "type": ["string", "null"] + }, + "city": { + "type": ["string", "null"] + }, + "zip": { + "type": ["string", "null"] + }, + "country": { + "type": ["string", "null"] + }, + "state": { + "type": ["string", "null"] + }, + "phone": { + "type": ["string", "null"] + }, + "subsidiary": { + "type": ["string", "null"] } }, - "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], + "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], "additionalProperties": false } }, - "failedCreditNotes": { + "failedContacts": { "type": "array", "items": { "type": "object", "properties": { - "id": { + "name": { "type": "string" }, - "type": { + "id": { "type": "string" }, - "external_contact_id": { - "type": "string" + "external_id": { + "type": ["string", "null"] }, - "status": { - "type": "string" + "email": { + "type": ["string", "null"] }, - "number": { - "type": "string" + "tax_number": { + "type": ["string", "null"] }, - "is_taxable": { - "type": "boolean" + "address_line_1": { + "type": ["string", "null"] }, - "tax_rate_id": { - "type": "string" + "address_line_2": { + "type": ["string", "null"] }, - "tax_rate": { - "type": "number" + "city": { + "type": ["string", "null"] }, - "currency": { - "type": "string" + "zip": { + "type": ["string", "null"] }, - "reference": { - "type": "string" + "country": { + "type": ["string", "null"] }, - "issuing_date": { + "state": { "type": ["string", "null"] }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "item_id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "account_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id"], - "additionalProperties": false - } + "phone": { + "type": ["string", "null"] + }, + "subsidiary": { + "type": ["string", "null"] }, "validation_errors": { "type": "array", @@ -90409,22 +91963,23 @@ } }, "required": [ + "name", "id", - "type", - "external_contact_id", - "status", - "number", - "currency", - "reference", - "issuing_date", - "fees", + "external_id", + "email", + "tax_number", + "city", + "zip", + "country", + "state", + "phone", "validation_errors" ], "additionalProperties": false } } }, - "required": ["succeededCreditNotes", "failedCreditNotes"], + "required": ["succeededContacts", "failedContacts"], "additionalProperties": false }, "ActionInput_xero_createinvoice": { @@ -90721,408 +92276,268 @@ "required": ["succeededInvoices", "failedInvoices"], "additionalProperties": false }, - "ActionInput_xero_createitem": { + "ActionInput_xero_updateinvoice": { "type": "object", "properties": { "0": { "type": "object", "properties": { - "id": { - "type": "string" + "type": { + "type": "string", + "enum": ["ACCPAY", "ACCREC"] }, - "item_code": { - "type": ["string", "null"] + "external_contact_id": { + "type": "string" }, - "name": { + "url": { "type": "string" }, - "description": { - "type": ["string", "null"] + "id": { + "type": "string" }, - "account_code": { + "issuing_date": { "type": ["string", "null"] - } - }, - "required": ["id", "item_code", "name", "description", "account_code"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, - "ActionOutput_xero_createitem": { - "type": "object", - "properties": { - "succeededItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "account_code": { - "type": ["string", "null"] - } - }, - "required": ["id", "item_code", "name", "description", "account_code"], - "additionalProperties": false - } - }, - "failedItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "name": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "account_code": { - "type": ["string", "null"] - }, - "validation_errors": { - "type": "array", - "items": {} - } }, - "required": ["id", "item_code", "name", "description", "account_code", "validation_errors"], - "additionalProperties": false - } - } - }, - "required": ["succeededItems", "failedItems"], - "additionalProperties": false - }, - "ActionInput_xero_createpayment": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "date": { + "payment_due_date": { "type": ["string", "null"] }, - "amount_cents": { - "type": "number" - }, - "external_contact_id": { - "type": "string" - }, - "account_code": { + "status": { "type": "string" }, - "account_id": { + "number": { "type": "string" }, - "status": { + "currency": { "type": "string" }, - "invoice_id": { - "type": "string" + "purchase_order": { + "type": ["string", "null"] }, - "credit_note_id": { - "type": "string" + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account_code": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "discount_amount_cents": { + "type": ["number", "null"] + }, + "discount_rate": { + "type": ["number", "null"] + }, + "item_id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "units": { + "type": ["number", "null"] + }, + "precise_unit_amount": { + "type": ["number", "null"] + }, + "amount_cents": { + "type": ["number", "null"] + }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "additionalProperties": false + } } }, - "required": ["date", "amount_cents"], + "required": ["id", "fees"], "additionalProperties": false } }, "required": ["0"], "additionalProperties": false }, - "ActionOutput_xero_createpayment": { + "ActionOutput_xero_updateinvoice": { "type": "object", "properties": { - "succeededPayment": { + "succeededInvoices": { "type": "array", "items": { "type": "object", "properties": { - "date": { - "type": ["string", "null"] - }, - "amount_cents": { - "type": "number" + "type": { + "type": "string", + "enum": ["ACCPAY", "ACCREC"] }, "external_contact_id": { "type": "string" }, - "account_code": { - "type": "string" - }, - "account_id": { + "url": { "type": "string" }, "id": { "type": "string" }, - "status": { - "type": "string" - }, - "invoice_id": { + "issuing_date": { "type": ["string", "null"] }, - "credit_note_id": { - "type": ["string", "null"] - } - }, - "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id"], - "additionalProperties": false - } - }, - "failedPayments": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { + "payment_due_date": { "type": ["string", "null"] }, - "amount_cents": { - "type": "number" - }, - "external_contact_id": { - "type": "string" - }, - "account_code": { - "type": "string" - }, - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, "status": { "type": "string" }, - "invoice_id": { - "type": ["string", "null"] - }, - "credit_note_id": { - "type": ["string", "null"] - }, - "validation_errors": { - "type": "array", - "items": {} - } - }, - "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id", "validation_errors"], - "additionalProperties": false - } - } - }, - "required": ["succeededPayment", "failedPayments"], - "additionalProperties": false - }, - "ActionInput_xero_gettenants": { - "type": "null" - }, - "ActionOutput_xero_gettenants": { - "type": "object", - "properties": { - "tenants": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "authEventId": { - "type": "string" - }, - "tenantId": { - "type": "string" - }, - "tenantType": { - "type": "string" - }, - "tenantName": { - "type": "string" - }, - "createdDateUtc": { - "type": "string" - }, - "updatedDateUtc": { - "type": "string" - } - }, - "required": ["id", "authEventId", "tenantId", "tenantType", "tenantName", "createdDateUtc", "updatedDateUtc"], - "additionalProperties": false - } - } - }, - "required": ["tenants"], - "additionalProperties": false - }, - "ActionInput_xero_updatecontact": { - "type": "object", - "properties": { - "0": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "id": { - "type": "string" - }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] - }, - "address_line_2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "state": { - "type": ["string", "null"] - }, - "phone": { - "type": ["string", "null"] - }, - "subsidiary": { - "type": ["string", "null"] - } - }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], - "additionalProperties": false - } - }, - "required": ["0"], - "additionalProperties": false - }, - "ActionOutput_xero_updatecontact": { - "type": "object", - "properties": { - "succeededContacts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { + "number": { "type": "string" }, - "id": { + "currency": { "type": "string" }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] - }, - "address_line_1": { - "type": ["string", "null"] - }, - "address_line_2": { - "type": ["string", "null"] - }, - "city": { - "type": ["string", "null"] - }, - "zip": { - "type": ["string", "null"] - }, - "country": { - "type": ["string", "null"] - }, - "state": { - "type": ["string", "null"] - }, - "phone": { + "purchase_order": { "type": ["string", "null"] }, - "subsidiary": { - "type": ["string", "null"] + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account_code": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "discount_amount_cents": { + "type": ["number", "null"] + }, + "discount_rate": { + "type": ["number", "null"] + }, + "item_id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "units": { + "type": ["number", "null"] + }, + "precise_unit_amount": { + "type": ["number", "null"] + }, + "amount_cents": { + "type": ["number", "null"] + }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], + "additionalProperties": false + } } }, - "required": ["name", "id", "external_id", "email", "tax_number", "city", "zip", "country", "state", "phone"], + "required": [ + "type", + "external_contact_id", + "id", + "issuing_date", + "payment_due_date", + "status", + "currency", + "purchase_order", + "fees" + ], "additionalProperties": false } }, - "failedContacts": { + "failedInvoices": { "type": "array", "items": { "type": "object", "properties": { - "name": { - "type": "string" + "type": { + "type": "string", + "enum": ["ACCPAY", "ACCREC"] }, - "id": { + "external_contact_id": { "type": "string" }, - "external_id": { - "type": ["string", "null"] - }, - "email": { - "type": ["string", "null"] - }, - "tax_number": { - "type": ["string", "null"] + "url": { + "type": "string" }, - "address_line_1": { - "type": ["string", "null"] + "id": { + "type": "string" }, - "address_line_2": { + "issuing_date": { "type": ["string", "null"] }, - "city": { + "payment_due_date": { "type": ["string", "null"] }, - "zip": { - "type": ["string", "null"] + "status": { + "type": "string" }, - "country": { - "type": ["string", "null"] + "number": { + "type": "string" }, - "state": { - "type": ["string", "null"] + "currency": { + "type": "string" }, - "phone": { + "purchase_order": { "type": ["string", "null"] }, - "subsidiary": { - "type": ["string", "null"] + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { + "account_code": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "discount_amount_cents": { + "type": ["number", "null"] + }, + "discount_rate": { + "type": ["number", "null"] + }, + "item_id": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "units": { + "type": ["number", "null"] + }, + "precise_unit_amount": { + "type": ["number", "null"] + }, + "amount_cents": { + "type": ["number", "null"] + }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], + "additionalProperties": false + } }, "validation_errors": { "type": "array", @@ -91130,26 +92545,25 @@ } }, "required": [ - "name", + "type", + "external_contact_id", "id", - "external_id", - "email", - "tax_number", - "city", - "zip", - "country", - "state", - "phone", + "issuing_date", + "payment_due_date", + "status", + "currency", + "purchase_order", + "fees", "validation_errors" ], "additionalProperties": false } } }, - "required": ["succeededContacts", "failedContacts"], + "required": ["succeededInvoices", "failedInvoices"], "additionalProperties": false }, - "ActionInput_xero_updatecreditnote": { + "ActionInput_xero_createcreditnote": { "type": "object", "properties": { "0": { @@ -91233,7 +92647,7 @@ "required": ["0"], "additionalProperties": false }, - "ActionOutput_xero_updatecreditnote": { + "ActionOutput_xero_createcreditnote": { "type": "object", "properties": { "succeededCreditNotes": { @@ -91415,41 +92829,43 @@ "required": ["succeededCreditNotes", "failedCreditNotes"], "additionalProperties": false }, - "ActionInput_xero_updateinvoice": { + "ActionInput_xero_updatecreditnote": { "type": "object", "properties": { "0": { "type": "object", "properties": { + "id": { + "type": "string" + }, "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] + "type": "string" }, "external_contact_id": { "type": "string" }, - "url": { + "status": { "type": "string" }, - "id": { + "number": { "type": "string" }, - "issuing_date": { - "type": ["string", "null"] - }, - "payment_due_date": { - "type": ["string", "null"] + "is_taxable": { + "type": "boolean" }, - "status": { + "tax_rate_id": { "type": "string" }, - "number": { - "type": "string" + "tax_rate": { + "type": "number" }, "currency": { "type": "string" }, - "purchase_order": { + "reference": { + "type": "string" + }, + "issuing_date": { "type": ["string", "null"] }, "fees": { @@ -91457,24 +92873,12 @@ "items": { "type": "object", "properties": { - "account_code": { + "item_id": { "type": "string" }, "item_code": { "type": ["string", "null"] }, - "account_external_id": { - "type": ["string", "null"] - }, - "discount_amount_cents": { - "type": ["number", "null"] - }, - "discount_rate": { - "type": ["number", "null"] - }, - "item_id": { - "type": "string" - }, "description": { "type": ["string", "null"] }, @@ -91484,6 +92888,12 @@ "precise_unit_amount": { "type": ["number", "null"] }, + "account_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, "amount_cents": { "type": ["number", "null"] }, @@ -91491,54 +92901,57 @@ "type": ["number", "null"] } }, + "required": ["item_id"], "additionalProperties": false } } }, - "required": ["id", "fees"], + "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], "additionalProperties": false } }, "required": ["0"], "additionalProperties": false }, - "ActionOutput_xero_updateinvoice": { + "ActionOutput_xero_updatecreditnote": { "type": "object", "properties": { - "succeededInvoices": { + "succeededCreditNotes": { "type": "array", "items": { "type": "object", "properties": { + "id": { + "type": "string" + }, "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] + "type": "string" }, "external_contact_id": { "type": "string" }, - "url": { + "status": { "type": "string" }, - "id": { + "number": { "type": "string" }, - "issuing_date": { - "type": ["string", "null"] - }, - "payment_due_date": { - "type": ["string", "null"] + "is_taxable": { + "type": "boolean" }, - "status": { + "tax_rate_id": { "type": "string" }, - "number": { - "type": "string" + "tax_rate": { + "type": "number" }, "currency": { "type": "string" }, - "purchase_order": { + "reference": { + "type": "string" + }, + "issuing_date": { "type": ["string", "null"] }, "fees": { @@ -91546,24 +92959,92 @@ "items": { "type": "object", "properties": { - "account_code": { + "item_id": { "type": "string" }, "item_code": { "type": ["string", "null"] }, - "account_external_id": { + "description": { "type": ["string", "null"] }, - "discount_amount_cents": { + "units": { "type": ["number", "null"] }, - "discount_rate": { + "precise_unit_amount": { + "type": ["number", "null"] + }, + "account_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, + "amount_cents": { "type": ["number", "null"] }, + "taxes_amount_cents": { + "type": ["number", "null"] + } + }, + "required": ["item_id"], + "additionalProperties": false + } + } + }, + "required": ["id", "type", "external_contact_id", "status", "number", "currency", "reference", "issuing_date", "fees"], + "additionalProperties": false + } + }, + "failedCreditNotes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string" + }, + "external_contact_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "number": { + "type": "string" + }, + "is_taxable": { + "type": "boolean" + }, + "tax_rate_id": { + "type": "string" + }, + "tax_rate": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "reference": { + "type": "string" + }, + "issuing_date": { + "type": ["string", "null"] + }, + "fees": { + "type": "array", + "items": { + "type": "object", + "properties": { "item_id": { "type": "string" }, + "item_code": { + "type": ["string", "null"] + }, "description": { "type": ["string", "null"] }, @@ -91573,6 +93054,12 @@ "precise_unit_amount": { "type": ["number", "null"] }, + "account_code": { + "type": ["string", "null"] + }, + "account_external_id": { + "type": ["string", "null"] + }, "amount_cents": { "type": ["number", "null"] }, @@ -91580,126 +93067,286 @@ "type": ["number", "null"] } }, - "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], + "required": ["item_id"], "additionalProperties": false } + }, + "validation_errors": { + "type": "array", + "items": {} + } + }, + "required": [ + "id", + "type", + "external_contact_id", + "status", + "number", + "currency", + "reference", + "issuing_date", + "fees", + "validation_errors" + ], + "additionalProperties": false + } + } + }, + "required": ["succeededCreditNotes", "failedCreditNotes"], + "additionalProperties": false + }, + "ActionInput_xero_createpayment": { + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "date": { + "type": ["string", "null"] + }, + "amount_cents": { + "type": "number" + }, + "external_contact_id": { + "type": "string" + }, + "account_code": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "invoice_id": { + "type": "string" + }, + "credit_note_id": { + "type": "string" + } + }, + "required": ["date", "amount_cents"], + "additionalProperties": false + } + }, + "required": ["0"], + "additionalProperties": false + }, + "ActionOutput_xero_createpayment": { + "type": "object", + "properties": { + "succeededPayment": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": ["string", "null"] + }, + "amount_cents": { + "type": "number" + }, + "external_contact_id": { + "type": "string" + }, + "account_code": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "invoice_id": { + "type": ["string", "null"] + }, + "credit_note_id": { + "type": ["string", "null"] + } + }, + "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id"], + "additionalProperties": false + } + }, + "failedPayments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": ["string", "null"] + }, + "amount_cents": { + "type": "number" + }, + "external_contact_id": { + "type": "string" + }, + "account_code": { + "type": "string" + }, + "account_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "invoice_id": { + "type": ["string", "null"] + }, + "credit_note_id": { + "type": ["string", "null"] + }, + "validation_errors": { + "type": "array", + "items": {} + } + }, + "required": ["date", "amount_cents", "id", "status", "invoice_id", "credit_note_id", "validation_errors"], + "additionalProperties": false + } + } + }, + "required": ["succeededPayment", "failedPayments"], + "additionalProperties": false + }, + "ActionInput_xero_createitem": { + "type": "object", + "properties": { + "0": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "account_code": { + "type": ["string", "null"] + } + }, + "required": ["id", "item_code", "name", "description", "account_code"], + "additionalProperties": false + } + }, + "required": ["0"], + "additionalProperties": false + }, + "ActionOutput_xero_createitem": { + "type": "object", + "properties": { + "succeededItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "item_code": { + "type": ["string", "null"] + }, + "name": { + "type": "string" + }, + "description": { + "type": ["string", "null"] + }, + "account_code": { + "type": ["string", "null"] } }, - "required": [ - "type", - "external_contact_id", - "id", - "issuing_date", - "payment_due_date", - "status", - "currency", - "purchase_order", - "fees" - ], + "required": ["id", "item_code", "name", "description", "account_code"], "additionalProperties": false } }, - "failedInvoices": { + "failedItems": { "type": "array", "items": { "type": "object", "properties": { - "type": { - "type": "string", - "enum": ["ACCPAY", "ACCREC"] - }, - "external_contact_id": { + "id": { "type": "string" }, - "url": { - "type": "string" + "item_code": { + "type": ["string", "null"] }, - "id": { + "name": { "type": "string" }, - "issuing_date": { + "description": { "type": ["string", "null"] }, - "payment_due_date": { + "account_code": { "type": ["string", "null"] }, - "status": { + "validation_errors": { + "type": "array", + "items": {} + } + }, + "required": ["id", "item_code", "name", "description", "account_code", "validation_errors"], + "additionalProperties": false + } + } + }, + "required": ["succeededItems", "failedItems"], + "additionalProperties": false + }, + "ActionInput_xero_gettenants": { + "type": "null" + }, + "ActionOutput_xero_gettenants": { + "type": "object", + "properties": { + "tenants": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { "type": "string" }, - "number": { + "authEventId": { "type": "string" }, - "currency": { + "tenantId": { "type": "string" }, - "purchase_order": { - "type": ["string", "null"] + "tenantType": { + "type": "string" }, - "fees": { - "type": "array", - "items": { - "type": "object", - "properties": { - "account_code": { - "type": "string" - }, - "item_code": { - "type": ["string", "null"] - }, - "account_external_id": { - "type": ["string", "null"] - }, - "discount_amount_cents": { - "type": ["number", "null"] - }, - "discount_rate": { - "type": ["number", "null"] - }, - "item_id": { - "type": "string" - }, - "description": { - "type": ["string", "null"] - }, - "units": { - "type": ["number", "null"] - }, - "precise_unit_amount": { - "type": ["number", "null"] - }, - "amount_cents": { - "type": ["number", "null"] - }, - "taxes_amount_cents": { - "type": ["number", "null"] - } - }, - "required": ["item_id", "description", "units", "precise_unit_amount", "amount_cents", "taxes_amount_cents"], - "additionalProperties": false - } + "tenantName": { + "type": "string" }, - "validation_errors": { - "type": "array", - "items": {} + "createdDateUtc": { + "type": "string" + }, + "updatedDateUtc": { + "type": "string" } }, - "required": [ - "type", - "external_contact_id", - "id", - "issuing_date", - "payment_due_date", - "status", - "currency", - "purchase_order", - "fees", - "validation_errors" - ], + "required": ["id", "authEventId", "tenantId", "tenantType", "tenantName", "createdDateUtc", "updatedDateUtc"], "additionalProperties": false } } }, - "required": ["succeededInvoices", "failedInvoices"], + "required": ["tenants"], "additionalProperties": false }, "ActionInput_xero_updateitem": { @@ -91792,9 +93439,10 @@ "required": ["succeededItems", "failedItems"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -91802,17 +93450,30 @@ "actions": [ { "type": "action", - "description": "Create a category within the help center", + "description": "Fetch all help center articles metadata", "endpoint": { - "method": "POST", - "path": "/categories", - "group": "Categories" + "method": "GET", + "path": "/all-articles" }, - "input": "ActionInput_zendesk_createcategory", - "name": "create-category", - "output": ["ActionOutput_zendesk_createcategory"], - "scopes": ["hc:write"], - "usedModels": ["ActionInput_zendesk_createcategory", "ActionOutput_zendesk_createcategory"], + "input": "ActionInput_zendesk_fetcharticles", + "name": "fetch-articles", + "output": ["ActionOutput_zendesk_fetcharticles"], + "scopes": ["hc:read"], + "usedModels": ["ActionInput_zendesk_fetcharticles", "ActionOutput_zendesk_fetcharticles"], + "version": "2.0.0" + }, + { + "type": "action", + "description": "Fetch a single full help center article", + "endpoint": { + "method": "GET", + "path": "/single-article" + }, + "input": "ActionInput_zendesk_fetcharticle", + "name": "fetch-article", + "output": ["ActionOutput_zendesk_fetcharticle"], + "scopes": ["hc:read"], + "usedModels": ["ActionInput_zendesk_fetcharticle", "ActionOutput_zendesk_fetcharticle"], "version": "1.0.0" }, { @@ -91830,6 +93491,21 @@ "usedModels": ["ActionInput_zendesk_createsection", "ActionOutput_zendesk_createsection"], "version": "1.0.0" }, + { + "type": "action", + "description": "Create a category within the help center", + "endpoint": { + "method": "POST", + "path": "/categories", + "group": "Categories" + }, + "input": "ActionInput_zendesk_createcategory", + "name": "create-category", + "output": ["ActionOutput_zendesk_createcategory"], + "scopes": ["hc:write"], + "usedModels": ["ActionInput_zendesk_createcategory", "ActionOutput_zendesk_createcategory"], + "version": "1.0.0" + }, { "type": "action", "description": "Create a Zendesk ticket", @@ -91845,21 +93521,6 @@ "usedModels": ["ActionInput_zendesk_createticket", "ActionOutput_zendesk_createticket"], "version": "2.0.0" }, - { - "type": "action", - "description": "Create an admin or agent user in Zendesk. Defaults to agent if a role is not provided", - "endpoint": { - "method": "POST", - "path": "/users", - "group": "Users" - }, - "input": "ActionInput_zendesk_createuser", - "name": "create-user", - "output": ["ActionOutput_zendesk_createuser"], - "scopes": ["users:write"], - "usedModels": ["ActionInput_zendesk_createuser", "ActionOutput_zendesk_createuser"], - "version": "1.0.0" - }, { "type": "action", "description": "Delete a user in Zendesk", @@ -91877,32 +93538,19 @@ }, { "type": "action", - "description": "Fetch a single full help center article", + "description": "Create an admin or agent user in Zendesk. Defaults to agent if a role is not provided", "endpoint": { - "method": "GET", - "path": "/single-article" + "method": "POST", + "path": "/users", + "group": "Users" }, - "input": "ActionInput_zendesk_fetcharticle", - "name": "fetch-article", - "output": ["ActionOutput_zendesk_fetcharticle"], - "scopes": ["hc:read"], - "usedModels": ["ActionInput_zendesk_fetcharticle", "ActionOutput_zendesk_fetcharticle"], + "input": "ActionInput_zendesk_createuser", + "name": "create-user", + "output": ["ActionOutput_zendesk_createuser"], + "scopes": ["users:write"], + "usedModels": ["ActionInput_zendesk_createuser", "ActionOutput_zendesk_createuser"], "version": "1.0.0" }, - { - "type": "action", - "description": "Fetch all help center articles metadata", - "endpoint": { - "method": "GET", - "path": "/all-articles" - }, - "input": "ActionInput_zendesk_fetcharticles", - "name": "fetch-articles", - "output": ["ActionOutput_zendesk_fetcharticles"], - "scopes": ["hc:read"], - "usedModels": ["ActionInput_zendesk_fetcharticles", "ActionOutput_zendesk_fetcharticles"], - "version": "2.0.0" - }, { "type": "action", "description": "An action that performs a search for tickets in Zendesk based on the specified filter. It can take up to a few minutes for new tickets and users to be indexed for search. If new resources don't appear in your search results, wait a few minutes and try again.", @@ -91921,285 +93569,122 @@ "syncs": [ { "type": "sync", - "description": "Fetches a list of articles in Help center from Zendesk", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/articles" - } - ], - "input": "SyncMetadata_zendesk_articles", - "name": "articles", - "output": ["Article"], - "runs": "every 6 hours", - "scopes": ["hc:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Article", "SyncMetadata_zendesk_articles"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of help center categories", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/categories", - "group": "Categories" - } - ], - "input": "SyncMetadata_zendesk_categories", - "name": "categories", - "output": ["Category"], - "runs": "every 6 hours", - "scopes": ["hc:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Category", "SyncMetadata_zendesk_categories"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of sections in Help center from Zendesk", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/sections", - "group": "Sections" - } - ], - "input": "SyncMetadata_zendesk_sections", - "name": "sections", - "output": ["Section"], - "runs": "every 6 hours", - "scopes": ["hc:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["Section", "SyncMetadata_zendesk_sections"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of tickets from Zendesk", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/tickets", - "group": "Tickets" - } - ], - "input": "SyncMetadata_zendesk_tickets", - "name": "tickets", - "output": ["Ticket"], - "runs": "every 1 hour", - "scopes": ["tickets:read"], - "sync_type": "incremental", - "track_deletes": false, - "usedModels": ["Ticket", "SyncMetadata_zendesk_tickets"], - "version": "2.0.0", - "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of admin or agent users from Zendesk", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users" - } - ], - "input": "SyncMetadata_zendesk_users", - "name": "users", - "output": ["User"], - "runs": "every 6 hours", - "scopes": ["users:read"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_zendesk_users"], - "version": "2.0.0", - "webhookSubscriptions": [] - } - ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "Article": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "user_segment_id": { - "type": ["number", "null"] - }, - "permission_group_id": { - "type": "number" - }, - "author_id": { - "type": "number" - }, - "body": { - "type": "string" - }, - "comments_disabled": { - "type": "boolean" - }, - "content_tag_ids": { - "type": "array", - "items": { - "type": "number" - } - }, - "created_at": { - "type": "string" - }, - "draft": { - "type": "boolean" - }, - "edited_at": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "outdated": { - "type": "boolean" - }, - "outdated_locales": { - "type": "array", - "items": { - "type": "string" - } - }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" - }, - "section_id": { - "type": "number" - }, - "source_locale": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "vote_count": { - "type": "number" - }, - "vote_sum": { - "type": "number" - } - }, - "required": [ - "title", - "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", - "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", - "updated_at", - "vote_count", - "vote_sum" - ], - "additionalProperties": false - }, - "SyncMetadata_zendesk_articles": { - "type": "object", - "additionalProperties": false - }, - "Category": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "required": ["id", "url", "name", "description"], - "additionalProperties": false - }, - "SyncMetadata_zendesk_categories": { - "type": "object", - "additionalProperties": false - }, - "Section": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "category_id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "required": ["id", "url", "category_id", "name", "description"], - "additionalProperties": false - }, - "SyncMetadata_zendesk_sections": { + "description": "Fetches a list of tickets from Zendesk", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/tickets", + "group": "Tickets" + } + ], + "input": "SyncMetadata_zendesk_tickets", + "name": "tickets", + "output": ["Ticket"], + "runs": "every 1 hour", + "scopes": ["tickets:read"], + "sync_type": "incremental", + "track_deletes": false, + "usedModels": ["Ticket", "SyncMetadata_zendesk_tickets"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of articles in Help center from Zendesk", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/articles" + } + ], + "input": "SyncMetadata_zendesk_articles", + "name": "articles", + "output": ["Article"], + "runs": "every 6 hours", + "scopes": ["hc:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Article", "SyncMetadata_zendesk_articles"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of help center categories", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/categories", + "group": "Categories" + } + ], + "input": "SyncMetadata_zendesk_categories", + "name": "categories", + "output": ["Category"], + "runs": "every 6 hours", + "scopes": ["hc:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Category", "SyncMetadata_zendesk_categories"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of sections in Help center from Zendesk", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/sections", + "group": "Sections" + } + ], + "input": "SyncMetadata_zendesk_sections", + "name": "sections", + "output": ["Section"], + "runs": "every 6 hours", + "scopes": ["hc:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["Section", "SyncMetadata_zendesk_sections"], + "version": "2.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of admin or agent users from Zendesk", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users" + } + ], + "input": "SyncMetadata_zendesk_users", + "name": "users", + "output": ["User"], + "runs": "every 6 hours", + "scopes": ["users:read"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_zendesk_users"], + "version": "2.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_zendesk_tickets": { "type": "object", "additionalProperties": false }, @@ -92528,7 +94013,173 @@ ], "additionalProperties": false }, - "SyncMetadata_zendesk_tickets": { + "SyncMetadata_zendesk_articles": { + "type": "object", + "additionalProperties": false + }, + "Article": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "user_segment_id": { + "type": ["number", "null"] + }, + "permission_group_id": { + "type": "number" + }, + "author_id": { + "type": "number" + }, + "body": { + "type": "string" + }, + "comments_disabled": { + "type": "boolean" + }, + "content_tag_ids": { + "type": "array", + "items": { + "type": "number" + } + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "edited_at": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "label_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "outdated": { + "type": "boolean" + }, + "outdated_locales": { + "type": "array", + "items": { + "type": "string" + } + }, + "position": { + "type": "number" + }, + "promoted": { + "type": "boolean" + }, + "section_id": { + "type": "number" + }, + "source_locale": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vote_count": { + "type": "number" + }, + "vote_sum": { + "type": "number" + } + }, + "required": [ + "title", + "id", + "url", + "locale", + "user_segment_id", + "permission_group_id", + "author_id", + "body", + "comments_disabled", + "content_tag_ids", + "created_at", + "draft", + "edited_at", + "html_url", + "label_names", + "outdated", + "outdated_locales", + "position", + "promoted", + "section_id", + "source_locale", + "updated_at", + "vote_count", + "vote_sum" + ], + "additionalProperties": false + }, + "SyncMetadata_zendesk_categories": { + "type": "object", + "additionalProperties": false + }, + "Category": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": ["id", "url", "name", "description"], + "additionalProperties": false + }, + "SyncMetadata_zendesk_sections": { + "type": "object", + "additionalProperties": false + }, + "Section": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "category_id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": ["id", "url", "category_id", "name", "description"], + "additionalProperties": false + }, + "SyncMetadata_zendesk_users": { "type": "object", "additionalProperties": false }, @@ -92551,14 +94202,172 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_zendesk_users": { + "ActionInput_zendesk_fetcharticles": { + "type": "null" + }, + "ActionOutput_zendesk_fetcharticles": { "type": "object", + "properties": { + "articles": { + "type": "array", + "items": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "id": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": ["title", "id", "url"], + "additionalProperties": false + } + } + }, + "required": ["articles"], "additionalProperties": false }, - "ActionInput_zendesk_createcategory": { + "ActionInput_zendesk_fetcharticle": { "type": "object", "properties": { - "category": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_zendesk_fetcharticle": { + "type": "object", + "properties": { + "article": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "user_segment_id": { + "type": ["number", "null"] + }, + "permission_group_id": { + "type": "number" + }, + "author_id": { + "type": "number" + }, + "body": { + "type": "string" + }, + "comments_disabled": { + "type": "boolean" + }, + "content_tag_ids": { + "type": "array", + "items": { + "type": "number" + } + }, + "created_at": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "edited_at": { + "type": "string" + }, + "html_url": { + "type": "string" + }, + "label_names": { + "type": "array", + "items": { + "type": "string" + } + }, + "outdated": { + "type": "boolean" + }, + "outdated_locales": { + "type": "array", + "items": { + "type": "string" + } + }, + "position": { + "type": "number" + }, + "promoted": { + "type": "boolean" + }, + "section_id": { + "type": "number" + }, + "source_locale": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "vote_count": { + "type": "number" + }, + "vote_sum": { + "type": "number" + } + }, + "required": [ + "title", + "id", + "url", + "locale", + "user_segment_id", + "permission_group_id", + "author_id", + "body", + "comments_disabled", + "content_tag_ids", + "created_at", + "draft", + "edited_at", + "html_url", + "label_names", + "outdated", + "outdated_locales", + "position", + "promoted", + "section_id", + "source_locale", + "updated_at", + "vote_count", + "vote_sum" + ], + "additionalProperties": false + } + }, + "required": ["article"], + "additionalProperties": false + }, + "ActionInput_zendesk_createsection": { + "type": "object", + "properties": { + "category_id": { + "type": "number" + }, + "section": { "type": "object", "properties": { "name": { @@ -92572,10 +94381,10 @@ "additionalProperties": false } }, - "required": ["category"], + "required": ["category_id", "section"], "additionalProperties": false }, - "ActionOutput_zendesk_createcategory": { + "ActionOutput_zendesk_createsection": { "type": "object", "properties": { "id": { @@ -92584,6 +94393,9 @@ "url": { "type": "string" }, + "category_id": { + "type": "number" + }, "name": { "type": "string" }, @@ -92591,16 +94403,13 @@ "type": "string" } }, - "required": ["id", "url", "name", "description"], + "required": ["id", "url", "category_id", "name", "description"], "additionalProperties": false }, - "ActionInput_zendesk_createsection": { + "ActionInput_zendesk_createcategory": { "type": "object", "properties": { - "category_id": { - "type": "number" - }, - "section": { + "category": { "type": "object", "properties": { "name": { @@ -92614,10 +94423,10 @@ "additionalProperties": false } }, - "required": ["category_id", "section"], + "required": ["category"], "additionalProperties": false }, - "ActionOutput_zendesk_createsection": { + "ActionOutput_zendesk_createcategory": { "type": "object", "properties": { "id": { @@ -92626,9 +94435,6 @@ "url": { "type": "string" }, - "category_id": { - "type": "number" - }, "name": { "type": "string" }, @@ -92636,7 +94442,7 @@ "type": "string" } }, - "required": ["id", "url", "category_id", "name", "description"], + "required": ["id", "url", "name", "description"], "additionalProperties": false }, "ActionInput_zendesk_createticket": { @@ -92720,45 +94526,6 @@ "required": ["id", "url", "created_at", "updated_at", "subject", "description", "priority", "status"], "additionalProperties": false }, - "ActionInput_zendesk_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "role": { - "type": "string", - "enum": ["admin", "agent"] - } - }, - "required": ["firstName", "lastName", "email"], - "additionalProperties": false - }, - "ActionOutput_zendesk_createuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, "ActionInput_zendesk_deleteuser": { "type": "object", "properties": { @@ -92779,163 +94546,54 @@ "required": ["success"], "additionalProperties": false }, - "ActionInput_zendesk_fetcharticle": { + "ActionInput_zendesk_createuser": { "type": "object", "properties": { - "id": { + "firstName": { "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "role": { + "type": "string", + "enum": ["admin", "agent"] } }, - "required": ["id"], + "required": ["firstName", "lastName", "email"], "additionalProperties": false }, - "ActionOutput_zendesk_fetcharticle": { + "ActionOutput_zendesk_createuser": { "type": "object", "properties": { - "article": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "user_fields": { "type": "object", - "properties": { - "title": { - "type": "string" - }, - "id": { - "type": "string" - }, - "url": { - "type": "string" - }, - "locale": { - "type": "string" - }, - "user_segment_id": { - "type": ["number", "null"] - }, - "permission_group_id": { - "type": "number" - }, - "author_id": { - "type": "number" - }, - "body": { - "type": "string" - }, - "comments_disabled": { - "type": "boolean" - }, - "content_tag_ids": { - "type": "array", - "items": { - "type": "number" - } - }, - "created_at": { - "type": "string" - }, - "draft": { - "type": "boolean" - }, - "edited_at": { - "type": "string" - }, - "html_url": { - "type": "string" - }, - "label_names": { - "type": "array", - "items": { - "type": "string" - } - }, - "outdated": { - "type": "boolean" - }, - "outdated_locales": { - "type": "array", - "items": { - "type": "string" - } - }, - "position": { - "type": "number" - }, - "promoted": { - "type": "boolean" - }, - "section_id": { - "type": "number" - }, - "source_locale": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "vote_count": { - "type": "number" - }, - "vote_sum": { - "type": "number" - } - }, - "required": [ - "title", - "id", - "url", - "locale", - "user_segment_id", - "permission_group_id", - "author_id", - "body", - "comments_disabled", - "content_tag_ids", - "created_at", - "draft", - "edited_at", - "html_url", - "label_names", - "outdated", - "outdated_locales", - "position", - "promoted", - "section_id", - "source_locale", - "updated_at", - "vote_count", - "vote_sum" - ], - "additionalProperties": false - } - }, - "required": ["article"], - "additionalProperties": false - }, - "ActionInput_zendesk_fetcharticles": { - "type": "null" - }, - "ActionOutput_zendesk_fetcharticles": { - "type": "object", - "properties": { - "articles": { - "type": "array", - "items": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "id": { - "type": "string" - }, - "url": { - "type": "string" + "additionalProperties": { + "anyOf": [ + {}, + { + "not": {} } - }, - "required": ["title", "id", "url"], - "additionalProperties": false + ] } } }, - "required": ["articles"], + "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, "ActionInput_zendesk_searchtickets": { @@ -93033,9 +94691,10 @@ "required": ["tickets"], "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { @@ -93113,8 +94772,11 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_zoho_crm_accounts": { + "type": "object", + "additionalProperties": false + }, "ZohoCRMAccount": { "type": "object", "properties": { @@ -93405,7 +95067,7 @@ ], "additionalProperties": false }, - "SyncMetadata_zoho_crm_accounts": { + "SyncMetadata_zoho_crm_contacts": { "type": "object", "additionalProperties": false }, @@ -93761,7 +95423,7 @@ ], "additionalProperties": false }, - "SyncMetadata_zoho_crm_contacts": { + "SyncMetadata_zoho_crm_deals": { "type": "object", "additionalProperties": false }, @@ -94036,33 +95698,16 @@ "$approval_state" ], "additionalProperties": false - }, - "SyncMetadata_zoho_crm_deals": { - "type": "object", - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "zoho-mail", "actions": [ - { - "type": "action", - "description": "An action to add a user to the organization in zoho mail", - "endpoint": { - "method": "POST", - "path": "/zoho-mail/add-user" - }, - "input": "ActionInput_zoho_mail_adduser", - "name": "add-user", - "output": ["ActionOutput_zoho_mail_adduser"], - "scopes": ["ZohoMail.organization.accounts.CREATE"], - "usedModels": ["ActionInput_zoho_mail_adduser", "ActionOutput_zoho_mail_adduser"], - "version": "1.0.0" - }, { "type": "action", "description": "An action to send an email in zoho mail", @@ -94076,146 +95721,75 @@ "scopes": ["ZohoMail.messages.CREATE"], "usedModels": ["ActionInput_zoho_mail_sendemail", "ActionOutput_zoho_mail_sendemail"], "version": "1.0.0" - } - ], - "syncs": [ - { - "type": "sync", - "description": "Fetches a list of all your account's emails in Zoho mail", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/zoho-mail/emails" - } - ], - "input": "SyncMetadata_zoho_mail_emails", - "name": "emails", - "output": ["ZohoMailEmail"], - "runs": "every 6 hours", - "scopes": ["ZohoMail.messages.READ"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["ZohoMailEmail", "SyncMetadata_zoho_mail_emails"], - "version": "1.0.0", - "webhookSubscriptions": [] }, { - "type": "sync", - "description": "Fetches a list of all your personal tasks in Zoho mail", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/zoho-mail/tasks" - } - ], - "input": "SyncMetadata_zoho_mail_tasks", - "name": "tasks", - "output": ["ZohoMailTask"], - "runs": "every 6 hours", - "scopes": ["ZohoMail.tasks.READ"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["ZohoMailTask", "SyncMetadata_zoho_mail_tasks"], - "version": "1.0.0", - "webhookSubscriptions": [] + "type": "action", + "description": "An action to add a user to the organization in zoho mail", + "endpoint": { + "method": "POST", + "path": "/zoho-mail/add-user" + }, + "input": "ActionInput_zoho_mail_adduser", + "name": "add-user", + "output": ["ActionOutput_zoho_mail_adduser"], + "scopes": ["ZohoMail.organization.accounts.CREATE"], + "usedModels": ["ActionInput_zoho_mail_adduser", "ActionOutput_zoho_mail_adduser"], + "version": "1.0.0" } ], - "onEventScripts": { - "post-connection-creation": [], - "pre-connection-deletion": [], - "validate-connection": [] - }, - "jsonSchema": { - "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", - "definitions": { - "ZohoMailEmail": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "summary": { - "type": "string" - }, - "sentDateInGMT": { - "type": "string" - }, - "calendarType": { - "type": "number" - }, - "subject": { - "type": "string" - }, - "messageId": { - "type": "string" - }, - "flagid": { - "type": "string" - }, - "status2": { - "type": "string" - }, - "priority": { - "type": "string" - }, - "hasInline": { - "type": "string" - }, - "toAddress": { - "type": "string" - }, - "folderId": { - "type": "string" - }, - "ccAddress": { - "type": "string" - }, - "hasAttachment": { - "type": "string" - }, - "size": { - "type": "string" - }, - "sender": { - "type": "string" - }, - "receivedTime": { - "type": "string" - }, - "fromAddress": { - "type": "string" - }, - "status": { - "type": "string" - } - }, - "required": [ - "id", - "summary", - "sentDateInGMT", - "calendarType", - "subject", - "messageId", - "flagid", - "status2", - "priority", - "hasInline", - "toAddress", - "folderId", - "ccAddress", - "hasAttachment", - "size", - "sender", - "receivedTime", - "fromAddress", - "status" - ], - "additionalProperties": false - }, - "SyncMetadata_zoho_mail_emails": { + "syncs": [ + { + "type": "sync", + "description": "Fetches a list of all your personal tasks in Zoho mail", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/zoho-mail/tasks" + } + ], + "input": "SyncMetadata_zoho_mail_tasks", + "name": "tasks", + "output": ["ZohoMailTask"], + "runs": "every 6 hours", + "scopes": ["ZohoMail.tasks.READ"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["ZohoMailTask", "SyncMetadata_zoho_mail_tasks"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, + { + "type": "sync", + "description": "Fetches a list of all your account's emails in Zoho mail", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/zoho-mail/emails" + } + ], + "input": "SyncMetadata_zoho_mail_emails", + "name": "emails", + "output": ["ZohoMailEmail"], + "runs": "every 6 hours", + "scopes": ["ZohoMail.messages.READ"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["ZohoMailEmail", "SyncMetadata_zoho_mail_emails"], + "version": "1.0.0", + "webhookSubscriptions": [] + } + ], + "onEventScripts": { + "post-connection-creation": [], + "pre-connection-deletion": [], + "validate-connection": [] + }, + "jsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "SyncMetadata_zoho_mail_tasks": { "type": "object", "additionalProperties": false }, @@ -94382,76 +95956,94 @@ ], "additionalProperties": false }, - "SyncMetadata_zoho_mail_tasks": { + "SyncMetadata_zoho_mail_emails": { "type": "object", "additionalProperties": false }, - "ActionInput_zoho_mail_adduser": { + "ZohoMailEmail": { "type": "object", "properties": { - "zoid": { + "id": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "sentDateInGMT": { + "type": "string" + }, + "calendarType": { "type": "number" }, - "primaryEmailAddress": { + "subject": { "type": "string" }, - "password": { + "messageId": { "type": "string" }, - "displayName": { + "flagid": { "type": "string" }, - "role": { + "status2": { "type": "string" }, - "country": { + "priority": { "type": "string" }, - "language": { + "hasInline": { "type": "string" }, - "timeZone": { + "toAddress": { "type": "string" }, - "oneTimePassword": { - "type": "boolean" + "folderId": { + "type": "string" }, - "groupMailList": { - "type": "array", - "items": { - "type": "string" - } + "ccAddress": { + "type": "string" + }, + "hasAttachment": { + "type": "string" + }, + "size": { + "type": "string" + }, + "sender": { + "type": "string" + }, + "receivedTime": { + "type": "string" + }, + "fromAddress": { + "type": "string" + }, + "status": { + "type": "string" } }, "required": [ - "zoid", - "primaryEmailAddress", - "password", - "displayName", - "role", - "country", - "language", - "timeZone", - "oneTimePassword", - "groupMailList" + "id", + "summary", + "sentDateInGMT", + "calendarType", + "subject", + "messageId", + "flagid", + "status2", + "priority", + "hasInline", + "toAddress", + "folderId", + "ccAddress", + "hasAttachment", + "size", + "sender", + "receivedTime", + "fromAddress", + "status" ], "additionalProperties": false }, - "ActionOutput_zoho_mail_adduser": { - "type": "object", - "properties": { - "status": { - "type": "object", - "additionalProperties": false - }, - "data": { - "type": "object", - "additionalProperties": false - } - }, - "required": ["status", "data"], - "additionalProperties": false - }, "ActionInput_zoho_mail_sendemail": { "type": "object", "properties": { @@ -94500,30 +96092,82 @@ }, "required": ["status", "data"], "additionalProperties": false + }, + "ActionInput_zoho_mail_adduser": { + "type": "object", + "properties": { + "zoid": { + "type": "number" + }, + "primaryEmailAddress": { + "type": "string" + }, + "password": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "role": { + "type": "string" + }, + "country": { + "type": "string" + }, + "language": { + "type": "string" + }, + "timeZone": { + "type": "string" + }, + "oneTimePassword": { + "type": "boolean" + }, + "groupMailList": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "zoid", + "primaryEmailAddress", + "password", + "displayName", + "role", + "country", + "language", + "timeZone", + "oneTimePassword", + "groupMailList" + ], + "additionalProperties": false + }, + "ActionOutput_zoho_mail_adduser": { + "type": "object", + "properties": { + "status": { + "type": "object", + "additionalProperties": false + }, + "data": { + "type": "object", + "additionalProperties": false + } + }, + "required": ["status", "data"], + "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null }, { "providerConfigKey": "zoom", "actions": [ - { - "type": "action", - "description": "Creates a meeting in Zoom.", - "endpoint": { - "method": "POST", - "path": "/meetings", - "group": "Meetings" - }, - "input": "ActionInput_zoom_createmeeting", - "name": "create-meeting", - "output": ["ActionOutput_zoom_createmeeting"], - "scopes": ["meeting:write"], - "usedModels": ["ActionInput_zoom_createmeeting", "ActionOutput_zoom_createmeeting"], - "version": "1.0.0" - }, { "type": "action", "description": "Creates a user in Zoom. Requires Pro account or higher", @@ -94541,17 +96185,17 @@ }, { "type": "action", - "description": "Deletes a meeting in Zoom", + "description": "Fetch current user information", "endpoint": { - "method": "DELETE", - "path": "/meetings", - "group": "Meetings" + "method": "GET", + "path": "/whoami", + "group": "Users" }, - "input": "ActionInput_zoom_deletemeeting", - "name": "delete-meeting", - "output": ["ActionOutput_zoom_deletemeeting"], - "scopes": ["meeting:write"], - "usedModels": ["ActionInput_zoom_deletemeeting", "ActionOutput_zoom_deletemeeting"], + "input": "ActionInput_zoom_whoami", + "name": "whoami", + "output": ["ActionOutput_zoom_whoami"], + "scopes": ["user:read:user"], + "usedModels": ["ActionInput_zoom_whoami", "ActionOutput_zoom_whoami"], "version": "1.0.0" }, { @@ -94571,21 +96215,58 @@ }, { "type": "action", - "description": "Fetch current user information", + "description": "Creates a meeting in Zoom.", "endpoint": { - "method": "GET", - "path": "/whoami", - "group": "Users" + "method": "POST", + "path": "/meetings", + "group": "Meetings" }, - "input": "ActionInput_zoom_whoami", - "name": "whoami", - "output": ["ActionOutput_zoom_whoami"], - "scopes": ["user:read:user"], - "usedModels": ["ActionInput_zoom_whoami", "ActionOutput_zoom_whoami"], + "input": "ActionInput_zoom_createmeeting", + "name": "create-meeting", + "output": ["ActionOutput_zoom_createmeeting"], + "scopes": ["meeting:write"], + "usedModels": ["ActionInput_zoom_createmeeting", "ActionOutput_zoom_createmeeting"], + "version": "1.0.0" + }, + { + "type": "action", + "description": "Deletes a meeting in Zoom", + "endpoint": { + "method": "DELETE", + "path": "/meetings", + "group": "Meetings" + }, + "input": "ActionInput_zoom_deletemeeting", + "name": "delete-meeting", + "output": ["ActionOutput_zoom_deletemeeting"], + "scopes": ["meeting:write"], + "usedModels": ["ActionInput_zoom_deletemeeting", "ActionOutput_zoom_deletemeeting"], "version": "1.0.0" } ], "syncs": [ + { + "type": "sync", + "description": "Fetches a list of users from Zoom", + "auto_start": true, + "endpoints": [ + { + "method": "GET", + "path": "/users", + "group": "Users" + } + ], + "input": "SyncMetadata_zoom_users", + "name": "users", + "output": ["User"], + "runs": "every day", + "scopes": ["user:read", "user:read:admin"], + "sync_type": "full", + "track_deletes": false, + "usedModels": ["User", "SyncMetadata_zoom_users"], + "version": "1.0.0", + "webhookSubscriptions": [] + }, { "type": "sync", "description": "Fetches a list of meetings from Zoom", @@ -94629,28 +96310,6 @@ "usedModels": ["RecordingFile", "SyncMetadata_zoom_recordingfiles"], "version": "1.0.0", "webhookSubscriptions": [] - }, - { - "type": "sync", - "description": "Fetches a list of users from Zoom", - "auto_start": true, - "endpoints": [ - { - "method": "GET", - "path": "/users", - "group": "Users" - } - ], - "input": "SyncMetadata_zoom_users", - "name": "users", - "output": ["User"], - "runs": "every day", - "scopes": ["user:read", "user:read:admin"], - "sync_type": "full", - "track_deletes": false, - "usedModels": ["User", "SyncMetadata_zoom_users"], - "version": "1.0.0", - "webhookSubscriptions": [] } ], "onEventScripts": { @@ -94660,8 +96319,34 @@ }, "jsonSchema": { "$schema": "http://json-schema.org/draft-07/schema#", - "$comment": "This file was generated by Nango (v0.69.14)", "definitions": { + "SyncMetadata_zoom_users": { + "type": "object", + "additionalProperties": false + }, + "User": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "firstName", "lastName", "email"], + "additionalProperties": false + }, + "SyncMetadata_zoom_meetings": { + "type": "object", + "additionalProperties": false + }, "Meeting": { "type": "object", "properties": { @@ -94690,8 +96375,14 @@ "required": ["id", "topic", "startTime", "duration", "timezone", "joinUrl", "createdAt"], "additionalProperties": false }, - "SyncMetadata_zoom_meetings": { + "SyncMetadata_zoom_recordingfiles": { "type": "object", + "properties": { + "backfillPeriodDays": { + "type": "number" + } + }, + "required": ["backfillPeriodDays"], "additionalProperties": false }, "RecordingFile": { @@ -94786,17 +96477,34 @@ ], "additionalProperties": false }, - "SyncMetadata_zoom_recordingfiles": { + "ActionInput_zoom_createuser": { "type": "object", "properties": { - "backfillPeriodDays": { - "type": "number" + "firstName": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "email": { + "type": "string" + }, + "action": { + "type": "string", + "enum": ["create", "autoCreate", "custCreate", "ssoCreate"] + }, + "display_name": { + "type": "string" + }, + "type": { + "type": "string", + "enum": ["basic", "licensed", "UnassignedWithoutMeetingsBasic", "None"] } }, - "required": ["backfillPeriodDays"], + "required": ["firstName", "lastName", "email"], "additionalProperties": false }, - "User": { + "ActionOutput_zoom_createuser": { "type": "object", "properties": { "id": { @@ -94815,8 +96523,40 @@ "required": ["id", "firstName", "lastName", "email"], "additionalProperties": false }, - "SyncMetadata_zoom_users": { + "ActionInput_zoom_whoami": { + "type": "null" + }, + "ActionOutput_zoom_whoami": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "email": { + "type": "string" + } + }, + "required": ["id", "email"], + "additionalProperties": false + }, + "ActionInput_zoom_deleteuser": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + }, + "required": ["id"], + "additionalProperties": false + }, + "ActionOutput_zoom_deleteuser": { "type": "object", + "properties": { + "success": { + "type": "boolean" + } + }, + "required": ["success"], "additionalProperties": false }, "ActionInput_zoom_createmeeting": { @@ -94958,52 +96698,6 @@ "required": ["id", "topic", "startTime", "duration", "timezone", "joinUrl", "createdAt"], "additionalProperties": false }, - "ActionInput_zoom_createuser": { - "type": "object", - "properties": { - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - }, - "action": { - "type": "string", - "enum": ["create", "autoCreate", "custCreate", "ssoCreate"] - }, - "display_name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": ["basic", "licensed", "UnassignedWithoutMeetingsBasic", "None"] - } - }, - "required": ["firstName", "lastName", "email"], - "additionalProperties": false - }, - "ActionOutput_zoom_createuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "firstName": { - "type": "string" - }, - "lastName": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "firstName", "lastName", "email"], - "additionalProperties": false - }, "ActionInput_zoom_deletemeeting": { "type": "object", "properties": { @@ -95023,46 +96717,11 @@ }, "required": ["success"], "additionalProperties": false - }, - "ActionInput_zoom_deleteuser": { - "type": "object", - "properties": { - "id": { - "type": "string" - } - }, - "required": ["id"], - "additionalProperties": false - }, - "ActionOutput_zoom_deleteuser": { - "type": "object", - "properties": { - "success": { - "type": "boolean" - } - }, - "required": ["success"], - "additionalProperties": false - }, - "ActionInput_zoom_whoami": { - "type": "null" - }, - "ActionOutput_zoom_whoami": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "email": { - "type": "string" - } - }, - "required": ["id", "email"], - "additionalProperties": false } - } + }, + "$comment": "This file was generated by Nango (v0.68.1)" }, - "sdkVersion": "0.69.14", + "sdkVersion": "0.68.1", "symLinkTargetName": null } ]