use crate::generated::metadata;
use crate::http::Method;
use crate::route::{
BodyKind, Pagination, ParamKind, Representation, Route, RouteParam, WriteSemantics,
};
pub static ARCHIVE_PROJECT: Route = Route {
id: "ArchiveProject",
service: "Projects",
method: Method::PUT,
path: "/projects/{projectId}/status/archived.json",
pattern: "/projects/{projectId}/status/archived",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ARCHIVE_PROJECT,
};
pub static ARCHIVE_RECORDING: Route = Route {
id: "ArchiveRecording",
service: "Recordings",
method: Method::PUT,
path: "/recordings/{recordingId}/status/archived.json",
pattern: "/recordings/{recordingId}/status/archived",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ARCHIVE_RECORDING,
};
pub static COMPLETE_SUBTASK: Route = Route {
id: "CompleteSubtask",
service: "Subtasks",
method: Method::POST,
path: "/subtasks/{subtaskId}/completion.json",
pattern: "/subtasks/{subtaskId}/completion",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::COMPLETE_SUBTASK,
};
pub static COMPLETE_TODO: Route = Route {
id: "CompleteTodo",
service: "Todos",
method: Method::POST,
path: "/todos/{todoId}/completion.json",
pattern: "/todos/{todoId}/completion",
resource_type: "todo",
params: &[RouteParam {
name: "todoId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::COMPLETE_TODO,
};
pub static COPY_RECORDING: Route = Route {
id: "CopyRecording",
service: "Recordings",
method: Method::POST,
path: "/recordings/{recordingId}/copies.json",
pattern: "/recordings/{recordingId}/copies",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::COPY_RECORDING,
};
pub static CREATE_ANSWER: Route = Route {
id: "CreateAnswer",
service: "Checkins",
method: Method::POST,
path: "/questions/{questionId}/answers.json",
pattern: "/questions/{questionId}/answers",
resource_type: "answer",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_ANSWER,
};
pub static CREATE_ATTACHMENT: Route = Route {
id: "CreateAttachment",
service: "Attachments",
method: Method::POST,
path: "/attachments.json",
pattern: "/attachments",
resource_type: "attachment",
params: &[],
body: BodyKind::Octet,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_ATTACHMENT,
};
pub static CREATE_BOOKMARK: Route = Route {
id: "CreateBookmark",
service: "Bookmarks",
method: Method::POST,
path: "/recordings/{recordingId}/bookmark.json",
pattern: "/recordings/{recordingId}/bookmark",
resource_type: "bookmark",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_BOOKMARK,
};
pub static CREATE_BUBBLE_UP: Route = Route {
id: "CreateBubbleUp",
service: "BubbleUps",
method: Method::POST,
path: "/recordings/{recordingId}/bubble_up.json",
pattern: "/recordings/{recordingId}/bubble_up",
resource_type: "bubble_up",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_BUBBLE_UP,
};
pub static CREATE_CAMPFIRE_LINE: Route = Route {
id: "CreateCampfireLine",
service: "Campfires",
method: Method::POST,
path: "/chats/{campfireId}/lines.json",
pattern: "/chats/{campfireId}/lines",
resource_type: "campfire_line",
params: &[RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CAMPFIRE_LINE,
};
pub static CREATE_CAMPFIRE_UPLOAD: Route = Route {
id: "CreateCampfireUpload",
service: "Campfires",
method: Method::POST,
path: "/chats/{campfireId}/uploads.json",
pattern: "/chats/{campfireId}/uploads",
resource_type: "campfire_upload",
params: &[RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
}],
body: BodyKind::Octet,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CAMPFIRE_UPLOAD,
};
pub static CREATE_CARD: Route = Route {
id: "CreateCard",
service: "Cards",
method: Method::POST,
path: "/card_tables/lists/{columnId}/cards.json",
pattern: "/card_tables/lists/{columnId}/cards",
resource_type: "card",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CARD,
};
pub static CREATE_CARD_COLUMN: Route = Route {
id: "CreateCardColumn",
service: "CardColumns",
method: Method::POST,
path: "/card_tables/{cardTableId}/columns.json",
pattern: "/card_tables/{cardTableId}/columns",
resource_type: "card_column",
params: &[RouteParam {
name: "cardTableId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CARD_COLUMN,
};
pub static CREATE_CARD_STEP: Route = Route {
id: "CreateCardStep",
service: "CardSteps",
method: Method::POST,
path: "/card_tables/cards/{cardId}/steps.json",
pattern: "/card_tables/cards/{cardId}/steps",
resource_type: "card_step",
params: &[RouteParam {
name: "cardId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CARD_STEP,
};
pub static CREATE_CHATBOT: Route = Route {
id: "CreateChatbot",
service: "Campfires",
method: Method::POST,
path: "/buckets/{bucketId}/chats/{campfireId}/integrations.json",
pattern: "/buckets/{bucketId}/chats/{campfireId}/integrations",
resource_type: "chatbot",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CHATBOT,
};
pub static CREATE_CLOUD_FILE: Route = Route {
id: "CreateCloudFile",
service: "CloudFiles",
method: Method::POST,
path: "/buckets/{bucketId}/vaults/{vaultId}/cloud_files.json",
pattern: "/buckets/{bucketId}/vaults/{vaultId}/cloud_files",
resource_type: "cloud_file",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_CLOUD_FILE,
};
pub static CREATE_COMMENT: Route = Route {
id: "CreateComment",
service: "Comments",
method: Method::POST,
path: "/recordings/{recordingId}/comments.json",
pattern: "/recordings/{recordingId}/comments",
resource_type: "comment",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_COMMENT,
};
pub static CREATE_DOCUMENT: Route = Route {
id: "CreateDocument",
service: "Documents",
method: Method::POST,
path: "/vaults/{vaultId}/documents.json",
pattern: "/vaults/{vaultId}/documents",
resource_type: "document",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_DOCUMENT,
};
pub static CREATE_DOOR: Route = Route {
id: "CreateDoor",
service: "Doors",
method: Method::POST,
path: "/buckets/{bucketId}/dock/doors.json",
pattern: "/buckets/{bucketId}/dock/doors",
resource_type: "door",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_DOOR,
};
pub static CREATE_EMBED: Route = Route {
id: "CreateEmbed",
service: "Embeds",
method: Method::POST,
path: "/embeds.json",
pattern: "/embeds",
resource_type: "embed",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_EMBED,
};
pub static CREATE_EVENT_BOOST: Route = Route {
id: "CreateEventBoost",
service: "Boosts",
method: Method::POST,
path: "/recordings/{recordingId}/events/{eventId}/boosts.json",
pattern: "/recordings/{recordingId}/events/{eventId}/boosts",
resource_type: "event_boost",
params: &[
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
RouteParam {
name: "eventId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_EVENT_BOOST,
};
pub static CREATE_FOLDER: Route = Route {
id: "CreateFolder",
service: "Folders",
method: Method::POST,
path: "/stacks.json",
pattern: "/stacks",
resource_type: "folder",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_FOLDER,
};
pub static CREATE_GAUGE_NEEDLE: Route = Route {
id: "CreateGaugeNeedle",
service: "Gauges",
method: Method::POST,
path: "/projects/{projectId}/gauge/needles.json",
pattern: "/projects/{projectId}/gauge/needles",
resource_type: "gauge_needle",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_GAUGE_NEEDLE,
};
pub static CREATE_GOOGLE_DOCUMENT: Route = Route {
id: "CreateGoogleDocument",
service: "GoogleDocuments",
method: Method::POST,
path: "/buckets/{bucketId}/vaults/{vaultId}/google_documents.json",
pattern: "/buckets/{bucketId}/vaults/{vaultId}/google_documents",
resource_type: "google_document",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_GOOGLE_DOCUMENT,
};
pub static CREATE_HILL_CHART_VERSION: Route = Route {
id: "CreateHillChartVersion",
service: "HillCharts",
method: Method::POST,
path: "/todosets/{todosetId}/hills/versions.json",
pattern: "/todosets/{todosetId}/hills/versions",
resource_type: "hill_chart_version",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_HILL_CHART_VERSION,
};
pub static CREATE_LINEUP_MARKER: Route = Route {
id: "CreateLineupMarker",
service: "Lineup",
method: Method::POST,
path: "/lineup/markers.json",
pattern: "/lineup/markers",
resource_type: "lineup_marker",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_LINEUP_MARKER,
};
pub static CREATE_MESSAGE: Route = Route {
id: "CreateMessage",
service: "Messages",
method: Method::POST,
path: "/message_boards/{boardId}/messages.json",
pattern: "/message_boards/{boardId}/messages",
resource_type: "message",
params: &[RouteParam {
name: "boardId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_MESSAGE,
};
pub static CREATE_MESSAGE_TYPE: Route = Route {
id: "CreateMessageType",
service: "MessageTypes",
method: Method::POST,
path: "/buckets/{bucketId}/categories.json",
pattern: "/buckets/{bucketId}/categories",
resource_type: "message_type",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_MESSAGE_TYPE,
};
pub static CREATE_PING: Route = Route {
id: "CreatePing",
service: "Pings",
method: Method::POST,
path: "/circles.json",
pattern: "/circles",
resource_type: "ping",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_PING,
};
pub static CREATE_PROJECT: Route = Route {
id: "CreateProject",
service: "Projects",
method: Method::POST,
path: "/projects.json",
pattern: "/projects",
resource_type: "project",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_PROJECT,
};
pub static CREATE_PROJECT_FROM_TEMPLATE: Route = Route {
id: "CreateProjectFromTemplate",
service: "Templates",
method: Method::POST,
path: "/templates/{templateId}/project_constructions.json",
pattern: "/templates/{templateId}/project_constructions",
resource_type: "project_from_template",
params: &[RouteParam {
name: "templateId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_PROJECT_FROM_TEMPLATE,
};
pub static CREATE_QUESTION: Route = Route {
id: "CreateQuestion",
service: "Checkins",
method: Method::POST,
path: "/questionnaires/{questionnaireId}/questions.json",
pattern: "/questionnaires/{questionnaireId}/questions",
resource_type: "question",
params: &[RouteParam {
name: "questionnaireId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_QUESTION,
};
pub static CREATE_RECORDING_BOOST: Route = Route {
id: "CreateRecordingBoost",
service: "Boosts",
method: Method::POST,
path: "/recordings/{recordingId}/boosts.json",
pattern: "/recordings/{recordingId}/boosts",
resource_type: "recording_boost",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_RECORDING_BOOST,
};
pub static CREATE_SCHEDULE_ENTRY: Route = Route {
id: "CreateScheduleEntry",
service: "Schedules",
method: Method::POST,
path: "/schedules/{scheduleId}/entries.json",
pattern: "/schedules/{scheduleId}/entries",
resource_type: "schedule_entry",
params: &[RouteParam {
name: "scheduleId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_SCHEDULE_ENTRY,
};
pub static CREATE_STREAM_TICKET: Route = Route {
id: "CreateStreamTicket",
service: "EventFeed",
method: Method::POST,
path: "/events/stream_ticket.json",
pattern: "/events/stream_ticket",
resource_type: "stream_ticket",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_STREAM_TICKET,
};
pub static CREATE_SUBTASK: Route = Route {
id: "CreateSubtask",
service: "Subtasks",
method: Method::POST,
path: "/recordings/{recordingId}/subtasks.json",
pattern: "/recordings/{recordingId}/subtasks",
resource_type: "subtask",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_SUBTASK,
};
pub static CREATE_TEMPLATE: Route = Route {
id: "CreateTemplate",
service: "Templates",
method: Method::POST,
path: "/templates.json",
pattern: "/templates",
resource_type: "template",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TEMPLATE,
};
pub static CREATE_TEMPLATE_LIBRARY_CARD_TABLE: Route = Route {
id: "CreateTemplateLibraryCardTable",
service: "Templates",
method: Method::POST,
path: "/template_library/card_tables.json",
pattern: "/template_library/card_tables",
resource_type: "template_library_card_table",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TEMPLATE_LIBRARY_CARD_TABLE,
};
pub static CREATE_TEMPLATE_LIBRARY_COPY: Route = Route {
id: "CreateTemplateLibraryCopy",
service: "Templates",
method: Method::POST,
path: "/template_library/copies.json",
pattern: "/template_library/copies",
resource_type: "template_library_copy",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TEMPLATE_LIBRARY_COPY,
};
pub static CREATE_TEMPLATE_LIBRARY_TODOLIST: Route = Route {
id: "CreateTemplateLibraryTodolist",
service: "Templates",
method: Method::POST,
path: "/template_library/todolists.json",
pattern: "/template_library/todolists",
resource_type: "template_library_todolist",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TEMPLATE_LIBRARY_TODOLIST,
};
pub static CREATE_TEMPLATIFICATION: Route = Route {
id: "CreateTemplatification",
service: "Templates",
method: Method::POST,
path: "/buckets/{bucketId}/recordings/{recordingId}/templatifications.json",
pattern: "/buckets/{bucketId}/recordings/{recordingId}/templatifications",
resource_type: "templatification",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TEMPLATIFICATION,
};
pub static CREATE_TIMESHEET_ENTRY: Route = Route {
id: "CreateTimesheetEntry",
service: "Timesheets",
method: Method::POST,
path: "/recordings/{recordingId}/timesheet/entries.json",
pattern: "/recordings/{recordingId}/timesheet/entries",
resource_type: "timesheet_entry",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TIMESHEET_ENTRY,
};
pub static CREATE_TODO: Route = Route {
id: "CreateTodo",
service: "Todos",
method: Method::POST,
path: "/todolists/{todolistId}/todos.json",
pattern: "/todolists/{todolistId}/todos",
resource_type: "todo",
params: &[RouteParam {
name: "todolistId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TODO,
};
pub static CREATE_TODOLIST: Route = Route {
id: "CreateTodolist",
service: "Todolists",
method: Method::POST,
path: "/todosets/{todosetId}/todolists.json",
pattern: "/todosets/{todosetId}/todolists",
resource_type: "todolist",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TODOLIST,
};
pub static CREATE_TODOLIST_GROUP: Route = Route {
id: "CreateTodolistGroup",
service: "TodolistGroups",
method: Method::POST,
path: "/todolists/{todolistId}/groups.json",
pattern: "/todolists/{todolistId}/groups",
resource_type: "todolist_group",
params: &[RouteParam {
name: "todolistId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TODOLIST_GROUP,
};
pub static CREATE_TODOSET_TODO: Route = Route {
id: "CreateTodosetTodo",
service: "Todos",
method: Method::POST,
path: "/buckets/{bucketId}/todosets/{todosetId}/todos.json",
pattern: "/buckets/{bucketId}/todosets/{todosetId}/todos",
resource_type: "todo",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TODOSET_TODO,
};
pub static CREATE_TOOL: Route = Route {
id: "CreateTool",
service: "Tools",
method: Method::POST,
path: "/buckets/{bucketId}/dock/tools.json",
pattern: "/buckets/{bucketId}/dock/tools",
resource_type: "tool",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_TOOL,
};
pub static CREATE_UPLOAD: Route = Route {
id: "CreateUpload",
service: "Uploads",
method: Method::POST,
path: "/vaults/{vaultId}/uploads.json",
pattern: "/vaults/{vaultId}/uploads",
resource_type: "upload",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_UPLOAD,
};
pub static CREATE_UPLOAD_VERSION: Route = Route {
id: "CreateUploadVersion",
service: "Uploads",
method: Method::POST,
path: "/uploads/{uploadId}/versions.json",
pattern: "/uploads/{uploadId}/versions",
resource_type: "upload_version",
params: &[RouteParam {
name: "uploadId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_UPLOAD_VERSION,
};
pub static CREATE_VAULT: Route = Route {
id: "CreateVault",
service: "Vaults",
method: Method::POST,
path: "/vaults/{vaultId}/vaults.json",
pattern: "/vaults/{vaultId}/vaults",
resource_type: "vault",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_VAULT,
};
pub static CREATE_WEBHOOK: Route = Route {
id: "CreateWebhook",
service: "Webhooks",
method: Method::POST,
path: "/buckets/{bucketId}/webhooks.json",
pattern: "/buckets/{bucketId}/webhooks",
resource_type: "webhook",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_WEBHOOK,
};
pub static CREATE_WORMHOLE: Route = Route {
id: "CreateWormhole",
service: "Wormholes",
method: Method::POST,
path: "/buckets/{bucketId}/card_tables/{cardTableId}/wormholes.json",
pattern: "/buckets/{bucketId}/card_tables/{cardTableId}/wormholes",
resource_type: "wormhole",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "cardTableId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::CREATE_WORMHOLE,
};
pub static DELETE_BOOKMARK: Route = Route {
id: "DeleteBookmark",
service: "Bookmarks",
method: Method::DELETE,
path: "/recordings/{recordingId}/bookmark.json",
pattern: "/recordings/{recordingId}/bookmark",
resource_type: "bookmark",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_BOOKMARK,
};
pub static DELETE_BOOST: Route = Route {
id: "DeleteBoost",
service: "Boosts",
method: Method::DELETE,
path: "/boosts/{boostId}",
pattern: "/boosts/{boostId}",
resource_type: "boost",
params: &[RouteParam {
name: "boostId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_BOOST,
};
pub static DELETE_BUBBLE_UP: Route = Route {
id: "DeleteBubbleUp",
service: "BubbleUps",
method: Method::DELETE,
path: "/recordings/{recordingId}/bubble_up.json",
pattern: "/recordings/{recordingId}/bubble_up",
resource_type: "bubble_up",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_BUBBLE_UP,
};
pub static DELETE_CAMPFIRE_LINE: Route = Route {
id: "DeleteCampfireLine",
service: "Campfires",
method: Method::DELETE,
path: "/chats/{campfireId}/lines/{lineId}",
pattern: "/chats/{campfireId}/lines/{lineId}",
resource_type: "campfire_line",
params: &[
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "lineId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_CAMPFIRE_LINE,
};
pub static DELETE_CHATBOT: Route = Route {
id: "DeleteChatbot",
service: "Campfires",
method: Method::DELETE,
path: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
pattern: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
resource_type: "chatbot",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "chatbotId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_CHATBOT,
};
pub static DELETE_DOOR: Route = Route {
id: "DeleteDoor",
service: "Doors",
method: Method::DELETE,
path: "/dock/doors/{doorId}",
pattern: "/dock/doors/{doorId}",
resource_type: "door",
params: &[RouteParam {
name: "doorId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_DOOR,
};
pub static DELETE_FOLDER: Route = Route {
id: "DeleteFolder",
service: "Folders",
method: Method::DELETE,
path: "/stacks/{folderId}",
pattern: "/stacks/{folderId}",
resource_type: "folder",
params: &[RouteParam {
name: "folderId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_FOLDER,
};
pub static DELETE_LINEUP_MARKER: Route = Route {
id: "DeleteLineupMarker",
service: "Lineup",
method: Method::DELETE,
path: "/lineup/markers/{markerId}",
pattern: "/lineup/markers/{markerId}",
resource_type: "lineup_marker",
params: &[RouteParam {
name: "markerId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_LINEUP_MARKER,
};
pub static DELETE_MESSAGE_TYPE: Route = Route {
id: "DeleteMessageType",
service: "MessageTypes",
method: Method::DELETE,
path: "/buckets/{bucketId}/categories/{typeId}",
pattern: "/buckets/{bucketId}/categories/{typeId}",
resource_type: "message_type",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "typeId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_MESSAGE_TYPE,
};
pub static DELETE_SUBTASK: Route = Route {
id: "DeleteSubtask",
service: "Subtasks",
method: Method::DELETE,
path: "/subtasks/{subtaskId}",
pattern: "/subtasks/{subtaskId}",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_SUBTASK,
};
pub static DELETE_TEMPLATE: Route = Route {
id: "DeleteTemplate",
service: "Templates",
method: Method::DELETE,
path: "/templates/{templateId}",
pattern: "/templates/{templateId}",
resource_type: "template",
params: &[RouteParam {
name: "templateId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_TEMPLATE,
};
pub static DELETE_TOOL: Route = Route {
id: "DeleteTool",
service: "Tools",
method: Method::DELETE,
path: "/dock/tools/{toolId}",
pattern: "/dock/tools/{toolId}",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_TOOL,
};
pub static DELETE_WEBHOOK: Route = Route {
id: "DeleteWebhook",
service: "Webhooks",
method: Method::DELETE,
path: "/webhooks/{webhookId}",
pattern: "/webhooks/{webhookId}",
resource_type: "webhook",
params: &[RouteParam {
name: "webhookId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_WEBHOOK,
};
pub static DELETE_WORMHOLE: Route = Route {
id: "DeleteWormhole",
service: "Wormholes",
method: Method::DELETE,
path: "/buckets/{bucketId}/card_tables/wormholes/{wormholeId}",
pattern: "/buckets/{bucketId}/card_tables/wormholes/{wormholeId}",
resource_type: "wormhole",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "wormholeId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DELETE_WORMHOLE,
};
pub static DEPRIORITIZE_ASSIGNMENT: Route = Route {
id: "DeprioritizeAssignment",
service: "MyAssignments",
method: Method::DELETE,
path: "/my/priorities/{recordingId}",
pattern: "/my/priorities/{recordingId}",
resource_type: "resource",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DEPRIORITIZE_ASSIGNMENT,
};
pub static DESTROY_GAUGE_NEEDLE: Route = Route {
id: "DestroyGaugeNeedle",
service: "Gauges",
method: Method::DELETE,
path: "/gauge_needles/{needleId}",
pattern: "/gauge_needles/{needleId}",
resource_type: "resource",
params: &[RouteParam {
name: "needleId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DESTROY_GAUGE_NEEDLE,
};
pub static DESTROY_TIMESHEET_ENTRY: Route = Route {
id: "DestroyTimesheetEntry",
service: "Timesheets",
method: Method::DELETE,
path: "/timesheet_entries/{entryId}",
pattern: "/timesheet_entries/{entryId}",
resource_type: "timesheet_entry",
params: &[RouteParam {
name: "entryId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DESTROY_TIMESHEET_ENTRY,
};
pub static DISABLE_CARD_COLUMN_ON_HOLD: Route = Route {
id: "DisableCardColumnOnHold",
service: "CardColumns",
method: Method::DELETE,
path: "/buckets/{bucketId}/card_tables/columns/{columnId}/on_hold.json",
pattern: "/buckets/{bucketId}/card_tables/columns/{columnId}/on_hold",
resource_type: "card_column_on_hold",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "columnId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DISABLE_CARD_COLUMN_ON_HOLD,
};
pub static DISABLE_OUT_OF_OFFICE: Route = Route {
id: "DisableOutOfOffice",
service: "People",
method: Method::DELETE,
path: "/people/{personId}/out_of_office.json",
pattern: "/people/{personId}/out_of_office",
resource_type: "out_of_office",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DISABLE_OUT_OF_OFFICE,
};
pub static DISABLE_PROJECT_CLIENTS: Route = Route {
id: "DisableProjectClients",
service: "People",
method: Method::DELETE,
path: "/projects/{projectId}/client_enablement.json",
pattern: "/projects/{projectId}/client_enablement",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DISABLE_PROJECT_CLIENTS,
};
pub static DISABLE_TOOL: Route = Route {
id: "DisableTool",
service: "Tools",
method: Method::DELETE,
path: "/recordings/{toolId}/position.json",
pattern: "/recordings/{toolId}/position",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::DISABLE_TOOL,
};
pub static ENABLE_CARD_COLUMN_ON_HOLD: Route = Route {
id: "EnableCardColumnOnHold",
service: "CardColumns",
method: Method::POST,
path: "/buckets/{bucketId}/card_tables/columns/{columnId}/on_hold.json",
pattern: "/buckets/{bucketId}/card_tables/columns/{columnId}/on_hold",
resource_type: "card_column_on_hold",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "columnId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ENABLE_CARD_COLUMN_ON_HOLD,
};
pub static ENABLE_OUT_OF_OFFICE: Route = Route {
id: "EnableOutOfOffice",
service: "People",
method: Method::POST,
path: "/people/{personId}/out_of_office.json",
pattern: "/people/{personId}/out_of_office",
resource_type: "out_of_office",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ENABLE_OUT_OF_OFFICE,
};
pub static ENABLE_PROJECT_CLIENTS: Route = Route {
id: "EnableProjectClients",
service: "People",
method: Method::POST,
path: "/projects/{projectId}/client_enablement.json",
pattern: "/projects/{projectId}/client_enablement",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ENABLE_PROJECT_CLIENTS,
};
pub static ENABLE_TOOL: Route = Route {
id: "EnableTool",
service: "Tools",
method: Method::POST,
path: "/recordings/{toolId}/position.json",
pattern: "/recordings/{toolId}/position",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::ENABLE_TOOL,
};
pub static GET_ACCOUNT: Route = Route {
id: "GetAccount",
service: "Account",
method: Method::GET,
path: "/account.json",
pattern: "/account",
resource_type: "account",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_ACCOUNT,
};
pub static GET_ANSWER: Route = Route {
id: "GetAnswer",
service: "Checkins",
method: Method::GET,
path: "/question_answers/{answerId}",
pattern: "/question_answers/{answerId}",
resource_type: "answer",
params: &[RouteParam {
name: "answerId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_ANSWER,
};
pub static GET_ANSWERS_BY_PERSON: Route = Route {
id: "GetAnswersByPerson",
service: "Checkins",
method: Method::GET,
path: "/questions/{questionId}/answers/by/{personId}",
pattern: "/questions/{questionId}/answers/by/{personId}",
resource_type: "answers_by_person",
params: &[
RouteParam {
name: "questionId",
kind: ParamKind::Int64,
},
RouteParam {
name: "personId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: None,
},
write: None,
deprecated: false,
metadata: &metadata::GET_ANSWERS_BY_PERSON,
};
pub static GET_ASSIGNED_TODOS: Route = Route {
id: "GetAssignedTodos",
service: "Reports",
method: Method::GET,
path: "/reports/todos/assigned/{personId}",
pattern: "/reports/todos/assigned/{personId}",
resource_type: "assigned_todo",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_ASSIGNED_TODOS,
};
pub static GET_BOOKMARK: Route = Route {
id: "GetBookmark",
service: "Bookmarks",
method: Method::GET,
path: "/recordings/{recordingId}/bookmark.json",
pattern: "/recordings/{recordingId}/bookmark",
resource_type: "bookmark",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_BOOKMARK,
};
pub static GET_BOOST: Route = Route {
id: "GetBoost",
service: "Boosts",
method: Method::GET,
path: "/boosts/{boostId}",
pattern: "/boosts/{boostId}",
resource_type: "boost",
params: &[RouteParam {
name: "boostId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_BOOST,
};
pub static GET_BUBBLE_UPS: Route = Route {
id: "GetBubbleUps",
service: "MyNotifications",
method: Method::GET,
path: "/my/readings/bubble_ups.json",
pattern: "/my/readings/bubble_ups",
resource_type: "bubble_up",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_BUBBLE_UPS,
};
pub static GET_CALENDAR: Route = Route {
id: "GetCalendar",
service: "Calendars",
method: Method::GET,
path: "/calendars/{calendarId}",
pattern: "/calendars/{calendarId}",
resource_type: "calendar",
params: &[RouteParam {
name: "calendarId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CALENDAR,
};
pub static GET_CAMPFIRE: Route = Route {
id: "GetCampfire",
service: "Campfires",
method: Method::GET,
path: "/chats/{campfireId}",
pattern: "/chats/{campfireId}",
resource_type: "campfire",
params: &[RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CAMPFIRE,
};
pub static GET_CAMPFIRE_LINE: Route = Route {
id: "GetCampfireLine",
service: "Campfires",
method: Method::GET,
path: "/chats/{campfireId}/lines/{lineId}",
pattern: "/chats/{campfireId}/lines/{lineId}",
resource_type: "campfire_line",
params: &[
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "lineId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CAMPFIRE_LINE,
};
pub static GET_CARD: Route = Route {
id: "GetCard",
service: "Cards",
method: Method::GET,
path: "/card_tables/cards/{cardId}",
pattern: "/card_tables/cards/{cardId}",
resource_type: "card",
params: &[RouteParam {
name: "cardId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CARD,
};
pub static GET_CARD_COLUMN: Route = Route {
id: "GetCardColumn",
service: "CardColumns",
method: Method::GET,
path: "/card_tables/columns/{columnId}",
pattern: "/card_tables/columns/{columnId}",
resource_type: "card_column",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CARD_COLUMN,
};
pub static GET_CARD_STEP: Route = Route {
id: "GetCardStep",
service: "CardSteps",
method: Method::GET,
path: "/card_tables/steps/{stepId}",
pattern: "/card_tables/steps/{stepId}",
resource_type: "card_step",
params: &[RouteParam {
name: "stepId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CARD_STEP,
};
pub static GET_CARD_TABLE: Route = Route {
id: "GetCardTable",
service: "CardTables",
method: Method::GET,
path: "/card_tables/{cardTableId}",
pattern: "/card_tables/{cardTableId}",
resource_type: "card_table",
params: &[RouteParam {
name: "cardTableId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CARD_TABLE,
};
pub static GET_CHATBOT: Route = Route {
id: "GetChatbot",
service: "Campfires",
method: Method::GET,
path: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
pattern: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
resource_type: "chatbot",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "chatbotId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CHATBOT,
};
pub static GET_CLIENT_APPROVAL: Route = Route {
id: "GetClientApproval",
service: "ClientApprovals",
method: Method::GET,
path: "/client/approvals/{approvalId}",
pattern: "/client/approvals/{approvalId}",
resource_type: "client_approval",
params: &[RouteParam {
name: "approvalId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CLIENT_APPROVAL,
};
pub static GET_CLIENT_CORRESPONDENCE: Route = Route {
id: "GetClientCorrespondence",
service: "ClientCorrespondences",
method: Method::GET,
path: "/client/correspondences/{correspondenceId}",
pattern: "/client/correspondences/{correspondenceId}",
resource_type: "client_correspondence",
params: &[RouteParam {
name: "correspondenceId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CLIENT_CORRESPONDENCE,
};
pub static GET_CLIENT_REPLY: Route = Route {
id: "GetClientReply",
service: "ClientReplies",
method: Method::GET,
path: "/buckets/{bucketId}/client/recordings/{recordingId}/replies/{replyId}",
pattern: "/buckets/{bucketId}/client/recordings/{recordingId}/replies/{replyId}",
resource_type: "client_reply",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
RouteParam {
name: "replyId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CLIENT_REPLY,
};
pub static GET_CLOUD_FILE: Route = Route {
id: "GetCloudFile",
service: "CloudFiles",
method: Method::GET,
path: "/cloud_files/{cloudFileId}",
pattern: "/cloud_files/{cloudFileId}",
resource_type: "cloud_file",
params: &[RouteParam {
name: "cloudFileId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_CLOUD_FILE,
};
pub static GET_COMMENT: Route = Route {
id: "GetComment",
service: "Comments",
method: Method::GET,
path: "/comments/{commentId}",
pattern: "/comments/{commentId}",
resource_type: "comment",
params: &[RouteParam {
name: "commentId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_COMMENT,
};
pub static GET_DOCUMENT: Route = Route {
id: "GetDocument",
service: "Documents",
method: Method::GET,
path: "/documents/{documentId}",
pattern: "/documents/{documentId}",
resource_type: "document",
params: &[RouteParam {
name: "documentId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_DOCUMENT,
};
pub static GET_DOOR: Route = Route {
id: "GetDoor",
service: "Doors",
method: Method::GET,
path: "/dock/doors/{doorId}",
pattern: "/dock/doors/{doorId}",
resource_type: "door",
params: &[RouteParam {
name: "doorId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_DOOR,
};
pub static GET_EMBED: Route = Route {
id: "GetEmbed",
service: "Embeds",
method: Method::GET,
path: "/embeds/{sgid}",
pattern: "/embeds/{sgid}",
resource_type: "embed",
params: &[RouteParam {
name: "sgid",
kind: ParamKind::String,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_EMBED,
};
pub static GET_EVERYTHING_CHECKINS: Route = Route {
id: "GetEverythingCheckins",
service: "Everything",
method: Method::GET,
path: "/checkins.json",
pattern: "/checkins",
resource_type: "everything_checkin",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_CHECKINS,
};
pub static GET_EVERYTHING_COMMENTS: Route = Route {
id: "GetEverythingComments",
service: "Everything",
method: Method::GET,
path: "/comments.json",
pattern: "/comments",
resource_type: "everything_comment",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_COMMENTS,
};
pub static GET_EVERYTHING_COMPLETED_CARDS: Route = Route {
id: "GetEverythingCompletedCards",
service: "Everything",
method: Method::GET,
path: "/cards/completed.json",
pattern: "/cards/completed",
resource_type: "everything_completed_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_COMPLETED_CARDS,
};
pub static GET_EVERYTHING_COMPLETED_TODOS: Route = Route {
id: "GetEverythingCompletedTodos",
service: "Everything",
method: Method::GET,
path: "/todos/completed.json",
pattern: "/todos/completed",
resource_type: "everything_completed_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_COMPLETED_TODOS,
};
pub static GET_EVERYTHING_FILES: Route = Route {
id: "GetEverythingFiles",
service: "Everything",
method: Method::GET,
path: "/files.json",
pattern: "/files",
resource_type: "everything_file",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_FILES,
};
pub static GET_EVERYTHING_FORWARDS: Route = Route {
id: "GetEverythingForwards",
service: "Everything",
method: Method::GET,
path: "/forwards.json",
pattern: "/forwards",
resource_type: "everything_forward",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_FORWARDS,
};
pub static GET_EVERYTHING_MESSAGES: Route = Route {
id: "GetEverythingMessages",
service: "Everything",
method: Method::GET,
path: "/messages.json",
pattern: "/messages",
resource_type: "everything_message",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_MESSAGES,
};
pub static GET_EVERYTHING_NO_DUE_DATE_CARDS: Route = Route {
id: "GetEverythingNoDueDateCards",
service: "Everything",
method: Method::GET,
path: "/cards/no_due_date.json",
pattern: "/cards/no_due_date",
resource_type: "everything_no_due_date_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_NO_DUE_DATE_CARDS,
};
pub static GET_EVERYTHING_NO_DUE_DATE_TODOS: Route = Route {
id: "GetEverythingNoDueDateTodos",
service: "Everything",
method: Method::GET,
path: "/todos/no_due_date.json",
pattern: "/todos/no_due_date",
resource_type: "everything_no_due_date_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_NO_DUE_DATE_TODOS,
};
pub static GET_EVERYTHING_NOT_NOW_CARDS: Route = Route {
id: "GetEverythingNotNowCards",
service: "Everything",
method: Method::GET,
path: "/cards/not_now.json",
pattern: "/cards/not_now",
resource_type: "everything_not_now_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_NOT_NOW_CARDS,
};
pub static GET_EVERYTHING_OPEN_CARDS: Route = Route {
id: "GetEverythingOpenCards",
service: "Everything",
method: Method::GET,
path: "/cards/open.json",
pattern: "/cards/open",
resource_type: "everything_open_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_OPEN_CARDS,
};
pub static GET_EVERYTHING_OPEN_TODOS: Route = Route {
id: "GetEverythingOpenTodos",
service: "Everything",
method: Method::GET,
path: "/todos/open.json",
pattern: "/todos/open",
resource_type: "everything_open_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_OPEN_TODOS,
};
pub static GET_EVERYTHING_OVERDUE_CARDS: Route = Route {
id: "GetEverythingOverdueCards",
service: "Everything",
method: Method::GET,
path: "/cards/overdue.json",
pattern: "/cards/overdue",
resource_type: "everything_overdue_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_OVERDUE_CARDS,
};
pub static GET_EVERYTHING_OVERDUE_TODOS: Route = Route {
id: "GetEverythingOverdueTodos",
service: "Everything",
method: Method::GET,
path: "/todos/overdue.json",
pattern: "/todos/overdue",
resource_type: "everything_overdue_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_OVERDUE_TODOS,
};
pub static GET_EVERYTHING_UNASSIGNED_CARDS: Route = Route {
id: "GetEverythingUnassignedCards",
service: "Everything",
method: Method::GET,
path: "/cards/unassigned.json",
pattern: "/cards/unassigned",
resource_type: "everything_unassigned_card",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_UNASSIGNED_CARDS,
};
pub static GET_EVERYTHING_UNASSIGNED_TODOS: Route = Route {
id: "GetEverythingUnassignedTodos",
service: "Everything",
method: Method::GET,
path: "/todos/unassigned.json",
pattern: "/todos/unassigned",
resource_type: "everything_unassigned_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_EVERYTHING_UNASSIGNED_TODOS,
};
pub static GET_FILING: Route = Route {
id: "GetFiling",
service: "Recordings",
method: Method::GET,
path: "/filings/{filingId}",
pattern: "/filings/{filingId}",
resource_type: "filing",
params: &[RouteParam {
name: "filingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_FILING,
};
pub static GET_FOLDER: Route = Route {
id: "GetFolder",
service: "Folders",
method: Method::GET,
path: "/stacks/{folderId}",
pattern: "/stacks/{folderId}",
resource_type: "folder",
params: &[RouteParam {
name: "folderId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_FOLDER,
};
pub static GET_FORWARD: Route = Route {
id: "GetForward",
service: "Forwards",
method: Method::GET,
path: "/inbox_forwards/{forwardId}",
pattern: "/inbox_forwards/{forwardId}",
resource_type: "forward",
params: &[RouteParam {
name: "forwardId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_FORWARD,
};
pub static GET_FORWARD_REPLY: Route = Route {
id: "GetForwardReply",
service: "Forwards",
method: Method::GET,
path: "/inbox_forwards/{forwardId}/replies/{replyId}",
pattern: "/inbox_forwards/{forwardId}/replies/{replyId}",
resource_type: "forward_reply",
params: &[
RouteParam {
name: "forwardId",
kind: ParamKind::Int64,
},
RouteParam {
name: "replyId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_FORWARD_REPLY,
};
pub static GET_GAUGE_NEEDLE: Route = Route {
id: "GetGaugeNeedle",
service: "Gauges",
method: Method::GET,
path: "/gauge_needles/{needleId}",
pattern: "/gauge_needles/{needleId}",
resource_type: "gauge_needle",
params: &[RouteParam {
name: "needleId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_GAUGE_NEEDLE,
};
pub static GET_GOOGLE_DOCUMENT: Route = Route {
id: "GetGoogleDocument",
service: "GoogleDocuments",
method: Method::GET,
path: "/google_documents/{googleDocumentId}",
pattern: "/google_documents/{googleDocumentId}",
resource_type: "google_document",
params: &[RouteParam {
name: "googleDocumentId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_GOOGLE_DOCUMENT,
};
pub static GET_HILL_CHART: Route = Route {
id: "GetHillChart",
service: "HillCharts",
method: Method::GET,
path: "/todosets/{todosetId}/hill.json",
pattern: "/todosets/{todosetId}/hill",
resource_type: "hill_chart",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_HILL_CHART,
};
pub static GET_HILL_CHART_VERSION: Route = Route {
id: "GetHillChartVersion",
service: "HillCharts",
method: Method::GET,
path: "/todosets/{todosetId}/hills/versions/{versionId}",
pattern: "/todosets/{todosetId}/hills/versions/{versionId}",
resource_type: "hill_chart_version",
params: &[
RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
},
RouteParam {
name: "versionId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_HILL_CHART_VERSION,
};
pub static GET_INBOX: Route = Route {
id: "GetInbox",
service: "Forwards",
method: Method::GET,
path: "/inboxes/{inboxId}",
pattern: "/inboxes/{inboxId}",
resource_type: "inbox",
params: &[RouteParam {
name: "inboxId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_INBOX,
};
pub static GET_MESSAGE: Route = Route {
id: "GetMessage",
service: "Messages",
method: Method::GET,
path: "/messages/{messageId}",
pattern: "/messages/{messageId}",
resource_type: "message",
params: &[RouteParam {
name: "messageId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MESSAGE,
};
pub static GET_MESSAGE_BOARD: Route = Route {
id: "GetMessageBoard",
service: "MessageBoards",
method: Method::GET,
path: "/message_boards/{boardId}",
pattern: "/message_boards/{boardId}",
resource_type: "message_board",
params: &[RouteParam {
name: "boardId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MESSAGE_BOARD,
};
pub static GET_MESSAGE_TYPE: Route = Route {
id: "GetMessageType",
service: "MessageTypes",
method: Method::GET,
path: "/buckets/{bucketId}/categories/{typeId}",
pattern: "/buckets/{bucketId}/categories/{typeId}",
resource_type: "message_type",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "typeId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MESSAGE_TYPE,
};
pub static GET_MY_ASSIGNMENTS: Route = Route {
id: "GetMyAssignments",
service: "MyAssignments",
method: Method::GET,
path: "/my/assignments.json",
pattern: "/my/assignments",
resource_type: "my_assignment",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_ASSIGNMENTS,
};
pub static GET_MY_COMPLETED_ASSIGNMENTS: Route = Route {
id: "GetMyCompletedAssignments",
service: "MyAssignments",
method: Method::GET,
path: "/my/assignments/completed.json",
pattern: "/my/assignments/completed",
resource_type: "my_completed_assignment",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_COMPLETED_ASSIGNMENTS,
};
pub static GET_MY_DUE_ASSIGNMENTS: Route = Route {
id: "GetMyDueAssignments",
service: "MyAssignments",
method: Method::GET,
path: "/my/assignments/due.json",
pattern: "/my/assignments/due",
resource_type: "my_due_assignment",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_DUE_ASSIGNMENTS,
};
pub static GET_MY_NOTE: Route = Route {
id: "GetMyNote",
service: "MyNotes",
method: Method::GET,
path: "/my/notes.json",
pattern: "/my/notes",
resource_type: "my_note",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_NOTE,
};
pub static GET_MY_NOTIFICATIONS: Route = Route {
id: "GetMyNotifications",
service: "MyNotifications",
method: Method::GET,
path: "/my/readings.json",
pattern: "/my/readings",
resource_type: "my_notification",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_NOTIFICATIONS,
};
pub static GET_MY_PREFERENCES: Route = Route {
id: "GetMyPreferences",
service: "People",
method: Method::GET,
path: "/my/preferences.json",
pattern: "/my/preferences",
resource_type: "my_preference",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_PREFERENCES,
};
pub static GET_MY_PROFILE: Route = Route {
id: "GetMyProfile",
service: "People",
method: Method::GET,
path: "/my/profile.json",
pattern: "/my/profile",
resource_type: "my_profile",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_MY_PROFILE,
};
pub static GET_OUT_OF_OFFICE: Route = Route {
id: "GetOutOfOffice",
service: "People",
method: Method::GET,
path: "/people/{personId}/out_of_office.json",
pattern: "/people/{personId}/out_of_office",
resource_type: "out_of_office",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_OUT_OF_OFFICE,
};
pub static GET_OVERDUE_TODOS: Route = Route {
id: "GetOverdueTodos",
service: "Reports",
method: Method::GET,
path: "/reports/todos/overdue.json",
pattern: "/reports/todos/overdue",
resource_type: "overdue_todo",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_OVERDUE_TODOS,
};
pub static GET_PERSON: Route = Route {
id: "GetPerson",
service: "People",
method: Method::GET,
path: "/people/{personId}",
pattern: "/people/{personId}",
resource_type: "person",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_PERSON,
};
pub static GET_PERSON_PROGRESS: Route = Route {
id: "GetPersonProgress",
service: "Reports",
method: Method::GET,
path: "/reports/users/progress/{personId}.json",
pattern: "/reports/users/progress/{personId}",
resource_type: "person_progress",
params: &[RouteParam {
name: "personId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: Some("events"),
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_PERSON_PROGRESS,
};
pub static GET_PING: Route = Route {
id: "GetPing",
service: "Pings",
method: Method::GET,
path: "/circles/{pingId}",
pattern: "/circles/{pingId}",
resource_type: "ping",
params: &[RouteParam {
name: "pingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_PING,
};
pub static GET_PROGRESS_REPORT: Route = Route {
id: "GetProgressReport",
service: "Reports",
method: Method::GET,
path: "/reports/progress.json",
pattern: "/reports/progress",
resource_type: "progress_report",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_PROGRESS_REPORT,
};
pub static GET_PROJECT: Route = Route {
id: "GetProject",
service: "Projects",
method: Method::GET,
path: "/projects/{projectId}",
pattern: "/projects/{projectId}",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_PROJECT,
};
pub static GET_PROJECT_CONSTRUCTION: Route = Route {
id: "GetProjectConstruction",
service: "Templates",
method: Method::GET,
path: "/templates/{templateId}/project_constructions/{constructionId}",
pattern: "/templates/{templateId}/project_constructions/{constructionId}",
resource_type: "project_construction",
params: &[
RouteParam {
name: "templateId",
kind: ParamKind::Int64,
},
RouteParam {
name: "constructionId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_PROJECT_CONSTRUCTION,
};
pub static GET_PROJECT_TIMELINE: Route = Route {
id: "GetProjectTimeline",
service: "Timeline",
method: Method::GET,
path: "/projects/{projectId}/timeline.json",
pattern: "/projects/{projectId}/timeline",
resource_type: "project_timeline",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_PROJECT_TIMELINE,
};
pub static GET_PROJECT_TIMESHEET: Route = Route {
id: "GetProjectTimesheet",
service: "Timesheets",
method: Method::GET,
path: "/projects/{projectId}/timesheet.json",
pattern: "/projects/{projectId}/timesheet",
resource_type: "project_timesheet",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_PROJECT_TIMESHEET,
};
pub static GET_QUESTION: Route = Route {
id: "GetQuestion",
service: "Checkins",
method: Method::GET,
path: "/questions/{questionId}",
pattern: "/questions/{questionId}",
resource_type: "question",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_QUESTION,
};
pub static GET_QUESTION_REMINDERS: Route = Route {
id: "GetQuestionReminders",
service: "Checkins",
method: Method::GET,
path: "/my/question_reminders.json",
pattern: "/my/question_reminders",
resource_type: "question_reminder",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: None,
},
write: None,
deprecated: false,
metadata: &metadata::GET_QUESTION_REMINDERS,
};
pub static GET_QUESTIONNAIRE: Route = Route {
id: "GetQuestionnaire",
service: "Checkins",
method: Method::GET,
path: "/questionnaires/{questionnaireId}",
pattern: "/questionnaires/{questionnaireId}",
resource_type: "questionnaire",
params: &[RouteParam {
name: "questionnaireId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_QUESTIONNAIRE,
};
pub static GET_RECORDING_TIMESHEET: Route = Route {
id: "GetRecordingTimesheet",
service: "Timesheets",
method: Method::GET,
path: "/recordings/{recordingId}/timesheet.json",
pattern: "/recordings/{recordingId}/timesheet",
resource_type: "recording_timesheet",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::GET_RECORDING_TIMESHEET,
};
pub static GET_SCHEDULE: Route = Route {
id: "GetSchedule",
service: "Schedules",
method: Method::GET,
path: "/schedules/{scheduleId}",
pattern: "/schedules/{scheduleId}",
resource_type: "schedule",
params: &[RouteParam {
name: "scheduleId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SCHEDULE,
};
pub static GET_SCHEDULE_ENTRY: Route = Route {
id: "GetScheduleEntry",
service: "Schedules",
method: Method::GET,
path: "/schedule_entries/{entryId}",
pattern: "/schedule_entries/{entryId}",
resource_type: "schedule_entry",
params: &[RouteParam {
name: "entryId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SCHEDULE_ENTRY,
};
pub static GET_SCHEDULE_ENTRY_OCCURRENCE: Route = Route {
id: "GetScheduleEntryOccurrence",
service: "Schedules",
method: Method::GET,
path: "/schedule_entries/{entryId}/occurrences/{date}",
pattern: "/schedule_entries/{entryId}/occurrences/{date}",
resource_type: "schedule_entry_occurrence",
params: &[
RouteParam {
name: "entryId",
kind: ParamKind::Int64,
},
RouteParam {
name: "date",
kind: ParamKind::String,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SCHEDULE_ENTRY_OCCURRENCE,
};
pub static GET_SEARCH_METADATA: Route = Route {
id: "GetSearchMetadata",
service: "Search",
method: Method::GET,
path: "/searches/metadata.json",
pattern: "/searches/metadata",
resource_type: "search_metadata",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SEARCH_METADATA,
};
pub static GET_SUBSCRIPTION: Route = Route {
id: "GetSubscription",
service: "Subscriptions",
method: Method::GET,
path: "/recordings/{recordingId}/subscription.json",
pattern: "/recordings/{recordingId}/subscription",
resource_type: "subscription",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SUBSCRIPTION,
};
pub static GET_SUBTASK: Route = Route {
id: "GetSubtask",
service: "Subtasks",
method: Method::GET,
path: "/subtasks/{subtaskId}",
pattern: "/subtasks/{subtaskId}",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_SUBTASK,
};
pub static GET_TEMPLATE: Route = Route {
id: "GetTemplate",
service: "Templates",
method: Method::GET,
path: "/templates/{templateId}",
pattern: "/templates/{templateId}",
resource_type: "template",
params: &[RouteParam {
name: "templateId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TEMPLATE,
};
pub static GET_TEMPLATE_LIBRARY_CARD_TABLES: Route = Route {
id: "GetTemplateLibraryCardTables",
service: "Templates",
method: Method::GET,
path: "/template_library/card_tables.json",
pattern: "/template_library/card_tables",
resource_type: "template_library_card_table",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TEMPLATE_LIBRARY_CARD_TABLES,
};
pub static GET_TEMPLATE_LIBRARY_COPY: Route = Route {
id: "GetTemplateLibraryCopy",
service: "Templates",
method: Method::GET,
path: "/template_library/copies/{copyId}",
pattern: "/template_library/copies/{copyId}",
resource_type: "template_library_copy",
params: &[RouteParam {
name: "copyId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TEMPLATE_LIBRARY_COPY,
};
pub static GET_TEMPLATE_LIBRARY_TODOLISTS: Route = Route {
id: "GetTemplateLibraryTodolists",
service: "Templates",
method: Method::GET,
path: "/template_library/todolists.json",
pattern: "/template_library/todolists",
resource_type: "template_library_todolist",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TEMPLATE_LIBRARY_TODOLISTS,
};
pub static GET_TEMPLATIFICATION: Route = Route {
id: "GetTemplatification",
service: "Templates",
method: Method::GET,
path: "/buckets/{bucketId}/recordings/{recordingId}/templatifications/{templatificationId}",
pattern: "/buckets/{bucketId}/recordings/{recordingId}/templatifications/{templatificationId}",
resource_type: "templatification",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
RouteParam {
name: "templatificationId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TEMPLATIFICATION,
};
pub static GET_TIMESHEET_ENTRY: Route = Route {
id: "GetTimesheetEntry",
service: "Timesheets",
method: Method::GET,
path: "/timesheet_entries/{entryId}",
pattern: "/timesheet_entries/{entryId}",
resource_type: "timesheet_entry",
params: &[RouteParam {
name: "entryId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TIMESHEET_ENTRY,
};
pub static GET_TIMESHEET_REPORT: Route = Route {
id: "GetTimesheetReport",
service: "Timesheets",
method: Method::GET,
path: "/reports/timesheet.json",
pattern: "/reports/timesheet",
resource_type: "timesheet_report",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TIMESHEET_REPORT,
};
pub static GET_TODO: Route = Route {
id: "GetTodo",
service: "Todos",
method: Method::GET,
path: "/todos/{todoId}",
pattern: "/todos/{todoId}",
resource_type: "todo",
params: &[RouteParam {
name: "todoId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TODO,
};
pub static GET_TODOLIST_OR_GROUP: Route = Route {
id: "GetTodolistOrGroup",
service: "Todolists",
method: Method::GET,
path: "/todolists/{id}",
pattern: "/todolists/{id}",
resource_type: "todolist_or_group",
params: &[RouteParam {
name: "id",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TODOLIST_OR_GROUP,
};
pub static GET_TODOSET: Route = Route {
id: "GetTodoset",
service: "Todosets",
method: Method::GET,
path: "/todosets/{todosetId}",
pattern: "/todosets/{todosetId}",
resource_type: "todoset",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TODOSET,
};
pub static GET_TOOL: Route = Route {
id: "GetTool",
service: "Tools",
method: Method::GET,
path: "/dock/tools/{toolId}",
pattern: "/dock/tools/{toolId}",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_TOOL,
};
pub static GET_UPCOMING_SCHEDULE: Route = Route {
id: "GetUpcomingSchedule",
service: "Reports",
method: Method::GET,
path: "/reports/schedules/upcoming.json",
pattern: "/reports/schedules/upcoming",
resource_type: "upcoming_schedule",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_UPCOMING_SCHEDULE,
};
pub static GET_UPLOAD: Route = Route {
id: "GetUpload",
service: "Uploads",
method: Method::GET,
path: "/uploads/{uploadId}",
pattern: "/uploads/{uploadId}",
resource_type: "upload",
params: &[RouteParam {
name: "uploadId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_UPLOAD,
};
pub static GET_VAULT: Route = Route {
id: "GetVault",
service: "Vaults",
method: Method::GET,
path: "/vaults/{vaultId}",
pattern: "/vaults/{vaultId}",
resource_type: "vault",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_VAULT,
};
pub static GET_WEBHOOK: Route = Route {
id: "GetWebhook",
service: "Webhooks",
method: Method::GET,
path: "/webhooks/{webhookId}",
pattern: "/webhooks/{webhookId}",
resource_type: "webhook",
params: &[RouteParam {
name: "webhookId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::GET_WEBHOOK,
};
pub static LIST_ANSWERS: Route = Route {
id: "ListAnswers",
service: "Checkins",
method: Method::GET,
path: "/questions/{questionId}/answers.json",
pattern: "/questions/{questionId}/answers",
resource_type: "answer",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_ANSWERS,
};
pub static LIST_ASSIGNABLE_PEOPLE: Route = Route {
id: "ListAssignablePeople",
service: "People",
method: Method::GET,
path: "/reports/todos/assigned.json",
pattern: "/reports/todos/assigned",
resource_type: "assignable_people",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_ASSIGNABLE_PEOPLE,
};
pub static LIST_CAMPFIRE_LINES: Route = Route {
id: "ListCampfireLines",
service: "Campfires",
method: Method::GET,
path: "/chats/{campfireId}/lines.json",
pattern: "/chats/{campfireId}/lines",
resource_type: "campfire_line",
params: &[RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CAMPFIRE_LINES,
};
pub static LIST_CAMPFIRE_UPLOADS: Route = Route {
id: "ListCampfireUploads",
service: "Campfires",
method: Method::GET,
path: "/chats/{campfireId}/uploads.json",
pattern: "/chats/{campfireId}/uploads",
resource_type: "campfire_upload",
params: &[RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CAMPFIRE_UPLOADS,
};
pub static LIST_CAMPFIRES: Route = Route {
id: "ListCampfires",
service: "Campfires",
method: Method::GET,
path: "/chats.json",
pattern: "/chats",
resource_type: "campfire",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CAMPFIRES,
};
pub static LIST_CARDS: Route = Route {
id: "ListCards",
service: "Cards",
method: Method::GET,
path: "/card_tables/lists/{columnId}/cards.json",
pattern: "/card_tables/lists/{columnId}/cards",
resource_type: "card",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CARDS,
};
pub static LIST_CHATBOTS: Route = Route {
id: "ListChatbots",
service: "Campfires",
method: Method::GET,
path: "/buckets/{bucketId}/chats/{campfireId}/integrations.json",
pattern: "/buckets/{bucketId}/chats/{campfireId}/integrations",
resource_type: "chatbot",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CHATBOTS,
};
pub static LIST_CLIENT_APPROVALS: Route = Route {
id: "ListClientApprovals",
service: "ClientApprovals",
method: Method::GET,
path: "/buckets/{bucketId}/client/approvals.json",
pattern: "/buckets/{bucketId}/client/approvals",
resource_type: "client_approval",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CLIENT_APPROVALS,
};
pub static LIST_CLIENT_CORRESPONDENCES: Route = Route {
id: "ListClientCorrespondences",
service: "ClientCorrespondences",
method: Method::GET,
path: "/buckets/{bucketId}/client/correspondences.json",
pattern: "/buckets/{bucketId}/client/correspondences",
resource_type: "client_correspondence",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CLIENT_CORRESPONDENCES,
};
pub static LIST_CLIENT_REPLIES: Route = Route {
id: "ListClientReplies",
service: "ClientReplies",
method: Method::GET,
path: "/buckets/{bucketId}/client/recordings/{recordingId}/replies.json",
pattern: "/buckets/{bucketId}/client/recordings/{recordingId}/replies",
resource_type: "client_reply",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_CLIENT_REPLIES,
};
pub static LIST_COMMENTS: Route = Route {
id: "ListComments",
service: "Comments",
method: Method::GET,
path: "/recordings/{recordingId}/comments.json",
pattern: "/recordings/{recordingId}/comments",
resource_type: "comment",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_COMMENTS,
};
pub static LIST_DOCUMENTS: Route = Route {
id: "ListDocuments",
service: "Documents",
method: Method::GET,
path: "/vaults/{vaultId}/documents.json",
pattern: "/vaults/{vaultId}/documents",
resource_type: "document",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_DOCUMENTS,
};
pub static LIST_DOORS: Route = Route {
id: "ListDoors",
service: "Doors",
method: Method::GET,
path: "/buckets/{bucketId}/dock/doors.json",
pattern: "/buckets/{bucketId}/dock/doors",
resource_type: "door",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_DOORS,
};
pub static LIST_EVENT_BOOSTS: Route = Route {
id: "ListEventBoosts",
service: "Boosts",
method: Method::GET,
path: "/recordings/{recordingId}/events/{eventId}/boosts.json",
pattern: "/recordings/{recordingId}/events/{eventId}/boosts",
resource_type: "event_boost",
params: &[
RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
},
RouteParam {
name: "eventId",
kind: ParamKind::Int64,
},
],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_EVENT_BOOSTS,
};
pub static LIST_EVENTS: Route = Route {
id: "ListEvents",
service: "Events",
method: Method::GET,
path: "/recordings/{recordingId}/events.json",
pattern: "/recordings/{recordingId}/events",
resource_type: "event",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_EVENTS,
};
pub static LIST_FOLDERS: Route = Route {
id: "ListFolders",
service: "Folders",
method: Method::GET,
path: "/stacks.json",
pattern: "/stacks",
resource_type: "folder",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_FOLDERS,
};
pub static LIST_FORWARD_REPLIES: Route = Route {
id: "ListForwardReplies",
service: "Forwards",
method: Method::GET,
path: "/inbox_forwards/{forwardId}/replies.json",
pattern: "/inbox_forwards/{forwardId}/replies",
resource_type: "forward_reply",
params: &[RouteParam {
name: "forwardId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_FORWARD_REPLIES,
};
pub static LIST_FORWARDS: Route = Route {
id: "ListForwards",
service: "Forwards",
method: Method::GET,
path: "/inboxes/{inboxId}/inbox_forwards.json",
pattern: "/inboxes/{inboxId}/inbox_forwards",
resource_type: "forward",
params: &[RouteParam {
name: "inboxId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_FORWARDS,
};
pub static LIST_GAUGE_NEEDLES: Route = Route {
id: "ListGaugeNeedles",
service: "Gauges",
method: Method::GET,
path: "/projects/{projectId}/gauge/needles.json",
pattern: "/projects/{projectId}/gauge/needles",
resource_type: "gauge_needle",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_GAUGE_NEEDLES,
};
pub static LIST_GAUGES: Route = Route {
id: "ListGauges",
service: "Gauges",
method: Method::GET,
path: "/reports/gauges.json",
pattern: "/reports/gauges",
resource_type: "gauge",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_GAUGES,
};
pub static LIST_HILL_CHART_VERSIONS: Route = Route {
id: "ListHillChartVersions",
service: "HillCharts",
method: Method::GET,
path: "/todosets/{todosetId}/hills/versions.json",
pattern: "/todosets/{todosetId}/hills/versions",
resource_type: "hill_chart_version",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_HILL_CHART_VERSIONS,
};
pub static LIST_LINEUP_MARKERS: Route = Route {
id: "ListLineupMarkers",
service: "Lineup",
method: Method::GET,
path: "/lineup/markers.json",
pattern: "/lineup/markers",
resource_type: "lineup_marker",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_LINEUP_MARKERS,
};
pub static LIST_MESSAGE_TYPES: Route = Route {
id: "ListMessageTypes",
service: "MessageTypes",
method: Method::GET,
path: "/buckets/{bucketId}/categories.json",
pattern: "/buckets/{bucketId}/categories",
resource_type: "message_type",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_MESSAGE_TYPES,
};
pub static LIST_MESSAGES: Route = Route {
id: "ListMessages",
service: "Messages",
method: Method::GET,
path: "/message_boards/{boardId}/messages.json",
pattern: "/message_boards/{boardId}/messages",
resource_type: "message",
params: &[RouteParam {
name: "boardId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_MESSAGES,
};
pub static LIST_MY_BOOKMARKS: Route = Route {
id: "ListMyBookmarks",
service: "Bookmarks",
method: Method::GET,
path: "/my/bookmarks.json",
pattern: "/my/bookmarks",
resource_type: "bookmark",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_MY_BOOKMARKS,
};
pub static LIST_MY_DRAFTS: Route = Route {
id: "ListMyDrafts",
service: "Drafts",
method: Method::GET,
path: "/my/drafts.json",
pattern: "/my/drafts",
resource_type: "my_draft",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_MY_DRAFTS,
};
pub static LIST_PEOPLE: Route = Route {
id: "ListPeople",
service: "People",
method: Method::GET,
path: "/people.json",
pattern: "/people",
resource_type: "people",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_PEOPLE,
};
pub static LIST_PINGABLE_PEOPLE: Route = Route {
id: "ListPingablePeople",
service: "People",
method: Method::GET,
path: "/circles/people.json",
pattern: "/circles/people",
resource_type: "pingable_people",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_PINGABLE_PEOPLE,
};
pub static LIST_PINGS: Route = Route {
id: "ListPings",
service: "Pings",
method: Method::GET,
path: "/circles.json",
pattern: "/circles",
resource_type: "ping",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_PINGS,
};
pub static LIST_PROJECT_PEOPLE: Route = Route {
id: "ListProjectPeople",
service: "People",
method: Method::GET,
path: "/projects/{projectId}/people.json",
pattern: "/projects/{projectId}/people",
resource_type: "project_people",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_PROJECT_PEOPLE,
};
pub static LIST_PROJECTS: Route = Route {
id: "ListProjects",
service: "Projects",
method: Method::GET,
path: "/projects.json",
pattern: "/projects",
resource_type: "project",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_PROJECTS,
};
pub static LIST_QUESTION_ANSWERERS: Route = Route {
id: "ListQuestionAnswerers",
service: "Checkins",
method: Method::GET,
path: "/questions/{questionId}/answers/by.json",
pattern: "/questions/{questionId}/answers/by",
resource_type: "question_answerer",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: None,
},
write: None,
deprecated: false,
metadata: &metadata::LIST_QUESTION_ANSWERERS,
};
pub static LIST_QUESTIONS: Route = Route {
id: "ListQuestions",
service: "Checkins",
method: Method::GET,
path: "/questionnaires/{questionnaireId}/questions.json",
pattern: "/questionnaires/{questionnaireId}/questions",
resource_type: "question",
params: &[RouteParam {
name: "questionnaireId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_QUESTIONS,
};
pub static LIST_RECENT_PROJECTS: Route = Route {
id: "ListRecentProjects",
service: "Projects",
method: Method::GET,
path: "/my/recent_projects.json",
pattern: "/my/recent_projects",
resource_type: "project",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::LIST_RECENT_PROJECTS,
};
pub static LIST_RECORDING_BOOSTS: Route = Route {
id: "ListRecordingBoosts",
service: "Boosts",
method: Method::GET,
path: "/recordings/{recordingId}/boosts.json",
pattern: "/recordings/{recordingId}/boosts",
resource_type: "recording_boost",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_RECORDING_BOOSTS,
};
pub static LIST_RECORDINGS: Route = Route {
id: "ListRecordings",
service: "Recordings",
method: Method::GET,
path: "/projects/recordings.json",
pattern: "/projects/recordings",
resource_type: "recording",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_RECORDINGS,
};
pub static LIST_SCHEDULE_ENTRIES: Route = Route {
id: "ListScheduleEntries",
service: "Schedules",
method: Method::GET,
path: "/schedules/{scheduleId}/entries.json",
pattern: "/schedules/{scheduleId}/entries",
resource_type: "schedule_entry",
params: &[RouteParam {
name: "scheduleId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_SCHEDULE_ENTRIES,
};
pub static LIST_SUBTASKS: Route = Route {
id: "ListSubtasks",
service: "Subtasks",
method: Method::GET,
path: "/recordings/{recordingId}/subtasks.json",
pattern: "/recordings/{recordingId}/subtasks",
resource_type: "subtask",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_SUBTASKS,
};
pub static LIST_TEMPLATES: Route = Route {
id: "ListTemplates",
service: "Templates",
method: Method::GET,
path: "/templates.json",
pattern: "/templates",
resource_type: "template",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_TEMPLATES,
};
pub static LIST_TODOLIST_GROUPS: Route = Route {
id: "ListTodolistGroups",
service: "TodolistGroups",
method: Method::GET,
path: "/todolists/{todolistId}/groups.json",
pattern: "/todolists/{todolistId}/groups",
resource_type: "todolist_group",
params: &[RouteParam {
name: "todolistId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_TODOLIST_GROUPS,
};
pub static LIST_TODOLISTS: Route = Route {
id: "ListTodolists",
service: "Todolists",
method: Method::GET,
path: "/todosets/{todosetId}/todolists.json",
pattern: "/todosets/{todosetId}/todolists",
resource_type: "todolist",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_TODOLISTS,
};
pub static LIST_TODOS: Route = Route {
id: "ListTodos",
service: "Todos",
method: Method::GET,
path: "/todolists/{todolistId}/todos.json",
pattern: "/todolists/{todolistId}/todos",
resource_type: "todo",
params: &[RouteParam {
name: "todolistId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_TODOS,
};
pub static LIST_UPLOAD_VERSIONS: Route = Route {
id: "ListUploadVersions",
service: "Uploads",
method: Method::GET,
path: "/uploads/{uploadId}/versions.json",
pattern: "/uploads/{uploadId}/versions",
resource_type: "upload_version",
params: &[RouteParam {
name: "uploadId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_UPLOAD_VERSIONS,
};
pub static LIST_UPLOADS: Route = Route {
id: "ListUploads",
service: "Uploads",
method: Method::GET,
path: "/vaults/{vaultId}/uploads.json",
pattern: "/vaults/{vaultId}/uploads",
resource_type: "upload",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_UPLOADS,
};
pub static LIST_VAULTS: Route = Route {
id: "ListVaults",
service: "Vaults",
method: Method::GET,
path: "/vaults/{vaultId}/vaults.json",
pattern: "/vaults/{vaultId}/vaults",
resource_type: "vault",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_VAULTS,
};
pub static LIST_WEBHOOKS: Route = Route {
id: "ListWebhooks",
service: "Webhooks",
method: Method::GET,
path: "/buckets/{bucketId}/webhooks.json",
pattern: "/buckets/{bucketId}/webhooks",
resource_type: "webhook",
params: &[RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::LIST_WEBHOOKS,
};
pub static MARK_AS_READ: Route = Route {
id: "MarkAsRead",
service: "MyNotifications",
method: Method::PUT,
path: "/my/unreads.json",
pattern: "/my/unreads",
resource_type: "resource",
params: &[],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::MARK_AS_READ,
};
pub static MOVE_CARD: Route = Route {
id: "MoveCard",
service: "Cards",
method: Method::POST,
path: "/card_tables/cards/{cardId}/moves.json",
pattern: "/card_tables/cards/{cardId}/moves",
resource_type: "card",
params: &[RouteParam {
name: "cardId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::MOVE_CARD,
};
pub static MOVE_CARD_COLUMN: Route = Route {
id: "MoveCardColumn",
service: "CardColumns",
method: Method::POST,
path: "/card_tables/{cardTableId}/moves.json",
pattern: "/card_tables/{cardTableId}/moves",
resource_type: "card_column",
params: &[RouteParam {
name: "cardTableId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::MOVE_CARD_COLUMN,
};
pub static MOVE_RECORDING: Route = Route {
id: "MoveRecording",
service: "Recordings",
method: Method::POST,
path: "/recordings/{recordingId}/moves.json",
pattern: "/recordings/{recordingId}/moves",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::MOVE_RECORDING,
};
pub static MOVE_RECORDING_TO_VAULT: Route = Route {
id: "MoveRecordingToVault",
service: "Recordings",
method: Method::POST,
path: "/recordings/{recordingId}/filing.json",
pattern: "/recordings/{recordingId}/filing",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::MOVE_RECORDING_TO_VAULT,
};
pub static PAUSE_QUESTION: Route = Route {
id: "PauseQuestion",
service: "Checkins",
method: Method::POST,
path: "/questions/{questionId}/pause.json",
pattern: "/questions/{questionId}/pause",
resource_type: "question",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::PAUSE_QUESTION,
};
pub static PIN_MESSAGE: Route = Route {
id: "PinMessage",
service: "Messages",
method: Method::POST,
path: "/recordings/{messageId}/pin.json",
pattern: "/recordings/{messageId}/pin",
resource_type: "message",
params: &[RouteParam {
name: "messageId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::PIN_MESSAGE,
};
pub static POLL_EVENTS: Route = Route {
id: "PollEvents",
service: "EventFeed",
method: Method::GET,
path: "/events.json",
pattern: "/events",
resource_type: "feed_event",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Cursor {
key: Some("events"),
},
write: None,
deprecated: false,
metadata: &metadata::POLL_EVENTS,
};
pub static POLL_INBOX: Route = Route {
id: "PollInbox",
service: "EventFeed",
method: Method::GET,
path: "/inbox.json",
pattern: "/inbox",
resource_type: "inbox_item",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Cursor { key: Some("items") },
write: None,
deprecated: false,
metadata: &metadata::POLL_INBOX,
};
pub static PRIORITIZE_ASSIGNMENT: Route = Route {
id: "PrioritizeAssignment",
service: "MyAssignments",
method: Method::POST,
path: "/my/priorities.json",
pattern: "/my/priorities",
resource_type: "resource",
params: &[],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::PRIORITIZE_ASSIGNMENT,
};
pub static RECORD_PROJECT_VISIT: Route = Route {
id: "RecordProjectVisit",
service: "Projects",
method: Method::POST,
path: "/projects/{projectId}/recent_visit.json",
pattern: "/projects/{projectId}/recent_visit",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::RECORD_PROJECT_VISIT,
};
pub static REMOVE_ACCOUNT_LOGO: Route = Route {
id: "RemoveAccountLogo",
service: "Account",
method: Method::DELETE,
path: "/account/logo.json",
pattern: "/account/logo",
resource_type: "resource",
params: &[],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REMOVE_ACCOUNT_LOGO,
};
pub static REMOVE_PROJECT_LOGO: Route = Route {
id: "RemoveProjectLogo",
service: "Projects",
method: Method::DELETE,
path: "/projects/{projectId}/logo.json",
pattern: "/projects/{projectId}/logo",
resource_type: "project_logo",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REMOVE_PROJECT_LOGO,
};
pub static REMOVE_PROJECT_WALLPAPER: Route = Route {
id: "RemoveProjectWallpaper",
service: "Projects",
method: Method::DELETE,
path: "/projects/{projectId}/wallpaper.json",
pattern: "/projects/{projectId}/wallpaper",
resource_type: "project_wallpaper",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REMOVE_PROJECT_WALLPAPER,
};
pub static REORDER_UP_NEXT: Route = Route {
id: "ReorderUpNext",
service: "MyAssignments",
method: Method::POST,
path: "/my/priority_moves.json",
pattern: "/my/priority_moves",
resource_type: "resource",
params: &[],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REORDER_UP_NEXT,
};
pub static REPLACE_DOCUMENT: Route = Route {
id: "ReplaceDocument",
service: "Documents",
method: Method::PUT,
path: "/documents/{documentId}",
pattern: "/documents/{documentId}",
resource_type: "document",
params: &[RouteParam {
name: "documentId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &[],
}),
deprecated: false,
metadata: &metadata::REPLACE_DOCUMENT,
};
pub static REPLACE_SCHEDULE_ENTRY: Route = Route {
id: "ReplaceScheduleEntry",
service: "Schedules",
method: Method::PUT,
path: "/schedule_entries/{entryId}",
pattern: "/schedule_entries/{entryId}",
resource_type: "schedule_entry",
params: &[RouteParam {
name: "entryId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &["participant_ids", "url", "highlighted"],
}),
deprecated: false,
metadata: &metadata::REPLACE_SCHEDULE_ENTRY,
};
pub static REPLACE_TODO: Route = Route {
id: "ReplaceTodo",
service: "Todos",
method: Method::PUT,
path: "/todos/{todoId}",
pattern: "/todos/{todoId}",
resource_type: "todo",
params: &[RouteParam {
name: "todoId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &[],
}),
deprecated: false,
metadata: &metadata::REPLACE_TODO,
};
pub static REPOSITION_CARD_STEP: Route = Route {
id: "RepositionCardStep",
service: "CardSteps",
method: Method::POST,
path: "/card_tables/cards/{cardId}/positions.json",
pattern: "/card_tables/cards/{cardId}/positions",
resource_type: "card_step",
params: &[RouteParam {
name: "cardId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_CARD_STEP,
};
pub static REPOSITION_SUBTASK: Route = Route {
id: "RepositionSubtask",
service: "Subtasks",
method: Method::PUT,
path: "/subtasks/{subtaskId}/position.json",
pattern: "/subtasks/{subtaskId}/position",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_SUBTASK,
};
pub static REPOSITION_TODO: Route = Route {
id: "RepositionTodo",
service: "Todos",
method: Method::PUT,
path: "/todos/{todoId}/position.json",
pattern: "/todos/{todoId}/position",
resource_type: "todo",
params: &[RouteParam {
name: "todoId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_TODO,
};
pub static REPOSITION_TODOLIST: Route = Route {
id: "RepositionTodolist",
service: "Todolists",
method: Method::PUT,
path: "/todosets/todolists/{todolistId}/position.json",
pattern: "/todosets/todolists/{todolistId}/position",
resource_type: "todolist",
params: &[RouteParam {
name: "todolistId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_TODOLIST,
};
pub static REPOSITION_TODOLIST_GROUP: Route = Route {
id: "RepositionTodolistGroup",
service: "TodolistGroups",
method: Method::PUT,
path: "/todolists/groups/{groupId}/position.json",
pattern: "/todolists/groups/{groupId}/position",
resource_type: "todolist_group",
params: &[RouteParam {
name: "groupId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_TODOLIST_GROUP,
};
pub static REPOSITION_TOOL: Route = Route {
id: "RepositionTool",
service: "Tools",
method: Method::PUT,
path: "/recordings/{toolId}/position.json",
pattern: "/recordings/{toolId}/position",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::REPOSITION_TOOL,
};
pub static RESUME_QUESTION: Route = Route {
id: "ResumeQuestion",
service: "Checkins",
method: Method::DELETE,
path: "/questions/{questionId}/pause.json",
pattern: "/questions/{questionId}/pause",
resource_type: "question",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::RESUME_QUESTION,
};
pub static SEARCH: Route = Route {
id: "Search",
service: "Search",
method: Method::GET,
path: "/search.json",
pattern: "/search",
resource_type: "resource",
params: &[],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::Link {
key: None,
total_count_header: Some("X-Total-Count"),
},
write: None,
deprecated: false,
metadata: &metadata::SEARCH,
};
pub static SET_CARD_COLUMN_COLOR: Route = Route {
id: "SetCardColumnColor",
service: "CardColumns",
method: Method::PUT,
path: "/buckets/{bucketId}/card_tables/columns/{columnId}/color.json",
pattern: "/buckets/{bucketId}/card_tables/columns/{columnId}/color",
resource_type: "card_column_color",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "columnId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SET_CARD_COLUMN_COLOR,
};
pub static SET_CARD_STEP_COMPLETION: Route = Route {
id: "SetCardStepCompletion",
service: "CardSteps",
method: Method::PUT,
path: "/card_tables/steps/{stepId}/completions.json",
pattern: "/card_tables/steps/{stepId}/completions",
resource_type: "card_step_completion",
params: &[RouteParam {
name: "stepId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SET_CARD_STEP_COMPLETION,
};
pub static SET_CLIENT_VISIBILITY: Route = Route {
id: "SetClientVisibility",
service: "ClientVisibility",
method: Method::PUT,
path: "/recordings/{recordingId}/client_visibility.json",
pattern: "/recordings/{recordingId}/client_visibility",
resource_type: "client_visibility",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SET_CLIENT_VISIBILITY,
};
pub static SPOTLIGHT_RECORDING: Route = Route {
id: "SpotlightRecording",
service: "Recordings",
method: Method::POST,
path: "/recordings/{recordingId}/spotlight.json",
pattern: "/recordings/{recordingId}/spotlight",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SPOTLIGHT_RECORDING,
};
pub static SUBSCRIBE: Route = Route {
id: "Subscribe",
service: "Subscriptions",
method: Method::POST,
path: "/recordings/{recordingId}/subscription.json",
pattern: "/recordings/{recordingId}/subscription",
resource_type: "resource",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SUBSCRIBE,
};
pub static SUBSCRIBE_TO_CARD_COLUMN: Route = Route {
id: "SubscribeToCardColumn",
service: "CardColumns",
method: Method::POST,
path: "/card_tables/lists/{columnId}/subscription.json",
pattern: "/card_tables/lists/{columnId}/subscription",
resource_type: "to_card_column",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::SUBSCRIBE_TO_CARD_COLUMN,
};
pub static TOGGLE_GAUGE: Route = Route {
id: "ToggleGauge",
service: "Gauges",
method: Method::PUT,
path: "/projects/{projectId}/gauge.json",
pattern: "/projects/{projectId}/gauge",
resource_type: "resource",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::TOGGLE_GAUGE,
};
pub static TRASH_PROJECT: Route = Route {
id: "TrashProject",
service: "Projects",
method: Method::DELETE,
path: "/projects/{projectId}",
pattern: "/projects/{projectId}",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::TRASH_PROJECT,
};
pub static TRASH_RECORDING: Route = Route {
id: "TrashRecording",
service: "Recordings",
method: Method::PUT,
path: "/recordings/{recordingId}/status/trashed.json",
pattern: "/recordings/{recordingId}/status/trashed",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::TRASH_RECORDING,
};
pub static UNARCHIVE_PROJECT: Route = Route {
id: "UnarchiveProject",
service: "Projects",
method: Method::PUT,
path: "/projects/{projectId}/status/active.json",
pattern: "/projects/{projectId}/status/active",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNARCHIVE_PROJECT,
};
pub static UNARCHIVE_RECORDING: Route = Route {
id: "UnarchiveRecording",
service: "Recordings",
method: Method::PUT,
path: "/recordings/{recordingId}/status/active.json",
pattern: "/recordings/{recordingId}/status/active",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNARCHIVE_RECORDING,
};
pub static UNCOMPLETE_SUBTASK: Route = Route {
id: "UncompleteSubtask",
service: "Subtasks",
method: Method::DELETE,
path: "/subtasks/{subtaskId}/completion.json",
pattern: "/subtasks/{subtaskId}/completion",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNCOMPLETE_SUBTASK,
};
pub static UNCOMPLETE_TODO: Route = Route {
id: "UncompleteTodo",
service: "Todos",
method: Method::DELETE,
path: "/todos/{todoId}/completion.json",
pattern: "/todos/{todoId}/completion",
resource_type: "todo",
params: &[RouteParam {
name: "todoId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNCOMPLETE_TODO,
};
pub static UNPIN_MESSAGE: Route = Route {
id: "UnpinMessage",
service: "Messages",
method: Method::DELETE,
path: "/recordings/{messageId}/pin.json",
pattern: "/recordings/{messageId}/pin",
resource_type: "message",
params: &[RouteParam {
name: "messageId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNPIN_MESSAGE,
};
pub static UNSPOTLIGHT_RECORDING: Route = Route {
id: "UnspotlightRecording",
service: "Recordings",
method: Method::DELETE,
path: "/recordings/{recordingId}/spotlight.json",
pattern: "/recordings/{recordingId}/spotlight",
resource_type: "recording",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNSPOTLIGHT_RECORDING,
};
pub static UNSUBSCRIBE: Route = Route {
id: "Unsubscribe",
service: "Subscriptions",
method: Method::DELETE,
path: "/recordings/{recordingId}/subscription.json",
pattern: "/recordings/{recordingId}/subscription",
resource_type: "resource",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNSUBSCRIBE,
};
pub static UNSUBSCRIBE_FROM_CARD_COLUMN: Route = Route {
id: "UnsubscribeFromCardColumn",
service: "CardColumns",
method: Method::DELETE,
path: "/card_tables/lists/{columnId}/subscription.json",
pattern: "/card_tables/lists/{columnId}/subscription",
resource_type: "from_card_column",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::None,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UNSUBSCRIBE_FROM_CARD_COLUMN,
};
pub static UPDATE_ACCOUNT_LOGO: Route = Route {
id: "UpdateAccountLogo",
service: "Account",
method: Method::PUT,
path: "/account/logo.json",
pattern: "/account/logo",
resource_type: "account_logo",
params: &[],
body: BodyKind::Multipart { field: "logo" },
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_ACCOUNT_LOGO,
};
pub static UPDATE_ACCOUNT_NAME: Route = Route {
id: "UpdateAccountName",
service: "Account",
method: Method::PUT,
path: "/account/name.json",
pattern: "/account/name",
resource_type: "account_name",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_ACCOUNT_NAME,
};
pub static UPDATE_ANSWER: Route = Route {
id: "UpdateAnswer",
service: "Checkins",
method: Method::PUT,
path: "/question_answers/{answerId}",
pattern: "/question_answers/{answerId}",
resource_type: "answer",
params: &[RouteParam {
name: "answerId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_ANSWER,
};
pub static UPDATE_BOOST: Route = Route {
id: "UpdateBoost",
service: "Boosts",
method: Method::PUT,
path: "/boosts/{boostId}",
pattern: "/boosts/{boostId}",
resource_type: "boost",
params: &[RouteParam {
name: "boostId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_BOOST,
};
pub static UPDATE_CALENDAR: Route = Route {
id: "UpdateCalendar",
service: "Calendars",
method: Method::PUT,
path: "/calendars/{calendarId}",
pattern: "/calendars/{calendarId}",
resource_type: "calendar",
params: &[RouteParam {
name: "calendarId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CALENDAR,
};
pub static UPDATE_CAMPFIRE_LINE: Route = Route {
id: "UpdateCampfireLine",
service: "Campfires",
method: Method::PUT,
path: "/chats/{campfireId}/lines/{lineId}",
pattern: "/chats/{campfireId}/lines/{lineId}",
resource_type: "campfire_line",
params: &[
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "lineId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CAMPFIRE_LINE,
};
pub static UPDATE_CARD: Route = Route {
id: "UpdateCard",
service: "Cards",
method: Method::PUT,
path: "/card_tables/cards/{cardId}",
pattern: "/card_tables/cards/{cardId}",
resource_type: "card",
params: &[RouteParam {
name: "cardId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CARD,
};
pub static UPDATE_CARD_COLUMN: Route = Route {
id: "UpdateCardColumn",
service: "CardColumns",
method: Method::PUT,
path: "/card_tables/columns/{columnId}",
pattern: "/card_tables/columns/{columnId}",
resource_type: "card_column",
params: &[RouteParam {
name: "columnId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CARD_COLUMN,
};
pub static UPDATE_CARD_STEP: Route = Route {
id: "UpdateCardStep",
service: "CardSteps",
method: Method::PUT,
path: "/card_tables/steps/{stepId}",
pattern: "/card_tables/steps/{stepId}",
resource_type: "card_step",
params: &[RouteParam {
name: "stepId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CARD_STEP,
};
pub static UPDATE_CHATBOT: Route = Route {
id: "UpdateChatbot",
service: "Campfires",
method: Method::PUT,
path: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
pattern: "/buckets/{bucketId}/chats/{campfireId}/integrations/{chatbotId}",
resource_type: "chatbot",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "campfireId",
kind: ParamKind::Int64,
},
RouteParam {
name: "chatbotId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_CHATBOT,
};
pub static UPDATE_CLOUD_FILE: Route = Route {
id: "UpdateCloudFile",
service: "CloudFiles",
method: Method::PUT,
path: "/cloud_files/{cloudFileId}",
pattern: "/cloud_files/{cloudFileId}",
resource_type: "cloud_file",
params: &[RouteParam {
name: "cloudFileId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &[],
}),
deprecated: false,
metadata: &metadata::UPDATE_CLOUD_FILE,
};
pub static UPDATE_COMMENT: Route = Route {
id: "UpdateComment",
service: "Comments",
method: Method::PUT,
path: "/comments/{commentId}",
pattern: "/comments/{commentId}",
resource_type: "comment",
params: &[RouteParam {
name: "commentId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_COMMENT,
};
pub static UPDATE_DOOR: Route = Route {
id: "UpdateDoor",
service: "Doors",
method: Method::PUT,
path: "/dock/doors/{doorId}",
pattern: "/dock/doors/{doorId}",
resource_type: "door",
params: &[RouteParam {
name: "doorId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_DOOR,
};
pub static UPDATE_FOLDER: Route = Route {
id: "UpdateFolder",
service: "Folders",
method: Method::PUT,
path: "/stacks/{folderId}",
pattern: "/stacks/{folderId}",
resource_type: "folder",
params: &[RouteParam {
name: "folderId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_FOLDER,
};
pub static UPDATE_GAUGE_NEEDLE: Route = Route {
id: "UpdateGaugeNeedle",
service: "Gauges",
method: Method::PUT,
path: "/gauge_needles/{needleId}",
pattern: "/gauge_needles/{needleId}",
resource_type: "gauge_needle",
params: &[RouteParam {
name: "needleId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_GAUGE_NEEDLE,
};
pub static UPDATE_GOOGLE_DOCUMENT: Route = Route {
id: "UpdateGoogleDocument",
service: "GoogleDocuments",
method: Method::PUT,
path: "/google_documents/{googleDocumentId}",
pattern: "/google_documents/{googleDocumentId}",
resource_type: "google_document",
params: &[RouteParam {
name: "googleDocumentId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &[],
}),
deprecated: false,
metadata: &metadata::UPDATE_GOOGLE_DOCUMENT,
};
pub static UPDATE_HILL_CHART_SETTINGS: Route = Route {
id: "UpdateHillChartSettings",
service: "HillCharts",
method: Method::PUT,
path: "/todosets/{todosetId}/hills/settings.json",
pattern: "/todosets/{todosetId}/hills/settings",
resource_type: "hill_chart",
params: &[RouteParam {
name: "todosetId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_HILL_CHART_SETTINGS,
};
pub static UPDATE_LINEUP_MARKER: Route = Route {
id: "UpdateLineupMarker",
service: "Lineup",
method: Method::PUT,
path: "/lineup/markers/{markerId}",
pattern: "/lineup/markers/{markerId}",
resource_type: "lineup_marker",
params: &[RouteParam {
name: "markerId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_LINEUP_MARKER,
};
pub static UPDATE_MESSAGE: Route = Route {
id: "UpdateMessage",
service: "Messages",
method: Method::PUT,
path: "/messages/{messageId}",
pattern: "/messages/{messageId}",
resource_type: "message",
params: &[RouteParam {
name: "messageId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_MESSAGE,
};
pub static UPDATE_MESSAGE_TYPE: Route = Route {
id: "UpdateMessageType",
service: "MessageTypes",
method: Method::PUT,
path: "/buckets/{bucketId}/categories/{typeId}",
pattern: "/buckets/{bucketId}/categories/{typeId}",
resource_type: "message_type",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "typeId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_MESSAGE_TYPE,
};
pub static UPDATE_MY_NOTE: Route = Route {
id: "UpdateMyNote",
service: "MyNotes",
method: Method::PUT,
path: "/my/notes.json",
pattern: "/my/notes",
resource_type: "my_note",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_MY_NOTE,
};
pub static UPDATE_MY_PREFERENCES: Route = Route {
id: "UpdateMyPreferences",
service: "People",
method: Method::PUT,
path: "/my/preferences.json",
pattern: "/my/preferences",
resource_type: "my_preference",
params: &[],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_MY_PREFERENCES,
};
pub static UPDATE_MY_PROFILE: Route = Route {
id: "UpdateMyProfile",
service: "People",
method: Method::PUT,
path: "/my/profile.json",
pattern: "/my/profile",
resource_type: "my_profile",
params: &[],
body: BodyKind::Json,
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_MY_PROFILE,
};
pub static UPDATE_PROJECT: Route = Route {
id: "UpdateProject",
service: "Projects",
method: Method::PUT,
path: "/projects/{projectId}",
pattern: "/projects/{projectId}",
resource_type: "project",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_PROJECT,
};
pub static UPDATE_PROJECT_ACCESS: Route = Route {
id: "UpdateProjectAccess",
service: "People",
method: Method::PUT,
path: "/projects/{projectId}/people/users.json",
pattern: "/projects/{projectId}/people/users",
resource_type: "project_access",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_PROJECT_ACCESS,
};
pub static UPDATE_PROJECT_CLIENT_ACCESS: Route = Route {
id: "UpdateProjectClientAccess",
service: "People",
method: Method::PUT,
path: "/projects/{projectId}/people/client_users.json",
pattern: "/projects/{projectId}/people/client_users",
resource_type: "project_access",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_PROJECT_CLIENT_ACCESS,
};
pub static UPDATE_PROJECT_LOGO: Route = Route {
id: "UpdateProjectLogo",
service: "Projects",
method: Method::PUT,
path: "/projects/{projectId}/logo.json",
pattern: "/projects/{projectId}/logo",
resource_type: "project_logo",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Multipart { field: "logo" },
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_PROJECT_LOGO,
};
pub static UPDATE_PROJECT_WALLPAPER: Route = Route {
id: "UpdateProjectWallpaper",
service: "Projects",
method: Method::PUT,
path: "/projects/{projectId}/wallpaper.json",
pattern: "/projects/{projectId}/wallpaper",
resource_type: "project_wallpaper",
params: &[RouteParam {
name: "projectId",
kind: ParamKind::Int64,
}],
body: BodyKind::Multipart { field: "wallpaper" },
response: Representation::Empty,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_PROJECT_WALLPAPER,
};
pub static UPDATE_QUESTION: Route = Route {
id: "UpdateQuestion",
service: "Checkins",
method: Method::PUT,
path: "/questions/{questionId}",
pattern: "/questions/{questionId}",
resource_type: "question",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_QUESTION,
};
pub static UPDATE_QUESTION_NOTIFICATION_SETTINGS: Route = Route {
id: "UpdateQuestionNotificationSettings",
service: "Checkins",
method: Method::PUT,
path: "/questions/{questionId}/notification_settings.json",
pattern: "/questions/{questionId}/notification_settings",
resource_type: "question_notification_setting",
params: &[RouteParam {
name: "questionId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_QUESTION_NOTIFICATION_SETTINGS,
};
pub static UPDATE_SCHEDULE_SETTINGS: Route = Route {
id: "UpdateScheduleSettings",
service: "Schedules",
method: Method::PUT,
path: "/schedules/{scheduleId}",
pattern: "/schedules/{scheduleId}",
resource_type: "schedule_setting",
params: &[RouteParam {
name: "scheduleId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_SCHEDULE_SETTINGS,
};
pub static UPDATE_SUBSCRIPTION: Route = Route {
id: "UpdateSubscription",
service: "Subscriptions",
method: Method::PUT,
path: "/recordings/{recordingId}/subscription.json",
pattern: "/recordings/{recordingId}/subscription",
resource_type: "subscription",
params: &[RouteParam {
name: "recordingId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_SUBSCRIPTION,
};
pub static UPDATE_SUBTASK: Route = Route {
id: "UpdateSubtask",
service: "Subtasks",
method: Method::PUT,
path: "/subtasks/{subtaskId}",
pattern: "/subtasks/{subtaskId}",
resource_type: "subtask",
params: &[RouteParam {
name: "subtaskId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_SUBTASK,
};
pub static UPDATE_TEMPLATE: Route = Route {
id: "UpdateTemplate",
service: "Templates",
method: Method::PUT,
path: "/templates/{templateId}",
pattern: "/templates/{templateId}",
resource_type: "template",
params: &[RouteParam {
name: "templateId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_TEMPLATE,
};
pub static UPDATE_TIMESHEET_ENTRY: Route = Route {
id: "UpdateTimesheetEntry",
service: "Timesheets",
method: Method::PUT,
path: "/timesheet_entries/{entryId}",
pattern: "/timesheet_entries/{entryId}",
resource_type: "timesheet_entry",
params: &[RouteParam {
name: "entryId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_TIMESHEET_ENTRY,
};
pub static UPDATE_TODOLIST_OR_GROUP: Route = Route {
id: "UpdateTodolistOrGroup",
service: "Todolists",
method: Method::PUT,
path: "/todolists/{id}",
pattern: "/todolists/{id}",
resource_type: "todolist_or_group",
params: &[RouteParam {
name: "id",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: Some(&WriteSemantics {
clears_omitted: true,
preserved_on_omission: &[],
}),
deprecated: false,
metadata: &metadata::UPDATE_TODOLIST_OR_GROUP,
};
pub static UPDATE_TOOL: Route = Route {
id: "UpdateTool",
service: "Tools",
method: Method::PUT,
path: "/dock/tools/{toolId}",
pattern: "/dock/tools/{toolId}",
resource_type: "tool",
params: &[RouteParam {
name: "toolId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_TOOL,
};
pub static UPDATE_UPLOAD: Route = Route {
id: "UpdateUpload",
service: "Uploads",
method: Method::PUT,
path: "/uploads/{uploadId}",
pattern: "/uploads/{uploadId}",
resource_type: "upload",
params: &[RouteParam {
name: "uploadId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_UPLOAD,
};
pub static UPDATE_VAULT: Route = Route {
id: "UpdateVault",
service: "Vaults",
method: Method::PUT,
path: "/vaults/{vaultId}",
pattern: "/vaults/{vaultId}",
resource_type: "vault",
params: &[RouteParam {
name: "vaultId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_VAULT,
};
pub static UPDATE_WEBHOOK: Route = Route {
id: "UpdateWebhook",
service: "Webhooks",
method: Method::PUT,
path: "/webhooks/{webhookId}",
pattern: "/webhooks/{webhookId}",
resource_type: "webhook",
params: &[RouteParam {
name: "webhookId",
kind: ParamKind::Int64,
}],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_WEBHOOK,
};
pub static UPDATE_WORMHOLE: Route = Route {
id: "UpdateWormhole",
service: "Wormholes",
method: Method::PUT,
path: "/buckets/{bucketId}/card_tables/wormholes/{wormholeId}",
pattern: "/buckets/{bucketId}/card_tables/wormholes/{wormholeId}",
resource_type: "wormhole",
params: &[
RouteParam {
name: "bucketId",
kind: ParamKind::Int64,
},
RouteParam {
name: "wormholeId",
kind: ParamKind::Int64,
},
],
body: BodyKind::Json,
response: Representation::Json,
pagination: Pagination::None,
write: None,
deprecated: false,
metadata: &metadata::UPDATE_WORMHOLE,
};
pub static ROUTES: &[&Route] = &[
&ARCHIVE_PROJECT,
&ARCHIVE_RECORDING,
&COMPLETE_SUBTASK,
&COMPLETE_TODO,
©_RECORDING,
&CREATE_ANSWER,
&CREATE_ATTACHMENT,
&CREATE_BOOKMARK,
&CREATE_BUBBLE_UP,
&CREATE_CAMPFIRE_LINE,
&CREATE_CAMPFIRE_UPLOAD,
&CREATE_CARD,
&CREATE_CARD_COLUMN,
&CREATE_CARD_STEP,
&CREATE_CHATBOT,
&CREATE_CLOUD_FILE,
&CREATE_COMMENT,
&CREATE_DOCUMENT,
&CREATE_DOOR,
&CREATE_EMBED,
&CREATE_EVENT_BOOST,
&CREATE_FOLDER,
&CREATE_GAUGE_NEEDLE,
&CREATE_GOOGLE_DOCUMENT,
&CREATE_HILL_CHART_VERSION,
&CREATE_LINEUP_MARKER,
&CREATE_MESSAGE,
&CREATE_MESSAGE_TYPE,
&CREATE_PING,
&CREATE_PROJECT,
&CREATE_PROJECT_FROM_TEMPLATE,
&CREATE_QUESTION,
&CREATE_RECORDING_BOOST,
&CREATE_SCHEDULE_ENTRY,
&CREATE_STREAM_TICKET,
&CREATE_SUBTASK,
&CREATE_TEMPLATE,
&CREATE_TEMPLATE_LIBRARY_CARD_TABLE,
&CREATE_TEMPLATE_LIBRARY_COPY,
&CREATE_TEMPLATE_LIBRARY_TODOLIST,
&CREATE_TEMPLATIFICATION,
&CREATE_TIMESHEET_ENTRY,
&CREATE_TODO,
&CREATE_TODOLIST,
&CREATE_TODOLIST_GROUP,
&CREATE_TODOSET_TODO,
&CREATE_TOOL,
&CREATE_UPLOAD,
&CREATE_UPLOAD_VERSION,
&CREATE_VAULT,
&CREATE_WEBHOOK,
&CREATE_WORMHOLE,
&DELETE_BOOKMARK,
&DELETE_BOOST,
&DELETE_BUBBLE_UP,
&DELETE_CAMPFIRE_LINE,
&DELETE_CHATBOT,
&DELETE_DOOR,
&DELETE_FOLDER,
&DELETE_LINEUP_MARKER,
&DELETE_MESSAGE_TYPE,
&DELETE_SUBTASK,
&DELETE_TEMPLATE,
&DELETE_TOOL,
&DELETE_WEBHOOK,
&DELETE_WORMHOLE,
&DEPRIORITIZE_ASSIGNMENT,
&DESTROY_GAUGE_NEEDLE,
&DESTROY_TIMESHEET_ENTRY,
&DISABLE_CARD_COLUMN_ON_HOLD,
&DISABLE_OUT_OF_OFFICE,
&DISABLE_PROJECT_CLIENTS,
&DISABLE_TOOL,
&ENABLE_CARD_COLUMN_ON_HOLD,
&ENABLE_OUT_OF_OFFICE,
&ENABLE_PROJECT_CLIENTS,
&ENABLE_TOOL,
&GET_ACCOUNT,
&GET_ANSWER,
&GET_ANSWERS_BY_PERSON,
&GET_ASSIGNED_TODOS,
&GET_BOOKMARK,
&GET_BOOST,
&GET_BUBBLE_UPS,
&GET_CALENDAR,
&GET_CAMPFIRE,
&GET_CAMPFIRE_LINE,
&GET_CARD,
&GET_CARD_COLUMN,
&GET_CARD_STEP,
&GET_CARD_TABLE,
&GET_CHATBOT,
&GET_CLIENT_APPROVAL,
&GET_CLIENT_CORRESPONDENCE,
&GET_CLIENT_REPLY,
&GET_CLOUD_FILE,
&GET_COMMENT,
&GET_DOCUMENT,
&GET_DOOR,
&GET_EMBED,
&GET_EVERYTHING_CHECKINS,
&GET_EVERYTHING_COMMENTS,
&GET_EVERYTHING_COMPLETED_CARDS,
&GET_EVERYTHING_COMPLETED_TODOS,
&GET_EVERYTHING_FILES,
&GET_EVERYTHING_FORWARDS,
&GET_EVERYTHING_MESSAGES,
&GET_EVERYTHING_NO_DUE_DATE_CARDS,
&GET_EVERYTHING_NO_DUE_DATE_TODOS,
&GET_EVERYTHING_NOT_NOW_CARDS,
&GET_EVERYTHING_OPEN_CARDS,
&GET_EVERYTHING_OPEN_TODOS,
&GET_EVERYTHING_OVERDUE_CARDS,
&GET_EVERYTHING_OVERDUE_TODOS,
&GET_EVERYTHING_UNASSIGNED_CARDS,
&GET_EVERYTHING_UNASSIGNED_TODOS,
&GET_FILING,
&GET_FOLDER,
&GET_FORWARD,
&GET_FORWARD_REPLY,
&GET_GAUGE_NEEDLE,
&GET_GOOGLE_DOCUMENT,
&GET_HILL_CHART,
&GET_HILL_CHART_VERSION,
&GET_INBOX,
&GET_MESSAGE,
&GET_MESSAGE_BOARD,
&GET_MESSAGE_TYPE,
&GET_MY_ASSIGNMENTS,
&GET_MY_COMPLETED_ASSIGNMENTS,
&GET_MY_DUE_ASSIGNMENTS,
&GET_MY_NOTE,
&GET_MY_NOTIFICATIONS,
&GET_MY_PREFERENCES,
&GET_MY_PROFILE,
&GET_OUT_OF_OFFICE,
&GET_OVERDUE_TODOS,
&GET_PERSON,
&GET_PERSON_PROGRESS,
&GET_PING,
&GET_PROGRESS_REPORT,
&GET_PROJECT,
&GET_PROJECT_CONSTRUCTION,
&GET_PROJECT_TIMELINE,
&GET_PROJECT_TIMESHEET,
&GET_QUESTION,
&GET_QUESTION_REMINDERS,
&GET_QUESTIONNAIRE,
&GET_RECORDING_TIMESHEET,
&GET_SCHEDULE,
&GET_SCHEDULE_ENTRY,
&GET_SCHEDULE_ENTRY_OCCURRENCE,
&GET_SEARCH_METADATA,
&GET_SUBSCRIPTION,
&GET_SUBTASK,
&GET_TEMPLATE,
&GET_TEMPLATE_LIBRARY_CARD_TABLES,
&GET_TEMPLATE_LIBRARY_COPY,
&GET_TEMPLATE_LIBRARY_TODOLISTS,
&GET_TEMPLATIFICATION,
&GET_TIMESHEET_ENTRY,
&GET_TIMESHEET_REPORT,
&GET_TODO,
&GET_TODOLIST_OR_GROUP,
&GET_TODOSET,
&GET_TOOL,
&GET_UPCOMING_SCHEDULE,
&GET_UPLOAD,
&GET_VAULT,
&GET_WEBHOOK,
&LIST_ANSWERS,
&LIST_ASSIGNABLE_PEOPLE,
&LIST_CAMPFIRE_LINES,
&LIST_CAMPFIRE_UPLOADS,
&LIST_CAMPFIRES,
&LIST_CARDS,
&LIST_CHATBOTS,
&LIST_CLIENT_APPROVALS,
&LIST_CLIENT_CORRESPONDENCES,
&LIST_CLIENT_REPLIES,
&LIST_COMMENTS,
&LIST_DOCUMENTS,
&LIST_DOORS,
&LIST_EVENT_BOOSTS,
&LIST_EVENTS,
&LIST_FOLDERS,
&LIST_FORWARD_REPLIES,
&LIST_FORWARDS,
&LIST_GAUGE_NEEDLES,
&LIST_GAUGES,
&LIST_HILL_CHART_VERSIONS,
&LIST_LINEUP_MARKERS,
&LIST_MESSAGE_TYPES,
&LIST_MESSAGES,
&LIST_MY_BOOKMARKS,
&LIST_MY_DRAFTS,
&LIST_PEOPLE,
&LIST_PINGABLE_PEOPLE,
&LIST_PINGS,
&LIST_PROJECT_PEOPLE,
&LIST_PROJECTS,
&LIST_QUESTION_ANSWERERS,
&LIST_QUESTIONS,
&LIST_RECENT_PROJECTS,
&LIST_RECORDING_BOOSTS,
&LIST_RECORDINGS,
&LIST_SCHEDULE_ENTRIES,
&LIST_SUBTASKS,
&LIST_TEMPLATES,
&LIST_TODOLIST_GROUPS,
&LIST_TODOLISTS,
&LIST_TODOS,
&LIST_UPLOAD_VERSIONS,
&LIST_UPLOADS,
&LIST_VAULTS,
&LIST_WEBHOOKS,
&MARK_AS_READ,
&MOVE_CARD,
&MOVE_CARD_COLUMN,
&MOVE_RECORDING,
&MOVE_RECORDING_TO_VAULT,
&PAUSE_QUESTION,
&PIN_MESSAGE,
&POLL_EVENTS,
&POLL_INBOX,
&PRIORITIZE_ASSIGNMENT,
&RECORD_PROJECT_VISIT,
&REMOVE_ACCOUNT_LOGO,
&REMOVE_PROJECT_LOGO,
&REMOVE_PROJECT_WALLPAPER,
&REORDER_UP_NEXT,
&REPLACE_DOCUMENT,
&REPLACE_SCHEDULE_ENTRY,
&REPLACE_TODO,
&REPOSITION_CARD_STEP,
&REPOSITION_SUBTASK,
&REPOSITION_TODO,
&REPOSITION_TODOLIST,
&REPOSITION_TODOLIST_GROUP,
&REPOSITION_TOOL,
&RESUME_QUESTION,
&SEARCH,
&SET_CARD_COLUMN_COLOR,
&SET_CARD_STEP_COMPLETION,
&SET_CLIENT_VISIBILITY,
&SPOTLIGHT_RECORDING,
&SUBSCRIBE,
&SUBSCRIBE_TO_CARD_COLUMN,
&TOGGLE_GAUGE,
&TRASH_PROJECT,
&TRASH_RECORDING,
&UNARCHIVE_PROJECT,
&UNARCHIVE_RECORDING,
&UNCOMPLETE_SUBTASK,
&UNCOMPLETE_TODO,
&UNPIN_MESSAGE,
&UNSPOTLIGHT_RECORDING,
&UNSUBSCRIBE,
&UNSUBSCRIBE_FROM_CARD_COLUMN,
&UPDATE_ACCOUNT_LOGO,
&UPDATE_ACCOUNT_NAME,
&UPDATE_ANSWER,
&UPDATE_BOOST,
&UPDATE_CALENDAR,
&UPDATE_CAMPFIRE_LINE,
&UPDATE_CARD,
&UPDATE_CARD_COLUMN,
&UPDATE_CARD_STEP,
&UPDATE_CHATBOT,
&UPDATE_CLOUD_FILE,
&UPDATE_COMMENT,
&UPDATE_DOOR,
&UPDATE_FOLDER,
&UPDATE_GAUGE_NEEDLE,
&UPDATE_GOOGLE_DOCUMENT,
&UPDATE_HILL_CHART_SETTINGS,
&UPDATE_LINEUP_MARKER,
&UPDATE_MESSAGE,
&UPDATE_MESSAGE_TYPE,
&UPDATE_MY_NOTE,
&UPDATE_MY_PREFERENCES,
&UPDATE_MY_PROFILE,
&UPDATE_PROJECT,
&UPDATE_PROJECT_ACCESS,
&UPDATE_PROJECT_CLIENT_ACCESS,
&UPDATE_PROJECT_LOGO,
&UPDATE_PROJECT_WALLPAPER,
&UPDATE_QUESTION,
&UPDATE_QUESTION_NOTIFICATION_SETTINGS,
&UPDATE_SCHEDULE_SETTINGS,
&UPDATE_SUBSCRIPTION,
&UPDATE_SUBTASK,
&UPDATE_TEMPLATE,
&UPDATE_TIMESHEET_ENTRY,
&UPDATE_TODOLIST_OR_GROUP,
&UPDATE_TOOL,
&UPDATE_UPLOAD,
&UPDATE_VAULT,
&UPDATE_WEBHOOK,
&UPDATE_WORMHOLE,
];