/** Square API snapshot used by the generated callable surface. */ export const SQUARE_API_VERSION = "2026-09-16" /** Current seller-authorized Square operations and generated action contract. */ export const SQUARE_OPERATION_MANIFEST = [ { httpMethod: "POST", key: "acceptDispute", operationId: "AcceptDispute", path: "/v2/disputes/{dispute_id}/accept", replaySafety: "unsafe", scopes: ["DISPUTES_WRITE"], }, { httpMethod: "POST", key: "accumulateLoyaltyPoints", operationId: "AccumulateLoyaltyPoints", path: "/v2/loyalty/accounts/{account_id}/accumulate", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "PUT", key: "addGroupToCustomer", operationId: "AddGroupToCustomer", path: "/v2/customers/{customer_id}/groups/{group_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "adjustLoyaltyPoints", operationId: "AdjustLoyaltyPoints", path: "/v2/loyalty/accounts/{account_id}/adjust", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "batchChangeInventory", operationId: "BatchChangeInventory", path: "/v2/inventory/changes/batch-create", replaySafety: "safe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "POST", key: "batchDeleteCatalogObjects", operationId: "BatchDeleteCatalogObjects", path: "/v2/catalog/batch-delete", replaySafety: "unsafe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "POST", key: "batchRetrieveCatalogObjects", operationId: "BatchRetrieveCatalogObjects", path: "/v2/catalog/batch-retrieve", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "POST", key: "batchRetrieveInventoryChanges", operationId: "BatchRetrieveInventoryChanges", path: "/v2/inventory/changes/batch-retrieve", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "POST", key: "batchRetrieveInventoryCounts", operationId: "BatchRetrieveInventoryCounts", path: "/v2/inventory/counts/batch-retrieve", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "POST", key: "batchRetrieveOrders", operationId: "BatchRetrieveOrders", path: "/v2/orders/batch-retrieve", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "POST", key: "batchUpsertCatalogObjects", operationId: "BatchUpsertCatalogObjects", path: "/v2/catalog/batch-upsert", replaySafety: "safe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "POST", key: "bulkCreateCustomers", operationId: "BulkCreateCustomers", path: "/v2/customers/bulk-create", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "bulkCreateTeamMembers", operationId: "BulkCreateTeamMembers", path: "/v2/team-members/bulk-create", replaySafety: "unsafe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "POST", key: "bulkCreateVendors", operationId: "BulkCreateVendors", path: "/v2/vendors/bulk-create", replaySafety: "unsafe", scopes: ["VENDOR_WRITE"], }, { httpMethod: "POST", key: "bulkDeleteBookingCustomAttributes", operationId: "BulkDeleteBookingCustomAttributes", path: "/v2/bookings/custom-attributes/bulk-delete", replaySafety: "unsafe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "bulkDeleteCustomers", operationId: "BulkDeleteCustomers", path: "/v2/customers/bulk-delete", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "bulkDeleteLocationCustomAttributes", operationId: "BulkDeleteLocationCustomAttributes", path: "/v2/locations/custom-attributes/bulk-delete", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "bulkDeleteMerchantCustomAttributes", operationId: "BulkDeleteMerchantCustomAttributes", path: "/v2/merchants/custom-attributes/bulk-delete", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "bulkDeleteOrderCustomAttributes", operationId: "BulkDeleteOrderCustomAttributes", path: "/v2/orders/custom-attributes/bulk-delete", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "bulkPublishScheduledShifts", operationId: "BulkPublishScheduledShifts", path: "/v2/labor/scheduled-shifts/bulk-publish", replaySafety: "unsafe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "POST", key: "bulkRetrieveBookings", operationId: "BulkRetrieveBookings", path: "/v2/bookings/bulk-retrieve", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "POST", key: "bulkRetrieveChannels", operationId: "BulkRetrieveChannels", path: "/v2/channels/bulk-retrieve", replaySafety: "safe", scopes: ["CHANNELS_READ"], }, { httpMethod: "POST", key: "bulkRetrieveCustomers", operationId: "BulkRetrieveCustomers", path: "/v2/customers/bulk-retrieve", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "POST", key: "bulkRetrieveTeamMemberBookingProfiles", operationId: "BulkRetrieveTeamMemberBookingProfiles", path: "/v2/bookings/team-member-booking-profiles/bulk-retrieve", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "POST", key: "bulkRetrieveVendors", operationId: "BulkRetrieveVendors", path: "/v2/vendors/bulk-retrieve", replaySafety: "safe", scopes: ["VENDOR_READ"], }, { httpMethod: "POST", key: "bulkSwapPlan", operationId: "BulkSwapPlan", path: "/v2/subscriptions/bulk-swap-plan", replaySafety: "unsafe", scopes: ["ITEMS_READ", "SUBSCRIPTIONS_READ", "SUBSCRIPTIONS_WRITE"], }, { httpMethod: "POST", key: "bulkUpdateCustomers", operationId: "BulkUpdateCustomers", path: "/v2/customers/bulk-update", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "bulkUpdateTeamMembers", operationId: "BulkUpdateTeamMembers", path: "/v2/team-members/bulk-update", replaySafety: "unsafe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "PUT", key: "bulkUpdateVendors", operationId: "BulkUpdateVendors", path: "/v2/vendors/bulk-update", replaySafety: "safe", scopes: ["VENDOR_WRITE"], }, { httpMethod: "POST", key: "bulkUpsertBookingCustomAttributes", operationId: "BulkUpsertBookingCustomAttributes", path: "/v2/bookings/custom-attributes/bulk-upsert", replaySafety: "unsafe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "bulkUpsertCustomerCustomAttributes", operationId: "BulkUpsertCustomerCustomAttributes", path: "/v2/customers/custom-attributes/bulk-upsert", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "bulkUpsertLocationCustomAttributes", operationId: "BulkUpsertLocationCustomAttributes", path: "/v2/locations/custom-attributes/bulk-upsert", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "bulkUpsertMerchantCustomAttributes", operationId: "BulkUpsertMerchantCustomAttributes", path: "/v2/merchants/custom-attributes/bulk-upsert", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "bulkUpsertOrderCustomAttributes", operationId: "BulkUpsertOrderCustomAttributes", path: "/v2/orders/custom-attributes/bulk-upsert", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "calculateLoyaltyPoints", operationId: "CalculateLoyaltyPoints", path: "/v2/loyalty/programs/{program_id}/calculate", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "POST", key: "calculateOrder", operationId: "CalculateOrder", path: "/v2/orders/calculate", replaySafety: "safe", scopes: [], }, { httpMethod: "POST", key: "cancelBooking", operationId: "CancelBooking", path: "/v2/bookings/{booking_id}/cancel", replaySafety: "unsafe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelInvoice", operationId: "CancelInvoice", path: "/v2/invoices/{invoice_id}/cancel", replaySafety: "unsafe", scopes: ["INVOICES_WRITE", "ORDERS_WRITE"], }, { httpMethod: "POST", key: "cancelLoyaltyPromotion", operationId: "CancelLoyaltyPromotion", path: "/v2/loyalty/programs/{program_id}/promotions/{promotion_id}/cancel", replaySafety: "unsafe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "cancelPayment", operationId: "CancelPayment", path: "/v2/payments/{payment_id}/cancel", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelPaymentByIdempotencyKey", operationId: "CancelPaymentByIdempotencyKey", path: "/v2/payments/cancel", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelSubscription", operationId: "CancelSubscription", path: "/v2/subscriptions/{subscription_id}/cancel", replaySafety: "unsafe", scopes: ["SUBSCRIPTIONS_WRITE"], }, { httpMethod: "POST", key: "cancelTerminalAction", operationId: "CancelTerminalAction", path: "/v2/terminals/actions/{action_id}/cancel", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelTerminalCheckout", operationId: "CancelTerminalCheckout", path: "/v2/terminals/checkouts/{checkout_id}/cancel", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelTerminalRefund", operationId: "CancelTerminalRefund", path: "/v2/terminals/refunds/{terminal_refund_id}/cancel", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "cancelTransferOrder", operationId: "CancelTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}/cancel", replaySafety: "safe", scopes: ["INVENTORY_READ", "INVENTORY_WRITE"], }, { httpMethod: "GET", key: "catalogInfo", operationId: "CatalogInfo", path: "/v2/catalog/info", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "POST", key: "changeBillingAnchorDate", operationId: "ChangeBillingAnchorDate", path: "/v2/subscriptions/{subscription_id}/billing-anchor", replaySafety: "unsafe", scopes: ["ITEMS_READ", "SUBSCRIPTIONS_READ", "SUBSCRIPTIONS_WRITE"], }, { httpMethod: "POST", key: "cloneOrder", operationId: "CloneOrder", path: "/v2/orders/clone", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "completePayment", operationId: "CompletePayment", path: "/v2/payments/{payment_id}/complete", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createBankAccount", operationId: "CreateBankAccount", path: "/v2/bank-accounts", replaySafety: "safe", scopes: ["BANK_ACCOUNTS_WRITE"], }, { httpMethod: "POST", key: "createBooking", operationId: "CreateBooking", path: "/v2/bookings", replaySafety: "unsafe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "createBookingCustomAttributeDefinition", operationId: "CreateBookingCustomAttributeDefinition", path: "/v2/bookings/custom-attribute-definitions", replaySafety: "unsafe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "createBreakType", operationId: "CreateBreakType", path: "/v2/labor/break-types", replaySafety: "unsafe", scopes: ["TIMECARDS_SETTINGS_WRITE"], }, { httpMethod: "POST", key: "createCard", operationId: "CreateCard", path: "/v2/cards", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createCatalogImage", operationId: "CreateCatalogImage", path: "/v2/catalog/images", replaySafety: "unsafe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "POST", key: "createCustomer", operationId: "CreateCustomer", path: "/v2/customers", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "createCustomerCustomAttributeDefinition", operationId: "CreateCustomerCustomAttributeDefinition", path: "/v2/customers/custom-attribute-definitions", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "createCustomerGroup", operationId: "CreateCustomerGroup", path: "/v2/customers/groups", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "createDeviceCode", operationId: "CreateDeviceCode", path: "/v2/devices/codes", replaySafety: "safe", scopes: ["DEVICE_CREDENTIAL_MANAGEMENT"], }, { httpMethod: "POST", key: "createDisputeEvidenceFile", operationId: "CreateDisputeEvidenceFile", path: "/v2/disputes/{dispute_id}/evidence-files", replaySafety: "unsafe", scopes: ["DISPUTES_WRITE"], }, { httpMethod: "POST", key: "createDisputeEvidenceText", operationId: "CreateDisputeEvidenceText", path: "/v2/disputes/{dispute_id}/evidence-text", replaySafety: "safe", scopes: ["DISPUTES_WRITE"], }, { httpMethod: "POST", key: "createGiftCard", operationId: "CreateGiftCard", path: "/v2/gift-cards", replaySafety: "safe", scopes: ["GIFTCARDS_WRITE"], }, { httpMethod: "POST", key: "createGiftCardActivity", operationId: "CreateGiftCardActivity", path: "/v2/gift-cards/activities", replaySafety: "safe", scopes: ["GIFTCARDS_WRITE"], }, { httpMethod: "POST", key: "createInventoryAdjustmentReason", operationId: "CreateInventoryAdjustmentReason", path: "/v2/inventory/adjustment-reasons/create", replaySafety: "safe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "POST", key: "createInvoice", operationId: "CreateInvoice", path: "/v2/invoices", replaySafety: "unsafe", scopes: ["INVOICES_WRITE", "ORDERS_WRITE"], }, { httpMethod: "POST", key: "createInvoiceAttachment", operationId: "CreateInvoiceAttachment", path: "/v2/invoices/{invoice_id}/attachments", replaySafety: "unsafe", scopes: ["INVOICES_WRITE"], }, { httpMethod: "POST", key: "createJob", operationId: "CreateJob", path: "/v2/team-members/jobs", replaySafety: "safe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "POST", key: "createLocation", operationId: "CreateLocation", path: "/v2/locations", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "createLocationCustomAttributeDefinition", operationId: "CreateLocationCustomAttributeDefinition", path: "/v2/locations/custom-attribute-definitions", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "createLoyaltyAccount", operationId: "CreateLoyaltyAccount", path: "/v2/loyalty/accounts", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "createLoyaltyPromotion", operationId: "CreateLoyaltyPromotion", path: "/v2/loyalty/programs/{program_id}/promotions", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "createLoyaltyReward", operationId: "CreateLoyaltyReward", path: "/v2/loyalty/rewards", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "createMerchantCustomAttributeDefinition", operationId: "CreateMerchantCustomAttributeDefinition", path: "/v2/merchants/custom-attribute-definitions", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "createOrder", operationId: "CreateOrder", path: "/v2/orders", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "createOrderCustomAttributeDefinition", operationId: "CreateOrderCustomAttributeDefinition", path: "/v2/orders/custom-attribute-definitions", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "createPayment", operationId: "CreatePayment", path: "/v2/payments", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createPaymentLink", operationId: "CreatePaymentLink", path: "/v2/online-checkout/payment-links", replaySafety: "unsafe", scopes: ["ORDERS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createScheduledShift", operationId: "CreateScheduledShift", path: "/v2/labor/scheduled-shifts", replaySafety: "unsafe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "POST", key: "createSubscription", operationId: "CreateSubscription", path: "/v2/subscriptions", replaySafety: "unsafe", scopes: [ "CUSTOMERS_READ", "INVOICES_WRITE", "ITEMS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE", "SUBSCRIPTIONS_WRITE", ], }, { httpMethod: "POST", key: "createTeamMember", operationId: "CreateTeamMember", path: "/v2/team-members", replaySafety: "unsafe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "POST", key: "createTerminalAction", operationId: "CreateTerminalAction", path: "/v2/terminals/actions", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createTerminalCheckout", operationId: "CreateTerminalCheckout", path: "/v2/terminals/checkouts", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createTerminalRefund", operationId: "CreateTerminalRefund", path: "/v2/terminals/refunds", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "createTimecard", operationId: "CreateTimecard", path: "/v2/labor/timecards", replaySafety: "unsafe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "POST", key: "createTransferOrder", operationId: "CreateTransferOrder", path: "/v2/transfer-orders", replaySafety: "safe", scopes: ["INVENTORY_READ", "INVENTORY_WRITE"], }, { httpMethod: "POST", key: "createVendor", operationId: "CreateVendor", path: "/v2/vendors/create", replaySafety: "safe", scopes: ["VENDOR_WRITE"], }, { httpMethod: "DELETE", key: "deleteBookingCustomAttribute", operationId: "DeleteBookingCustomAttribute", path: "/v2/bookings/{booking_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "DELETE", key: "deleteBookingCustomAttributeDefinition", operationId: "DeleteBookingCustomAttributeDefinition", path: "/v2/bookings/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "DELETE", key: "deleteBreakType", operationId: "DeleteBreakType", path: "/v2/labor/break-types/{id}", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_WRITE"], }, { httpMethod: "DELETE", key: "deleteCatalogObject", operationId: "DeleteCatalogObject", path: "/v2/catalog/object/{object_id}", replaySafety: "safe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "DELETE", key: "deleteCustomer", operationId: "DeleteCustomer", path: "/v2/customers/{customer_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteCustomerCustomAttribute", operationId: "DeleteCustomerCustomAttribute", path: "/v2/customers/{customer_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteCustomerCustomAttributeDefinition", operationId: "DeleteCustomerCustomAttributeDefinition", path: "/v2/customers/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteCustomerGroup", operationId: "DeleteCustomerGroup", path: "/v2/customers/groups/{group_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteDisputeEvidence", operationId: "DeleteDisputeEvidence", path: "/v2/disputes/{dispute_id}/evidence/{evidence_id}", replaySafety: "safe", scopes: ["DISPUTES_WRITE"], }, { httpMethod: "POST", key: "deleteInventoryAdjustmentReason", operationId: "DeleteInventoryAdjustmentReason", path: "/v2/inventory/adjustment-reasons/delete", replaySafety: "unsafe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "DELETE", key: "deleteInvoice", operationId: "DeleteInvoice", path: "/v2/invoices/{invoice_id}", replaySafety: "safe", scopes: ["INVOICES_WRITE", "ORDERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteInvoiceAttachment", operationId: "DeleteInvoiceAttachment", path: "/v2/invoices/{invoice_id}/attachments/{attachment_id}", replaySafety: "safe", scopes: ["INVOICES_WRITE"], }, { httpMethod: "DELETE", key: "deleteLocationCustomAttribute", operationId: "DeleteLocationCustomAttribute", path: "/v2/locations/{location_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "DELETE", key: "deleteLocationCustomAttributeDefinition", operationId: "DeleteLocationCustomAttributeDefinition", path: "/v2/locations/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "DELETE", key: "deleteLoyaltyReward", operationId: "DeleteLoyaltyReward", path: "/v2/loyalty/rewards/{reward_id}", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "DELETE", key: "deleteMerchantCustomAttribute", operationId: "DeleteMerchantCustomAttribute", path: "/v2/merchants/{merchant_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "DELETE", key: "deleteMerchantCustomAttributeDefinition", operationId: "DeleteMerchantCustomAttributeDefinition", path: "/v2/merchants/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "DELETE", key: "deleteOrderCustomAttribute", operationId: "DeleteOrderCustomAttribute", path: "/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}", replaySafety: "safe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteOrderCustomAttributeDefinition", operationId: "DeleteOrderCustomAttributeDefinition", path: "/v2/orders/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "DELETE", key: "deletePaymentLink", operationId: "DeletePaymentLink", path: "/v2/online-checkout/payment-links/{id}", replaySafety: "safe", scopes: ["ORDERS_READ", "ORDERS_WRITE"], }, { httpMethod: "DELETE", key: "deleteSnippet", operationId: "DeleteSnippet", path: "/v2/sites/{site_id}/snippet", replaySafety: "safe", scopes: ["ONLINE_STORE_SNIPPETS_WRITE"], }, { httpMethod: "DELETE", key: "deleteSubscriptionAction", operationId: "DeleteSubscriptionAction", path: "/v2/subscriptions/{subscription_id}/actions/{action_id}", replaySafety: "safe", scopes: ["SUBSCRIPTIONS_WRITE"], }, { httpMethod: "DELETE", key: "deleteTimecard", operationId: "DeleteTimecard", path: "/v2/labor/timecards/{id}", replaySafety: "safe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "DELETE", key: "deleteTransferOrder", operationId: "DeleteTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}", replaySafety: "safe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "POST", key: "disableBankAccount", operationId: "DisableBankAccount", path: "/v2/bank-accounts/{bank_account_id}/disable", replaySafety: "unsafe", scopes: ["BANK_ACCOUNTS_WRITE"], }, { httpMethod: "POST", key: "disableCard", operationId: "DisableCard", path: "/v2/cards/{card_id}/disable", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "dismissTerminalAction", operationId: "DismissTerminalAction", path: "/v2/terminals/actions/{action_id}/dismiss", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "dismissTerminalCheckout", operationId: "DismissTerminalCheckout", path: "/v2/terminals/checkouts/{checkout_id}/dismiss", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "dismissTerminalRefund", operationId: "DismissTerminalRefund", path: "/v2/terminals/refunds/{terminal_refund_id}/dismiss", replaySafety: "unsafe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "GET", key: "getBankAccount", operationId: "GetBankAccount", path: "/v2/bank-accounts/{bank_account_id}", replaySafety: "safe", scopes: ["BANK_ACCOUNTS_READ"], }, { httpMethod: "GET", key: "getBankAccountByV1Id", operationId: "GetBankAccountByV1Id", path: "/v2/bank-accounts/by-v1-id/{v1_bank_account_id}", replaySafety: "safe", scopes: ["BANK_ACCOUNTS_READ"], }, { httpMethod: "GET", key: "getBreakType", operationId: "GetBreakType", path: "/v2/labor/break-types/{id}", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_READ"], }, { httpMethod: "GET", key: "getDevice", operationId: "GetDevice", path: "/v2/devices/{device_id}", replaySafety: "safe", scopes: ["DEVICES_READ"], }, { httpMethod: "GET", key: "getDeviceCode", operationId: "GetDeviceCode", path: "/v2/devices/codes/{id}", replaySafety: "safe", scopes: ["DEVICE_CREDENTIAL_MANAGEMENT"], }, { httpMethod: "GET", key: "getInvoice", operationId: "GetInvoice", path: "/v2/invoices/{invoice_id}", replaySafety: "safe", scopes: ["INVOICES_READ"], }, { httpMethod: "GET", key: "getPayment", operationId: "GetPayment", path: "/v2/payments/{payment_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "getPaymentRefund", operationId: "GetPaymentRefund", path: "/v2/refunds/{refund_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "getPayout", operationId: "GetPayout", path: "/v2/payouts/{payout_id}", replaySafety: "safe", scopes: ["PAYOUTS_READ"], }, { httpMethod: "GET", key: "getReportingMetadata", operationId: "GetReportingMetadata", path: "/reporting/v1/meta", replaySafety: "safe", scopes: ["REPORTING_READ"], }, { httpMethod: "GET", key: "getTeamMemberWage", operationId: "GetTeamMemberWage", path: "/v2/labor/team-member-wages/{id}", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "GET", key: "getTerminalAction", operationId: "GetTerminalAction", path: "/v2/terminals/actions/{action_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "getTerminalCheckout", operationId: "GetTerminalCheckout", path: "/v2/terminals/checkouts/{checkout_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "getTerminalRefund", operationId: "GetTerminalRefund", path: "/v2/terminals/refunds/{terminal_refund_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "POST", key: "linkCustomerToGiftCard", operationId: "LinkCustomerToGiftCard", path: "/v2/gift-cards/{gift_card_id}/link-customer", replaySafety: "unsafe", scopes: ["GIFTCARDS_WRITE"], }, { httpMethod: "GET", key: "listBankAccounts", operationId: "ListBankAccounts", path: "/v2/bank-accounts", replaySafety: "safe", scopes: ["BANK_ACCOUNTS_READ"], }, { httpMethod: "GET", key: "listBookingCustomAttributeDefinitions", operationId: "ListBookingCustomAttributeDefinitions", path: "/v2/bookings/custom-attribute-definitions", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "listBookingCustomAttributes", operationId: "ListBookingCustomAttributes", path: "/v2/bookings/{booking_id}/custom-attributes", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "listBookings", operationId: "ListBookings", path: "/v2/bookings", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "listBreakTypes", operationId: "ListBreakTypes", path: "/v2/labor/break-types", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_READ"], }, { httpMethod: "GET", key: "listCards", operationId: "ListCards", path: "/v2/cards", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "listCashDrawerShiftEvents", operationId: "ListCashDrawerShiftEvents", path: "/v2/cash-drawers/shifts/{shift_id}/events", replaySafety: "safe", scopes: ["CASH_DRAWER_READ"], }, { httpMethod: "GET", key: "listCashDrawerShifts", operationId: "ListCashDrawerShifts", path: "/v2/cash-drawers/shifts", replaySafety: "safe", scopes: ["CASH_DRAWER_READ"], }, { httpMethod: "GET", key: "listCatalog", operationId: "ListCatalog", path: "/v2/catalog/list", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "GET", key: "listChannels", operationId: "ListChannels", path: "/v2/channels", replaySafety: "safe", scopes: ["CHANNELS_READ"], }, { httpMethod: "GET", key: "listCustomerCustomAttributeDefinitions", operationId: "ListCustomerCustomAttributeDefinitions", path: "/v2/customers/custom-attribute-definitions", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "listCustomerCustomAttributes", operationId: "ListCustomerCustomAttributes", path: "/v2/customers/{customer_id}/custom-attributes", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "listCustomerGroups", operationId: "ListCustomerGroups", path: "/v2/customers/groups", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "listCustomers", operationId: "ListCustomers", path: "/v2/customers", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "listCustomerSegments", operationId: "ListCustomerSegments", path: "/v2/customers/segments", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "listDeviceCodes", operationId: "ListDeviceCodes", path: "/v2/devices/codes", replaySafety: "safe", scopes: ["DEVICE_CREDENTIAL_MANAGEMENT"], }, { httpMethod: "GET", key: "listDevices", operationId: "ListDevices", path: "/v2/devices", replaySafety: "safe", scopes: ["DEVICES_READ"], }, { httpMethod: "GET", key: "listDisputeEvidence", operationId: "ListDisputeEvidence", path: "/v2/disputes/{dispute_id}/evidence", replaySafety: "safe", scopes: ["DISPUTES_READ"], }, { httpMethod: "GET", key: "listDisputes", operationId: "ListDisputes", path: "/v2/disputes", replaySafety: "safe", scopes: ["DISPUTES_READ"], }, { httpMethod: "GET", key: "listGiftCardActivities", operationId: "ListGiftCardActivities", path: "/v2/gift-cards/activities", replaySafety: "safe", scopes: ["GIFTCARDS_READ"], }, { httpMethod: "GET", key: "listGiftCards", operationId: "ListGiftCards", path: "/v2/gift-cards", replaySafety: "safe", scopes: ["GIFTCARDS_READ"], }, { httpMethod: "GET", key: "listInventoryAdjustmentReasons", operationId: "ListInventoryAdjustmentReasons", path: "/v2/inventory/adjustment-reasons", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "GET", key: "listInvoices", operationId: "ListInvoices", path: "/v2/invoices", replaySafety: "safe", scopes: ["INVOICES_READ"], }, { httpMethod: "GET", key: "listJobs", operationId: "ListJobs", path: "/v2/team-members/jobs", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "GET", key: "listLocationBookingProfiles", operationId: "ListLocationBookingProfiles", path: "/v2/bookings/location-booking-profiles", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "GET", key: "listLocationCustomAttributeDefinitions", operationId: "ListLocationCustomAttributeDefinitions", path: "/v2/locations/custom-attribute-definitions", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listLocationCustomAttributes", operationId: "ListLocationCustomAttributes", path: "/v2/locations/{location_id}/custom-attributes", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listLocations", operationId: "ListLocations", path: "/v2/locations", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listLoyaltyPromotions", operationId: "ListLoyaltyPromotions", path: "/v2/loyalty/programs/{program_id}/promotions", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "GET", key: "listMerchantCustomAttributeDefinitions", operationId: "ListMerchantCustomAttributeDefinitions", path: "/v2/merchants/custom-attribute-definitions", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listMerchantCustomAttributes", operationId: "ListMerchantCustomAttributes", path: "/v2/merchants/{merchant_id}/custom-attributes", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listMerchants", operationId: "ListMerchants", path: "/v2/merchants", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "listOrderCustomAttributeDefinitions", operationId: "ListOrderCustomAttributeDefinitions", path: "/v2/orders/custom-attribute-definitions", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "listOrderCustomAttributes", operationId: "ListOrderCustomAttributes", path: "/v2/orders/{order_id}/custom-attributes", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "listPaymentLinks", operationId: "ListPaymentLinks", path: "/v2/online-checkout/payment-links", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "listPaymentRefunds", operationId: "ListPaymentRefunds", path: "/v2/refunds", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "listPayments", operationId: "ListPayments", path: "/v2/payments", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "listPayoutEntries", operationId: "ListPayoutEntries", path: "/v2/payouts/{payout_id}/payout-entries", replaySafety: "safe", scopes: ["PAYOUTS_READ"], }, { httpMethod: "GET", key: "listPayouts", operationId: "ListPayouts", path: "/v2/payouts", replaySafety: "safe", scopes: ["PAYOUTS_READ"], }, { httpMethod: "GET", key: "listSites", operationId: "ListSites", path: "/v2/sites", replaySafety: "safe", scopes: ["ONLINE_STORE_SITE_READ"], }, { httpMethod: "GET", key: "listSubscriptionEvents", operationId: "ListSubscriptionEvents", path: "/v2/subscriptions/{subscription_id}/events", replaySafety: "safe", scopes: ["SUBSCRIPTIONS_READ"], }, { httpMethod: "GET", key: "listTeamMemberBookingProfiles", operationId: "ListTeamMemberBookingProfiles", path: "/v2/bookings/team-member-booking-profiles", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "GET", key: "listTeamMemberWages", operationId: "ListTeamMemberWages", path: "/v2/labor/team-member-wages", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "GET", key: "listWorkweekConfigs", operationId: "ListWorkweekConfigs", path: "/v2/labor/workweek-configs", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_READ"], }, { httpMethod: "POST", key: "loadReport", operationId: "LoadReport", path: "/reporting/v1/load", replaySafety: "safe", scopes: ["REPORTING_READ"], }, { httpMethod: "POST", key: "pauseSubscription", operationId: "PauseSubscription", path: "/v2/subscriptions/{subscription_id}/pause", replaySafety: "unsafe", scopes: [ "CUSTOMERS_READ", "INVOICES_WRITE", "ITEMS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE", "SUBSCRIPTIONS_WRITE", ], }, { httpMethod: "POST", key: "payOrder", operationId: "PayOrder", path: "/v2/orders/{order_id}/pay", replaySafety: "safe", scopes: ["ORDERS_WRITE", "PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "publishInvoice", operationId: "PublishInvoice", path: "/v2/invoices/{invoice_id}/publish", replaySafety: "unsafe", scopes: ["INVOICES_WRITE", "ORDERS_WRITE"], }, { httpMethod: "POST", key: "publishScheduledShift", operationId: "PublishScheduledShift", path: "/v2/labor/scheduled-shifts/{id}/publish", replaySafety: "safe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "POST", key: "receiveTransferOrder", operationId: "ReceiveTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}/receive", replaySafety: "safe", scopes: ["INVENTORY_READ", "INVENTORY_WRITE"], }, { httpMethod: "POST", key: "redeemLoyaltyReward", operationId: "RedeemLoyaltyReward", path: "/v2/loyalty/rewards/{reward_id}/redeem", replaySafety: "safe", scopes: ["LOYALTY_WRITE"], }, { httpMethod: "POST", key: "refundPayment", operationId: "RefundPayment", path: "/v2/refunds", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "POST", key: "registerDomain", operationId: "RegisterDomain", path: "/v2/apple-pay/domains", replaySafety: "unsafe", scopes: [], }, { httpMethod: "DELETE", key: "removeGroupFromCustomer", operationId: "RemoveGroupFromCustomer", path: "/v2/customers/{customer_id}/groups/{group_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "restoreInventoryAdjustmentReason", operationId: "RestoreInventoryAdjustmentReason", path: "/v2/inventory/adjustment-reasons/restore", replaySafety: "unsafe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "POST", key: "resumeSubscription", operationId: "ResumeSubscription", path: "/v2/subscriptions/{subscription_id}/resume", replaySafety: "unsafe", scopes: [ "CUSTOMERS_READ", "INVOICES_WRITE", "ITEMS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE", "SUBSCRIPTIONS_WRITE", ], }, { httpMethod: "GET", key: "retrieveBooking", operationId: "RetrieveBooking", path: "/v2/bookings/{booking_id}", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "retrieveBookingCustomAttribute", operationId: "RetrieveBookingCustomAttribute", path: "/v2/bookings/{booking_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "retrieveBookingCustomAttributeDefinition", operationId: "RetrieveBookingCustomAttributeDefinition", path: "/v2/bookings/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "GET", key: "retrieveBusinessBookingProfile", operationId: "RetrieveBusinessBookingProfile", path: "/v2/bookings/business-booking-profile", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "GET", key: "retrieveCard", operationId: "RetrieveCard", path: "/v2/cards/{card_id}", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "GET", key: "retrieveCashDrawerShift", operationId: "RetrieveCashDrawerShift", path: "/v2/cash-drawers/shifts/{shift_id}", replaySafety: "safe", scopes: ["CASH_DRAWER_READ"], }, { httpMethod: "GET", key: "retrieveCatalogObject", operationId: "RetrieveCatalogObject", path: "/v2/catalog/object/{object_id}", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "GET", key: "retrieveChannel", operationId: "RetrieveChannel", path: "/v2/channels/{channel_id}", replaySafety: "safe", scopes: ["CHANNELS_READ"], }, { httpMethod: "GET", key: "retrieveCustomer", operationId: "RetrieveCustomer", path: "/v2/customers/{customer_id}", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "retrieveCustomerCustomAttribute", operationId: "RetrieveCustomerCustomAttribute", path: "/v2/customers/{customer_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "retrieveCustomerCustomAttributeDefinition", operationId: "RetrieveCustomerCustomAttributeDefinition", path: "/v2/customers/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "retrieveCustomerGroup", operationId: "RetrieveCustomerGroup", path: "/v2/customers/groups/{group_id}", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "retrieveCustomerSegment", operationId: "RetrieveCustomerSegment", path: "/v2/customers/segments/{segment_id}", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "GET", key: "retrieveDispute", operationId: "RetrieveDispute", path: "/v2/disputes/{dispute_id}", replaySafety: "safe", scopes: ["DISPUTES_READ"], }, { httpMethod: "GET", key: "retrieveDisputeEvidence", operationId: "RetrieveDisputeEvidence", path: "/v2/disputes/{dispute_id}/evidence/{evidence_id}", replaySafety: "safe", scopes: ["DISPUTES_READ"], }, { httpMethod: "GET", key: "retrieveGiftCard", operationId: "RetrieveGiftCard", path: "/v2/gift-cards/{id}", replaySafety: "safe", scopes: ["GIFTCARDS_READ"], }, { httpMethod: "POST", key: "retrieveGiftCardFromGAN", operationId: "RetrieveGiftCardFromGAN", path: "/v2/gift-cards/from-gan", replaySafety: "safe", scopes: ["GIFTCARDS_READ"], }, { httpMethod: "POST", key: "retrieveGiftCardFromNonce", operationId: "RetrieveGiftCardFromNonce", path: "/v2/gift-cards/from-nonce", replaySafety: "safe", scopes: ["GIFTCARDS_READ"], }, { httpMethod: "GET", key: "retrieveInventoryAdjustment", operationId: "RetrieveInventoryAdjustment", path: "/v2/inventory/adjustments/{adjustment_id}", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "POST", key: "retrieveInventoryAdjustmentReason", operationId: "RetrieveInventoryAdjustmentReason", path: "/v2/inventory/adjustment-reasons/retrieve", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "GET", key: "retrieveInventoryCount", operationId: "RetrieveInventoryCount", path: "/v2/inventory/{catalog_object_id}", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "GET", key: "retrieveInventoryPhysicalCount", operationId: "RetrieveInventoryPhysicalCount", path: "/v2/inventory/physical-counts/{physical_count_id}", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "GET", key: "retrieveJob", operationId: "RetrieveJob", path: "/v2/team-members/jobs/{job_id}", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "GET", key: "retrieveLocation", operationId: "RetrieveLocation", path: "/v2/locations/{location_id}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveLocationBookingProfile", operationId: "RetrieveLocationBookingProfile", path: "/v2/bookings/location-booking-profiles/{location_id}", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "GET", key: "retrieveLocationCustomAttribute", operationId: "RetrieveLocationCustomAttribute", path: "/v2/locations/{location_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveLocationCustomAttributeDefinition", operationId: "RetrieveLocationCustomAttributeDefinition", path: "/v2/locations/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveLocationSettings", operationId: "RetrieveLocationSettings", path: "/v2/online-checkout/location-settings/{location_id}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveLoyaltyAccount", operationId: "RetrieveLoyaltyAccount", path: "/v2/loyalty/accounts/{account_id}", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "GET", key: "retrieveLoyaltyProgram", operationId: "RetrieveLoyaltyProgram", path: "/v2/loyalty/programs/{program_id}", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "GET", key: "retrieveLoyaltyPromotion", operationId: "RetrieveLoyaltyPromotion", path: "/v2/loyalty/programs/{program_id}/promotions/{promotion_id}", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "GET", key: "retrieveLoyaltyReward", operationId: "RetrieveLoyaltyReward", path: "/v2/loyalty/rewards/{reward_id}", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "GET", key: "retrieveMerchant", operationId: "RetrieveMerchant", path: "/v2/merchants/{merchant_id}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveMerchantCustomAttribute", operationId: "RetrieveMerchantCustomAttribute", path: "/v2/merchants/{merchant_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveMerchantCustomAttributeDefinition", operationId: "RetrieveMerchantCustomAttributeDefinition", path: "/v2/merchants/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ"], }, { httpMethod: "GET", key: "retrieveMerchantSettings", operationId: "RetrieveMerchantSettings", path: "/v2/online-checkout/merchant-settings", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ", "PAYMENT_METHODS_READ"], }, { httpMethod: "GET", key: "retrieveOrder", operationId: "RetrieveOrder", path: "/v2/orders/{order_id}", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "retrieveOrderCustomAttribute", operationId: "RetrieveOrderCustomAttribute", path: "/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "retrieveOrderCustomAttributeDefinition", operationId: "RetrieveOrderCustomAttributeDefinition", path: "/v2/orders/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "retrievePaymentLink", operationId: "RetrievePaymentLink", path: "/v2/online-checkout/payment-links/{id}", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "GET", key: "retrieveScheduledShift", operationId: "RetrieveScheduledShift", path: "/v2/labor/scheduled-shifts/{id}", replaySafety: "safe", scopes: ["TIMECARDS_READ"], }, { httpMethod: "GET", key: "retrieveSnippet", operationId: "RetrieveSnippet", path: "/v2/sites/{site_id}/snippet", replaySafety: "safe", scopes: ["ONLINE_STORE_SNIPPETS_READ"], }, { httpMethod: "GET", key: "retrieveSubscription", operationId: "RetrieveSubscription", path: "/v2/subscriptions/{subscription_id}", replaySafety: "safe", scopes: ["SUBSCRIPTIONS_READ"], }, { httpMethod: "GET", key: "retrieveTeamMember", operationId: "RetrieveTeamMember", path: "/v2/team-members/{team_member_id}", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "GET", key: "retrieveTeamMemberBookingProfile", operationId: "RetrieveTeamMemberBookingProfile", path: "/v2/bookings/team-member-booking-profiles/{team_member_id}", replaySafety: "safe", scopes: ["APPOINTMENTS_BUSINESS_SETTINGS_READ"], }, { httpMethod: "GET", key: "retrieveTimecard", operationId: "RetrieveTimecard", path: "/v2/labor/timecards/{id}", replaySafety: "safe", scopes: ["TIMECARDS_READ"], }, { httpMethod: "GET", key: "retrieveTransferOrder", operationId: "RetrieveTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "GET", key: "retrieveVendor", operationId: "RetrieveVendor", path: "/v2/vendors/{vendor_id}", replaySafety: "safe", scopes: ["VENDOR_READ"], }, { httpMethod: "GET", key: "retrieveWageSetting", operationId: "RetrieveWageSetting", path: "/v2/team-members/{team_member_id}/wage-setting", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "POST", key: "searchAvailability", operationId: "SearchAvailability", path: "/v2/bookings/availability/search", replaySafety: "safe", scopes: ["APPOINTMENTS_READ"], }, { httpMethod: "POST", key: "searchCatalogItems", operationId: "SearchCatalogItems", path: "/v2/catalog/search-catalog-items", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "POST", key: "searchCatalogObjects", operationId: "SearchCatalogObjects", path: "/v2/catalog/search", replaySafety: "safe", scopes: ["ITEMS_READ"], }, { httpMethod: "POST", key: "searchCustomers", operationId: "SearchCustomers", path: "/v2/customers/search", replaySafety: "safe", scopes: ["CUSTOMERS_READ"], }, { httpMethod: "POST", key: "searchInvoices", operationId: "SearchInvoices", path: "/v2/invoices/search", replaySafety: "safe", scopes: ["INVOICES_READ"], }, { httpMethod: "POST", key: "searchLoyaltyAccounts", operationId: "SearchLoyaltyAccounts", path: "/v2/loyalty/accounts/search", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "POST", key: "searchLoyaltyEvents", operationId: "SearchLoyaltyEvents", path: "/v2/loyalty/events/search", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "POST", key: "searchLoyaltyRewards", operationId: "SearchLoyaltyRewards", path: "/v2/loyalty/rewards/search", replaySafety: "safe", scopes: ["LOYALTY_READ"], }, { httpMethod: "POST", key: "searchOrders", operationId: "SearchOrders", path: "/v2/orders/search", replaySafety: "safe", scopes: ["ORDERS_READ"], }, { httpMethod: "POST", key: "searchScheduledShifts", operationId: "SearchScheduledShifts", path: "/v2/labor/scheduled-shifts/search", replaySafety: "safe", scopes: ["TIMECARDS_READ"], }, { httpMethod: "POST", key: "searchSubscriptions", operationId: "SearchSubscriptions", path: "/v2/subscriptions/search", replaySafety: "safe", scopes: ["SUBSCRIPTIONS_READ"], }, { httpMethod: "POST", key: "searchTeamMembers", operationId: "SearchTeamMembers", path: "/v2/team-members/search", replaySafety: "safe", scopes: ["EMPLOYEES_READ"], }, { httpMethod: "POST", key: "searchTerminalActions", operationId: "SearchTerminalActions", path: "/v2/terminals/actions/search", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "POST", key: "searchTerminalCheckouts", operationId: "SearchTerminalCheckouts", path: "/v2/terminals/checkouts/search", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "POST", key: "searchTerminalRefunds", operationId: "SearchTerminalRefunds", path: "/v2/terminals/refunds/search", replaySafety: "safe", scopes: ["PAYMENTS_READ"], }, { httpMethod: "POST", key: "searchTimecards", operationId: "SearchTimecards", path: "/v2/labor/timecards/search", replaySafety: "safe", scopes: ["TIMECARDS_READ"], }, { httpMethod: "POST", key: "searchTransferOrders", operationId: "SearchTransferOrders", path: "/v2/transfer-orders/search", replaySafety: "safe", scopes: ["INVENTORY_READ"], }, { httpMethod: "POST", key: "searchVendors", operationId: "SearchVendors", path: "/v2/vendors/search", replaySafety: "safe", scopes: ["VENDOR_READ"], }, { httpMethod: "POST", key: "startTransferOrder", operationId: "StartTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}/start", replaySafety: "safe", scopes: ["INVENTORY_READ", "INVENTORY_WRITE"], }, { httpMethod: "POST", key: "submitEvidence", operationId: "SubmitEvidence", path: "/v2/disputes/{dispute_id}/submit-evidence", replaySafety: "unsafe", scopes: ["DISPUTES_WRITE"], }, { httpMethod: "POST", key: "swapPlan", operationId: "SwapPlan", path: "/v2/subscriptions/{subscription_id}/swap-plan", replaySafety: "unsafe", scopes: [ "CUSTOMERS_READ", "INVOICES_WRITE", "ITEMS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE", "SUBSCRIPTIONS_WRITE", ], }, { httpMethod: "POST", key: "unlinkCustomerFromGiftCard", operationId: "UnlinkCustomerFromGiftCard", path: "/v2/gift-cards/{gift_card_id}/unlink-customer", replaySafety: "unsafe", scopes: ["GIFTCARDS_WRITE"], }, { httpMethod: "PUT", key: "updateBooking", operationId: "UpdateBooking", path: "/v2/bookings/{booking_id}", replaySafety: "safe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "PUT", key: "updateBookingCustomAttributeDefinition", operationId: "UpdateBookingCustomAttributeDefinition", path: "/v2/bookings/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "PUT", key: "updateBreakType", operationId: "UpdateBreakType", path: "/v2/labor/break-types/{id}", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_READ", "TIMECARDS_SETTINGS_WRITE"], }, { httpMethod: "PUT", key: "updateCatalogImage", operationId: "UpdateCatalogImage", path: "/v2/catalog/images/{image_id}", replaySafety: "safe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "PUT", key: "updateCustomer", operationId: "UpdateCustomer", path: "/v2/customers/{customer_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "PUT", key: "updateCustomerCustomAttributeDefinition", operationId: "UpdateCustomerCustomAttributeDefinition", path: "/v2/customers/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "PUT", key: "updateCustomerGroup", operationId: "UpdateCustomerGroup", path: "/v2/customers/groups/{group_id}", replaySafety: "safe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "PUT", key: "updateInventoryAdjustment", operationId: "UpdateInventoryAdjustment", path: "/v2/inventory/adjustments/update", replaySafety: "safe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "PUT", key: "updateInventoryAdjustmentReason", operationId: "UpdateInventoryAdjustmentReason", path: "/v2/inventory/adjustment-reasons/update", replaySafety: "safe", scopes: ["INVENTORY_WRITE"], }, { httpMethod: "PUT", key: "updateInvoice", operationId: "UpdateInvoice", path: "/v2/invoices/{invoice_id}", replaySafety: "safe", scopes: ["INVOICES_WRITE", "ORDERS_WRITE"], }, { httpMethod: "POST", key: "updateItemModifierLists", operationId: "UpdateItemModifierLists", path: "/v2/catalog/update-item-modifier-lists", replaySafety: "unsafe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "POST", key: "updateItemTaxes", operationId: "UpdateItemTaxes", path: "/v2/catalog/update-item-taxes", replaySafety: "unsafe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "PUT", key: "updateJob", operationId: "UpdateJob", path: "/v2/team-members/jobs/{job_id}", replaySafety: "safe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "PUT", key: "updateLocation", operationId: "UpdateLocation", path: "/v2/locations/{location_id}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "PUT", key: "updateLocationCustomAttributeDefinition", operationId: "UpdateLocationCustomAttributeDefinition", path: "/v2/locations/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "PUT", key: "updateLocationSettings", operationId: "UpdateLocationSettings", path: "/v2/online-checkout/location-settings/{location_id}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_READ", "MERCHANT_PROFILE_WRITE"], }, { httpMethod: "PUT", key: "updateMerchantCustomAttributeDefinition", operationId: "UpdateMerchantCustomAttributeDefinition", path: "/v2/merchants/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "PUT", key: "updateMerchantSettings", operationId: "UpdateMerchantSettings", path: "/v2/online-checkout/merchant-settings", replaySafety: "safe", scopes: [ "MERCHANT_PROFILE_READ", "MERCHANT_PROFILE_WRITE", "PAYMENT_METHODS_READ", ], }, { httpMethod: "PUT", key: "updateOrder", operationId: "UpdateOrder", path: "/v2/orders/{order_id}", replaySafety: "safe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "PUT", key: "updateOrderCustomAttributeDefinition", operationId: "UpdateOrderCustomAttributeDefinition", path: "/v2/orders/custom-attribute-definitions/{key}", replaySafety: "safe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "PUT", key: "updatePayment", operationId: "UpdatePayment", path: "/v2/payments/{payment_id}", replaySafety: "safe", scopes: ["PAYMENTS_WRITE"], }, { httpMethod: "PUT", key: "updatePaymentLink", operationId: "UpdatePaymentLink", path: "/v2/online-checkout/payment-links/{id}", replaySafety: "safe", scopes: ["ORDERS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE"], }, { httpMethod: "PUT", key: "updateScheduledShift", operationId: "UpdateScheduledShift", path: "/v2/labor/scheduled-shifts/{id}", replaySafety: "safe", scopes: ["TIMECARDS_WRITE"], }, { httpMethod: "PUT", key: "updateSubscription", operationId: "UpdateSubscription", path: "/v2/subscriptions/{subscription_id}", replaySafety: "safe", scopes: [ "CUSTOMERS_READ", "INVOICES_WRITE", "ITEMS_READ", "ORDERS_WRITE", "PAYMENTS_WRITE", "SUBSCRIPTIONS_WRITE", ], }, { httpMethod: "PUT", key: "updateTeamMember", operationId: "UpdateTeamMember", path: "/v2/team-members/{team_member_id}", replaySafety: "safe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "PUT", key: "updateTimecard", operationId: "UpdateTimecard", path: "/v2/labor/timecards/{id}", replaySafety: "safe", scopes: ["TIMECARDS_READ", "TIMECARDS_WRITE"], }, { httpMethod: "PUT", key: "updateTransferOrder", operationId: "UpdateTransferOrder", path: "/v2/transfer-orders/{transfer_order_id}", replaySafety: "safe", scopes: ["INVENTORY_READ", "INVENTORY_WRITE"], }, { httpMethod: "PUT", key: "updateVendor", operationId: "UpdateVendor", path: "/v2/vendors/{vendor_id}", replaySafety: "safe", scopes: ["VENDOR_WRITE"], }, { httpMethod: "PUT", key: "updateWageSetting", operationId: "UpdateWageSetting", path: "/v2/team-members/{team_member_id}/wage-setting", replaySafety: "safe", scopes: ["EMPLOYEES_WRITE"], }, { httpMethod: "PUT", key: "updateWorkweekConfig", operationId: "UpdateWorkweekConfig", path: "/v2/labor/workweek-configs/{id}", replaySafety: "safe", scopes: ["TIMECARDS_SETTINGS_READ", "TIMECARDS_SETTINGS_WRITE"], }, { httpMethod: "PUT", key: "upsertBookingCustomAttribute", operationId: "UpsertBookingCustomAttribute", path: "/v2/bookings/{booking_id}/custom-attributes/{key}", replaySafety: "safe", scopes: ["APPOINTMENTS_WRITE"], }, { httpMethod: "POST", key: "upsertCatalogObject", operationId: "UpsertCatalogObject", path: "/v2/catalog/object", replaySafety: "safe", scopes: ["ITEMS_WRITE"], }, { httpMethod: "POST", key: "upsertCustomerCustomAttribute", operationId: "UpsertCustomerCustomAttribute", path: "/v2/customers/{customer_id}/custom-attributes/{key}", replaySafety: "unsafe", scopes: ["CUSTOMERS_WRITE"], }, { httpMethod: "POST", key: "upsertLocationCustomAttribute", operationId: "UpsertLocationCustomAttribute", path: "/v2/locations/{location_id}/custom-attributes/{key}", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "upsertMerchantCustomAttribute", operationId: "UpsertMerchantCustomAttribute", path: "/v2/merchants/{merchant_id}/custom-attributes/{key}", replaySafety: "unsafe", scopes: ["MERCHANT_PROFILE_WRITE"], }, { httpMethod: "POST", key: "upsertOrderCustomAttribute", operationId: "UpsertOrderCustomAttribute", path: "/v2/orders/{order_id}/custom-attributes/{custom_attribute_key}", replaySafety: "unsafe", scopes: ["ORDERS_WRITE"], }, { httpMethod: "POST", key: "upsertSnippet", operationId: "UpsertSnippet", path: "/v2/sites/{site_id}/snippet", replaySafety: "unsafe", scopes: ["ONLINE_STORE_SNIPPETS_WRITE"], }, ] as const export const SQUARE_OPERATION_IDS = SQUARE_OPERATION_MANIFEST.map( ({ operationId }) => operationId, )