Module: Unitpost::Generated

Defined in:
lib/unitpost/generated/operations.rb

Constant Summary collapse

API_VERSION =
"v1"
OPERATIONS =
[
{
  operation_id: "apiKeys.create",
  resource: "apiKeys",
  method_name: "create",
  http_method: "POST",
  path: "/api-keys",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "ApiKeyCreate",
  response_schema: "ApiKeyCreated",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "apiKeys.delete",
  resource: "apiKeys",
  method_name: "delete",
  http_method: "DELETE",
  path: "/api-keys/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "apiKeys.list",
  resource: "apiKeys",
  method_name: "list",
  http_method: "GET",
  path: "/api-keys",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "ApiKey"
},
{
  operation_id: "brandkits.get",
  resource: "brandkits",
  method_name: "get",
  http_method: "GET",
  path: "/brand-kits/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "BrandKit",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "brandkits.list",
  resource: "brandkits",
  method_name: "list",
  http_method: "GET",
  path: "/brand-kits",
  path_params: [],
  query_params: ["name"],
  has_body: false,
  request_schema: nil,
  response_schema: "BrandKitList",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.cancel",
  resource: "campaigns",
  method_name: "cancel",
  http_method: "POST",
  path: "/campaigns/{id}/cancel",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.create",
  resource: "campaigns",
  method_name: "create",
  http_method: "POST",
  path: "/campaigns",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "CampaignCreate",
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.delete",
  resource: "campaigns",
  method_name: "delete",
  http_method: "DELETE",
  path: "/campaigns/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.get",
  resource: "campaigns",
  method_name: "get",
  http_method: "GET",
  path: "/campaigns/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.list",
  resource: "campaigns",
  method_name: "list",
  http_method: "GET",
  path: "/campaigns",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Campaign"
},
{
  operation_id: "campaigns.pause",
  resource: "campaigns",
  method_name: "pause",
  http_method: "POST",
  path: "/campaigns/{id}/pause",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.reschedule",
  resource: "campaigns",
  method_name: "reschedule",
  http_method: "POST",
  path: "/campaigns/{id}/reschedule",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "CampaignReschedule",
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.resume",
  resource: "campaigns",
  method_name: "resume",
  http_method: "POST",
  path: "/campaigns/{id}/resume",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.send",
  resource: "campaigns",
  method_name: "send",
  http_method: "POST",
  path: "/campaigns/{id}/send",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.update",
  resource: "campaigns",
  method_name: "update",
  http_method: "PATCH",
  path: "/campaigns/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "CampaignUpdate",
  response_schema: "Campaign",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "campaigns.validate",
  resource: "campaigns",
  method_name: "validate",
  http_method: "GET",
  path: "/campaigns/{id}/validate",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contactFields.create",
  resource: "contactFields",
  method_name: "create",
  http_method: "POST",
  path: "/contact-fields",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "ContactFieldCreate",
  response_schema: "ContactField",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contactFields.delete",
  resource: "contactFields",
  method_name: "delete",
  http_method: "DELETE",
  path: "/contact-fields/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contactFields.get",
  resource: "contactFields",
  method_name: "get",
  http_method: "GET",
  path: "/contact-fields/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "ContactField",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contactFields.list",
  resource: "contactFields",
  method_name: "list",
  http_method: "GET",
  path: "/contact-fields",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "ContactField"
},
{
  operation_id: "contactFields.rename",
  resource: "contactFields",
  method_name: "rename",
  http_method: "POST",
  path: "/contact-fields/{id}/rename",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "ContactFieldRename",
  response_schema: "ContactField",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contactFields.update",
  resource: "contactFields",
  method_name: "update",
  http_method: "PATCH",
  path: "/contact-fields/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "ContactFieldUpdate",
  response_schema: "ContactField",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.create",
  resource: "contacts",
  method_name: "create",
  http_method: "POST",
  path: "/contacts",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "ContactCreate",
  response_schema: "Contact",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.delete",
  resource: "contacts",
  method_name: "delete",
  http_method: "DELETE",
  path: "/contacts/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.get",
  resource: "contacts",
  method_name: "get",
  http_method: "GET",
  path: "/contacts/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Contact",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.getImport",
  resource: "contacts",
  method_name: "getImport",
  http_method: "GET",
  path: "/contacts/imports/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "ContactImport",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.import",
  resource: "contacts",
  method_name: "import",
  http_method: "POST",
  path: "/contacts/imports",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "ContactImportCreate",
  response_schema: "ContactImport",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "contacts.list",
  resource: "contacts",
  method_name: "list",
  http_method: "GET",
  path: "/contacts",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Contact"
},
{
  operation_id: "contacts.listImports",
  resource: "contacts",
  method_name: "listImports",
  http_method: "GET",
  path: "/contacts/imports",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "ContactImport"
},
{
  operation_id: "contacts.update",
  resource: "contacts",
  method_name: "update",
  http_method: "PATCH",
  path: "/contacts/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "ContactUpdate",
  response_schema: "Contact",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "domains.create",
  resource: "domains",
  method_name: "create",
  http_method: "POST",
  path: "/domains",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "DomainCreate",
  response_schema: "Domain",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "domains.delete",
  resource: "domains",
  method_name: "delete",
  http_method: "DELETE",
  path: "/domains/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "domains.get",
  resource: "domains",
  method_name: "get",
  http_method: "GET",
  path: "/domains/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Domain",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "domains.list",
  resource: "domains",
  method_name: "list",
  http_method: "GET",
  path: "/domains",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Domain"
},
{
  operation_id: "domains.update",
  resource: "domains",
  method_name: "update",
  http_method: "PATCH",
  path: "/domains/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "DomainUpdate",
  response_schema: "Domain",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "domains.verify",
  resource: "domains",
  method_name: "verify",
  http_method: "POST",
  path: "/domains/{id}/verify",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Domain",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.batch",
  resource: "emails",
  method_name: "batch",
  http_method: "POST",
  path: "/emails/batch",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "BatchSend",
  response_schema: "BatchSendResult",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.cancelBatch",
  resource: "emails",
  method_name: "cancelBatch",
  http_method: "POST",
  path: "/emails/batches/{id}/cancel",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Batch",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.get",
  resource: "emails",
  method_name: "get",
  http_method: "GET",
  path: "/emails/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Email",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.getBatch",
  resource: "emails",
  method_name: "getBatch",
  http_method: "GET",
  path: "/emails/batches/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Batch",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.list",
  resource: "emails",
  method_name: "list",
  http_method: "GET",
  path: "/emails",
  path_params: [],
  query_params: ["limit", "after", "before", "status", "campaign_id", "batch_id", "created_after", "created_before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Email"
},
{
  operation_id: "emails.receivedAttachmentUrl",
  resource: "emails",
  method_name: "receivedAttachmentUrl",
  http_method: "GET",
  path: "/emails/received/{id}/attachments/{attachmentId}",
  path_params: ["id", "attachmentId"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "ReceivedAttachmentUrl",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.receivedGet",
  resource: "emails",
  method_name: "receivedGet",
  http_method: "GET",
  path: "/emails/received/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "ReceivedEmail",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.receivedList",
  resource: "emails",
  method_name: "receivedList",
  http_method: "GET",
  path: "/emails/received",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "ReceivedEmailSummary"
},
{
  operation_id: "emails.send",
  resource: "emails",
  method_name: "send",
  http_method: "POST",
  path: "/emails",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "SendEmail",
  response_schema: "SendResult",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.stats",
  resource: "emails",
  method_name: "stats",
  http_method: "GET",
  path: "/emails/stats",
  path_params: [],
  query_params: ["days"],
  has_body: false,
  request_schema: nil,
  response_schema: "EmailStats",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "emails.update",
  resource: "emails",
  method_name: "update",
  http_method: "PATCH",
  path: "/emails/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "EmailPatch",
  response_schema: "Email",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.addMember",
  resource: "segments",
  method_name: "addMember",
  http_method: "POST",
  path: "/segments/{id}/contacts",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "SegmentMemberAdd",
  response_schema: "SegmentMember",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.create",
  resource: "segments",
  method_name: "create",
  http_method: "POST",
  path: "/segments",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "SegmentCreate",
  response_schema: "Segment",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.delete",
  resource: "segments",
  method_name: "delete",
  http_method: "DELETE",
  path: "/segments/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.get",
  resource: "segments",
  method_name: "get",
  http_method: "GET",
  path: "/segments/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Segment",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.list",
  resource: "segments",
  method_name: "list",
  http_method: "GET",
  path: "/segments",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Segment"
},
{
  operation_id: "segments.listMembers",
  resource: "segments",
  method_name: "listMembers",
  http_method: "GET",
  path: "/segments/{id}/contacts",
  path_params: ["id"],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "SegmentMember"
},
{
  operation_id: "segments.removeMember",
  resource: "segments",
  method_name: "removeMember",
  http_method: "DELETE",
  path: "/segments/{id}/contacts/{contact}",
  path_params: ["id", "contact"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "segments.update",
  resource: "segments",
  method_name: "update",
  http_method: "PATCH",
  path: "/segments/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "SegmentUpdate",
  response_schema: "Segment",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "suppressions.create",
  resource: "suppressions",
  method_name: "create",
  http_method: "POST",
  path: "/suppressions",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "SuppressionCreate",
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "suppressions.delete",
  resource: "suppressions",
  method_name: "delete",
  http_method: "DELETE",
  path: "/suppressions/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "suppressions.get",
  resource: "suppressions",
  method_name: "get",
  http_method: "GET",
  path: "/suppressions/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Suppression",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "suppressions.list",
  resource: "suppressions",
  method_name: "list",
  http_method: "GET",
  path: "/suppressions",
  path_params: [],
  query_params: ["limit", "after", "before", "scope"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Suppression"
},
{
  operation_id: "templates.create",
  resource: "templates",
  method_name: "create",
  http_method: "POST",
  path: "/templates",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "TemplateCreate",
  response_schema: "Template",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "templates.delete",
  resource: "templates",
  method_name: "delete",
  http_method: "DELETE",
  path: "/templates/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "templates.get",
  resource: "templates",
  method_name: "get",
  http_method: "GET",
  path: "/templates/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Template",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "templates.list",
  resource: "templates",
  method_name: "list",
  http_method: "GET",
  path: "/templates",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Template"
},
{
  operation_id: "templates.update",
  resource: "templates",
  method_name: "update",
  http_method: "PATCH",
  path: "/templates/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "TemplateUpdate",
  response_schema: "Template",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.create",
  resource: "topics",
  method_name: "create",
  http_method: "POST",
  path: "/topics",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "TopicCreate",
  response_schema: "Topic",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.delete",
  resource: "topics",
  method_name: "delete",
  http_method: "DELETE",
  path: "/topics/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.get",
  resource: "topics",
  method_name: "get",
  http_method: "GET",
  path: "/topics/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Topic",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.list",
  resource: "topics",
  method_name: "list",
  http_method: "GET",
  path: "/topics",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Topic"
},
{
  operation_id: "topics.listTopics",
  resource: "topics",
  method_name: "listTopics",
  http_method: "GET",
  path: "/contacts/{id}/topics",
  path_params: ["id"],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "ContactTopic"
},
{
  operation_id: "topics.setTopic",
  resource: "topics",
  method_name: "setTopic",
  http_method: "POST",
  path: "/contacts/{id}/topics",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "ContactTopicSet",
  response_schema: "ContactTopic",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.setTopic",
  resource: "topics",
  method_name: "setTopic",
  http_method: "PUT",
  path: "/contacts/{id}/topics",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "ContactTopicSet",
  response_schema: "ContactTopic",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "topics.update",
  resource: "topics",
  method_name: "update",
  http_method: "PATCH",
  path: "/topics/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "TopicUpdate",
  response_schema: "Topic",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "usage.get",
  resource: "usage",
  method_name: "get",
  http_method: "GET",
  path: "/usage",
  path_params: [],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Usage",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "webhooks.create",
  resource: "webhooks",
  method_name: "create",
  http_method: "POST",
  path: "/webhooks",
  path_params: [],
  query_params: [],
  has_body: true,
  request_schema: "WebhookCreate",
  response_schema: "WebhookCreated",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "webhooks.delete",
  resource: "webhooks",
  method_name: "delete",
  http_method: "DELETE",
  path: "/webhooks/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "webhooks.get",
  resource: "webhooks",
  method_name: "get",
  http_method: "GET",
  path: "/webhooks/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "Webhook",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "webhooks.list",
  resource: "webhooks",
  method_name: "list",
  http_method: "GET",
  path: "/webhooks",
  path_params: [],
  query_params: ["limit", "after", "before"],
  has_body: false,
  request_schema: nil,
  response_schema: nil,
  is_list: true,
  list_item_schema: "Webhook"
},
{
  operation_id: "webhooks.test",
  resource: "webhooks",
  method_name: "test",
  http_method: "POST",
  path: "/webhooks/{id}/test",
  path_params: ["id"],
  query_params: [],
  has_body: false,
  request_schema: nil,
  response_schema: "WebhookTestResult",
  is_list: false,
  list_item_schema: nil
},
{
  operation_id: "webhooks.update",
  resource: "webhooks",
  method_name: "update",
  http_method: "PATCH",
  path: "/webhooks/{id}",
  path_params: ["id"],
  query_params: [],
  has_body: true,
  request_schema: "WebhookUpdate",
  response_schema: "Webhook",
  is_list: false,
  list_item_schema: nil
},
].freeze